summaryrefslogtreecommitdiffstats
path: root/gtk/src/settings.h
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright dates to 2021.Bradley Sepos2021-01-011-1/+1
|
* Update copyright dates to 2020.Bradley Sepos2020-01-011-1/+1
|
* LinGui: update license per BradleyS suggestionJohn Stebbins2019-11-071-2/+2
|
* LinGui: fix license and po file mergesJohn Stebbins2019-11-061-2/+1
|
* LinGui: more code refactoringJohn Stebbins2019-06-271-21/+0
| | | | separate job and title dict functions into separate files
* LinGui: queue UI reworkJohn Stebbins2019-06-241-0/+5
| | | | | Rework the queue UI per ideas from: https://github.com/HandBrake/HandBrake/issues/1087
* Update copyright dates to 2019.Bradley Sepos2019-01-011-1/+1
|
* LinGui: remove hidden x264 advanced options tabJohn Stebbins2018-12-291-1/+0
| | | | | It's been deprecated and hidden for several years now. Time for it to go.
* LinGui: start adding Gtk4 supportJohn Stebbins2018-04-191-1/+0
| | | | | | | | Gtk4 drops support for a number of widget properties and APIs. Fortunately these were all pretty much duplicate functionality that could be replaced by other existing properties and APIs. Building with Gtk4 is currently disabled due to several bugs in libgtk4.
* Update copyright dates to 2018.Bradley Sepos2018-01-011-1/+1
|
* LinGui: Add preset selection menuJohn Stebbins2017-11-061-18/+19
| | | | | | | And convert appliction to a GtkApplication. This allows the use of GActions for menu and other control actions. It's a cleaner simpler interface that automatically tracks when multiple widgets perform the same action and keeps their state in sync.
* Update copyright dates to 2017.Bradley Sepos2017-01-011-1/+1
|
* LinGui: add source title dict to queueJohn Stebbins2016-05-271-6/+10
| | | | | | By adding the title to the queue entry, all necessary information for displaying queued job is present in the queue entry. So I no longer need hackish "Description" key in job audio and subtitle lists.
* LinGui: Tidy up queue formatJohn Stebbins2016-03-121-1/+0
| | | | | Put all UI specific settings under a "uiSettings" key in a queue entry. Job settings suitable for hb_add_json() are under "Job" key.
* LinGui: clean up copyright and license commentsJohn Stebbins2016-01-031-9/+17
|
* LinGui: generalize initialization of Combo boxesJohn Stebbins2015-10-011-1/+1
|
* LinGui: use libhb to initialize job...jstebbins2015-05-271-0/+17
| | | | | | | ...and set some job settings as values change in the UI. This eliminates a large chunk of job setup code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7230 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use libhb to init audio and subtitle listsjstebbins2015-05-201-0/+1
| | | | | | | This eliminates a lot of essentially duplicate code in LinGui for initializing these lists. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7213 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: more refactoringjstebbins2015-04-031-21/+0
| | | | | | | mostly moving "settings" stuff to "values" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7047 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: change settings dict from glib to janssonjstebbins2015-03-061-34/+35
| | | | | | | | 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: remove POS appindicatorjstebbins2014-12-041-6/+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: add "Reload" and "Reload All" toolbar buttons to queue windowjstebbins2014-05-151-0/+1
| | | | | | | | | | | This allow reseting queue entries to the pending status so that they make be re-encoded. I'm not sure when a user might use these, but I have had many occasions where I wish I had this capability during debugging and testing. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6192 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: improvements to queue windowjstebbins2014-02-221-0/+2
| | | | | | | | | Add x264 preset/tune/profile/level. LinGui has been missing this. Reformat audio and subtitle list. Don't show "Turbo" when not encoding 2 pass ABR. Don't show "Filters" line if there are no filters. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6061 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix several issues with loading presetsjstebbins2014-02-201-0/+1
| | | | | | 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-3/+9
| | | | | | | | | | | | | | 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-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: convert tabs to spacesjstebbins2012-12-271-43/+43
| | | | | | | Makes lingui source conform to hb standard for indentation. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5112 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: experimental support for batch queuingjstebbins2011-10-161-0/+2
| | | | | | | | | This allows all titles in the title popup to be added to the queue in one go. It uses the current *preset* for the settings. I.e. settings changes in the UI are ignored. This deficiency will be rectified at a future time. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4294 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Add status tray icon support for Ubuntu 11.04jstebbins2011-06-201-0/+6
| | | | | | | | | Ubuntu disables GtkStatusIcon support in Unity and instead uses a new API called AppIndicator. So this adds support for appindicator when it is detected by configure. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4067 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix some issues with loading custom anamorphic settings from preset.jstebbins2010-06-261-0/+1
| | | | | | | | | | | as the settings were incrementally loaded, each changing widget triggered updates that could conflict with the preset values being loaded. fix an issue with hight getting stuck at certain values. Incorrect rounding caused a recalculation that put height back to it's previous value. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3412 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a bunch of brokenness on Ubuntu 10.04 (lucid)jstebbins2010-02-231-0/+1
| | | | | | | | | | | gtk 2.19 has changed how object id's are stored by gtkbuilder. The widget name is no longer assigned to the builder object id. Instead the id is stored in a special property. Getting incorrect object id's caused all settings values to be referenced incorrectly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3135 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add point-to-pointjstebbins2009-12-231-0/+1
| | | | | | | | the user can now select between chapter, seconds, or frame start and end points for encoding. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3041 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: when stopping an encode, give the user options similar to macuijstebbins2009-07-241-1/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2730 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: modify behavior of system tray iconjstebbins2009-06-261-0/+1
| | | | | | | | | | - clicking raises hb if iconified or obscured, iconifies if hb unobscured - when hb is iconified via the system tray icon, remove it from taskbar - preference option now enables/disables system tray icon git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2624 b64f7644-9d1e-0410-96f1-a4d463321fa5
* softsubs:jstebbins2009-06-031-1/+0
| | | | | | | | | | | | | | - add ability to have 1 source subtitle feed many output subtitles use hb_subtitle_add() to add output tracks. example use case: you want forced subtitles from a source track on one output track and the entire subtitle stream from the same source track on a second output track - LinGui: make subtitle tab resemble functionality of the audio tab any track can be added multiple times with different settings. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2476 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui:jstebbins2009-05-201-0/+1
| | | | | | | - Move the subtitle track combo into the treeview list Each subtitle entry has its own combo to select the track now git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2433 b64f7644-9d1e-0410-96f1-a4d463321fa5
* mkv soft subtitle supportjstebbins2009-05-191-0/+1
| | | | | | | | | | | | | - new libmkv 0.6.4 with subtitle track support - muxmkv supports vobsub and closed caption subtitles - added subtitle format, source, and dest initialization to dvdnav - moved subtitle_force flag into hb_subtitle_t struct as it needs to be settable per subtitle - gtk ui added subtitle tab which allows selection of multiple subtitles - reorgainize subtitle sync code to prevent dropping of subtitles when multiple subtitles are enabled git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2428 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add video quality slider granularity preference.jstebbins2009-02-121-0/+1
| | | | | | | | | | I didn't have an easy way to stash doubles in a combo box, so this was more invasive that planned. But now I have some additional flexibitlity. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2154 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix me_method/me_range dependencyjstebbins2008-12-061-8/+8
| | | | | | | | umh, esa, tesa -- me_range 4 - 64 dia, hex -- me_range 4 - 16 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2015 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: live preview.jstebbins2008-11-241-0/+3
| | | | | | | | | | this adds new prerequisites to the build. now needs: gthread-2.0, gstreamer-0.10, gstreamer-interfaces-0.10, gstreamer-video-0.10, gstreamer-pbutils-0.10 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1949 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add update checking. shows a dialog similar to the macui whenjstebbins2008-11-091-0/+2
| | | | | | | an update is available, but without the "install" option. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1910 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Activity Logs for individual encodesjstebbins2008-10-311-0/+1
| | | | | | | | | | | | | - Individual activity logs are saved in the file format "YYYY-MM-DD HH-MM-SS mymoviename.log". - Default directory is <user config idr>/ghb/EncodeLogs (usually ~/.config/ghb/EncodeLogs) - Preference available to alternatively put them in the users output movie directory with the output movie (by default set to "off"). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1887 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Make preset key/values mostly align with macui presets.jstebbins2008-10-171-8/+0
| | | | | | | | | One step closer to having a common preset format. Audio presets are still not compatible. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1840 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: nested presets and drag n drop re-ordering of presetsjstebbins2008-10-051-3/+0
| | | | | | | | adding a preset always places it at the top level. drag it to where you want it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1816 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: trim both callbacks.c and settings.c. Move code to x264handlerjstebbins2008-09-261-3/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1776 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: tidy up how combobox values are handled internally and stored in plistsjstebbins2008-09-191-6/+3
| | | | | | | fix a problem with storing max picture dims to presets plist git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1719 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Add queue save/restorejstebbins2008-09-061-1/+2
| | | | | | | | | | | | | | - 2 instances of libhb are used. One for queue activities and one for scanning new sources prior to adding to the queue. - Improve chapter entry usability. In addition to "return" advancing to the next chapter for editing, up and down arrows will advance to prev/next and put the cell in edit mode. - Add an accelerator key to jump to the destination entry box. - Fix a queue window resize problem. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1668 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Presets and preferences are now stored as plistsjstebbins2008-09-021-70/+42
| | | | | | | | | | | | | This will also make saving/restoring the queue much easier. It's a scary big change. 1400 new lines of code. Due to efficiencies of a better desing, 2400 lines of old code also gets refactored down to 1600. Giving a final net +600 lines. Along the way, I stumbled across a couple bugs and fixed them. Chapter list entry would get wedged under certain circumstances. Pausing encoding didn't display pause message in status bar. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1662 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: allow standard presets to be deleted and provide a button to reloadjstebbins2008-08-231-1/+1
| | | | | | | them. This makes the lingui conform more closely to the macgui. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1650 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: address scott's complaint that the way i handle audio presetsjstebbins2008-08-081-0/+6
| | | | | | | | | | is confusing. Eliminated the extra audio settings tab. consolidated everything in the Audio/Subtitles tab. up to 8 audios can be stored in a preset now. limit was 2 before, even though up to 8 audios could be added manually for an encode. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1620 b64f7644-9d1e-0410-96f1-a4d463321fa5