Commit Graph

273 Commits

Author SHA1 Message Date
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
David Capello
ed6090bc36 Convert all newline to LF style and remove all tabs.
This was done to avoid mixed files (CRLF & LF) in the repository.
2012-01-05 19:45:03 -03:00
David Capello
d22d46fd2b Add ENABLE_UPDATER flag to disable the automatic updater. 2011-07-27 21:26:22 -03:00
David Capello
7e6d25db88 Add curl library source code. 2011-06-02 21:03:03 -03:00
David Capello
4ebab86145 Fix "discards const qualifier" gcc warning. 2011-01-28 04:58:51 -08:00
David Capello
2d6e891178 Fix gcc warning about incompatible memcpy implicit declaration. 2011-01-28 04:57:35 -08:00
David Capello
196d1d65d3 Fix gcc warning about incompatible implicit malloc() definition. 2011-01-28 04:47:18 -08:00
David Capello
b15f21bbd0 Fix error in if() expression in giflib/CMakeLists.txt. 2011-01-28 09:45:41 -03:00
David Capello
bf395fca61 More updates for copyright year to 2011. 2011-01-20 18:32:31 -03:00
David Capello
c2e831d009 Use giflib to load gif files.
With this changes a lot of bugs loading different kind of .gif
files are fixed. GIF files must be loaded as RGBA images to
support background color and different transparent color per
frame combinations.
2011-01-18 20:42:43 -03:00
David Capello
701cac25ca Add CMakeLists.txt and config.h.cmake for giflib. 2011-01-16 14:32:21 -03:00
David Capello
7475711153 Remove unnecessary files from giflib directory. 2011-01-16 09:29:25 -03:00
David Capello
fe31108268 Add giflib 4.1.6 third party source code. 2011-01-16 09:21:09 -03:00
David Capello
3163a5ac98 Add support to link ASE with the shared versions of libjpeg, libpng, and zlib. 2010-09-30 17:04:32 -03:00
David Capello
3d5fd0f07c Remove Vaca source code completely (replace NonCopyable class with DISABLE_COPYING macro). 2010-09-29 17:50:46 -03:00
David Capello
b8ddd30a0d Move Vaca classes to base and gui libraries.
+ Remove Vaca::Referenceable class and move Vaca::SharedPtr<> to base/shared_ptr.h (now shared pointers can point to any type).
+ Move Vaca::Component/Event/Property/PreferredSizeEvent to gui/component.cpp.
2010-09-29 17:14:11 -03:00
David Capello
818e286c84 Remove Vaca::Application class. Move Vaca::String class to src/base/string.h (and split_string and convert_to algorithms to src/base/). 2010-09-28 15:36:03 -03:00
David Capello
cd6b8d3d23 Move Signal/Slot/Bind stuff to base-lib. 2010-09-25 17:20:59 -03:00
David Capello
28d09af036 Move Point/Size/Rect classes to a new gfx-lib. 2010-09-25 16:22:32 -03:00
David Capello
51fbcae936 Move Mutex class from Vaca to src/base. 2010-09-23 23:33:39 -03:00
David Capello
803167c06f Remove Debug.cpp/h from Vaca source code. 2010-09-23 21:01:36 -03:00
David Capello
435cebb80e Move common definitions in cflags to the main CMakeLists.txt file. 2010-08-25 16:20:30 -03:00
David Capello
9e1c17f896 Add -D_CRT_SECURE_NO_WARNINGS to third party code so we don't get warnings about "insecure" C functions with MSVC compiler. 2010-08-25 16:18:46 -03:00
David Capello
d8489d4a6b Add gtest source code. 2010-08-25 15:53:05 -03:00
David Capello
7ba3c5df9d Fix warnings in GCC (unused variables, size_t and int comparisons, unhandled enum cases in switch, etc.). 2010-08-11 23:42:03 -03:00
David Capello
3dc5b2b485 Add CMakeLists.txt files. 2010-08-10 21:49:32 -03:00
David Capello
01c811e726 Add PreferredSizeEvent and Widget::onPreferredSize to replace JM_REQSIZE message.
There are a lot of widgets in C code, so JM_REQSIZE cannot be removed until all widgets are converted to C++ classes.
2010-08-02 22:57:41 -03:00
David Capello
81114a7f39 Eliminated a warning in MSVC about double -> float convertion. 2010-07-31 12:15:38 -03:00
David Capello
ff705fce46 Improved Launcher::openFile() method for Windows using ShellExecute() instead of system(). 2010-07-06 23:29:40 -03:00
David Capello
b107ba6c9b Using vsnprintf instead of vsprintf in Unix-like platforms. 2010-07-05 21:53:33 -03:00
David Capello
263c9d4e6e Added Vaca::convert_to<std::string>(int). 2010-07-03 13:30:33 -03:00
David Capello
2a65c24f74 Added Vaca::format_string() for std::string. 2010-07-03 13:30:06 -03:00
David Capello
69bad938de Removed unnecessary #include <allegro.h> 2010-05-30 10:47:16 -03:00
David Capello
abc54a0e2e Fixed bug #2988166 compilation error in unix (EBUSY undefined). 2010-04-16 09:15:55 -03:00
David Capello
bbe7205e4f Fixed compilation error in gcc (cstdarg is need for va_list). 2010-04-13 21:55:07 -03:00
David Capello
cb5cb0f6b9 Added missing #include <cassert> 2010-03-30 20:27:50 -03:00
David Capello
bc4e08f454 Added Vaca::Application and Vaca/main.h, and removed Vaca::System.
Now the application compiles with MinGW.
2010-03-30 10:22:47 -03:00
David Capello
418b84f205 Added missing Property.cpp file. 2010-03-23 21:58:42 -03:00
David Capello
bef2470111 Disabled warning 4251 in MSC. 2010-03-23 21:55:47 -03:00
David Capello
059c650922 Fixed a typo. 2010-03-22 20:21:38 -03:00
David Capello
99e75b349e Fixed convert_to problems. 2010-03-20 23:14:18 -03:00
David Capello
44b80672f2 Added properties to Component class. 2010-03-20 13:28:06 -03:00