Commit graph

1948 commits

Author SHA1 Message Date
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
Amar Takhar
e0d98de508 Fix one more conditional (for lua51).
Originally committed to SVN as r2040.
2008-03-13 07:35:39 +00:00
Rodrigo Braz Monteiro
bcb87d1ebd Made Aegilib::Exception derive from std::exception.
Originally committed to SVN as r2039.
2008-03-13 07:28:30 +00:00
Amar Takhar
dff23e8cd3 Fix typo(s), also fix the conditionals that enabled/disabled auto3/4 supported
based on the --with* flags being supplied.  Not sure what I was thinking
originally, or if I was at all.

Originally committed to SVN as r2038.
2008-03-13 07:16:53 +00:00
Rodrigo Braz Monteiro
433997b43e Subs lib can now mostly read and write SSA, ASS and ASS2 files, except for a few features missing: hard comments, unknown sections and files are stripped
Originally committed to SVN as r2037.
2008-03-13 07:05:53 +00:00
Karl Blomster
e6b2bfd74b libmp3lame cannot actually be used as a decoder in ffmpeg. Removed --enable-broken-mp3 switch from configure.in. Note to self: yell at verm__ for this.
Originally committed to SVN as r2036.
2008-03-13 06:34:58 +00:00
Rodrigo Braz Monteiro
18e6684cff Some far-from-complete ASS file writing.
Originally committed to SVN as r2035.
2008-03-13 05:39:03 +00:00
Rodrigo Braz Monteiro
a3755cc6e4 Modified the subs lib to use TR1's shared_ptr.
Originally committed to SVN as r2034.
2008-03-13 03:42:27 +00:00
Amar Takhar
3ab038d373 Whoops, missed some of the lua50 glue, also remove some old crufted that was
commented out.

Originally committed to SVN as r2033.
2008-03-13 03:36:09 +00:00
Amar Takhar
44acbee51f Add some more headings to make the script more readable. (it's about to get a
lot more complex)  Also move the lua50 block below the lua51 block.

Originally committed to SVN as r2032.
2008-03-13 03:25:29 +00:00
Rodrigo Braz Monteiro
d70d4407e7 Subs library should now be able to fully parse ASS files, except for file attachments. It's also missing any way of parsing override tags, and the interface accessors are incomplete.
Originally committed to SVN as r2031.
2008-03-13 00:51:31 +00:00
Amar Takhar
f5746ee0fc Add a trailing " (noticed by amz)
Originally committed to SVN as r2030.
2008-03-12 21:51:08 +00:00
Amar Takhar
2ecfca5ac8 Remove redundant variable, some indendation fixes.
Originally committed to SVN as r2029.
2008-03-12 21:39:44 +00:00
Rodrigo Braz Monteiro
3b7dce9c8e Some code simplification on the subs lib.
Originally committed to SVN as r2028.
2008-03-12 19:28:24 +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
Amar Takhar
f74845e12b Hopefully these are the (near) final changes to autogen, some things need to be
fixed but it's far better than what we had before.

Originally committed to SVN as r2023.
2008-03-11 20:07:12 +00:00
Amar Takhar
6d6ac1b18e Remove an old conditional for Makefile.bitmaps generation, it's speedy now that
it uses AWK, the old way was an SH script which made a conditional worthwhile.

Originally committed to SVN as r2022.
2008-03-11 17:07:06 +00:00
Amar Takhar
1d34474ca6 Hopefully make autogen.sh more robust by checking for m4 files and AWK/convert.
I've also added a blaring (hopefully) notice about not supporting the SVN
version.  There are no 'official' distfiles yet, but I'm working on that, for
now they can try their luck with the SVN version anyway.

Originally committed to SVN as r2021.
2008-03-11 16:43:49 +00:00
Amar Takhar
4c3dde50f6 Add two new switches --enable-wx-opengl and --enable-wx-styledtextctrl, useful
for development purposes, but also useful to avoid invoking the wonderfully slow
g++ to test for availability during multiple ./configure runs.

Originally committed to SVN as r2020.
2008-03-11 07:24:10 +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
Amar Takhar
1e6956338f Align --help messages (what a pain.)
Originally committed to SVN as r2011.
2008-03-11 05:11:19 +00:00
Amar Takhar
8749c97d9f Whoops, originally the switch was --with-broken-mp3 but I changed it to
--enable-broken-mp3 (correct) but forgot to update the notice.  (noticed by amz)

Originally committed to SVN as r2010.
2008-03-11 05:02:29 +00:00
Amar Takhar
5776b387a2 Fix conditional for 'with_automation' in the lua50 case, also fix
WITH_AUTOMATION conditional which was enabling if auto3 support was turnd on
(should have been conditional on $with_automation)

Originally committed to SVN as r2009.
2008-03-11 05:01:30 +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
Rodrigo Braz Monteiro
437dbdc8f4 Style parsing implemented.
Originally committed to SVN as r2007.
2008-03-10 03:08:33 +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