Commit Graph

4517 Commits

Author SHA1 Message Date
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
David Capello
0605166cc6 Move clock/tick from "she" to "base" library and switch to uint64_t type 2016-03-29 16:19:23 -03:00
David Capello
3cd7d273d9 Update she/CMakeLists.txt for Skia branch 'chrome/m50' 2016-03-29 14:36:03 -03:00
David Capello
554885b83e Avoid warning about multiline comment on gcc 2016-03-29 12:53:16 -03:00
Azamat H. Hackimov
981823227b Some cleanup. 2016-03-29 17:53:06 +05:00
David Capello
bde0372f33 Add some notes in INSTALL.md about known issues when the official Allegro 4.4 is used 2016-03-29 09:26:35 -03:00
Azamat H. Hackimov
7964f1feb1 Make building tests optional
Added new option ENABLE_TESTS in CMake (ON by default)
2016-03-29 15:06:59 +05:00
David Capello
64449ffba8 Avoid signed/unsigned comparison in gcc/debug compilation 2016-03-28 18:59:35 -03:00
David Capello
27b55030e2 Fix bug pressing warning icon to add palette color when active locale is non-English
It looks like Allegro library was changing the locale to the active
one, and it can break things like strtod() (which is used to convert
colors from string format in AddColor command). In this case, if we added
a HSV color with double floating-point precision, it was added incorrectly
because strtod() wasn't taking the decimal part.
2016-03-28 15:30:00 -03:00
David Capello
f2ba51f1be Fix double-click in Allegro back-end when she_mouse_callback() is used 2016-03-28 10:36:06 -03:00
David Capello
b62c1e195f Merge branch 'HunterNN-master' 2016-03-26 10:57:19 -03:00
David Capello
799803d582 Add DrawingState::destroyLoopIfCanceled() to avoid duplicated code 2016-03-26 10:56:20 -03:00
David Capello
fde573d8db Merge branch 'master' of https://github.com/HunterNN/aseprite into HunterNN-master 2016-03-26 10:49:36 -03:00
David Capello
85418c1530 Fix invalid LIBJPEG_DIR reference introduced in 3e9de78fa2 2016-03-26 10:39:26 -03:00
David Capello
cf6be7349b Revert 6a63dc5aad as app already depends on net-lib 2016-03-26 10:17:12 -03:00
David Capello
3b7674a6c7 Merge pull request #1035 from winterheart/cmake
CMake improvements
2016-03-26 09:21:10 -03:00
Azamat H. Hackimov
1a682f82eb Replaced LIBCURL_* to CURL_* in CMakeList
According to find_package() variables.
2016-03-26 16:01:45 +05:00
Azamat H. Hackimov
6a63dc5aad Adding ${CURL_LIBRARIES} to application linking
Fixing compilation underlinking with system curl.
2016-03-26 15:22:57 +05:00
Azamat H. Hackimov
3e9de78fa2 Using FOO_LIBRARIES and FOO_HEADERS from system cmake.
Fixes issue #864 (FREETYPE_INCLUDE_DIRS has not been added to search path)
2016-03-26 15:17:12 +05:00
Azamat H. Hackimov
75f908b45e Use find_package(FOO REQUIRED)
Using more cmake-way finding packages for shared system libraries
where it is possible.
2016-03-26 14:26:22 +05:00
Hunter99
edb2f971e5 Added cancel drawing loop on key release (fix #1002) 2016-03-25 14:32:36 +01:00
David Capello
7934c975ca Fix bug painting selection edges when zoom < 100% (fix #905) 2016-03-24 18:24:32 -03:00
David Capello
f696d895b4 Do not remap indexes between palette entries that are equal (fix #914) 2016-03-24 17:37:04 -03:00
David Capello
b4ce12beb4 Simplify hidden brush preview style 2016-03-24 14:51:57 -03:00
David Capello
300fceec3f Merge pull request #1022 from Nsheppard01/1.0
Adding X11 and websafe color palettes
2016-03-24 14:46:56 -03:00
David Capello
8b161dac0a Add ShowBrushPreview command so the user can hide the brush preview with a keyboard shortcut (fix #792) 2016-03-24 14:45:28 -03:00
Nathaniel Sheppard
c3f32e6da2 Rename WebSafeColors.gpl to web-safe-colors.gpl 2016-03-24 10:34:05 -07:00
David Capello
9face9458e Add an option to change the "brush preview" style (related to #792) 2016-03-24 14:29:15 -03:00
David Capello
2af47fe907 Add option to toggle the selection edges visibility (fix #861) 2016-03-24 13:04:35 -03:00
David Capello
d4faf04946 Add a rgba_blender_normal() version without opacity
This can be used to speed up text rendering and rotation algorithm.
2016-03-22 18:40:47 -03:00
David Capello
ce02a31c01 Improve image_scale_tpl() performance using an iterator for source image 2016-03-22 18:23:03 -03:00
David Capello
14262c270c Fix crash on image_scale_tpl() and rotsprite_image() 2016-03-22 17:05:45 -03:00
David Capello
66e3cacbd0 Add RotSprite as a resize algorithm on Sprite > Resize Sprite menu 2016-03-22 17:02:41 -03:00
David Capello
7841ec82f3 Flip mask when the whole canvas is flipped (fix #561) 2016-03-21 14:51:43 -03:00
Nathaniel Sheppard
bfe29544ff Adding X11 and websafe color palettes 2016-03-20 16:32:25 -07:00
David Capello
472efc46d9 Merge branch 'Nsheppard01-master' 2016-03-19 12:44:01 -03:00