David Capello
2baa342a65
Remove "j" prefix from some files in gui library.
2011-01-30 19:12:10 -03:00
David Capello
36e605bdf2
Move jmalloc/jfree to base/ library as base_malloc/free (remove new/new0/renew macros).
2011-01-23 19:19:18 -03:00
David Capello
45855b88d3
Move "AseException" to "base::Exception" class.
...
+ Created XmlException for tinyxml parsing errors.
+ Moved functionality of AseException::show() to Console::showException().
2011-01-20 23:33:57 -03:00
David Capello
cf2f042cbf
Rename CommandsModule::get_command_by_name to getCommandByName.
2011-01-20 20:49:03 -03:00
David Capello
3887173fac
Rename all commands to camel case.
2011-01-20 20:46:58 -03:00
David Capello
8e8ac7aa50
Refactor all member functions of Context class to camel case.
2011-01-20 19:58:11 -03:00
David Capello
bf395fca61
More updates for copyright year to 2011.
2011-01-20 18:32:31 -03:00
David Capello
e914c9ad6a
Rename ase_exception to AseException.
2011-01-20 18:03:11 -03:00
David Capello
d6eb20ef7e
Update copyright year to 2011.
2011-01-18 20:49:53 -03:00
David Capello
07fceb15f7
Remove config.cpp because the config.c in src/allegro already has my patch for override_config_file().
2010-10-31 00:32:37 -03:00
David Capello
7f96084c88
Rename src/gui/jwindow.cpp|h to src/gui/frame.cpp|h.
2010-10-02 10:47:58 -03:00
David Capello
c4d04d7bf6
Fix compilation problems in core/file_system.cpp (in Unix like platforms).
2010-09-30 16:23:54 -03:00
David Capello
109d6a072f
Remove jstring class replacing it with the new base::string and new functions to manipulate strings.
2010-09-30 15:34:12 -03:00
David Capello
aa397c4fbf
Add dirExists() member function in FileSystemModule.
2010-09-26 18:26:38 -03:00
David Capello
cb3dd70fb8
Move Jinete library to src/gui directory (future gui-lib).
2010-09-26 15:59:32 -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
ec13504c06
Remove core/core.h-cpp.
...
- App class contains the running mode (isGui() flag).
- LoggerModule contains the verbose flag.
- Remove is_interactive().
2010-09-18 17:36:21 -03:00
David Capello
9a9e40395f
Move LoggerModule to log.cpp.
2010-09-18 01:14:03 -03:00
David Capello
f1e9814334
Move get_errno_string() to src/base/errno_string.
2010-09-18 01:03:56 -03:00
David Capello
0674fbe069
Move "src/core/job.[ch]" to src/job.[ch].
2010-09-18 00:39:10 -03:00
David Capello
3f9e947ea9
Convert color_t type to Color class.
...
+ Add color_utils namespace and move useful routines for colors right there.
+ Add test_color.cpp.
2010-08-25 00:26:37 -03:00
David Capello
8727390b2d
Rename colbar.h to color_bar.h.
2010-08-23 18:11:47 -03:00
David Capello
a59cce0932
Added an assert in debug mode to check duplicate FileItems in file_system module.
2010-08-23 17:41:52 -03:00
David Capello
cf0f7d9663
Remove jfilesel.[ch] file.
2010-08-22 22:10:43 -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
a2325233f9
Fix FileItem::insert_child_sorted call in Linux (now it is insertChildSorted()).
2010-08-11 23:36:41 -03:00
David Capello
88305ec84c
Move functions to access file system items (FileItem) in a new IFileItem interface.
2010-08-10 23:30:15 -03:00
David Capello
8877278e0c
Fix problems generating a key for a directory which contains a file that has the same name as the directory (e.g. C:\file.png\file.png).
2010-08-10 23:10:21 -03:00
David Capello
4679f8a12a
Add more PRINTF() in file_system.cpp to debug problems with PIDLs.
2010-08-10 23:08:56 -03:00
David Capello
37d5ed3c0e
Remove warnings about size_t and int comparisons.
2010-08-06 23:04:31 -03:00
David Capello
4e72997a02
Use Allegro's ASSERT() instead of assert().
2010-08-03 23:33:44 -03:00
David Capello
8d73ad011a
Change Palette class size() from size_t to int type (to avoid all kind of problems using "unsigned int" type).
2010-08-03 23:28:14 -03:00
David Capello
7fa04dddb2
Moved check_args.cpp from src/core/ to src/.
2010-07-16 17:00:37 -03:00
David Capello
f2f1bb26f2
Replaced old DIRS structure with ResourceFinder class.
2010-07-16 16:56:45 -03:00
David Capello
a82d721913
Moved get_pretty_memsize (core.h) to get_pretty_memory_size (mem_utils.h).
2010-07-16 16:05:56 -03:00
David Capello
3218265eed
Fixed dirs.cpp for Mac OS X to behave same as on Unix (with the addition to look for .app directory content).
2010-07-14 19:58:22 -03:00
David Capello
eb68ae06e1
Fixed "Quick Reference" command. Documentation is searched in different locations depending the operating system.
2010-07-06 23:31:31 -03:00
David Capello
2f242e4934
Fixed get_color_for_image() function with color indexes out of range.
2010-06-23 23:18:57 -03:00
David Capello
512a6162fe
Renamed aseprite.cfg to aseprite.ini (.ini files can be opened in Windows).
2010-06-15 19:44:41 -03:00
David Capello
2a2effa4ff
Fixed color_to_formalstring() for invalid colors.
2010-06-01 22:41:44 -03:00
David Capello
7e711119e0
Removed a lot of warnings from core/color.cpp
2010-06-01 22:24:24 -03:00
David Capello
c975930fc3
Added color_is_valid() function to know if a color is inside the valid range of palette indices.
2010-06-01 22:03:44 -03:00
David Capello
81bafa3595
Added some assertions to access current palette indexes through color_t type.
2010-05-30 10:55:13 -03:00
David Capello
3cd3839feb
Minor fixes for short color format in color_to_formalstring() function.
2010-04-25 23:12:50 -03:00
David Capello
e145ea63d7
Removed MODE_VERBOSE in beta version.
2010-04-24 01:22:35 -03:00
David Capello
f2265b2034
Improved color indicators in status bar (StatusBar::showColor()).
2010-04-24 01:06:30 -03:00
David Capello
b7410ace5d
Added ASE_BETA flag in config.h
2010-04-22 19:00:22 -03:00
David Capello
ed792eba1e
Added getRgbMap() methods to Sprite class.
...
Added Palette* parameter to image_to_allegro() function and Image::to_allegro().
Removed orig_rgb_map.
Removed rgb_map usage (the Allegro global variable).
2010-04-20 23:44:31 -03:00
David Capello
10781dcf5f
Removed Context::getFg/BgColor member functions.
...
Modified color_get_*() so they do not need "imgtype" parameter.
ColorBar class is public (defined in colbar.h).
Added ColorBar::Fg/BgColorChange signals.
Converted palette editor widget to a C++ class (PalEdit derived from Widget).
Modified the "Palette Editor" (F4 key) to be non-modal (still WIP).
2010-04-10 17:01:56 -03:00