David Capello
eb056ab358
Add custom targets in CMakeLists to run unit-tests.
2010-08-25 20:13:51 -03:00
David Capello
e8eeb97da9
Move src/tests/test_errno.cpp to src/errno_unittest.cpp.
2010-08-25 17:52:42 -03:00
David Capello
04f92262c5
Include jinete/jinete.h for GUI tests.
2010-08-25 17:51:55 -03:00
David Capello
463c188014
Use GLOB_RECURSE instead of GLOB to get all *_unittest.cpp files from the src/ directory.
2010-08-25 17:27:45 -03:00
David Capello
73aa734daa
Default option is to use Allegro lib statically.
...
It is the only option which is working with cmake at the moment.
2010-08-25 17:12:56 -03:00
David Capello
848a4b9101
Add rule to compile _unittest.cpp files.
2010-08-25 17:11:52 -03:00
David Capello
18606f02bf
Add aseprite-library (this library will be used for unit tests, is all aseprite code without the main() routine defined).
2010-08-25 17:11:28 -03:00
David Capello
499658f024
Modify tests/test.h to use gtest.
2010-08-25 16:21:36 -03:00
David Capello
435cebb80e
Move common definitions in cflags to the main CMakeLists.txt file.
2010-08-25 16:20:30 -03:00
David Capello
9e1c17f896
Add -D_CRT_SECURE_NO_WARNINGS to third party code so we don't get warnings about "insecure" C functions with MSVC compiler.
2010-08-25 16:18:46 -03:00
David Capello
d6ac296390
Move src/tests/test_color.cpp to src/app/color_unittest.cpp.
2010-08-25 15:57:29 -03:00
David Capello
d8489d4a6b
Add gtest source code.
2010-08-25 15:53:05 -03:00
David Capello
53a3c3cab1
Add rules to compile tests with MSVC.
2010-08-25 00:26:51 -03:00
David Capello
3f9e947ea9
Convert color_t type to Color class.
...
+ Add color_utils namespace and move useful routines for colors right there.
+ Add test_color.cpp.
2010-08-25 00:26:37 -03:00
David Capello
733ee5b705
Rename colbut.h to color_button.h.
2010-08-23 18:25:57 -03:00
David Capello
0765be0306
Rename colsel.h to color_selector.h.
2010-08-23 18:23:30 -03:00
David Capello
8727390b2d
Rename colbar.h to color_bar.h.
2010-08-23 18:11:47 -03:00
David Capello
a476820958
Remove old unused graphics.
2010-08-23 17:57:53 -03:00
David Capello
f87cf2a4bc
Move jinete/jfile.cpp to xml_widgets.cpp.
2010-08-23 17:52:17 -03:00
David Capello
a59cce0932
Added an assert in debug mode to check duplicate FileItems in file_system module.
2010-08-23 17:41:52 -03:00
David Capello
7d47093acc
Convert jbutton widget to ButtonBase, Button, CheckBox, and RadioButton C++ classes.
...
+ Add ButtonBase::Click signal.
+ Button does not close the window by default (you have to configure this action manually when Click signal is triggered).
+ Add "closewindow" attribute to <button> widget in XML files.
+ Move "bevels" to SkinProperty.
+ Convert colorbutton widget in ColorButton C++ class.
2010-08-23 17:41:19 -03:00
David Capello
2a7f5017b6
"Layer > Duplicate" menu item does not need "..." because it does not ask the layer name to the user.
2010-08-22 22:12:25 -03:00
David Capello
cf0f7d9663
Remove jfilesel.[ch] file.
2010-08-22 22:10:43 -03:00
David Capello
aa0229f950
Fix "paste" command when we paste in an empty spot (layer/frame without a created cel).
2010-08-22 20:51:29 -03:00
David Capello
327f627e60
Added some asserts to check Editor::m_pixelsMovement.
2010-08-17 20:44:40 -03:00
David Capello
cea1e15d91
New version 0.8.2 in progress.
2010-08-17 20:27:33 -03:00
David Capello
96c75c31f0
Minor fix in NEWS.
2010-08-17 20:12:06 -03:00
David Capello
46ff10bede
Fix background color when we render indexed images.
...
To render an indexed image we start with color 0 (RGBA) only if there is not a background layer, in other case, when the background exists we clear with the first palette color entry (index=0).
This patch fix commit 3ea39bb211bee41c737c54a036b565411fb24300.
0.8.1
2010-08-13 11:49:52 -03:00
David Capello
a8fcc8b0af
Patch contributed by Trent Gamblin to compile ASE with Mac OS X.
2010-08-13 11:35:43 -03:00
David Capello
d4eae74a53
Make "Tools Configuration" dialog wider when it is needed.
2010-08-13 11:31:52 -03:00
David Capello
c006cf0f16
News for ASE 0.8.1.
2010-08-13 11:20:52 -03:00
David Capello
4fc1b7f9f8
Show/hide opacity and tolerance parameters depending if the current tool supports these.
2010-08-13 11:11:21 -03:00
David Capello
78366fa545
Spray settings are hidden when we do not have the Spray tool selected.
2010-08-13 11:04:17 -03:00
David Capello
52db5a6bb3
Rename "fuzziness" parameter to "tolerance" in Replace Color effect (to keep consistency with the new floodfill tolerance parameter).
2010-08-13 10:53:42 -03:00
David Capello
8dac6bdcae
Update version to 0.8.1.
2010-08-13 10:47:20 -03:00
David Capello
dec4bbc6a4
Add "Tolerance" parameter for some tools like Magic Wand and Paint Bucket (Trent Gamblin idea).
2010-08-13 10:41:13 -03:00
David Capello
3ea39bb211
Fixed RenderEngine::renderSprite() for indexed images with a non-black color in index=0.
2010-08-13 10:06:13 -03:00
David Capello
d7ff4fe60a
Fix bug with onion skinning for frame=0 and frame=frames-1.
0.8.0
2010-08-12 18:48:27 -03:00
David Capello
a5c0e087d8
Fix compilation flags for VC (release without debug info).
2010-08-12 18:48:00 -03:00
David Capello
d9790b3834
Move keyboard shortcuts to change pen size from Editor widget to commands.
...
* Now +/- keys are configurable because they are defined in gui.xml as calls to the new "change_pen" command.
2010-08-12 17:29:06 -03:00
David Capello
b1e96b8e84
Enable eye-dropper in color-button widget when we drag & drop the mouse button.
2010-08-12 16:48:56 -03:00
David Capello
f8bbc19b22
When we are in pixels-movement loop, drop pixels when the user selects other tool (that is not marquee, lasso, or magic wand).
2010-08-12 00:29:51 -03:00
David Capello
9f68fd459d
Move get_shift_from_mask() to clipboard_win32 because this function is used for Windows clipboard.
2010-08-12 00:22:18 -03:00
David Capello
47fd3a17e5
Changes in TODO.txt.
2010-08-12 00:14:21 -03:00
David Capello
7ba3c5df9d
Fix warnings in GCC (unused variables, size_t and int comparisons, unhandled enum cases in switch, etc.).
2010-08-11 23:42:03 -03:00
David Capello
a2325233f9
Fix FileItem::insert_child_sorted call in Linux (now it is insertChildSorted()).
2010-08-11 23:36:41 -03:00
David Capello
c3e2c13f26
Added error message in Launcher if it fails.
2010-08-11 23:21:30 -03:00
David Capello
d09c44888d
Add timer to menu items to show the sub-menu with some delay.
2010-08-11 22:52:57 -03:00
David Capello
2eb5022f9a
Modify comments in jmenu.cpp to C++ style.
2010-08-11 22:13:33 -03:00
David Capello
f8cd32d07b
When the editor's current sprite is set we have to drop the pixels (if the user is moving pixels).
2010-08-11 22:04:18 -03:00