sr55 [Fri, 26 Jun 2009 23:50:24 +0000 (23:50 +0000)]
WinGui:
- Temporary Fix for Quality slider getting reset to 0 on title or encoder change. Changing encoders may still cause a problem.
- Much smaller splash screen. (Just in case any popup errors decide to hide behind it on launch)
- Toolstrip now uses "Professional" appearance mode. On most systems it'll stand out more.
jstebbins [Fri, 26 Jun 2009 23:13:20 +0000 (23:13 +0000)]
LinGui: subtitle previews
- Increase the font size of subtitles in the preview. the default is
microscopic.
- reset the status of live preview encodings whenever a subtitle setting
is changed. forces re-encoding.
sr55 [Fri, 26 Jun 2009 15:12:41 +0000 (15:12 +0000)]
WinGui:
- Removed the group boxes on the main window to save a bit of space.
- Main Window source display is the source filename or folder only. The text box is no longer used.
- Added two new options: "Clear Log History" and "View Log Directory"
- Changed log file format to "DateTime DestFileName.txt" to "DestFileName DateTime.txt"
dynaflash [Fri, 26 Jun 2009 14:33:24 +0000 (14:33 +0000)]
MacGui: Change the format for individual activity log file names.
- Put the output file's base name first .... should make searching for logs easier as per lingui.
jstebbins [Fri, 26 Jun 2009 04:31:01 +0000 (04:31 +0000)]
LinGui: modify behavior of system tray icon
- clicking raises hb if iconified or obscured, iconifies if hb unobscured
- when hb is iconified via the system tray icon, remove it from taskbar
- preference option now enables/disables system tray icon
jstebbins [Thu, 25 Jun 2009 15:41:08 +0000 (15:41 +0000)]
LinGui: With mingw, disable access rights checking of destination directory.
The glib function for this only checks fat32 permissions and fails
randomly on NTFS.
konablend [Thu, 25 Jun 2009 03:36:26 +0000 (03:36 +0000)]
Format cleanup.
- fixed ports.c to use a more portable method of getting integral pthread_t representation; resolves mingw crash.
- added GCC attribute to generate compiler warnings for invalid usage of hb_log, hb_deep_log and hb_errror;
see new macro HB_WPRINTF(s,v) in common.h.
- fixed various invalid usage of above functions on osx i386/x86_64, and mingw.
jstebbins [Thu, 25 Jun 2009 00:05:07 +0000 (00:05 +0000)]
LinGui: fix more mingw breakage
freeing a drive entity returned from a windows api by unreferencing it
with a glib api doesn't work so well. abstract the call to free a drive
and ifdef it.
jstebbins [Wed, 24 Jun 2009 16:55:11 +0000 (16:55 +0000)]
LinGui: preference improvements
- move PreferredLanguage and AudioDUB from audio tab to preferences
- move CRF vs. CQP option from video tab to preferences
- reorganize preferences into categories (general, audio, advanced)
- add blank spaces to unclutter preferences some.
dynaflash [Wed, 24 Jun 2009 14:59:47 +0000 (14:59 +0000)]
MacGui: Fix the quality slider setting when using presets for ffmpeg and theora.
- Fix issue where ffmpeg's presets were 2.0 low on the slider.
- Fix theora presets to recognize that the slider is not "inverted" (qp value go higher as quality increases).
-Tested all tree encoders to verify that value saved in preset is reset in gui and reported correctly by libhb.
dynaflash [Tue, 23 Jun 2009 23:41:24 +0000 (23:41 +0000)]
MacGui: Preview - Add the foreign language search for subtitles scan to the live preview.
- Note: Its very possible that we are getting a full title scan for the foreign language search due to the observed time of the scan during the preview encode. Further testing probably necessary.
dynaflash [Tue, 23 Jun 2009 16:07:04 +0000 (16:07 +0000)]
MacGui: Queue - Display varying row heights based on the content of the encode.
- Accommodates varying numbers of subtitles and audio tracks as well as optional lines based on encode settings.
- fixes issue where many audio tracks and subtitles can cause the bottom part of the expanded view to get cut off.
- Note: seems to be a bit of extra padding especially when using many subtitles, may want to adjust that at some point.
jstebbins [Mon, 22 Jun 2009 20:25:15 +0000 (20:25 +0000)]
LinGui: add audio-dub/add-subtitle radio buttons for preferred language control
- When Audio DUB is enabled, behavior is essentially unchanged
- When Add Subtitle is enabled, a subtitle of the preferred language will be
added to the subtitle list when the preferred language does not match
the first audio track.
eddyg [Sun, 21 Jun 2009 22:12:36 +0000 (22:12 +0000)]
Moved --native-langauge processing from libhb to the CLI. Added --native-dub option to allow the user to request dubbing instead of subtitles when the audio does not match the users native language.
konablend [Sun, 21 Jun 2009 21:42:45 +0000 (21:42 +0000)]
BuildSystem: tweak Mac packaging
- use $(BUILD.arch) instead of $(BUILD.machine) for naming consistent with mach-o binary types.
- enable --launch-jobs=0 when doing special universal binary builds.
jstebbins [Sat, 20 Jun 2009 18:08:06 +0000 (18:08 +0000)]
LinGui: make status icon code backwards compatible to gtk 2.10
There's a new status icon api in 2.16 that is not backwards compatible.
The depricated interface is broken in 2.16, so ifdef the code to use
older api only when older gtk versions are used.
jstebbins [Sat, 20 Jun 2009 17:10:20 +0000 (17:10 +0000)]
libhb: fix typo that causes 2 pass encodes to segfault at beginning of pass 2
- this only appears after running at least one previous encode job so it
got missed in simple one-off testing
konablend [Sat, 20 Jun 2009 04:04:54 +0000 (04:04 +0000)]
Use new appcast URL nameing scheme for HandBrakeCLI --update.
- increase storage space hb_handle_s.version[16] to 32 to handle longer version strings; eg. "svn2500 x86_64"
- reduce 2-query mechanism to 1-query and only check/notify for newer releases of same type (ie: stable or unstable)
- remove hard-coded url and extract host/path components from HB_PROJECT_URL_APPCAST macro
jstebbins [Sat, 20 Jun 2009 04:03:35 +0000 (04:03 +0000)]
LinGui: packaging
- correct rpm architecture probing seems to need _target_cpu instead of
_build_arch
- correct creation of directories for package targets in module.rules
dynaflash [Sat, 20 Jun 2009 03:55:17 +0000 (03:55 +0000)]
MacGui: Fix Scale To Screen when in full screen mode.
- Note: still a bit of a bug when switching sizes from the picture size inspector and in scale to screen.
jstebbins [Sat, 20 Jun 2009 03:07:57 +0000 (03:07 +0000)]
LinGui: add RPM packaging support and modify Debian so they can co-exist
- make pkg.create.rpm will create rpm packages
- make pkg.create.deb will create debian packages
jstebbins [Fri, 19 Jun 2009 21:52:10 +0000 (21:52 +0000)]
LinGui:
- clear the dvd volume name cache when rescanning the attached dvd devices.
- also protect the cache with a mutex to prevent the unlikely-but-possible
collision between threads.
jstebbins [Fri, 19 Jun 2009 21:37:29 +0000 (21:37 +0000)]
LinGui: Put DVD volume name scanning on it's own thread.
At startup, I scan all dvd devices for their volume names. Usually this
information is cached by the filesystem so this is fast. But every once
in a while this takes several seconds which delays the initial display
of the UI. This activity is now on it's own thread to prevent the delay.
sr55 [Fri, 19 Jun 2009 15:19:01 +0000 (15:19 +0000)]
WinGui:
- Cleans up the appcast reader code a bit more, removing all globals.
- Small fix to preset loader to make sure audio bit-rate is set to auto for AC3 tracks.
jstebbins [Thu, 18 Jun 2009 21:24:33 +0000 (21:24 +0000)]
LinGui: use the appcast url from libhb/project.h
remove code that checked the stable appcast after checking unstable.
this will be handled on the server by setting the appropriate info
in the unstable appcast.
konablend [Thu, 18 Jun 2009 20:48:07 +0000 (20:48 +0000)]
BuildSystem: appcast updates
- changed appcast URL to add architecture for OSX platform
- added autogen'd appcast.xml during 'make pkg.create'
- added new build of Sparkle 1.5b6 for 4 { i386, x86_64, ppc, ppc64 } which disables security.
- added patch which was used against Sparkle sources.
jstebbins [Thu, 18 Jun 2009 16:55:54 +0000 (16:55 +0000)]
libhb: for mp4 soft subtitles, mark the default_track as enabled.
Due to quicktime quirkiness, if no track is marked as default, we
enable the first subtitle track.
konablend [Thu, 18 Jun 2009 16:47:21 +0000 (16:47 +0000)]
MacGUI: fix 64-bit icon to be used during dock-icon progress bar updates.
- also prevents icon from getting trumped back to 32-bit after encode completes.
jstebbins [Wed, 17 Jun 2009 22:19:26 +0000 (22:19 +0000)]
LinGui: make the status icon in the system tray a bit more useful
Succumbing to the pleading of users...
- Use HB icon for status
- Add tooltip to status icon that shows progress
- Add preference option to skip the taskbar. So clikcing on the
status icon un-minimizes.
dynaflash [Wed, 17 Jun 2009 19:06:48 +0000 (19:06 +0000)]
MacGui: Sparkle - Added "Send anonymous system information" to the preferences. Sends system info once a week. No personal information is sent. For more info: http://sparkle.andymatuschak.org/documentation/pmwiki.php/Documentation/SystemProfiling
dynaflash [Wed, 17 Jun 2009 18:53:34 +0000 (18:53 +0000)]
MacGui: Sparkel updater prefs - remove hourly from the check for updates interval. This still leaves Daily, Weekly and Monthly with Weekly as the default.
sr55 [Wed, 17 Jun 2009 18:37:28 +0000 (18:37 +0000)]
WinGui:
- Tweak the presetLoader and Picture settings panel to work a bit better with built-in presets. Sets width/height then sets anamorphic mode (instead of vice-versa). This forces the calculation code to run which should correct the weird numbers that were appearing.
dynaflash [Wed, 17 Jun 2009 17:54:48 +0000 (17:54 +0000)]
MacGui: Sparkle Updater preferences changes.
- Change Check for Updates from "At Launch" to "Automatically".
- Add time interval popup to check for updates Hourly, Daily, Weekly or Montly. Defaults to Weekly.
jstebbins [Wed, 17 Jun 2009 16:54:43 +0000 (16:54 +0000)]
LinGui: ubuntu 9.04 uses an older version of webkit that doesn't have
the webkit_web_view_load_uri function. So use the depricated
webkit_web_view_open instead.
jstebbins [Wed, 17 Jun 2009 16:46:04 +0000 (16:46 +0000)]
LinGui: update appcast checker to handle modified format
exchange gtkhtml for webkitgtk in order to load html from the
link provided in the new appcast format.
sr55 [Wed, 17 Jun 2009 15:38:29 +0000 (15:38 +0000)]
WinGui:
- Updated the appcast checker to handle the modified appcast format.
- New option to set the number of days between update checks on startup. Default 5
konablend [Wed, 17 Jun 2009 14:17:08 +0000 (14:17 +0000)]
- secondary component of r2548: bugfix: libhb passes unaligned stack/heap buffers to ffmpeg.
- use av_malloc() for format-conversion buffer.
- use av_free() instead of free() for av_malloc() buffers.
konablend [Wed, 17 Jun 2009 05:22:14 +0000 (05:22 +0000)]
- bugfix: libhb passes unaligned stack/heap buffers to ffmpeg.
- fix is to use memalign or av_malloc (thanks Dark_Shikari); we choose av_malloc to delegate platform portability.
- bug manifested on any 32-bit x86 linux system; new and older ffmpeg versions; and further back than HB 0.9.3
konablend [Wed, 17 Jun 2009 00:05:07 +0000 (00:05 +0000)]
MacGUI: added 64-bit savvy application icon.
- icon is chosen based on compile-time architecture: HandBrake.icns or HandBrake-64.icns
- added action for MainMenu->About to call Controller.showAboutPanel as the default about panel needs dictionary override to force icon.
jstebbins [Tue, 16 Jun 2009 21:12:07 +0000 (21:12 +0000)]
LinGui: set up the job correctly for ana 3 when starting an encode
I forgot to set the apropriate dar or par and keep_display_aspect
when starting and encode.
dynaflash [Tue, 16 Jun 2009 19:39:04 +0000 (19:39 +0000)]
Macgui: Update Sparkle to 1.5 b6
- Compiles in 64 bit mode
- Requires a DSA signature for downloading updates
- remove over 3 mb of unused localized sparkle nibs.
konablend [Tue, 16 Jun 2009 18:26:04 +0000 (18:26 +0000)]
BuildSystem: added OSX packaging support.
- target is 'make pkg.create' which must be done after a normal build. No dependency checks are performed.
- at least 1 package for all platforms is always produced: .tar.bz2
- darwin builds with Xcode add 2 packages: CLI.dmg and GUI.dmg
- darwin builds sans Xcode add 1 package: CLI.dmg
jstebbins [Tue, 16 Jun 2009 17:43:59 +0000 (17:43 +0000)]
LinGui: change gtk install rule so that changes to PREFIX on the command
line of the top level make get propagated to gtk. This is needed when
building debian packages.
dynaflash [Tue, 16 Jun 2009 04:06:01 +0000 (04:06 +0000)]
MacGui: Subtitles - Fix bug where setting the first track to None ( deleting the previously selected track) cause the next track to be set to one subtitle track less than it should (thanks for the heads up Rodeo).
- Also removed a needless bit of boolean logic used to test mp4 multi vobsub removal.