Commit Graph

15478 Commits

Author SHA1 Message Date
Raoul Snyman b758bb2f52 Disable theme preview generation for now 2018-01-30 22:02:38 -07:00
Raoul Snyman 9c4f5857fc For the moment, work around some screen issues in the FTW - we probably need to revisit this later 2018-01-30 21:58:52 -07:00
Raoul Snyman f3d0c0f433 Fix the screen list issues 2018-01-30 21:58:31 -07:00
Raoul Snyman 97172efba5 HEAD 2018-01-30 21:10:09 -07:00
Raoul Snyman 1f53453ff6 Fixed an issue with the FTW not displaying any download progress.
Add this to your merge proposal:
--------------------------------------------------------------------------------
lp:~raoul-snyman/openlp/fix-ftw-download-progress (revision 2811)
https://ci.openlp.io/job/Branch-01-Pull/2430/                          [SUCCESS]
https://ci.openlp.io/job/Branch-02a-Linux-Tests/2331/                  [SUCCESS]
https://ci.openlp.io/job/Branch-02b-macOS-Tests/125/                   [SUCCESS]
https:/...

bzr-revno: 2811
2018-01-24 21:36:15 +00:00
Phill d3d122d678 Started work on storing path objects in service file.
Refactored save code and reduced duplication.
Fixed + improved the loading / saving progress bars
improved performance

loading powerpoint from a service still does work

--------------------------------------------------------------------------------
lp:~phill-ridout/openlp/pathlib12 (revision 2817)
https://ci.openlp.io/job/Branch-01-Pull/2428/                          [WAITING]
[RUNNING]
[SUCCESS]
https://ci.openlp.io/job/Branch-02a-Linu...

bzr-revno: 2810
2018-01-24 20:55:22 +00:00
Raoul Snyman 53ac8468d4 Fix copyright 2018-01-24 13:27:22 -07:00
Phill Ridout 4423b61fc9 Small fix 2018-01-22 21:37:00 +00:00
Phill Ridout ee144ad68b Save the temp file in a different dir 2018-01-22 20:41:30 +00:00
James Muscat 7539483959 Use point size for text outline.
The previous code matched the erroneous behaviour of the original Python method, which used `em` as a measurement; the theme wizard uses `pt` as a unit and doesn't allow fractional values, which meant that it was not possible to specify very thin outlines at large font sizes.

Now, both UI and rendering code use `pt` as a unit, which allows thin outlines.
2018-01-21 11:07:04 -07:00
James Muscat bbadd9fbce Use `pt` for outline size.
This matches the units used in the theme settings UI, and allows thin outlines
to be used with large font sizes.
2018-01-21 13:08:24 +00:00
James Muscat c96c7fefea Fix broken syntax. 2018-01-21 12:28:00 +00:00
Phill Ridout 7c68e9d022 pep 2018-01-21 07:40:26 +00:00
Phill Ridout 368b0ce75c Tidy ups 2018-01-20 09:30:30 +00:00
Phill Ridout 7ced39594f Add test 2018-01-19 21:00:56 +00:00
Phill Ridout 89042982d6 HEAD 2018-01-16 20:49:18 +00:00
Phill Ridout 21b362c9a2 doc string! 2018-01-14 09:01:00 +00:00
Raoul Snyman 7490c7ad1e HEAD 2018-01-13 17:55:21 -07:00
Raoul Snyman 331554a038 HEAD 2018-01-13 17:45:24 -07:00
Ken Roberts d6087813ae - Ongoing conversions from self.asserts to plain asserts
- Remove test_ part of method name for bugfix tests no longer used
- Move tests *_change_status_* from pjlink_commands_01 to pjlink_base
- Move test projector_reset_information from pjlink_commands_01 to pjlink_commands_02
- Move lamp_nonstandard_reply from bugfix to pjlink_commands_01
- Move clss_nonstandard_reply 1/2 from bugfix to pjlink_commands_01
- Move test_projector_get_* tests from pjlink_commands_01 to pjlink_base
- Added pjli...

bzr-revno: 2809
2018-01-13 17:44:36 -07:00
Raoul Snyman d758ed257c Fix progress not showing in the FTW 2018-01-13 16:24:26 -07:00
Phill Ridout 42465605ac fix saving and loading progress bar
Fixes: https://launchpad.net/bugs/1734432
2018-01-13 09:02:29 +00:00
Raoul Snyman 6263e6654a Fix bug #1742910 by moving the threads to the application object instead of the main window object.
Add this to your merge proposal:
--------------------------------------------------------------------------------
lp:~raoul-snyman/openlp/bug-1742910 (revision 2810)
https://ci.openlp.io/job/Branch-01-Pull/2418/                          [SUCCESS]
https://ci.openlp.io/job/Branch-02a-Linux-Tests/2319/                  [SUCCESS]
https://ci.openlp.io/job/Branch-02b-macOS-Tests/114/                ...

bzr-revno: 2808
2018-01-13 08:17:04 +00:00
Phill Ridout c88a08f9e4 HEAD 2018-01-13 07:25:07 +00:00
Phill Ridout 2095a00dc9 Fix up code so test passes 2018-01-13 07:24:20 +00:00
Ken Roberts 372051067d Update pjlink_class define in db 2018-01-12 23:17:15 -08:00
Raoul Snyman 9e184ebbfd Go back to the way I was doing it originally. Much more succint. 2018-01-12 22:59:44 -07:00
Ken Roberts 17ff6a7d31 PJLink2 update o 2018-01-12 21:41:42 -08:00
Raoul Snyman 11f528d09c Change is_thread_finished() to return True if a thread is missing 2018-01-12 22:24:53 -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 6f9f68a99b Add some more tests for openlp.core.api.deploy 2018-01-12 16:45:06 -07:00
Raoul Snyman ff421df2bf Fix bug #1742910
Fixes: https://launchpad.net/bugs/1742910
2018-01-12 11:29:32 -07:00
Raoul Snyman c4681e60e3 Major overhaul of how threading in OpenLP works. Rather than messing around with threads yourself, you create a worker object descended from ThreadWorker, implement start() (and stop() if it's a long-running thread), and run it using run_thread().
Changes related to thread API:

- WebSocket was refactored (mostly into the worker)
- HttpServer was refactored a bit
- CheckMediaWorker was refactored a bit
- Version check refactored
- SongSelect search refactored
- New _wait_for_threads() method...

bzr-revno: 2807
2018-01-07 12:27:26 -07:00
Raoul Snyman c5b7b46a55 Fix the tests I now added back in 2018-01-07 11:07:22 -07:00
Raoul Snyman 7e99381dba Fix some issues highlighted by Tim and Phill, and added a file that was erroneously removed 2018-01-07 10:50:29 -07:00
Raoul Snyman 4fae7f829d Fix the tests I broke 2018-01-06 22:24:55 -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 738e8e0283 Remove the Qt style option - it never worked anyway 2018-01-06 21:40:40 -07:00
Raoul Snyman 954d1618bc Fix the direction of the '--no-web-server' command line option 2018-01-06 21:36:45 -07:00
Raoul Snyman 7b28262987 Fix a mismatch of arguments in a call to reload_bibles() 2018-01-06 21:36:17 -07:00
Phill Ridout dd6887d388 HEAD 2018-01-06 09:56:10 +00:00
Phill Ridout e1400dc227 Finally merge the save lite method in to the 'standard' save method' 2018-01-06 09:55:19 +00:00
Raoul Snyman 5612be1b5a Stop the HTTP server properly too 2018-01-06 00:02:45 -07:00
Raoul Snyman f693d3aa37 Call close() to stop everything properly 2018-01-05 21:41:49 -07:00
Raoul Snyman 3e9073275a Fix an issue with versions of websockets > 4.0 2018-01-04 22:32:12 -07:00
Raoul Snyman 2d009f1884 Change a log.error to a log.exception 2018-01-04 14:13:24 -07:00
Raoul Snyman 0601cf1543 Move cleanup to after thread wait; Figured out why the webserver was exiting early 2018-01-04 14:03:15 -07:00
Raoul Snyman db7ff02abb Move the thread code to after the event has been accepted 2018-01-04 10:17:20 -07:00
Raoul Snyman 544c396bbc Fix some linting issues 2018-01-04 00:00:55 -07:00
Raoul Snyman 64b26774a1 For some reason, the thumbnail downloader was still using a string path 2018-01-03 23:37:59 -07:00