David Capello
6b4591c5fd
Add shell mode to execute scripts interactively.
...
- Added Shell class.
- Added base::SystemConsole to adjust stdin/stdout on Windows platform.
2012-09-08 20:10:48 -03:00
David Capello
3c1ee303c6
Replace CheckArgs with app::AppOptions/base::ProgramOptions classes
2012-09-05 21:14:42 -03:00
David Capello
810b082500
Add scripting-lib (link with v8 when it's available)
2012-09-02 17:35:14 -03:00
David Capello
d46616e71f
Fix problems with Allegro + MacOSX + main().
...
Renamed the application main to app_main() so it's called from "she"
library. It's impossible to avoid dirty main() tricks with Allegro 4.
2012-08-24 00:24:51 -03:00
David Capello
e976005cdd
Initialize random seed in main.cpp.
2012-08-16 11:17:49 -03:00
David Capello
35f1249662
Add "she" layer.
...
This is the starting point to create a layer to isolate Allegro access.
In the future, we will be able to switch to SDL or Allegro 5 easily.
Anyway this will be a progressive refactoring.
2012-07-14 16:55:16 -03:00
David Capello
cd23721a97
Add MainWindow & MainMenuBar, and replace rootmenu module with AppMenus class.
...
Also the ToolBar widget was published in the toolbar.h header file.
2012-07-09 13:20:58 -03:00
David Capello
14dd4e7ae2
Add GUI library stuff into "ui" namespace (now ui-lib).
2012-06-17 22:02:54 -03:00
David Capello
78d3b80df3
Add ScopedAllegro class.
2012-05-12 23:25:36 -03:00
David Capello
b8fbaad7fb
Replace Allegro Sprite Editor or ASE with ASEPRITE in all files.
2012-01-06 01:12:57 -03:00
David Capello
02a9d50524
Update copyright year to 2012.
2012-01-06 00:52:11 -03:00
David Capello
ed6090bc36
Convert all newline to LF style and remove all tabs.
...
This was done to avoid mixed files (CRLF & LF) in the repository.
2012-01-05 19:45:03 -03:00
David Capello
f767c06761
Add MemoryDump class in base library to create mini-memory dumps on win32 platform.
2011-10-29 12:30:49 -03:00
David Capello
36e605bdf2
Move jmalloc/jfree to base/ library as base_malloc/free (remove new/new0/renew macros).
2011-01-23 19:19:18 -03:00
David Capello
45855b88d3
Move "AseException" to "base::Exception" class.
...
+ Created XmlException for tinyxml parsing errors.
+ Moved functionality of AseException::show() to Console::showException().
2011-01-20 23:33:57 -03:00
David Capello
e914c9ad6a
Rename ase_exception to AseException.
2011-01-20 18:03:11 -03:00
David Capello
d6eb20ef7e
Update copyright year to 2011.
2011-01-18 20:49:53 -03:00
David Capello
9562e3e714
Add resize support to Allegro library (Windows port is ready).
...
+ Add acknowledge_resize() function.
+ Add set_resize_callback() function and RESIZE_DISPLAY_EVENT structure.
2010-10-30 20:37:31 -03:00
David Capello
818e286c84
Remove Vaca::Application class. Move Vaca::String class to src/base/string.h (and split_string and convert_to algorithms to src/base/).
2010-09-28 15:36:03 -03:00
David Capello
99adf98c0f
Remove jexception, leave ase_exception only.
2010-09-18 00:12:53 -03:00
David Capello
712e357ab2
Avoid some compilation warnings and errors with gcc on linux.
2010-07-23 16:51:11 -03:00
David Capello
055af25600
Only unknown exceptions (invalid memory access, etc) are not caught in debug mode.
2010-04-06 08:27:53 -03:00
David Capello
bc4e08f454
Added Vaca::Application and Vaca/main.h, and removed Vaca::System.
...
Now the application compiles with MinGW.
2010-03-30 10:22:47 -03:00
David Capello
a7ecb08f2c
Fixed some GCC warnings and errors.
2010-03-30 09:48:19 -03:00
David Capello
5ae14b550b
Added Vaca::String class.
...
Added Vaca::Exception class.
Added Vaca::System class.
Added vaca_main().
The main/WinMain is defined inside vaca library.
2010-03-12 23:16:05 -02:00
David Capello
2d3cfe116b
Removed try{}catch in DEBUGMODE to get the exception in the debugger.
2010-03-07 11:49:56 -02:00
David Capello
031c8d187b
Changing ASE name to aseprite.
2010-02-28 22:16:58 -02:00
David Capello
b747ccdaa6
Updated copyright year to 2010
2010-02-01 21:25:40 +00:00
David Capello
96759c9c17
Converted all TRUE/FALSE to C++ true/false
2010-01-30 16:43:13 +00:00
David Capello
017ece697f
Now XML files are loaded with tinyxml library
2009-12-16 23:24:57 +00:00
David Capello
11a094cb05
Moved app.cpp from src/core/ to src/
2009-12-11 14:53:05 +00:00
David Capello
336f3feb64
Added resizable capability (with a patched version of Allegro). It must be enabled through the special flag HAVE_RESIZE_PATCH.
2009-11-22 14:39:52 +00:00
David Capello
33ca3cf8e0
Added support to load png files through Allegro library (now you can save/load palettes in PNG files)
2009-11-19 00:34:07 +00:00
David Capello
f2f78377ad
Added IAppHook interface for a cleaner event/hook interface.
2009-10-14 14:09:59 +00:00
David Capello
5455136f35
Internal refactoring of commands to support record/play macros in the near future.
2009-10-09 01:34:06 +00:00
David Capello
67a830183b
+ Modified makefile.vc to handle a completelly static compilation with VC++9.0 Express Edition
...
(the new compiler used for the following Win32 binary releases).
+ Modified some error handling code to use C++ exceptions.
+ Modified some collections (std::vector, std::map, etc.) from instances to pointers.
2009-08-05 01:53:02 +00:00
David Capello
8ac979667c
Fixed compilations problems with ase_exception and JWidgetPtr with g++
2009-06-11 15:50:10 +00:00
David Capello
3885f37f45
+ CurrentSprite class was split in SpriteWrapper/Reader/Writer, and CurrentSpriteReader/Writer wrappers.
...
+ More routines are using exceptions for error handling.
+ Added JWidgetPtr class.
+ Added Undoable::set_imgtype/layer_from_background/flatten_layers.
2009-06-11 15:11:11 +00:00
David Capello
8e498470d5
Fixed bug #2511762 (thanks to Clayton Enga for the patch).
...
Added the feature #2419098 (David Campo idea).
2009-01-24 00:41:01 +00:00
David Capello
6562d7071a
Now the file-system core routines use jstring (std::string) instead of char*.
...
Overloaded new and delete when MEMLEAK is activated (to use jmalloc and
jfree so memory leaks can be detected).
2008-10-13 21:43:41 +00:00
David Capello
a587132ffe
Project converted to C++.
2008-09-30 21:01:54 +00:00