summaryrefslogtreecommitdiffstats
path: root/gtk/src/settings.c
Commit message (Collapse)AuthorAgeFilesLines
* LinGui: change settings dict from glib to janssonjstebbins2015-03-061-61/+61
| | | | | | | | 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: fix compiler warningjstebbins2015-03-051-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6965 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: random clean-upsjstebbins2015-03-051-24/+9
| | | | 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: allow hh:mm:ss.ms input for P-to-P "Seconds"jstebbins2014-05-151-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6191 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix problem cause by change in behavior of libgtkjstebbins2014-03-261-1/+1
| | | | | | | | | | gtk_buildable_get_name and gtk_widget_get_name now return a string describing the widget type if the name has not been set instead of NULL as they used to. This of coarse breaks everything that depends on looking up valid widget names. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6131 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: improvements to queue windowjstebbins2014-02-221-0/+8
| | | | | | | | | 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: rework title listjstebbins2014-02-191-19/+48
| | | | | | | | | | | | | | 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-36/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-12/+0
| | | | | | | 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 GtkHScalejstebbins2014-01-141-2/+2
| | | | | | | | Fixing this deprecation makes the LinGui incompatible with versions of gtk prior to 2.16. Too bad for you if you are using such and ancient gtk. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5970 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Add GTK+-3 supportjstebbins2013-01-131-67/+21
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5170 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Update copyright datesjstebbins2012-12-301-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5117 b64f7644-9d1e-0410-96f1-a4d463321fa5
* lingui: convert tabs to spacesjstebbins2012-12-271-568/+568
| | | | | | | 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: add x264 preset/tune/profile/level supportjstebbins2012-12-271-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5110 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: experimental support for batch queuingjstebbins2011-10-161-0/+22
| | | | | | | | | 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: fix backward compatibility issuejstebbins2011-03-221-1/+1
| | | | | | | Versions of gdk on Ubuntu 9.10 and 10.04 do not have GDK_KEY_* macros git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3871 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove use of deprecated GTK_WIDGET_TYPE and GTK_OBJECT_TYPE macrosjstebbins2011-03-221-2/+2
| | | | | | | replace with G_OBJECT_TYPE git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3860 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add CFR option for "Same as source" framerate.jstebbins2011-01-281-3/+41
| | | | | | | | | Since there seem to be a lot of players that do not properly support VFR, add a CFR option that can be used with "Same as source". The framerate to use comes from the title and the cfr flag is set in the job. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3770 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: update copyright datesjstebbins2011-01-031-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3731 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a bunch of brokenness on Ubuntu 10.04 (lucid)jstebbins2010-02-231-11/+5
| | | | | | | | | | | 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: fix a problem with srt subtitle file dialog forgetting the last used ↵jstebbins2009-10-141-1/+6
| | | | | | directory git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2884 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make the activity window a little widerjstebbins2009-10-061-1/+1
| | | | | | | and make the label showing the location of the activity log file big/bold git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2872 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: allow display of picture settings before a scan has been donejstebbins2009-10-061-0/+12
| | | | | | | | preview window is still blocked, but picture settings can be viewed and modified for the purpose of setting up a preset. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2871 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a couple subtitle UI issuesjstebbins2009-10-031-6/+10
| | | | | | | | - SRT filename was getting lost when moving the subtitle highlight around - SRT subtitles didn't get reloaded properly when editing a queue item git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2862 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: SRT supportjstebbins2009-06-301-2/+23
| | | | | | | | | | | | | | | | - there are now two buttons to add subtitles one button adds normal subtitles from the source. the second adds SRT subtitles. - when an SRT subtitle is selected in the list, the available controls change SRT controls are: Language, Character Codeset, File, and Time Offset (ms) - A combo entry box is used for character code. A subset of the most common character codes is available in the popup. Other codes can be manually entered in the entry box. - The last used SRT file directory is remembered. - Remove the debug printf eddyg left in decsrtsub.c git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2648 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: replace drc hscale with scalebuttonjstebbins2009-06-081-0/+12
| | | | | | | | | scale button pops up a scale when needed, so is more compact. audio settings now all fit in one row. this opens the possibility of making the audio tab behave more like the mac ui's git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2503 b64f7644-9d1e-0410-96f1-a4d463321fa5
* mkv soft subtitle supportjstebbins2009-05-191-0/+6
| | | | | | | | | | | | | - 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 fullscreen option to previewjstebbins2009-04-051-0/+12
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2299 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add video quality slider granularity preference.jstebbins2009-02-121-4/+10
| | | | | | | | | | 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: add a file chooser button for the dest directory. dest file isjstebbins2008-11-261-0/+20
| | | | | | | separated with its own entry box. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1955 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Make preset key/values mostly align with macui presets.jstebbins2008-10-171-73/+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 presetsjstebbins2008-10-151-1/+11
| | | | | | | | | | new nested builtins. user can create custom folders and drag n drop custom presets. updated mac to linux presets plist translation tool to handle new format git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1835 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: trim both callbacks.c and settings.c. Move code to x264handlerjstebbins2008-09-261-532/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1776 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove another part of the x264 analyse/direct-pred (non)dependency jstebbins2008-09-261-7/+1
| | | | | | | that I missed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1770 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Store the activity log in the users config dir instead of PWD.jstebbins2008-09-251-0/+4
| | | | | | | Display the location of the activity log in the activity window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1761 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: tidy up how combobox values are handled internally and stored in plistsjstebbins2008-09-191-68/+29
| | | | | | | 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 mp4 options to queue descriptionjstebbins2008-09-171-9/+14
| | | | | | | fix a problem with audio bitrate and sample rate after reloading queue git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1706 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: yikes, this thing leaks worse than my roof, fixedjstebbins2008-09-081-0/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1677 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Add queue save/restorejstebbins2008-09-061-13/+0
| | | | | | | | | | | | | | - 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-1377/+381
| | | | | | | | | | | | | 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: plug small memory leakjstebbins2008-08-271-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1654 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: oops. presets weren't saved after refreshing standard presets, so thejstebbins2008-08-241-1/+1
| | | | | | | refresh got lost after restarting the app git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1652 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: bundle the standard presets in the exe. eliminates installingjstebbins2008-08-241-76/+34
| | | | | | | | a separate file. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1651 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: allow standard presets to be deleted and provide a button to reloadjstebbins2008-08-231-100/+126
| | | | | | | 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: improve data entry method for deinterlace and denoise settings in jstebbins2008-08-221-14/+128
| | | | | | | | tweaks mode. replaces GtkComboBox with GtkComboBoxEntry. add easter egg that gives access to hidden preferences git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1649 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: address scott's complaint that the way i handle audio presetsjstebbins2008-08-081-2/+122
| | | | | | | | | | 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
* LinGui: change how x264 options are handledjstebbins2008-08-071-21/+491
| | | | | | | | | - there is now one preset key that contains the option string - options displayed in widgets and entry box stay reflect each other - enlarged the entry box so all options can be seen git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1614 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: disable 2-pass if constant quality is selectedjstebbins2008-07-231-0/+14
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1575 b64f7644-9d1e-0410-96f1-a4d463321fa5