summaryrefslogtreecommitdiffstats
path: root/gtk/src/settings.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright dates to 2017.Bradley Sepos2017-01-011-1/+1
|
* LinGui: add source title dict to queueJohn Stebbins2016-05-271-0/+21
| | | | | | 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: fix data type of GType variableJohn Stebbins2016-02-251-3/+3
| | | | | Wrong size data type resulted in massive failure when compiled with certain CFLAGS.
* LinGui: clean up copyright and license commentsJohn Stebbins2016-01-031-0/+11
|
* Update copyright dates to 2016.Bradley Sepos2016-01-011-1/+1
|
* LinGui: generalize initialization of Combo boxesJohn Stebbins2015-10-011-1/+1
|
* LinGui: use libhb to initialize job...jstebbins2015-05-271-0/+181
| | | | | | | ...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/+12
| | | | | | | 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-140/+5
| | | | | | | 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-37/+37
| | | | | | | 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: work around yet another gtk+-3 bugjstebbins2015-03-251-1/+7
| | | | | | | | | | GtkTextView gets confused if you try to set it's contents again while in a callback for a change to the TextView. So prevent such behavior by the app. Requires updating the x264Option TextView in the background (idle loop) rather than immediately. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7013 b64f7644-9d1e-0410-96f1-a4d463321fa5
* 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