summaryrefslogtreecommitdiffstats
path: root/gtk/src/main.c
Commit message (Collapse)AuthorAgeFilesLines
* LinGui: Allow resizing window smallerJohn Stebbins2017-06-121-0/+5
| | | | | | Make widget geometry changes that allow the window to be sized smaller. Minimum size with Fedora's default Adwaita theme is 1080x698. Other themes will vary in size.
* Update copyright dates to 2017.Bradley Sepos2017-01-011-1/+1
|
* LinGui: fix custom filter tooltipsJohn Stebbins2016-10-311-0/+5
| | | | | Make them reflect the "key=value" format change we made to custom filter settings.
* LinGui: UI tweaksJohn Stebbins2016-10-121-15/+0
| | | | | Adjust some widget alignments. Change some text color.
* add ghb_override_user_config_dir function (#304)2wayne2016-08-301-0/+8
| | | Allow selection of the config file directory from the command line
* LinGui: fix preview hud colors with gtk 3.20John Stebbins2016-06-291-1/+1
|
* LinGui: fix deprecation warning against gtk 3.20John Stebbins2016-06-291-0/+10
|
* LinGui: allow the main window to be tallerJohn Stebbins2016-05-051-1/+1
|
* LinGui: replace preview "fullscreen" with preview window resizingJohn Stebbins2016-03-161-5/+7
| | | | | | | Dynamic transitions to fullscreen mode have been broken in GTK for a long time now. So I'm giving up on them ever fixing it. Instead, the preview window can be resized by dragging edges and maximized with the maximize button.
* LinGui: simplify live preview and preview hud codeJohn Stebbins2016-03-151-1/+6
| | | | | | This makes live preview playback somewhat less efficient. But the code is more portable and doesn't have some of the glitchy issues with rendering the HUD.
* LinGui: tell gstreamer where to find plugins on win32John Stebbins2016-03-131-0/+1
|
* LinGui: make gdk pixbuf loaders work under mingwJohn Stebbins2016-03-121-0/+5
| | | | Makes my icons work on windows :)
* Update copyright dates to 2016.Bradley Sepos2016-01-011-1/+1
|
* LinGui: simplify preview overlayjstebbins2015-07-291-47/+1
| | | | | | | | | | | Don't use gdk_display_supports_composite or gdk_window_set_composited. They have been deprecated. Unfortunately, this means I lose some functionality. I can give the HUD round corners or I can make it translucent. It appears there is no way to do both in the latest gtk+-3 :( git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7384 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: don't use deprecated gtk_widget_override_fontjstebbins2015-07-231-1/+18
| | | | | | Use CSS instead git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7371 b64f7644-9d1e-0410-96f1-a4d463321fa5
* lingui: use libhb preset management from linux guijstebbins2015-05-141-13/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7179 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: more refactoringjstebbins2015-04-031-12/+11
| | | | | | | mostly moving "settings" stuff to "values" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7047 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: refactor dict valuesjstebbins2015-04-031-7/+7
| | | | | | | makes most dict methods a simple passthru to hb_dict git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7046 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix unused variable warning.jstebbins2015-03-301-0/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7031 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: refresh mingw build of gtk UIjstebbins2015-03-281-3/+32
| | | | | | | Fixes a couple issues. adds qsv support. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7025 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: move ui xml to GResourcejstebbins2015-03-271-3/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7024 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: change settings dict from glib to janssonjstebbins2015-03-061-5/+4
| | | | | | | | This will allow for preferences, presets, and queue files to be written as json instead of plists (currently still plists). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6968 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: random clean-upsjstebbins2015-03-051-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6964 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: update year to 2015jstebbins2015-02-071-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6875 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: better stderr redirection on mingwjstebbins2014-12-291-3/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6675 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove POS appindicatorjstebbins2014-12-041-23/+0
| | | | | | | It's nothing but trouble. Buggy POS ubuntu crapware. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6586 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make sure "Plot" tag gets updated before starting encodingjstebbins2014-12-011-0/+5
| | | | | | | | | | GTK is *really* stupid sometimes. When "Start" is pressed, the button event is activated *before* the focus-out event for the current in-focus widget. So any final changes to that widget are not acted upon till after processing the "Start" button :-\ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6575 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make more strings translatablejstebbins2014-11-051-2/+2
| | | | | | | Thanks to Уважением Виктор (aka victor) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6505 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: eliminage deprecated GtkAlignmentjstebbins2014-10-281-7/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6473 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove GtkStatusIconjstebbins2014-10-281-14/+3
| | | | | | | | It does nothing in gtk-3 and will be removed in future gtk versions. Support for status icons through libappindicator remains. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6470 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: generalize video preset/tune/profile/level handlingjstebbins2014-08-121-10/+3
| | | | | | | | This generalization enables x265 preset/tune/profile/level which did not work previously. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6293 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: layout changesjstebbins2014-05-201-16/+13
| | | | | | | | Reduce height of presets list box. This allows room for making settings tabs wider. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6199 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix some glib warning messages in logjstebbins2014-05-161-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6196 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make the StackSwitcher fill the available widthjstebbins2014-05-151-0/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6195 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: work around bonehead Gtk developer decisionjstebbins2014-05-151-0/+17
| | | | | | | | The width of radio buttons in GtkStackSwitcher are hard coded to 100. Parse the container to get the buttons and fix this idiocy. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6194 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: change main page GtkNotebook to GtkStackjstebbins2014-05-151-1/+1
| | | | | | | GtkStack's allow animation effects. So now pages slide-in/slide-out :D git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6193 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use GtkCellRendererSpinner instead of custom icons for queue activityjstebbins2014-03-181-4/+9
| | | | | | | And delete unused icons git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6120 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Improve widget layoutjstebbins2014-03-061-4/+5
| | | | | | | | | | | | | Add padding to GtkEntry. On some themes, it looked very crowded. Let height of x264 extra settings text box float with height of widgets that it shares a grid with. It's fixed height was causing weird layout. Reduce border around GtkComboBox. There are lots of combo boxes, so this results in a significant reduction in the overall size of the window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6101 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove cruftjstebbins2014-02-251-67/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6084 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: UI layout changesjstebbins2014-02-251-2/+3
| | | | | | | Make some things fit a little better and make room for additional auto passthru options. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6082 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use hb_video_encoder_get_presets()jstebbins2014-02-231-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6075 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix range update issues and plug memory leaksjstebbins2014-02-211-7/+13
| | | | | | | | Updating the range of GtkScale and GtkSpinButtons causes the current value to update inappropriately under some conditions. So update the range and value concurrently. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6051 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix several issues with loading presetsjstebbins2014-02-201-9/+23
| | | | | | pull on a string and the whole sweater comes apart git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6048 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: rework title listjstebbins2014-02-191-35/+46
| | | | | | | | | | | | | | Title list is now linked to a settings list. There is one settings dict per title. The settings list is populated when scan completes. As you change titles, the settings for that title populate the UI. Changes made are saved in the settings and restored if you go to another title and then return. This is preparation for improvements to "Add All to Queue" feature. Settings for each title can be customized before adding to the queue. All titles don't have to use the same preset or settings. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6046 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Audio and subtitle UI rework.jstebbins2014-02-181-111/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds new tabs for audio and subtitle defaults (presets). "Audio" and "Subtitle" tabs renamed to "Audio List" and "Subtitle List" New Preset Keys: AudioLanguageList - array of strings List of languages that will be used to generate the output audio tracks for a job. Values: preset - UI display iso639_2 codes - native_name if not NULL, else eng_name SubtitleLanguageList - array of strings List of languages that will be used to generate the output subtitle tracks for a job. Values: preset - UI display iso639_2 codes - native_name if not NULL, else eng_name AudioTrackSelectionBehavior - string Defines how source tracks will be selected when generating the audio list for a job. Values: preset - UI display none - None first - First Matching Selected Languages all - All Matching Selected Languages SubtitleTrackSelectionBehavior - string Defines how source tracks will be selected when generating the subtitle list for a job. Values: preset - UI display none - None first - First Matching Selected Languages all - All Matching Selected Languages SubtitleAddCC - boolean Add Closed Caption track to subtitle list if available SubtitleAddForeignAudioSearch - boolean Add Foreign audio search pass to job if a default subtitle language is set (i.e. SubtitleLanguageList is not empty and first entry is not "Any") and default audio track language matches subtitle preferred language. SubtitleAddForeignAudioSubtitle - boolean Add preferred language subtitle track if the default subtitle language is set (i.e. SubtitleLanguageList is not empty and first entry is not "Any") and default audio track language does not match the preferred subtitle language. Removed Preset Keys: AudioTrack SubtitleList - I think only the LinGui had this key. Note that the remaining keys in the pre-existing AudioList are reused and map to the "Audio Encoder Settings" on the "Audio Defaults" tab. They used to map to the entries in the list on the old "Audio" tab. The old "Audio" tab is now the "Audio List" tab. Nothing in the "Audio List" tab map to preset values in the new design. The contents of this tab is strictly for use in the encode job. Ditto for "Subtitle Defaults" and "Subtitle List". git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6040 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix deprecation of GtkAction and GtkUIManagerjstebbins2014-01-151-3/+1
| | | | | | | Farely large change since these were the old way of creating menus :-\ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5974 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix deprecated gtk_widget_modify_fontjstebbins2014-01-141-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5969 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add chapter start time to chapter tab displayjstebbins2013-11-271-3/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5906 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: mark more strings as translation candidatesjstebbins2013-08-011-14/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5678 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb/common: improve fallback mechanism.Rodeo2013-06-031-0/+2
| | | | | | | | | | | | | | | | | | | | API changes: - added hb_global_init(), must be called before any other libhb function - removed (somewhat pointless) hb_mixdown_t.internal_name - some hb_*_get_from_name() functions now return 0 instead of -1. Instead of hardcoded fallbacks, list items now have a specific fallback, and a generic ID for when the specific fallback is unavailable. Encoder availability is checked at runtime (hb_global_init calling hb_common_global_init) and the item's value/fallback is sanity-checked and updated if necessary. See https://reviews.handbrake.fr/r/506/ for more detailed information. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5547 b64f7644-9d1e-0410-96f1-a4d463321fa5