David Capello
58daa23240
Replace zlib and libpng with submodules
2016-03-31 17:48:54 -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
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
85418c1530
Fix invalid LIBJPEG_DIR reference introduced in 3e9de78fa2
2016-03-26 10:39:26 -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
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
Gabriel Rauter
745fd180d4
Experimental native gtk3 file dialog
...
This pull request basicly adds the suport for gtk3 dialogs to she.
it is disabled by default and can be enabled with
cmake ... -DWITH_GTK_FILE_DIALOG_SUPPORT=ON ..
and needs the Experimental option "Use native file dialog"
enabled in aseprite enabled.
It is currently only available on *nix and has a external
dependencie on gtkmm >= 3.16 and glibmm >= 2.45
To have at least backwardcompatibility with ubuntu 15.10
the cmake option -D_WITH_DEPRECATED_GLIB_SUPPORT was added
to make use of a deprecated glibmm method.
Further testing ist need to see how far this backward
compatibility works, as of now ubuntu 12.04 does not seem to work.
But as ubuntu 12.04 will reach its end of support this summer and
ubuntu 15.04 having passed its end of life in february the question
is how far back this support is aimed for. Please enter the commit message for your changes. Lines starting
2016-03-04 21:22:44 +01:00
David Capello
1c8d89c31f
Merge pull request #973 from farnold/master
...
OS X: fix clang compile error over non-existent simpleini lib
2016-02-26 19:00:25 -03:00
David Capello
5dd2d8119b
Add initial support to Steam API (just inform to Steam that we're running)
2016-02-24 13:21:37 -03:00
Fabio Arnold
d190b88854
OS X: fix clang compile error over non-existent simpleini lib
2016-02-21 01:03:10 +01: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
26e4678d2d
Add functions to encode/decode data in base64
2015-12-21 13:44:02 -03:00
David Capello
7f8cbfd250
New flags required for OS X/Skia port (m48 branch)
...
As now Skia uses <atomic> header file, we need C++11 and libc++
standard library when we compile with clang.
2015-12-17 17:43:13 -03:00
David Capello
98f026731e
Use _DEBUG and NDEBUG instead of DEBUGMODE
...
DEBUGMODE macro came from Allegro 4.
2015-12-04 12:38:57 -03:00
David Capello
72965b14d2
Add missing -DUSE_SKIA_BACKEND and -DUSE_ALLEG4_BACKEND
2015-10-14 13:30:45 -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
795c4d5a87
Use ctest to run tests
2015-09-21 16:45:25 -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
7281ef1467
Include Allegro flags in PLATFORM_LIBS when the shared version is used
2015-07-13 13:02:34 -03: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
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
a11e6aff76
Fix for "multiple definition" link error with clang on Linux and shared Allegro lib
2015-06-09 12:47:27 -03:00
David Capello
47a05434fe
Remove some remaining parts of USE_SHARED_GTEST option
2015-06-09 10:54:04 -03:00
David Capello
b2fb33a415
Don't use our copy of libpng header files when USE_SHARED_LIBPNG is ON
2015-06-09 10:20:56 -03:00
David Capello
222562db09
Remove USE_SHARED_GTEST option
2015-06-08 18:20:39 -03:00
David Capello
65105f33da
Do not link with QuickTime and audio frameworks on OS X
2015-06-01 14:39:30 -03:00
David Capello
73fa7b2107
Define CURL_STATICLIB if we don't use libcurl shared version (might be related to #640 )
...
This problem was introduced in d7bf504887
2015-04-27 12:23:54 -03:00
David Capello
0350ac4bbe
Initial work on Skia backend (WIP)
2015-03-16 15:05:13 -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
ce4021ba35
Minor change in main CMakeLists.txt
2014-12-02 01:38:38 -03:00
David Capello
d1c0a61b40
Change the compilation output path to CMAKE_BINARY_DIR/bin and /lib
2014-12-02 01:30:01 -03:00
David Capello
2d57ca4b3e
Merge branch '1.0'
2014-11-29 15:07:16 -03:00
David Capello
4a1ee6d557
Fix Profile flags for MSVC in CMakeLists.txt
2014-11-28 23:04:14 -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
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
Matthias Mailänder
8fa93bcc3b
don't fail on cmake version 2
2014-09-14 11:00:05 +02:00
David Capello
31e565a2b0
Add "gen" utility to generate UI widget wrappers from XML files
2014-07-13 13:24:57 -03:00
David Capello
7ffce344bd
Add CUSTOM_WEBSITE_URL option to test a local webserver
2014-06-02 21:31:44 -03:00
David Capello
dd2ce20e25
Win32: Add support to convert mouse messages (WM_) to ui::Messages (using she::Events)
...
On Windows, instead of polling Allegro mouse position/buttons we can use
the mouse messages (WM_*) directly to generate she::Events. Those events
are received by the ui::Manager and converted to ui::Messages.
Maybe this is a possible fix for issue #133 (Wacom tablets don't work
properly).
Changes:
- Don't use jmouse_z() directly (new ui::MouseMessage::wheelDelta() member)
- Add ui::_internal_set_mouse_position() to change the jmouse_x/y(0)
from the new mouse position received in she::Events. The same for
ui::_internal_set_mouse_buttons().
- Modify the ui::Manager to generate mouse events in any case: using old
Allegro 4 polling method, or from she::Events.
2014-04-17 22:23:12 -03:00
David Capello
30af4e2620
Add trial-mode without save functionality
2014-04-10 00:33:28 -03:00
David Capello
5b252c30f5
Add support for Unicode file names on Windows
...
- Fixed issue #46 : open .png files with Unicode chars
- Fixed issue #150 : ability to uncompress program in folders w/Unicode chars
- Added base::utf8_iterator
- Added base::FileHandle
- Added base::get_app_path()
- Modified ui::KeyMessage::ascii() -> unicodeChar()
- Removed JI_NOTEXT flag
- Added app::XmlDocumentRef class and app::open_xml() function
- Added support for Unicode text exchange with Win32 clipboard
2013-10-14 19:58:11 -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
7a062b61a8
Add support for VC++11 (2012)
2012-10-30 21:08:33 -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
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
c4c44bf7e2
Add support to compile with shared Allegro 4 library.
2012-03-19 13:24:15 -03:00
David Capello
9c37384d3b
Windows XP is the minimum supported platform.
2012-03-16 22:22:56 -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
bbd14b42b7
Add zlib bin directory to include zconf.h in ase_format.cpp
2012-01-07 21:32:53 -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
f767c06761
Add MemoryDump class in base library to create mini-memory dumps on win32 platform.
2011-10-29 12:30:49 -03:00
David Capello
f09cf4db4b
Add FULLSCREEN_PLATFORM constant (as in branch 0.8).
2011-08-09 20:27:12 -03:00
David Capello
5202826406
Minor change in CMakeLists.txt.
2011-08-09 20:13:22 -03:00
David Capello
04c675bd15
Merge branch 'ft-updater'
2011-07-27 22:10:49 -03:00
David Capello
d22d46fd2b
Add ENABLE_UPDATER flag to disable the automatic updater.
2011-07-27 21:26:22 -03:00
David Capello
4fac1f119b
Remove requirement of ddraw.lib library, so we can compile with the latest DirectX SDK.
2011-07-26 23:42:14 -03:00
David Capello
92a7b29e60
Add net-lib (HttpRequest/Response classes).
2011-06-12 10:50:30 -03:00
David Capello
b02b86b613
Fix compiling on Linux when XDGA is detected (fixed issue #12 ).
2011-03-06 16:20:11 -03:00
David Capello
610e06931b
Add _WIN32_WINNT definitions to avoid compilations errors with VS2005 (undefined Win32 API symbols).
2011-01-20 17:28:21 -03:00
David Capello
d6eb20ef7e
Update copyright year to 2011.
2011-01-18 20:49:53 -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
c3162846cf
Remove VACA_DIR variable from main CMakeLists.txt file.
2011-01-16 09:40:00 -03:00
David Capello
edd0e62241
Move "-arch i386" flag for Apple port in main CMakeLists.txt file.
2010-10-31 12:54:23 -02:00
David Capello
9e4972fc53
Remove dependency with DirectInput and delete winput.c file.
2010-10-17 23:43:08 -03:00
David Capello
094f0b6e8f
Remove FindDSound. Update FindDxxx.cmake files to use DXSDK_DIR variable (as in Allegro 5).
2010-10-17 15:54:26 -03:00
David Capello
7c3c2bf69e
Remove PSP and BeOS configuration from the main CMakeLists.txt
2010-10-17 10:30:45 -03:00
David Capello
87d2d5595f
Move link flags and other cmake configuration from Allegro's CMakeLists.txt to the main CMakeLists.txt.
...
Remove all the "modules" stuff from Allegro's CMakeLists.txt
2010-10-16 17:02:12 -03:00
David Capello
3ef3fe3a3f
Remove VACA_ALLEGRO definition.
2010-10-16 15:18:06 -03:00
David Capello
f86c306bab
Add ENABLE_MEMLEAK parameter to CMakeLists.txt (fix jmem.cpp so it can be compiled when MEMLEAK is defined).
2010-10-10 16:47:01 -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
97b25219e4
USE_STATIC_ALLEGRO is off by default.
2010-09-26 18:57:48 -03:00
David Capello
73aa734daa
Default option is to use Allegro lib statically.
...
It is the only option which is working with cmake at the moment.
2010-08-25 17:12:56 -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
3dc5b2b485
Add CMakeLists.txt files.
2010-08-10 21:49:32 -03:00