David Capello
08d6cbcf60
Fix crash using --save-as CLI
...
Reported here:
https://community.aseprite.org/t/command-line-save-as-has-stopped-working/1140
v1.2.7.2
2018-03-17 10:50:24 -03:00
David Capello
ddc8c880c0
Win: Fix regressions introduced w/the pointer API
...
* Double-click is working again. This is emulated, because it looks like
the pointer API doesn't give us double-clicks information.
* We can cancel a ToolLoop again pressing the other button. If we press
a mouse button, we receive a WM_POINTERDOWN, but if we press another
button without releasing the first one, we'll receive this event in a
WM_POINTERUPDATE message (so we have to process a WM_POINTERUPDATE
like a WM_POINTERDOWN).
2018-03-16 23:35:08 -03:00
David Capello
7d184bc6bc
file_selector_extras.xml doesn't exist anymore
v1.2.7
2018-03-16 12:47:56 -03:00
David Capello
072e223ec5
Fix eyedropper to use the real mouse position received in messages
...
Instead of the global mouse position, we can use the more proper
mouse position receive in editor messages.
2018-03-16 12:26:38 -03:00
David Capello
7b49bf295f
Add extra check in ListBox::selectChild()
2018-03-16 12:17:12 -03:00
David Capello
b8a8cca5cc
Add extra check in drop_range_op()
2018-03-16 12:16:48 -03:00
David Capello
aa507fdf20
Add button to resize the sprite for Twitter
2018-03-16 11:26:13 -03:00
David Capello
1fb463f931
Add option to export GIF for Twitter ( #1220 , #1252 )
2018-03-16 11:03:50 -03:00
David Capello
d9a848a32c
Convert the output filename field on Export to a Entry field
2018-03-16 10:08:52 -03:00
David Capello
834fd962f6
Disable the Export button if there is no filename yet
2018-03-16 09:37:21 -03:00
David Capello
589d775d10
Add AniDir parameter to Export dialog ( fix #1505 )
2018-03-16 08:59:34 -03:00
David Capello
ca31a79ca5
Add alert when we will overwrite a file on File > Export
2018-03-15 23:04:20 -03:00
David Capello
25322d69fe
Don't show full path for output filename in Export dialog
2018-03-15 22:42:53 -03:00
David Capello
8014c828af
Add a special dialog for File > Export command
...
With this change we have moved all the file selector customization to
a new special FileExportWindow. So the file selector is used only to
select the output file (no more FileSelectorDelegate = now we can use
the native file selector for File > Export).
2018-03-15 21:00:54 -03:00
David Capello
10590da7c1
Add possibility to select the layer content with Ctrl+click ( fix #1509 )
2018-03-15 16:05:56 -03:00
David Capello
d36179ae2a
Fix critical bug saving files with frame tags without name ( fix #1675 )
2018-03-14 17:03:25 -03:00
David Capello
ade32b3247
Fix Preview button on filters dialog
...
Now unchecking the preview button will redraw the sprite editor and the
color palette to show their original state.
2018-03-14 16:32:50 -03:00
David Capello
5239db243a
Add option to change the number of recent files/folders ( #578 )
...
* Added option to clear the list too
* If we specify 0 as the number of recent items, the feature is disabled
2018-03-14 14:14:47 -03:00
David Capello
8e6bd1a8dc
Add strings alerts in recent files/folders to en.ini
2018-03-14 12:33:15 -03:00
David Capello
0426582e0e
Don't crash when we select an non-existent recent folder
...
* Other minor changes in the recent files/folder API
* Don't remove the recent folder (if it exist) when a recent file
doesn't exist
2018-03-14 12:08:02 -03:00
David Capello
245285f84e
Filters: Use the selected cels range instead of target buttons
...
With this commit we've definitely removed the target buttons to apply a
filter in current cel/layer/frame (which never make too much sense to
the end-user), and now we can just select the range of
layers/frames/cels where we want to apply the filter (like Flip and
Rotate commands that were already working in this way).
2018-03-13 17:05:14 -03:00
David Capello
5ccdacc9de
Use the pointer API for mouse events too
...
Mouse messages and pointer messages do not go well together.
If we don't use the pointer API for mouse messages, we start
receiving random mouse messages when a pointer is being used
(this is increased when a modifier key is pressed).
With this patch we start using the pointer API for mouse
messages and remove our workaround to avoid these
random messages.
This might be a possible solution for issues like:
https://community.aseprite.org/t/all-the-tools-stop-working/738
https://community.aseprite.org/t/after-using-the-snipping-tool-on-win-10-the-mouse-pointer-disappears/906
http://steamcommunity.com/app/431730/discussions/0/1485487749769857401/
2018-03-13 11:55:57 -03:00
David Capello
f9af5c21c7
Fix a compiler error on gcc 4.8.4
2018-03-13 09:56:39 -03:00
David Capello
12578321d6
Re-organize some compiler flags
2018-03-13 09:56:23 -03:00
David Capello
3187992a20
Fix detection of .ase file with a similar header to .bmp files ( fix #1680 )
2018-03-13 09:53:23 -03:00
David Capello
dc32f0ed57
Remove unnecessary ASSERT() on read_compressed_image
...
There is already an exception controlling this case.
2018-03-13 09:52:03 -03:00
David Capello
dcc4293d4e
Move -DENABLE_DEVMODE to src/CMakeLists.txt so it's defined on dio library too
2018-03-13 09:50:53 -03:00
David Capello
9f96ccbd39
Add option to ignore a warning overwriting files on Export Sprite Sheet (related to #917 )
2018-03-12 16:44:19 -03:00
David Capello
478c4c3296
Fix regression introduced in c50a03640d3883b251748e3805387859c7a83d09
2018-03-12 14:43:14 -03:00
David Capello
6ae40b6c91
Show command to select normal map in the keyboard preferences
2018-03-12 14:00:56 -03:00
David Capello
c50a03640d
Move SetColorSelector menu label for normal map to strings/en.ini file
2018-03-12 14:00:24 -03:00
David Capello
dcfa2efc94
Fix SetColorSelector command label in keyboard preferences
2018-03-12 13:58:19 -03:00
David Capello
742446adf9
Add Normal Map Color Wheel
2018-03-12 13:15:10 -03:00
David Capello
40de823f7c
Add a color indicator in the normal map color wheel
2018-03-12 13:14:21 -03:00
David Capello
8f280a50d3
Fix color wheel formula for Normal Maps
...
Now we use angle and distance to calculate RGB values. Also this adds
support for discrete steps option.
2018-03-12 12:39:43 -03:00
David Capello
50f2a755be
Restore ColorBar::ColorSelector enum order
...
In this way the default color wheel for initialized instances of
Aseprite is still the TINT_SHADE_TONE, and not NORMAL_MAP_WHEEL after
this change.
2018-03-12 10:39:29 -03:00
David Capello
b0f383c4da
Move string for color map option to strings/en.ini file
2018-03-12 10:27:47 -03:00
David Capello
2f251c8a5a
Merge branch 'normal-map-color-wheel' of https://github.com/robinjam/aseprite into robinjam-normal-map-color-wheel
2018-03-12 10:26:34 -03:00
David Capello
c59f03a7a0
Fix crash on macOS when we try to save a file in a directory without privileges
2018-03-09 10:09:33 -03:00
David Capello
d5cfe5123e
win: Flush file content on disk after saving a sprite
...
Possible fix for this issue:
https://community.aseprite.org/t/file-full-of-null-bytes/31
2018-03-07 18:01:33 -03:00
David Capello
5b75355de4
Fix some glitches moving ellipses to the top/left edges ( fix #1648 )
2018-03-06 20:00:34 -03:00
David Capello
184736760a
Add possibility to rotate ellipses and rectangles ( fix #868 )
2018-03-06 19:22:51 -03:00
David Capello
109fcddaf7
Update clip module to fix issues with RGBA images on Windows
2018-02-23 17:52:14 -03:00
David Capello
ebb7afde8b
Add option to change default file format (.aseprite is the new default)
2018-02-23 10:32:02 -03:00
David Capello
5da8b2c8a9
Minor format changes in algo.cpp
2018-02-22 13:52:15 -03:00
David Capello
97251969f6
Merge pull request #1665 from yuxshao/fix-ellipse-gaps
...
Fix #1649
2018-02-22 13:47:39 -03:00
yuxshao
afdb6d22db
Stop mnemonic processing from truncating multibyte characters ( #1661 )
2018-02-22 11:50:03 -03:00
David Capello
dee6ff6c7e
Refactor: Use new base::paths type for list of filenames/extensions
2018-02-21 11:06:58 -03:00
David Capello
d82bd89d4f
Fix license header in event.h and event_queue.h
2018-02-20 16:04:27 -03:00
David Capello
5d9bbe6651
Don't modify hex field when "edit palette mode" is enabled and the color is modified from the same hex field
...
Close #1632 , #1636 , #1637
2018-02-19 21:18:41 -03:00