Commit Graph

5811 Commits

Author SHA1 Message Date
David Capello
5cd368792c Improve UI so undo limit = 0 means "no limit" (#1127)
By default we'll have "no undo limit".
2017-10-25 17:58:55 -03:00
David Capello
f0c11ef567 Implement Undo limit (fix #1127) 2017-10-25 17:25:23 -03:00
David Capello
363341ad34 Add CMD_TRACE() in cmd.cpp 2017-10-25 17:18:14 -03:00
David Capello
0ee5dbea7a Improve keyboard shortcuts list with resizable headers 2017-10-24 10:20:21 -03:00
David Capello
bfc2ecb890 Fix typo in Edit > Preferences > Editor section 2017-10-24 08:39:43 -03:00
David Capello
9171c59745 Show KeyContext in the keyboard shortcut dialog 2017-10-23 13:10:30 -03:00
David Capello
745dc0734e Use "Delete" word instead of "Clear" 2017-10-23 11:16:17 -03:00
David Capello
c84b4e24f9 Change "Pixel Ratio" -> "Pixel Aspect Ratio" 2017-10-23 11:15:42 -03:00
David Capello
a754344cdc Unify selection-like tools tooltip strings 2017-10-23 11:15:10 -03:00
David Capello
ff09a7d88f Update laf module
Now we can specify long CLI option names with a single dash (like
-save-as or -scale).
2017-10-20 12:29:11 -03:00
David Capello
c019661bc0 Merge branch 'i18n' 2017-10-17 18:04:26 -03:00
David Capello
7ff7c865cc Update Discord button in README file 2017-10-17 18:02:29 -03:00
David Capello
a9b183729f Translate all alerts to the en.ini file (#124) 2017-10-17 18:00:45 -03:00
David Capello
36a44e6691 Move menus+tools strings to en.ini file (#124) 2017-10-11 18:24:01 -03:00
David Capello
f4ffd4110c Start using fmt library
This is the first step for a full i18n (#124).
2017-10-09 14:43:01 -03:00
David Capello
aa95ccde80 Add support to load .ttf files from the theme folder 2017-10-09 11:55:20 -03:00
David Capello
bc541c776b Fix problem with preview not showing editing entry values on filters 2017-10-06 16:29:57 -03:00
David Capello
cca9ff702a Add Brightness/Contrast menu option 2017-10-06 16:19:30 -03:00
David Capello
f15430ce88 Fix crash using invalid chars in filenames 2017-10-06 13:52:26 -03:00
David Capello
89c521ae15 Add new theme parts for ButtonSet items 2017-10-06 11:07:48 -03:00
David Capello
750f0c52af Keep original pattern origin for custom brushes
With this patch we avoid resetting the original pattern
origin when we use "align to destination" or "paint brush"
modes.
2017-10-06 10:23:03 -03:00
David Capello
6611a5ec73 Reset exits counter when the version is updated 2017-10-05 18:01:38 -03:00
David Capello
babe23adc8 Fix "paint brush" mode for custom brushes (fix #1587) 2017-10-05 17:29:19 -03:00
David Capello
9c6f6f3114 Add LayerLock command 2017-10-03 15:34:07 -03:00
David Capello
0f1868dee9 Fix switch colors and eyedropper on Edit colors mode 2017-10-03 15:17:48 -03:00
David Capello
1d1636ffc8 Restore old "Add to selection" behavior (fix #1584)
Related to all issues named in:
https://community.aseprite.org/t/470/9
2017-10-03 15:03:51 -03:00
David Capello
dede3610f3 Fix bug inserting the first char in a text entry
If a text field (ui::Entry) contains text with length=1 (e.g. the number
"8"), and we focus and press that same char ("8"), the caret will be in
the position 0 with text "8" (the caret should be in position 1). this
patch fix this behavior.
2017-10-03 14:45:53 -03:00
David Capello
aa93666481 Fix crash using negative numbers in Deskpeckle filter 2017-10-03 12:14:14 -03:00
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
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 ec2a1f229d

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
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