summaryrefslogtreecommitdiffstats
path: root/gtk
Commit message (Collapse)AuthorAgeFilesLines
* LinGui: fix video options edit box tooltipjstebbins2015-06-172-28/+36
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7302 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: Allow log level changes and update checks *after* hb_init()jstebbins2015-06-126-3/+21
| | | | | | | | | | | - In the CLI, this allows calling hb_init() before parsing args, which permits us to see any libhb log messages that are generated during option parsing. These messages were hidden before. - In the GUIs, this allows dynamic changes to log level. Previously an application restart was required. I have only updated the LinGui to take advantage of this. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7295 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix a couple of memory leaksjstebbins2015-06-011-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7254 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix setting "autoscale" widget value from presetjstebbins2015-05-291-2/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7242 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: simplify some video widget dependency handlingjstebbins2015-05-283-10/+14
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7236 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: disable level widget when no levels returned by libhbjstebbins2015-05-282-3/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7233 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix build error on ubuntujstebbins2015-05-281-3/+3
| | | | | | | For some reason, fedora has "bool" type defined where ubuntu does not. Use gboolean. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7232 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use libhb to initialize job...jstebbins2015-05-2715-879/+545
| | | | | | | ...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-2013-524/+306
| | | | | | | 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: refactor subtitle panejstebbins2015-05-198-514/+582
| | | | | | | | | | | | Store subtitle track info in json job compatible format. Copy directly into job when adding new job. Also, removed "Foreign audio search" from the subtitle track dropdown and made an explicit "Foreign audio search" toolbar button. This makes it easy to enforce only one such track in the list and gives me a place to put a better tooltip explaining FAS. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7211 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: more audio refactoringjstebbins2015-05-184-373/+196
| | | | | | | Since the audio list is now in the proper format for json job, simply copy the audio list when creating the job. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7209 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: audio pane refactoringjstebbins2015-05-158-224/+226
| | | | | | | | | | | - Use dict keys that align with job in audio list. - Fix quality for encoders with inverted quality scale like lame. - Fix disabling of audio passthru options that do not apply to the current input audio track. - Fix enable/disable of quality widgets - Fix random failure to change audio encoders in audio settings popup git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7190 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: rename json preferences file ...jstebbins2015-05-141-2/+4
| | | | | | ... so it doesn't overwrite old format plist file. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7180 b64f7644-9d1e-0410-96f1-a4d463321fa5
* lingui: use libhb preset management from linux guijstebbins2015-05-1416-3976/+1216
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7179 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix 32bit buildsjstebbins2015-05-132-1/+7
| | | | | | | File operations performed by LinGui were failing for large files. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7174 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb,cli: add preset management to libhb, use it in clijstebbins2015-05-065-153/+139
| | | | | | | | This results in custom preset support in the CLI and additional command line options to fully support all preset keys. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7158 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: refresh queue button pending count when queue item editedjstebbins2015-05-031-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7153 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix scanning file specified on command linejstebbins2015-05-011-2/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7149 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Fix issue with editing audio or subtitlesjstebbins2015-04-305-0/+31
| | | | | | | The edited settings were having unpredictable effects on loading default audio or subtitle settings when a new source was scanned. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7137 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix dest file generateion for block devicesjstebbins2015-04-281-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7132 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Allow setting p-to-p end frame beyond guessed durationjstebbins2015-04-261-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7127 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Allow setting p-to-p end time beyond guessed durationjstebbins2015-04-261-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7126 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Add pending count to "Queue" toolbar buttonjstebbins2015-04-222-0/+15
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7118 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: adjust tooltip line alignmentsjstebbins2015-04-224-16/+16
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7116 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix setting forces subtitles in jobjstebbins2015-04-221-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7115 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Remove "reload queue" dialog. The queue is always reloaded.jstebbins2015-04-224-57/+125
| | | | | | | And add a new "Delete All" button to the queue to simplify clearing the queue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7114 b64f7644-9d1e-0410-96f1-a4d463321fa5
* ports: add functions for looking up user config directoryjstebbins2015-04-191-1/+1
| | | | | | | These will be used by the CLI for loading custom user presets. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7105 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Check for NULL filter settings stringjstebbins2015-04-181-9/+24
| | | | | | And add more warnings where appropriate git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7102 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Use real sample rate when creating jobjstebbins2015-04-181-4/+11
| | | | | | | The computation of the "best" bitrate was wrong because it requires the real samplerate and not 0 - "same as source" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7100 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Modify how dest filename is constructed for iso imagesjstebbins2015-04-181-43/+51
| | | | | | | | Use base filename instead of iso volume label when constructing the default destination filename. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7096 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix pause button/resumejstebbins2015-04-101-1/+1
| | | | | | | pressing pause put the resume button into an inactive state git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7083 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix libhb work state trackingjstebbins2015-04-091-80/+93
| | | | | | | | I never updated this after the work state defines were updated to bitfields. It mostly worked, but sometimes missed transitions in state. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7074 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix json job creationjstebbins2015-04-051-2/+3
| | | | | | | Forgot required "Enable" boolean in subtitle "Search" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7057 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix parent of preset delete dialogjstebbins2015-04-041-1/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7051 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: Improvements and key changes to json/hb_dict_t job definitionsjstebbins2015-04-041-64/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | MetaData -> Metadata Video {Codec} -> Video {Encoder} Filter -> Filters AudioList [Force] -> AudioList [Forced] Added audio key DitherMethod Simplified encoding range spec Was: Range {ChapterStart, ChapterEnd, PtsToStart, PtsToStop, FrameToStart, FrameToStop, StartAtPreview, SeekPoints} Now: Range {Type, Start, End, SeekPoints} Type is "chapter", "time", "frame", or "preview". Start and End units depend on Type. SeekPoints is only used for live preview. Added keys for control of hardware encode/decode OpenCL, HWDecode, QSV {Decode, AsyncDepth} Changed the data type of CopyMask. Was an int bitmask. Now it is an array of strings, each string describes a passthru option. e.g. "copy:ac3" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7049 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove unused functionjstebbins2015-04-031-14/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7048 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: more refactoringjstebbins2015-04-0315-1224/+1079
| | | | | | | 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-0314-1084/+583
| | | | | | | 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 activation of queue pulserjstebbins2015-04-021-7/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7042 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use hb_dict_t, hb_value_array_t, hb_value_t instead direct to json_tjstebbins2015-04-021-124/+119
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7041 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: fix error messagesjstebbins2015-03-301-18/+18
| | | | | | | They should be going to stderr instead of stdout. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7030 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: refresh mingw build of gtk UIjstebbins2015-03-284-17/+60
| | | | | | | 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-2710-948/+42
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7024 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: build icon resources from iconsjstebbins2015-03-263-436947/+11
| | | | | | | ...instead of committing 22MB icon resource file to svn git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7023 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: move data resources into GResourcejstebbins2015-03-264-5/+57
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7022 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: move icons into a GResourcejstebbins2015-03-269-57/+437006
| | | | | | | | This allows me to eliminate a warning from gtk+-3.14 about deprecated gtk_icon_theme_add_builtin_icon(). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7021 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix queue file open dialog filtersjstebbins2015-03-264-10/+8
| | | | | | | Forgot to change these to json from xml/plist git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7020 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix activity window scrollingjstebbins2015-03-261-30/+40
| | | | | | | | | Yet another work-around for a gtk+-3 problem. They now delay updating the scrollbar adjustment to an idle loop callback. So I must delay my scroll-to-bottom code so that it occurrs after their update. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7014 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: work around yet another gtk+-3 bugjstebbins2015-03-254-5/+49
| | | | | | | | | | 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