mevemon
13 years agoget_istopmost() doesnt seem to work on the device v0.4-2
Ryan Campbell [Fri, 21 May 2010 04:43:15 +0000 (22:43 -0600)]
get_istopmost() doesnt seem to work on the device

On my n900, the first call to get_istopmost fails, so the SP counter
isn't incremented.

Removed the get_istopmost() check for now, until I know why it isn't
working.

13 years agobump to version 0.4-1 v0.4-1
Ryan Campbell [Fri, 21 May 2010 03:37:02 +0000 (21:37 -0600)]
bump to version 0.4-1

13 years agodisplay character window while loading it
Ryan Campbell [Fri, 21 May 2010 03:19:02 +0000 (21:19 -0600)]
display character window while loading it

13 years agobrought diablo ui on par with fremantle ui (untested)
Ryan Campbell [Fri, 21 May 2010 03:11:38 +0000 (21:11 -0600)]
brought diablo ui on par with fremantle ui (untested)

13 years agofixed a bug in the refresh button
Ryan Campbell [Fri, 21 May 2010 02:01:30 +0000 (20:01 -0600)]
fixed a bug in the refresh button

Also, moved the version/authors/etc.. info into mevemon.py

13 years agoadded some simple validation to 'add account' dialog
Ryan Campbell [Fri, 21 May 2010 01:02:38 +0000 (19:02 -0600)]
added some simple validation to 'add account' dialog

13 years agoStop the SP counter when window not on top
Ryan Campbell [Thu, 20 May 2010 01:31:29 +0000 (19:31 -0600)]
Stop the SP counter when window not on top

Previously our timer that increments the 'total sp' label kept ticking
away even when the window for the character sheet wasn't
visibile. The timer callback now checks if the window is visible (with
get_is_topmost()), and if not, stops the timer.

The Diablo GUI may need to try something different, not sure.

13 years agoAdded live 'total sp' counter in fremantle
Ryan Campbell [Tue, 18 May 2010 23:05:05 +0000 (17:05 -0600)]
Added live 'total sp' counter in fremantle

We now display the total sp (actual sp + sp gained from
skill-in-training). This has only been enabled in fremantle, so diablo
gui will need to be adapted to take advantage of it.

The total sp is also 'live', meaning that it increments every second
based on the calculated SP/hour.

13 years agoprint traceback even when handling exception
Ryan Campbell [Thu, 6 May 2010 06:25:59 +0000 (00:25 -0600)]
print traceback even when handling exception

This should make debugging a bit simpler. A logger would still be nicer,
though

13 years agoHopefully fix bug #5672
Ryan Campbell [Thu, 6 May 2010 06:18:36 +0000 (00:18 -0600)]
Hopefully fix bug #5672

This will hopefully fix bug #5672 "meveon crashes when started without a
network connection". We fix this by using python-conic to connect to the
default network when mevemon stops, or if there is no default netowork,
pop up the system dialog for selecting a connection.

I also changed the "except eveapi.Error:" sections to just "except:",
probably not a great idea, but we were crashing on socket exceptions
sometimes too (see bug #5663).

13 years agoAdded characters to settings dialog
Ryan Campbell [Sat, 1 May 2010 05:22:27 +0000 (23:22 -0600)]
Added characters to settings dialog

Also, some clean-up in mevemon.py and remove some 'magic numbers'
in fremantle GUI. Still should be done for Diablo GUI.

13 years agoAdded mevemon.postinst
Ryan Campbell [Fri, 30 Apr 2010 04:26:01 +0000 (22:26 -0600)]
Added mevemon.postinst

This is supposed to generate the mevemon icon, so we don't have
to restart to see the actual icon

13 years agoPorted multiple account code to Diablo v0.3-1
Ryan Campbell [Fri, 30 Apr 2010 04:00:07 +0000 (22:00 -0600)]
Ported multiple account code to Diablo

Also ported the skill progress bar.

13 years agoclean up layout and add backwards compatibility
Ryan Campbell [Fri, 30 Apr 2010 02:32:45 +0000 (20:32 -0600)]
clean up layout and add backwards compatibility

Cleaned up the fremantle layout for the character sheet.

Added function in mevemon.py to automatically convert from pre-0.3
gconf key layout to the new layout used for multiple account support.
This way, ugrading should keep the existing account settings.

13 years agoimproving our pylint scores
Ryan Campbell [Fri, 30 Apr 2010 01:15:40 +0000 (19:15 -0600)]
improving our pylint scores

13 years agoBumped version to 0.3
Ryan Campbell [Thu, 29 Apr 2010 23:14:53 +0000 (17:14 -0600)]
Bumped version to 0.3

Added support for multiple accounts, probably worth of a bump in
the minor version number.

13 years agoremove 'edit' button in settings (for now)
Ryan Campbell [Thu, 29 Apr 2010 23:12:50 +0000 (17:12 -0600)]
remove 'edit' button in settings (for now)

13 years agofinished preliminary support for multiple accounts
Ryan Campbell [Thu, 29 Apr 2010 22:50:14 +0000 (16:50 -0600)]
finished preliminary support for multiple accounts

Some cleanup could be made, but the basic support for
multiple eve accounts is working.

Diablo GUI will need some changes to get working (see
Fremantle GUI changes for info).

13 years agocontinuing multiple account feature
Ryan Campbell [Thu, 29 Apr 2010 21:02:01 +0000 (15:02 -0600)]
continuing multiple account feature

Got the settings menu working to display multiple acounts.
Also added the ability to add and remove accounts.

The character sheet still needs to be modified, so is currently
broken.

13 years agostarted work on multiple accounts support
Ryan Campbell [Wed, 28 Apr 2010 18:14:05 +0000 (12:14 -0600)]
started work on multiple accounts support

13 years agoFixed a few bugs
Ryan Campbell [Wed, 28 Apr 2010 19:57:56 +0000 (13:57 -0600)]
Fixed a few bugs

Due to using maemo-optify, fremantle paths are the same as diablo,
so removed /opt/mevemon/imgs/ path.

Starting mEveMon with invalid credentials caused an unhandled exception,
so we handle it by returning the placeholder_chars

13 years agofixed character sheet formatting in diablo
Ryan Campbell [Thu, 29 Apr 2010 18:08:36 +0000 (12:08 -0600)]
fixed character sheet formatting in diablo

13 years agoadded missing import to diablo ui
Ryan Campbell [Wed, 28 Apr 2010 23:27:02 +0000 (17:27 -0600)]
added missing import to diablo ui

13 years agoadded missing python2.5-gnome for Diablo
Ryan Campbell [Wed, 28 Apr 2010 20:33:18 +0000 (14:33 -0600)]
added missing python2.5-gnome for Diablo

13 years agoFixed a few bugs v0.2-4
Ryan Campbell [Wed, 28 Apr 2010 19:57:56 +0000 (13:57 -0600)]
Fixed a few bugs

Due to using maemo-optify, fremantle paths are the same as diablo,
so removed /opt/mevemon/imgs/ path.

Starting mEveMon with invalid credentials caused an unhandled exception,
so we handle it by returning the placeholder_chars

13 years agofixed a missing dependency for fremantle v0.2-1
Ryan Campbell [Wed, 28 Apr 2010 18:37:51 +0000 (12:37 -0600)]
fixed a missing dependency for fremantle

13 years agoUpdated Diablo to use models.py
Ryan Campbell [Tue, 27 Apr 2010 22:08:32 +0000 (16:08 -0600)]
Updated Diablo to use models.py

I haven't tested the diablo version yet, but it should work,
since the fremantle version does...

13 years agoSeparated out the model code from the gui code
Ryan Campbell [Tue, 27 Apr 2010 21:55:19 +0000 (15:55 -0600)]
Separated out the model code from the gui code

pulled out the character list model and the character skills model
from the gui code and put it inside ui/models.py and at the same time,
cleaned up the model code.

Fremantle ui has been changed to use this, Diablo has not.

13 years agostreamlined the build process
Ryan Campbell [Tue, 27 Apr 2010 20:05:41 +0000 (14:05 -0600)]
streamlined the build process

We now can submit the same .changes/.dsc/.tgz files to the autobuilder
for Fremantle and Diablo.
I changed debian/optify to 'auto', so now the auto-builder will
automatically 'optify' the package in fremantle, and leave it alone
in diablo.
I also commented out the py_compilefiles part (for now), since the diablo
auto-builder doesn't like it.

13 years agofixed a typo in debian/control
Ryan Campbell [Mon, 26 Apr 2010 19:29:09 +0000 (13:29 -0600)]
fixed a typo in debian/control

13 years agoadded a description in debian/control
Ryan Campbell [Mon, 26 Apr 2010 17:22:19 +0000 (11:22 -0600)]
added a description in debian/control

13 years agoCompile the .py files to .pyc
Ryan Campbell [Sun, 25 Apr 2010 23:40:39 +0000 (17:40 -0600)]
Compile the .py files to .pyc

This probably won't make much of a difference, but it doesn't hurt, and
may shave a fraction off load time.

Also, ignore the .pyc files in the repo

13 years agoadded a few more things to .gitignore
Ryan Campbell [Sun, 25 Apr 2010 17:03:12 +0000 (11:03 -0600)]
added a few more things to .gitignore

13 years agoAdded python2.5-gobject as a dependency, since that is what python-gobject is called...
Ryan Campbell [Sun, 25 Apr 2010 16:59:35 +0000 (10:59 -0600)]
Added python2.5-gobject as a dependency, since that is what python-gobject is called in diablo

13 years agofixed a few more bugs in the packaging
Ryan Campbell [Sun, 25 Apr 2010 07:24:29 +0000 (01:24 -0600)]
fixed a few more bugs in the packaging

13 years agoCreated a quick (hacky) way to easily build packages for both diablo and fremantle
Ryan Campbell [Sun, 25 Apr 2010 01:54:52 +0000 (19:54 -0600)]
Created a quick (hacky) way to easily build packages for both diablo and fremantle

13 years agofixed a missing change in diablo
Ryan Campbell [Sat, 24 Apr 2010 04:21:56 +0000 (22:21 -0600)]
fixed a missing change in diablo

13 years agoRemoved Help button from settings dialog. We didnt use it.
Ryan Campbell [Sat, 24 Apr 2010 03:21:16 +0000 (21:21 -0600)]
Removed Help button from settings dialog. We didnt use it.

13 years agofixed a minor bug in the Makefile v0.1
Ryan Campbell [Fri, 23 Apr 2010 22:21:44 +0000 (16:21 -0600)]
fixed a minor bug in the Makefile

13 years agofixed the debian/control file
Ryan Campbell [Fri, 23 Apr 2010 21:07:39 +0000 (15:07 -0600)]
fixed the debian/control file

13 years agoFixed a few packaging issues
Ryan Campbell [Fri, 23 Apr 2010 20:57:45 +0000 (14:57 -0600)]
Fixed a few packaging issues

13 years agoStop using py2deb, it seems more flexible this way
Ryan Campbell [Fri, 23 Apr 2010 20:35:46 +0000 (14:35 -0600)]
Stop using py2deb, it seems more flexible this way

13 years agodon't hardcode the home dir in fetchimg.py
Ryan Campbell [Fri, 23 Apr 2010 19:22:54 +0000 (13:22 -0600)]
don't hardcode the home dir in fetchimg.py

13 years agostarted packaging work
Ryan Campbell [Fri, 23 Apr 2010 18:46:02 +0000 (12:46 -0600)]
started packaging work

13 years agoFixed the date formatting for the skill in training
Ryan Campbell [Thu, 22 Apr 2010 22:39:59 +0000 (16:39 -0600)]
Fixed the date formatting for the skill in training

13 years agoMerged Fremantle UI changes into Diablo.
Danny Campbell [Thu, 22 Apr 2010 06:44:38 +0000 (00:44 -0600)]
Merged Fremantle UI changes into Diablo.

13 years agoWe now show the skill that is being trained
Ryan Campbell [Wed, 21 Apr 2010 20:22:03 +0000 (14:22 -0600)]
We now show the skill that is being trained

For some reason the trainingStartTime and trainingEndTime are just
numbers, not dates like in the eve api examples... We will have to
figure that out. In the meantime, this is good enough for demo purposes.

13 years agofixed bugs in refresh button
Ryan Campbell [Wed, 21 Apr 2010 19:19:51 +0000 (13:19 -0600)]
fixed bugs in refresh button

13 years agogot the refresh button working in the character window
Ryan Campbell [Wed, 21 Apr 2010 19:09:16 +0000 (13:09 -0600)]
got the refresh button working in the character window

13 years agosome more cleanup of fremantle UI
Ryan Campbell [Wed, 21 Apr 2010 18:13:15 +0000 (12:13 -0600)]
some more cleanup of fremantle UI

13 years agostarted splitting up UI windows into classes
Ryan Campbell [Wed, 21 Apr 2010 17:03:13 +0000 (11:03 -0600)]
started splitting up UI windows into classes

The fremantle ui.py now contains 3 classes:
 baseUI, which contains common methods (like menu creation)
 meveMonUI, which contains the first window (character list)
 CharacterSheetUI, which contains the character sheet window

This should allow us to clean up the code a bit easier.

13 years agoAdded Pango markup to Diablo UI.
Danny Campbell [Wed, 21 Apr 2010 11:25:40 +0000 (05:25 -0600)]
Added Pango markup to Diablo UI.

13 years agoGeneral cleanup in Diablo UI.
Danny Campbell [Wed, 21 Apr 2010 07:55:35 +0000 (01:55 -0600)]
General cleanup in Diablo UI.

13 years ago use Pango to control the font for the character sheet
Ryan Campbell [Wed, 21 Apr 2010 06:54:15 +0000 (00:54 -0600)]
 use Pango to control the font for the character sheet

13 years agoFixed character window in Diablo UI.
Danny Campbell [Wed, 21 Apr 2010 06:24:54 +0000 (00:24 -0600)]
Fixed character window in Diablo UI.

13 years agoMerge branch 'master' of https://vcs.maemo.org/git/mevemon
Danny Campbell [Wed, 21 Apr 2010 06:11:33 +0000 (00:11 -0600)]
Merge branch 'master' of https://vcs.maemo.org/git/mevemon

13 years agoAdded scrolling to Diablo UI.
Danny Campbell [Wed, 21 Apr 2010 05:43:18 +0000 (23:43 -0600)]
Added scrolling to Diablo UI.

13 years agoAdded scrolling to Diblo UI.
Danny Campbell [Wed, 21 Apr 2010 05:43:18 +0000 (23:43 -0600)]
Added scrolling to Diblo UI.

13 years agoadded descrioption file
Ryan Campbell [Wed, 21 Apr 2010 05:21:19 +0000 (23:21 -0600)]
added descrioption file

13 years agoadded attributes to character sheet
Ryan Campbell [Wed, 21 Apr 2010 05:04:22 +0000 (23:04 -0600)]
added attributes to character sheet

13 years agoadded our new website to the About dialog
ryan [Wed, 21 Apr 2010 02:24:12 +0000 (20:24 -0600)]
added our new website to the About dialog

13 years agoAdded skill tree to Diablo UI. Not yet scrollable.
Danny Campbell [Wed, 21 Apr 2010 00:35:07 +0000 (18:35 -0600)]
Added skill tree to Diablo UI. Not yet scrollable.

13 years agoMerge branch 'master' of https://vcs.maemo.org/git/mevemon
Ryan Campbell [Tue, 20 Apr 2010 21:12:31 +0000 (15:12 -0600)]
Merge branch 'master' of https://vcs.maemo.org/git/mevemon

13 years agoAdded scrollable skill list in character window.
ryan [Tue, 20 Apr 2010 21:10:21 +0000 (15:10 -0600)]
Added scrollable skill list in character window.
Still needs cleaning up, but it works.

13 years agoYet another test.
Danny Campbell [Tue, 20 Apr 2010 17:54:27 +0000 (11:54 -0600)]
Yet another test.

13 years agoTesting new repo.
mothra [Tue, 20 Apr 2010 17:40:52 +0000 (11:40 -0600)]
Testing new repo.

13 years agoremoved the wecome file
Ryan Campbell [Tue, 20 Apr 2010 16:57:35 +0000 (10:57 -0600)]
removed the wecome file

13 years agoMerge branch 'master' of https://vcs.maemo.org/git/mevemon
Ryan Campbell [Tue, 20 Apr 2010 16:48:11 +0000 (10:48 -0600)]
Merge branch 'master' of https://vcs.maemo.org/git/mevemon

13 years agomoved the code into src/ and added LICENSE file
Ryan Campbell [Tue, 20 Apr 2010 16:45:14 +0000 (10:45 -0600)]
moved the code into src/ and added LICENSE file

13 years agoadded license header to our code
Ryan Campbell [Tue, 20 Apr 2010 16:31:58 +0000 (10:31 -0600)]
added license header to our code

13 years agograb the real char info from the eve api
Ryan Campbell [Tue, 20 Apr 2010 16:20:29 +0000 (10:20 -0600)]
grab the real char info from the eve api

14 years ago- Added progress bar in Diablo UI.
Danny Campbell [Tue, 20 Apr 2010 12:13:41 +0000 (06:13 -0600)]
- Added progress bar in Diablo UI.
- Changed the functionality of fetchimg so that it has a callback
  mechanism to report progress. (However, I'm not quite sure how
  to hook it up to the UI.)

14 years agoRemoved the UI's dependance on having a valid working authentication. The
Danny Campbell [Tue, 20 Apr 2010 10:56:40 +0000 (04:56 -0600)]
Removed the UI's dependance on having a valid working authentication. The
solution isn't pretty, but it avoids having to modify the UI yet, until we
can discuss how we'll handle it.

Also cleaned up some of the comments in the Diablo UI code.

14 years agoAdded character window to Diablo UI.
Danny Campbell [Tue, 20 Apr 2010 09:45:01 +0000 (03:45 -0600)]
Added character window to Diablo UI.

14 years agowelcome
root [Tue, 20 Apr 2010 07:30:00 +0000 (10:30 +0300)]
welcome

14 years agoadded a progress indicator in fremantle
Ryan Campbell [Tue, 20 Apr 2010 06:17:54 +0000 (00:17 -0600)]
added a progress indicator in fremantle

Both windows can sometimes take a while to load, so instead of sitting
at an seeming stuck screen, we show the empty window and start the
progress spinner in the titlebar, and stop it when the rest of the page
is loaded.

14 years agofixed a bug in get_account_balance() and started the layout for the character page
Ryan Campbell [Tue, 20 Apr 2010 05:47:04 +0000 (23:47 -0600)]
fixed a bug in get_account_balance() and started the layout for the character page

14 years agomodified some lines that were way over 80 characters, and a bit hard to read
Ryan Campbell [Tue, 20 Apr 2010 04:42:31 +0000 (22:42 -0600)]
modified some lines that were way over 80 characters, and a bit hard to read

14 years agofixed a bug with the id2name and name2id conversion
Ryan Campbell [Mon, 19 Apr 2010 23:49:08 +0000 (17:49 -0600)]
fixed a bug with the id2name and name2id conversion

14 years agofixed a few errors from the last commit
Ryan Campbell [Mon, 19 Apr 2010 19:02:15 +0000 (13:02 -0600)]
fixed a few errors from the last commit

14 years agoadded a few useful functions to mevemon class in preparation for getting info for...
Ryan Campbell [Mon, 19 Apr 2010 16:56:43 +0000 (10:56 -0600)]
added a few useful functions to mevemon class in preparation for getting info for the character window

14 years agoonly call auth() once, and make it a member of mevemon class.
Ryan Campbell [Mon, 19 Apr 2010 16:13:26 +0000 (10:13 -0600)]
only call auth() once, and make it a member of mevemon class.

refresh self.auth when the settings are changed.

I'm not sure if this makes any REAL difference, but it seems a bit
redundant to call auth() every time we want to do something with the
eveapi.

14 years agobuilding the character sheet, including figuring out which character was selected
Ryan Campbell [Mon, 19 Apr 2010 05:38:06 +0000 (23:38 -0600)]
building the character sheet, including figuring out which character was selected

14 years agosome cleanup and start of character window
Ryan Campbell [Mon, 19 Apr 2010 04:46:23 +0000 (22:46 -0600)]
some cleanup and start of character window

14 years agoAdded basic caching functionality, stole it from apitest.py (definitely still needs...
Danny Campbell [Sat, 17 Apr 2010 07:12:58 +0000 (01:12 -0600)]
Added basic caching functionality, stole it from apitest.py (definitely still needs work, though).

14 years agoAdded support for multiple image sizes. Changed imgfetch to fetchimg.
Danny Campbell [Sat, 17 Apr 2010 05:53:45 +0000 (23:53 -0600)]
Added support for multiple image sizes. Changed imgfetch to fetchimg.

14 years agoHooked up imgfetch to the controller. Minor cleanups.
Danny Campbell [Sat, 17 Apr 2010 04:57:10 +0000 (22:57 -0600)]
Hooked up imgfetch to the controller. Minor cleanups.

14 years agoAdded Diablo refresh code. imgfetch.py added, contains function portrait_filename...
Danny Campbell [Sat, 17 Apr 2010 04:42:34 +0000 (22:42 -0600)]
Added Diablo refresh code. imgfetch.py added, contains function portrait_filename( char_id ). This function downloads the portrait if necessary.

14 years agogot the 'Refresh' menu item working
Ryan Campbell [Sat, 17 Apr 2010 04:21:31 +0000 (22:21 -0600)]
got the 'Refresh' menu item working

Also, made the character list refresh after changing the settings.

14 years agouse get_characters() function in fremantle gui
Ryan Campbell [Sat, 17 Apr 2010 03:59:24 +0000 (21:59 -0600)]
use get_characters() function in fremantle gui

14 years agoAdded get_characters() function in controller. Very rough, needs work.
Danny Campbell [Sat, 17 Apr 2010 03:01:42 +0000 (21:01 -0600)]
Added get_characters() function in controller. Very rough, needs work.

14 years agoAdded Ry's character portrait/name code to Diablo UI.
Danny Campbell [Fri, 16 Apr 2010 23:42:09 +0000 (17:42 -0600)]
Added Ry's character portrait/name code to Diablo UI.

14 years agoChanged main screen to use gtktreeview isntead of a table of buttons.
Ryan Campbell [Fri, 16 Apr 2010 22:52:13 +0000 (16:52 -0600)]
Changed main screen to use gtktreeview isntead of a table of buttons.

Also, hacked up a demo of the character list.

14 years agoDeleted data/ dir because all the code I wrote can be done by eveapi.py
Danny Campbell [Fri, 16 Apr 2010 21:59:59 +0000 (15:59 -0600)]
Deleted data/ dir because all the code I wrote can be done by eveapi.py

14 years agoadded code to extract skill data from MySQL version of CCP database dump, as well...
Danny Campbell [Fri, 16 Apr 2010 13:22:19 +0000 (07:22 -0600)]
added code to extract skill data from MySQL version of CCP database dump, as well as a class to fetch skill information from the resultant SQLite database.

14 years agofixed some tabbing in the diablo gui
Ryan Campbell [Fri, 16 Apr 2010 06:09:24 +0000 (00:09 -0600)]
fixed some tabbing in the diablo gui

14 years agoAdded gconf support for Diablo.
Danny Campbell [Fri, 16 Apr 2010 05:58:26 +0000 (23:58 -0600)]
Added gconf support for Diablo.

14 years agoadded some code to store and retrieve credentials from gconf
Ryan Campbell [Fri, 16 Apr 2010 05:33:54 +0000 (23:33 -0600)]
added some code to store and retrieve credentials from gconf

14 years agoprevious commit didnt work, this seems to
Ryan Campbell [Fri, 16 Apr 2010 04:56:31 +0000 (22:56 -0600)]
previous commit didnt work, this seems to

14 years agoadded try..except block around imports
Ryan Campbell [Fri, 16 Apr 2010 04:38:25 +0000 (22:38 -0600)]
added try..except block around imports