Commit graph

2063 commits

Author SHA1 Message Date
Rodrigo Braz Monteiro
d6d3f8aecb Made gorgonsub's UTF-8/ASCII parser much faster, resulting in a 2x subtitles reading speedup for such files.
Originally committed to SVN as r2060.
2008-03-15 03:24:38 +00:00
Rodrigo Braz Monteiro
98d5794f20 Increased gorgonsub's ASS write speed with large files 3.5x by getting rid of wxString conversion and concatenation routines and writing my own.
Originally committed to SVN as r2059.
2008-03-15 00:29:17 +00:00
Niels Martin Hansen
2cbf0e587d Change a variable to size_t since that's what it should be.
Originally committed to SVN as r2058.
2008-03-14 19:42:13 +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
Niels Martin Hansen
50ba0270a1 Adding a test of various features of the ASS format. Will make a render of it using VSFilter later on.
Originally committed to SVN as r2056.
2008-03-14 19:21:46 +00:00
Rodrigo Braz Monteiro
fd8e6952da Added prefetching code to textfilereader, that presumably doesn't work because I'm working on a console.
Originally committed to SVN as r2055.
2008-03-14 08:00:55 +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
Rodrigo Braz Monteiro
108671175c Greatly improved I/O speed on gorgonsub
Originally committed to SVN as r2053.
2008-03-14 06:10:54 +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
828ada86b0 Undo/redo on gorgon seem to work.
Originally committed to SVN as r2050.
2008-03-14 03:59:46 +00:00
Rodrigo Braz Monteiro
000271c087 Broken undo/redo stack on gorgonsub
Originally committed to SVN as r2049.
2008-03-14 03:33:27 +00:00
Rodrigo Braz Monteiro
b073b7d28d Gorgonsub is now capable of doing some simple manipulation (i.e. line insertion).
Originally committed to SVN as r2048.
2008-03-14 02:02:48 +00:00
Rodrigo Braz Monteiro
bb425f8a86 Renamed Aegilib to Gorgonsub.
Originally committed to SVN as r2047.
2008-03-13 21:28:22 +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
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