summaryrefslogtreecommitdiffstats
path: root/gtk
Commit message (Collapse)AuthorAgeFilesLines
* add subtitle track name read/writeJohn Stebbins2019-08-113-398/+507
| | | | | | | | | | | | | | | | Works similar to audio track names. If source has a subtitle track name, hb_subtitle_t.name is set. To set output subtitle track name, set hb_subtitle_config_t.name. Source track names are available in title returned by hb_title_to_dict and hb_title_to_json in SubtitleList[].Name In job dict it is also SubtitleList[].Name hb_preset_job_init and hb_preset_job_init_json initialize output tracks with the source track name. Also adds subtitle name support to LinGui
* libhb: make source audio track name available to frontendsJohn Stebbins2019-08-118-43/+71
| | | | | | | | | | | | | It gets stored in new hb_audio_config_t.in.name field. It is available in the title dict read through hb_title_to_dict() or hb_title_to_json() in AudioList[].Name. When a job is initialized with hb_preset_job_init or hb_preset_job_init_json(), output audio tracks are initialized with the source track name. Also adds output track name initialization to LinGui.
* Remove libsamplerateJohn Stebbins2019-08-111-1/+1
| | | | Convert the last use of libsamplerate in sync.c to swresample
* LinGui: make selection of gtk3/gtk4 configure-ableJohn Stebbins2019-07-313-17/+19
|
* LinGui: only show progress bar on active queue entryJohn Stebbins2019-07-312-1/+2
|
* LinGui: make chapter list rows non-selectableJohn Stebbins2019-07-302-0/+2
| | | | I.e. do not highlight the entire row when clicked with the mouse
* LinGui: change chapter list to GtkListBoxJohn Stebbins2019-07-3012-2430/+506
| | | | | | | | | GtkListBox is more flexible than GtkTreeView. It is possible now to process key press events without creating a custom text cell renderer. Also due to the way event handling changes in GTK4, it was no longer even possible to create a custom cell renderer that can process key events. So this GtkListBox implementation is compatible with GTK4.
* LinGui: fix build error on ubuntu bionicJohn Stebbins2019-07-301-23/+20
|
* LinGui: gtk4 port, use rotation transform in settings stackJohn Stebbins2019-07-291-1/+1
| | | | Because we can :*p
* LinGui: gtk4 port, fix reading/writing GtkSpinButton textJohn Stebbins2019-07-296-49/+25
| | | | | In GTK4, GtkSpinButton is no longer a subclass of GtkEntry. Must use GtkEditable APIs in GTK4
* LinGui: gtk4 port, minimize appearence of tool bar separatorsJohn Stebbins2019-07-291-14/+6
| | | | | | | These are not supposed to be visible, but gtk4 is not respecting the "draw" property of GtkSeparatorToolItem. When this is fixed, I can restore proper spacing between "Open Source" and "Add To Queue" toolbar buttons.
* LinGui: gtk4 port, fix summary tab preview image scalingJohn Stebbins2019-07-294-42/+57
| | | | | | | | | | | | GTK4 added a new widgit GtkPicture that is almost identical to GtkImage. The main difference appears to be that GtkImage now scales down the size of the given pixbuf using some undocumented algorithm. It's filling some of the space available, but not all of it. But it isn't a hard size limit because making the window bigger continues to make the image bigger. GtkPicture shows the pixbuf unscaled as expected. So use GtkPicture for the preview image :*(
* LinGui: gtk4 port, fix search in language combo boxJohn Stebbins2019-07-292-9/+57
| | | | language search requires key-press handling which changed in gtk4
* LinGui: disable gtk4 key-press handling for chapter listJohn Stebbins2019-07-292-2/+9
| | | | | | | | | gtk4 makes it very difficult to handle key-press in a GtkCellRenderer I will need to rewrite the capter list as a GtkListBox instead of a GtkTreeView to re-enable this. key-press handling is used here to automatically move to the next chapter when finished editing the current
* LinGui: add queue row delete key handling for gtk4John Stebbins2019-07-291-0/+38
| | | | | Event handling in gtk4 is substantially different than gtk3. This restores handling of delete key on queue rows in gtk4 port
* LinGui: use GtkNotebookPage in gtk4 ui descriptionJohn Stebbins2019-07-291-383/+379
| | | | This is the modern gtk4 way...
* LinGui: WIP gtk4 supportJohn Stebbins2019-07-2615-1104/+9123
| | | | | | | | | | | | | | | | Known issues and todo: notebooks, use GtkNotebookPage semantics in ui file fix keypress delete in queue_list fix dest_file grab-focus? (highlight of filename for editing) focus-in/out with GtkEventControllerKey preview_state_cb how to handle icon-ified preview? preview_configure_cb, saving preview window size? accelerator alt-d grab-focus destination key-press-event in chapter list, ghbcellrenderertext -> GtkEventControllerKey Why doesn't summary preview image scale correctly? "System" in about dialog? why is the tab there when "system" prop not set? GtkSeparatorToolitem seems to ignore "draw" prop?
* LinGui: fix build error when update checks enabledJohn Stebbins2019-07-221-1/+2
| | | | Fixes https://github.com/HandBrake/HandBrake/issues/2207
* LinGui: fix spacing between preset menu button and settings stackJohn Stebbins2019-07-181-0/+1
|
* LinGui: make "clear completed queue items" pref consistent with WinGuiJohn Stebbins2019-07-171-20/+18
| | | | | move to "General" preferences pane make text consistent
* LinGui: Reduce disk monitoring free space limit to 2GBJohn Stebbins2019-07-151-1/+1
|
* LinGui: update preset save dialog "Dimensions" labelJohn Stebbins2019-07-121-1/+1
| | | | | Make it consistent with other UIs Fixes https://github.com/HandBrake/HandBrake/issues/1309
* LinGui: fix creating new preset categoryJohn Stebbins2019-07-011-1/+1
|
* Fix gcc 9 compiler warningsJohn Stebbins2019-06-281-1/+1
| | | | | gcc 9 is quite a lot chattier and clutters the build log with useless information :\
* LinGui: more code refactoringJohn Stebbins2019-06-2713-235/+355
| | | | separate job and title dict functions into separate files
* LinGui: refactor some codeJohn Stebbins2019-06-273-43/+44
|
* LinGui: add options to open encode log and log directoryJohn Stebbins2019-06-273-0/+112
| | | | ... To the "Actions" menu button on the queue window
* LinGui: don't hide queue stats and activity tabsJohn Stebbins2019-06-273-33/+71
| | | | | Just fill them with default/empty settings when queue is empty or queue item is pending
* LinGui: minor layout and window label tweaksJohn Stebbins2019-06-271-2/+6
|
* LinGui: improve text of current encode pass in queue statsJohn Stebbins2019-06-271-4/+15
|
* LinGui: update queue stats during queue scanJohn Stebbins2019-06-271-0/+1
|
* LinGui: set file size stats to "Not Available" when stat failsJohn Stebbins2019-06-271-2/+2
| | | | | More friendly response, and works for initial passes where the file hasn't been created yet.
* LinGui: set a default width for empty queue listJohn Stebbins2019-06-261-0/+1
| | | | When it's not populated, the width is narrow and looks odd
* LinGui: implement queue reorderingJohn Stebbins2019-06-264-938/+1156
| | | | Add drag & drop queue reordering to new queue design
* LinGui: add queue statisticsJohn Stebbins2019-06-257-118/+799
| | | | and tweak the layout per BradleyS suggestions
* LinGui: queue UI reworkJohn Stebbins2019-06-2412-4782/+6058
| | | | | Rework the queue UI per ideas from: https://github.com/HandBrake/HandBrake/issues/1087
* LinGui: remove use of deprecated g_type_class_add_privateJohn Stebbins2019-06-192-192/+201
|
* Add NetBSD conditional to avoid link errorsRyo ONODERA2019-06-181-0/+3
| | | | -ldl is not provided under NetBSD.
* LinGui: add double-click edit to audio and subtitle listsJohn Stebbins2019-06-173-12/+42
| | | | Fixes https://github.com/HandBrake/HandBrake/issues/2148
* LinGui: fix missing x265 fastdecode tuneJohn Stebbins2019-05-051-8/+12
|
* deblock: replace pp7 with avfilter vf_deblockJohn Stebbins2019-05-026-32/+122
| | | | | | Adds deblock presets and tunes. Old preset values are converted upon preset import. Old PictureDeblock preset key is now PictureDeblockPreset.
* LinGui: fix additional mingw gtk UI build issuesJohn Stebbins2019-04-175-9/+15
|
* gtk: Fix cross compile issue with regexmwayne2019-04-171-22/+2
| | | | | | introduced in commit a9daef1e18b93f793479155210110322234bb655 - remove duplicate regex match function - replace strptime call with ffmpeg implementation
* make: finish correcting host/build semanticsJohn Stebbins2019-04-173-4/+4
|
* configure: add option to enable/disable libnumaJohn Stebbins2019-04-152-1/+11
| | | | | It is not supported or not useful in some Linux environments, so allow disabling it.
* LinGui: remove deleted file from translation listJohn Stebbins2019-04-121-1/+0
|
* LinGui: put libnuma after libx265 in link commandJohn Stebbins2019-04-061-12/+13
| | | | | Ubuntu fails to link when numa is listed before x265. Fedora somehow fixes the order, libtool (evil) magic.
* x265: enable building with libnuma on linuxJohn Stebbins2019-04-041-1/+1
| | | | | | | | | Threadripper and other modern CPUs are now multi-core modules that benefit from having NUMA available. Adds a dependency for libnuma. Fixes https://github.com/HandBrake/HandBrake/issues/1142
* LinGui: work around GTK slider value formatting bugJohn Stebbins2019-03-202-36/+94
| | | | | | | | | | | | | | When the range of a slider changes, GTK used to sample all the possible values to determine the correct amount of screen space to allocate for the value strings. Some *genius* decided it would be more effecient to just sample the first and last value which means that if certain characters are wider than others and the middle values happen to use those characters, the space allocated is too small and the string wraps to the next line or is truncated. So, we have to randomly add some extra space to the first and last value string in order for the string to be displayed properly. WTF guys!
* LinGui: make QSV encoding actually workJohn Stebbins2019-03-071-1/+1
| | | | | | Assuming you built HandBrake with 'configure --enable-qsv' and you have built and installed Intel MediaSDK in a directory that is in your LD search path, the QSV encoders now work. HW decode is not supported.