Commit Graph

2380 Commits

Author SHA1 Message Date
Tim Bentley
66f13e5ede Clean up Plugin Interface to be more Generic
Clean up Mainwindow for adding plugins
Add ThemeManager to Main window and pass to plugins
Add event Manager code to plugins and define some listners
Revert changes to Alert Form.
2009-03-23 19:17:07 +00:00
Tim Bentley
62f48a33f2 Continue fixing the EventManager usage
Use Mainwindow to trigger the loading of the themes by the ServiceManager
2009-03-22 20:20:45 +00:00
Tim Bentley
6a0eaa2cfe Clean up Plugin Interface to be more Generic
Clean up Mainwindow for adding plugins
Add ThemeManager to Main window and pass to plugins 
Add event Manager code to plugins and define some listners
Update AlertDialog to send message and allow text to be entered
2009-03-22 07:13:34 +00:00
Tim Bentley
b8c0ee1d70 Add ThemeManager and EventManager 2009-03-22 07:11:05 +00:00
Tim Bentley
be3725a6fe Remove PluginUtils as no longer used all references migrated
bzr-revno: 426
2009-03-19 17:36:06 +00:00
Tim Bentley
1a8ab17bbb Update Presentation Plugin to match rest of the plugins
Fix style errors as discovered

bzr-revno: 425
2009-03-19 17:31:33 +00:00
Tim Bentley
ca32157e9c Removal of Plugin utils continues
bzr-revno: 424
2009-03-18 17:19:30 +00:00
Tim Bentley
d13b2efc22 Start Custom Service Item
Fix Image config problems

bzr-revno: 423
2009-03-17 05:05:04 +00:00
Tim Bentley
4bbce39f35 Fix up Bible Plugin to new standards.
bzr-revno: 422
2009-03-16 17:33:51 +00:00
Tim Bentley
e99239ef12 Big cleanup.
Custom and Video Plugins up to latest standard (MVC)
Config now working with new handles Video and Images.
Moved strings from "" to u'' where found.

bzr-revno: 421
2009-03-15 19:31:33 +00:00
Tim Bentley
0d33ba5668 Add delete option to Custom plugin
bzr-revno: 420
2009-03-15 06:35:07 +00:00
Tim Bentley
55bd3cc772 Fix errors in redisplay of data
Remove cut and paste rubbish

bzr-revno: 419
2009-03-14 08:11:25 +00:00
Tim Bentley
f1163003e6 Fix screen refresh returning from Edit dialog.
bzr-revno: 418
2009-03-14 07:09:10 +00:00
Tim Bentley
016380bc41 Clean up UI and add translation code.
bzr-revno: 417
2009-03-14 07:08:40 +00:00
Tim Bentley
268f6361b5 Fix up quote problems in SongXMLHandler
Add MVC to Custom
Add Update to Custom
Remove xml1.py as has served it's purpose

bzr-revno: 416
2009-03-14 07:08:15 +00:00
Raoul Snyman
eaa1aa81fd Fixed Tim Bentley's problem with the loading sequence of modules.
Changed some names and quotes in xml1.py.

bzr-revno: 415
2009-03-13 17:49:51 +00:00
Tim Bentley
b525734702 Fix Unicode error on database write
Try to add TextItemData again

bzr-revno: 414
2009-03-13 16:00:14 +00:00
Tim Bentley
6224795661 Add Classes for songxml, video tidy up and custom plugins
bzr-revno: 413
2009-03-13 06:13:11 +00:00
Tim Bentley
71a3ac4c78 Start to add data to database
bzr-revno: 412
2009-03-13 06:12:22 +00:00
Martin Thompson
90a91aa788 Updated tests to pass again.
Found some device dependent problems in the tests of the theme
rendering (when monitor resolution changes, so does font size (in
pixels)). This meant that the tests failed (as they are comparisons
with golden-bitmaps). Have updated the tests to do a more "approximate
comparison", with a low tolerance.  This is slow currently, could do
with optimising.

bzr-revno: 411
2009-03-12 20:19:24 +00:00
Martin Thompson
1d9569236d nothing
bzr-revno: 410
2009-03-12 20:18:14 +00:00
Martin Thompson
f1a6057b08 Removed some commented out code
bzr-revno: 409
2009-03-12 20:17:31 +00:00
Tim Bentley
21bfa234e8 Add SongXMLHander Class
Tidy up OSIS Bible importer
Start to move Video Plugin to mediaitem and remove PluginUtils

bzr-revno: 408
2009-03-12 19:52:37 +00:00
Tim Bentley
cf2067fb61 Fix Custom plugin to add it self to config if not present.
Correct spacing error in code.

bzr-revno: 407
2009-03-11 06:39:11 +00:00
Tim Bentley
5c3136fdbe Fix manager to stop accessing config
bzr-revno: 406
2009-03-11 06:28:48 +00:00
Tim Bentley
05db1d1b40 Test code for superfly to hack.
bzr-revno: 405
2009-03-11 06:27:28 +00:00
Tim Bentley
8b635e6cb5 Open up database
bzr-revno: 404
2009-03-11 06:27:16 +00:00
Raoul Snyman
051b314da8 Fixed the displayResults method of SongMediaItem to display 1 song + all authors, rather than an instance of a song for each author of that song.
Fixed up the topics management dialog a bit.
Corrected the spacing on the eventreceiver.py file.
Corrected the calling of the receiver to use the static methods without creating an instance of the Receiver class each time.

bzr-revno: 403
2009-03-10 16:46:25 +00:00
Raoul Snyman
86bde695ea Some tweaks to the songs plugin.
bzr-revno: 402
2009-03-09 18:47:37 +00:00
Raoul Snyman
735527d558 Moved code out into SongMediaItem
bzr-revno: 401
2009-03-09 12:49:55 +00:00
Scott Guerrieri
34ace15939 Fixed a down arrow functionality issue on the editcustomform.py
bzr-revno: 400
2009-03-09 02:16:38 +00:00
Raoul Snyman
6306be9eda Added the long lost media item!
bzr-revno: 399
2009-03-08 20:02:50 +00:00
Raoul Snyman
f844f696a1 Moved image media manager item out into it's own class.
bzr-revno: 398
2009-03-08 12:41:07 +00:00
Tim Bentley
904212c587 Add slide swapping to dialog
Fixed Context menu

bzr-revno: 397
2009-03-08 06:36:05 +00:00
Raoul Snyman
036dfef2eb Added the verse editing form and modified the song editing form to accommodate verses.
bzr-revno: 396
2009-03-07 21:38:59 +00:00
Tim Bentley
bd7577a0f1 Fix field names and more state changes
bzr-revno: 395
2009-03-07 20:36:12 +00:00
Tim Bentley
710b60bc19 Fix Updates to window
bzr-revno: 394
2009-03-07 17:45:11 +00:00
Tim Bentley
233e0c25de Update state machine for buttons.
bzr-revno: 393
2009-03-07 17:13:36 +00:00
Tim Bentley
b5550abda9 Add new features and edit validation
Text can be added , cleared and edited.

bzr-revno: 392
2009-03-07 17:13:19 +00:00
Tim Bentley
749590386d Correct classpath errors with images
bzr-revno: 391
2009-03-07 09:21:27 +00:00
Tim Bentley
6304f73b8e Finish adding custom plugin bits
bzr-revno: 390
2009-03-07 09:20:56 +00:00
Tim Bentley
7badfb650f Initial Release of Custom plugin.
All bits present but does not work!

bzr-revno: 389
2009-03-07 09:20:26 +00:00
Tim Bentley
b32703e845 More bible fixes after move
Method name standardisation
OSIS bible import clean up
OSIS bible import parser improvements.

bzr-revno: 388
2009-03-07 06:59:08 +00:00
Tim Bentley
d559adcbe6 Update copyright
bzr-revno: 387
2009-03-07 06:58:39 +00:00
Raoul Snyman
0e28795da2 Moved some files in the image plugin.
bzr-revno: 386
2009-03-06 23:41:22 +00:00
Raoul Snyman
6c78f9b0fe Moved some files into the relevant module.
bzr-revno: 385
2009-03-06 19:02:18 +00:00
Raoul Snyman
f56c36787c Added the lib module in the images plugin.
bzr-revno: 384
2009-03-06 18:58:37 +00:00
Tim Bentley
81a7a142e4 Fix new chapter code in presentation logic
bzr-revno: 383
2009-03-06 18:00:52 +00:00
Tim Bentley
4ad8b74167 Fix up Bible bugs following addition of Tabs and Move code split
bzr-revno: 382
2009-03-06 07:18:30 +00:00
Tim Bentley
980ed505e2 Tidy up Video and Bible tab code.
bzr-revno: 381
2009-03-06 06:05:01 +00:00