Commit Graph

61 Commits

Author SHA1 Message Date
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