35 Commits

Author SHA1 Message Date
Damiano Galassi
01b8fbe52d
MacGui: replace some deprecated methods 2024-07-06 14:03:38 +02:00
Damiano Galassi
fa6cf3cc82
MacGui: clean up temp files left by the xpc services. 2024-05-06 08:32:48 +02:00
Damiano Galassi
039a63137f
MacGui: small UI improvements:
- Stop resizing the preview window when not needed;
- Fix the "Clear completed jobs after an encode completes" preference;
- Use the correct power notification source, to get only the state change and not a periodic notification of the current power state.
2024-04-12 16:33:54 +02:00
Damiano Galassi
226381b4b9
MacGui: do not rewrite the queue to disk at launch. 2024-04-10 08:26:32 +02:00
Damiano Galassi
4a22c60f61
MacGui: resume encoding when the AC power is back if the queue had been paused automatically. 2024-02-08 18:18:54 +01:00
Damiano Galassi
e1f50c5bb4
MacGui: actually the power source run loop to the current run loop so we can receive the power notification. 2024-02-07 17:34:53 +01:00
Damiano Galassi
10e8d655b8
MacGui: improve preferences window:
- Added pause when switching to battery power option.
- Reworked notification options to be similar to Windows and GTK UI.
- Moved options to new File name and Queue tabs.
- Added Clear completed jobs at launch option.
2024-02-07 11:39:21 +01:00
Damiano Galassi
513b0fc4b0
MacGui: clean up the destination url and filename properties names. 2022-01-11 09:18:47 +01:00
Damiano Galassi
feaf9d2f80
MacGui: start encoding when a job is added to the queu if a job is already encoding and there is a free worker. 2020-12-01 10:53:37 +01:00
Damiano Galassi
e1b9bd7672
MacGui: add a prefix to the NSArray and NSIndexSet categories. 2020-09-12 11:27:19 +02:00
Damiano Galassi
3a90d6a6ad
MacGui: show a stop row in the queue when 'Stop after current job' option is selected. 2020-09-11 18:02:23 +02:00
Damiano Galassi
d09944d494
MacGui: add a new queue item state to handle the case when a job is being sent back to the main window. Before we could check if it was the current item being encoded, but now with multiple encoding items we need ad additional state to handle this case correctly. 2020-05-08 13:11:47 +02:00
Damiano Galassi
5b87b8809e
MacGui: handle all KVO messages, fixes #2796 . 2020-04-26 18:54:24 +02:00
Damiano Galassi
f8b3478d8b
MacGui: start encoding a new job is the queue is running and the worker count is incremented. Pause queue if there is a job running, or stop the queue if no job is running, if disk space is low. 2020-04-25 11:19:24 +02:00
Damiano Galassi
21982a4e67
MacGui: enhance the queue to allow up to 4 simultaneous encodes. Add a preference to set the number of queue workers. 2020-04-11 12:19:17 +02:00
Damiano Galassi
c3b2645cb0
MacGui: cosmetics. 2020-04-11 09:16:24 +02:00
Damiano Galassi
c4202b8c37
MacGui: remove distributed queue. 2020-04-11 09:16:21 +02:00
Damiano Galassi
073c2fb84b
MacGui: improve security scoped resources management. Fixes #2566. 2020-01-10 14:19:50 +01:00
Damiano Galassi
d9a502fc23
MacGui: always update queue stats after a job is done. 2019-11-12 17:38:45 +01:00
Damiano Galassi
b7d83fe398
MacGui: store the job activity log url. 2019-09-05 13:20:29 +02:00
Damiano Galassi
4a710ddbff
MacGui: fix an exception when reading an HBJob from disk; do not store previews image when scanning the title in the queue; set the log level immediately; improve progress info when the pass number is not set yet. 2019-08-14 07:21:48 +02:00
Damiano Galassi
d5cfa90ad9
MacGui: fix some UI syncronization issues caused by moving things to another process. 2019-08-12 19:31:04 +02:00
Damiano Galassi
c5a4d181eb
MacGui: enable and fix more warnings. Review nullability annotations. 2019-08-12 10:19:00 +02:00
Damiano Galassi
ae8703461f
MacGui: improve xpc crash recovery, set dvdnav option in the xpc service. 2019-08-11 13:16:44 +02:00
Damiano Galassi
0269063fae
MacGui: properly cleanup the xpc service temporary files; fix encode toolbar items state when going from scanning to encoding. 2019-08-11 10:28:23 +02:00
Damiano Galassi
757efe9123
MacGui: recover when the xpc service crashes. 2019-08-11 09:58:32 +02:00
Damiano Galassi
bed55e0588
MacGui: move the queue libhb instance to an xpc service. 2019-08-11 09:07:20 +02:00
Nomis101
38c3ba1835 Fix some typos (#2202)
Fix some typos
2019-07-31 07:27:27 +02:00
Damiano Galassi
c3a04e6bfc
MacGui: add a preference to automatically clear completed queue items. 2019-07-30 10:49:01 +02:00
Damiano Galassi
8e2843720a
MacGui: refactor the preferences keys and autonaming methods; fix the queue when running multiple HandBrake instances; fixed a number of bugs. 2019-07-29 07:34:38 +02:00
Damiano Galassi
f82a8597f2
MacGui: improve queue labels when multiple jobs are selected; fix some bugs. 2019-07-27 13:15:37 +02:00
Damiano Galassi
30b59112b7
MacGui: store queue items statistics. 2019-07-25 08:12:35 +02:00
Damiano Galassi
40290672ac
MacGui: fix a number of queue regressions. 2019-07-20 10:15:19 +02:00
Damiano Galassi
61db67faf4
MacGui: add inline progress status and bar in the queue. 2019-07-20 09:08:25 +02:00
Damiano Galassi
97734fff76
MacGui: refactor the queue and implement part of the new queue ui. 2019-07-19 21:17:27 +02:00