Commit Graph

7987 Commits

Author SHA1 Message Date
David Capello
961b2911f5 Old JI_SIGNAL_WINDOW_CLOSE signal is not generated anymore (it was replaced with Frame::Close signal member). 2010-03-07 16:37:30 -02:00
David Capello
ca2e3f7bed Renamed Command_precondition_exception class to CommandPreconditionException. 2010-03-07 16:21:09 -02:00
David Capello
5d55358ffb Renamed Context::m_current_sprite to m_currentSprite. 2010-03-07 16:18:38 -02:00
David Capello
77a54b7d34 Modified ase_exception creation with printf style. 2010-03-07 16:16:10 -02:00
David Capello
6867f2c6a5 Added PopupWindow widget. 2010-03-07 16:10:48 -02:00
David Capello
7a3b1e3369 Modified an ase_exception call using printf style call. 2010-03-07 15:28:01 -02:00
David Capello
d0514884de Fixed a problem in gui_feedback() where the CurrentSpriteReader could be locked. 2010-03-07 15:25:47 -02:00
David Capello
2ed2ce9545 Modified an ase_exception call using printf style call. 2010-03-07 15:22:14 -02:00
David Capello
5edc5696ca Modified some ase_exception creations using PACKAGE name. 2010-03-07 15:20:50 -02:00
David Capello
65cb9c3517 Added constraint of guiscale() value depending height of the screen. 2010-03-07 15:18:39 -02:00
David Capello
6ebf5966c3 Fixed a bug which pressed/released messages were generated incorrectly for mouse buttons pressed/released in groups. 2010-03-07 15:16:15 -02:00
David Capello
1f29b67364 Applied guiscale() to some skinneable widgets. 2010-03-07 14:21:24 -02:00
David Capello
df59edc3ce Modified "int tiled" to "bool tiled" in "dirty_new". 2010-03-07 12:17:11 -02:00
David Capello
156e3adeb3 Added 'extras' to Sprite to draw extra-stuff that is not in the Sprite (it will be useful to draw preview of the brush). 2010-03-07 12:14:25 -02:00
David Capello
e7b99eda29 Modified C *_free calls to C++ delete. 2010-03-07 12:06:37 -02:00
David Capello
7da47af726 Renamed sheet.png to defaut_skin_sheet.png. Added some temporary icons in the sheet for future tools. 2010-03-07 12:03:47 -02:00
David Capello
862ae6078c Modified C comments to C++. 2010-03-07 11:58:10 -02:00
David Capello
2a78fdca92 Applied guiscale() to loaded skin. 2010-03-07 11:57:34 -02:00
David Capello
dc19778ecc Added SkinneableTheme::apply_gui_scale() member function. 2010-03-07 11:55:24 -02:00
David Capello
2d3cfe116b Removed try{}catch in DEBUGMODE to get the exception in the debugger. 2010-03-07 11:49:56 -02:00
David Capello
bb689258ff Removed jmanager_dispatch_messages() from jwidget_scroll() because it is not necessary and it give us problems with the editor scroll movement. 2010-03-07 11:47:40 -02:00
David Capello
32f3987c64 Resort includes. 2010-03-07 11:42:00 -02:00
David Capello
0b357e068b Added Mask::contains_point member function. 2010-03-07 11:40:54 -02:00
David Capello
36f281a2b7 Limited scroll movement (related to feature request #2874441). 2010-03-07 11:39:18 -02:00
David Capello
b8a39cf8db Now clipboard::cut() deselects the mask. 2010-03-01 23:03:33 -02:00
David Capello
4f4d863a0f Now ClearCommand deselects the mask. 2010-03-01 23:02:32 -02:00
David Capello
cc7fd95559 Added Undoable::deselect_mask() member function. 2010-03-01 23:01:43 -02:00
David Capello
c4afb1a236 Renamed get_sprite() to getSprite() in Layer class and Undoable class. 2010-03-01 22:59:16 -02:00
David Capello
898f43ff65 Need to include render.h to get RenderEngine class definition. 2010-03-01 01:08:12 -02:00
David Capello
c89b727b47 Missing RenderEngine::setPreviewImage. 2010-03-01 01:03:07 -02:00
David Capello
1e121378de Replaced App events (IAppHook) with Vaca signals/slots. 2010-03-01 00:36:05 -02:00
David Capello
fb139ccf49 Renamed Editor::editor_get_sprite to Editor::getSprite. 2010-03-01 00:00:56 -02:00
David Capello
d8a7fbf0f0 Moved functions from util/render.h into RenderEngine class. 2010-02-28 23:29:50 -02:00
David Capello
700ab045d2 Added algo_polygon() algorithm. 2010-02-28 23:02:50 -02:00
David Capello
031c8d187b Changing ASE name to aseprite. 2010-02-28 22:16:58 -02:00
David Capello
a8831eed86 Modified some comments to C++ style. 2010-02-28 22:09:46 -02:00
David Capello
8cfb3daee0 Removed ^L characters. 2010-02-28 21:45:52 -02:00
David Capello
b747ccdaa6 Updated copyright year to 2010 2010-02-01 21:25:40 +00:00
David Capello
43dde6ed78 Removed jxml.cpp and jxml.h 2010-02-01 00:00:29 +00:00
David Capello
96759c9c17 Converted all TRUE/FALSE to C++ true/false 2010-01-30 16:43:13 +00:00
David Capello
0c6765fb88 Modules converted to C++ classes. 2010-01-29 03:15:33 +00:00
David Capello
aac6e31e44 Added CheckArgs class. 2010-01-29 00:53:53 +00:00
David Capello
33f804213d Added is_empty, freeze, unfreeze, add, reserve, and shrink function member of Mask class. 2010-01-27 21:16:49 +00:00
David Capello
6e93dfe4ea Converted editor widget in a C++ class (Editor class derived from Widget). 2010-01-27 02:52:30 +00:00
David Capello
991488e59b Fixed gcc problem with min/max macros. 2010-01-26 04:10:01 +00:00
David Capello
77c009de55 Renamed jwidget to Widget.
Refactored jwidget_set_text to Widget::setText (same for setFont, setEnabled, etc.).
Created "Frame" class.
Refactored "jwindow_funcname" functions to "Frame::funcname".
Renamed JWidgetPtr to FramePtr.
2010-01-26 00:38:05 +00:00
David Capello
f634a390ee Added jpoint and jsize. 2010-01-25 22:28:39 +00:00
David Capello
4e101699ff Added vaca_fusion directory. 2010-01-25 22:01:52 +00:00
David Capello
8f03d54562 Fixed compilation error in context.cpp 2009-12-19 17:52:21 +00:00
David Capello
017ece697f Now XML files are loaded with tinyxml library 2009-12-16 23:24:57 +00:00
David Capello
11a094cb05 Moved app.cpp from src/core/ to src/ 2009-12-11 14:53:05 +00:00
David Capello
f79ac322cb Fixed a bug in Undoable::copy_previous_frame (using LayerImage::add_cel directly instead of Undoable::add_cel). 2009-11-23 01:25:06 +00:00
David Capello
336f3feb64 Added resizable capability (with a patched version of Allegro). It must be enabled through the special flag HAVE_RESIZE_PATCH. 2009-11-22 14:39:52 +00:00
David Capello
b585600a19 Fixed a couple of bugs:
+ in tabs_remove_tab selected/hot tabs are set to NULL.
+ the select_callback is called only for the hot tab (if hot is NULL, now the selected is not used anymore).
2009-11-22 14:14:06 +00:00
David Capello
50ec2cdff9 Fixed a bug in initialization of parts. 2009-11-22 14:12:25 +00:00
David Capello
fd6f7dd156 Added support for the Close button in the system window. 2009-11-22 03:53:43 +00:00
David Capello
3626589229 Fixed little details in tabs gfxs. 2009-11-22 02:16:29 +00:00
David Capello
774fc8370c Removed "Nothing" tab (Ilija Melentijevic idea). 2009-11-22 02:15:40 +00:00
David Capello
9e0928ca66 Fixed combo-box graphics. 2009-11-22 00:26:58 +00:00
David Capello
5d64181f16 Added SkinneableTheme class. Thanks to Ilija Melentijevic for the graphics. 2009-11-21 20:02:31 +00:00
David Capello
f6821908cc Now jstandard_theme::regen does not use ji_get_theme 2009-11-19 14:57:15 +00:00
David Capello
b70f84b46c Removed JM_DRAWRGN message. Removed jwidget_redraw_region and jwidget_send_message_after_type functions. 2009-11-19 14:38:24 +00:00
David Capello
6d04c3815c Now jtheme is a class with member functions; and jwidget has a virtual msg_proc. 2009-11-19 02:59:20 +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
0e0dacb158 Fixed Undoable::background_from_layer when the layer to be converted to background has empty cels. 2009-11-18 15:24:02 +00:00
David Capello
e4dd1905fb Added change_color command to change FG color-index with keyboard (Ilija Melentijevic idea). 2009-11-18 14:51:05 +00:00
David Capello
8f1eac61a9 Now color-bar shows FG/BG indicators (Ilija Melentijevic idea). 2009-11-18 14:47:30 +00:00
David Capello
be8a97f5b8 Fixed a bug in Undoable::clear_mask 2009-11-18 14:46:05 +00:00
David Capello
1764f78d1b Fixed ordered dithering menu item. 2009-11-17 23:19:03 +00:00
David Capello
cbc0bf22bd Refactored Layer class to include all layer_* functions as member functions. 2009-11-17 13:12:26 +00:00
David Capello
8b7f476f17 Fixed issue #2874422 "More screen resolutions" (Philippe Michael Groarke idea). 2009-10-17 22:27:05 +00:00
David Capello
3f1f5e378e Minor changes converting C to C++. 2009-10-16 02:26:28 +00:00
David Capello
f2f78377ad Added IAppHook interface for a cleaner event/hook interface. 2009-10-14 14:09:59 +00:00
David Capello
b758b113e8 Fixed a bug with the file-selector in Windows where new files found in a directory were added at the end instead of sorted. 2009-10-12 23:56:32 +00:00
David Capello
eaf777e093 Modified marquee tooltip. Fixed bug #2874453 (thanks to Philippe Michael Groarke). 2009-10-09 02:51:24 +00:00
David Capello
9e5d0dc2f2 Renamed file cmd_eyedropper_tool.cpp to cmd_eyedropper.cpp 2009-10-09 02:36:30 +00:00
David Capello
4710ddf041 Removed deprecated files. 2009-10-09 02:11:03 +00:00
David Capello
60172fa2ee Modified folders to load data on Mac OS X platform (thanks to Trent Gamblin). 2009-10-09 02:06:09 +00:00
David Capello
5455136f35 Internal refactoring of commands to support record/play macros in the near future. 2009-10-09 01:34:06 +00:00
David Capello
33baa4fd5c Merged branch 0.7.1 (release 0.7.2) to trunk. 2009-09-07 14:28:47 +00:00
David Capello
b0c56578ca Moved modules/sprites.cpp to effect/images_ref.cpp 2009-08-17 23:45:55 +00:00
David Capello
4a4ccfc65f Removed local unused function 'layer_get_pos'. 2009-08-17 21:44:55 +00:00
David Capello
e484553608 Renamed some header guards. 2009-08-17 21:38:00 +00:00
David Capello
39203e34c2 Removed deprecated files canvasze.cpp and canvasze.h. 2009-08-17 21:26:20 +00:00
David Capello
3dbb7c088b Moved console.* from src/console to src/ 2009-08-17 19:32:09 +00:00
David Capello
05803abaa1 Fixed a lot of VC++8 warnings with /W3 flag. 2009-08-17 18:00:38 +00:00
David Capello
2bc2db1630 Added support to compile ASE for Mac OS X (thanks to Trent Gamblin). 2009-08-17 00:26:05 +00:00
David Capello
1c541651ce + Added a progress bar in the file-selector to show the progress of thumbnail generation.
+ Fixed a program crash in file-selector dialog when you open a file and the thumbnail is being generated.
2009-08-10 02:36:06 +00:00
David Capello
5346a7705e Modified file name where ASE configuration is saved. 2009-08-10 02:17:49 +00:00
David Capello
c56cad63e9 Fixed usability issues in the file-selector dialog. 2009-08-09 21:50:26 +00:00
David Capello
8b8f13edf9 + Added support to paste/copy text from/to Windows clipboard.
+ Added support to process Ctrl+C / Ctrl+V / Ctrl+P keys in all entry fields.
+ Fixed a bug where file names for new sprites are lower-case always (in Windows).
2009-08-09 21:24:32 +00:00
David Capello
67a830183b + Modified makefile.vc to handle a completelly static compilation with VC++9.0 Express Edition
(the new compiler used for the following Win32 binary releases).
+ Modified some error handling code to use C++ exceptions.
+ Modified some collections (std::vector, std::map, etc.) from instances to pointers.
2009-08-05 01:53:02 +00:00
David Capello
f9ac4089f5 Fixed compilation problems with gcc/vc. 2009-08-02 23:40:42 +00:00
David Capello
48fbc7d875 Fixed some compilation errors with gcc. 2009-08-02 22:32:29 +00:00
David Capello
a872edd377 Fixed critical bugs in rendering code with zoom. 2009-08-02 22:23:37 +00:00
David Capello
a67c563d6f Fixed some memory leaks. 2009-07-27 03:15:31 +00:00
David Capello
c384b6c19b Fixed problems using the "argument" parameter in commands. 2009-07-27 03:03:19 +00:00
David Capello
5b543a995b Added memory leak detection for MSVC. 2009-07-12 20:29:16 +00:00
David Capello
a948015cf5 Fixed a compilation error. 2009-07-12 16:53:48 +00:00
David Capello
f8f45dc0e5 + Added Flip Canvas Horizontal/Vertical commands.
+ Fixed problems with keyboard shortcuts for commands with arguments.
2009-07-10 02:08:41 +00:00
David Capello
7280eba09e Minor changes. 2009-07-10 01:58:43 +00:00
David Capello
16703e2427 Minor changes. 2009-07-10 01:34:37 +00:00
David Capello
a5a71d6c86 Now 'rotate canvas' supports mask-rotation. 2009-06-14 22:08:50 +00:00
David Capello
371e592f8c 2009-06-14 22:01:35 +00:00
David Capello
edc4da4b8e Added new command to rotate canvas. 2009-06-14 19:16:42 +00:00
David Capello
0e2fba2396 Added image_fixup_transparent_colors function.
Fixed image_resize.
2009-06-14 19:05:43 +00:00
David Capello
b84fa3a8c6 Added support to resize the current mask. 2009-06-14 16:10:12 +00:00
David Capello
8ac979667c Fixed compilations problems with ase_exception and JWidgetPtr with g++ 2009-06-11 15:50:10 +00:00
David Capello
3885f37f45 + CurrentSprite class was split in SpriteWrapper/Reader/Writer, and CurrentSpriteReader/Writer wrappers.
+ More routines are using exceptions for error handling.
+ Added JWidgetPtr class.
+ Added Undoable::set_imgtype/layer_from_background/flatten_layers.
2009-06-11 15:11:11 +00:00
David Capello
d157131d4a Added more const-correctness. 2009-06-11 00:59:57 +00:00
David Capello
b4a0d2f7d7 Added CurrentSpriteRgbMap class. 2009-06-11 00:33:29 +00:00
David Capello
be95cccc0a Fixed compilations errors with g++ 2009-06-10 23:04:27 +00:00
David Capello
b696c0dfb9 Added "enabled" method. 2009-06-05 15:19:27 +00:00
David Capello
59ae779fca + Added Context parameter to CurrentSprite.
+ Now CurrentSprite is defined in current_sprite.h.
+ Modified several routines to get the current sprite as parameter.
2009-06-02 14:08:56 +00:00
David Capello
c4be9fe5b4 Added Context and UIContext classes.
Added CurrentSprite class.
Removed current_sprite global.
Moved all functions of 'sprites' module to Context/UIContext.
2009-06-01 02:59:15 +00:00
David Capello
8f92f78702 - Added Job class.
- Added SpriteSizeJob class.
- Added ScopedLock class.
- Fixed some bugs.
2009-05-31 20:15:38 +00:00
David Capello
dd003a8f33 - Now "Image" is a C++ class with virtual methods;
- Removed ImageMethods (the C vtable for old "Image" structure);
- Added ImageImpl and ImageTraits;
- Added "Sprite Size" command (feature #2671468);
- Added "Canvas Size" command;
2009-05-31 16:02:32 +00:00
David Capello
6f9bccd65b Changed jwidget to a C++ class with methods. 2009-05-30 21:22:52 +00:00
David Capello
973fe38847 Fixed a bug getting the background color to crop the image. 2009-05-30 20:35:40 +00:00
David Capello
0bdbc9dbdf Default JPEG quality is 1.0 now 2009-05-30 20:26:22 +00:00
David Capello
132193973b Configuration file changed from ase-x.x.cfg to aseprite-x.x.cfg. 2009-05-30 20:24:31 +00:00
David Capello
58bafbb080 Fixed a memory leak. 2009-05-30 19:54:53 +00:00
David Capello
226743a7f1 2009-03-22 16:05:29 +00:00
David Capello
8d5f265103 Added support for tiled-mode in X or Y axis only. 2009-03-09 00:05:37 +00:00
David Capello
73d1920e78 Added support to copy & paste to/from the Windows Clipboard. 2009-03-07 19:14:40 +00:00
David Capello
cb6b45bb3f Fixed a bug in the File Open dialog when user presses ENTER key with an empty file name. 2009-03-02 02:08:40 +00:00
David Capello
0adb37f2bb Fixed a bug with multiple editors, paste command, and cleaning the editor's cursor. 2009-03-02 01:22:52 +00:00
David Capello
3d6af97999 Added "Save Copy As" command (feature #2636076). 2009-02-25 19:22:38 +00:00
David Capello
09578c2f23 Fixed some compilation errors in gcc 64 bits (reported by Scott Wilson). 2009-02-21 19:57:57 +00:00
David Capello
2a81f3e285 Trying to fix a problem converting void* to int in gcc 64-bits. 2009-02-21 17:17:27 +00:00
David Capello
6710ae5c89 Fixed compilation problems with gcc of 64-bits. 2009-02-21 15:52:15 +00:00
David Capello
8e498470d5 Fixed bug #2511762 (thanks to Clayton Enga for the patch).
Added the feature #2419098 (David Campo idea).
2009-01-24 00:41:01 +00:00
David Capello
77b06bf748 Added support to close tabs with middle button. 2008-10-16 02:19:00 +00:00
David Capello
f43bbec69d Better handling of special file-names in the file-name entry field of ase_file_selector. 2008-10-16 01:55:12 +00:00
David Capello
e9c3d46693 Added Undoable::crop_sprite/layer/cel.
Added Undoable::replace_stock_image, autocrop.
Added image_shrink_rect function.
Removed autocrop_sprite, CropSprite, CropLayer, and CropCel functions.
2008-10-14 03:11:59 +00:00
David Capello
7a68a1d32b Fixed an important bug where sprite's palettes where not freed using palette_free
(delete (Palette*)). This leaves some dead-pointers in the objects collection of 'gfxobj.cpp'.
2008-10-13 22:39:41 +00:00
David Capello
6562d7071a Now the file-system core routines use jstring (std::string) instead of char*.
Overloaded new and delete when MEMLEAK is activated (to use jmalloc and
jfree so memory leaks can be detected).
2008-10-13 21:43:41 +00:00
David Capello
2b7b89a2a7 Changed delete to delete[]. 2008-10-13 21:05:40 +00:00
David Capello
9bf40439d4 Added jstring. The file-selector now uses jstrings. 2008-10-11 20:41:27 +00:00
David Capello
17dee030f5 Added undo support when changing frame duration.
Replaced ClearMask with Undoable::clear_mask.
2008-10-11 15:59:13 +00:00
David Capello
a1d9d2cada Fixed compilation errors in Linux with GCC 4.2.3.
Fixed fix.sh.
2008-10-11 15:52:47 +00:00
David Capello
07b478907e Added Undoable::remove_layer.
Added Undoable::clear_mask.
Fixed a serious bug in shrink_mask.
2008-10-10 02:14:53 +00:00
David Capello
c327a740d7 Added Undoable class. 2008-10-02 02:31:07 +00:00
David Capello
c35c452a80 Converted GfxObj and all the hierarchy of graphics objects to classes.
Removed "(void)" -> "()".
2008-10-01 01:27:51 +00:00
David Capello
1e44f9a454 Modified makefile.lst for cpp files.
Renamed src/test to src/tests.
2008-09-30 23:04:33 +00:00
David Capello
a587132ffe Project converted to C++. 2008-09-30 21:01:54 +00:00
David Capello
102eaa8cf2 Removed some commented code in tools.c 2008-09-30 13:11:42 +00:00
David Capello
78f879fa14 Renamed some files and removed deprecated files.
Fixed a bug in fileview with i-search.
2008-09-30 01:25:11 +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
4026754881 Added support to lock lines in special angles with Shift key (feature request #1961397).
Fixed 'Curve' tool when click with the right mouse button (added
'editor_click_continue' routine for this).
2008-09-29 01:55:24 +00:00
David Capello
8911db458a Added the 'Curve' tool. 2008-09-28 20:53:42 +00:00
David Capello
b3e52a24e0 Removed modules/tools2.c because scripting is gone. 2008-09-28 19:29:33 +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
24ca4562dc Added support to drag & drop colors in color-bar (feature request #2109224).
Added "RectTracker".
Renamed "rectsave" function to "rect_tracker_new".
Joined "rectrestore" and "rectdiscard" to "rect_tracker_free".
2008-09-27 18:04:55 +00:00
David Capello
5784cb720e Fixed issue #1958760
Now the loading-progress lock the user-interface.
2008-06-16 00:43:50 +00:00
David Capello
97672099dc Fixed issue 1958932 2008-06-15 23:56:15 +00:00
David Capello
2e10ec3e21 Version 0.6b2 released.
Minor fixed and changes for the new release.
2008-05-06 15:22:57 +00:00
David Capello
3ce0a8fc85 Fixed the duplication of background layer: the flags aren't copied.
Minor changes.
2008-05-05 04:45:17 +00:00
David Capello
cf3521dfe8 Fixed some bugs in merge-down & crop commands using the Background layer. 2008-05-05 04:03:31 +00:00
David Capello
f8db016cb9 Added NewFrame & RemoveFrame.
Fixed move/copy_cel, and the Animation Editor is almost ready.
Added the cel_movement_popup.
Removed all the "quick" stuff (quick-move/copy, etc.).
Removed some commands (crop cel, crop layer, link cel).
2008-05-05 02:07:04 +00:00
David Capello
369b57f074 Unix text format 2008-04-28 16:32:45 +00:00
David Capello
837cf39c54 Added the new Animator Editor.
Other minor changes & refactorings.
2008-04-27 20:27:06 +00:00
David Capello
215fd7dbd0 Added the jumble tool. 2008-04-14 17:56:38 +00:00
David Capello
8908d25e07 Fixed New Frame: now it copies the entire Cel of the previous frame.
Fixed bugs when undo cels with offset < 0,0 (because the sign wasn't being saved)
2008-04-14 03:05:19 +00:00
David Capello
f4b4996540 + Added the JPEG options dialog box.
+ Fixed some convolution matrices.
+ Fixed editors_draw_sprite_tiled & control_tool for tiled mode in
  transparent layers (non-Background).
+ Added gfxobj_id.
- Removed referenced stock (replaced with the ImageRef structure).
+ Fixed the whole 'target' stuff between effects and target_button.
+ Fixed app_get_fg_color & app_get_bg_color to return the black color
  instead of mask when a `Background' layer is actived.
+ Added get_color_for_layer & fixup_color_for_layer.
2008-04-12 03:09:53 +00:00
David Capello
bc95527cbf Fixed the soften-ink for transparent layers. 2008-03-29 20:02:42 +00:00
David Capello
714f7b062c Fixed the soften-ink to support tiled mode. 2008-03-29 14:45:43 +00:00
David Capello
c090bde1ee Renamed filedata to format_options 2008-03-29 04:35:30 +00:00
David Capello
eb26972a11 Renamed filedata to format_options 2008-03-29 04:24:36 +00:00
David Capello
a951368da6 Added progress bar to apply-effect and save file operations.
Added support to configure file format with a FileData like JpegData.
2008-03-29 03:43:19 +00:00
David Capello
0ffbf5164c Fixed a problem to load the root element in a Unix like file-system 2008-03-28 02:55:15 +00:00
David Capello
19070bbfc1 2008-03-27 16:58:14 +00:00
David Capello
61a61bd2fa Added eraser and blur tools.
Added inks and better handling of tools->brushes->inks relationship.
color_t is now a ase_uint32.
Added the Background layer.
Fixed bugs loading some king of BMP files.
Removed the bgcolor from the Sprite and .ase files.
Added FileData and BmpData.
Renamed dirty_put to dirty_restore_image_data.
Renamed dirty_get to dirty_save_image_data.
Added get_pretty_memsize, sprite_get_memsize, undo_get_memsize to show memory-usage.
2008-03-27 14:29:33 +00:00
David Capello
c1a6959e6b Modified the undo implementation 2008-03-23 02:08:06 +00:00
David Capello
d2944d5def Added raster/palette.[ch] (duh) 2008-03-22 21:44:03 +00:00
David Capello
bec33706bf Color-bar now support palette-range. 2008-03-22 20:13:05 +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
ef28731b5a Renamed exchange_colors to switch_colors
Removed the bugreport address
"color" is now in the core (isn't a module anymore)
Refactored palette_editor -> paledit
Added test_intmult.c
Completed test_jlist.c
Added test_init, test_init_gui & test_exit routines
Added test_jgrid.c
2008-03-15 01:54:45 +00:00
David Capello
275181990f Added:
- eye-dropper cursor to editor
- JM_SETCURSOR
- incremental-search to fileview widget
- jgrid widget
- JI_SIGNAL_SET_FONT
- sprite_getpixel
- colorselector widget
- test_jlist test
- HSV color type
- grid, exchange_colors, and eyedropper_tool commands
Fixed:
- duplication of layers
Renamed:
- jwidget_add_childs to jwidget_add_children
- status_bar to statusbar
- tool_bar to toolbar
- color_viewer to colorviewer
- color_bar to colorbar
- color_button to colorbutton
- rectfill_exclude to jrectexclude
- _graya_getk to _graya_getv
- _graya_k_shift to _graya_v_shift
Refactoring to color type:
- now it's a color_t structure instead of a string (char *)
Removed:
- mapgen.[ch]
- update_global_script_variables routine
- JM_CHAR (now it's JM_KEYPRESSED).
- README-es.txt
- FAQ.txt
2008-02-29 19:29:49 +00:00
David Capello
1f98194363 Renamed 'jcombox.c' to 'jcombobox.c' 2008-02-19 00:02:01 +00:00
David Capello
030a9694b6 Added fileitem_get_keyname. Fixed get_key_for_pidl. 2008-02-18 23:37:57 +00:00
David Capello
2b81efabb4 Added fileitem_get_keyname 2008-02-18 23:37:04 +00:00
David Capello
39184d3286 Minor changes to start in the correct folder specified by the config variable CurrentDirectory 2008-02-18 23:36:34 +00:00
David Capello
ccae3704f4 Fixed 'broadcast_key_msg' when generate the list of widgets to receive the message. 2008-02-18 23:35:44 +00:00
David Capello
257b25001a Fixed: the window is freed. The tooltip disappear when the user press a key. 2008-02-18 23:33:48 +00:00
David Capello
74686e9bb6 2008-02-18 23:32:04 +00:00
David Capello
1a1ace16b1 Simplified the 'preview' generation process 2008-02-18 23:31:38 +00:00
David Capello
1ab947b4f1 Added an assertion to test if get_fileitem_from_path returns the same pointers for the same path. 2008-02-18 23:30:32 +00:00
David Capello
bd851fdeca Minor changes 2008-02-18 23:29:35 +00:00
David Capello
04d0f50dfb 2008-02-17 21:06:37 +00:00
David Capello
7a4486a8f0 More optimizations. 2008-02-13 11:32:19 +00:00
David Capello
440792dcd1 Optimized the routines to handle 'dirty' data structure 2008-02-13 01:55:07 +00:00
David Capello
d304eaac04 The GFLI third_party was moved to src/file/fli 2008-02-12 15:56:47 +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
82417c7aee Fixed flickering effect in the file-view widget. 2008-02-12 12:34:56 +00:00
David Capello
7939776b94 Fixed a bug when loading some broken-GIF (the 'lzw_write_pixel' routine was called with pos < 0). 2008-02-11 02:04:33 +00:00
David Capello
a408d8917b Removed USE_PRECOMPILED_HEADER option. 2008-02-11 01:56:20 +00:00
David Capello
3290dfb7d5 Added thumbnails, tooltips, and now the file routines don't use PACKFILE (just FILE from stdio). 2008-02-10 19:06:03 +00:00
David Capello
112bde13c8 Added 'monitor_free' (to join threads after exit the program or cancel the loading process) 2008-02-10 19:02:53 +00:00
David Capello
378812a8cb Added an exit_hook (using 'add_gui_exit_hook') to avoid a memory leak (anyway it's at the end of the program, so it wasn't a problem). 2008-02-10 19:01:35 +00:00
David Capello
0e6ae3da5c Added memory-information when MEMLEAK is activated. 2008-02-10 19:00:14 +00:00
David Capello
f7083246cf Fixed some memory leaks 2008-02-10 18:59:08 +00:00
David Capello
9c516cb354 Added get_errno_string 2008-02-10 18:58:17 +00:00
David Capello
db9be355c2 Added free_msgid to avoid using jfree directly like a function (it
could be a macro).
2008-02-10 18:54:35 +00:00
David Capello
fa45321b11 Added the widget to show tooltips.
Added two attributes to '_ji_theme_textbox_draw' (fg and bg colors)
Fixed some memory leaks.
Added MEMLEAK to activate the memory-leak detection in jmem.c.
2008-02-10 18:52:42 +00:00
David Capello
48bca23055 Added the wantfocus property to JWindows. 2008-02-10 18:50:00 +00:00
David Capello
c6b2f7e601 Added the widget to show tooltips. 2008-02-10 18:49:12 +00:00
David Capello
b083623e19 Copyright updated. 2008-02-10 12:55:22 +00:00
David Capello
90a55ad443 Copyright updated. 2008-02-10 12:52:15 +00:00
David Capello
294f5f739f Copyright updated. 2008-02-10 12:42:17 +00:00
David Capello
eaa74d8234 Copyright updated. 2008-02-10 12:37:48 +00:00
David Capello
51c9a25b91 Fixed a memory leak. 2008-02-10 12:36:00 +00:00
David Capello
0b65f81de8 Copyright updated. 2008-02-10 12:35:13 +00:00
David Capello
a9ec8b61f0 Fixed a memory leak. 2008-02-10 12:33:03 +00:00
David Capello
b797cd91b7 Now the null sprite is displayed as an empty-set symbol. 2008-02-10 12:23:59 +00:00
David Capello
dd1ded8deb Copyright updated. 2008-02-10 12:22:48 +00:00
David Capello
63be8aed8a Fixed a bug where the 'Yes' button wasn't recognized as the killer of the window. 2008-02-08 14:00:52 +00:00
David Capello
252846d720 Now the buttons have names like: button-1, button-2, etc. 2008-02-08 13:59:37 +00:00
David Capello
685ec05e3f Fixed some compilations problems in Linux. And a bug in file_system to get the root / file-item
key.
2008-02-05 13:54:30 +00:00
David Capello
528eaab937 Added threads to load files in background.
Added a new file-selector (using PIDLs for Win32).
2008-02-04 02:37:26 +00:00
David Capello
2aea148245 Fixed file_size_ex and outportw usage in Linux. 2008-01-31 18:48:58 +00:00
David Capello
0abb4c9033 Added a confirmation dialog after changing the gfx-mode. 2008-01-27 18:51:12 +00:00
David Capello
afb2d3f502 Added JMutex, lock_current_sprite, and locked & mutex fields for Sprite.
Added readable/writable buttons in the Film Editor. Added forbidden cursor.
Fixed some bugs in editors_draw_sprite_tiled and cmd_configure_tools.
2008-01-23 16:18:58 +00:00
David Capello
33cde18bf1 Added JMutex, lock_current_sprite, and locked & mutex fields for Sprite.
Added readable/writable buttons in the Film Editor. Added forbidden cursor.
Fixed some bugs in editors_draw_sprite_tiled and cmd_configure_tools.
2008-01-23 16:16:43 +00:00
David Capello
dc6d0467ac 2008-01-21 21:54:22 +00:00
David Capello
833c52508c Default min-width for buttons. 2008-01-21 21:50:54 +00:00
David Capello
1ee483cc28 Fixed some problems with focus (when close menus and windows). 2008-01-20 22:38:21 +00:00
David Capello
86fb5a0124 2008-01-13 21:18:00 +00:00
David Capello
ab61d62f5e 2008-01-13 21:04:36 +00:00
David Capello
dfae80457b Fixed problems with the brush-cursor drawing code. 2008-01-13 20:49:02 +00:00
David Capello
8cc8d732e2 Files reformatted (changed "function_call ()" to "function_call()" ). 2008-01-07 15:10:17 +00:00
David Capello
7fe8991db2 Modified the way that GUI manager (jmanager) controls the message-loop. 2008-01-07 11:45:02 +00:00
David Capello
6fcea92d7b Fixed a problem with popup-menus. 2008-01-06 19:30:17 +00:00
David Capello
cbcc6953b4 Added goto_*_frame & play_animation commands. With this the 'Preview'
uses the same keys to move through frames that are specified in gui.xml
2008-01-05 18:32:12 +00:00
David Capello
d2be70c242 Added 'is_processing' in 'Base' structure to avoid sending menu-messages when there're menu-messages in the queue. 2008-01-05 18:08:12 +00:00
David Capello
8c2ebdfee4 Removed the IDLE message.
Added a lot of asserts (in the GUI code mainly).
2008-01-03 23:22:04 +00:00
David Capello
bbdd7a3f83 Now screen shots are generated directly in PNG format. 2007-12-19 20:09:27 +00:00
David Capello
37be418a5a Added some of the new script functions (NewSprite, LoadSprite,
SaveSprite, SetSprite, NewLayer)
2007-12-13 15:55:01 +00:00
David Capello
ece7c72b0f Added ase_uint8, ase_uint16, ase_uint32 2007-12-11 20:05:18 +00:00
David Capello
1851db4ac7 Fixed a problem when saving non-indexed images (reported by Trent Gamblin) 2007-12-09 01:52:58 +00:00
David Capello
9b755b2834 Fixed src/widgets/editor/editor.c 2007-12-06 21:32:44 +00:00
David Capello
d87b0dc8ff Added jwidget_set_max_size.
Modified some dialogs for a better look.
Fixed the interactive movement of the layer.
2007-12-06 20:05:32 +00:00
David Capello
549210b95f Fixed the copy & paste. 2007-12-06 03:20:49 +00:00
David Capello
d1c38d7dfe Removed a lot of GUI functionality for scripting.
Added support to save PNG files.
Added alternative dirty rectangles technique to Jinete.
2007-12-06 03:00:10 +00:00
David Capello
c50df75059 Fixed the tests 2007-12-05 22:00:19 +00:00
David Capello
7a0913c2cf Added rules to make tests 2007-12-05 03:29:17 +00:00
David Capello
d199ae0805 Jinete examples moved to ase/src/text 2007-12-05 01:53:03 +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
9e8a50d58d Moved jinete.h 2007-12-04 22:55:53 +00:00
David Capello
8b2b914b3e The do_progress isn't called anymore for each row, so this optimized a lot the read speed. 2007-11-29 20:06:22 +00:00
David Capello
b8b0fc598a Better graphics resolution selection by default 2007-11-28 17:50:16 +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
39c52ae868 Finished load_png. 2007-11-25 01:26:08 +00:00
David Capello
faf2c2cb20 Fixed undo for new frames in other layers. 2007-11-25 01:25:10 +00:00
David Capello
c059b77958 Added "Configure Screen" command. 2007-11-24 18:23:53 +00:00
David Capello
fad42803e4 Undo changes (back to version 15). 2007-11-19 17:24:50 +00:00
David Capello
35f50b6d73 Added more directories to find data in UNIX like systems. 2007-11-19 16:10:00 +00:00
David Capello
ca9b264905 Fixed file_size/file_size_ex depending the Allegro version 2007-11-19 14:41:30 +00:00
David Capello
2aaf287614 Added operations to handle frames. 2007-11-19 14:29:24 +00:00
David Capello
2ea9551ce1 Renamed frpos -> frame. Added operations to handle frames and cels. 2007-11-19 14:23:15 +00:00
David Capello
83444f1775 Renamed "frame" to "cel" (commands files renamed) 2007-11-16 20:54:15 +00:00
David Capello
429d6a83ef Renamed "frame" to "cel" 2007-11-16 20:49:40 +00:00
David Capello
40e3a27ce7 Header of all files updated 2007-11-16 18:25:45 +00:00
David Capello
3932753b38 More scripts removed. Better file-selector 2007-11-15 03:49:58 +00:00
David Capello
1c3cba7208 Removed the usage of "link" frames when load a sequence of bitmaps. 2007-11-14 21:28:33 +00:00
David Capello
57d5783d0c More commands transformed from Lua code to C 2007-11-09 04:12:27 +00:00
David Capello
89e2452ed0 More commands transformed from Lua code to C 2007-11-09 04:10:19 +00:00
David Capello
36f861ddd7 Removed src/dialogs/effect/*.c 2007-11-08 00:54:31 +00:00
David Capello
0acca25989 Added "new_frame" command. Renamed writeable to writable. 2007-10-08 02:20:57 +00:00
David Capello
a1b9a6844b Added crop tool. 2007-10-04 02:44:09 +00:00
David Capello
c1879f7c07 Added sprite_properties command. 2007-09-30 16:04:18 +00:00
David Capello
ce25bfaac4 Added all mask/selection commands.
Added all commands to select a tool.
Fixed a bug when setting the grid.
The about dialog shows AUTHORS.txt
2007-09-30 15:32:21 +00:00
David Capello
5097767564 Fixed a problem when setting tile rectangle. 2007-09-29 22:19:51 +00:00
David Capello
0a6b8a5955 Removed session stuff. 2007-09-29 00:16:41 +00:00
David Capello
395ad85546 Removed session stuff. 2007-09-29 00:14:10 +00:00
David Capello
ec0d508f77 Added "undo" and "redo" commands. 2007-09-27 20:45:12 +00:00
David Capello
a43470b8f1 Removed cmd_split_editor_horizontally.c 2007-09-27 20:39:31 +00:00
David Capello
a198e43b7e Added "save_file_as" and "options" commands.
Added some dirty tricks to handle the mouse capture in Windows.
2007-09-27 20:13:06 +00:00
David Capello
a68a9e2e56 Added cmd_drawing_tools.c.
Fixed some errors with double memory free (from 'menuitems' and from 'commands').
Added the four main commands for the editor of sprites (close_editor, make_unique_editor, split_editor).
2007-09-27 18:02:23 +00:00
David Capello
e17df80151 Added all preview stuff in one file. 2007-09-26 20:12:06 +00:00
David Capello
670d468252 Added command_execute_open_file.
Removed jmanager_dispatch_draw_messages.
Fixed wheel behavior in the editor (only when the editor is in standby state).
Replaced scare/unscare_mouse jmouse_hide/show. Renamed ji_mouse -> jmouse.
Added command_execute_close_file
2007-09-26 19:34:06 +00:00
David Capello
8d94d16c0b Added all the "Command" stuff. 2007-09-23 20:13:58 +00:00
David Capello
447451e374 Added all the "Command" stuff. 2007-09-23 19:08:27 +00:00
David Capello
7eb7e8eac9 Removed the include <setjmp.h> to avoid conflicts with libpng 2007-09-20 00:41:39 +00:00
David Capello
e82167b340 Added double-buffering for GUI, and PNG support 2007-09-20 00:32:35 +00:00
David Capello
7c4dbdc036 Fixed a compilation error for GCC 4.x 2007-09-19 18:31:12 +00:00
David Capello
57e978b102 Moved everything to trunk 2007-09-18 23:57:02 +00:00