Commit Graph

556 Commits

Author SHA1 Message Date
Philip Ridout 10b13872e5 Modify themes to work with pathlib 2017-09-26 17:39:13 +01:00
Phill 35e9300be2 More pathlib changes, focused mainly on the presentation plugin
Add this to your merge proposal:
--------------------------------
lp:~phill-ridout/openlp/pathlib5 (revision 2777)
[SUCCESS] https://ci.openlp.io/job/Branch-01-Pull/2193/
[SUCCESS] https://ci.openlp.io/job/Branch-02-Functional-Tests/2096/
[SUCCESS] https://ci.openlp.io/job/Branch-03-Interface-Tests/1983/
[SUCCESS] https://ci.openlp.io/job/Branch-04a-Code_Analysis/1353/
[SUCCESS] https://ci.openlp.io/job/Branch-04b-Test_Coverage/...

bzr-revno: 2768
2017-09-22 20:53:59 -07:00
Ken Roberts 3e05a64874 PJlink2 update K 2017-09-22 05:03:28 -07:00
Philip Ridout b440584cb5 Moved the patched shuilils to the path module 2017-09-20 21:44:57 +01:00
Philip Ridout 0ee8ebb1c2 PEP fixes 2017-09-18 07:32:19 +01:00
Philip Ridout d801ca9b09 Test patched which method 2017-09-18 07:20:06 +01:00
Philip Ridout 7f98003d54 test fixes 2017-09-17 20:43:15 +01:00
Philip Ridout 9cb2b2e3c2 Pathlib changes 2017-09-05 21:48:55 +01:00
Philip Ridout f8a68c23d0 Enable JSON to handle unsupported objects and tests 2017-08-25 21:03:25 +01:00
Phill cd158b63fd Part 3, converted some more utility methods
Fixed the problem TGC was having.

Superflys fix included (https://bin.snyman.info/mmm5sqj8)

lp:~phill-ridout/openlp/pathlib3 (revision 2764)
[SUCCESS] https://ci.openlp.io/job/Branch-01-Pull/2175/
[SUCCESS] https://ci.openlp.io/job/Branch-02-Functional-Tests/2079/
[SUCCESS] https://ci.openlp.io/job/Branch-03-Interface-Tests/1966/
[SUCCESS] https://ci.openlp.io/job/Branch-04a-Code_Analysis/1336/
[SUCCESS] https://ci.openlp.io/job/Branch-04b-Test_C...

bzr-revno: 2762
2017-08-24 21:26:25 -07:00
Theodore Frederick ae62538a02 Adds option to ignore aspect ratio and stretch image.
bzr-revno: 2761
2017-08-23 21:21:11 +01:00
Philip Ridout 6ac671a5fa HEAD 2017-08-23 21:13:58 +01:00
Ken Roberts 46f88e418a More minor code cleanups
- Renamed get_shutter_status to get_av_mute_status (checks shutter and audio)
- Renamed shutter/audio mute test
- Update socket read to get 1K bytes in buffer
- Updated get_status for valid input
- Updated process_sver check valid length
- Update change_status to not use NETWORK_SENDING as a connection status check
- Added read check for packet length > allowed max
- Added test for process_inf1
- Added test for process_inf2
- Added test for process_info
- Added test ...

bzr-revno: 2760
2017-08-23 20:46:30 +01:00
Ken Roberts 6d353dc8e1 Fix deprecated log calls 2017-08-12 13:38:50 -07:00
Tim Bentley e896e2fd1f stop thread 2017-08-12 20:27:43 +01:00
Philip Ridout b384e6f2fa Convert some more utility fuctions over to using the pathlib 2017-08-12 18:45:56 +01:00
Ken Roberts f30d7f20d3 PJLink update I - minor code cleanups and new tests 2017-08-12 02:48:38 -07:00
Phill 081c5fe7a0 Definitely ready for merging, unless, of course you guys find some more issues!
Part 2

Changed the pathedit widget over to using pathlib
Added a 'patched' file dialog
Added a few utility methods

lp:~phill-ridout/openlp/pathlib2 (revision 2763)
[SUCCESS] https://ci.openlp.io/job/Branch-01-Pull/2125/
[SUCCESS] https://ci.openlp.io/job/Branch-02-Functional-Tests/2033/
[SUCCESS] https://ci.openlp.io/job/Branch-03-Interface-Tests/1938/
[SUCCESS] https://ci.openlp.io/job/Branch-04a-Code_Analysis...

bzr-revno: 2758
2017-08-11 21:31:09 +01:00
Ken Roberts e7ec732f1e Projector code cleanups "H" and new tests 2017-08-11 04:04:33 -07:00
Philip Ridout 6340b7e89f pep 2017-08-07 22:12:42 +01:00
Philip Ridout 8eb207b67c Head 2017-08-07 21:51:50 +01:00
Philip Ridout e6faf233ed Merge fixes 2017-08-07 21:50:01 +01:00
Ken Roberts 7b542a0554 Fix AVMT test 2017-08-06 17:08:41 -07:00
Ken Roberts 864fd291a0 PJLink2 update G - restructuring 2017-08-06 00:23:26 -07:00
Philip Ridout 03bcc194ea Update the path edit component to use the pathlib module. Add a few utility methods 2017-08-04 18:40:57 +01:00
Philip Ridout e787896931 test fixes 2017-08-02 07:09:38 +01:00
Philip Ridout 63bd98372a Move applocation over to using pathlib 2017-08-01 21:59:41 +01:00
Ken Roberts 44fb799c7a noqa cleanlups 2017-06-28 19:58:08 -07:00
Ken Roberts 0e2019faf2 PJLink update F 2017-06-24 19:21:07 -07:00
Ken Roberts 208c1b022f Test for db upgrade skip 2017-06-09 06:45:18 -07:00
Ken Roberts faea1424d8 -- Added openlp.core.lib.projector.upgrade for db version 1
-- Added test class for projector DB upgrade
-- Remove duplicate TEST_DB entry in tests.resources.projector.data
-- Updated TestProjectorDB to use a temporary directory for test db
-- Fix main db update procedure version check (default to version 0 if no version set)
-- Added extra information to projector info popup
-- Restructure valid command dictionary
-- Pep8 in plugins/songusage, plugins/presentations, and core/ui/lib/pathedit....

bzr-revno: 2747
2017-06-08 18:09:55 +01:00
Philip Ridout a3d95acabd and one renderer test 2017-06-03 23:52:11 +01:00
Ken Roberts 9f8433a18e Merge trunk 2017-06-01 15:36:38 -07:00
Ken Roberts 0fc49e3df1 Translations and more minor cleanups 2017-06-01 15:35:57 -07:00
Ken Roberts 3ea37800b7 Fix db.Manager upgrade/PJlink2 update D 2017-05-27 11:21:24 -07:00
Tim Bentley 2faf588c99 clean up files 2017-05-24 21:04:48 +01:00
Tim Bentley 32668193c6 fix up tests 2017-05-24 20:31:48 +01:00
Tim Bentley 6fe9dfeb04 Head 2017-05-23 06:00:42 +01:00
Tim Bentley cad03b9abd fix tests 2017-05-21 17:06:40 +01:00
Tim Bentley 7fbeb10207 text fixes 2017-05-21 17:02:02 +01:00
Ken Roberts cb5c0f82a3 PJlink class 2 updates C 2017-05-19 22:51:58 -07:00
Ken Roberts 81be8f5093 - Added PJLINK_DEFAULT_CODES to pjink1 imports
- Refactor command class checks and methods
- Update PJLink1.get_data for UTF-8
- Added method to clear busy flags and send received data signals
- Added class check on command reply data v. stated projector class compatibility
- Added test for PJLink1.socket_abort
- Added test for PJLink1.poll_loop
- Fix regression in test_projector_process_power_on

--------------------------------
lp:~alisonken1/openlp/pjlink2-b (revision 2735)
[SUCCESS] https...

bzr-revno: 2737
2017-05-17 21:35:43 +01:00
Ken Roberts 503c6e3f69 Initial PJLink class 2 updates
- Converted PJLINK_DEFAULT_CODES from a static dictionary to dynamically-built dictionary
- Added _not_implemented method to be able to list future methods while updating
- Added class list to hold future method functionality
- Added class list for UDP commands
- Added test for building PJLINK_DEFAULT_CODES dictionary
- Added test for _not_implemented method
- Removed extraneous TODO

--------------------------------
lp:~alisonken1/openlp/pjlink2-a (revision 27...

bzr-revno: 2736
2017-05-17 21:34:14 +01:00
Tomas Groth 5988f1c56a Fixed an issue and added a test. 2017-05-17 22:06:45 +02:00
Ken Roberts ed144657bc PJLink class 2 updates 2 2017-05-13 02:00:29 -07:00
Tim Bentley 48a87780d4 theme clean up 2017-05-13 08:47:22 +01:00
Ken Roberts a5335adbc4 Initial PJLink class 2 updates 2017-05-12 02:51:56 -07:00
Tomas Groth 798093adfe trunk 2017-05-11 22:24:20 +02:00
Theodore Frederick f3a3c809d5 Add Tests for Ignoring Aspect Ratio 2017-04-30 12:32:27 -05:00
Raoul Snyman baa09a7dd6 Mock comes with Python as of 3.3, and I don't think there is anyone using lower than 3.3, so let's use Python's mock directly now 2017-04-23 22:17:55 -07:00