Commit Graph

314 Commits

Author SHA1 Message Date
David Capello 7c4fbc7b53 Update libpng module 2021-06-17 11:06:58 -03:00
David Capello c2ab21356f Merge branch 'main' into beta 2021-06-17 11:03:25 -03:00
David Capello 567a58f57d [lua] Add conditional usage of system() function through HAVE_SYSTEM 2021-06-17 10:59:13 -03:00
David Capello 1482d6d5a7 Update libarchive module 2021-06-17 10:46:15 -03:00
David Capello 8dc5861435 Disable more libarchive utilities 2021-06-17 10:45:36 -03:00
David Capello 97ef3bf9c3 Don't build cmark program 2021-06-17 10:44:22 -03:00
David Capello 80322af02e Use CityHash for tiles
This reduces the level of collisions between hash buckets between
different image tiles.
2021-04-19 15:56:47 -03:00
David Capello a926ca9055 Update cmark module 2021-04-13 18:41:22 -03:00
David Capello 677b8bf204 Fix several issues found with ThreadSanitizer 2020-06-17 15:55:44 -03:00
David Capello f2bc864fc9 Don't build webp extras 2020-06-08 12:24:32 -03:00
David Capello 9801010a2b Update webp module
Possible fix for #2387?
2020-05-18 08:32:49 -03:00
David Capello 0e32fb653d Fix problem with libarchive adding /we flag on MSVC Debug 2020-04-18 20:27:46 -03:00
David Capello c0d4264789 Fix crash loading some kind of .zip extensions w/filename w/Unicode chars 2020-04-17 10:58:47 -03:00
David Capello ae9c37e90c Update lua module 2020-04-15 16:27:01 -03:00
David Capello 60263f4511 Update fmt module to 6.2.0 2020-04-07 11:01:15 -03:00
David Capello eaa2dd14b6 Update submodules 2020-02-27 12:15:41 -03:00
David Capello 1584cc59ac Update fmt library to v6.1.0 2019-12-02 15:27:28 -03:00
David Capello 446e7055e9 Fix MSVC compilation of libarchive: Don't use /WX (-Werror) 2019-10-23 21:10:19 -03:00
David Capello 8689daa4b8 Update libarchive module 2019-10-10 21:27:58 -03:00
David Capello 5eb3119877 Update libpng 2019-09-05 20:15:44 -03:00
David Capello 81e1b5a41c Update pixman and disable DEBUG checks in region code 2018-12-04 11:43:59 -03:00
David Capello e13d424ced lua: All functions that receive an integer, can receive a number too (with math.floor() conversion) 2018-11-05 17:26:18 -03:00
David Capello b4b232b10f Update submodules 2018-09-14 20:34:59 -03:00
David Capello 492f1954a1 Update submodules 2018-08-30 18:03:30 -03:00
David Capello 1be9a80ae6 Update libarchive 2018-08-30 17:48:40 -03:00
David Capello 9e5f026581 Update freetype module 2018-08-27 14:08:49 -03:00
David Capello 0f18365d48 Update freetype module 2018-08-24 18:31:25 -03:00
David Capello 1b5fd7ccef Add ENABLE_NEWS and disable curl if it's not needed 2018-08-24 18:24:05 -03:00
David Capello d4674e981a Compile lua only if ENABLE_SCRIPTING is enabled 2018-08-24 17:53:08 -03:00
David Capello 860edf6439 Merge branch 'os' (related to #139) 2018-08-23 17:27:52 -03:00
David Capello 4fe66f2ffb Change scripting language to Lua 2018-08-22 14:54:51 -03:00
David Capello f9c1c68012 Remove Allegro back-end (#139) 2018-08-09 11:43:35 -03:00
David Capello d13806ac23 Restore CMake configuration to use -stdlib=libc++ even on OS X 10.7 2018-08-06 16:42:55 -03:00
David Capello e0958027db Update tinyexpr module 2018-07-24 14:49:08 -03:00
David Capello f595ceea7f Add possibility to write math expression in number textboxes (fix #1762) 2018-06-28 13:33:13 -03:00
David Capello d2a8fb97d8 Update mujs module 2018-06-14 16:06:04 -03:00
David Capello bd66661d88 Update webp to v1.0.0 2018-06-09 14:58:00 -03:00
David Capello 850bf76bf5 Update libwebp module 2018-06-09 13:04:56 -03:00
David Capello fb450de9c9 Update laf and benchmark modules 2018-06-09 13:04:16 -03:00
David Capello 95a59968c8 Update harfbuzz module 2018-04-03 19:10:27 -03:00
David Capello d9462e912c Don't use libxml2 on libarchive 2018-04-03 13:01:32 -03:00
David Capello b55ae10aba Don't use bzip2 on freetype and libarchive 2018-04-03 13:01:19 -03:00
David Capello 5b04293dc3 Fix zlib, png, jpeg, and freetype flags/linking 2018-04-03 12:43:26 -03:00
David Capello f554801dd0 Disable benchmark library tests 2018-04-03 12:40:38 -03:00
David Capello 617edbb907 Update harfbuzz module 2018-04-03 11:49:55 -03:00
David Capello 1571fac5a3 Fix linking between third party projects 2018-04-03 11:11:10 -03:00
David Capello 358265e3e1 Update harfbuzz module 2018-03-26 17:16:00 -03:00
David Capello 39cd0a7412 Use harfbuzz cmake file 2018-03-26 16:14:38 -03:00
David Capello 6de103128b Add support for animated webp files (fix #273) 2018-03-26 14:11:40 -03:00
David Capello b1823ab558 Update libwebp library 2018-03-22 16:49:05 -03:00
David Capello c69a7ef33d Update freetype and harfbuzz 2018-03-22 16:42:36 -03:00
David Capello b3225c5bb1 Update json11 library 2018-03-22 16:34:45 -03:00
David Capello 53b74284ff Update libarchive library 2018-03-22 11:52:06 -03:00
David Capello f0262b1d96 Update libpng library 2018-03-22 11:51:52 -03:00
David Capello 784f25c138 Update zlib library 2018-03-22 11:34:22 -03:00
David Capello 7f9d1f64d8 Merge branch 'ft' of https://github.com/winterheart/aseprite into winterheart-ft 2017-12-20 15:09:17 -03:00
David Capello b30b0de52e Update harfbuzz module 2017-12-13 16:10:00 -03:00
Azamat H. Hackimov b1a6b668da Add support for shared harfbuzz
-DUSE_SHARED_HARFBUZZ (OFF by default)
2017-10-31 17:51:55 +05:00
David Capello f4ffd4110c Start using fmt library
This is the first step for a full i18n (#124).
2017-10-09 14:43:01 -03:00
David Capello a8bab37576 Update giflib module 2017-10-02 12:37:46 -03:00
David Capello 6c79855e8c Update giflib to a submodule 2017-10-02 12:24:56 -03:00
David Capello 8e7a5e5014 Fix gif encoding on x64 compiled with VS2017
bool is 1 byte on C++, not 4 bytes (int), so we cannot just "typedef int
bool" and assume that structs with bools will have the same size on C++
than on C.
2017-09-27 08:42:05 -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 16520dc384 Delete duktape submodule 2017-08-02 21:49:56 -03:00
David Capello 7cbf5fd420 Add some simple benchmarks for color blending functions 2017-07-18 17:03:12 -03:00
David Capello 052e2faac3 Don't depend on bcrypt.dll on Windows (fix #1520) 2017-06-28 17:24:17 -03:00
David Capello 1a65f21f72 Disable lzma in libarchive 2017-06-24 13:44:25 -03:00
David Capello 9abd1bd1bc Update libarchive to avoid linking errors on Linux 2017-06-14 20:49:25 -03:00
David Capello f37ccdc578 Replace taocpp/json with dropbox/json11 which compiles on MSVC 2017-06-14 19:50:44 -03:00
David Capello 70109e06f7 Disable libarchive tests and coverage 2017-06-12 13:20:32 -03:00
David Capello a9e688989f Implement Add/Uninstall extension (#1403)
- Added libarchive to uncompress .zip extensions
- Moved ListItem painting code to styles because we needed a selected+disabled state.
2017-06-12 12:38:53 -03:00
David Capello 27c4d832bf First draft-implementation of extensions (#1403)
At the moment only themes are supported and some functionality is not
available yet (disabling an extension, uninstalling it, etc.)
2017-06-10 15:02:39 -03:00
David Capello e6f0e70034 Fix linking on gcc/Linux: harfbuzz depends on freetype 2017-03-15 15:47:48 -03:00
David Capello c08f7705f3 Merge branch 'cmark' of https://github.com/winterheart/aseprite into winterheart-cmark 2017-03-14 08:55:34 -03:00
David Capello ffe2b07d0e Fix check_cxx_source_compiles -> check_c_source_compiles 2017-03-13 18:43:06 -03:00
David Capello 2e7dee0787 Add support for multithread harfbuzz with gcc 2017-03-13 18:35:29 -03:00
David Capello 8af1f1c9fa Add missing CMakeLists.txt file for harfbuzz 2017-02-24 19:43:54 -03:00
David Capello 24faae2ca5 Use HarfBuzz to render combining characters correctly 2017-02-20 17:14:41 -03:00
Azamat H. Hackimov 90624bbc22 Shared cmark library
Making optional linking with shared system cmark library with
-DUSE_SHARED_CMARK option.
2017-01-28 16:18:41 +05:00
David Capello c1e428544e Add minimal .md browser to show README/LICENSES files
Now we can see markdown files inside Aseprite. This is an initial
support (text only, separators, links only on headers and to external
URLs).

- Added a new docs/LICENSES.md file
- Removed old .txt licenses
2016-12-06 16:03:51 -03:00
David Capello 2f987ac3c3 Minor: sort filenames in pixman CMakeLists.txt file 2016-11-18 09:21:46 -03:00
David Capello c2103df444 Move base module to laf library 2016-11-01 12:47:48 -03:00
David Capello 151a302830 Update Skia to chrome/m55 (aseprite-m55) branch 2016-10-31 19:50:32 -03:00
David Capello 46e9ece20a Update freetype2 library 2016-06-08 13:04:58 -03:00
David Capello 98ba8df343 Update libpng library 2016-05-04 12:43:41 -03:00
David Capello 231b17615a Merge branch 'cmake-optima' of https://github.com/winterheart/aseprite into cmake-optima 2016-04-19 14:19:21 -03:00
David Capello ba234aea87 Update libpng 2016-04-19 14:10:53 -03:00
David Capello 756f7173e1 Don't use OpenSSL to compile curl 2016-04-19 14:09:38 -03:00
Azamat H. Hackimov b5f63d428c Refactoring CMake invocations
Using built-in function and modules for checking.
2016-04-19 20:56:04 +05:00
David Capello 21921fdfd5 Refactor scripting code 2016-04-06 15:37:13 -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 8028cf64db Merge branch 'unicode-text'
# Conflicts:
#	third_party/libpng
#	third_party/zlib
2016-04-04 10:26:57 -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 58daa23240 Replace zlib and libpng with submodules 2016-03-31 17:48:54 -03:00
David Capello 779875e728 Remove unused pixman-version.h.cmake file 2016-03-14 15:49:31 -03:00
David Capello 64deb6ed87 Remove mongoose code
The webserver isn't functional yet, and mongoose license is GPL now.
2016-02-16 18:52:15 -03:00
David Capello 84781196e5 Update simpleini version 2016-01-04 12:37:48 -03:00
David Capello 3087ddd5b9 Update pixman to 0.33.6 2016-01-04 12:27:25 -03:00
David Capello d77aabd3f3 Update freetype2 version
Should fix #909 and #930
2016-01-04 12:19:19 -03:00
David Capello 26e4678d2d Add functions to encode/decode data in base64 2015-12-21 13:44:02 -03:00
David Capello b3bb3c077e Update freetype2 submodule
Our change was merged upstream, so now we can use the official master
branch.
2015-10-29 09:16:46 -03:00
David Capello fc8f12f11c Fix freetype2 library compilation with Ninja makefiles 2015-09-22 19:29:27 -03:00
David Capello ce96a77aae Add required flags to link the application with freetype2 library 2015-09-22 19:27:44 -03:00
David Capello 9b43aa11b3 Add freetype2 submodule 2015-09-22 19:27:04 -03:00
David Capello 4939a716a3 Remove freetype code 2015-09-22 19:24:36 -03:00
David Capello 2a0f8ca536 Disable webp support by default (related to #799)
There is a new WITH_WEBP_SUPPORT cmake option to enable webp support.
2015-09-07 14:45:31 -03:00
Gabriel Rauter 884b5f2e6f add submodule libwebp for #273 2015-09-01 13:04:11 +02:00
David Capello 55f90d8b8b Add target_link_libraries() for sublibraries
With this change we remove some internal variables/lists like sys_libs,
libs3rdparty, etc. And we fix dependencies problems between targets.
2015-07-13 12:16:55 -03:00
David Capello 66330dc39a Remove unused libart library source code 2015-06-23 12:45:05 -03:00
David Capello 5b17f44526 Add basic scripting support to eval expression in --shell and DevConsole 2015-06-19 20:01:30 -03:00
David Capello 699d60b03f Change scripting engine from V8 to duktape 2015-06-19 13:06:47 -03:00
David Capello be0f0892e2 Remove special flags to compile loadpng
These flags are defined in the main CMakeLists.txt file if they are needed.
2015-06-09 10:47:14 -03:00
David Capello 222562db09 Remove USE_SHARED_GTEST option 2015-06-08 18:20:39 -03:00
David Capello b3b6a28427 Now include(CheckCXXSourceCompiles) is required in src/CMakeLists.txt 2015-06-08 17:46:37 -03:00
David Capello 0c115e5567 Move code to find gtest shared version into src/CMakeLists.txt 2015-06-08 17:42:08 -03:00
David Capello fdeba03216 Fix find_library() call for gtest library (issue #695) 2015-06-08 17:29:42 -03:00
David Capello fd15b4be97 Update third_party/README.md 2015-05-29 11:54:37 -03:00
David Capello 72d0ca8d2c Don't define strlcat() in curl if HAVE_STRLCAT is defined 2015-05-29 11:40:51 -03:00
David Capello 283f9984bf Add adjustments to third_party/CMakeLists.txt for the new gtest submodule 2015-05-29 11:26:56 -03:00
David Capello fd445e01f9 Add third_party/gtest as a submodule 2015-05-29 11:08:47 -03:00
David Capello f3cfa547d4 Remove third_party/gtest files 2015-05-29 11:07:33 -03:00
David Capello c21a84c9c9 Add zlib as libpng dependency 2015-05-19 14:02:52 -03:00
David Capello d7bf504887 Fix flags to always compile with libcurl (as HomeView needs net-lib to load news) 2015-04-23 19:14:13 -03:00
David Capello 0350ac4bbe Initial work on Skia backend (WIP) 2015-03-16 15:05:13 -03:00
David Capello 2c408e4c98 Fix linking with libcurl from a Visual Studio solution (again, fix #606) 2015-03-10 13:50:12 -03:00
David Capello b23194dfae Fix several warnings in MSVC, clang, and gcc 2015-03-05 15:19:00 -03:00
David Capello 5aea29348e Merge branch '1.0'
Conflicts:
	data/gui.xml
	src/app/CMakeLists.txt
	src/app/color_utils.cpp
	src/app/color_utils.h
	src/app/commands/cmd_preview.cpp
	src/app/document_exporter.cpp
	src/app/document_exporter.h
	src/app/ui/editor/standby_state.cpp
	src/config.h
	src/main/resources_win32.rc
2014-12-03 11:15:09 -03:00
David Capello 7c9303e91d Fix compilation of libcurl from a Visual Studio solution 2014-12-02 01:42:11 -03:00
David Capello 39b8e034b5 Merge branch '1.0'
Conflicts:
	.gitmodules
	CMakeLists.txt
	src/CMakeLists.txt
	src/app/app.h
	src/app/app_menus.cpp
	src/app/commands/cmd_move_mask.cpp
	src/app/commands/cmd_rotate.cpp
	src/app/modules/gui.cpp
	src/doc/resize_image_tests.cpp
	src/ui/accelerator.cpp
	third_party/CMakeLists.txt
2014-10-30 01:06:27 -03:00
David Capello fa1d9de578 Add TLS support to pixman for Unix-like systems 2014-10-25 22:36:26 -03:00
David Capello 0cf597c0f4 Add dependency with pixman library 2014-10-25 22:22:58 -03:00
David Capello 2b2d0f34b2 Add simpleini to replace Allegro 4 configuration routines 2014-10-16 21:27:25 -03:00
David Capello a1912d38bd Avoid unused variable warnings when we compile in release mode 2014-08-17 20:33:32 -03:00
David Capello df3b87c409 Update giflib to 5.1.0 2014-06-02 22:10:08 -03:00
David Capello e3b594fc67 Fix warnings using Win32 Unicode functions instead of ANSI functions in curl lib 2013-11-10 12:36:26 -03:00
David Capello 2364776c44 Add HTTP webserver feature (for testing only at the moment) 2013-03-31 00:36:00 -03:00
David Capello 9b8e87da10 Update copyright year to 2013 2013-01-27 12:13:13 -03:00
David Capello a35aa7559a Do not use the embedded libloadpng.
Add the option to use a shared libloadpng library.
Patch by Tobias Hansen <tobias.han@gmx.de>
2012-07-08 21:21:01 -03:00
David Capello 0ac28c69f0 Update loadpng code from its latest version from Allegro SVN repository (new license: zlib). 2012-03-24 11:55:26 -03:00
David Capello 799065ccb5 Now internal libpng header files are not required anymore by loadpng and png_format.cpp. 2012-03-22 19:00:20 -03:00
David Capello be82a49f86 Add option to compile using shared gtest library (thanks to Tobias Hansen). 2012-03-19 14:33:49 -03:00
David Capello 49614f6f41 Always add third_party/libpng to include directories (thanks to Tobias Hansen).
Because private libpng headers are used by loadpng and
src/file/png_format.cpp.
2012-03-19 14:27:00 -03:00
David Capello 7115806dc4 Create option to build with shared tinyxml (thanks to Tobias Hansen). 2012-03-19 14:04:24 -03:00
David Capello 71f044751f Add flags to link with giflib and curl shared libraries.
Removed freetype and libart in the linking process because they
are not used anymore (the source code is still in the repository).
2012-03-15 00:17:49 -03:00
David Capello d5f32fb264 Update libpng to 1.5.9 which fixes a serious vulnerability. 2012-02-29 21:49:13 -03:00
David Capello 36ca165328 Update zlib to 1.2.5 and libpng 1.5.7.
Fix loadpng library and png_format.cpp to support the new libpng version.
2012-01-07 21:11:19 -03:00
David Capello 8e94cfc341 Update tinyxml to 2.6.2 2012-01-07 19:00:26 -03:00
David Capello b8fbaad7fb Replace Allegro Sprite Editor or ASE with ASEPRITE in all files. 2012-01-06 01:12:57 -03:00
David Capello 02a9d50524 Update copyright year to 2012. 2012-01-06 00:52:11 -03:00