Commit Graph

2879 Commits

Author SHA1 Message Date
Amar Takhar 87cee933ed Updates from greg:
* Scale shadow displacement and blur size like border
  * Correctly re-initialize glyph_info_t.
  * When using pan-and-scan, use correct positions.
  * patch cleanups

Originally committed to SVN as r2744.
2009-02-22 05:17:47 +00:00
Amar Takhar 761f044526 Return NULL if n < 0 on line 886, for whatever reason on FreeBSD this falls
through exception handling and causes and abort().

Originally committed to SVN as r2743.
2009-02-19 23:58:06 +00:00
Niels Martin Hansen 1426f4f67b New Russian translation, thanks to z0rc.
Originally committed to SVN as r2742.
2009-02-18 20:05:29 +00:00
Amar Takhar 20a42c0752 Use $DICT_DIR to find diciontary files for copying inside the bundle.
The default is ~/dict.

Originally committed to SVN as r2741.
2009-02-18 06:00:17 +00:00
Amar Takhar 6ea67c624d Only enable -D_DEBUG if there is a debug version of wxWidgets installed.
Originally committed to SVN as r2740.
2009-02-17 09:08:27 +00:00
Amar Takhar 0eaa08c405 Add audio_provider_dummy.cpp to the build which is required when _DEBUG is used.
Originally committed to SVN as r2739.
2009-02-17 08:12:19 +00:00
Amar Takhar a2a793e344 On OS X affix -debug to the bundle name when --enable-debug is used.
Originally committed to SVN as r2738.
2009-02-17 06:37:39 +00:00
Amar Takhar 28b8c45b54 Add -D_DEBUG when --enable-debug is used, this can't be turned off as
anyone making a debug build should use any features to help out with
debugging.

Originally committed to SVN as r2737.
2009-02-17 02:27:31 +00:00
Amar Takhar 8dc0f77fa1 Substitute the FontConfig Cache dir in fonts.conf to use the proper (versioned)
path: ~/Library/Application Data/Aegisub-<AEGISUB_VERSION_DATA>

Originally committed to SVN as r2736.
2009-02-16 01:57:19 +00:00
Amar Takhar 8ba90af9cd Add missing files from aegisub/libosxutil/, packages/, and scripts/.
All of the missing files were related to OS X.

Originally committed to SVN as r2735.
2009-02-16 00:27:52 +00:00
Amar Takhar 5731efc46a Apply a fix from greg:
* 'Correctly' handle font aspect ratio in the case of PlayRes(X|Y) not matching
   the video aspect ratio. (to match vsfilter)

Originally committed to SVN as r2734.
2009-02-15 05:44:06 +00:00
Amar Takhar 2c2f85a93d Add changes from
http://greg.geekmind.org/mplayer/libass-snapshot-20090214.tar.gz

* \be filter with [1,2,1] kernel (like vsfilter)
* "decimal point" support, e.g. numbers with fractional parts are dealt with
  correctly
* shadow without border
* "compromise" fix for transparency + aa
* misc fixes: \be and \blur radius and a memory leak
* proper compositing of overlapping translucent outlines

Originally committed to SVN as r2733.
2009-02-14 19:19:35 +00:00
Amar Takhar 1f47e17d66 Add -pipe for C/C++.
Originally committed to SVN as r2732.
2009-02-14 19:08:44 +00:00
Amar Takhar 6495831ed0 Really disable -O2 when --enable-debug is used.
Originally committed to SVN as r2731.
2009-02-14 19:05:40 +00:00
Amar Takhar 88dc740d90 Add some more comments for clarity.
Originally committed to SVN as r2730.
2009-02-12 00:39:53 +00:00
Amar Takhar 5ce4e24f57 Disable -O2 when --enable-debug is used, it can/does do odd things.
Originally committed to SVN as r2729.
2009-02-11 16:50:16 +00:00
Amar Takhar a7da892c62 Add a few comments for clarity.
Originally committed to SVN as r2728.
2009-02-10 21:25:32 +00:00
Amar Takhar 90c6172db9 Add a new flag: --disable-compiler-flags which disables *all* default
compiler flags.

Originally committed to SVN as r2727.
2009-02-10 20:50:28 +00:00
Niels Martin Hansen 82f91ce1fc Oops, had a C++-style line comment in a C source file
Originally committed to SVN as r2726.
2009-02-09 18:10:16 +00:00
Niels Martin Hansen 2bd0ce3055 Updated version of stdint.h for MSVC
Originally committed to SVN as r2725.
2009-02-09 18:08:14 +00:00
http://greg.geekmind.org/mplayer/mplayer-libass-fixes.txt 372a5c6a1f Impliment changes from http://greg.geekmind.org/mplayer/mplayer-libass-fixes.patch
from: http://greg.geekmind.org/mplayer/mplayer-libass-fixes.txt
 * adds stubs for most features introduced in vsfilter 2.39
 * implements \blur and \be > 1
 * corrects fix_outline_and_shadow for transparency + aa
 * first-tag-wins for \pos and \move

Originally committed to SVN as r2724.
2009-02-06 05:58:22 +00:00
Karl Blomster f85ad3c81f Fix the jumpto dialog again. Now sets the max possible number of digits to input based on how many digits are in the final frame number. Patch by Harukalover, solves bugtracker issue #804.
Originally committed to SVN as r2723.
2009-02-05 14:48:19 +00:00
Karl Blomster f530b4c0da Modified Harukalover's patch from yesterday so the frame number is sanitized after entry, not during.
Originally committed to SVN as r2722.
2009-02-04 23:22:10 +00:00
Karl Blomster 6a765528e1 Fix a bunch of edge cases in the VFR code. Patch by Plorkyeran, solves bugtracker issue #773.
Originally committed to SVN as r2721.
2009-02-04 23:11:56 +00:00
Karl Blomster d9d0eddfde Minor cosmetic fixes to the goto frame/time dialog box. Patch by Harukalover.
Originally committed to SVN as r2720.
2009-02-04 01:45:43 +00:00
Amar Takhar ff7776233a Remove a stray EOL ','.
Originally committed to SVN as r2719.
2009-02-03 05:28:39 +00:00
Amar Takhar 9c6780a33e * Add DEBUG_FLAGS / PROFILE_FLAGS to LDFLAGS for aegisub binary linking.
* Move assigned variables used by AC_SUBST below AC_INIT(), they won't work
  otherwise.

Originally committed to SVN as r2718.
2009-01-29 21:32:39 +00:00
Amar Takhar 287639df1e Print CXXFLAGS at the end.
Originally committed to SVN as r2717.
2009-01-29 20:47:49 +00:00
Amar Takhar 318313f17e Sigh, fix _3_ (yes, 3) typos, this is what I get for committing without
testing first while on the phone.

Originally committed to SVN as r2716.
2009-01-29 20:46:05 +00:00
Amar Takhar 2857277a55 Add --enable-profile and PROFILE_FLAGS to enable profiling, also fix
s/--enable debug/--enable-debug/ in DEBUG_FLAGS comment.

Originally committed to SVN as r2715.
2009-01-29 20:39:40 +00:00
Amar Takhar f876084c51 Format FreeType detection to be the same as others.
Originally committed to SVN as r2714.
2009-01-29 04:15:25 +00:00
Amar Takhar 6bbb5cafaf There really is no point in having --enable-build-dist, anyone building a dist
will have a .svn dir which triggers svnversion to run in order to define
BUILD_SVN_REVISION.  After that it's a simple echo to generate svn_revision
rather than running svnversion _twice_ when --enable-build-dist is used.

Originally committed to SVN as r2713.
2009-01-29 03:56:23 +00:00
Amar Takhar 61cce1260d * Remove duplicate version entries (how did that happen?!)
* Re-order some lines to follow previous conventions.
* Add some comments for clarity.

Originally committed to SVN as r2712.
2009-01-29 03:52:47 +00:00
Amar Takhar 4e645821d6 Only enable perlconsle if perl is detected.
Originally committed to SVN as r2711.
2009-01-29 03:18:30 +00:00
Amar Takhar 594d44f594 avutil is required on unix/dawrin, not just darwin.
Originally committed to SVN as r2710.
2009-01-28 23:34:17 +00:00
Amar Takhar 9b57c7807f ?= doesn't work on Darwin sh.
Originally committed to SVN as r2709.
2009-01-28 23:33:51 +00:00
Amar Takhar 79ee6c4337 Fix enabling/disabling of FFMPEG based on --without-ffmpeg / AC_AGI_COMPILE.
Originally committed to SVN as r2708.
2009-01-28 23:17:02 +00:00
Amar Takhar 1a398b79a0 * Fix disabling of a few libraries, they were being defined in acconf.h when
--without-* was being supplied.

Originally committed to SVN as r2707.
2009-01-28 21:58:53 +00:00
Amar Takhar f1525231c5 * The new FFMPEG requires libavutil.
* Fix detection of FFMPEG based on AC_AGI_COMPILE.

Originally committed to SVN as r2706.
2009-01-28 18:22:01 +00:00
Amar Takhar 9a6265afb6 * Switch FFMPEG detection to use pkg-config.
* Add an FFMPEG compile check from TheFluff, thanks! (modified)
* Add a libpostproc check from Myrsloik, thanks!. (reqired by ffms)
* Rework how ffms / FFMPEG providers are enabled/disabled.
* Fix PulseAudio check to use pulseaudio_required_version.

Originally committed to SVN as r2705.
2009-01-28 03:19:53 +00:00
Karl Blomster fe2ec42a45 Fix a really dumb bug in the caching video provider that caused crashes when seeking in the video.
Originally committed to SVN as r2704.
2009-01-24 23:00:35 +00:00
Amar Takhar 8ac8982870 Add an SVG of the aegisub logo.
Originally committed to SVN as r2703.
2009-01-24 19:30:44 +00:00
Amar Takhar bd78a5c60e Instead of generating wxicon_xpm.xpm from icon.ico (which is very low-res)
supply a 48x48 xpm to be included as the application icon.  There's probably a
better way to do this, like figuring out what the typical application icon size
is and supplying different sizes.

Originally committed to SVN as r2702.
2009-01-24 15:58:38 +00:00
Niels Martin Hansen 300d71d7d2 Japanese translation completed.
Originally committed to SVN as r2701.
2009-01-22 11:21:02 +00:00
Niels Martin Hansen 4ddc90f027 Simple subtitle formats weren't being split-recombined correctly in some cases after modifications, because AssEntrty::StartMS didn't match AssDialogue::Start, which caused sorting to fail.
Make a hacky fix that involves setting StartMS to Start.GetMS() when Clone()ing an AssDialogue.

Originally committed to SVN as r2700.
2009-01-20 20:08:34 +00:00
Amar Takhar 1fc063f759 * Swap with*=1|0 to with*=yes|no in wx-config check.
* Fix misnamed variable which disabled the wx opengl test.

Originally committed to SVN as r2698.
2009-01-15 01:14:41 +00:00
Amar Takhar a196f1efbb Only substitude RUBY_(C|LD)FLAGS and PERL_(C|LD)FLAGS if either are actually
detected as working.

Originally committed to SVN as r2697.
2009-01-15 01:06:21 +00:00
Amar Takhar dafcf9badd * Cleanup Hunspell block (remove legacy code)
* Fix disabling of hunspell if compile test fails.

Originally committed to SVN as r2696.
2009-01-15 01:04:55 +00:00
Amar Takhar 0035436eff Fix ALSA block (remove legacy code)
Originally committed to SVN as r2695.
2009-01-15 01:02:57 +00:00
Amar Takhar c37e33e29c Move PKG_CHECK_MODULES(ASA.. within the $with_csri block, also check for
detection of CSRI _and_ ASA before enabling CSRI.

Originally committed to SVN as r2694.
2009-01-14 06:10:03 +00:00