Commit Graph

4754 Commits

Author SHA1 Message Date
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
Gabriel Rauter
6ceee02a6d licence under MIT only 2016-04-06 00:35:09 +02:00
Gabriel Rauter
039d926b17 switch to dual licence GPL2/MIT 2016-04-05 23:09:02 +02:00
Gabriel Rauter
f9d13e94ed add missing licence info 2016-04-05 14:49:19 +02:00
Gabriel Rauter
b3b96a73a9 rename desk to desktop, remove virtual and add override 2016-04-05 01:06:52 +02:00
Gabriel Rauter
75445d0b67 add linux thumbnailers for Gnome & KDE/Qt
This adds thumbnailer support both for Gnome and KDE5/Qt5. The gnome
thumbnailer is installed by default on linux systems, as it does not add
any additional dependencies at build time and can be used by
GnomeThumbnailFactory. The KDE/Qt thumbnailer need the whole Qt and Kio
stack to build, as well as the distribution dependend variables set.
Because of that it is not build by default. For the thumnailers to work
for all of aseprites supported file formats and additonal mime type file
is installed. Packagers in addition need to call update-mime-database
path-to-mime-database (/usr/share/mime for example) as post install
command.
2016-04-04 23:50:14 +02: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
David Capello
d94b859777 Try to compile libpng before freetype (because freetype depends on libpng) 2016-04-04 12:24:40 -03:00
David Capello
8338784735 Fix crash using RotSprite algorithm on Sprite Size command 2016-04-04 11:39:32 -03:00
David Capello
f25c030a20 Fix issues compiling base/fs_unix.h on FreeBSD (close #1016) 2016-04-04 11:11:57 -03:00
David Capello
4fc0060b79 Fix linking she library with freetype 2016-04-04 10:51:43 -03:00
David Capello
8028cf64db Merge branch 'unicode-text'
# Conflicts:
#	third_party/libpng
#	third_party/zlib
2016-04-04 10:26:57 -03:00
David Capello
e4bb2ec45b Initial commit for a new Skia/X11 port 2016-04-04 10:17:14 -03:00
David Capello
79c2033a67 SkiaSurface::applyScale() uses the same color/alpha-type to resize the image 2016-04-04 10:08:04 -03:00
David Capello
939e86f5e4 SkiaSurface::create() creates opaque images (alpha isn't needed) 2016-04-04 10:07:22 -03:00
David Capello
fdbb70b1a4 Disable zlib tests 2016-04-01 09:50:09 -03:00
David Capello
72b47e061a Disable png tests and dynamic library caching values 2016-04-01 09:17:40 -03:00
David Capello
80a649dc12 Merge branch 'zlib-and-libpng-submodules'
Conflicts:
	third_party/libpng
	third_party/zlib
2016-03-31 17:57:23 -03:00
David Capello
58daa23240 Replace zlib and libpng with submodules 2016-03-31 17:48:54 -03:00
David Capello
02e9d983b6 Merge pull request #1045 from winterheart/vga-palette
VGA 13h standard palette
2016-03-31 13:07:30 -03:00
Azamat H. Hackimov
9c5768d439 VGA 13h standard palette
Fixes #1020
2016-03-31 19:48:49 +05:00
David Capello
677fe41316 Throw exceptions if a SkBitmap cannot be created on SkiaSurface
Maybe in the future we might avoid throwing exceptions from the "she"
layer and just return an error code.
2016-03-29 20:04:49 -03:00
David Capello
aea1e24e32 Merge branch 'optional-tests' 2016-03-29 19:51:44 -03:00
David Capello
e10a3e4a17 Disable tests by default
Sometimes a compilation error in a test is reported when the user only
wants to execute the Aseprite binary (and it's actually already compiled).
2016-03-29 19:07:45 -03:00
David Capello
0430fe998c Rename cmake/Find-tests.cmake to cmake/FindTests.cmake 2016-03-29 19:07:43 -03:00
David Capello
cb4b45e58b Merge branch 'optional-tests' of https://github.com/winterheart/aseprite into optional-tests 2016-03-29 19:07:36 -03:00