Commit graph

2086 commits

Author SHA1 Message Date
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
Niels Martin Hansen
9c85947f02 Scrap all the CImg stuff entirely.
Originally committed to SVN as r2081.
2008-03-20 02:40:18 +00:00
Rodrigo Braz Monteiro
4e2415a353 Added some commented out hackish code to test tesseract.
Originally committed to SVN as r2080.
2008-03-18 08:06: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
Rodrigo Braz Monteiro
a7b73fc2da Renamed Gorgonsub into Athenasub.
Originally committed to SVN as r2078.
2008-03-18 03:44:00 +00:00
Rodrigo Braz Monteiro
cd9d6f1cfb Some refactoring and a new way to read data.
Originally committed to SVN as r2077.
2008-03-18 02:09:33 +00:00
Rodrigo Braz Monteiro
39938d213a Implemented a multi-line modification action. Still a bit hacky, but works well.
Originally committed to SVN as r2076.
2008-03-17 07:19:33 +00:00
Rodrigo Braz Monteiro
18488241e8 Added a to-do list for gorgonsub.
Originally committed to SVN as r2075.
2008-03-17 02:50:15 +00:00
Rodrigo Braz Monteiro
cd7bc441f4 A few more tweaks.
Originally committed to SVN as r2074.
2008-03-17 02:10:10 +00:00
Rodrigo Braz Monteiro
939b49b82d Further optimizations to UTF-8 saving code.
Originally committed to SVN as r2073.
2008-03-17 02:05:37 +00:00
Rodrigo Braz Monteiro
c870465dee Added a few mostly unimplemented classes, and wrote my own custom (experimental) UTF-8 writer, which made writing UTF-8 subtitles almost twice as fast.
Originally committed to SVN as r2072.
2008-03-17 01:32:26 +00:00
Rodrigo Braz Monteiro
22b97b55d1 Updated ignores and added Aegisub ICL project.
Originally committed to SVN as r2071.
2008-03-16 18:22:45 +00:00
Rodrigo Braz Monteiro
d99933ddd9 Fixed all Gorgonsub headers (mental note: namespaces don't end with a semi-colon) and added some VC9/ICL projects.
Originally committed to SVN as r2070.
2008-03-16 18:09:25 +00:00
Rodrigo Braz Monteiro
8e8f4bf530 Added a delta coder specific for ASS dialogue entries that seems (from very simple tests) to work. Warning: code not for the faint of heart.
Originally committed to SVN as r2069.
2008-03-16 06:41:23 +00:00
Rodrigo Braz Monteiro
072d747921 Some re-structuring of the ass parser in gorgonsub.
Originally committed to SVN as r2068.
2008-03-16 03:31:51 +00:00
Rodrigo Braz Monteiro
fb1de2da07 Added a "modify line" action.
Originally committed to SVN as r2067.
2008-03-16 02:20:34 +00:00
Rodrigo Braz Monteiro
0a0f383b4a Added a small .cpp file (console program) to show how a pipeline is done in OpenMP.
Originally committed to SVN as r2066.
2008-03-16 00:32:42 +00:00
Rodrigo Braz Monteiro
da0a10ce99 Modified the action system to be more OO.
Originally committed to SVN as r2065.
2008-03-15 22:02:16 +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
Rodrigo Braz Monteiro
ca63097e90 Fixed UTF-16 support on gorgonsub, and, incidentally, it's ~20% faster than UTF-8.
Originally committed to SVN as r2063.
2008-03-15 08:36:52 +00:00
Rodrigo Braz Monteiro
16bcf0c942 Now loading 4.5 MB in 220 ms! :D
Originally committed to SVN as r2062.
2008-03-15 06:21:11 +00:00
Rodrigo Braz Monteiro
e31b424064 Changed parsing of Time tags, which results in ~30% faster ASS loading.
Originally committed to SVN as r2061.
2008-03-15 04:28:47 +00:00
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