David Capello
033aad9d28
Fix Unicode characters encoding (we've to use utf-8) in Color::toHumanReadableString() and BrushAngleField()
2013-11-23 18:01:42 -03:00
David Capello
ad0b28bd63
Change Window() ctor to avoid ambiguity (DesktopWindow, WithoutTitleBar, or WithTitleBar)
...
In this way we know at the moment of the creation of the window if it
will need the close button.
Issue #280 .
https://github.com/aseprite/aseprite/pull/6
2013-11-23 17:47:57 -03:00
David Capello
7dc8e548be
Fix issue #280 - Close button doesn't appear in some windows
...
Thanks to @DocHoncho for the help.
See https://github.com/aseprite/aseprite/pull/6
2013-11-23 17:25:21 -03:00
David Capello
a1f3e290c2
Fix Timeline::updateUsingEditor() as it can be called with editor=NULL
...
In fact, now it's called with NULL when the program starts
(see commit 517d368f938ca55f915ce9e8ffb57d96b5288b1d).
2013-11-23 17:09:31 -03:00
David Capello
6f50385d5f
Update CONTRIBUTING.md and INSTALL.md
2013-11-23 16:32:13 -03:00
David Capello
0090be560c
Minor changes/fixes in CONTRIBUTING.md
2013-11-23 16:09:52 -03:00
David Capello
a8ea8ceccc
Add CONTRIBUTING.md file
2013-11-23 16:01:49 -03:00
David Capello
a7716cfc62
Add option in INSTALL.md to copy data/ dir to ~/.aseprite on Linux
2013-11-23 16:01:34 -03:00
David Capello
88d8235e86
Merge branch 'dev' of git@github.com:dacap/aseprite.git into dev
2013-11-21 00:28:16 -03:00
David Capello
517d368f93
Merge pull request #5 from DocHoncho/fix-285
...
Fix for issue 285
2013-11-20 19:26:27 -08:00
David Capello
119d260ba2
Merge pull request #4 from DocHoncho/fix-284
...
Fix for issue 284
2013-11-20 19:20:42 -08:00
Joel Madigan
a13603a0aa
Added call to UIContext::setActiveView(NULL) to force window title to have proper default value
2013-11-20 00:12:18 -05:00
Joel Madigan
422f1135d3
Fix for issue 284, assertion error was being triggered by passing an int to a function expecting type Item*. Looks like it was an oversight in commit b45dcf7 when the dialog was modified to use ui::ListItem
2013-11-19 23:32:11 -05:00
Joel Madigan
85503ec691
Fix for issue 279
2013-11-18 20:23:39 -03:00
David Capello
49cf2bdcf0
Fix issue #277 , LoadPalette command can change the default palette
2013-11-15 17:01:28 -03:00
David Capello
ddf4a13490
Add the Palette menu with Load/Save commands
2013-11-15 16:56:50 -03:00
David Capello
f59f6f7d5e
Fix bug creating bitmaps with width < 0 in draw_color() function
2013-11-15 15:46:54 -03:00
David Capello
055907d008
Remove thumbnails generation code
...
At the moment we'll keep the timeline simple (without thumbnails).
2013-11-10 23:11:59 -03:00
David Capello
d39feb063c
Add SKIN_PART_NESW(name) macro in skin_parts.h
2013-11-10 23:06:00 -03:00
David Capello
5141079c5f
Keep timeline in sync with current editor and after commands are executed
2013-11-10 22:59:25 -03:00
David Capello
28fe226236
Fix bug: Notify Context's observers in Context::onAdd/RemoveDocument
2013-11-10 20:36:15 -03:00
David Capello
c9ab56cf69
Timeline: we've to observe the Context to know if the Document is destroyed
...
In this way the timeline can stop observing the Document when it's closed.
2013-11-10 20:29:51 -03:00
David Capello
d8fd4736d4
Timeline: smaller row size
2013-11-10 20:16:09 -03:00
David Capello
af3df61ca3
Fix main_window.xml to show the ContextBar again
2013-11-10 19:06:37 -03:00
David Capello
c681edbc38
Fix Mask::byColor()
...
Bug introduced in commit e5ba8e0922e066e7b521b149007a74aa00a9a25b
2013-11-10 18:42:34 -03:00
David Capello
5c74e59e0e
Fix typo in TODO.md
2013-11-10 18:36:21 -03:00
David Capello
2173da9fcd
Move src/app/dialogs/maskcol.cpp to src/app/commands/cmd_mask_by_color.cpp
...
Finally src/app/dialogs directory is gone.
2013-11-10 18:34:52 -03:00
David Capello
23fd6f5a0f
Minor fix in TODO
2013-11-10 18:27:22 -03:00
David Capello
b0cd01b425
Add the old "Animation Editor" as a timeline at the bottom of sprite editors (Workspace)
...
- Renamed AnimationEditor (dialogs/aniedit.h) to Timeline
class (app/ui/timeline.h)
- Renamed FilmEditor command to Timeline
2013-11-10 18:27:11 -03:00
David Capello
e6450877bb
Minor change: Make Splitter::getPosition() inlined
2013-11-10 18:02:20 -03:00
David Capello
60602f78a8
Show an error if we cannot create a ToolLoopImpl
...
The main issue at the moment is that a std::bad_alloc exception can be
thrown if there isn't enough memory available when the user click the
sprite editor to start drawing.
2013-11-10 16:20:20 -03:00
David Capello
efbb3e52e2
Fix bug where dirty bounds are out of the image bounds
2013-11-10 16:09:46 -03:00
David Capello
13946b310c
Improve creation of Dirty() instance (fix issue #239 )
...
Now Dirty() ctor receives the bounds, so we don't need to iterate over
the whole image to find/shrink the modified region.
2013-11-10 15:54:36 -03:00
David Capello
ba4937ab07
Update TODO.md
2013-11-10 14:50:37 -03:00
David Capello
5b8d000171
Improve put/get_pixel_fast() functions to avoid virtual function call
2013-11-10 14:49:06 -03:00
David Capello
48864b440b
Add ImageBuffer class
...
It tries to mitigate issue #239 , but it's not a full fix yet. A good
possibility would be to change the internal structure of images, creating
tiles. So we don't need to allocate/copy/clear/etc. huge images in each
step.
2013-11-10 13:26:48 -03:00
David Capello
5db38c4a87
Specialize ImageImpl::clear for Indexed and Bitmap images
2013-11-10 13:20:28 -03:00
David Capello
38c64d5460
Avoid calling Image::getPixelAddress() (virtual function) in several ImageImpl functions
2013-11-10 13:19:49 -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
01d79ddf9b
Merge branch 'dev' of git@github.com:dacap/aseprite.git into dev
2013-11-09 20:00:16 -03:00
David Capello
e5ba8e0922
Encapsulate Image implementation (private members, accessors, iterators, etc.)
...
- Rename _rgba/_graya to raster::rgba()/graya()
- Add raster::color_t type (alias for uint32_t)
- Rename raster::GfxObj to Object. And GfxObj::getType() to Object::type()
- Move conversion from raster::Image/Palette to Allegro BITMAP/RGB
to raster/conversion_alleg.h file
- Add raster/color_scales.h
- Rename image_* functions to raster/primitives.h
- Reimplement ink processing with templates instead of macros
2013-11-09 19:59:05 -03:00
David Capello
dbf4d0d490
Replace JRect/jrect struct with gfx::Rect
...
- Replaced Widget::rc -> Widget::m_bounds private member.
- Added Widget::offsetWidgets() method.
- Removed View::displaceWidgets().
2013-10-26 12:50:55 -03:00
David Capello
7657461162
Merge branch 'dev' of git@github.com:dacap/aseprite.git into dev
2013-10-14 20:06:00 -03:00
David Capello
d9910f8210
Merge branch 'dev' of git@github.com:dacap/aseprite.git into dev
2013-10-14 19:58:48 -03:00
David Capello
5b252c30f5
Add support for Unicode file names on Windows
...
- Fixed issue #46 : open .png files with Unicode chars
- Fixed issue #150 : ability to uncompress program in folders w/Unicode chars
- Added base::utf8_iterator
- Added base::FileHandle
- Added base::get_app_path()
- Modified ui::KeyMessage::ascii() -> unicodeChar()
- Removed JI_NOTEXT flag
- Added app::XmlDocumentRef class and app::open_xml() function
- Added support for Unicode text exchange with Win32 clipboard
2013-10-14 19:58:11 -03:00
David Capello
092ae7b2d6
Fix warning: Remove AL_CONST modifier from free_config_entries() function
2013-09-30 19:57:49 -03:00
David Capello
63c3a62e00
Change PACKAGE name to Aseprite
2013-09-30 19:57:16 -03:00
David Capello
0d182b95af
Fix issue #264 , widgets aren't loaded
...
This error appeared after a huge refactor of classes
(src/widgets/ to app/ui/ directory).
2013-09-30 12:07:40 -03:00
David Capello
251e651cbd
Fix ui::Manager::pumpQueue() error when compiling in debug mode
2013-09-28 17:13:17 -03:00
David Capello
5d0c25b0da
Modify base::convert_to() undefined implementation
...
GCC shows divide-by-zero warnings, so it is better in this way.
2013-09-21 20:40:54 -03:00