Commit Graph

225 Commits

Author SHA1 Message Date
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
David Capello
62e79141d7 Imported SharedPtr.h header file from Vaca library. 2010-03-20 13:23:09 -03:00
David Capello
29059b785d Vaca::details::trace_t renamed to Tracer. 2010-03-12 23:17:13 -02:00
David Capello
e6fb597f58 Warning 4996 is disabled only in MSC compiler. 2010-03-12 23:16:45 -02:00
David Capello
5ae14b550b Added Vaca::String class.
Added Vaca::Exception class.
Added Vaca::System class.
Added vaca_main().
The main/WinMain is defined inside vaca library.
2010-03-12 23:16:05 -02:00
David Capello
9e46555a65 Modified default target platform (calculated through current compiler). 2010-03-12 23:12:25 -02:00
David Capello
80833f33b0 Added WIN32_LEAN_AND_MEAN to speedup compilation time. 2010-03-12 23:09:26 -02:00
David Capello
cb1b6dc1ad Removed <windows.h>, <commctrl.h> and <algorithm> from Vaca/base.h. 2010-03-11 00:44:12 -02:00
David Capello
e8ec41f436 Moved vaca/README.txt comments to third_party/README.txt. 2010-03-10 17:17:24 -03:00
David Capello
33854fed54 Moved vaca lib to third_party directory.
Fixed a problem compiling MutexImpl for win32.
2010-03-10 16:57:38 -03:00
David Capello
d97f9a1ef3 Added tinyxml library source code. 2009-11-28 15:17:53 +00:00
David Capello
7ddf8d5ef2 Fixed assert in loadpng.c for debug version. 2009-11-22 03:56:00 +00:00
David Capello
33ca3cf8e0 Added support to load png files through Allegro library (now you can save/load palettes in PNG files) 2009-11-19 00:34:07 +00:00
David Capello
a587132ffe Project converted to C++. 2008-09-30 21:01:54 +00:00
David Capello
bcc221ab59 Fixed a bug in FlattenLayers.
Fixed a bug when paste outside the sprite.
Fixed a bug in color-bar when drop colors in nowhere.
Fixed some compilation errors in MSVC.
2008-09-29 23:58:07 +00:00
David Capello
d181b9f215 Completelly removed the scripting support and lua files.
Updated the forum address.
2008-09-27 23:24:27 +00:00
David Capello
19e8083256 + Added Editor::space_pressed to move the scroll with the space key.
+ Renamed Editor::cursor_eyedropper to Editor::alt_pressed.
+ Added statusbar_show_tip.
+ Added AppHooks.
+ Renamed color_button_* to colorbutton_*
+ Renamed GfxObj*Layer::parent to Layer*Layer::parent_layer.
+ Added Palette gfxobj and refactored a lot of code to this new Palette
  instead of Allegro's RGB/PALETTE.
+ Now jfile.c uses jxml.c.
+ New signature for callbacks in 'hook_signal' of modules/gui.c:
  bool hook(JWidget, void *);
- Removed colsel and minipal from dialogs.
+ Fixed mouse bounds in sliders.
2008-03-22 18:43:56 +00:00
David Capello
ae46058123 Moved FLI core routines from third_party/gfli to src/file/fli 2008-02-12 12:46:39 +00:00
David Capello
82f6bb405b File removed 2008-02-12 12:16:24 +00:00
David Capello
8b365fa3cb Added NO_HEADER 2008-02-10 18:41:47 +00:00
David Capello
c8db258b00 Added background color to sprite.
Renamed FileType to FileFormat.
Moved ase/jinete/src to ase/src/jinete.
Moved ase/jinete/include to ase/src/jinete.
Moved ase/jinete/freetype to ase/third_party/freetype.
2007-12-05 01:30:50 +00:00
David Capello
df0104734f Added libjpeg in the repository.
Fixed some bugs in the GUI system.
Added tabs, and removed the list-menu.
2007-11-28 14:19:36 +00:00
David Capello
e82167b340 Added double-buffering for GUI, and PNG support 2007-09-20 00:32:35 +00:00
David Capello
54172e07bb Moved third_party/ directory to trunk 2007-09-18 23:59:46 +00:00