Commit Graph

42 Commits

Author SHA1 Message Date
Amar Takhar 0763541848 Change how configuration works.
* move win32/config0.h -> config/config_windows0.h
  * move win32/stdint.h -> msvc/stdint.h
  * move posix/defines.h -> config/config_unix.h
  * add config.h - brings in config_(windows|unix).h as required
  * add config.h to *.cpp
  * Self-contain FFmpegSource2 with required function defines wrapped with
    __UNIX__ instead of the now removed defines.h.
  * Edit aegisub_vs2008.vcproj to remove explicit inclusion of config.h, also
    change VCPreBuildEventTool to create windows_config.h from
    windows_config0.h.  Add msvc to include path.
  * Change configure to create ./acconf.h instead of posix/acconf.h

This will allow us to create a more standard and platform agnostic way of
configuration aegsisub during build time.

Originally committed to SVN as r2621.
2009-01-04 06:31:48 +00:00
Niels Martin Hansen e737471043 Implement aegisub.video_size() function in Automation 4 Lua. Returns nil if no video is loaded, otherwise returns xres,yres,ar,artype.
Originally committed to SVN as r2337.
2008-09-10 16:53:23 +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 ed7a434a9e More messing around with Lua.
Originally committed to SVN as r2001.
2008-03-09 21:49:46 +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 a72c3abb3c Changed the way that automation factories are registered.
Originally committed to SVN as r1995.
2008-03-09 18:19:15 +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
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
Niels Martin Hansen 3d9eb3eba0 Fix #558, very fail fix. Unwrap function call from assert() and it's suddenly called a lot more often in release builds.
Originally committed to SVN as r1825.
2008-01-23 23:02:26 +00:00
Rodrigo Braz Monteiro 5cafaeb976 Fixed all (?) warnings on MSVC++ and made the default project treat warnings as errors. This fixed several 64-compatibility warnings, as well.
Originally committed to SVN as r1797.
2008-01-20 22:38:07 +00:00
Rodrigo Braz Monteiro c2aaa4eb8c Added shb's incomplete perl support code (doesn't build on VC++ yet)
Originally committed to SVN as r1741.
2008-01-16 18:29:29 +00:00
Rodrigo Braz Monteiro 75b4fb1437 Made almost all major components of Aegisub optional... this might be severely broken still.
Originally committed to SVN as r1660.
2007-12-31 06:46:22 +00:00
Niels Martin Hansen 35ea03c2ab Forgot one instance of WITH_AUTO3. Now fully killed. (Auto4 Lua no longer depends on Auto3 under any circumstances.)
Originally committed to SVN as r1502.
2007-08-17 02:34:29 +00:00
Niels Martin Hansen 9a85ba7b82 No longer allow loading Auto3 scripts with .lua extension.
Originally committed to SVN as r1501.
2007-08-17 02:16:41 +00:00
Niels Martin Hansen 9eb5ab4e25 Can now set the grid selected from a Lua macro. Should still work in Ruby too but can't test that. Don't blame me if it breaks.
Originally committed to SVN as r1384.
2007-07-06 14:26:04 +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 ce2b203251 Split out the LuaScriptReader class, though it might be futile.
Originally committed to SVN as r1154.
2007-05-01 21:51:49 +00:00
Niels Martin Hansen b1be9b3483 Intentionally break loading of Auto3 scripts to make people ask less. Auto3 scripts will for now always fail loading, displaying a message that they are not supported.
Originally committed to SVN as r1152.
2007-04-29 00:59:19 +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 97d996f995 Fixed all warnings while building on Linux, except for the ones on MatroskaParser.c and the ones about image conversion. Poke equinox for the later.
Originally committed to SVN as r1008.
2007-04-04 20:42:44 +00:00
Niels Martin Hansen 9c85a4795c Load/store Auto4 export filter settings to original subs file
Originally committed to SVN as r991.
2007-04-04 00:01:17 +00:00
Niels Martin Hansen 3a1d4ee18e Lua export filters didn't work when there was no configuration dialog function. Really stupid fix. Also, Lua include files are now more usable and karaskel pre-calculation actually works.
Originally committed to SVN as r940.
2007-02-20 02:50:40 +00:00
Niels Martin Hansen bfa2edbe04 Oops, forgot to include vfr.h, previous rev doesn't compile
Originally committed to SVN as r938.
2007-02-15 13:02:36 +00:00
Niels Martin Hansen ffe5558ba1 Added VFR handling functions to Auto4/Lua.
Originally committed to SVN as r937.
2007-02-15 12:56:36 +00:00
Niels Martin Hansen 30792ec961 Multiple export filters with same name are now allowed, name clashes are resolved by adding (1), (2) etc. to the names.
Fixes to error reporting from Lua, now the error messages are more concise, and instead of exploding with an error message box, the script is just marked as "not loaded" and the actual error as its description.

Originally committed to SVN as r936.
2007-02-14 00:43:01 +00:00
David Lamparter 9434459821 fix _script_factory name clash, how the heck is this supposed to work at all?
Originally committed to SVN as r915.
2007-01-30 22:16:50 +00:00
Rodrigo Braz Monteiro 297dbd74b8 Fixed almost a hundred warning messages issued with /W4 in VC++ (with warning 4100 disabled)
Originally committed to SVN as r891.
2007-01-24 03:54:32 +00:00
Niels Martin Hansen 2d1fdcdfb9 Fixes for building with wx 2.8 without 2.6-compat mode. (Hopefully) more workyness for config dialogs in auto3.
Originally committed to SVN as r876.
2007-01-22 19:31:49 +00:00
Niels Martin Hansen 91f0533a67 Auto4: Autoreload scripts on export, correctly save loaded scripts to subs file, make io and os libs available to scripts
Originally committed to SVN as r842.
2007-01-19 11:47:37 +00:00
Niels Martin Hansen 1dff6b2139 Auto4: Added aegisub.log as synonym for aegisub.debug.out
Originally committed to SVN as r836.
2007-01-18 20:55:40 +00:00
Niels Martin Hansen bbfb0e94d0 Auto4: Added trace level and format string support to aegisub.debug.out function
Originally committed to SVN as r835.
2007-01-18 20:47:56 +00:00
Niels Martin Hansen a2c8d7922e Auto3 engine for auto4 seems to work now
Originally committed to SVN as r833.
2007-01-18 08:15:02 +00:00
Niels Martin Hansen 4fae59c826 Started implementation of Auto3 compatibility engine
Originally committed to SVN as r803.
2007-01-15 22:19:50 +00:00
Niels Martin Hansen c3995de991 Possible fix for Automation text_extents function being inaccurate, yet untested
Originally committed to SVN as r798.
2007-01-15 17:02:39 +00:00
Niels Martin Hansen 818b31edc3 Fixes for misc. compiler warnings.
Originally committed to SVN as r797.
2007-01-15 15:27:13 +00:00
David Lamparter 6636b56a52 fix non-POD varargs
Originally committed to SVN as r765.
2007-01-11 01:29:01 +00:00
Niels Martin Hansen 34e0ef4145 Selectable thread priority for Auto4/Lua
Originally committed to SVN as r754.
2007-01-10 02:51:11 +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 9499b17d18 More fixes for non-win32 building
Originally committed to SVN as r695.
2007-01-03 19:16:29 +00:00
Niels Martin Hansen 576f43249a CHANGED AUTO4 API: Removed the option for selecting which menu to put a macro in, since it wasn't used.
Originally committed to SVN as r691.
2007-01-03 04:31:17 +00:00
Niels Martin Hansen cb08347bdc Fixed loading utf8-bom Lua scripts
Originally committed to SVN as r688.
2007-01-03 03:39:15 +00:00
Rodrigo Braz Monteiro 06cff2e2f2 Renamed /core/ to /aegisub/ to avoid issues with unix systems being unable to delete core dumps.
Originally committed to SVN as r652.
2006-12-28 23:43:23 +00:00