Commit Graph

4982 Commits

Author SHA1 Message Date
David Capello
b6076e6732 Fix "magnet enter" when we are in a ui::Entry
Pressing Enter on a ui::Entry will press "OK" buttons.
2016-11-21 12:28:42 -03:00
David Capello
d444f5b78e Minor change in Manager::processFocusMovementMessage 2016-11-21 10:37:54 -03:00
David Capello
128ba90394 Add ENABLE_SCRIPTING flag 2016-11-21 10:25:27 -03:00
David Capello
0b07602573 Avoid reaching our CustomizedGuiManager when Tab is pressed (fix #1019) 2016-11-19 01:14:40 -03:00
David Capello
3f1f07807b Add support to cycle RGB/HSV text fields with tab key (fix #1019)
Added a new flag in messages to know if they came from a filter or from
the original chain of recipients. To do this, we've added a new way to
process message filters: instead of pre-adding filters to the list of
message recipients, we process filters in the Manager::pumpQueue()
member function itself. (So the list of "recipients" is not modified.)
2016-11-19 00:57:58 -03:00
David Capello
f054aaa2cc Minor changes in ui::Slider 2016-11-19 00:23:54 -03:00
David Capello
d8bc90696e Rename Manager::isFocusMovementKey -> isFocusMovementMessage 2016-11-18 14:26:00 -03:00
David Capello
0703bf159c Add ui::Manager::processFocusMovementMessage() function 2016-11-18 14:22:14 -03:00
David Capello
6746049e60 Fix 1...6 keys to go to a specific frame on Windows
These keys where captured by the zoom command (gui Manager) first.
This regression was introduced in 00099390da
2016-11-18 13:47:02 -03:00
David Capello
31de049a68 Add missing #include to use ASSERT() 2016-11-18 12:26:43 -03:00
David Capello
02b9a953ef Avoid creating a System instance in she::instance()
This is necessary for tests that don't need a System but call the
instance() function anyway.
2016-11-18 12:13:10 -03:00
David Capello
5dc8f9c8a0 Move keyboard functions to she::System 2016-11-18 11:15:02 -03:00
David Capello
d8d9f8072c Fix compiling tests with dynamic libc on MSVC 2016-11-18 10:27:43 -03:00
David Capello
08bb51e358 Merge all she::instance() implementations
Only she::create_system() must be provided by the platform impl.
2016-11-18 09:40:35 -03:00
David Capello
2f987ac3c3 Minor: sort filenames in pixman CMakeLists.txt file 2016-11-18 09:21:46 -03:00
David Capello
f43ef44d74 Change shadow colors in ase/doc icons 2016-11-17 18:42:31 -03:00
David Capello
9ef1393184 Add missing she/win/vk.h file 2016-11-17 18:24:28 -03:00
David Capello
e5769d1666 Remove dead code that was replaced with VkToUnicode 2016-11-17 18:21:33 -03:00
David Capello
bc3e4ba3db Fix memory leaks in KeyboardShortcutsWindow 2016-11-17 18:18:50 -03:00
David Capello
b244700e4b Remove invalid forward declaration of __argc/__wargv on MSVC15 2016-11-17 18:11:32 -03:00
David Capello
00099390da Fix several keyboard issues deadling with special characters/dead keys
This change adds support to write text with dead keys, and assign
keyboard shortcuts to special key combinations with Unicode characters
on macOS and Windows.

Fix #1083, close #796
2016-11-17 18:07:00 -03:00
David Capello
b537b5261a Fix some characters in font.png 2016-11-17 14:29:42 -03:00
David Capello
4d897e1824 Fix memory leaks on KeyboardShortcutsCommand 2016-11-17 09:56:44 -03:00
David Capello
4f279b3cc3 Complete font.png Latin-1 Supplement Unicode block 2016-11-17 09:04:10 -03:00
David Capello
1b736aef85 Improve UX when opening file sequences
* Now we can select the specific files that are part of the sequence
* New checkbox do the same for all dropped files (fix #1284)
2016-11-15 18:11:47 -03:00
David Capello
7f17400178 Minor changes in ui::Alert to simplify its code 2016-11-15 18:06:27 -03:00
David Capello
64af97131d Support smooth scroll in ListBox 2016-11-15 17:31:56 -03:00
David Capello
1e5ae5e9cb Add missing cmd_open_file.h file in last commit 2016-11-14 20:00:44 -03:00
David Capello
2240742816 Avoid processing the same file two times when it's used to load a sequence
E.g. If we drop three files (1.png, 2.png, and 3.png), and we load 1.png
as a sequence, we don't want to ask for the third file.
2016-11-14 19:44:29 -03:00
David Capello
2216db2d2c Send mouse events when a new window is displayed (fix #1221)
In this way if a new widget is displayed it will get the mouse-enter and
set-cursor messages correctly.
2016-11-14 17:23:09 -03:00
David Capello
88455ebc4b Fix compilation warnings when REPORT_EVENTS is defined 2016-11-14 17:21:37 -03:00
David Capello
617b909e1e Fix bug closing the app when it's saving (fix #1326) 2016-11-14 17:01:41 -03:00
David Capello
c1e3054e3f Minor changes in preferences dialog labels 2016-11-14 16:13:00 -03:00
David Capello
268cfa3a46 Add support for pinch gesture on palette view 2016-11-14 16:12:11 -03:00
David Capello
a19a834c4d Enter key selects the preset palette
Also the listbox doesn't lost the focus, so we can continue navigating
preset palettes.
2016-11-14 16:04:29 -03:00
David Capello
9b1f0bf33c Add a checkbox tick to the selected preset palette (fix #1327) 2016-11-14 15:56:28 -03:00
David Capello
4c2a283bd7 Double-click on a preset palette loads it 2016-11-14 15:55:21 -03:00
David Capello
b95326435c Remove an always-true if statement 2016-11-14 15:53:36 -03:00
David Capello
a5e860c556 Add Alt+L and Alt+F shortcuts in palette popup 2016-11-14 15:52:51 -03:00
David Capello
57f51e65e2 Fix unused variable warning 2016-11-14 12:05:47 -03:00
David Capello
e345170948 Fix int/unsigned comparison warning 2016-11-14 12:05:16 -03:00
David Capello
f4f3dd2c4c Fix some links in README 2016-11-14 12:03:49 -03:00
David Capello
57094faa67 Update submodules 2016-11-14 12:03:35 -03:00
David Capello
b524052ecf Update licenses in README 2016-11-12 18:19:39 -03:00
David Capello
441b835192 Add shorter invervals for the backup thread 2016-11-12 18:02:47 -03:00
David Capello
d6f2bec3fe Unlock document from backup thread when UI needs it
Added a new "weak lock" concept to RWLock/Document class. The background
thread that saves data recovery information can obtain this "weak lock"
which can be unlocked by the UI thread in any moment (i.e. when the user
needs the document immediately for UI.)
2016-11-09 17:22:55 -03:00
David Capello
6e94f68ebb Move doc lock/unlock logic to a new RWLock class 2016-11-08 12:38:00 -03:00
David Capello
341fb89053 Fix some Cmds to backup CelData correctly instead of Cel 2016-11-07 17:59:59 -03:00
David Capello
644b8ff0a4 Add Ctrl+Shift+R on debug mode to recover the active document from active backup session
In this way we can test on each moment how the information is being
saved and will be recovered. We can find bugs with missing or invalid
doc::Object::incrementVersion() calls.
2016-11-07 17:47:53 -03:00
David Capello
1b2b98ec38 Fix bug which we can get stuck on MovingCelState (fix #1315) 2016-11-07 17:16:40 -03:00