David Capello
569b923e2f
Move PaletteSize to the non-UI list of commands
2019-01-06 18:46:00 -03:00
David Capello
34834792e3
Add support to call PaletteSize without UI
2019-01-06 18:25:22 -03:00
David Capello
b7c68579ca
Add link about how to name branches
2019-01-06 13:08:30 -03:00
David Capello
0c7af381a2
Include needed gfx/color_space.h header file
2019-01-03 19:21:38 -03:00
David Capello
0fef9bfa6b
lua: Add ColorSpace class
2019-01-03 17:18:10 -03:00
David Capello
aff3018095
Update copyright year of about/status bar/win32 resource
2019-01-03 09:09:26 -03:00
David Capello
256a6bc2ea
Add the AppMod to modify the main window
2019-01-03 09:07:56 -03:00
David Capello
fed1b19050
Update laf submodule to call XInitThreads()
2019-01-02 12:24:51 -03:00
David Capello
5ea50163f6
Update compilation instructions to avoid user errors
...
Try compiling Release build type and for x64 platforms mainly,
selecting Skia backend explicitly.
2019-01-02 12:22:00 -03:00
David Capello
d8794cc73e
Update INSTALL.md details for macOS ( fix #1963 )
2018-12-28 19:17:54 -03:00
David Capello
f5c0d667c9
Merge branch 'recent-files-improvements' ( fix #578 )
2018-12-23 00:04:49 -03:00
David Capello
84f540ab7f
Drag recent items outside the list to remove them
2018-12-22 23:59:07 -03:00
David Capello
0f150b249d
Add possibility to debug the UI garbage collection
2018-12-22 23:58:15 -03:00
David Capello
eca3080d24
Fix bug counting two consecutive Timer::start() calls as two different timers
2018-12-22 23:56:35 -03:00
David Capello
7a57007fa3
Save/load pinned/recent files/folders correctly
2018-12-22 02:08:04 -03:00
David Capello
72313e1c48
Add possibility to pin/unpin recent items
2018-12-22 00:14:31 -03:00
David Capello
57a8bbdf19
Save reordered files/folders in .ini files
2018-12-21 13:48:35 -03:00
David Capello
b6d9156013
Add support to drag and drop recent file items
...
The items are still not persisted/synchronized with the .ini file.
2018-12-21 12:22:25 -03:00
David Capello
3fdde68bdb
ui::Timers must be called from the UI thread only now
...
This simplifies the code about timers: we can use a std::vector
instead of a obs::safe_list, and use ui::execute_from_ui_thread() to
avoid using mutexes, etc.
2018-12-21 09:37:47 -03:00
David Capello
027c19783e
Simplify Timer::haveRunningTimers() function
...
As it's called on each UI message generation loop, we can avoid
iterating all timers on each message loop.
2018-12-21 08:46:02 -03:00
David Capello
8966f7846f
lua: Add Sprite:close() function
2018-12-20 09:25:41 -03:00
David Capello
afe843756c
lua: Mark document as saved after sprite:saveAs()
2018-12-20 09:25:22 -03:00
David Capello
a2648c26bf
Change the SymmetryModeCommand behavior when the controls are hidden
...
When the controls are hidden, and we want to enable (e.g.) the
horizontal symmetry, we want to show the controls and enable the
symmetry whatever the old state of the symmetry was.
+ Added some extra comments
2018-12-19 15:58:10 -03:00
David N Campo
91c5ed8fd4
Add key mapping commands for symmetry
...
Now it is possible to associate symmetry with a selected shortcut.
2018-12-19 15:41:20 -03:00
David Capello
c6e321b55c
Fix crash using deferDelete() rebuilding the RecentListBox items
2018-12-19 15:32:33 -03:00
David Capello
e905fa0266
Add Ctrl+C (Command+C) to copy text in the Console
2018-12-15 10:10:30 -03:00
David Capello
8407f05434
Remove ui::Manager::removeWidgetFromRecipients()
2018-12-15 10:08:47 -03:00
David Capello
9e3c6dc5f4
Remove unused iterator from ui::Message
2018-12-15 10:08:03 -03:00
David Capello
02de8bf839
Simplify app::Console code
2018-12-14 18:08:12 -03:00
David Capello
31df433a10
Fix resetting some alerts with "Reset All Alert dialogs" button
2018-12-13 15:36:54 -03:00
David Capello
36edf3f842
Fix tooltip in SpriteProperties dialog
2018-12-13 15:25:31 -03:00
David Capello
7e638cddcc
Fix keyboard shortcuts dialog items: don't create/dsetroy children widgets continuously inside KeyItem
...
Don't send a leave message (e.g. kMouseLeaveMessage) if the old
focused widget (mouse_widget) if an ancestor of the new focused
widget.
2018-12-13 14:47:19 -03:00
David Capello
c0fcef0240
Unify ToolTipManagers in MainWindow
...
In this way we avoid having too many message filters in the ui::Manager.
2018-12-13 14:08:56 -03:00
David Capello
3ccd09dd8d
Replace internal macro with an inlined function
2018-12-13 11:00:22 -03:00
David Capello
06352f79e8
Add ui::IGNORE_MOUSE flag for static widgets
...
This avoids some MouseEnter/Leave messages between widgets that don't
need them.
2018-12-13 10:48:12 -03:00
David Capello
105d389fdc
Remove list of recipients from ui::Message
2018-12-13 10:11:56 -03:00
David Capello
ab9883e260
Avoid running ui::Entry timer when it's not needed
2018-12-12 13:27:24 -03:00
David Capello
3b810701ce
Minor change in Timer::stop() to avoid calling removeMessagesForTimer() when it's not necessary
2018-12-12 13:26:35 -03:00
David Capello
92330adc30
Avoid busy-waiting when a menu item is clicked
...
When a menu item is clicked a kExecuteMenuItemMessage is enqueued, so
the msg_queue will not be empty until we exit the menu item
callback (MenuItem::onClick()). This will prevent us to use a
os::Event::getEvent() where we can wait the OS for the event (see that
Manager::generateMessagesFromOSEvents() checks that msg_queue must be
empty to block the thread for OS events).
2018-12-12 00:40:39 -03:00
David Capello
45123d7466
Fix issue drawing disabled buttons in highlight state
...
This happen in some cases where a combobox is displayed above the
disabled button and we close the popup window of the combobox.
2018-12-12 00:38:42 -03:00
David Capello
21544bb666
Remove unused function Manager::removeMessage()
2018-12-12 00:27:54 -03:00
David Capello
53f2b4a121
Don't go to sleep if there are delayed painting messages
2018-12-12 00:26:28 -03:00
David Capello
e0b246dd87
Remove unused function Message::prependRecipient()
2018-12-12 00:24:27 -03:00
David Capello
a9355d048d
Add icon for .aseprite-extension
2018-12-10 19:00:24 -03:00
David Capello
b2cafe4108
lua: Add app.params and --script-param
...
Now parameters for scripts can be specified from the CLI with
--script-params and from gui.xml or .aseprite-keys from <param>
sections.
2018-12-10 16:45:30 -03:00
David Capello
58c1ee1e0e
Fix pixel perfect algorithm ( fix #1945 )
...
Regression introduced in 7c2038e7b5
2018-12-10 15:05:36 -03:00
David Capello
afa59e8aa4
lua: Fix access to sprites in Sprites collection
2018-12-10 12:05:54 -03:00
Rajiv Gupta
0203b65908
Add TGA v2.0 footer in TGA type file on export
2018-12-10 12:03:41 -03:00
David Capello
4542ed588e
Try to fix appveyor builds for pull requests
2018-12-08 12:47:05 -03:00
David Capello
243474373f
Fix compilation on Windows/MSVC 32-bit
2018-12-06 21:08:52 -03:00