Commit Graph

4572 Commits

Author SHA1 Message Date
David Capello
63243f7dba Minor change remove include base/string.h from app.h 2016-04-18 15:23:01 -03:00
David Capello
6c148c9bb6 Update version to 1.1.5-dev 2016-04-18 13:29:04 -03:00
David Capello
8775604e56 Make Aseprite a DPI-aware application (fix #1041) 2016-04-18 13:27:36 -03:00
David Capello
6b0e23fa8f Add Steam community to README.md 2016-04-15 10:18:19 -03:00
David Capello
4f23ea040b Add missing text on INSTALL.md 2016-04-15 10:18:05 -03:00
David Capello
8749cb780c Update Mac OS X details in INSTALL.md
We don’t use Mac OS X 10.4 SDK universal anymore.
2016-04-13 12:02:25 -03:00
David Capello
392eacdb6a Update information about how to get the source code 2016-04-13 12:00:12 -03:00
David Capello
b0f53324a7 Extra checks for an initialized SkiaDisplay for GPU support on OS X 2016-04-13 10:17:59 -03:00
David Capello
99d7eb5391 Fix crash using an non-fully initialized SkiaDisplay on SkiaWindow::Impl::paintGC() on OS X 2016-04-13 10:16:06 -03:00
David Capello
2636401c1c Remove gui.xml version check on release
This is sometimes useful on Debug builds, but it brings more problems
on Steam when we want to release a fix for a specific platform with
a modified version number.
2016-04-13 09:02:04 -03:00
David Capello
25a24a93d8 Avoid using an uninitialized m_surface pointer in SkiaDisplay
This should fix problems launching Aseprite on OS X (e.g. #1059).
2016-04-13 09:00:29 -03:00
David Capello
a76a1117f1 Fix crash using RotSprite with width/height == 0 (fix #1056) 2016-04-12 17:29:23 -03:00
David Capello
7c9ba13321 Add double-click support on Skia/OS X port (fix #1057) 2016-04-12 17:27:01 -03:00
David Capello
44fadbc275 Fix key modifiers on Alleg4/Windows back-end 2016-04-12 11:33:48 -03:00
David Capello
9d3195c718 Update INSTALL.md because we need awk to compile libpng (issue #1054) 2016-04-11 19:25:54 -03:00
David Capello
221e9bf4fc Add base::normalize_path() 2016-04-11 19:17:39 -03:00
David Capello
e4c46a761a Fix loading two times a file specified in the command line on OS X
To avoid receiving a she::DropFiles event (from application:openFiles:)
when we're loading files specified in the command line (i.e. when we are
showing the progress bar/processing "ui" layer events/CustomizedGuiManager
is listening for kDropFilesMessages) we call NSApp finishLauching after
we've processed the whole command line.
2016-04-11 19:15:42 -03:00
David Capello
a785c20238 Update INSTALL.md with information about the Skia back-end 2016-04-11 17:50:11 -03:00
David Capello
63c723d327 Change OSXAppDelegate base type to avoid an opaque id type 2016-04-11 17:28:19 -03:00
David Capello
5ef931b7d4 Override application:openFiles: instead of application:openFile: 2016-04-11 17:27:34 -03:00
David Capello
49f11648b3 Fix opening files from Finder on the Skia/OS X port 2016-04-11 17:25:54 -03:00
David Capello
c900e4aa3c Don't call app_main() from OSXApp 2016-04-11 16:19:32 -03:00
David Capello
4acf12a478 Make Ctrl+Tab work on Skia/OS X port 2016-04-11 15:30:16 -03:00
David Capello
ed4b26b2c8 Add get_unicodechar_from_nsevent() to she/osx/view.mm 2016-04-11 15:30:16 -03:00
David Capello
8e06d61f74 Use NSWindow noResponseFor: to avoid beeps on Skia/OSX fork 2016-04-11 15:30:15 -03:00
David Capello
df9c555c87 Minor changes in she/osx/ 2016-04-11 15:30:02 -03:00
David Capello
49b068cccc Fix warning on updater/check_update.cpp about undefined UPDATE_URL 2016-04-11 13:05:15 -03:00
David Capello
16ae88b6d9 Add comment in she::Event::preciseWheel() 2016-04-11 13:04:44 -03:00
David Capello
81fcbdab3d Update version to v1.1.4-dev 2016-04-11 13:02:49 -03:00
David Capello
519f11e81d Fix open in folder on Linux 2016-04-11 13:00:39 -03:00
David Capello
2a007bffb9 Update Editor::onMouseWheel() to use precise wheel as a touch device (scroll by default)
On OS X, when we receive a precise wheel event, it means that the user
has pressed a touch-like device (trackpad, magic mouse, wacom tablet),
so he can scroll by default with the device (it's not a real mouse wheel).
The zoom can be done with the pinch gesture.
2016-04-11 12:59:51 -03:00
David Capello
951bc1b4b0 Avoid scrolling and zooming at the same time on Skia/OSX back-end 2016-04-08 18:20:18 -03:00
David Capello
1b28c8e482 Fix Alt+key on Linux (fix #83 and #191) 2016-04-08 18:19:07 -03:00
David Capello
00be81dfa8 Fix compilation problems on OS X with skia back-end 2016-04-08 13:08:34 -03:00
David Capello
8a5de088e2 Add scaling from center/pivot (fix #576) and with flipping (fix #579) 2016-04-08 11:55:40 -03:00
David Capello
7d185d1543 Fix base_trace() to avoid double \n\n at the end of line 2016-04-07 16:12:33 -03:00
David Capello
495a645917 Add possibility to recover raw images from a session (as a sequence of frames or layers)
This might be useful in extreme cases where the normal restoration
procedure doesn't work/restore the whole sprite structure correctly.
2016-04-07 16:12:03 -03:00
David Capello
52dd13c9a0 Add Sprite.saveAs() method in scripting API 2016-04-06 19:28:49 -03:00
David Capello
956349f87b Add Image class to scripting
With this change we introduce SpriteWrap and ImageWrap to keep track
of modifications made by the script in one transaction. So we can undo
the script action as one simple action.
2016-04-06 19:05:06 -03:00
David Capello
7f31bbef26 Add const to src argument in cmd::CopyRegion ctor 2016-04-06 18:30:00 -03:00
David Capello
5bd2a01446 Avoid leaving an extra item in the stack when getThis() is used 2016-04-06 17:18:54 -03:00
David Capello
de8ef623a6 Avoid printing the last script result when we run a script from UI 2016-04-06 16:56:10 -03:00
David Capello
21921fdfd5 Refactor scripting code 2016-04-06 15:37:13 -03:00
David Capello
2ce09c53dd Add customization for square aspect, draw from center, and move origin keys (fix #1028)
Some changes:
- Now ui::Keys aren't processed in app::tools side, they are processed
  in Editor side and converted to ToolLoopModifiers flags.
- Replace ToolLoop::getSelectionMode -> ToolLoop::getModifiers()
2016-04-04 18:46:48 -03:00
David Capello
5847624d0e Merge branch 'cli-options-for-thumbnails' 2016-04-04 13:12:30 -03:00
David Capello
e28881ff65 Better error reporting for --shrink-to, --frame-range, --crop options 2016-04-04 13:09:50 -03:00
David Capello
019e6b3b28 Use , separator in --shrink-to and --frame-range 2016-04-04 13:09:47 -03:00
David Capello
e353a2f79d Minor format changes in app/app.cpp 2016-04-04 13:09:45 -03:00
David Capello
c6482da761 Merge branch range-and-shrink-command-line-options
# Conflicts:
#	third_party/libpng
#	third_party/zlib
2016-04-04 13:09:32 -03:00
David Capello
42e868218f Merge branch 'fix-freetype-libpng-deps' 2016-04-04 12:40:02 -03:00