Commit Graph

4980 Commits

Author SHA1 Message Date
David Capello
a104afc670 Merge branch 'master' into beta 2016-09-12 17:53:01 -03:00
David Capello
a9f3702ba4 Merge branch 'master' into beta 2016-09-06 12:46:37 -03:00
David Capello
1c88af5689 Fix tags information when empty frames are removed (fix #1244) 2016-09-06 12:06:00 -03:00
David Capello
6e5d312bdf Fix scrolling bug at the bottom of palette list the first time it popups 2016-09-05 13:02:52 -03:00
David Capello
4749001473 Now --palette changes the palette of the last sprite (fix #1245) 2016-09-05 11:59:25 -03:00
David Capello
7fe6037862 Cel position must be signed WORD in .ase format specs (fix #1246) 2016-09-05 09:20:49 -03:00
David Capello
f97dc79946 Update README matching the new license (fix #1243) 2016-09-01 15:06:46 -03:00
David Capello
20b726f73b Merge branch 'master' into beta 2016-08-31 19:53:52 -03:00
David Capello
5d00a6a737 Merge branch 'layer-folder' into beta (fix #454) 2016-08-31 18:49:34 -03:00
David Capello
bebbd71d31 Add simple crosshair using native mouse cursors (fix #1236) 2016-08-31 13:24:03 -03:00
David Capello
891e660355 Fix hotspot for scaled native custom cursors 2016-08-31 12:34:06 -03:00
David Capello
f1f6d0745d Fix crash in UI tests 2016-08-30 18:20:28 -03:00
David Capello
f1c9e77e43 Add mouse cursor scale option 2016-08-30 17:27:19 -03:00
David Capello
b80beb13ad Move native cursor preference from "Experimental" to "Cursors" section 2016-08-30 16:52:03 -03:00
David Capello
162cee2870 Use custom native mouse cursor on Skia/OSX port 2016-08-30 16:12:11 -03:00
David Capello
507e0f152b Use custom native cursors on Skia/Win port 2016-08-30 13:50:45 -03:00
David Capello
05e6147a1f Fix compilation error for old libpng versions 2016-08-30 12:26:30 -03:00
David Capello
b40e942aed Don't check sRGB profiles with libpng 2016-08-29 18:24:03 -03:00
David Capello
65a2d9a4ba Update clip library 2016-08-29 18:23:50 -03:00
David Capello
595b2c14d2 Improve selection of layer in groups in Export Sprite Sheet 2016-08-29 15:53:14 -03:00
David Capello
5ecc356a41 Replace GPL license with the new EULA 2016-08-29 13:08:21 -03:00
David Capello
03be4aa23d Convert "bool" members in ui::Widget to flags 2016-08-29 12:23:23 -03:00
David Capello
873407cd0f Fix document_api_tests for new restack layer function params 2016-08-29 10:50:51 -03:00
David Capello
e9871543be Timeline: Add drag & drop of layers as first child in a group 2016-08-26 18:18:25 -03:00
David Capello
94b508989e Fix changing opacity of a cel's range
We have to change the range in Timeline before generating a
onActiveSiteChange() so the cel's properties dialog knows the new range
to be used to change the opacity.
2016-08-25 20:21:38 -03:00
David Capello
a5c464102b Fix bug setting layer opacity in properties dialog 2016-08-25 17:59:00 -03:00
David Capello
9e28a56eb3 Fix duplicateLayerAfter() when we drag-and-drop to copy a layer as first item in a different layer group 2016-08-25 17:50:08 -03:00
David Capello
eeb701dc8c Save hierarchy of layers correctly in data recovery backups 2016-08-25 17:40:47 -03:00
David Capello
be704d27f3 Don't list incompatible session in data recovery
An incompatible session is when the backup was done with another
Aseprite version number that the running instance.
2016-08-25 17:40:02 -03:00
David Capello
f527eab3bd Remove unused member variables in crash::Session 2016-08-25 17:38:51 -03:00
David Capello
ee7c4940d0 Fix duplicateLayerBefore() when it's used in last (top) layer 2016-08-25 17:37:29 -03:00
David Capello
7abda70dad Merge branch 'remove-layer-index' into layer-folder 2016-08-25 12:33:31 -03:00
David Capello
f2f1c1008b Add support to move/copy non-adjacent layers/frames
Changes:
* With this patch we finally removed the LayerIndex class and member
  functions to access layers by index (like Sprite::firstLayer/layerLayer
  /layer/indexToLayer/layerToIndex() etc.). As layer groups can be
  expanded/collapsed, it doesn't make sense to use layer index to
  access layers directly from sprite.
* Now we use a layer_t (int) to access a list of browsable layers each
  time we want to iterate visible layers in the timeline.
* Replaced CelsRange() and Sprite::uniqueCels() param with
  SelectedFrames to iterate non-adjacent cels.
* Updated clipboard operations (copy/paste) in timeline to support
  layer groups.
* Updated Timeline control to support selecting multiple layer/frame
  ranges with Ctrl+ or Alt+click (fix #1157)
* Added more test units for DocumentRange operations (mainly for
  non-adjacent ranges).
2016-08-25 12:31:00 -03:00
David Capello
8bc6149798 Add extra checks to SelectedLayers/Frames 2016-08-23 15:12:24 -03:00
David Capello
01af7870ad Add TRACE_CMD to avoid trace output for each Cmd 2016-08-23 13:54:49 -03:00
David Capello
356d88b413 Fix crash in SelectedLayers::displace() when layerDelta is out of bounds 2016-08-23 13:50:35 -03:00
David Capello
97813251e1 Ungroup Eraser & Eyedropper tools
Several users don't find the eyedropper and they think it doesn't exist
at all. It'll be better to show this tool by default at the top toolbox
level to avoid confusion.
2016-08-22 20:53:57 -03:00
David Capello
b4d423051e Improve error reporting on DocumentRange tests 2016-08-20 13:16:46 -03:00
David Capello
eb43fa93bd Fix crash if the last layer index saved in the doc preferences is out of bounds 2016-08-19 18:51:15 -03:00
David Capello
4c1a57f651 Include menus when we search for keyboard shortcuts 2016-08-19 14:27:45 -03:00
David Capello
3813b9bf1e OS X: Fix right-click on Wacom Intuos tablet
This problem might be related to a specific Wacom driver version
for OS X where right-click buttons are reported like NSRightMouse*
events but with their [NSEvent buttonNumber] property set to 0
(instead of 1 to indicate a right-click).
2016-08-17 18:21:41 -03:00
David Capello
0f2d0cbcd0 Fix invalid selection after removing frames (fix #1235) 2016-08-17 17:05:46 -03:00
David Capello
9c97f6c329 Update clip module 2016-08-14 21:22:21 -03:00
David Capello
d7f2155adb Show popup menu on "Play" buttons with Ctrl+click 2016-08-13 13:35:35 -03:00
David Capello
36719da7b2 Convert SelectedLayers into a class 2016-08-12 18:01:12 -03:00
David Capello
8971c8857a Remove Sprite::countLayers() member function 2016-08-12 14:21:15 -03:00
David Capello
5a2ee4fe1b Avoid layerToIndex/indexToLayer() in DocumentApi + some tests 2016-08-12 13:11:37 -03:00
David Capello
906d76ad41 Add SelectedFrames::displace() member function
We have plans to include a SelectedFrames in DocumentRange to select
non-adjacent frames. This member function will be useful to displace
those frames.
2016-08-12 13:08:22 -03:00
David Capello
b0c168a047 Modify .ase encoder/decoder to avoid LayerIndexes
With this patch we avoid using Sprite::layerToIndex/indexToLayer()
member functions in AseFormat.
2016-08-12 11:27:15 -03:00
David Capello
f4b9f3c322 Use Sprite::allLayersCount/allLayers() when possible 2016-08-11 21:28:45 -03:00