2741 Commits

Author SHA1 Message Date
David Capello
06636fd16e Merge branch '1.0'
Conflicts:
	src/app/file/gif_format.cpp
	src/app/file/gif_options.h
	src/app/ui/editor/moving_cel_state.cpp
	src/app/ui/editor/standby_state.cpp
	src/app/util/range_utils.cpp
2015-01-29 12:18:13 -03:00
David Capello
77c2fb57a7 Fix get_cels_in_range() when range type != DocumentRange::kCels 2015-01-29 12:08:29 -03:00
Manuel Quiñones
bbb72de545 Fix link to the README in Help menu 2015-01-29 11:25:07 -03:00
David Capello
c4d0266b52 Add option to disable animation loop when saving GIF files (fix #585) 2015-01-29 11:24:43 -03:00
David Capello
ce6dc3f790 Add shortcut to toggle the visibility of active layer (fix #587) 2015-01-29 10:32:19 -03:00
David Capello
2a582638ec Fix crash trying to move pixels and the current layer is nullptr
This fix was found thanks to a user provided memory dump. We don't know
why the layer can be nullptr, but there are some conditions preventing
this situation already in other places of the StandbyState::onMouseDown()
member function.
2015-01-28 11:04:07 -03:00
David Capello
6fd448d9dc Merge branch '1.0'
Conflicts:
	src/app/commands/cmd_flip.cpp
2015-01-27 10:00:37 -03:00
David Capello
dc7eeac2f8 Fix bug flipping rectangular regions on cels with pos != (0,0) 2015-01-27 08:00:53 -03:00
David Capello
b57445c2b1 Merge branch '1.0' 2015-01-26 10:58:56 -03:00
David Capello
e6dc8e47b9 Merge branch 'minimize-bug' into 1.0 2015-01-26 10:55:22 -03:00
David Capello
f5a49ad0df OSX: Fix image used to start animation before minimize 2015-01-26 10:29:00 -03:00
David Capello
6c3b4ba805 OSX: Fix infinite loop in waiting for lockFocusIfCanDraw=YES
There are some bug report about problems when the window is minimized.
I was able to reproduce this bug minimizing the window, hiding the dock
(using the system settings), showing the dock again, and trying to
restore the window.
2015-01-26 10:27:36 -03:00
David Capello
3745f563d0 Fix more problems with OS X mouse cursor
Don’t hide native cursor or show custom cursor if the mouse is outside
the main view.
2015-01-26 09:31:10 -03:00
David Capello
bf3c0890e9 Merge branch '1.0' 2015-01-25 23:10:51 -03:00
David Capello
72e2040c58 Add --filename-format option (fix #519) 2015-01-25 22:36:32 -03:00
David Capello
9d5d911830 Update version to 1.0.9-dev 2015-01-25 19:51:59 -03:00
David Capello
eff46d4134 Add infinite editor scroll to OS X
Fix osx_mouse_position()
2015-01-25 19:09:30 -03:00
David Capello
429c722f73 Fix OS X mouse position issues
Fix problems using absolute mouse positions in the view when the mouse
were outside the view area.
2015-01-25 19:08:41 -03:00
David Capello
1b541e1a24 Fix initialization order of members 2015-01-21 11:35:35 -03:00
David Capello
eae57b865e Don't swap streams as clang and gcc have problems with it 2015-01-21 11:28:12 -03:00
David Capello
7fb32ab45a Check invalid usage of drop_range_op() function 2015-01-21 11:27:40 -03:00
David Capello
dd2f10bcd8 Fix warning with include guards 2015-01-21 11:24:40 -03:00
David Capello
ce08c144e8 clang is not working with unordered_map (maybe because we use the old SDK) 2015-01-21 11:22:55 -03:00
David Capello
ef1e44726f Require header file for doc::ObjectId 2015-01-21 11:22:40 -03:00
David Capello
140d765c7e Disable copy ctor of app::Cmd class 2015-01-21 11:22:33 -03:00
David Capello
6dad428928 Remove unused variables 2015-01-21 11:22:28 -03:00
David Capello
1d8939be8a Merge branch '1.0' 2015-01-21 02:00:48 -03:00
David Capello
309d1299ae Minor label fix in options.xml 2015-01-20 09:31:20 -03:00
David Capello
6fcf3f3d31 Fix "modified document" indicator in tabs when we cancel tool loop 2015-01-20 08:45:06 -03:00
David Capello
9af8567a6b Make PopupWindow movable again (fix regression from 1f25579f5a9923dc844f75d8e37ede83e148889f) 2015-01-19 20:44:47 -03:00
David Capello
15c6ee9046 Remove old layer icons from skin sprite sheet 2015-01-18 22:45:58 -03:00
David Capello
0cff720ef3 Rename undo2 to undo library
Now that the old undo library doesn't exist, we can use "undo" namespace
again.
2015-01-18 22:16:29 -03:00
David Capello
348007b123 Minor changes in README 2015-01-18 22:07:23 -03:00
David Capello
e55865843e Replace undo impl: replace undoers with cmds
Undoers were little objects to swap/revert an action. They didn't
execute the action itself, they just revert its previous state. Now
undoers were replaced with cmds: A cmd is an object that
executes/undoes/redoes just one action.

Changes:
* Remove old undo library and app/objects_container_impl.cpp
  (now we use the doc::ObjectId directly to store undo info)
* Remove all Undoers from app/undoers/
* Replace DocumentApi impl with little Cmds in app/cmd/, these
  cmds handle execute/undo/redo of each action at the logic layer
* Remove doc::Dirty object
* Remove doc::Settings: all undo configuration is in the app side
* Move undo options from app:ISettings to app::Preferences
* Rename UndoTransaction to Transaction
* Create a CmdSequence to store a sequence of Cmds (as now the new
  undo library doesn't support open/close groups)
* Add doc::get<T>(ObjectId) function to get any kind of object
  from the doc library by its ID
* Add Cel::document() and Sprite::document() members
* Add Sprite::cels(frame_t) to get all cels in the given frame
* Add Layer::displaceFrames() member function
* Move the "allow non-linear history" flag from undo2::UndoHistory
  to app::DocumentUndo
2015-01-18 22:05:33 -03:00
David Capello
9efd84153b Add const modifier to undo2::UndoHistory::prev/next/cmd member functions 2015-01-15 10:04:26 -03:00
David Capello
13040cba5d Update copyright year in README 2015-01-06 09:34:53 -03:00
David Capello
9f19b0d1dd Update CONTRIBUTING and INSTALL files
Update INSTALL in such a way it contains how to get the source code
correctly cloning the repository (instead of using .zip files)
2015-01-06 09:34:40 -03:00
David Capello
a9fa9f5fdc Add undo2 library 2015-01-04 20:23:05 -03:00
David Capello
e40d8e8cfe Make zoom tool more gentle 2015-01-04 16:52:16 -03:00
David Capello
f1f24cbcdd Replace doc::Stock with doc::ImageRef shared pointer
Changes:
* Add doc::ImageRef to count references to the same image between Cels
  (at this moment we cannot generate linked cels anyway)
* Remove doc:Stock class and doc::Sprite::m_stock member variable
* Remove app::undoers::Add/RemoveImage
* Add doc::SubObjectsIO and app::undoers::ObjectIO to
  replace doc::LayerSubObjectsSerializer
2015-01-04 10:58:14 -03:00
David Capello
1b55fe39dc Merge branch '1.0'
Conflicts:
	src/raster/conversion_alleg.cpp
2015-01-03 18:42:11 -03:00
David Capello
4358989633 Merge branch '1.0' of github.com:aseprite/aseprite into 1.0 2015-01-03 18:37:37 -03:00
David Capello
a2a3abfd6e Merge branch 'master' of git@github.com:aseprite/aseprite.git 2015-01-03 18:34:39 -03:00
David Capello
d9b2b2d8ea Add code of conduct 2015-01-03 18:34:26 -03:00
David Capello
8eb7ab355b Merge pull request #572 from whitingjp/median_cut_rgba_def
Include doc::rgba() function definition to avoid ambiguities in median_cut() algorithm
2015-01-03 11:12:08 -03:00
David Capello
71cdfe24c3 Merge pull request #568 from Mailaender/patch-1
Fix several gcc compiler warnings
2015-01-03 11:06:47 -03:00
David Capello
a332fb0bbe Merge pull request #571 from whitingjp/missing_runtime_error_header
Added missing header for std::runtime_error exception
2015-01-03 11:06:02 -03:00
Jonathan Whiting
6b6be0fd07 Include rgba function def, and un-ambiguate rgba in use 2015-01-01 15:50:46 +00:00
Jonathan Whiting
8fa2191dd9 Added missing header for runtime_error exception 2015-01-01 15:37:34 +00:00
David Capello
603dde343f Replace doc::LayerImage::getCel() with doc::Layer::cel() 2014-12-28 21:04:08 -03:00