Commit Graph

1582 Commits

Author SHA1 Message Date
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
David Capello
7354bb83cb Update gui.xml version. 2012-02-14 18:41:37 -03:00
David Capello
079bb62630 Change VERSION to 0.9.1 release candidate 1. 2012-02-13 23:32:33 -03:00
David Capello
0a3acf7b96 Remove ASE_BETA preprocessor definition. 2012-02-12 23:46:56 -03:00
David Capello
385f4b66a2 Rename Color::toFormalString -> toHumanReadableString and replace bool param with an enum. 2012-02-12 23:32:34 -03:00
David Capello
041140f528 Change "imgtype" int type to PixelFormat enumeration. 2012-02-12 23:21:06 -03:00
David Capello
bc32ded8a5 Add Ctrl+Tab and Ctrl+Shift+Tab keys to switch between tabs. 2012-02-12 11:33:06 -03:00
David Capello
ab333ff02b Remove the ScreenShot command. 2012-02-12 10:55:33 -03:00
David Capello
94f85a2a34 Adjust TODO entries. 2012-02-11 23:00:28 -03:00
David Capello
9fc0309230 Remove unused function image_depth(). 2012-02-11 23:00:01 -03:00
David Capello
1345919aaa Replace image_new* functions with Image:create*() member functions. 2012-02-11 22:57:21 -03:00
David Capello
34eef40876 Disable Editor::flashCurrentLayer() anyway because it needs hardware acceleration for the required effect. 2012-02-11 22:33:07 -03:00
David Capello
fe03919b1d Fix problems in the Editor::flashCurrentLayer() drawing outside the safe editor area. 2012-02-11 22:32:32 -03:00
David Capello
d5cfddd820 Add better support for Copy and Cut commands when the selection is being dragged. 2012-02-11 21:06:31 -03:00
David Capello
98fabee086 Add compatibility to load the recent list of paths from the recent list of files from old aseprite.ini files. 2012-02-11 19:09:50 -03:00
David Capello
6bcf559b35 Now the recent list of paths can contain 16 paths different from the recent list of files.
- Added RecentItems class in base library.
2012-02-11 19:04:52 -03:00
David Capello
9db66ce6b2 Add bounds checking when the user paste the clipboard's image.
In this way, the pasted image will be always visible by the user.
2012-02-11 18:35:46 -03:00
David Capello
0a88e797f4 Show the clipboard image size as default size in NewFileCommand. 2012-02-11 17:06:35 -03:00
David Capello
c359e8585e Fix problem with ENTER key to drop the pixels. 2012-02-11 16:34:55 -03:00
David Capello
0d582f9d5f Improve the MovingPixelsState to support Enter and Esc keys to drop the pixels.
Also any executed command will drop the pixels and return the editor to
its standby state.
2012-02-06 00:17:42 -03:00
David Capello
354f6a15fa Add context listeners. 2012-02-02 20:05:26 -03:00
David Capello
bad1178617 Add JM_CLOSE_APP message to know when the user pressed the native window close button.
This way is a lot better than simulating an ESC key down/up event.
2012-02-02 20:01:54 -03:00
David Capello
037070730e We can scroll with space bar (quick tool shortcut) in MovingPixelState now. 2012-01-12 00:46:04 -03:00
David Capello
8f66325395 Add support to scroll in MovingPixelsState without calling a full dropImage().
+ Added EditorState::isTemporalState() to know if we've to do a dropImage()
  or a simple dropImageTemporarily() only.
+ Improved the return type of EditorState::onBeforeChangeState() member
  function (now it's an enum instead of a bool).
2012-01-12 00:39:39 -03:00