5957 Commits

Author SHA1 Message Date
David Capello
46dbffa45f Use NSOperatingSystemVersion to get macOS version when possible 2017-09-22 16:51:56 -03:00
David Capello
3343485acf Update deprecated macOS constants 2017-09-22 16:25:26 -03:00
David Capello
43db106db0 Rename docio to dio 2017-09-22 15:57:38 -03:00
David Capello
e98e7de615 Update Xcode version on INSTALL.md 2017-09-22 15:41:14 -03:00
David Capello
a96a9e9868 Add --disable-wintab CLI option
This can be used to avoid loading wintab32.dll which sometimes locks
Aseprite loading.
2017-09-22 15:40:59 -03:00
David Capello
db2e582f23 Rename "Save File Copy As" -> "Export" 2017-09-22 13:07:48 -03:00
David Capello
6f518f0b06 Add "Detect Platform" section in src/README 2017-09-22 12:53:50 -03:00
David Capello
b859e4a48f Don't compile with GPU support 2017-09-20 16:53:46 -03:00
David Capello
b21e396486 Move WinWindow impl to its own .cpp file 2017-09-20 12:45:27 -03:00
David Capello
c7f07fc218 Update laf to fix problems using LOG(ERROR) 2017-09-20 10:22:00 -03:00
David Capello
2e40353129 Fix INSTALL.md format 2017-09-19 13:45:34 -03:00
David Capello
c5c964bfcd Update Skia to chrome/m62 (our aseprite-m62 branch) 2017-09-19 13:41:28 -03:00
David Capello
82e1377a41 Add warning/error about overwritting the original file on Save Copy As 2017-09-08 16:54:42 -03:00
David Capello
e78f4c79c8 Merge branch 'cebolan-fix-undo-history' 2017-09-08 16:15:55 -03:00
David Capello
8367bb2aaf Merge branch 'fix-undo-history' of https://github.com/cebolan/aseprite into cebolan-fix-undo-history 2017-09-08 16:11:38 -03:00
David Capello
390d954ceb Add option to disable straight line preview w/Shift+Pencil tool 2017-09-08 16:04:18 -03:00
David Capello
2d51b8dfff Disable selection handles when a key modifier is pressed
From: https://twitter.com/ChevyRay/status/893563998410387457
2017-09-08 12:07:21 -03:00
David Capello
7b7b12b593 Fix bug "Rewind on Stop" increments start frame randomly (fix #1569) 2017-09-08 11:20:55 -03:00
David Capello
49d2cd14f0 Don't add a reference layer if the user cancels the dialog 2017-09-05 15:26:21 -03:00
David Capello
86e14fa2ff Add 1x1 background grid
From:
https://community.aseprite.org/t/change-background-checkerboard-grid-size/390/2
2017-09-05 14:38:42 -03:00
David Capello
f223d157fd Fix crash dragging the mouse in the toolbar
If we pressed the mouse button in the toolbar and start moving the mouse
like crazy just to create/destroy the toolbar popup multiple times, it
reached a situation where the Manager's mouse_widget was equal to a
deleted widget (and mouse_widgets_list contained that widget too),
producing a crash when we tried to access it.
2017-09-04 18:10:02 -03:00
David Capello
46bf88124c Fix grammatical error in Crash Report dialog 2017-09-04 12:59:44 -03:00
David Capello
f55229f8f3 Fix crash closing all files & opening a new one when preview window was playing an animation 2017-09-04 12:29:10 -03:00
David Capello
dfa441d2a0 Add option to show/hide Aseprite menu bar
The original Aseprite menu bar will be hidden by default for new users
on macOS.
2017-09-01 17:18:53 -03:00
David Capello
0154a73d36 Add native macOS menus (fix #135)
* This implements the Cmd+H and Cmd+M keys too:
  https://community.aseprite.org/t/279
* Also Cmd+, has more priority on macOS than Cmd+K to open the
  preferences (so macOS menu shows Cmd+,)
2017-09-01 13:32:23 -03:00
David Capello
607c4d139e Add Cmd+K on macOS to open preferences (and remove old Ctrl+Shift+O) 2017-08-29 17:00:36 -03:00
cebolan
e773f0697e Fix bug when closing Undo History with a keyboard shortcut
Closes #1423

The bug was happening because when the Undo History window was
closed using the keyboard shortcut, the message kCloseMessage
was never being sent to the window. This is probably not the
only cause, but making UndoHistoryCommand close the window instead
of just hiding it solves the problem.
2017-08-29 15:23:19 -04:00
David Capello
46ea414287 Avoid assert fail calling SelectedLayers::insert(nullptr) 2017-08-28 11:46:32 -03:00
David Capello
1dd58ae48f Update clip module 2017-08-28 10:10:37 -03:00
David Capello
cf3814bc20 Make Aseprite icon clickeable in Home tab
Just for fun (and so themes can customize the icon too with other colors)
2017-08-25 16:54:58 -03:00
David Capello
6721baa40e Fix bug creating buggy macOS cursors with initWithCGImage
I'm not sure why the bug was caused (press mouse button, drag to the
edge, drag cursor back to the window, release button), but it looks like
using a NSBitmapImageRep and creating the NSImage with that bitmap
works properly.
2017-08-25 14:35:29 -03:00
David Capello
d674aa7330 Restore theme when we cancel preferences dialog 2017-08-22 15:44:44 -03:00
David Capello
17df809011 Fix memory leaks/crash when reloading theme several times 2017-08-22 14:54:08 -03:00
David Capello
04d9a83773 Add link to the discord server in Support section 2017-08-22 13:21:10 -03:00
David Capello
4c7a8a3402 Add links to the community site and chat server 2017-08-22 13:17:15 -03:00
David Capello
7fb7db9542 Use the same FT library reference on all loadTrueTypeFont() calls 2017-08-22 13:00:49 -03:00
David Capello
e392934afc Add possibility to open broken .ase files on devmode 2017-08-22 09:03:17 -03:00
David Capello
d00db433fe theme: Possibility to specify default screen/ui scaling 2017-08-18 19:23:23 -03:00
David Capello
a9c1b26db3 Fix reposition of windows when Screen/UI scaling is changed 2017-08-17 09:16:11 -03:00
David Capello
3eccadb681 Update preview window theme correctly when it's hidden 2017-08-17 09:14:32 -03:00
David Capello
c9f31bb07e Minor refactor in CustomizedGuiManager
Now Shift+F1 rotates screen/UI scaling in reverse order.
2017-08-16 15:17:11 -03:00
David Capello
5d0f51abd3 Add Virtual Boy palette 2017-08-16 15:05:26 -03:00
David Capello
4ed302e4b5 Add ENABLE_DEVMODE flag 2017-08-15 15:47:06 -03:00
David Capello
2bee243c39 Replace INT_MAX with std::numeric_limits<int>::max() 2017-08-15 11:25:23 -03:00
David Capello
c8c688beb2 Fix compilation of UI tests 2017-08-15 10:55:54 -03:00
David Capello
432eedcb97 Support changing theme and UI scaling w/o restart (fix #471) 2017-08-15 10:39:06 -03:00
David Capello
42fe588283 Merge branch 'mujs-engine' 2017-08-11 17:32:24 -03:00
David Capello
bcf7efc9bb Replace duktape with mujs
Added other classes like Rectangle, Size, and Point.
2017-08-11 17:22:28 -03:00
David Capello
f470daa939 Fix crash creating/blitting a surface of empty bounds 2017-08-11 15:53:04 -03:00
David Capello
511a34116b Update copyright year on .rc file 2017-08-11 11:19:32 -03:00