OSDN Git Service

handbrake-jp/handbrake-jp-git.git
15 years agoBuildSystem: minor change adding --force to launched builds
konablend [Thu, 2 Apr 2009 04:54:57 +0000 (04:54 +0000)]
BuildSystem: minor change adding --force to launched builds
- helps with people who for some reason need to re-start the build without manually cleaning build/ dir.

git-svn-id: svn://localhost/HandBrake/trunk@2293 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: add status icon that sits in the system tray
jstebbins [Thu, 2 Apr 2009 01:43:29 +0000 (01:43 +0000)]
LinGui: add status icon that sits in the system tray

git-svn-id: svn://localhost/HandBrake/trunk@2292 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Wed, 1 Apr 2009 23:48:34 +0000 (23:48 +0000)]
WinGui:
- Just some minor code tweaks to clean things up.

git-svn-id: svn://localhost/HandBrake/trunk@2291 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Wed, 1 Apr 2009 23:31:00 +0000 (23:31 +0000)]
WinGui:
- Fixes a small bug with the PSY RD slider not having a default of 1. Some code cleanups. (Thanks ExDeus)
- Cleaned up a few bits of code

git-svn-id: svn://localhost/HandBrake/trunk@2290 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: Show notification when handbrake queue is complete
jstebbins [Wed, 1 Apr 2009 17:45:59 +0000 (17:45 +0000)]
LinGui: Show notification when handbrake queue is complete

git-svn-id: svn://localhost/HandBrake/trunk@2289 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoFix frame rate calculation for ffmpeg 0.5 - h.264 rate is now in fields per second...
van [Wed, 1 Apr 2009 04:40:08 +0000 (04:40 +0000)]
Fix frame rate calculation for ffmpeg 0.5 - h.264 rate is now in fields per second so convert it back to frames per second.

git-svn-id: svn://localhost/HandBrake/trunk@2288 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Tue, 31 Mar 2009 17:30:10 +0000 (17:30 +0000)]
WinGui:
- Updated Preview Query generation code to handle new -stop-at format.

git-svn-id: svn://localhost/HandBrake/trunk@2287 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoAdds a job->frame_to_stop variable similar to the existing pts_to_stop parameter...
jbrjake [Tue, 31 Mar 2009 17:19:37 +0000 (17:19 +0000)]
Adds a job->frame_to_stop variable similar to the existing pts_to_stop parameter, for ending an encode after a certain number of decoded frames.

CLI: Replaces --stop-at-pts and --stop-at-duration with a general --stop-at option. The argument is in the form unit:amount. So --stop-at duration:10 for a 10 second encode, --stop-at pts:300300 to end when that timestamp is reached, or --stop-at frame:1000 to stop after reading 1000 frames.

git-svn-id: svn://localhost/HandBrake/trunk@2286 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoFlush frames from the delay queue in render. This should add an extra couple of frame...
jbrjake [Tue, 31 Mar 2009 16:46:59 +0000 (16:46 +0000)]
Flush frames from the delay queue in render. This should add an extra couple of frames to the end of output when using same as source fps or vfr detelecine. Thanks, eddyg!

git-svn-id: svn://localhost/HandBrake/trunk@2285 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agox264: bump to r1130-8475977
dynaflash [Sun, 29 Mar 2009 03:22:42 +0000 (03:22 +0000)]
x264: bump to r1130-8475977
- incremental speedups since last rev.

git-svn-id: svn://localhost/HandBrake/trunk@2284 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: make KeepAspect flag differentiate mode 2 and mode 3 anamorphic
jstebbins [Sat, 28 Mar 2009 23:36:41 +0000 (23:36 +0000)]
LinGui: make KeepAspect flag differentiate mode 2 and mode 3 anamorphic

git-svn-id: svn://localhost/HandBrake/trunk@2283 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoRemove unneeded preview files at the beginning of a scan.
jstebbins [Fri, 27 Mar 2009 23:18:53 +0000 (23:18 +0000)]
Remove unneeded preview files at the beginning of a scan.
This prevents accumulation of potentially thousands of files during a session

git-svn-id: svn://localhost/HandBrake/trunk@2282 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui:
jstebbins [Fri, 27 Mar 2009 19:03:24 +0000 (19:03 +0000)]
LinGui:
rename a namedtuple to be more consistant with what it really is

git-svn-id: svn://localhost/HandBrake/trunk@2281 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui:
jstebbins [Fri, 27 Mar 2009 18:55:28 +0000 (18:55 +0000)]
LinGui:
- rewrite tool that creates a quoted string from a file in python
  resulting string is suitable for use as a C char*
- create_resources, remove redundant code from cut/past error

git-svn-id: svn://localhost/HandBrake/trunk@2280 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: rewrite widget dependency creator in python
jstebbins [Fri, 27 Mar 2009 17:18:24 +0000 (17:18 +0000)]
LinGui: rewrite widget dependency creator in python

git-svn-id: svn://localhost/HandBrake/trunk@2279 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui:
jstebbins [Fri, 27 Mar 2009 15:58:11 +0000 (15:58 +0000)]
LinGui:
- add some error handling to resource parser
- modify how icons are deserialized in ghb since the python resource
  parser can't easily serialize the old way

git-svn-id: svn://localhost/HandBrake/trunk@2278 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: rewrite my resource parser in python.
jstebbins [Fri, 27 Mar 2009 02:18:53 +0000 (02:18 +0000)]
LinGui: rewrite my resource parser in python.
It's not quite ready for use because it requires python 2.6 and none
of the distributions have 2.6 yet. I'm getting a head start.

This is the first of a few tools that I'm rewriting in python
because compiling them at build time causes problems in a cross
compiling environment.

git-svn-id: svn://localhost/HandBrake/trunk@2277 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem: added HandBrakeCLI to universal-binary combination.
konablend [Thu, 26 Mar 2009 22:41:19 +0000 (22:41 +0000)]
BuildSystem: added HandBrakeCLI to universal-binary combination.

git-svn-id: svn://localhost/HandBrake/trunk@2276 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: save preset folder collapsed/expanded state. restore at startup.
jstebbins [Thu, 26 Mar 2009 00:34:38 +0000 (00:34 +0000)]
LinGui: save preset folder collapsed/expanded state. restore at startup.

git-svn-id: svn://localhost/HandBrake/trunk@2275 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: remove debug output
jstebbins [Wed, 25 Mar 2009 23:38:00 +0000 (23:38 +0000)]
LinGui: remove debug output

git-svn-id: svn://localhost/HandBrake/trunk@2274 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoadd preference option to disable update checking
jstebbins [Wed, 25 Mar 2009 23:32:25 +0000 (23:32 +0000)]
add preference option to disable update checking

git-svn-id: svn://localhost/HandBrake/trunk@2273 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui:
jstebbins [Tue, 24 Mar 2009 21:53:45 +0000 (21:53 +0000)]
LinGui:
fix scaling problems with HD video that must be scaled to fit the screen

git-svn-id: svn://localhost/HandBrake/trunk@2272 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agofix invalid property value in ui xml
jstebbins [Sun, 22 Mar 2009 01:35:29 +0000 (01:35 +0000)]
fix invalid property value in ui xml
fix initial value for show_presets preference

git-svn-id: svn://localhost/HandBrake/trunk@2271 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: fix crash at start of a 2 pass encode
jstebbins [Sat, 21 Mar 2009 18:48:41 +0000 (18:48 +0000)]
LinGui: fix crash at start of a 2 pass encode
if you started an encode, then scanned another source, the second pass
would crash.  I was inadvertently deleting the 1st pass log file.

git-svn-id: svn://localhost/HandBrake/trunk@2270 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoCygwin: removed faad2 patch no longer required as per faad2 bump.
konablend [Fri, 20 Mar 2009 16:37:07 +0000 (16:37 +0000)]
Cygwin: removed faad2 patch no longer required as per faad2 bump.
- added -N flag to contrib usage of patch to ignore patches which appear already applied.

git-svn-id: svn://localhost/HandBrake/trunk@2269 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoCygwin: updated patch to support faac-1.26 -> 1.28 bump.
konablend [Fri, 20 Mar 2009 07:39:32 +0000 (07:39 +0000)]
Cygwin: updated patch to support faac-1.26 -> 1.28 bump.
BuildSystem: cleanup some makefile debug residuals and fix module bzip2 always-out-of-date condition.

git-svn-id: svn://localhost/HandBrake/trunk@2268 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoSolaris: updated patch to support faad-2.6.1 -> 2.7 bump.
konablend [Fri, 20 Mar 2009 07:25:37 +0000 (07:25 +0000)]
Solaris: updated patch to support faad-2.6.1 -> 2.7 bump.

git-svn-id: svn://localhost/HandBrake/trunk@2267 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoNew FAAC and FAAD2, sww http://www.audiocoding.com
eddyg [Fri, 20 Mar 2009 04:43:41 +0000 (04:43 +0000)]
New FAAC and FAAD2, sww http://www.audiocoding.com

git-svn-id: svn://localhost/HandBrake/trunk@2266 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoAnother minor step on the way back to Solaris compiles - not linking as yet.
eddyg [Fri, 20 Mar 2009 04:30:04 +0000 (04:30 +0000)]
Another minor step on the way back to Solaris compiles - not linking as yet.

git-svn-id: svn://localhost/HandBrake/trunk@2265 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoPorts tritical's EEDI2 deinterlacing interpolator from AviSynth and implements it...
jbrjake [Thu, 19 Mar 2009 17:30:56 +0000 (17:30 +0000)]
Ports tritical's EEDI2 deinterlacing interpolator from AviSynth and implements it in the decomb filter as an optional, non-default substitute for yadif's internal, lower quality spatial predictions.

EEDI2 interpolation is enabled by setting mode (the first decomb parameter) to 5. Decomb now accepts -1 as a spatial metric (the second parameter), to bypass combing detection and force deinterlacing of all frames in the specified mode. Additional parameters have been appended to the end of the settings list for decomb, to specify various settings used by EEDI2. The default values for those should work well.

git-svn-id: svn://localhost/HandBrake/trunk@2264 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem: solaris port (work in progress)
konablend [Tue, 17 Mar 2009 01:07:06 +0000 (01:07 +0000)]
BuildSystem: solaris port (work in progress)

git-svn-id: svn://localhost/HandBrake/trunk@2263 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Mon, 16 Mar 2009 18:15:29 +0000 (18:15 +0000)]
WinGui:
- Added right click menu to the queue with Move Up/Down and Delete options.

git-svn-id: svn://localhost/HandBrake/trunk@2262 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: When launching a second instance of HB, warn of existing instance and do...
dynaflash [Mon, 16 Mar 2009 14:55:44 +0000 (14:55 +0000)]
MacGui: When launching a second instance of HB, warn of existing instance and do not alter the existing queue.
- Note: this does not mean multi-instance encoding off of one queue file works. For now its just better than messing up the first instances queue. Also useful for ui developing on one instance sans encoding while actually encoding with another instance.

git-svn-id: svn://localhost/HandBrake/trunk@2261 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Sun, 15 Mar 2009 14:12:48 +0000 (14:12 +0000)]
WinGui:
- Enable tabstops on the add preset window.
- Confirm closing of program if Queue is running (ExDeus)
- Minor fixes/cleanup from Exdeus (Destination Browse Button, Tools > Show Queue,  MessageBox in frmQueue)
- Code cleanup in a few other files.

git-svn-id: svn://localhost/HandBrake/trunk@2260 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: setUsesThreadedAnimation to false for the progress indicators in the main...
dynaflash [Fri, 13 Mar 2009 19:56:59 +0000 (19:56 +0000)]
MacGui: setUsesThreadedAnimation to false for the progress indicators in the main window for 32 bit as well as 64 bit. also for fMovieCreationProgressIndicator in th preview window.
- For live preview this fixes an issue where the qtmovieview controller was not in focus.

git-svn-id: svn://localhost/HandBrake/trunk@2259 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacgui: set "setUsesThreadedAnimation" to false for the two main window progress...
dynaflash [Thu, 12 Mar 2009 21:48:16 +0000 (21:48 +0000)]
Macgui: set "setUsesThreadedAnimation" to false for the two main window progress indicators for 64 bit builds.
- Fix by jbrjake.
- Fixes an issue where clicking on the advanced tab renders the progress indicators inanimate and the rest of the ui sluggish.
- jbrjake found a note in the 10.5 dev notes regarding this possiblility. It was also noted that unless specified, setUsesThreadedAnimation defaults to true.
- Also there is a mention in the documentation that "... creating a thread just for the progress indicator can actually slow down your application." for NSProgressIndicator though no mention of 64 bit builds specifically.

git-svn-id: svn://localhost/HandBrake/trunk@2258 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem: darwin + Xcode dependencies and enhancements
konablend [Wed, 11 Mar 2009 05:18:47 +0000 (05:18 +0000)]
BuildSystem: darwin + Xcode dependencies and enhancements

This changeset focuses on a disconnect between Xcode targets HandBrakeCLI and HandBrake.app when
changest to external dependencies are made. The use case is to touch any .c file in libhb
which then builds .o and re-creates libhb.a; next the Xcode targets should at least re-link.
This did not happen because link-flags are used to add libhb.a and contrib libraries in Xcode;
which effectively hides them from Xcode.

The solution removes libhb.a from link-flags mechanism and places libhb.a as a framework library
known to Xcode; and the expected re-linking occurs. contrib libraries will continue to use link-flags
but since libhb.a has coarse-grained dependencies on contrib modules this will also cause Xcode
targets to re-link.

Further enhancements made to Xcode project:
- Xcode now scans any .c files for .h file dependencies; will help with Xcode sources;
  the effect against libhb.a is moot; libhb.a will be rebuilt by external system anyways.
- libbz2 and libz are now treated as framework libraries; it's more correct than listing
  all libraries as link-flags.
- moved FRAMEWORK_SEARCH_PATHS to project-level for consistency in future targets.
- moved LIBRARY_SEARCH_PATHS to project-level for conistency.
- enabled GCC_WARN_TYPECHECK_CALLS_TO_PRINTF at project-level.

[this changeset should not be a factor for other platforms; no side effects are expected]

git-svn-id: svn://localhost/HandBrake/trunk@2257 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoDetect bogus cell start and last addresses while scanning each title so we don't...
van [Wed, 11 Mar 2009 05:11:02 +0000 (05:11 +0000)]
Detect bogus cell start and last addresses while scanning each title so we don't crash later in dvdread. Fix from user "greed" in forum thread forum.handbrake.fr/viewtopic.php?f=4&t=9758&start=0

git-svn-id: svn://localhost/HandBrake/trunk@2256 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoFix CPU count detection on OSX.
saintdev [Wed, 11 Mar 2009 03:54:52 +0000 (03:54 +0000)]
Fix CPU count detection on OSX.

git-svn-id: svn://localhost/HandBrake/trunk@2255 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoClean up CPU count detection.
saintdev [Wed, 11 Mar 2009 00:06:11 +0000 (00:06 +0000)]
Clean up CPU count detection.
-No longer use 'grep' on linux to detect CPU count!
-Use sysctls on OSX.
-SunOS and CYGWIN are unmodified.

git-svn-id: svn://localhost/HandBrake/trunk@2254 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem: docs; new location for generated docs which we can point users to
konablend [Tue, 10 Mar 2009 23:22:24 +0000 (23:22 +0000)]
BuildSystem: docs; new location for generated docs which we can point users to
- doc/BUILD-Mac
- doc/BUILD-Linux
- doc/BUILD-Cygwin

BuildSystem: doc cleanup
- dropped wiki autogen stuff; not compatible with project goals.

git-svn-id: svn://localhost/HandBrake/trunk@2253 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoCygwin: ffmpeg build tweaks
konablend [Tue, 10 Mar 2009 22:43:11 +0000 (22:43 +0000)]
Cygwin: ffmpeg build tweaks
- bug: issues with universal input (including aac in mp4, wmv etc)
- fix: add -fno-common to GCC
- correctness: add --enable-memalign-hack as per ffmpeg docs
- these issues were possibly a regression introduced with the new build system
- a positive side effect to the build system is the availability of new makevar
  '<MODULE>.GCC.args.extra' which is a free-form way to add extra cflags to GCC functions.

[this changeset does not effect any other platforms]

git-svn-id: svn://localhost/HandBrake/trunk@2252 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem: initial _skeleton_ asm support for libhb.
konablend [Tue, 10 Mar 2009 07:05:42 +0000 (07:05 +0000)]
BuildSystem: initial _skeleton_ asm support for libhb.
- asm disposition is DISABLED.
- it can only be enabled via a hidden configure option (--enable-asm) but will only be useful once asm code is checked-in.
- this is checked-in early to not lose some internal configure enhancements made during asm build support impl.

git-svn-id: svn://localhost/HandBrake/trunk@2251 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoffmpeg release 0.5 (http://www.ffmpeg.org/changelog.html)
eddyg [Tue, 10 Mar 2009 04:11:46 +0000 (04:11 +0000)]
ffmpeg release 0.5 (www.ffmpeg.org/changelog.html)

git-svn-id: svn://localhost/HandBrake/trunk@2250 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem: doc cleanup
konablend [Tue, 10 Mar 2009 01:50:47 +0000 (01:50 +0000)]
BuildSystem: doc cleanup
- drop /wiki as this cannot be displayed without trac 'include' components or plugins.
- drop pre-generated txt files from /trunk as wiki pages will be posted manually.
- drop auto-posting of generated wiki from doc/module.* .

git-svn-id: svn://localhost/HandBrake/trunk@2249 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem: effects Darwin platforms only
konablend [Tue, 10 Mar 2009 01:26:46 +0000 (01:26 +0000)]
BuildSystem: effects Darwin platforms only
- fixed Darwin ppc hosted build reversion introduced in r2242.
- fixed Darwin + Xcode in all scenerios to honor --debug option

*** if building from Xcode there is no need to rebuild but you will have
    to close project and reload; xcodeproj has been updated.

*** if building from terminal there *should* be no need to rebuild;
    the first 'make' after an update is expected to trigger a reconfigure
    and libhb will rebuild.

git-svn-id: svn://localhost/HandBrake/trunk@2248 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui
sr55 [Mon, 9 Mar 2009 11:49:20 +0000 (11:49 +0000)]
WinGui
- Removed undeeded activate call for show queue
- Moved re-add job to the toolbar Queue menu.

git-svn-id: svn://localhost/HandBrake/trunk@2246 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agolibvorbis: disabled build of examples
konablend [Mon, 9 Mar 2009 04:58:02 +0000 (04:58 +0000)]
libvorbis: disabled build of examples
- libvorbis autotooling leaves a lot to be desired; when building examples it
  tends to find libogg in all the wrong places, even when specifying --with-ogg=DIR
  we still must resort to other hacks to disable pkg-config.
- we don't need the examples; and disabling them is likely to make HB builds with less issues.

git-svn-id: svn://localhost/HandBrake/trunk@2245 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem: fixed configure --debug + Xcode
konablend [Mon, 9 Mar 2009 03:05:53 +0000 (03:05 +0000)]
BuildSystem: fixed configure --debug + Xcode
- only effects users building w/ Xcode from terminal or Xcode.app who need debug libhb.

Bug details:
- shunting through Xcode causes a re-configure to give GNUmakefile the 'Xcode' environment.
- re-configure simply clobbered CONF.args thus losing effect of initial --debug option.
- solution is to pass CONF.args to re-configure.

git-svn-id: svn://localhost/HandBrake/trunk@2244 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem: new files required for r2242.
konablend [Sun, 8 Mar 2009 23:07:23 +0000 (23:07 +0000)]
BuildSystem: new files required for r2242.

git-svn-id: svn://localhost/HandBrake/trunk@2243 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem: general, configure and Xcode updates.
konablend [Sun, 8 Mar 2009 22:50:57 +0000 (22:50 +0000)]
BuildSystem: general, configure and Xcode updates.

*** NOTICE:
This changeset requires a clean build directory. Please issue 'make xclean' inside
build dir(s) after 'svn up'. This will help ensure there are no unexpected results.

*** GENERAL:
- renamed makevar PROJECT/ -> SRC/ for clarity.
- renamed makevar PREFIX.install/ -> PREFIX/ for clarity.
- split custom GNUmakefile overrides into defs/rules files.
- inserted optional level of make customization at SRC/ level; see docs.
- dropped HB.repo.wcversion (svnversion is no longer used).
- corrected several 'rm' usages to use -f flag which avoids some build errors.
- refreshed generated 00-Building.*.txt docs; work still in progress on the wiki front.

*** CONFIGURE:
- made configure more robust; configure may now be run outside of build directory!
- adding log recording of configure activities.
- improved readability of default options for configure
- added:

    --force             overwrite existing build config
    --src=DIR           specify top-level source dir [.]
    --build=DIR         specify build scratch/output dir [.]
    --prefix=DIR        specify install dir for products [/Applications]

- dropped --launch-force (replaced by --force)
- dropped --launch-dir (replaced by --build)
- dropped --launch-log

*** XCODE:
- renamed pbxproj definition EXTERNAL_PROJECT -> EXTERNAL_SRC for clarity.
- fixed all configurations to default to EXTERNAL_JOBS=1 .
- enabled Xcode internal parallelization (libhb, HandBrakeCLI and HandBrake benefit).
- make now tickles Xcode build files to cause Info.plist regeneration and posting to HandBrake.app output;
  ie: svn up; click build and HandBrake.app's about panel will reflect the new repository rev.

*** DARWIN:
- added support to build universal binaries; see docs.

git-svn-id: svn://localhost/HandBrake/trunk@2242 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agox264 bumped to r1125-10d6ef0
dynaflash [Sun, 8 Mar 2009 17:07:04 +0000 (17:07 +0000)]
x264 bumped to r1125-10d6ef0
- 1124: SSSE3 hpel_filter_v ~8% faster hpel filter on 64-bit Nehalem
- 1125: Faster SSE2 pixel_var ~32% faster var_16x16 on Conroe

git-svn-id: svn://localhost/HandBrake/trunk@2241 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui:
jstebbins [Sat, 7 Mar 2009 16:54:47 +0000 (16:54 +0000)]
LinGui:
cleanup x264 options string dependencies between subme, trellis, and psy-rd

git-svn-id: svn://localhost/HandBrake/trunk@2240 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Sat, 7 Mar 2009 12:53:48 +0000 (12:53 +0000)]
WinGui:
- Remove old decomb option from the Options windows
- Added patch by ExDeus which allows multi-select on the queue window, and re-adding of the currently running job.

git-svn-id: svn://localhost/HandBrake/trunk@2239 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: The textarea was misaligned of 1px to the left.
ritsuka [Sat, 7 Mar 2009 12:03:58 +0000 (12:03 +0000)]
MacGui: The textarea was misaligned of 1px to the left.

git-svn-id: svn://localhost/HandBrake/trunk@2238 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem:
konablend [Sat, 7 Mar 2009 07:41:43 +0000 (07:41 +0000)]
BuildSystem:
- added diagnostic target for troubleshooting build environment issues.

git-svn-id: svn://localhost/HandBrake/trunk@2237 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Reverted the updateUI: timer mode to NSDefaultRunLoopMode. Hopefully this...
ritsuka [Sat, 7 Mar 2009 07:35:56 +0000 (07:35 +0000)]
MacGui: Reverted the updateUI: timer mode to NSDefaultRunLoopMode. Hopefully this will fix the ui weird behavior on x86_64 (progress bar lockup, interface slowdown, etc)

git-svn-id: svn://localhost/HandBrake/trunk@2236 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agox264 bump to r1123-3d78062
dynaflash [Sat, 7 Mar 2009 05:02:06 +0000 (05:02 +0000)]
x264 bump to r1123-3d78062
- the holger special, general speedups
- 16x16 SATD: +18% speed on K8(64bit), +22% on K10(32bit), +42% on Penryn(64bit), +44% on Nehalem(64bit), +50% on P4(32bit), +98% on Conroe(64bit)
- Overall performance boost is up to ~15% on 64-bit Conroe.

git-svn-id: svn://localhost/HandBrake/trunk@2235 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Disable physical dvd access for 64 bit arches with an appropriate warning...
dynaflash [Fri, 6 Mar 2009 20:51:03 +0000 (20:51 +0000)]
MacGui: Disable physical dvd access for 64 bit arches with an appropriate warning since vlc is not 64 bit.
- Still allows access to dvd's mounted with Fairmount.
- Tested both intel and ppc

git-svn-id: svn://localhost/HandBrake/trunk@2234 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Fix issue where sometimes hb would not remember that the preview window was...
dynaflash [Fri, 6 Mar 2009 17:12:40 +0000 (17:12 +0000)]
MacGui: Fix issue where sometimes hb would not remember that the preview window was open at last quit.

git-svn-id: svn://localhost/HandBrake/trunk@2233 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Preview Window postioning fixes
dynaflash [Fri, 6 Mar 2009 16:32:59 +0000 (16:32 +0000)]
MacGui: Preview Window postioning fixes
- Make sure the preview window stays within the parameters of the screen as it resizes, even on multiple monitor systems.
- Among other things fixes an issue where preview window being opened up at launch would push part of it off screen as it resized to a new source.

git-svn-id: svn://localhost/HandBrake/trunk@2232 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Set hud overlay controls as initially hidden in Preview Window.
dynaflash [Fri, 6 Mar 2009 15:38:11 +0000 (15:38 +0000)]
MacGui: Set hud overlay controls as initially hidden in Preview Window.
- Fixes an issue where the controls are not properly arranged and available when preview window is open and there is no source currently loaded up.

git-svn-id: svn://localhost/HandBrake/trunk@2231 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Fri, 6 Mar 2009 14:27:44 +0000 (14:27 +0000)]
WinGui:
- Add an override for the queue show method. Saves calling setQueue() before Show().
- Fix a couple of message boxes appearing behind windows.
Thanks go to: ExDeus

git-svn-id: svn://localhost/HandBrake/trunk@2230 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Picture Settings - If Preview is in full screen and pic settings are open...
dynaflash [Thu, 5 Mar 2009 23:39:13 +0000 (23:39 +0000)]
MacGui: Picture Settings - If Preview is in full screen and pic settings are open, disable the toggle effect for the settings button in preview and move the Picture Settings panel on top of the full screen preview.
- Fixes issue where going into full screen mode in preview requires two clicks on the settings button to get the inspector to show on top of the full screen preview.

git-svn-id: svn://localhost/HandBrake/trunk@2229 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Fix picture settings panel so that it stays on top when open like a true...
dynaflash [Thu, 5 Mar 2009 23:07:19 +0000 (23:07 +0000)]
MacGui: Fix picture settings panel so that it stays on top when open like a true hud inspector.
- Add "Hide On Deactivate" property to the xib so that if another app is in focus the panel properly hides.

git-svn-id: svn://localhost/HandBrake/trunk@2228 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Fix wonky tabbed view layout in picture settings at launch.
dynaflash [Thu, 5 Mar 2009 21:02:58 +0000 (21:02 +0000)]
MacGui: Fix wonky tabbed view layout in picture settings at launch.
- For whatever the reason NSTabView does not like wantsCoreAnimationLayer set in the xib. So we set it programmatically in awakeFromNib in PictureController.

git-svn-id: svn://localhost/HandBrake/trunk@2227 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Put Picture Settings and Video Filters into one inspector.
dynaflash [Thu, 5 Mar 2009 19:54:53 +0000 (19:54 +0000)]
MacGui: Put Picture Settings and Video Filters into one inspector.
- Separated in a tab view
- Move methods from PictureFilterController into PictureController
- NOTE: This layout, etc is not final as far as detail by any means, however ...  did not want to get too far out from svn due to the mods to xcode and the current development of the build system.

git-svn-id: svn://localhost/HandBrake/trunk@2226 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem:
konablend [Thu, 5 Mar 2009 16:43:48 +0000 (16:43 +0000)]
BuildSystem:
- changed behavior (which was introduced in r2223) of what MODULE target (phase) is dirtied
  when one of the contrib modules it depends upon is changed; eg: cleaned or build:
        old: MODULE.extract
        new: MODULE.configure
- example of new (corrected) behavior:
        1. svn update brings in a new change on faad2 module which has new version (url)
        2. make
        3. result: faad2 runs the guantlet: fetch->extract->patch->configure->build->install (FXPCBI for short)
        4. result: ffmpeg has a dependency on faad2 and runs: CBI
        5. result: libhb depends on all contrib modules and recompiles all .o and creates .a
        6. result: [no xcode] HandBrakeCLI depends on libhb and recompiles all .o and relinks.
        7. result: [xcode]   HandBrakeCLI and HandBrake may need to be 'cleaned' to force them to recompile as opposed to just relinking.

git-svn-id: svn://localhost/HandBrake/trunk@2225 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem:
konablend [Thu, 5 Mar 2009 08:58:30 +0000 (08:58 +0000)]
BuildSystem:
- fixed race condition where bzip2,xvidcore may fail on missing contrib/{lib,include} dirs.
- replaced literal command uses with var in bzip2,xvidcore .

git-svn-id: svn://localhost/HandBrake/trunk@2224 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem:
konablend [Thu, 5 Mar 2009 06:57:31 +0000 (06:57 +0000)]
BuildSystem:
- increased inter-contrib module rebuild sanity;
  ie: if an svn update is done and a new x264 tarball is available, the system will fetch
  it and proceed to extract->patch->configure->build->install and because it is utterly
  dangerous (undefined results can easily occur) to re-extract over an existing extract,
  the appropriate steps are taken to first rm -fr the tarball extraction directory.
  This is generally good practice but I'm explaining it here in detail in case some
  developers are taking risks like editing files in the build/ tree and erroneously
  assuming they will not be overwritten by either this new build system or contrib
  (foreign) build systems.
- added contrib touch/untouch targets; see doc.
- updated docs accordingly.
- fixed typo for GCCargs.g.max which caused --debug=max to not operate properly.
- unofficial builds will no longer rebrand naming to 'NoNameBrand'

git-svn-id: svn://localhost/HandBrake/trunk@2223 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoreorder some calculations in hb_set_anamorphic_size so that the height
jstebbins [Wed, 4 Mar 2009 23:31:54 +0000 (23:31 +0000)]
reorder some calculations in hb_set_anamorphic_size so that the height
calculated after all adjustments have been made to the width.

git-svn-id: svn://localhost/HandBrake/trunk@2222 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem:
konablend [Wed, 4 Mar 2009 21:28:47 +0000 (21:28 +0000)]
BuildSystem:
- added new target: make report.help (for cvk_b).
- updated doc accordingly.
- updated doc QuickStart chapter to be clearer for novices.
- added wiki auto-posting targets which are work-in-progress

git-svn-id: svn://localhost/HandBrake/trunk@2221 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui:
jstebbins [Wed, 4 Mar 2009 17:17:41 +0000 (17:17 +0000)]
LinGui:
add chapter duration display to chapter tab

git-svn-id: svn://localhost/HandBrake/trunk@2216 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBump x264 to r1119
dynaflash [Wed, 4 Mar 2009 09:38:07 +0000 (09:38 +0000)]
Bump x264 to r1119
- http://git.videolan.org/gitweb.cgi?p=x264.git;a=commit;h=6f0b2a9b18f3af3fd7e495640756e1d5e43343e1

git-svn-id: svn://localhost/HandBrake/trunk@2215 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem: darwin
konablend [Wed, 4 Mar 2009 00:54:53 +0000 (00:54 +0000)]
BuildSystem: darwin
- made Xcode external targets consistent for each configuration.
- shunted terminal NAME=VALUE vars through xcodebuild.
- folded macosx/module.xcode shunt functions into single.
- added new report target to show a single var; eg: make report.var NAME=GCC.gcc .

BuildSystem: darwin ppc
- fixed configure on ppc host: correctly identify native architecture.
- fixed configure to be more resilient when svn probes fail.
- fixed configure to show error output for svn probes.

BuildSystme: xcode
- added external target 'external' to represent 'all things in external system'
  which is slight more than what 'libhb' might represent.
- added doc section Building.osx: External Targets .

git-svn-id: svn://localhost/HandBrake/trunk@2214 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: link gtk.uninstall to uninstall target
jstebbins [Tue, 3 Mar 2009 21:21:04 +0000 (21:21 +0000)]
LinGui: link gtk.uninstall to uninstall target

git-svn-id: svn://localhost/HandBrake/trunk@2213 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem:
konablend [Tue, 3 Mar 2009 18:34:20 +0000 (18:34 +0000)]
BuildSystem:
- added global uninstall target; the inverse of install
- $PREFIX/bin/HandBrakeCLI longer paritipates in clean
- added target test.uninstall to remove $PREFIX/bin/HandBrakeCLI

git-svn-id: svn://localhost/HandBrake/trunk@2212 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui:
jstebbins [Tue, 3 Mar 2009 18:09:17 +0000 (18:09 +0000)]
LinGui:
- fix picture preview scaling problem
- change how contrib libs are referenced in gtk build system

git-svn-id: svn://localhost/HandBrake/trunk@2211 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMac: Suppress IB warnings and notices when building HandBrake.app
dynaflash [Tue, 3 Mar 2009 17:47:30 +0000 (17:47 +0000)]
Mac: Suppress IB warnings and notices when building HandBrake.app

git-svn-id: svn://localhost/HandBrake/trunk@2210 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Report the svn version and arch in the session activity log and the individua...
dynaflash [Tue, 3 Mar 2009 17:26:47 +0000 (17:26 +0000)]
MacGui: Report the svn version and arch in the session activity log and the individual encode log.
- ie. [11:25:22] macgui: Handbrake Version: svn2207 x86_64 (2009030301)

git-svn-id: svn://localhost/HandBrake/trunk@2209 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem:
konablend [Tue, 3 Mar 2009 17:04:25 +0000 (17:04 +0000)]
BuildSystem:
- OSX fix: when in terminal 'xclean' needs to also trigger 'clean' allowing
  Xcode to cleanup HandBrakeCLI and HandBrake products.

git-svn-id: svn://localhost/HandBrake/trunk@2208 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem:
konablend [Tue, 3 Mar 2009 07:20:19 +0000 (07:20 +0000)]
BuildSystem:
- minor fix for report targets; aggregates were not included after splitting to rules file
- fixed bug where non-darwin platforms caused all rules to be disabled because FEATURE.xcode was erroneously set to 1

git-svn-id: svn://localhost/HandBrake/trunk@2207 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem:
konablend [Tue, 3 Mar 2009 05:14:54 +0000 (05:14 +0000)]
BuildSystem:
- fixed ppc bug: scanning DVD does not pick up audio tracks
- libdvdread headers require WORD_BIGENDIAN to be defined on BIGENDIAN systems
- solution is to defined WORD_BIGENDIAN for libhb on ppc/ppc64 platforms

git-svn-id: svn://localhost/HandBrake/trunk@2206 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem:
konablend [Tue, 3 Mar 2009 02:49:54 +0000 (02:49 +0000)]
BuildSystem:
- fixed OSX + Xcode to support parallel builds
- enhanced OSX + Xcode to use proper pass-thru for all make targets
- added global target --> install
- added install: test.install
- added install: gtk.install
- updated pre-generated building guides (these will go away when wiki is updated)
- updated xml2wiki script to spit out heading

git-svn-id: svn://localhost/HandBrake/trunk@2205 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoPrevent Theora and Vorbis from using a system (e.g. fink) pkg-config which
eddyg [Tue, 3 Mar 2009 01:16:09 +0000 (01:16 +0000)]
Prevent Theora and Vorbis from using a system (e.g. fink) pkg-config which
they then allow to override HBs paths for other libs. Thanks to KonaBlend
and saintdev for identying the issue.

git-svn-id: svn://localhost/HandBrake/trunk@2204 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui:
jstebbins [Mon, 2 Mar 2009 22:47:44 +0000 (22:47 +0000)]
LinGui:
fix gtk.xclean failure, rm with no arguments
because GTK.BUILD.stamp is no longer used defined

git-svn-id: svn://localhost/HandBrake/trunk@2203 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: another typo
jstebbins [Mon, 2 Mar 2009 19:14:19 +0000 (19:14 +0000)]
LinGui: another typo

git-svn-id: svn://localhost/HandBrake/trunk@2202 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Mon, 2 Mar 2009 18:07:36 +0000 (18:07 +0000)]
WinGui:
Patch from ExDeus - Thanks.
- Show Queue button now activates the queue window on launch.
- Code clean-up for the auto naming function.

git-svn-id: svn://localhost/HandBrake/trunk@2201 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem:
jstebbins [Mon, 2 Mar 2009 16:35:31 +0000 (16:35 +0000)]
BuildSystem:
update linux build documentation with additional package details

git-svn-id: svn://localhost/HandBrake/trunk@2200 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui:
ritsuka [Mon, 2 Mar 2009 11:42:11 +0000 (11:42 +0000)]
MacGui:
- Switched some float to CGFloat and int to NSInteger.
- Fixed a warning in writeToActivityLog: when compiling with gcc-4.2
- Fixed an issue when dragging items in the queue if the item was not already selected.

git-svn-id: svn://localhost/HandBrake/trunk@2199 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Removed some unused call to fProgressIndicator that may break the progresso...
ritsuka [Mon, 2 Mar 2009 10:17:00 +0000 (10:17 +0000)]
MacGui: Removed some unused call to fProgressIndicator that may break the progresso bar.

git-svn-id: svn://localhost/HandBrake/trunk@2198 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem:
konablend [Mon, 2 Mar 2009 07:55:35 +0000 (07:55 +0000)]
BuildSystem:
- added x264 configure argument: --disable-mp4-output
- this prevents x264 from finding gpac externally if it happens to be on host which causes grief with linking

git-svn-id: svn://localhost/HandBrake/trunk@2197 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui:
ritsuka [Mon, 2 Mar 2009 07:41:45 +0000 (07:41 +0000)]
MacGui:
- Limited the handbrake dock icon refresh to a maximum of 20 for encode. It was a bit pointless to update it two times a second.
- Another try at fixing the main window progress indicator.

git-svn-id: svn://localhost/HandBrake/trunk@2196 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem:
konablend [Mon, 2 Mar 2009 07:30:13 +0000 (07:30 +0000)]
BuildSystem:
- split build guide into 3 articles, one for each platform
- populated root of tree with 3 platform Building guides: osx, cygwin, linux for convenience
- added python script (needs python3.0) to optionally generate wiki from .texi articles

git-svn-id: svn://localhost/HandBrake/trunk@2195 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Fix main window progress indicators for scan and encode for x86_64
dynaflash [Mon, 2 Mar 2009 05:58:27 +0000 (05:58 +0000)]
MacGui: Fix main window progress indicators for scan and encode for x86_64

git-svn-id: svn://localhost/HandBrake/trunk@2194 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: update log and about dialog with update version strings
jstebbins [Mon, 2 Mar 2009 04:06:38 +0000 (04:06 +0000)]
LinGui: update log and about dialog with update version strings
also, make hb home web link on about dialog spawn a browser

git-svn-id: svn://localhost/HandBrake/trunk@2193 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem:
konablend [Mon, 2 Mar 2009 03:35:10 +0000 (03:35 +0000)]
BuildSystem:
- changed HandBrakeCLI to use project.h when showing version in hblog
- changed macosx/Info.h.m4 to supply correct version; eg: MacGUI about-panel
- HandBrakeCLI hblog now displays architecture; eg: Darwin i386
- HandBrake.app about-panel now displays architecture; eg: i386
- updated all versioning to reflect project policies:
    a. HB_PROJECT_VERSION now behave as old HB_VERSION
    b. HB_PROJECT_BUILD now behaves as old HB_BUILD
    c. dropped HB_PROJECT_VERSION_FORMAL as it is no longer referenced
- renamed HOST.proc  -> HOST.machine for clarity
- renamed BUILD.proc -> BUILD.machine for clarity

git-svn-id: svn://localhost/HandBrake/trunk@2192 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoRe-enable libswscale accurate rounding on x86_64.
saintdev [Mon, 2 Mar 2009 02:30:10 +0000 (02:30 +0000)]
Re-enable libswscale accurate rounding on x86_64.
The libswscale bug causing crashes was fixed a while ago.

git-svn-id: svn://localhost/HandBrake/trunk@2191 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem:
konablend [Mon, 2 Mar 2009 00:15:16 +0000 (00:15 +0000)]
BuildSystem:
- exposed HB_PROJECT_BUILD_ARCH to <hb.h> space.

git-svn-id: svn://localhost/HandBrake/trunk@2190 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBuildSystem:
konablend [Sun, 1 Mar 2009 23:47:12 +0000 (23:47 +0000)]
BuildSystem:
- propagate debug and optimize flags to libmp4v2 module

git-svn-id: svn://localhost/HandBrake/trunk@2189 b64f7644-9d1e-0410-96f1-a4d463321fa5