Commit Graph

160 Commits (master)

Author SHA1 Message Date
David Capello 1f24e0be9f Fix finding webp from Skia on Windows, macOS, and Linux 2022-08-02 20:20:13 -03:00
David Capello ccb32562ad Link with libwebp from Skia if possible 2022-08-02 18:56:34 -03:00
David Capello e8ad293aca Update laf module 2022-05-26 15:06:00 -03:00
David Capello d861f0760c Switch from C++14 to C++17 (#2999) 2022-04-29 10:01:23 -03:00
Ryan Schmidt be7c26da5e No longer add -stdlib=libc++ in CMakeLists.txt
Adding -stdlib=libc++ was needed when 10.7 was being targeted because on
10.8 and earlier libstdc++ is the default. Now that the target is 10.9
specifying -stdlib=libc++ is unnecessary since libc++ is the default on
10.9 and later.
2022-03-31 17:39:51 -03:00
David Capello 6836911661 Don't define HAVE_CONFIG_H and include "src" directory globally
Avoid using include_directories() and add_definitions() as much as
possible.

This change was made to avoid a problem using HAVE_CONFIG_H on Sentry
breakpad implementation where HAVE_CONFIG_H is used (but our config.h
is different from the expected one in breakpad).
2021-12-22 19:08:43 -03:00
David Capello 3fba303291 Define some variables for Sentry when using curl as transport 2021-12-22 17:03:16 -03:00
David Capello 977994765c Normalize some cmake options from WITH_* to ENABLE_* 2021-12-15 17:47:44 -03:00
David Capello de768a020d Use Skia freetype & harfbuzz when LAF_BACKEND=skia 2021-12-01 18:14:18 -03:00
David Capello 82d93a8697 Update build instructions for Skia m96 & Apple Silicon (#2451) 2021-11-17 12:36:21 -03:00
David Capello f93b33f248 Migrate to Skia m96 API 2021-11-17 12:36:11 -03:00
David Capello 8ae2a8bce5 Switch from C++11 to C++14 (#2999) 2021-10-13 07:32:02 -03:00
lampysprites 4354be1d7a Add CMake option to disable websockets 2021-10-03 12:40:29 +07:00
David Capello 911589111e Add Sentry as an alternative to handling minidumps manually (#2857) 2021-09-21 11:29:48 -03:00
Martín Capello bbec09c752 Fix typo in CMakeLists.txt file 2021-08-24 11:14:53 -03:00
David Capello 6b2c296ef0 Update giflib module to the latest version 2021-07-01 11:38:13 -03:00
Michał Janiszewski 1e24d69db6
Apply suggestions from code review
Co-authored-by: David Capello <davidcapello@gmail.com>
2021-04-15 14:29:46 +02:00
Michał Janiszewski 593bc8db0e Add CCache discovery to CMake 2021-04-15 11:51:42 +02:00
David Capello a926ca9055 Update cmark module 2021-04-13 18:41:22 -03:00
David Capello e50ea46c91 Minor change in CMakeLists.txt 2021-03-05 18:27:31 -03:00
David Capello c49c6ae068 Link with webpdemux and libwebpmux 2020-05-27 13:11:02 -03:00
David Capello 9801010a2b Update webp module
Possible fix for #2387?
2020-05-18 08:32:49 -03:00
David Capello 062ae58d9e We need to specify the C and C++ flags for our project anyway (undo 00fa254573) 2020-03-02 11:36:53 -03:00
David Capello 00fa254573 Move C and C++ flags override to laf library 2020-03-02 10:55:51 -03:00
David Capello 97345f4866 Add ENABLE_CLANG_TIDY option 2019-05-03 09:34:02 -03:00
David Capello 256c00747b Add ENABLE_ASEPRITE_EXE option 2018-08-27 11:48:33 -03:00
David Capello 13daafa56e Fix include directory for cmark.h 2018-08-24 19:13:50 -03:00
David Capello 4faa875cef Set LAF_OS_BACKEND only if it's not specified 2018-08-24 18:27:19 -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 44a713a693 Change CMAKE_SOURCE_DIR to CMAKE_CURRENT_SOURCE_DIR in some cases 2018-08-24 18:20:08 -03:00
David Capello f8cb1db917 Remove webserver (never used) 2018-08-24 17:39:51 -03:00
David Capello 68e4fe7762 Remove PLATFORM_LIBS var as we now use laf-os dependencies 2018-08-10 23:15:37 -03:00
David Capello 3977631924 Use the LAF_OS_BACKEND variable 2018-08-09 17:51:00 -03:00
David Capello a6fab8d1d9 Move os/ft/gfx libraries to laf 2018-08-09 16:36:11 -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 204ad920de Update submodules 2018-08-03 14:26:53 -03:00
David Capello 39645dbda0 Use CMAKE_CXX_STANDARD to use C++11 flags 2018-08-03 13:03:05 -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 139c5aac49 Add flag to compile CLI-only (fix #1279)
New cmake flag -DENABLE_UI=OFF can be used to turn off the GUI
and compile a CLI-only version of Aseprite.

Requested here too:
https://community.aseprite.org/t/1351
2018-05-07 00:11:50 -03:00
David Capello b7aa2923f6 Don't lost png include dirs so webp's imagedec doesn't fail 2018-04-03 13:02:20 -03:00
David Capello 16e1a650b1 Enable webp support by default 2018-04-03 12:50:25 -03:00
David Capello 5b04293dc3 Fix zlib, png, jpeg, and freetype flags/linking 2018-04-03 12:43:26 -03:00
David Capello 1571fac5a3 Fix linking between third party projects 2018-04-03 11:11:10 -03:00
David Capello 6de103128b Add support for animated webp files (fix #273) 2018-03-26 14:11:40 -03:00
David Capello 12578321d6 Re-organize some compiler flags 2018-03-13 09:56:23 -03:00
David Capello 1898ce2886 Add the thumbnailer COM server for Windows
Note: Moved the desktop integration for Linux to src/desktop/linux
2018-01-02 17:03:46 -03:00
David Capello 5811bba2b1 Several changes to the native file selector on all platforms
* Added she::FileDialog::setType() to select the different kind of
  dialog (open one file, multiple files, save one file, open a folder)
* Added capacity to select folders with she::FileDialog
* Added she::CommonFileDialog so all native dialogs share common code
* Windows:
  * Reimplemented using the IFileDialog COM interface introduced in
    Windows Vista (this one supports choosing folders when
    FOS_PICKFOLDERS flags is used)
  * Added she::ComPtr<> utility class to Windows port (it might be
    useful in laf::base in a future, or we might use the Microsoft
    CComPtr or _com_ptr_t types in a future)
* GTK:
  * Reimplemented to use gdk and gtk directly instead of using gtkmm
    library
  * Now it's centered on the given she::Display (instead of being
    centered on the screen)
  * Default location is the desktop instead of documents (this should
    be configurable in a future "more generic" solution)
  * Removed WITH_DEPRECATED_GLIB_SUPPORT and fixed compilation with GTK
    file selector
2017-12-21 16:35:12 -03:00
David Capello d088ee0f38 Minor change in USE_SHARED_HARFBUZZ option text 2017-12-20 16:54:41 -03:00