Commit Graph

1505 Commits

Author SHA1 Message Date
David Capello
0ac28c69f0 Update loadpng code from its latest version from Allegro SVN repository (new license: zlib). 2012-03-24 11:55:26 -03:00
David Capello
ec2ae4c261 Minor changes. 2012-03-23 11:44:10 -03:00
David Capello
2fc722a30b Add new source distribution in dist.sh without 3rd party code. 2012-03-22 19:03:58 -03:00
David Capello
58f5bbd4c0 Don't compile raster/path.cpp so libart header files are not required. 2012-03-22 19:01:05 -03:00
David Capello
799065ccb5 Now internal libpng header files are not required anymore by loadpng and png_format.cpp. 2012-03-22 19:00:20 -03:00
David Capello
cb3fc67c0d Include CheckCSourceCompiles module to use CHECK_C_SOURCE_COMPILES. 2012-03-22 15:12:26 -03:00
David Capello
ea7b4de213 Merge branch 'master' of git@github.com:dacap/aseprite.git 2012-03-22 15:08:13 -03:00
David Capello
2ae5fc613b Fix problems with 100% CPU usage, thanks to Tobias Hansen (issue #47).
Based on the Gernot Frisch idea.
2012-03-22 15:07:03 -03:00
David Capello
25884b0fb7 Add base::Chrono class. 2012-03-22 15:04:36 -03:00
David Capello
fffc32548a Implement base::this_thread::yield & sleep_for(). 2012-03-22 15:04:08 -03:00
David Capello
ad9a5fde7a Add run_non_ui_unittests target to run tests that doesn't require X11 environment (thanks to Tobias Hansen). 2012-03-22 14:55:28 -03:00
David Capello
dfb43845a9 Updated src/allegro/src/config.c isn't necessary from Allegro 4.2.0.
ASEPRITE requires the following patch in config.c is:
http://alleg.svn.sourceforge.net/viewvc/alleg?view=revision&revision=4660
2012-03-22 13:31:40 -03:00
David Capello
c2874a063c Avoid "Multiple Entries" label in Palette Editor when we mean "No Entry". 2012-03-21 23:57:52 -03:00
David Capello
d752d19742 Fix problem pressing some keyboard shortcuts in popup windows.
With this change we fix problems copying & pasting values in ColorSelector
text entries.
2012-03-21 23:14:11 -03:00
David Capello
0b19612860 Fix problem dropping files when a popup window is opened. 2012-03-21 19:56:39 -03:00
David Capello
c47ac99d86 Add ability to copy & paste colors with the palette editor. 2012-03-21 19:22:32 -03:00
David Capello
6249d617d8 Add Palette::MaxColors constant. 2012-03-21 19:22:11 -03:00
David Capello
b2288cc7fb Add a TODO item about commands. 2012-03-21 18:23:58 -03:00
David Capello
35fa47970e Change HSV to HSB to match the ColorSelector widget. 2012-03-21 14:42:12 -03:00
David Capello
f0ae57836f Minor change in about. 2012-03-21 14:41:48 -03:00
David Capello
1ed9b8782f Fix problem of "multiple entries" selected in ColorBar::onColorButtonChange() when the user picks the same color. 2012-03-21 14:41:37 -03:00
David Capello
6bd39e0aff Make Widget::update_region member private.
+ Renamed jwidget_flush_redraw to Widget::flushRedraw().
2012-03-20 16:24:46 -03:00
David Capello
01b6afb531 Replace jwidget_scroll with Widget::scrollRegion(). 2012-03-20 16:13:37 -03:00
David Capello
2e87676d70 Now Shift+V works correctly when we are moving pixels. 2012-03-20 14:41:20 -03:00
David Capello
a27d1d3eeb Remove deprecated dialogs: drawtext.cpp, playfli.cpp, repo.cpp. 2012-03-20 13:23:59 -03:00
David Capello
f1180e7a71 Fix issue #89 "Menu key causes crash".
We've to check the keycode returned by readkey(), it must be in
the [0,KEY_MAX) range.
2012-03-19 21:05:04 -03:00
David Capello
7771d3fb17 Fix issue #82 "visible artifacts while dragging selection".
Also improved the redrawing of the moved selection (redrawing
only the selection bounds instead of the whole sprite).
+ Added TransformHandles::invalidateHandles;
+ Added Widget::invalidateRect(const gfx::Rect&);
2012-03-19 20:48:08 -03:00
David Capello
be82a49f86 Add option to compile using shared gtest library (thanks to Tobias Hansen). 2012-03-19 14:33:49 -03:00
David Capello
c6ad4a94c1 Fix find_library/path to find shared libcurl (thanks to Tobias Hansen) 2012-03-19 14:29:54 -03:00
David Capello
ae8d26bedf Replace find_library/path of giflib with find_package (thanks to Tobias Hansen). 2012-03-19 14:29:29 -03:00
David Capello
7befb6c830 Include ASEPRITE net library only when the updater is enabled. 2012-03-19 14:28:06 -03:00
David Capello
49614f6f41 Always add third_party/libpng to include directories (thanks to Tobias Hansen).
Because private libpng headers are used by loadpng and
src/file/png_format.cpp.
2012-03-19 14:27:00 -03:00
David Capello
7115806dc4 Create option to build with shared tinyxml (thanks to Tobias Hansen). 2012-03-19 14:04:24 -03:00
David Capello
d2b11dda2b Minor change in src/CMakeLists.txt 2012-03-19 13:24:34 -03:00
David Capello
c4c44bf7e2 Add support to compile with shared Allegro 4 library. 2012-03-19 13:24:15 -03:00
David Capello
9c37384d3b Windows XP is the minimum supported platform. 2012-03-16 22:22:56 -03:00
David Capello
71f044751f Add flags to link with giflib and curl shared libraries.
Removed freetype and libart in the linking process because they
are not used anymore (the source code is still in the repository).
2012-03-15 00:17:49 -03:00
David Capello
516834a80a Fix flip commands behavior when the user is moving the selection. 2012-03-11 22:20:59 -03:00
David Capello
e89d8a6231 Minor fix to remove_from_container's comment. 2012-03-11 22:15:01 -03:00
David Capello
d5f32fb264 Update libpng to 1.5.9 which fixes a serious vulnerability. 2012-02-29 21:49:13 -03:00
David Capello
95e53ca429 Fix #include of pixel_format.h in file/file.h (issue #79) 2012-02-21 19:51:54 -03:00
David Capello
240bc2fc8d Minor changes in write/read_mask functions. 2012-02-20 19:12:28 -03:00
David Capello
3422b82bc4 Add support to flip irregular selections.
- Added raster::algorithm::flip_image_with_mask() function.
- Added UndoTransaction::flipImageWithMask() member function.
- Added Mask::isRectangular() member function.
2012-02-20 19:12:06 -03:00
David Capello
cd8e92ce18 Add TODO entry to improve "save as" gif for RGB images. 2012-02-20 13:13:50 -03:00
David Capello
ed268767d9 Improve flip_image avoiding a temporary image to get pixels. 2012-02-19 22:32:44 -03:00
David Capello
73fc81ec58 Simplify logic in FlipCommand::onExecute(). 2012-02-19 17:02:34 -03:00
David Capello
95a9524ec2 Avoid duplicated code to flip the image.
- Added raster::algorithm::FlipType enum and flip_image function.
- Added gfx/fwd.h for forward declarations.
2012-02-19 16:25:07 -03:00
David Capello
95cb043601 Clean whitespaces in some files. 2012-02-19 15:04:13 -03:00
David Capello
1dd6b8d418 Add a script to create the releases. 2012-02-14 22:35:28 -03:00
David Capello
3ed8d5b565 The version in the repository will be "-dev" always. 2012-02-14 20:01:02 -03:00