summaryrefslogtreecommitdiffstats
path: root/gtk/src/presets.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
|
* libhb: resolve header conflicts with pango/harfbuzzJohn Stebbins2019-09-121-1/+1
| | | | | | | Newest versions appear to have a "common.h" somewhere that is interfering with libhb/common.h. move headers into "handbrake" subdirectory
* Resolve conflict with harfbuzz include file hb.hJohn Stebbins2019-09-101-1/+1
| | | | Rename hb.h to handbrake.h
* Update copyright dates to 2019.Bradley Sepos2019-01-011-1/+1
|
* LinGui: update preset menu button when editing queue itemJohn Stebbins2018-01-131-0/+2
|
* Update copyright dates to 2018.Bradley Sepos2018-01-011-1/+1
|
* LinGui: Add "Category" dropdown to preset save dialogJohn Stebbins2017-11-061-1/+1
| | | | | | | | | | | This replaces the "New Folder" option in the presets menu. It enforces the folder structure we have agreed to and hopefully helps the user keep things organized. Note that users are allowed to save a custom preset to the same "Category" as an official preset. When they do this, a new custom category is created with the same name and the preset is saved in that folder.
* LinGui: Add preset selection menuJohn Stebbins2017-11-061-2/+3
| | | | | | | 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
|
* add ghb_override_user_config_dir function (#304)2wayne2016-08-301-0/+1
| | | Allow selection of the config file directory from the command line
* LinGui: clean up copyright and license commentsJohn Stebbins2016-01-031-9/+17
|
* LinGui: use libhb to initialize job...jstebbins2015-05-271-0/+1
| | | | | | | ...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: use libhb preset management from linux guijstebbins2015-05-141-15/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7179 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add methods for reading and writing json config filesjstebbins2015-03-061-0/+2
| | | | | | | | queue, preferences and app resources are now stored in json. presets are not yet stored as json, pending sync with other platforms git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6970 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: change settings dict from glib to janssonjstebbins2015-03-061-16/+18
| | | | | | | | 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 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-9/+12
| | | | | | | | | | | | | | 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: convert tabs to spacesjstebbins2012-12-271-1/+1
| | | | | | | 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: allow multiple instances of the gui to runjstebbins2010-04-091-1/+6
| | | | | | | | | | | | Each instance has a queue named "queue.<pid>". On startup, the gui opens and locks with lockf a file "ghb.pid.<pid>". Then it searches for any other ghb.pid.<pid> files that exist that are not locked. If it finds one, then some instance of ghb exited and may have left behind a queue. Try to reload it. If there are no items in the queue, continue looking for unlocked ghb.pid.<pid> files. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3212 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix m4v file extension selection when the source has only 1 chapterjstebbins2009-12-141-0/+1
| | | | | | | | | | the chapter markers settings wasn't actually disabled, even though it was being filtered out of the job settings. This caused the m4v file extension selection logic to use m4v. And there was no way to change it since the chapter markers widget was hidden. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3029 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: create a queue lock file to prevent simultaneous access to the queuejstebbins2009-10-041-0/+1
| | | | | | | from 2 running instances of ghb git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2869 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: automatically update the built-in presets when the hb build number ↵jstebbins2009-05-261-1/+1
| | | | | | changes git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2453 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: preview and picture window changesjstebbins2009-04-041-0/+2
| | | | | | | | - split picture settings into it's own window - create overlay for preview window (like the mac ui, but not a pretty) - save window positions and preview display status between sessions git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2297 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Activity Logs for individual encodesjstebbins2008-10-311-1/+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: add handbrake version and preset used to activity logjstebbins2008-10-301-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1882 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Make preset key/values mostly align with macui presets.jstebbins2008-10-171-2/+1
| | | | | | | | | 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-5/+6
| | | | | | | | | | 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: nested presets and drag n drop re-ordering of presetsjstebbins2008-10-051-7/+6
| | | | | | | | 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: queue item editingjstebbins2008-10-041-0/+1
| | | | | | | | editing a pending item loads the item's settings and deletes it from the queue editing a finished or running item just loads it's settings git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1806 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: refactoring that will make nested presets easier to implement.jstebbins2008-10-031-4/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1805 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: move some preset handling to a more appropriate placejstebbins2008-09-261-0/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1777 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Store the activity log in the users config dir instead of PWD.jstebbins2008-09-251-0/+1
| | | | | | | 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: yikes, this thing leaks worse than my roof, fixedjstebbins2008-09-081-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1677 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Add queue save/restorejstebbins2008-09-061-0/+3
| | | | | | | | | | | | | | - 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-0/+37
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