David Capello
3917892a16
Use replaceStockImage() in Undoable::setImgType() to avoid duplicated code.
2010-10-10 18:54:30 -03:00
David Capello
8b7367a1bb
Show SymGetLineFromAddr() information whatever is the SymFromAddr() result.
2010-10-10 17:09:49 -03:00
David Capello
baa0d8f469
Fix __builtin_return_address() for MSVC (problems accessing to the address pointed by eax when it is too small).
2010-10-10 17:07:55 -03:00
David Capello
2be85b1ee5
Fix huge problems using "headslot" in multiple threads.
2010-10-10 16:47:50 -03:00
David Capello
f86c306bab
Add ENABLE_MEMLEAK parameter to CMakeLists.txt (fix jmem.cpp so it can be compiled when MEMLEAK is defined).
2010-10-10 16:47:01 -03:00
David Capello
f85070c1c6
Add Dirty::getMemSize() method.
2010-10-09 14:15:11 -03:00
David Capello
072b19a9bb
Add a comment in Undo::updateUndo() about the usage of get_config_int() function.
2010-10-03 17:08:06 -03:00
David Capello
7dd78886e2
Remove unnecessary #include <string.h> in undo.h
2010-10-03 15:52:33 -03:00
David Capello
514d666747
Add virtual method getMemSize() to GfxObj class (overriden by Image, Cel, Layer, etc.).
...
These methods will be used for a new implementation of Undo.
2010-10-03 15:51:03 -03:00
David Capello
070be38e81
Remove "state" arg from UndoAction::invert() function.
2010-10-03 15:24:53 -03:00
David Capello
03c5d0030a
Convert UndoStream in a class.
2010-10-03 15:19:18 -03:00
David Capello
6f50c62ace
Rename undo_exception to UndoException.
2010-10-03 14:52:50 -03:00
David Capello
b49359314c
Modify jnew(FileOp) with "new FileOp".
2010-10-03 13:50:01 -03:00
David Capello
911fe71c0e
Fix bug introduced in commit e885fcd3a187b090303464215be97b443491d564: leave one palette after Sprite::resetPalettes().
2010-10-02 22:58:50 -03:00
David Capello
3aad83b353
Add return statement to thread: 🆔 :operator=().
2010-10-02 20:23:42 -03:00
David Capello
3f7333b9ed
Fix pthread implementation of base::thread class (problems joining threads, initializing m_id field, etc.).
2010-10-02 20:20:59 -03:00
David Capello
b66371f95a
Move thread class to base lib (the new thread class has a C++0x-like api).
2010-10-02 19:00:01 -03:00
David Capello
2a73d6ffb9
Fix order of libraries so we can link loadpng with alleg library with gcc on Windows.
2010-10-02 18:33:06 -03:00
David Capello
eb1815d44e
Fix error passing base::string in sprintf() like routine.
2010-10-02 16:37:44 -03:00
David Capello
36d532df21
Rename src/gui/jwidget.cpp|h to src/gui/widget.cpp|h.
2010-10-02 11:19:09 -03:00
David Capello
8f6ae77a2e
Rename src/gui/jlabel.cpp|h to src/gui/label.cpp|h.
2010-10-02 11:04:10 -03:00
David Capello
3721064c8b
Rename src/gui/jbutton.cpp|h to src/gui/button.cpp|h.
2010-10-02 10:59:14 -03:00
David Capello
7f96084c88
Rename src/gui/jwindow.cpp|h to src/gui/frame.cpp|h.
2010-10-02 10:47:58 -03:00
David Capello
b7609686de
Add resources_win32.rc in aseprite target on Windows.
2010-10-01 00:23:13 -03:00
David Capello
ffd0f17879
Move all undo_*() functions as members of Undo class.
2010-09-30 23:55:35 -03:00
David Capello
9e419c418f
Refactor Stock class to contains methods instead of stock_*() functions.
2010-09-30 22:38:26 -03:00
David Capello
2f8d9a0d1a
Remove JList from UndoStream class.
2010-09-30 22:18:30 -03:00
David Capello
e885fcd3a1
Remove JLists from Sprite class.
2010-09-30 21:38:01 -03:00
David Capello
da193338af
Fix config.h when MEMLEAK is defined (jinete/jbase.h was moved to gui/jbase.h).
2010-09-30 20:35:17 -03:00
David Capello
38a99e2740
Simplify usage of allegro_c_flags setting CMAKE_C_FLAGS variable.
2010-09-30 17:43:00 -03:00
David Capello
485582d816
Add some comments in src/CMakeLists.txt file.
2010-09-30 17:42:06 -03:00
David Capello
3163a5ac98
Add support to link ASE with the shared versions of libjpeg, libpng, and zlib.
2010-09-30 17:04:32 -03:00
David Capello
9ed888b82b
Fix compilation errors with gcc in shared_ptr_unittest.cpp.
2010-09-30 16:31:59 -03:00
David Capello
d19e7875e1
Fix compilation errors copying SharedPtr<> of different types in gcc.
2010-09-30 16:31:45 -03:00
David Capello
c4d04d7bf6
Fix compilation problems in core/file_system.cpp (in Unix like platforms).
2010-09-30 16:23:54 -03:00
David Capello
48d0878c7e
Include correct header files (gcc compiler detects these kind of problems).
2010-09-30 16:21:15 -03:00
David Capello
d09bd2a6ee
Fix code in src/CMakeLists.txt to check return value of allegro-config.
2010-09-30 16:17:08 -03:00
David Capello
109d6a072f
Remove jstring class replacing it with the new base::string and new functions to manipulate strings.
2010-09-30 15:34:12 -03:00
David Capello
9f000741a3
Remove WIN32 attribute for tests (so we can see colored output in win cmd console).
2010-09-30 13:22:10 -03:00
David Capello
d8d1c52e84
Add INSTALL.txt to know how to compile ASE with CMake (the new build system).
...
This file should not be distributed in the .exe releases (only with source code).
2010-09-29 23:13:46 -03:00
David Capello
3d5fd0f07c
Remove Vaca source code completely (replace NonCopyable class with DISABLE_COPYING macro).
2010-09-29 17:50:46 -03:00
David Capello
b8ddd30a0d
Move Vaca classes to base and gui libraries.
...
+ Remove Vaca::Referenceable class and move Vaca::SharedPtr<> to base/shared_ptr.h (now shared pointers can point to any type).
+ Move Vaca::Component/Event/Property/PreferredSizeEvent to gui/component.cpp.
2010-09-29 17:14:11 -03:00
David Capello
7643b87cc3
Force DISABLE_COPYING() to be in private: class section.
2010-09-29 16:54:25 -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
5ccddbc8bc
Now the gui-lib is another package compiled with its own CMakeLists.txt.
2010-09-27 19:18:17 -03:00
David Capello
fd0639feac
Fix typo in gfx/point.cpp.
2010-09-27 18:56:38 -03:00
David Capello
22ad9058af
Add allegro-config calls to compile ASE on Linux.
2010-09-26 18:58:53 -03:00
David Capello
97b25219e4
USE_STATIC_ALLEGRO is off by default.
2010-09-26 18:57:48 -03:00
David Capello
aa397c4fbf
Add dirExists() member function in FileSystemModule.
2010-09-26 18:26:38 -03:00
David Capello
a3616cec54
Fix mem_utils.cpp compilation error with gcc.
2010-09-26 16:10:21 -03:00