summaryrefslogtreecommitdiffstats
path: root/gtk/src/callbacks.c
Commit message (Collapse)AuthorAgeFilesLines
* add dbus-glib to configure lib checksjstebbins2011-03-081-2/+10
| | | | | | | ifdef libnotify call for compatibility with new 0.7 version. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3832 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove target file size optionjstebbins2011-02-261-23/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3808 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: do not uncheck chapter markers when single chapter selectedjstebbins2011-02-111-12/+12
| | | | | | | | | | Instead, grey out the chapter marker checkbox to indicate it is inactive (but leave it checked) and do not enable chapter markers in the job. This way, if the user modifies chapter selections, chapter markers will automatically be re-enabled when more than one chapter is selected again. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3792 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove automatic m4v extension substitutionjstebbins2011-01-291-8/+1
| | | | | | | Preference option now forces either mp4 or m4v. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3773 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add CFR option for "Same as source" framerate.jstebbins2011-01-281-2/+24
| | | | | | | | | 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: add more informative warning about x264 RF 0 usagejstebbins2011-01-021-1/+8
| | | | | | | | | | | | | When the user sets RF 0, the slider displays "RF: 0 (Warning: lossless)" and the user will get a dialog when adding to the queue that says Warning: lossless h.264 selected Lossless h.264 is not well supported by many players and editors. It will produce enormous output files. Are you sure you wish to use this setting? git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3723 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: allow specifying file to scan on command linejstebbins2010-11-011-0/+16
| | | | | | | | The gui will immediately scan this file at startup. Makes 'Open with' nautilus options behave as expected. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3636 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add "Quit HandBrake" option to "When Done" optionsjstebbins2010-10-121-2/+37
| | | | | | | Thanks to mxttie for the patch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3600 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix some text alignment issues on the picture summary tabjstebbins2010-09-301-0/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3559 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add Bluray supportjstebbins2010-09-081-1/+2
| | | | | | | | | | | | | | | | | | Unencrypted BD directory trees only. Doesn't support iso images. Also, no PGS subtitle support yet. Chapters and angles are supported. Adds a new contrib libbluray. Adds new option to hb_scan() for duration of short titles to filter. This applies to BD and DVD multi-title scans only. Does not apply to any single title scans. Fixes memory leak during scan. hb_buffer_close() was not freeing all buffers in a chain of buffers passed to it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3510 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: simplify source selection dialogjstebbins2010-09-051-72/+10
| | | | | | | | I don't need the checkbox to toggle file/folder selection mode anymore (at least on ubutnu, fedora is just fubar anyway). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3507 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Add max width/height widgets to preset save dialogjstebbins2010-06-281-1/+1
| | | | | | | | | | | | | | These are only visible when autosize is disabled, meaning the user has chosen to set specific video dimensions. These values are used when a preset or title is loaded to set the default storage dimensions. This allows setting arbitrary PictureWidth/PictureHeight in the preset which was not previously possible. The values were previously limited to what the currently loaded source would allow you to enter into the picture settings width/height fields. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3417 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix some issues with loading custom anamorphic settings from preset.jstebbins2010-06-261-0/+2
| | | | | | | | | | | 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: make Help->Guide work on windows/mingwjstebbins2010-06-041-0/+5
| | | | | | | Call win api ShellExecute to open url in default browser. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3350 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add option to completely disable update checkingjstebbins2010-05-241-0/+8
| | | | | | | | | configure --disable-gtk-update-checks removes the code that does update checks including the webkit library used for displaying the appcast. this is useful when packaging for a repository that has it's own update mechanism. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3323 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix crash when processing appcastjstebbins2010-05-241-1/+4
| | | | | | | If the network read request fails to return any data, I referenced a NULL pointer. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3321 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: drop dependency on hal, use udev insteadjstebbins2010-04-271-79/+31
| | | | | | | | this means support for older linux versions is being dropped. ubuntu 9.10 and above and fedora 12 and above are known to work. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3270 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a bunch of brokenness on Ubuntu 10.04 (lucid)jstebbins2010-02-231-12/+12
| | | | | | | | | | | 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: remove % display from video quality slider. only show RF/QPjstebbins2010-02-061-10/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3099 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add point-to-pointjstebbins2009-12-231-55/+291
| | | | | | | | 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: fix m4v file extension selection when the source has only 1 chapterjstebbins2009-12-141-12/+29
| | | | | | | | | | 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
* batch file scanning and scan canceljstebbins2009-11-251-24/+68
| | | | | | | | | | When a directory is specified as the source, first we attempt to open as a dvd, then if that fails, we attempt to open each file in the directory as a stream source. Since opening a large directory of files can take a really long time, you can also now cancel a scan. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2980 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: place limits on crop to prevent creating images sizes that are not ↵jstebbins2009-11-151-2/+2
| | | | | | | | | supported and cause a segfault git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2937 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: don't crash if hal fails to initialize.jstebbins2009-11-141-1/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2929 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove CQP option from preferencesjstebbins2009-10-141-6/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2887 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: allow display of picture settings before a scan has been donejstebbins2009-10-061-0/+1
| | | | | | | | 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 mbtree/b-pyramid dependency issuejstebbins2009-09-301-30/+38
| | | | | | | make sure b-pyramid gets set to insensitive when mbtree is enabled git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2858 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix Gtk-CRITICAL warning when logging invalid utf-8 charactersjstebbins2009-09-301-21/+28
| | | | | | | assume all log text is iso8859-1 and convert to utf-8 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2857 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix initialization of chapter list when editing queued jobjstebbins2009-09-111-14/+82
| | | | | | | Chapter titles the user entered were lost when editing a queued job git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2813 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: jstebbins2009-09-091-0/+1
| | | | | | | | show the correct audio codec in the audio list when it has been changed because of incompatibility with source codec or output format git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2812 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: oops, initialize start when not filtering drive letterjstebbins2009-09-031-0/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2802 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: only strip leading drive letters if compiled for windowsjstebbins2009-09-021-0/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2801 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: change mp4 extension to m4v if there are any soft subtitlesjstebbins2009-08-241-9/+6
| | | | | | | yet another qt boneheadism git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2775 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a scanning problemjstebbins2009-08-191-0/+2
| | | | | | | incorrect source name could get set after ejecting and re-inserting a disc git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2769 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: missed changing usage of the shutdown functionjstebbins2009-08-111-4/+4
| | | | | | | it was still calling gpm rather than gsm interface git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2762 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix some compatibility issuesjstebbins2009-08-111-6/+221
| | | | | | | | | | - use new gnome session manager when available for shutdown and pm inhibit - fall back to old gnome power manager when sm is not available - fix webkit build error on Ubuntu 8.04 TLS git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2761 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use a different method of stripping video file name extensionsjstebbins2009-08-061-11/+7
| | | | | | | | | before the new destination filename is constructed the original files extension is stripped. this new method catches a larger variety of extensions without the need to explicitly list them all. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2749 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a problem with running mingw cross compiled ghb under winejstebbins2009-07-311-2/+2
| | | | | | | | wine's implementation of GetVolumeInformation requires a '\' after drive letters. if not, it returns junk. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2741 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: prevent initiation of another scan while a scan is in progressjstebbins2009-07-291-5/+39
| | | | | | | | attempting to start a scan while already scanning usually resulted in a crash, and shouldn't be allowed anyway. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2735 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: when stopping an encode, give the user options similar to macuijstebbins2009-07-241-11/+62
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2730 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix problem with trying to access non-existent hash key "subtitle_scan"jstebbins2009-07-191-0/+3
| | | | | | | | an invalid job sequence_id caused an attempt to access a value that hadn't been set yet. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2716 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add advanced preference option to enable/disable automatic dvd scanningjstebbins2009-07-191-6/+10
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2715 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix problem that causes dvd drive to close immediately after an ejectjstebbins2009-07-191-0/+4
| | | | | | | | a stray bit of code was attempting to read from the drive causing it to close the tray. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2714 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix problem with wide text field causing window to resizejstebbins2009-07-171-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2710 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: a better solution to the g_io_channel_write_chars abortjstebbins2009-07-171-6/+12
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2704 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix destination update problemjstebbins2009-07-161-6/+7
| | | | | | | | destination was getting overwritten at the end of a scan, so if the user modified it during the scan, they lost the setting git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2698 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix crash on empty buffer from stderrjstebbins2009-07-161-1/+1
| | | | | | | | somehow, i'm getting a buffer that has nothing but a '\0' char g_io_channel_write_chars gets really upset about the nil character and crashes git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2697 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: more preset list improvementsjstebbins2009-07-111-0/+16
| | | | | | | | - Make separate menu items for creating new folders and saving presets - Make custom preset and folder names editable git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2684 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Check return values of hal calls jstebbins2009-07-051-1/+5
| | | | | | | | When searching for list of connected dvd drives, system permissions can cause failures that would cause a crash. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2669 b64f7644-9d1e-0410-96f1-a4d463321fa5