Commit Graph

1820 Commits

Author SHA1 Message Date
David Capello
44b8822e38 Remove deprecated MessageSignal message 2012-09-26 17:55:41 -03:00
David Capello
4ea2c69dae Fix compilation error in the dummy implementation of SystemConsole. 2012-09-26 17:26:41 -03:00
David Capello
0496f38ed3 Fix a typo in all files distributed under BSD-like and Allegro licenses
Thanks to Tobias Hansen.
2012-09-23 23:24:43 -03:00
David Capello
b51530e45d Merge branch 'dev' of git@github.com:dacap/aseprite.git into dev 2012-09-15 12:16:10 -03:00
David Capello
1426851928 Do not include scripts folder in the tarball 2012-09-14 20:31:17 -03:00
David Capello
64c50c672f Do not include loadpng library in the tarball 2012-09-14 20:31:08 -03:00
David Capello
9308d290e2 Add System::createEventLoop() (not yet functional) 2012-09-13 20:13:50 -03:00
David Capello
f0d8703ad8 Add app::Project class to handle projects in the near future. 2012-09-13 19:57:37 -03:00
David Capello
da9e9fd062 Fix algofill.cpp and rotate.cpp files to refer to the correct license. 2012-09-13 19:12:40 -03:00
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
2acef11c55 Add missing FindV8.cmake to use find_package(V8) 2012-09-05 21:22:47 -03:00
David Capello
3c1ee303c6 Replace CheckArgs with app::AppOptions/base::ProgramOptions classes 2012-09-05 21:14:42 -03:00
David Capello
6051387211 Add value name to ProgramOptions::Option::requiresValue() member function
This value name is displayed in operator<<(ostream, ProgramOptions&)
when a option requires a value.
2012-09-05 21:12:04 -03:00
David Capello
8962c6dbe7 Add ProgramOptions class. 2012-09-03 00:41:17 -03:00
David Capello
408f54e509 Move some App members (ConfigModule/CheckArgs/LoggerModule) to App::Modules 2012-09-02 17:42:32 -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
871ba75e74 Add more entries to TODO 2012-08-31 22:14:42 -03:00
David Capello
1db95ed985 Fix crash pressing left & right mouse buttons at the same time to start/cancel drawing 2012-08-31 00:25:24 -03:00
David Capello
3aad5a570c Update version to 0.9.6-dev 2012-08-24 21:42:46 -03:00
David Capello
23660eb0d1 Fix issue #164: Palette area visible in Advanced Mode.
Instead of switching ColorBar visibility, we've to switch the
Splitter position between the ColorBar and sprite editors.
2012-08-24 18:54:47 -03:00
David Capello
2e80621a1e Fix issues #163 and #165.
The ui::dirty_display_flag is not working as expected.
2012-08-24 10:25:19 -03:00
David Capello
d97c2d6f98 Fix typo in upload_packages.sh. 2012-08-24 01:17:13 -03:00
David Capello
33e3b5c8d0 Fix unittests compilation for Windows. 2012-08-24 00:49:38 -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
ae777018e2 Merge branch 'dev' of git@github.com:dacap/aseprite.git into dev 2012-08-23 23:52:15 -03:00
David Capello
df48deaef8 Initialize CheckUpdate process only in GUI mode.
E.g. If the program is executed with --help we don't need to
check for updates.
2012-08-23 23:51:27 -03:00
David Capello
c539306327 Fix create_release.sh script. 2012-08-23 22:29:40 -03:00
David Capello
fb5f086f0f Add "ui::dirty_display_flag" flag to avoid flipping to the screen continuously.
This is a temporal fix to save more CPU. It will be refactored for next
versions.
2012-08-23 22:25:56 -03:00
David Capello
6971426d61 Fix gcc compilation error with App::Modules() ctor. 2012-08-23 22:02:09 -03:00
David Capello
91e02a496a Remove ColorBar border at the right-side. 2012-08-23 21:55:17 -03:00
David Capello
29898744fe Fix issue #160, crashes undoing critical actions like "remove layer" or "remove frame".
The OpenGroup & CloseGroup undoers now save the current SpritePosition
when the Undoer instance is created. Before we were using the current
Layer and Frame at the moment of the OpenGroup creation, it was generating
buggy undoers.
2012-08-23 21:44:41 -03:00
David Capello
919e892748 Add LayerIndex and SpritePosition types. 2012-08-23 21:32:55 -03:00
David Capello
7f2f965b9c Check if keyboard_driver is installed before using it in _al_win_kbd_update_shifts().
The function _handle_key_press() cannot be used if keyboard_driver is
NULL and this can happen in the creation process of the window if the user
is pressing keys.
2012-08-22 22:34:03 -03:00
David Capello
3698195375 wwnd.c: Do not handle mouse events if the win_gfx_driver is not initialized.
It fix a deadlock when we try to create a window that doesn't fit the
desktop and we have the mouse above that opened window (which could
be pretty common).
2012-08-22 22:21:39 -03:00
David Capello
92f9302c85 wddwin.c: Rename _destroy_directx_forefront_bitmap() to _destroy_directx_forefront_bitmap_extras().
Call the function only one time in gfx_directx_win_exit().
2012-08-22 22:05:19 -03:00
David Capello
1c031ee31d Update resources_win32.rc version. 2012-08-22 21:28:40 -03:00
David Capello
b190e9e791 Add update_version.sh script (which updates resources_win32.rc version now). 2012-08-22 21:28:31 -03:00
David Capello
e89d087a04 Add validation checks for scripts/ that they are being executed from the expected directory. 2012-08-22 21:26:52 -03:00
David Capello
e31affc017 Add some items in TODO about UndoTransaction which is a huge class to split. 2012-08-22 21:05:34 -03:00
David Capello
f541fc8789 Add DataRecovery and Backup classes. They do nothing at the moment. 2012-08-22 21:05:02 -03:00
David Capello
cae19827f5 Add DocumentEvent class so all DocumentObserver's member functions receive one parameter. 2012-08-18 23:45:37 -03:00
David Capello
a37a505566 Fix Observable::notifyObservers<> member functions to call specific Observers members explicitly. 2012-08-18 22:54:03 -03:00
David Capello
4e7103d6d1 Fix BindAdapter1_fun member function arguments. 2012-08-18 22:52:56 -03:00
David Capello
85f7bf8ba8 Rename Layer::add/remove/move_layer member functions to add/remove/stackLayer. 2012-08-18 22:21:42 -03:00
David Capello
3f7d7b00b7 Fix link problem with gcc compiler and loadpng library. 2012-08-18 17:51:37 -03:00
David Capello
25605d8c06 Fix UI unit tests: they must use/be linked to "she" library. 2012-08-18 17:51:26 -03:00
David Capello
ce84dfbef6 Merge branch 'dev' of git@github.com:dacap/aseprite.git into dev 2012-08-18 17:51:14 -03:00
David Capello
acc13e9385 Add DocumentObserver and now the Document is an Observable class. 2012-08-18 17:50:36 -03:00
David Capello
2ca98391e0 Add Observable template. 2012-08-18 17:47:00 -03:00
David Capello
3b99e73734 Rename "listener" to "observer" which is better to reference the "Observer" pattern. 2012-08-18 15:22:23 -03:00