Commit Graph

547 Commits

Author SHA1 Message Date
Philip Ridout d9d0a917fd head 2018-11-10 08:09:10 +00:00
Philip Ridout 692a386387 Initial widification 2018-11-10 06:26:19 +00:00
Tomas Groth e7526f1e59 merge trunk 2018-10-30 20:46:55 +01:00
Bastian Germann 191273fbe8 Remove unused imports 2018-10-27 13:05:41 +02:00
Bastian Germann 6aa998edd0 Replace PyICU with PyQt's QCollator
Use QCollator as new collator to get rid of the PyICU dependency.
Simplify the natural sorting with its numeric mode.
Simplify one test that is heavily dependent on implementation.
Run one sorting test on macOS which was disabled.
2018-10-27 12:50:15 +02:00
Tim Bentley 26a9b2430d Head 2018-10-27 07:00:51 +01:00
Raoul Snyman d1c4cea777 Fix linting issues 2018-10-26 18:40:20 -07:00
Raoul Snyman 80c57a9c6d HEAD 2018-10-25 19:15:25 -07:00
Tim Bentley 9546c1d9bf Head 2018-10-25 17:38:39 +01:00
Philip Ridout a867c54b94 HEAD 2018-10-24 22:02:06 +01:00
Phill 891f1dc397 Migrate bibles to use the centeral proxy settings. Upgrade settings and bible meta data accordingly.
bzr-revno: 2837
2018-10-24 20:35:22 +01:00
Bastian Germann cd5939eb3b This fixes setuptools' dependencies according to scripts/check_dependencies.py.
The minimum Python version is set to 3.6 because this was agreed to on the mailing list.
Some packages which are optional in the source are declared as optional (uno, pyenchant, pyodbc).

To overcome a module conflict, openlp.py is replaced with run_openlp.py which setuptools installs as /usr/bin/openlp (or openlp.exe on Windows).

Additionally, pyxdg is replaced with appdirs (see License violations issue).

bzr-revno: 2836
2018-10-24 20:22:28 +02:00
Tim Bentley 9c30b2e5a9 More plugin state cleanups 2018-10-23 17:43:52 +01:00
Philip Ridout aa744e0d99 PEP fixes 2018-10-22 21:42:25 +01:00
Philip Ridout bdec3f407b Remove proxy settings from individual bibles and use the centeral OpenLP proxy server settings. 2018-10-22 21:17:55 +01:00
Ken Roberts a3f2030349 PJLink2 Update T and pep8 2018-10-19 21:33:32 -07:00
Tim Bentley 92492ab0e8 initial phase of vlc and statemanagement 2018-10-13 11:24:01 +01:00
Bastian Germann 5f23d3adea Use appdirs instead of pyxdg
appdirs is used for all systems except Windows.
It has Windows support, so it could be used there as well.
2018-10-08 01:34:00 +02:00
Bastian Germann 9f6b03047b Support running ./setup.py test
setuptools can run tests. Use nose2 to run the tests.
If it is not installed on your system, it is downloaded
and temporarily used.
2018-10-06 22:49:13 +02:00
Raoul Snyman aa3b0c4bcc HEAD 2018-10-01 21:39:42 -07:00
Raoul Snyman 37424b3b13 HEAD 2018-09-07 07:59:21 -07:00
Raoul Snyman 67e6806924 HEAD, plus loading screens from settings 2018-09-06 23:43:01 -07:00
Simon Hanna 7321810e78 Improve the regex, removing the displayed warning 2018-08-27 16:16:26 +02:00
Simon Hanna 3ae978e4be Log an error instead of debug output 2018-08-12 13:14:47 +02:00
Simon Hanna 3e5eb698d9 Return None instead of raising an error when converting path objects 2018-08-12 13:12:03 +02:00
Tomas Groth a3427a104b trunk 2018-08-05 22:51:07 +02:00
Tim Bentley 3a0d0ff2ea Head 2018-08-04 21:58:13 +01:00
Ken Roberts edada54d7e Fix windows not using lo as network interface 2018-08-03 15:32:32 -07:00
Tomas Groth 72ded67756 trunk 2018-08-02 15:25:08 +02:00
Phill Ridout 6a8bf83d27 Add cetralised proxy support
bzr-revno: 2823
2018-07-12 21:10:35 +01:00
Raoul Snyman 0d0ec8f818 Remove an unnecessary exception; Notify the user if one of the plugins fails to initialise; Try to make image slides work properly. 2018-06-30 21:36:32 -07:00
Tim Bentley c064259e7e fix up after projector merge 2018-06-28 21:40:54 +01:00
Ken Roberts bc832c7c72 PJLink2 update S 2018-06-28 08:37:37 -07:00
Tim Bentley 13f52e96db new tree 2018-06-26 18:08:36 +01:00
Tim Bentley 2bb842b21c Conversion finished 2018-06-24 07:56:50 +01:00
Phill Ridout 2e02060707 fix 2018-06-08 21:55:20 +01:00
Phill Ridout fac5d4b798 Fixes 2018-06-08 07:12:23 +01:00
Phill Ridout 6f34f8f2b8 Start on implementing global OpenLP proxying 2018-06-07 18:44:35 +01:00
Ken Roberts 991b2880bf PJLink2 update R 2018-05-03 07:58:50 -07:00
Tim Bentley 50511dc31d head 2018-04-20 18:35:57 +01:00
Simon Hanna 9f6999940a Change parameter name 2018-04-17 21:26:18 +02:00
Simon Hanna 2a557f3973 Fix typo 2018-04-16 21:30:48 +02:00
Simon Hanna a523fddeb3 Add requested changes 2018-04-16 13:31:29 +02:00
Simon Hanna 5045d51df4 Give the parameter an easier name 2018-04-14 21:53:35 +02:00
Simon Hanna 255b1efe3a Fix bug where newlines where stripped when normalizing string 2018-04-14 21:52:28 +02:00
Tim Bentley fdd8289808 Fix loading of singletons and add error handling 2018-04-12 20:15:56 +01:00
Raoul Snyman b521b9aeba HEAD 2018-04-11 09:08:34 -07:00
Tim Bentley 4760343899 fix up location of icons 2018-04-10 20:26:56 +01:00
Tim Bentley cd418f7825 more bits 2018-04-08 20:54:28 +01:00
Tim Bentley 8c2afe67e3 more bits 2018-04-08 19:21:22 +01:00
Tim Bentley e5305643c9 more bits 2018-04-08 18:24:31 +01:00
Tim Bentley fdae4dc939 cleanups and more icons 2018-04-07 21:31:54 +01:00
Tim Bentley d67379c622 More icons and fixes 2018-04-07 20:41:00 +01:00
Tim Bentley ecb1ee7d3e more bits 2018-04-07 17:57:44 +01:00
Tim Bentley 154ca14120 more bits 2018-04-07 17:16:42 +01:00
Tim Bentley 422823eff5 start to add awsome fonts 2018-04-07 12:12:31 +01:00
Tim Bentley be5de55e0b cleanup up the code 2018-03-29 16:16:55 +01:00
Raoul Snyman df140019cf Fix a problem in the settings which prevented the plugins from showing up in the library 2018-03-07 21:57:43 -07:00
Raoul Snyman a0d6f2d94a HEAD 2018-03-07 21:46:50 -07:00
Tim Bentley bff8b193dc fix up PEP8 2018-02-24 16:10:02 +00:00
Ken Roberts 8e5fb217d3 - manager: Remove unused signal disconnect projectorNetwork.disconnect()
- Change PJLinkUDP.pjlink_udp_commands to dict with link to processing methods
- Add test_projector_pjlink_udp.test_process_ackn_duplicate
- Add test_projector_pjlink_udp.test_process_ackn_multiple
- Add test_projector_pjlink_udp.test_process_ackn_single
- Add test_projector_pjlink_udp.test_process_srch
- Add PJLinkUDP.get_datagram method
- Add PJLinkUDP._trash_udp_buffer method
- Add PJLinkUDP.process_ackn method
- Add ...

bzr-revno: 2813
2018-02-16 21:09:49 +00:00
Ken Roberts ed347492e9 Move MY_IP4 dict to get_local_ip4 function 2018-02-11 13:52:04 -08:00
Ken Roberts f1996d2cb7 PJLink2 Update P 2018-02-11 03:42:13 -08:00
Raoul Snyman a1b8b431fb Comment out a whole lot of code to make OpenLP start. Also figured out that OpenLP now requires OpenGL 2018-02-10 22:34:14 -07:00
Tomas Groth 8e7fe01a87 merged trunk 2018-02-04 21:51:03 +01:00
Tim Bentley 6c8ec8a840 Add logging to mainwindow and clean up logging code 2018-02-03 11:24:39 +00:00
Tim Bentley f7169ee708 remove ppt viewer 2018-02-02 21:33:41 +00:00
Tomas Groth 25ca469535 merged trunk 2018-01-16 22:03:20 +01:00
Raoul Snyman 7490c7ad1e HEAD 2018-01-13 17:55:21 -07:00
Raoul Snyman 83bc19520a Removed a duplicate test file, fixed up some tests, added some more tests 2018-01-12 21:57:16 -07:00
Raoul Snyman 35fd553024 If XDG is available, log files belong in the real cache dir 2018-01-06 21:45:13 -07:00
Raoul Snyman 13885b1a39 HEAD 2018-01-03 23:10:20 -07:00
Raoul Snyman f1575dd50b Updated various thread usages 2018-01-03 23:01:35 -07:00
Raoul Snyman 20c1579a55 Just commit some of my recent changes 2018-01-02 23:57:12 -07:00
Tim Bentley 41f35f52e3 End of 2017 2017-12-29 09:15:48 +00:00
Tim Bentley cfc487d623 tests 2017-12-28 08:27:44 +00:00
Tomas Groth 219e13a4bc merge trunk 2017-12-21 22:26:39 +01:00
Phill Ridout 370ec244d8 Fix osx finding 'temp' files instead of the python source files
Fixes: https://launchpad.net/bugs/1738047
2017-12-17 15:25:54 +00:00
Raoul Snyman 9a14750d65 HEAD 2017-12-11 13:25:58 -07:00
Phill Ridout 582e2e267a Minor fixes
Fixes: https://launchpad.net/bugs/1735765
2017-12-02 21:47:11 +00:00
Raoul Snyman 64a245bef9 HEAD 2017-12-01 14:58:34 -07:00
Raoul Snyman d4daa05686 Create Screen objects (rather than dictionaries) and capture more details about the screens 2017-12-01 14:53:32 -07:00
Phill Ridout 7d0b841269 tidyups 2017-11-20 21:57:34 +00:00
Phill Ridout 1b168dd7bf More pathlib refactors 2017-11-18 23:14:28 +00:00
Phill Ridout 9196db5af0 Pathlib refactors and test fixes 2017-11-18 11:23:15 +00:00
Raoul Snyman 923dc1436e Remove monitor migration 2017-11-15 17:19:26 -07:00
Raoul Snyman 1c10227c38 HEAD 2017-11-14 17:01:57 -07:00
Raoul Snyman e5c9b7c98e Merge from upstream 2017-11-14 17:01:19 -07:00
Raoul Snyman 1cb11832bd Added some tests for the settings upgrade and fixed a bug I had introduced. 2017-11-14 00:19:10 -07:00
Tim Bentley 12b71fc068 head 2017-11-11 08:35:02 +00:00
Raoul Snyman 6b0de04694 HEAD + Regrouped upgrades 2017-11-10 23:54:54 -07:00
Phill Ridout 1c760e44e5 Small modification to upgrade settings as per superflys request 2017-11-10 22:50:04 +00:00
Raoul Snyman 3a404f074c Merge in Phil's changes 2017-11-09 21:47:37 -07:00
Raoul Snyman a408e3d74e Fix some linting issues, and fix the test for newer versions of PyLint 2017-11-09 21:11:03 -07:00
Tim Bentley e0341ab3eb fix tests 2017-11-09 21:24:38 +00:00
Tim Bentley 1a0a828ad3 fix errors 2017-11-09 19:25:26 +00:00
Raoul Snyman 3140ea434d Add support for a multi to single setting migration 2017-11-08 22:06:48 -07:00
Phill Ridout 94dd107abe Changed merged errors
Fixes: https://launchpad.net/bugs/1400415
2017-11-03 20:55:41 +00:00
Phill Ridout a268c4476b Couple fixes for bugs caused by controll chars 2017-10-28 19:58:34 +01:00
Phill Ridout 960ddedc6f make tidy text part of core.\nRemove redundant (since py3) re.UNICODE flag
Fixes: https://launchpad.net/bugs/1727517
2017-10-28 11:04:09 +01:00
Phill Ridout fe5430e157 HEAD 2017-10-27 22:11:29 +01:00
Raoul Snyman fb7bff01bc Don't throw an exception when a function does not exist in the registry function list 2017-10-23 15:23:05 -07:00
Raoul Snyman d5ab3340eb Move widgets to a widgets module 2017-10-23 15:09:57 -07:00
Tomas Groth 4ab22f6d6e merge trunk 2017-10-10 21:34:48 +02:00
Philip Ridout cecd2298a7 fixes #1660486 - Dragging item in service manager without changes triggeres 'unsaved' 2017-10-08 21:36:11 +01:00
Philip Ridout 2be17b5c6f fixes #1532193 - Typos in songusageplugin.py annother fix shamelessly ported from 2.4 2017-10-08 20:41:07 +01:00
Philip Ridout 779e95b523 Fix for samuel_m issue and bug #1672229 2017-10-08 18:33:03 +01:00
Raoul Snyman b406cfd5a8 Phase 1 complete 2017-10-07 00:05:07 -07:00
Tomas Groth ea0dd6f7aa merge trunk 2017-10-04 22:01:29 +02:00
Tim Bentley b07f2e9f86 head 2017-10-01 21:11:03 +01:00
Tomas Groth 3c35501ae9 merge trunk 2017-09-29 21:10:31 +02:00
Tim Bentley 5203518ccb head 2017-09-29 19:53:22 +01:00
Tim Bentley cd1b6715b6 fix merge comments 2017-09-29 19:53:04 +01:00
Tim Bentley d77f0127e8 head 2017-09-29 19:42:15 +01:00
Raoul Snyman 1b7482243d Centralise style tweaks 2017-09-28 16:28:18 -07:00
Tim Bentley 74cdc761d9 end of remote and server migration 2017-09-26 22:18:09 +01:00
Raoul Snyman e90836e817 Fix up some issues with one of the tests 2017-09-25 13:34:05 -07:00
Raoul Snyman 4bb031b22e HEAD 2017-09-25 12:55:33 -07:00
Philip Ridout dfe2ae347e Minor misc + pathlib refactors 2017-09-24 09:39:54 +01:00
Raoul Snyman 50511c4953 HEAD 2017-09-22 21:04:41 -07:00
Philip Ridout b4a687c85e PEP fixes 2017-09-21 07:20:56 +01:00
Philip Ridout b440584cb5 Moved the patched shuilils to the path module 2017-09-20 21:44:57 +01:00
Raoul Snyman c06cd39cab Fix up all the tests 2017-09-20 09:55:21 -07:00
Raoul Snyman 15c8023357 Moving over to requests 2017-09-19 09:48:34 -07:00
Philip Ridout 92c6b9c09d Revert some requested changes 2017-09-18 21:08:28 +01:00
Philip Ridout dbcf4d2f78 HEAD 2017-09-17 20:43:35 +01:00
Raoul Snyman 6fb4381588 HEAD 2017-09-11 22:52:47 -07:00
Philip Ridout 9e9285a896 Added some settings that should have been upgraded 2017-09-09 21:00:48 +01:00
Raoul Snyman 1e06f472c6 HEAD 2017-09-08 22:23:37 -07:00
Raoul Snyman a6324b6b7f Refactor version check threading 2017-09-08 22:19:22 -07:00
Raoul Snyman 5eb0f62332 Try to make Pyro4 and LibreOffice talk to each other. Failing miserably 2017-09-08 17:18:59 -07:00
Philip Ridout 07ba52e90c Applied tgc's patch 2017-09-07 21:27:11 +01:00
Philip Ridout 24358337e7 Pathlib changes 2017-09-06 22:36:31 +01:00
Philip Ridout 292861907e minor edits 2017-09-06 21:18:08 +01:00
Philip Ridout 9cb2b2e3c2 Pathlib changes 2017-09-05 21:48:55 +01:00
Philip Ridout 7a3f54e54c Back up settings before upgrading them 2017-09-03 11:18:14 +01:00
Philip Ridout 1908efcdbb Small fix 2017-08-27 20:22:43 +01:00
Philip Ridout ab2f354f11 Merge tweek 2017-08-27 18:37:54 +01:00
Tim Bentley 7abef1df22 fix lables and render bug 2017-08-27 18:13:14 +01:00
Philip Ridout 05e0f42859 Pylint fixes 2017-08-26 17:50:54 +01:00
Philip Ridout 8f9cb4a090 Modify setting upgrade code to provide versioned updates. Upgrade settings to use JSON encoded Path objects 2017-08-26 16:06:11 +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
Philip Ridout 9ee24c32bd made some more changes to core/__init__ and applocation 2017-08-18 20:34:20 +01:00
Tim Bentley 54eae8712a pep8 2017-08-13 06:50:44 +01:00
Philip Ridout b384e6f2fa Convert some more utility fuctions over to using the pathlib 2017-08-12 18:45:56 +01:00
Tim Bentley 63a5c3bd91 head 2017-08-11 21:47:52 +01:00
Philip Ridout 46b42c24e5 head 2017-08-04 19:02:23 +01:00