Commit graph

151 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
Amar Takhar
48af40fa26 Add include/aegisub/* headers.
Originally committed to SVN as r1981.
2008-03-08 22:22:01 +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
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
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
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
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
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
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
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
shb
b2518f9ca1 New and reorganized perl sources. Autotools patched accordingly. Win build must be fixed.
Originally committed to SVN as r1827.
2008-01-24 17:20:47 +00:00
Rodrigo Braz Monteiro
849921c7c5 Added some initial code for DVD .sup generation (get lines from renderer and output them as 4-colour PNG files). This is currently only available on debug builds.
Originally committed to SVN as r1802.
2008-01-21 03:58:14 +00:00
Rodrigo Braz Monteiro
da6af1f5b2 Applied niks-'s patch for Makefile.am
Originally committed to SVN as r1781.
2008-01-19 17:39:50 +00:00
Rodrigo Braz Monteiro
ca1d42ba55 Added a conversion audio provider to convert 8-bit audio into 16-bit.
Originally committed to SVN as r1774.
2008-01-19 02:18:08 +00:00
Rodrigo Braz Monteiro
a8fa4b49ae Applied 2points' patch for keyframe support in AVI files in Unix systems
Originally committed to SVN as r1640.
2007-10-29 18:48:02 +00:00
Alysson Souza
3518f381a7 Added support for reading keyframes from xvid pass files
Originally committed to SVN as r1535.
2007-08-26 00:00:37 +00:00
Niels Martin Hansen
93f6ef6d7a Issue #113 - reading PCM audio directly from disk. Almost works, but downsampling from non-mono to mono seems to be broken.
Originally committed to SVN as r1528.
2007-08-22 20:58:53 +00:00
Rodrigo Braz Monteiro
d6b5c8fbb9 demi` patch: Added a new "Video Details" dialog, that lists some information regarding the currently open video.
Originally committed to SVN as r1520.
2007-08-19 22:21:41 +00:00
Rodrigo Braz Monteiro
8e5e70cf8b Originally committed to SVN as r1510. 2007-08-18 02:00:20 +00:00
Rodrigo Braz Monteiro
fec497a047 Split the font file lister in a base class and two subclasses, freetype for win32 (implemented) and fontconfig for everything else (todo)
Originally committed to SVN as r1452.
2007-07-29 01:21:28 +00:00
Rodrigo Braz Monteiro
52904f6217 demi's patches #3: Added a dialogue to text importing, asking which character to use as comment and actor separator.
Originally committed to SVN as r1427.
2007-07-16 03:22:11 +00:00
Rodrigo Braz Monteiro
1af87b0808 Added freehand and smoothed freehand drawing to vector \clip.
Originally committed to SVN as r1386.
2007-07-07 05:51:18 +00:00
Rodrigo Braz Monteiro
1212de942b Added a 2D vector class from my old Allegro Wrapper, Halley.
Originally committed to SVN as r1369.
2007-07-05 13:53:10 +00:00
Rodrigo Braz Monteiro
570321722b Barely function vector clip tool implemented
Originally committed to SVN as r1364.
2007-07-05 04:32:46 +00:00
Rodrigo Braz Monteiro
5e25ffe30b Unused, incomplete and untested spline class added.
Originally committed to SVN as r1363.
2007-07-05 02:01:12 +00:00
Rodrigo Braz Monteiro
c498c3a0b7 Re-implemented visual typesetting clip, and added a stub for drag.
Originally committed to SVN as r1329.
2007-07-01 03:36:17 +00:00
Rodrigo Braz Monteiro
4dd3a031c6 Re-implemented scaling to visual typesetting.
Originally committed to SVN as r1328.
2007-07-01 03:17:56 +00:00
Rodrigo Braz Monteiro
d06fdfda65 Fixed rotate z and re-implemented rotate xy.
Originally committed to SVN as r1327.
2007-07-01 02:46:12 +00:00
Rodrigo Braz Monteiro
a1050db3f3 Re-implemented z rotation on visual typesetting
Originally committed to SVN as r1326.
2007-07-01 02:23:57 +00:00
Rodrigo Braz Monteiro
7e8de1c389 Visual tools rewriting, currently only the crosshair works.
Originally committed to SVN as r1324.
2007-07-01 00:19:55 +00:00
Rodrigo Braz Monteiro
f963a8c462 lol, grammar.
Originally committed to SVN as r1323.
2007-06-30 22:14:50 +00:00
Rodrigo Braz Monteiro
af9af29419 Very early reform to visual typesetting, in order to implement the more advanced tools.
Originally committed to SVN as r1322.
2007-06-30 21:56:15 +00:00
Rodrigo Braz Monteiro
9acbb6a356 Added an untested singleton class to manage tooltips of buttons and account for changes in them when hotkey bindings change.
Originally committed to SVN as r1320.
2007-06-30 20:32:02 +00:00
Niels Martin Hansen
7c002835d8 I forgot Makefile.am too
Originally committed to SVN as r1293.
2007-06-23 00:36:07 +00:00
Rodrigo Braz Monteiro
2b8fc2a2d5 Moved a lot of the subs_edit_ctrl functionality into a class of its own, so it can be reused elsewhere.
Originally committed to SVN as r1289.
2007-06-22 23:43:21 +00:00
David Lamparter
2d1df509f4 fix auto* library referencing
Originally committed to SVN as r1282.
2007-06-21 20:41:17 +00:00
Rodrigo Braz Monteiro
4825235896 Forgot to update makefile AGAIN.
Originally committed to SVN as r1275.
2007-06-20 21:26:39 +00:00
Rodrigo Braz Monteiro
fa293466d6 Semi-functional new fonts collector, using jfs's freetype2 font finding engine. Only font copying and checking work... and stuff also needs general tweaking.
Originally committed to SVN as r1270.
2007-06-20 05:18:47 +00:00
Rodrigo Braz Monteiro
fd9f14573d Added support for adobe encore export (both PAL and NTSC)
Originally committed to SVN as r1262.
2007-06-19 05:04:15 +00:00
Rodrigo Braz Monteiro
9b880fd963 Modified makefile to include the two new subtitle formats.
Originally committed to SVN as r1253.
2007-06-18 18:27:27 +00:00
Niels Martin Hansen
b40b5b325a Killed off setup.h - only feature still controlled by it was PRS export, which in its current state is worthless. It can be re-enabled by defining USE_PRS=1 during build.
Originally committed to SVN as r1215.
2007-06-08 00:37:24 +00:00
Niels Martin Hansen
1a5906f97c Removed FexTracker for good.
Originally committed to SVN as r1214.
2007-06-08 00:30:37 +00:00
Niels Martin Hansen
b3c15d8d2e Somewhat working auto3 on Linux, still needs some minor fixing
Originally committed to SVN as r1167.
2007-05-07 16:44:26 +00:00
Niels Martin Hansen
d3bf280993 Building on POSIX seems fixed again
Originally committed to SVN as r1166.
2007-05-07 14:22:18 +00:00
Niels Martin Hansen
e659a5d12f Separate Auto3 lib seems to work on Windows now... changed the GNU build system a bit so it shouldn't try to build Auto3 yet. (Still some decisions to be made about where the lib should be placed and how it should be loaded.) Building on POSIX might break now...
Originally committed to SVN as r1159.
2007-05-03 17:57:21 +00:00
Niels Martin Hansen
2785821a62 Forgot to add Lua scriptreader to Makefile.am
Originally committed to SVN as r1156.
2007-05-02 17:29:32 +00:00
Niels Martin Hansen
d244277ac9 More fixing build system
Originally committed to SVN as r1148.
2007-04-26 21:38:42 +00:00
Niels Martin Hansen
dcfb3fc2ed Killed off unused boost headers.
And final commit in Makefile.am updates for now... I hope.

Originally committed to SVN as r1135.
2007-04-25 02:03:02 +00:00
Niels Martin Hansen
14582ad00a Fixed Alsa player, now mostly works. (Incorrect position reporting, strange samplerate glitch at start of playback.) And more fixes to build system.
Originally committed to SVN as r1128.
2007-04-24 22:29:27 +00:00
Niels Martin Hansen
a278e4e4a3 More fixing of build system: Properly link GL framework on OS X (I hope.) FFmpeg is now optional. Check for a working pthreads. More detailed warnings when no audio players or video/audio providers are available.
Originally committed to SVN as r1127.
2007-04-24 00:52:49 +00:00
Niels Martin Hansen
0617076b72 Added (broken) PulseAudio audio player. It currently deadlocks.
Originally committed to SVN as r1118.
2007-04-23 02:30:27 +00:00
Rodrigo Braz Monteiro
244b28ecf1 Ruby should hopefully work on posix now, but is hopefully optional. Aegisub is a project made of hopes.
Originally committed to SVN as r1116.
2007-04-22 22:20:53 +00:00
Niels Martin Hansen
5851f0561f Implemented (seemingly broken) Alsa audio player.
Fixed hunspell-related bugs in autoconf/automake system.

Originally committed to SVN as r1114.
2007-04-22 21:59:35 +00:00
Niels Martin Hansen
cf2d2ff5d4 Fixed "cannot wait for thread termination (invalid handle)" error in Auto4/Lua on wxMSW 2.8.3 by removing threading dependency in Auto4LuaScript::Create. It wasn't needed there anyway.
Also removed absolute dependency on hunspell, Aegisub should just build without spellchecking support now. Finally removed requirement to have built with at least one spellchecker. (That was stupid.)

Originally committed to SVN as r1112.
2007-04-22 15:45:29 +00:00
Rodrigo Braz Monteiro
7f6c3a4ba1 1111 GET - failed attempt to get Ruby to work (commented out) and made PortAudio optional (I hope)
Originally committed to SVN as r1111.
2007-04-22 07:04:31 +00:00
Rodrigo Braz Monteiro
8a7fc29c5d Fixed makefile to include two missing cpp files
Originally committed to SVN as r1094.
2007-04-18 19:44:45 +00:00
Rodrigo Braz Monteiro
e6331a182a Forgot to add browse button to linux makefile
Originally committed to SVN as r1089.
2007-04-17 23:03:08 +00:00
Rodrigo Braz Monteiro
50f63ba3fe Style editor layout redesign and added a style preview box to it (doesn't autoupdate yet, though).
Originally committed to SVN as r1079.
2007-04-16 04:26:42 +00:00
Rodrigo Braz Monteiro
a891964bc2 Merged the hotkeys dialog into the options dialog.
Originally committed to SVN as r1058.
2007-04-11 21:24:31 +00:00
Rodrigo Braz Monteiro
2e1263055b Moved stdint.h to win32 to avoid issues with Linux, and removed
video_zoom.cpp from Linux makefile.

Originally committed to SVN as r1056.
2007-04-10 16:16:31 +00:00
David Lamparter
5b0255a59d check for libass / add --with[out]-libass parameter to configure
Originally committed to SVN as r1006.
2007-04-04 19:40:06 +00:00
David Lamparter
758cd7e2e7 enable make dist
Originally committed to SVN as r1005.
2007-04-04 18:50:43 +00:00
Rodrigo Braz Monteiro
2b680c3e5b libass reimplemented on subtitles_provider_libass.cpp, although still slightly buggy. It will be built on Linux by default (it has been added to aegisub/Makefile.am)
Originally committed to SVN as r999.
2007-04-04 03:57:12 +00:00
Niels Martin Hansen
c9ce15bb01 GUI for dummy video provider
Originally committed to SVN as r977.
2007-04-02 18:28:09 +00:00
Rodrigo Braz Monteiro
14edd1fe3b Added dummy video provider.
Originally committed to SVN as r972.
2007-04-01 22:06:00 +00:00
David Lamparter
ae37b2481f CSRI helper library; fixup build system while at it
Originally committed to SVN as r968.
2007-03-31 22:04:57 +00:00
Rodrigo Braz Monteiro
b44540e63f Added video_provider_lavc.cpp to the unix makefile.
Originally committed to SVN as r960.
2007-03-28 01:59:14 +00:00
David Lamparter
66b91c41c3 enable FexTracker on unix, and fix a bulkload of warnings in it
Originally committed to SVN as r916.
2007-01-30 23:09:33 +00:00
David Lamparter
0e39514e14 add new files
Originally committed to SVN as r914.
2007-01-30 22:13:26 +00:00
David Lamparter
3ab9822ed3 bring Makefile.am up to date; fix win32 CSRIAPI spec
Originally committed to SVN as r890.
2007-01-24 03:03:16 +00:00
Niels Martin Hansen
b355cf0f3d Some details for auto3 engine...
Originally committed to SVN as r834.
2007-01-18 18:49:36 +00:00
David Lamparter
88a00fbdb0 make it build on Linux
Originally committed to SVN as r767.
2007-01-11 03:52:17 +00:00
Niels Martin Hansen
c0b3721a7f Fixed karaoke mode committing
Other minor fixes/cleanup

Originally committed to SVN as r753.
2007-01-10 01:36:05 +00:00
Rodrigo Braz Monteiro
d0c0e2a318 Early operation visual typesetting.
Originally committed to SVN as r746.
2007-01-09 01:52:30 +00:00
Rodrigo Braz Monteiro
6ea8475941 New class to isolate visual typesetting
Originally committed to SVN as r745.
2007-01-08 21:11:06 +00:00
Rodrigo Braz Monteiro
43841c24b8 Implemented a version checker that can automatically or manually check if there are any updates to Aegisub, and a few other tweaks.
Originally committed to SVN as r736.
2007-01-07 22:54:04 +00:00
Niels Martin Hansen
326fbe8961 Misc fixes for building on GCC
Originally committed to SVN as r697.
2007-01-03 21:18:19 +00:00
Niels Martin Hansen
57451272ff Changes to fix building on non-Win32 systems (hopefully)
Originally committed to SVN as r673.
2007-01-01 19:45:32 +00:00