Commit graph

1225 commits

Author SHA1 Message Date
Niels Martin Hansen
155388b456 Add secret option to disable use of the PCM provider, mainly intended for debugging: "Audio Disable PCM Provider" (default is false ie. PCM provider enabled)
Originally committed to SVN as r2232.
2008-07-04 03:24:25 +00:00
Niels Martin Hansen
2c7da25e91 Avoid strncmp() for checking fourCC codes and use a handcrafted function for it instead. Also add some assertions for null pointer checks.
Originally committed to SVN as r2231.
2008-07-04 03:06:55 +00:00
Niels Martin Hansen
a4fc3e8b13 Use compiler-specific defines when building universal for OS X to detect correct endianness and avoid using dynamic endian code for no reason.
Originally committed to SVN as r2230.
2008-07-04 01:05:16 +00:00
Karl Blomster
075bc5ec75 revert r2216 (changes to the libav* includes)
Originally committed to SVN as r2228.
2008-07-04 00:20:14 +00:00
Niels Martin Hansen
5c2e749421 Forgot to inline the dynamic endian code.
Originally committed to SVN as r2227.
2008-07-03 23:38:44 +00:00
Karl Blomster
910ff2e34e the "impossible" audio error is now really impossible
Originally committed to SVN as r2226.
2008-07-03 23:27:06 +00:00
Niels Martin Hansen
0fbe0a001f Don't use uint32_t in functions working on uint64_t, shifting uint32_t by 56 bits causes evil compiler warnings. On some compilers!
Originally committed to SVN as r2225.
2008-07-03 23:24:47 +00:00
Karl Blomster
d6ada6f0bd black magic for building with ffmpeg on windows
Originally committed to SVN as r2224.
2008-07-03 15:22:25 +00:00
Niels Martin Hansen
d1b8355ff2 Rename endian.h to aegisub_endian.h to avoid clash with system headers on some systems.
Originally committed to SVN as r2223.
2008-07-03 13:35:23 +00:00
Niels Martin Hansen
a7b64fe694 Make PCM WAV reading (almost) machine endian neutral. The actual sample data read are still assumed to be in machine endian, which will produce garbage output on big endian archs.
Originally committed to SVN as r2222.
2008-07-03 02:22:18 +00:00
Niels Martin Hansen
8384e83e71 Add functions to address endianness problems.
The configure.in script should be adjusted to define appropriate preprocessor tokens. Windows developers should update their config.h.

Originally committed to SVN as r2221.
2008-07-03 01:56:26 +00:00
Niels Martin Hansen
67bfd70f82 Add a function to remove items from MRU lists, in preparation for a fix for #717. Also a bit of prettyfication of the MRU handling code.
Originally committed to SVN as r2220.
2008-07-03 01:53:22 +00:00
Niels Martin Hansen
5a2e91c00a Updated Windows icon to re-made version. The 256x256 version is left uncompressed to be compatible with older RC.exe versions.
Originally committed to SVN as r2219.
2008-07-03 00:04:51 +00:00
Niels Martin Hansen
c7ab7c8104 Updated OS X icon, now also with 512x512 size
Originally committed to SVN as r2217.
2008-07-02 16:52:25 +00:00
Karl Blomster
40c709da72 change of #includes: <ffmpeg/*> to <libavstuff/*>
Originally committed to SVN as r2216.
2008-07-02 16:31:06 +00:00
Niels Martin Hansen
3599e6edd1 Further fixing on-crash message: s/We have tried/I have tried/
Originally committed to SVN as r2215.
2008-07-02 13:50:18 +00:00
Niels Martin Hansen
8217f202e7 Rewritten on-crash messages, hopefully easier to understand and act on now.
Untested, because I can't find a reliable way to crash Aegisub currently.

Originally committed to SVN as r2214.
2008-07-02 13:42:34 +00:00
Niels Martin Hansen
f5ded43d51 Applied Harukalover's patch for remembering last subtitle open directory also for files opened from commandline or drag/drop, bug #722.
Originally committed to SVN as r2212.
2008-06-24 20:31:23 +00:00
Alysson Souza
79cb1f1bd9 Applied Harukalover's patch - Added an effect field to find and search and replace dialogs
Originally committed to SVN as r2211.
2008-06-24 03:22:46 +00:00
Niels Martin Hansen
5330c541ca Possible fix for #719
Originally committed to SVN as r2210.
2008-06-21 21:13:00 +00:00
Niels Martin Hansen
36f19a9d42 Fix #688 by moving the time display one line down when in karaoke mode.
Originally committed to SVN as r2209.
2008-06-21 18:34:57 +00:00
Niels Martin Hansen
025869468b Fix #704 with a slightly dirty hack.
Originally committed to SVN as r2208.
2008-06-21 17:25:00 +00:00
Niels Martin Hansen
59a5e8f3b3 Fix #684, I hope. Redid the case-insensitive Replace All algorithm to replace from a Right side into a Left side, also avoiding use of wx 1.x compatibility functions and doing proper case-insensitive compares rather than searching a lowercased string for a lowercased substring.
Originally committed to SVN as r2204.
2008-06-15 17:56:05 +00:00
Niels Martin Hansen
ff081c0ae9 Fix #701, make sure plain-text lines pasted from clipboard are always blank-timed, ie. start and end time are zero.
Originally committed to SVN as r2202.
2008-06-15 13:18:28 +00:00
Niels Martin Hansen
51a16f823e Yet another attempt to fix #521, 'Cannot wait for thread termination' in rare cases with the DirectSound audio player.
Make the playback thread detached so it will kill itself when it has run to end, instead of having to wait for it. This way it is never required to wait for the thread. When the thread has been signalled to stop it is simply abandoned and left to die for itself.

Originally committed to SVN as r2201.
2008-06-15 12:59:49 +00:00
Niels Martin Hansen
324ce7dbff Be explicit about some type conversions in OpenAL audio player to avoid warnings. Fixes #651.
Originally committed to SVN as r2200.
2008-06-15 12:43:56 +00:00
Niels Martin Hansen
1c60d35d16 Fix #695, close Translation Assistant when there are no more lines to translate.
Originally committed to SVN as r2199.
2008-06-15 12:20:51 +00:00
Niels Martin Hansen
6f23c635be Left-dragging the selection start marker in the audio display now only restarts the selection after a threshold defined by the Audio Start Drag Sensitivity option. A commented-out editbox for this value is added to the Options dialogue, it is commented out due to the feature freeze towards 2.2.0.
This should fix #703.

Originally committed to SVN as r2198.
2008-06-15 12:11:04 +00:00
Niels Martin Hansen
f3fe600714 Improved error reporting in AVIFile keyframe reading code (#715).
Originally committed to SVN as r2197.
2008-06-14 22:07:48 +00:00
pstatic
5942928b45 fix bug #595, with spell check
Originally committed to SVN as r2196.
2008-06-01 03:44:41 +00:00
pstatic
d65b697e12 Add workaround for what looks like a ffmpeg bug
Originally committed to SVN as r2194.
2008-05-21 20:03:39 +00:00
Alysson Souza
4e334cb1d1 oops, forgot to commit hotkeys.cpp
Originally committed to SVN as r2191.
2008-05-09 05:03:40 +00:00
Alysson Souza
baf52a3430 Applied Harukalover's patch #2 - Added play audio/video buttons to Styling Assistant
Originally committed to SVN as r2190.
2008-05-09 04:27:10 +00:00
Alysson Souza
0de8190b21 Applied Harukalover's patch #1 - Added play audio/video buttons to Translation Assistant
Originally committed to SVN as r2189.
2008-05-09 03:43:47 +00:00
Rodrigo Braz Monteiro
8918fb6296 Added a little very specific hacked up tool that isn't enabled unless you modify config.dat.
Originally committed to SVN as r2185.
2008-04-21 16:41:46 +00:00
Amar Takhar
b012a3149c Freetype/Fontconfig were pushed under two conditionals beacuse on Darwin we use
Freetype to list fonts (it uses native features).  When support for glibc iconv
was added the case broke and set $build_linux, the conditional for the
fontconfig font lister was $build_default which no longer got triggered.  Puts
the font listers under FONTLISTER_(FONTCONFIG|FREETYPE) conditional upon
$build_darwin being no/yes.

Originally committed to SVN as r2180.
2008-04-13 17:44:54 +00:00
Amar Takhar
aa7cc5a2dc Add support for CSRI (ASA), this has been tested and confirmed as working.
Compiling libass/asa in at the same time is OK.

Originally committed to SVN as r2174.
2008-04-13 05:10:27 +00:00
Amar Takhar
0734c81d9e Whoops, re-add nuked } after 'extern "C" {' that got removed when the __WINDOWS__ wrap
was removed.

Originally committed to SVN as r2173.
2008-04-13 04:47:33 +00:00
Amar Takhar
0607976605 Remove the __WINDOWS__ around 'include "../libass/ass.h"', I didn't notice this
on my system since I have ass/ass.h in /usr/local/include.  The header hasn't
changed so no damage done, unless you don't have libass installed.

Originally committed to SVN as r2169.
2008-04-06 15:08:43 +00:00
Niels Martin Hansen
58788ea5ce Change default ALSA output device to something more sensible, namely 'default:0'.
Originally committed to SVN as r2162.
2008-03-31 17:55:21 +00:00
Amar Takhar
7746efa54e * Fix ICONV_CFLAGS / ICONV_LDFLAGS so they're properly propogated during the
build.
* s/ICONV_LIBS/ICONV_LDFLAGS/ to fix the addtion of ICONV_LDFLAGS during final
  linking.

Originally committed to SVN as r2159.
2008-03-30 08:08:43 +00:00
Amar Takhar
0cf6fce7de Add -L/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries to
aegisub_LDFLAGS, for now we don't do any GL link checks so there is no point in
adding it to configure.

Originally committed to SVN as r2158.
2008-03-30 06:35:00 +00:00
Amar Takhar
cfa2003553 Sigh, really fix the typo(s).
Originally committed to SVN as r2157.
2008-03-30 06:17:08 +00:00
Amar Takhar
cc25285ddd Fix typo that slipped into previous commit.
Originally committed to SVN as r2156.
2008-03-30 06:13:36 +00:00
Amar Takhar
ad63c0fbac Add a check for avutil, conditional on BUILD_DARWIN which is required on OSX.
Originally committed to SVN as r2155.
2008-03-30 06:11:45 +00:00
Amar Takhar
0fb1fee1a8 * Add target platform detection, at the moment this only uses OS info.
* Fix font_file_lister to use fontconfig for unix, freetype for OS X
* Set bevelbutton to be conditional for Darwin only. (this fixes the header
  missing header as well)

Originally committed to SVN as r2152.
2008-03-29 22:30:30 +00:00
Amar Takhar
b7af0a06d5 * Add a detection for platform/arch.
* Add a new condtitional BUILD_DARWIN for fontconfig/freetype font listing
  support.

Originally committed to SVN as r2150.
2008-03-26 23:58:39 +00:00
Niels Martin Hansen
abeaf06776 Possible fix for bevelButton problem
Originally committed to SVN as r2149.
2008-03-26 23:28:12 +00:00
Amar Takhar
3cd825e98b c_str() on _filename.
Originally committed to SVN as r2147.
2008-03-25 23:51:54 +00:00
Amar Takhar
91c641789f Remove #ifdef __APPLE__ glue, this will be the same as UNIX, eventually.
Originally committed to SVN as r2146.
2008-03-25 23:43:28 +00:00
Amar Takhar
ffaac724e1 Remove a !defined(__APPLE__) around #include "lavc_keyframes.h", also add a c_str().
Originally committed to SVN as r2145.
2008-03-25 23:42:39 +00:00
Amar Takhar
5ad19a2558 More .cstr().
Originally committed to SVN as r2144.
2008-03-25 23:08:28 +00:00
Amar Takhar
f0f0d541b6 Add a .c_str(); to _filename (line 83)
Originally committed to SVN as r2143.
2008-03-25 23:01:29 +00:00
Karl Blomster
cd177995d2 added same flag to win64 config0.h.
Originally committed to SVN as r2139.
2008-03-24 12:21:44 +00:00
Karl Blomster
4e3529930d added new config.h define, WITH_STATIC_FFMPEG, to make it possible to link ffmpeg as a static library instead of dynamic.
Originally committed to SVN as r2138.
2008-03-24 12:19:17 +00:00
Karl Blomster
7be56fbcd4 cast some lavc context variables to int (avoids warning treated as error when compiling WITH_FFMPEG on msvc)
Originally committed to SVN as r2137.
2008-03-24 11:30:35 +00:00
pstatic
cbf7143b85 typo in audio_provider_pcm
Originally committed to SVN as r2131.
2008-03-24 02:44:45 +00:00
Niels Martin Hansen
08910b5a9d Make PCM audio provider access the file memory mapped instead of through regular file access, per bug #686. Tested to work on Windows.
I've also added a POSIX implementation but it's untested and might not even build.
The implementation is not actually thread safe, but this shouldn't be a problem in most cases, yet. It should still be fixed at some point.

Originally committed to SVN as r2130.
2008-03-24 00:10:09 +00:00
Amar Takhar
e4d77f6474 Completely remove support for an external libass:
* The internal libass will always be newer than external packages.
  * aegisub requires fontconfig _and_ iconv support, some systems have
    either/or but rarely both.
  * There's zero benifit to supporting an external version.

In the future I might add some flags to allow it, if there is a compelling
reason to.

Originally committed to SVN as r2125.
2008-03-23 22:56:21 +00:00
Karl Blomster
2c495b5d80 casting
Originally committed to SVN as r2119.
2008-03-23 12:36:16 +00:00
Karl Blomster
b6d8b403d6 fix catastrophic failure in last commit
Originally committed to SVN as r2116.
2008-03-22 22:48:59 +00:00
Karl Blomster
e61d333297 warn the user if audio skew is likely
Originally committed to SVN as r2115.
2008-03-22 22:45:46 +00:00
Karl Blomster
76469421e4 minor tweaks to the lavc audio provider.
Originally committed to SVN as r2114.
2008-03-22 22:18:43 +00:00
Amar Takhar
a86a882c0a Remove files not required by the macosx build.
Originally committed to SVN as r2103.
2008-03-22 08:35:30 +00:00
Amar Takhar
ca920eea36 Remove comments about adding revision / build credit support.
Originally committed to SVN as r2102.
2008-03-22 08:24:52 +00:00
Amar Takhar
5da0b16f48 Move WITH_INTERNAL_LIBASS beove WITH_LIBASS for clarity.
Originally committed to SVN as r2101.
2008-03-22 08:24:21 +00:00
Amar Takhar
65e92e8e3c * Sort program sources in alphabetical order.
* Put program headers under aegisub_SOURCES and external headers under
  noinst_HEADERS.

Originally committed to SVN as r2099.
2008-03-22 08:20:28 +00:00
Amar Takhar
04e9ff224f Add support for an 'internal' libass, with this we can chase changes to the
libass in MPlayer which is more up-to-date than the external library that's
available.

Originally committed to SVN as r2096.
2008-03-21 21:01:03 +00:00
Karl Blomster
9a7bbc9b93 missing semicolon in last commit
Originally committed to SVN as r2095.
2008-03-21 20:35:59 +00:00
Karl Blomster
ee04563ff6 attempt at fixing the lavc audio skew problems by making very very sure all data in each packet is decoded.
Originally committed to SVN as r2094.
2008-03-21 20:30:34 +00:00
Karl Blomster
6d8f862aed cleanup of the lavc audio provider; renamed some variables, added some comments and restructured a bit. as an added improvement it will now no longer resample unless strictly necessary.
Originally committed to SVN as r2093.
2008-03-21 19:52:14 +00:00
Rodrigo Braz Monteiro
398da989f9 Fixed small OpenMP bug.
Originally committed to SVN as r2089.
2008-03-21 03:02:39 +00:00
Amar Takhar
21b3db9b2a Enable OpenMP globally, at amz's suggestion. (if this breaks things, it's his
fault.)

Originally committed to SVN as r2088.
2008-03-21 02:59:57 +00:00
Amar Takhar
d71641db51 s/WIN32/__WINDOWS__/ to stop a define collision with universalchardet. This is
a temp solution as the real fix is sorting out universalchardet to build
correctly.

Originally committed to SVN as r2087.
2008-03-21 02:41:46 +00:00
Amar Takhar
2b730ac4fa Move charset_detect.h above text_file_reader.cpp, universalchardet is defining,
or undefining things that doesn't make fstream very happy.

Originally committed to SVN as r2086.
2008-03-21 02:22:00 +00:00
Amar Takhar
90e9e6fef1 Re-enable univerchardet (for now), also make it use STL rather than stdio (which
isn't complete)

Originally committed to SVN as r2085.
2008-03-20 22:24:28 +00:00
Rodrigo Braz Monteiro
735aebb393 Fixed a litle oops from last commit.
Originally committed to SVN as r2084.
2008-03-20 21:58:21 +00:00
Rodrigo Braz Monteiro
db0cc24ae3 Originally committed to SVN as r2083. 2008-03-20 21:48:47 +00:00
Amar Takhar
1f23637cd2 Fix auto4/auto3 (lua51/lua50) support, this removes the --with-* flags in favor
of LUA_(C|LD)FLAGS and LUA50_(C|LD)FLAGS, also add the LUA LDFLAGS to LIBS like
perl in order to have it bring in the symbols properly, this is a temp measure
until we have modules.

Originally committed to SVN as r2082.
2008-03-20 21:24:01 +00:00
Rodrigo Braz Monteiro
b102ed05c1 Fixed dummy video provider and possibly fixed dvd sub generation.
Originally committed to SVN as r2079.
2008-03-18 05:24:21 +00:00
Niels Martin Hansen
3ead72329c Change default font encoding for new styles to 1, to make more fonts behave sensibly by default
Originally committed to SVN as r2064.
2008-03-15 21:34:55 +00:00
Niels Martin Hansen
426917c9a6 The progress dialogues should be centered on parent (too), certainly not on the primary monitor.
Originally committed to SVN as r2057.
2008-03-14 19:40:28 +00:00
Rodrigo Braz Monteiro
78cb8f53ff Applied shurik's patch to hopefully fix Lua's linking issues on Linux.
Originally committed to SVN as r2054.
2008-03-14 06:17:32 +00:00
Karl Blomster
521632cd9b changed output buffer size to AVCODEC_MAX_AUDIO_FRAME_SIZE which is what it's actually malloc()'ed as. might actually work now.
Originally committed to SVN as r2052.
2008-03-14 05:14:30 +00:00
Karl Blomster
56370f0f4a hurf de durf, didn't consider the fact that some audio packets might not have any actual content. return value of avcodec_decode_audio2() is now checked against < 0 again.
Originally committed to SVN as r2051.
2008-03-14 04:38:30 +00:00
Rodrigo Braz Monteiro
72145e8fa8 Fixed some warnings on g++.
Originally committed to SVN as r2046.
2008-03-13 20:27:25 +00:00
Rodrigo Braz Monteiro
cee958b2d3 Raised the warning level on MSVC8 to 4, and fixed several warnings caused by that.
Originally committed to SVN as r2045.
2008-03-13 19:12:55 +00:00
Rodrigo Braz Monteiro
c248ca39f2 Fixed several warnings on g++.
Originally committed to SVN as r2044.
2008-03-13 18:55:09 +00:00
Rodrigo Braz Monteiro
6e5f23c1cd Added missing virtual destructors.
Originally committed to SVN as r2043.
2008-03-13 18:06:13 +00:00
Karl Blomster
3cade86767 check the return value of avcodec_decode_audio2() against <= 0, not just < 0 (both indicate no audio decoded)
Originally committed to SVN as r2042.
2008-03-13 08:41:21 +00:00
Karl Blomster
47f6f2aed6 Replaced deprecated function avcodec_decode_audio() with nondeprecated version avcodec_decode_audio2() in audio_provider_lavc.cpp. Maybe possibly potentially hopefully fixes mp3 decoding problems?
Originally committed to SVN as r2041.
2008-03-13 08:30:40 +00:00
Rodrigo Braz Monteiro
0e3333e4f8 (Hopefully?) fixed auto4-lua colour buttons.
Originally committed to SVN as r2027.
2008-03-12 07:19:05 +00:00
Alysson Souza
e9004aa0f9 Semi-broken support for colour buttons in auto4-lua
Originally committed to SVN as r2026.
2008-03-12 07:04:07 +00:00
Rodrigo Braz Monteiro
0a931d3f45 wxSTC SUCKS. Note: never call SetWindowStyle() on it, or it'll break the keyboard handling.
Originally committed to SVN as r2025.
2008-03-11 23:58:43 +00:00
shb
5ceebc02a2 Maybe a fix to autoperl crashing
Originally committed to SVN as r2024.
2008-03-11 23:30:59 +00:00
Rodrigo Braz Monteiro
ae67877863 Another jab at fixing scintilla control border on posix. Also changed how it looks on Windows XP/Vista.
Originally committed to SVN as r2019.
2008-03-11 07:05:19 +00:00
Amar Takhar
722c1c6dc8 Mutter more library ordering, DynaLoader.a has to be after libauto4_perl.a so
I've used LIBS= for now (not sure if this is right but we'll see)

Originally committed to SVN as r2018.
2008-03-11 06:31:06 +00:00
Rodrigo Braz Monteiro
92d26be928 Hopefully changed scintilla border for wxgtk
Originally committed to SVN as r2017.
2008-03-11 06:30:59 +00:00
Amar Takhar
c3008be27f Aparrantly the CFLAGS to plugin_manager.cpp were never needed in the first
place, it was the result of a missed change for perl automation.

Originally committed to SVN as r2016.
2008-03-11 06:19:20 +00:00
Rodrigo Braz Monteiro
5596fa106e Moved auto3 and perl factories to their own headers to avoid including library headers.
Originally committed to SVN as r2015.
2008-03-11 06:10:00 +00:00
Amar Takhar
cdf86550f2 Sigh, GNU LD can be really annoying at times, most linkers will only pull a
symbol in from a static library if that symbol is used. (how it should work)
However! if you place the library that *uses* those symbols *after* the
libraries that have them, then the gnu ld will skip past those symbols, they
will never get included and you'll get a linking error.. There are two fixes,
tell LD to scan all libraries twice (non-portable?) or just put the libraries in
an order that LD can deal with.  (annoying!)

Originally committed to SVN as r2014.
2008-03-11 06:07:08 +00:00
Amar Takhar
311b78afec Put plugin_manager.cpp into it's own library, since it needs to be sent all
CFLAGS for any enabled automation. (this is temp until we have actual working
plugins)

Originally committed to SVN as r2013.
2008-03-11 05:45:45 +00:00
Amar Takhar
02abe1f0f8 It never ceases to amaze me how badly gawk can munge a perfectly compliant AWK
file, die gawk. die: It ate the line endings on lines wrapped using \ instead of
keeping the CR's it put everything on one line even though hard CR's were used.

Originally committed to SVN as r2012.
2008-03-11 05:41:14 +00:00
Rodrigo Braz Monteiro
7c505f06d4 Improved Aegisub's exception handling and crash log generation.
Originally committed to SVN as r2008.
2008-03-10 06:28:21 +00:00
Niels Martin Hansen
bb31ddb1da Re-introduce the wxBevelButton control of old and use it for Commit button in subs edit area on wxMac builds.
Originally committed to SVN as r2006.
2008-03-09 23:40:45 +00:00
Niels Martin Hansen
7c8e990766 Revert r2004, wxEXPAND looks ugly.
Originally committed to SVN as r2005.
2008-03-09 23:00:03 +00:00
Niels Martin Hansen
f6e12ba05a Experimentally add wxEXPAND flags to style/actor/effect controls to possibly fix alignment problems on Mac.
Originally committed to SVN as r2004.
2008-03-09 22:54:24 +00:00
Niels Martin Hansen
1248cd264f Some changes to subs edit area toolbuttons sizing
Originally committed to SVN as r2003.
2008-03-09 22:31:16 +00:00
Rodrigo Braz Monteiro
c833156e8b Now attempting to solve automation issues with Evolutionary programming: keep changing random shit until something works well, repeat until fixed.
Originally committed to SVN as r2002.
2008-03-09 22:07:17 +00:00
Rodrigo Braz Monteiro
ed7a434a9e More messing around with Lua.
Originally committed to SVN as r2001.
2008-03-09 21:49:46 +00:00
Rodrigo Braz Monteiro
777242fce3 2000 GET!! Changed how the Lua factory is registered.
Originally committed to SVN as r2000.
2008-03-09 21:36:24 +00:00
Rodrigo Braz Monteiro
f8d7c69c15 Changed how the Perl factory is registered.
Originally committed to SVN as r1999.
2008-03-09 21:33:35 +00:00
Niels Martin Hansen
d7ad931526 Rename Automation4::LuaStackcheck::check() to avoid clash with some define somewhere.
Originally committed to SVN as r1998.
2008-03-09 21:09:51 +00:00
Rodrigo Braz Monteiro
f20fc57d22 Possible fix for Perl.
Originally committed to SVN as r1997.
2008-03-09 21:00:55 +00:00
Rodrigo Braz Monteiro
825b2f3af0 Fixed registration of Ruby automation.
p.s.: embedding ruby on vc++ sucks.

Originally committed to SVN as r1996.
2008-03-09 19:01:54 +00:00
Rodrigo Braz Monteiro
a72c3abb3c Changed the way that automation factories are registered.
Originally committed to SVN as r1995.
2008-03-09 18:19:15 +00:00
Rodrigo Braz Monteiro
9f5d3e7a6e More stuff in subs lib.
Originally committed to SVN as r1991.
2008-03-09 17:25:12 +00:00
Rodrigo Braz Monteiro
fe8ed21878 Added a "reverse" option to export framerate.
Originally committed to SVN as r1988.
2008-03-09 05:32:02 +00:00
Rodrigo Braz Monteiro
88b845852a Modifications for 2.1.2
Originally committed to SVN as r1987.
2008-03-09 04:16:52 +00:00
Niels Martin Hansen
49d7b55755 Possible fix for crash in LAVCKeyframes constructor
Originally committed to SVN as r1986.
2008-03-09 00:04:30 +00:00
Rodrigo Braz Monteiro
79b82b9167 Possible fix to lavc crash.
Originally committed to SVN as r1984.
2008-03-08 23:41:24 +00:00
Amar Takhar
48af40fa26 Add include/aegisub/* headers.
Originally committed to SVN as r1981.
2008-03-08 22:22:01 +00:00
Amar Takhar
af18413a7b Remove unused 'beautify' script.
Originally committed to SVN as r1980.
2008-03-08 22:21:44 +00:00
Amar Takhar
0e00389079 Add .c_str() to line 300 (filename).
Originally committed to SVN as r1976.
2008-03-08 20:38:03 +00:00
Amar Takhar
ad1d357c61 ADd missing video_provider_manager.cpp and remove video_provider.cpp.
Originally committed to SVN as r1975.
2008-03-08 20:37:32 +00:00
Rodrigo Braz Monteiro
8227971186 Another battle in the String Hell War
Originally committed to SVN as r1974.
2008-03-08 18:13:42 +00:00
Rodrigo Braz Monteiro
045f60da35 Reverted last commit.
Originally committed to SVN as r1973.
2008-03-08 18:04:51 +00:00
Amar Takhar
ea8d16dabe More s/wxString/Aegisub::String/ changes.
Originally committed to SVN as r1972.
2008-03-08 08:13:46 +00:00
Amar Takhar
fc14717b71 Fix header -> subtitles_provider_manager.h
Originally committed to SVN as r1970.
2008-03-08 07:51:23 +00:00
Amar Takhar
c501ae6e2e Add -Iinclude to the list of CXX_FLAGS.
Originally committed to SVN as r1969.
2008-03-08 07:50:10 +00:00
Amar Takhar
6246c3998d s/wxString/Aegisub::String/ in many places.
Originally committed to SVN as r1967.
2008-03-08 04:27:41 +00:00
Amar Takhar
7c4c825cef Missed a header change in the OpenAL header.
Originally committed to SVN as r1963.
2008-03-07 21:53:46 +00:00
Amar Takhar
576dd4576e s/audio_player.h/audio_player_manager.h/ for ALSA and OpenAL.
Originally committed to SVN as r1962.
2008-03-07 21:48:36 +00:00
Amar Takhar
b666b0aeb9 s/audio_provider.h/audio_provider_manager.h/ for ALSA, OpenAL and Pulse.
Originally committed to SVN as r1961.
2008-03-07 21:47:20 +00:00
Rodrigo Braz Monteiro
a8b4c5521d Fixed include in portaudio player.
Originally committed to SVN as r1960.
2008-03-07 21:43:45 +00:00
Rodrigo Braz Monteiro
abbab149a6 (Maybe) fixed lavc after previous commit.
Originally committed to SVN as r1959.
2008-03-07 21:27:36 +00:00
Rodrigo Braz Monteiro
6b12f54d72 Changed video provider to not depend on wxWidgets.
Originally committed to SVN as r1958.
2008-03-07 21:24:14 +00:00
Rodrigo Braz Monteiro
4f4f4cc91f Moved files relevant to providers to aegisub/include. A few things might be broken.
Originally committed to SVN as r1956.
2008-03-07 21:00:20 +00:00
Amar Takhar
09abd27acf Fix Hunspell support for the older versions (1.1.10 and older?)
Originally committed to SVN as r1955.
2008-03-07 16:38:55 +00:00
Alysson Souza
c93d6d57b2 Fixed #688, related to "Replace All" always being case sensitive
Originally committed to SVN as r1952.
2008-03-07 05:34:01 +00:00
Rodrigo Braz Monteiro
d40168007f Updated version.cpp for the new release.
Originally committed to SVN as r1951.
2008-03-07 04:21:26 +00:00
Amar Takhar
1cb32448ce Remove factory.h.
Originally committed to SVN as r1950.
2008-03-07 04:11:27 +00:00
Amar Takhar
39d0e31fa5 Add missing video_provider_cache.cpp.
Originally committed to SVN as r1948.
2008-03-07 03:52:19 +00:00
Rodrigo Braz Monteiro
f2ca0c4fd3 Removed obsolete registration for providers.
Originally committed to SVN as r1947.
2008-03-07 03:50:43 +00:00
Rodrigo Braz Monteiro
974efa126b Modified all providers to separate them between factory and factory manager. This will make plugin system easier. Also, made hunspell register manually as well.
Originally committed to SVN as r1946.
2008-03-07 02:32:29 +00:00
Rodrigo Braz Monteiro
6bdee2a765 Originally committed to SVN as r1945. 2008-03-07 00:47:57 +00:00
Amar Takhar
e65fdf1fcf The source files for universalcharset support can be compiled with or without
actual support.  If they're compiled without then we don't need the fake
library, if they are, then include them into a library so we can send the proper
CFLAGS.

Originally committed to SVN as r1944.
2008-03-07 00:35:48 +00:00
Amar Takhar
8c7eb8f404 Remove useless __WINDOWS__ wrap around USE_UNIVCHARSET
Originally committed to SVN as r1943.
2008-03-07 00:34:45 +00:00
Rodrigo Braz Monteiro
7d7ea83d23 -__-
Originally committed to SVN as r1940.
2008-03-07 00:17:03 +00:00
Rodrigo Braz Monteiro
eb5be3115a Fixed directshow... again.
Originally committed to SVN as r1939.
2008-03-07 00:09:58 +00:00
Rodrigo Braz Monteiro
9c8c8831ec Fixes to directshow video provider.
Originally committed to SVN as r1937.
2008-03-07 00:00:40 +00:00
Rodrigo Braz Monteiro
d9e254533a Hopefully fixed a crash with mouse wheel on associations Window.
Originally committed to SVN as r1936.
2008-03-06 23:41:27 +00:00
Rodrigo Braz Monteiro
cf3a233970 Prevented Aegisub from saving .txt files directly. (Fix for #653)
Originally committed to SVN as r1935.
2008-03-06 23:36:43 +00:00
Rodrigo Braz Monteiro
b19737c628 Fixed copying of video coordinates to clipboard.
Originally committed to SVN as r1934.
2008-03-06 23:27:54 +00:00
Rodrigo Braz Monteiro
03d4f3fc94 Fix for translation assistant (#669)
Originally committed to SVN as r1933.
2008-03-06 23:21:03 +00:00
Rodrigo Braz Monteiro
30f12ef7e8 Fixed lavc and directshow video providers.
Originally committed to SVN as r1932.
2008-03-06 22:34:28 +00:00
Amar Takhar
1b5175ef97 Sigh, remove one more reference to csri header files. I'm planning on redoing
the lower part of this file after we start moving to modules.

Originally committed to SVN as r1931.
2008-03-06 22:19:59 +00:00
Amar Takhar
b323e9b4f1 Forgot to remove the csri headers during the removal of the svn:externals link
to the include dir.

Originally committed to SVN as r1930.
2008-03-06 22:15:05 +00:00
Rodrigo Braz Monteiro
2c2664d4d8 Fixed some typos in csri subs provider header.
Originally committed to SVN as r1929.
2008-03-06 21:58:06 +00:00
Rodrigo Braz Monteiro
bb7177dcfb Fixed #662, that resulted in crashes when trying to load an empty avs file.
Originally committed to SVN as r1927.
2008-03-06 21:38:40 +00:00
Rodrigo Braz Monteiro
2e7a77ec64 Changed charset detection to always include local charset (hopeful fix to #676)
Originally committed to SVN as r1926.
2008-03-06 20:49:04 +00:00
Rodrigo Braz Monteiro
d447236571 Fixed issue #673, related to concatenation of null-timed lines.
Originally committed to SVN as r1924.
2008-03-06 19:57:14 +00:00
Rodrigo Braz Monteiro
9cd698f673 Fixed issue #675, that caused insertion of override tags to be unable to reach the end of the line when characters over U+7F were present.
Originally committed to SVN as r1923.
2008-03-06 19:53:45 +00:00
Rodrigo Braz Monteiro
3327fc0154 Fixed issue #674, related to ScaledBorderAndShadow being erased by Clean Script Info
Originally committed to SVN as r1922.
2008-03-06 19:43:47 +00:00
Rodrigo Braz Monteiro
853fbfaebd Fixed #671, related to VFR transformation erasing templater tags.
Originally committed to SVN as r1921.
2008-03-06 19:40:24 +00:00
Rodrigo Braz Monteiro
b1eb77e1b9 Ops, a few missing files from provider change.
Originally committed to SVN as r1920.
2008-03-06 19:21:18 +00:00
Rodrigo Braz Monteiro
bed7f3ed8d Modified the video provider interface to be a true interface, and moved all caching routines to another video provider that can be chained.
Originally committed to SVN as r1918.
2008-03-06 19:20:25 +00:00
Amar Takhar
db5580f1cc Make the csri.h header a relative include and wrap it with __WINDOWS__, in the
future I'll remove all of these ifdefs and fix the windows vcproj files so we
can have the same includes for all operating systems.

Originally committed to SVN as r1916.
2008-03-06 17:01:19 +00:00
Amar Takhar
b62b58ed6f Fix OpenAL on UNIX by wrapping the Windows headers with __WINDOWS__ (AL/al.h),
the OS X headers with __APPLE__ (OpenAL/AL.h).  The default will be the UNIX
location (AL/a.h).

Originally committed to SVN as r1908.
2008-03-05 20:16:31 +00:00
Amar Takhar
f55ffd6d91 * Add support for universalchardet
* Fix #ifdef for STIDO/fstream with a proper ifdef/else
 * Make auto3 subdir inclusion conditional
 * Rename libspell_hunspell to libmisc*

Please note that universalchardet is only set to work with X86 for now, I'll fi$
the rest later.

Originally committed to SVN as r1907.
2008-03-05 18:52:09 +00:00
Amar Takhar
896cfc112b Wrap ass/ass.h with __WINDOWS__ as the UNIX build uses the system version.
Originally committed to SVN as r1904.
2008-03-05 16:50:14 +00:00
Amar Takhar
8e8f45c715 Wrap LUA includes with __WINDOWS__, the Windows build uses rolled package that
has support for unicode pathnames, UNIX does not require this support so system
installs are used.

Originally committed to SVN as r1900.
2008-03-05 04:10:20 +00:00
Rodrigo Braz Monteiro
a9984a2741 Fixed a link error with libass.
Originally committed to SVN as r1898.
2008-03-05 03:46:29 +00:00
Rodrigo Braz Monteiro
c3d1128efd Blame you-know-who.
Originally committed to SVN as r1897.
2008-03-05 03:31:20 +00:00
Rodrigo Braz Monteiro
5795012adb Yet another fix, now to libass.
Originally committed to SVN as r1896.
2008-03-05 03:24:01 +00:00
Rodrigo Braz Monteiro
7659293a21 Fixed compiling of lavc video provider.
Originally committed to SVN as r1895.
2008-03-05 03:20:55 +00:00
Rodrigo Braz Monteiro
1b96e656ff ...And done making subtitle providers register manually. If anything goes wrong, blame movax.
Originally committed to SVN as r1894.
2008-03-05 02:58:11 +00:00
Rodrigo Braz Monteiro
ee61192c43 Made audio players register manually.
Originally committed to SVN as r1893.
2008-03-05 02:43:01 +00:00
Rodrigo Braz Monteiro
30d1aeb551 ops.
Originally committed to SVN as r1892.
2008-03-05 02:23:47 +00:00
Rodrigo Braz Monteiro
b1b2c3d7fb Changed audio providers to register manually.
Originally committed to SVN as r1891.
2008-03-05 02:19:50 +00:00
Rodrigo Braz Monteiro
59f1962e7c Changed video providers to be initialized explicitly. (Only avisynth tested, though)
Originally committed to SVN as r1890.
2008-03-05 02:05:01 +00:00
Niels Martin Hansen
5047295635 Separate general Auto4 support and Auto4 Lua support into different defines in source
Originally committed to SVN as r1889.
2008-03-04 23:17:07 +00:00
Amar Takhar
8798ebd38f s/AM_CPPFLAGS/AM_CXXFLAGS/, CXXFLAGS are sent to every file including libraries.
(This was a typo on my part that I didn't notice until now.)

Originally committed to SVN as r1887.
2008-03-04 17:16:32 +00:00
Amar Takhar
7b9af6a159 * Fix all per-conditional/'library' CFLAGS (this fixes all library building).
* Fix 1 cut-and-past-o

Originally committed to SVN as r1884.
2008-03-04 04:15:14 +00:00
Amar Takhar
f5764fa2e4 Add support for OpenAL.
Originally committed to SVN as r1880.
2008-03-04 00:59:02 +00:00
Amar Takhar
76ed1d4ad8 I forgot to add all the required libraries (on condition) to the final link.
Originally committed to SVN as r1875.
2008-03-03 09:59:59 +00:00
Amar Takhar
ed4e70fae8 Add preliminary support for the swscale library if swscale is not included
in ffmpeg, there are some linux distro's running ancient versions still.

Originally committed to SVN as r1872.
2008-03-03 08:57:08 +00:00
Amar Takhar
b1c441ff73 Commit the new build system (complete re-write), this includes several changes:
* Sane C/CXX/CPP/LDFLAGS
 * --with/--without settings
 * Proper gettext support
 * System portability changes (to support OS X and all other unix-like osen)
 * Features to allow for proper compile time settings (support exists features
   need to be added)

This comes with no warrenty at the moment, auto3 and asa support are both
incomplete/non-existent, there is no documentation and some conftests still nee$
to be written.

It's still incomplete try it at your own risk!

Originally committed to SVN as r1865.
2008-03-03 07:22:58 +00:00
Rodrigo Braz Monteiro
d23733da21 Hopefully fixed crash on search dialog.
Originally committed to SVN as r1861.
2008-02-15 21:47:09 +00:00
shb
5fd966f0f3 Various improvements to autoperl
Originally committed to SVN as r1858.
2008-02-03 19:21:02 +00:00
Rodrigo Braz Monteiro
9eb12b0f36 Fixed source-wide spelling of the word adjacent.
Originally committed to SVN as r1856.
2008-01-27 22:09:47 +00:00
Rodrigo Braz Monteiro
3ee6d78939 Increased the default vertical size of audio display from 100 to 200.
Originally committed to SVN as r1854.
2008-01-27 18:30:16 +00:00
Rodrigo Braz Monteiro
c583f15082 Fixed button to open assdraw... again
Originally committed to SVN as r1852.
2008-01-27 16:58:15 +00:00
Rodrigo Braz Monteiro
b2a854396c Fixed ASSDraw3 and building of auto4-perl with console disabled.
Originally committed to SVN as r1849.
2008-01-27 03:04:42 +00:00
shb
9a7012de0b Made PerlConsole compilation optional. Added a funny line in autoperl docs.
Originally committed to SVN as r1848.
2008-01-27 01:22:01 +00:00
Rodrigo Braz Monteiro
f6a7c5c98a Modified version string to say "RELEASE PREVIEW" instead of "PRE-RELEASE".
Originally committed to SVN as r1847.
2008-01-26 20:41:44 +00:00
Rodrigo Braz Monteiro
db1de1a8e0 Fixed a rogue long path (made it short path) in avs audio provider.
Originally committed to SVN as r1846.
2008-01-26 17:18:12 +00:00
Rodrigo Braz Monteiro
96bb7cbe53 Fix for avisynth.h for it to work with avisynthx64
Originally committed to SVN as r1845.
2008-01-26 16:57:46 +00:00
Rodrigo Braz Monteiro
346520fbce Removed a #pragma from wxstd.h (yay for forced full rebuild) and updated installer.
Originally committed to SVN as r1844.
2008-01-26 03:42:01 +00:00
Rodrigo Braz Monteiro
4157469ed2 Changed the splash screen for 2.1.x releases.
Originally committed to SVN as r1843.
2008-01-26 03:35:58 +00:00