5984 Commits

Author SHA1 Message Date
David Capello
3af0983022 macOS: Fix Left/Right keys to move the selection
Native menu keys must be activated only if the current KeyContext
matches the shortcut KeyContext.

Reported here:
https://twitter.com/JoelMayerProds/status/915149987427835905
2017-10-03 11:50:57 -03:00
David Capello
e9d0a9798f Fix macOS issue: NSSavePanel is still open/visible after it's used
If we use the [NSSavePanel savePanel] singleton, after the file is
selected, we can Cmd+Tab to switch to another app and go back to our app
and the NSSavePanel will be visible again. With this patch we ensure 1)
we create our own panel, and 2) after selecting the filename, the panel
is destroyed/freed (so it will not be shown again when we switch between
apps).
2017-10-02 19:31:16 -03:00
David Capello
a8bab37576 Update giflib module 2017-10-02 12:37:46 -03:00
David Capello
6c79855e8c Update giflib to a submodule 2017-10-02 12:24:56 -03:00
David Capello
c3bc7acb4d Fix crash using a theme with an undefined <style>
Related to: https://community.aseprite.org/t/498
v1.2.2
2017-09-28 15:27:27 -03:00
David Capello
c0fe23999a Ask the user for Screen/UI Scaling changes after a new theme is selected 2017-09-28 13:22:59 -03:00
David Capello
e1c2ce9e42 Minor change in ContextBar::InkShadesField::ShadeWidget 2017-09-28 12:50:58 -03:00
David Capello
7dc7bf09e2 Windows: fix last gray background when the main window is closed 2017-09-28 12:41:19 -03:00
David Capello
a674f5addb Trigger "New Sprite" double clicking tabs background (fix #912) 2017-09-28 12:10:22 -03:00
David Capello
331e09bdbf Fix Ctrl+drag and drop to copy the selection content on Windows
Regression introduced in ec2a1f229d48c76f1d8124102e7c3a69f236f32f

Bug reports: https://community.aseprite.org/t/503
2017-09-28 11:27:05 -03:00
David Capello
ec2a1f229d Possibility to Add/Subtract selection inside the selection
https://community.aseprite.org/t/470
v1.2.1
2017-09-27 13:08:22 -03:00
David Capello
6ca76c0ca9 macOS: Fix crash undoing/redoing action while we're drawing
Fix this issue:
https://community.aseprite.org/t/crash-when-i-use-undo/494
2017-09-27 12:29:12 -03:00
David Capello
d75b836922 Fix warning in FileOpROI::frames() 2017-09-27 08:43:52 -03:00
David Capello
8e7a5e5014 Fix gif encoding on x64 compiled with VS2017
bool is 1 byte on C++, not 4 bytes (int), so we cannot just "typedef int
bool" and assume that structs with bools will have the same size on C++
than on C.
2017-09-27 08:42:05 -03:00
David Capello
e14b4caa78 GifEncoder: replace get/put_pixe_fast with iterators 2017-09-26 17:58:55 -03:00
David Capello
9ca6f24027 Don't show "new version available" button when the only difference is the -x64 suffix
Reported here:
http://steamcommunity.com/app/431730/discussions/2/1495615865231608633/
2017-09-26 17:28:57 -03:00
David Capello
188c2de4ca Minor change in GifDecoder to fix a warning size_t vs int conversion 2017-09-26 16:40:54 -03:00
David Capello
cab7f6d70a When a text field is focused disable only native menu items with a shortcut related to Entry fields
Related to #1577 and https://community.aseprite.org/t/480
2017-09-26 16:39:33 -03:00
David Capello
ed744bb223 Fix warning in PalettePicks::size() 2017-09-26 16:38:00 -03:00
David Capello
825ef892aa Fix warning in SelectedLayers::size() 2017-09-26 16:37:43 -03:00
David Capello
7b67f72def Add SKIA_OUT_DIR variable 2017-09-26 16:37:16 -03:00
David Capello
33507fd097 Don't save transparent information on full-opaque .png files (fix #1572) 2017-09-26 11:59:55 -03:00
David Capello
af3cc1d3c0 Fix crash using a frame tag at the end of the sprite with a long name 2017-09-26 11:50:54 -03:00
David Capello
f7b76058d3 Update version to 1.3-dev 2017-09-26 09:33:17 -03:00
David Capello
244c78aa1b Don't call global commands w/F or T keys in Layer Properties dialog
More info: https://community.aseprite.org/t/480
2017-09-26 09:30:01 -03:00
David Capello
22b07365db Fix "File > Export" for sprites without an associated filename v1.2 2017-09-25 14:10:35 -03:00
David Capello
6d4756b999 Fix bug inc/dec the wrong brush size
If we use the eraser side of a wacom pen, and press + o - to change the
brush size, we should change the brush size of the Eraser instead of
the Pencil (or other selected tool).
2017-09-22 17:41:08 -03:00
David Capello
46dbffa45f Use NSOperatingSystemVersion to get macOS version when possible 2017-09-22 16:51:56 -03:00
David Capello
3343485acf Update deprecated macOS constants 2017-09-22 16:25:26 -03:00
David Capello
43db106db0 Rename docio to dio 2017-09-22 15:57:38 -03:00
David Capello
e98e7de615 Update Xcode version on INSTALL.md 2017-09-22 15:41:14 -03:00
David Capello
a96a9e9868 Add --disable-wintab CLI option
This can be used to avoid loading wintab32.dll which sometimes locks
Aseprite loading.
2017-09-22 15:40:59 -03:00
David Capello
db2e582f23 Rename "Save File Copy As" -> "Export" 2017-09-22 13:07:48 -03:00
David Capello
6f518f0b06 Add "Detect Platform" section in src/README 2017-09-22 12:53:50 -03:00
David Capello
b859e4a48f Don't compile with GPU support 2017-09-20 16:53:46 -03:00
David Capello
b21e396486 Move WinWindow impl to its own .cpp file 2017-09-20 12:45:27 -03:00
David Capello
c7f07fc218 Update laf to fix problems using LOG(ERROR) 2017-09-20 10:22:00 -03:00
David Capello
2e40353129 Fix INSTALL.md format 2017-09-19 13:45:34 -03:00
David Capello
c5c964bfcd Update Skia to chrome/m62 (our aseprite-m62 branch) 2017-09-19 13:41:28 -03:00
David Capello
82e1377a41 Add warning/error about overwritting the original file on Save Copy As 2017-09-08 16:54:42 -03:00
David Capello
e78f4c79c8 Merge branch 'cebolan-fix-undo-history' 2017-09-08 16:15:55 -03:00
David Capello
8367bb2aaf Merge branch 'fix-undo-history' of https://github.com/cebolan/aseprite into cebolan-fix-undo-history 2017-09-08 16:11:38 -03:00
David Capello
390d954ceb Add option to disable straight line preview w/Shift+Pencil tool 2017-09-08 16:04:18 -03:00
David Capello
2d51b8dfff Disable selection handles when a key modifier is pressed
From: https://twitter.com/ChevyRay/status/893563998410387457
2017-09-08 12:07:21 -03:00
David Capello
7b7b12b593 Fix bug "Rewind on Stop" increments start frame randomly (fix #1569) 2017-09-08 11:20:55 -03:00
David Capello
49d2cd14f0 Don't add a reference layer if the user cancels the dialog 2017-09-05 15:26:21 -03:00
David Capello
86e14fa2ff Add 1x1 background grid
From:
https://community.aseprite.org/t/change-background-checkerboard-grid-size/390/2
2017-09-05 14:38:42 -03:00
David Capello
f223d157fd Fix crash dragging the mouse in the toolbar
If we pressed the mouse button in the toolbar and start moving the mouse
like crazy just to create/destroy the toolbar popup multiple times, it
reached a situation where the Manager's mouse_widget was equal to a
deleted widget (and mouse_widgets_list contained that widget too),
producing a crash when we tried to access it.
2017-09-04 18:10:02 -03:00
David Capello
46bf88124c Fix grammatical error in Crash Report dialog 2017-09-04 12:59:44 -03:00
David Capello
f55229f8f3 Fix crash closing all files & opening a new one when preview window was playing an animation 2017-09-04 12:29:10 -03:00