David Capello
df741c246b
Show "Loading..." item in DataRecoveryView if the list wasn't loaded before we click the "Recover Files..." option
2019-05-27 23:53:57 -03:00
David Capello
54883012bb
Put "Reopen Closed File" and "Clear Recent Files" options inside "File > Open Recent" menu
2019-05-27 23:53:57 -03:00
David Capello
cdb98d4cd5
Add File > Reopen Closed File command
2019-05-27 23:53:57 -03:00
David Capello
1b62515cd2
Add "Recover Files..." option in Home tab
...
We've changed the way the "recover files" option works:
* Now it's an option that is always available (so we can open files
even from sessions that were correctly closed in the past)
* We can open sessions from other Aseprite versions (as in a "best
effort" approach, if it works, ok, if it doesn't -> contact user
support)
2019-05-27 23:53:57 -03:00
David Capello
0902fa7629
Fix crash closing the program when the Data Recovery tab open
2019-05-27 23:53:57 -03:00
David Capello
a6041272c9
Minor assert() in Preferences::save()
2019-05-27 23:53:57 -03:00
David Capello
57d5fcba68
lua: Don't include -x64 in app.version
2019-05-27 23:53:57 -03:00
David Capello
f6313f7dc6
Restore the default brush center to w/2 and h/2
...
This generated a lot of controversy. The new center ((w-1)/2
, (h-1)/2) was useful for scripts, but not too useful for right-handed
users that prefer the most bigger part of even-sized brushes to be in
the top-left edge (instead of bottom-right edge which was the new
behavior).
With this patch we revert the changes, and we'll see if we can add a
new option to change the default brush center which might be useful
for left-handed users.
2019-05-27 23:53:57 -03:00
David Capello
25cec1543c
Fix "Repeat Last Export": params weren' filled with DocPref if ui=false
...
The "Repeat Last Export" command needs to copy DocPref to params, even
when the UI not used (also we must copy the DocPref to the params only
if sprite sheet type is not defined, which means that a script didn't
specify it).
2019-05-27 23:53:57 -03:00
David Capello
d6e00d8764
Fix IntertwineAsLines to use algo_line_perfect() again when snap to grid is enabled or kSquareAspect modifier is pressed
2019-05-27 23:53:57 -03:00
David Capello
232c551f1a
Don't document preferences after loading it
2019-05-27 23:53:57 -03:00
David Capello
b0163f3937
Don't crash with div by zero when grid bounds has an invalid value
2019-05-27 23:53:57 -03:00
David Capello
54a1b1d67e
Update zoom level in status bar correctly when we switch between sprites
2019-05-27 23:53:57 -03:00
David Capello
1873ec182c
Create FUNDING.yml
2019-05-23 17:22:12 -03:00
David Capello
fd2077ce7d
Update INSTALL.md instructions (latest Visual Studio 2019, recent Xcode, etc.)
...
With recommendations from:
* https://github.com/aseprite/aseprite/pull/2046
* https://github.com/aseprite/aseprite/issues/1910#issuecomment-435145683
2019-05-17 14:48:47 -03:00
David Capello
289ec75496
Update Zughy-32 palette
2019-05-14 14:48:44 -03:00
David Capello
8e53b5f227
Fix contour tool (draw first pixel for contour tool)
2019-05-11 15:53:18 -03:00
David Capello
388af3f5e4
Fix symmetry for brushes with even size
...
This is a temporal fix, we should flip the brush center/image/etc.
2019-05-11 15:42:44 -03:00
David Capello
c07614cd5d
Draw pixels that aren't in the viewport area when we use Shift+click to draw a straight line w/Pencil tool
2019-05-11 14:25:29 -03:00
David Capello
0407631bdc
Fix value for a period of times of 10 seconds for backups
2019-05-11 14:10:25 -03:00
David Capello
b058077b07
Fix BackupObserver for periods < 1 minute
2019-05-11 13:59:26 -03:00
David Capello
38abac8b79
Fix crash on Windows using Manager::enqueueMessage() from non-UI thread
...
From time to time the app::BackupObserver::backgroundThread() will use
ui::execute_from_ui_thread() to show/hide the backup notification icon
in the StatusBar (see SwitchBackupIcon class). This
ui::execute_from_ui_thread() function enqueues a ui::FunctionMessage
calling the Manager::enqueueMessage(). The issue here is that
enqueueMessage() uses ui::is_ui_thread() to check if the thread that
wants to enqueue the message is the UI thread or other thread, and
depending on this decission the message will be directly added to
msg_queue or enqueued into concurrent_msg_queue.
The issue was that ui::is_ui_thread() was not working correctly on
Windows because GetCurrentThread() is not useful to check the current
thread with a previous call of GetCurrentThread() from other
thread (the function always return the same value, a special generic
value that identifies the current thread whatever it is).
2019-05-11 13:53:31 -03:00
David Capello
2eba51a62d
Fix minor warning
2019-05-11 13:42:50 -03:00
David Capello
85ce7eea6e
Fix compilation error when ENABLE_UI is undefined
2019-05-08 19:18:19 -03:00
David Capello
bd18248be9
Fix compilation when ENABLE_SCRIPTING is defined
2019-05-08 15:53:55 -03:00
David Capello
7d3e6f2ad3
Update laf module
2019-05-08 14:15:46 -03:00
David Capello
262b8abc90
Temporal fix for filling polygons (at least with regular brushes)
2019-05-08 12:50:30 -03:00
David Capello
87f86ee96c
Update laf module
2019-05-08 12:50:14 -03:00
David Capello
dd8a49a19c
Add option to disable changing the display color profile depending on the current monitor
2019-05-08 10:55:56 -03:00
David Capello
dd405fa26d
Eliminate warning about using a type from an anonymous namespace from another type from a non-anonymous namespace
2019-05-07 15:03:15 -03:00
Gaspar Capello
6afd31698f
Fix center of eraser edges is wrong
2019-05-07 10:47:31 -03:00
David Capello
0c6e8de9e5
Double-click opens the slice properties dialog w/Slice tool
2019-05-07 10:33:05 -03:00
David Capello
e8716cbb6e
Improve context bar for slice tool (combobox of slices + action buttons)
2019-05-07 10:28:37 -03:00
David Capello
33dc3fd354
Update slice tool shortcut to Shift+C and change ScrollCenter to Shift+Z
2019-05-06 14:16:28 -03:00
David Capello
48450ac79d
Add info about TRACEARGS() in src/README.md
2019-05-06 14:15:44 -03:00
David Capello
5d7d01ac49
Update observable module
2019-05-06 14:15:25 -03:00
David Capello
398d1099fc
Update submodules laf and observable
2019-05-03 10:23:14 -03:00
David Capello
74649cf87b
Value stored but never read
2019-05-03 10:13:00 -03:00
David Capello
4004f7be65
Update to new gfx::Region API
2019-05-03 10:03:39 -03:00
David Capello
97345f4866
Add ENABLE_CLANG_TIDY option
2019-05-03 09:34:02 -03:00
David Capello
86d38d81b0
Avoid warning about missing "override"
2019-05-02 16:27:34 -03:00
David Capello
73de6c8b1d
Add ability to edit multiple slices
...
Related to #721 and #1651 , still need more work to give a better UX to
edit static and animated slices.
2019-05-02 16:26:13 -03:00
David Capello
40957c196f
Minor refactor adding ToolLoop::onSliceRect()
2019-04-30 16:42:15 -03:00
David Capello
951fb7c357
Fix invalid scroll on ui::View after changing required size of attached widget (regressiong introduced in b4eb7a0ccd
)
2019-04-30 13:51:41 -03:00
David Capello
71046b6042
Update laf module
2019-04-30 13:12:06 -03:00
David Capello
eed5f98b75
Minor changes in ui::View
2019-04-30 09:54:01 -03:00
rscotchmer
a08cfa9e13
Added support for 4 and 8 connected pixel fill method in paint bucket
2019-04-29 23:29:17 -03:00
David Capello
39d229b0e9
Merge branch 'act-palette' of https://github.com/SupSuper/aseprite into master
2019-04-29 22:39:18 -03:00
David Capello
93a858b486
Improve Shift+mouse drag in Canvas Size
...
Change rulers in a symmetric way from the starting ruler positions
instead from the canvas.
2019-04-29 16:33:17 -03:00
David Capello
c7955337c2
Disable Shift+click to draw straight lines when we are in SelectBoxState
2019-04-29 15:50:34 -03:00