Commit Graph

2373 Commits

Author SHA1 Message Date
David Capello
347e5f941f Merge branch 'dev' 2014-06-09 23:11:41 -03:00
David Capello
9dfec919e4 Fix issue merging frames that weren't rendered on any editor at least once
This bug is because the mask color of cel images were fixed when they
were used in the rendering process. Now, the mask color is fixed when the
image is added to the raster::Stock structure.
2014-06-09 22:36:42 -03:00
David Capello
47b5a973e9 Fix issue #405 - crash after merge down
We were deleting the destination cel if there weren't a source cel.
2014-06-09 22:07:24 -03:00
David Capello
d8d637a056 New version 1.0.1 in dev 2014-06-09 22:05:19 -03:00
David Capello
c82d91b1cf Merge branch 'dev' 2014-06-06 08:51:45 -03:00
David Capello
33641b2997 Add one item to TODO 2014-06-06 08:51:27 -03:00
David Capello
1ffccada68 Update create_release.sh script to create Mac releases too 2014-06-06 08:51:11 -03:00
David Capello
f2d3bcac29 Update create_release.sh script 2014-06-05 00:08:34 -03:00
David Capello
2df2f6d540 Change code-signing tool in create_release.sh 2014-06-04 22:21:38 -03:00
David Capello
f9e0be9e56 Add distribution type to create_release.sh script 2014-06-04 22:11:58 -03:00
David Capello
e18b421616 Update TODO.md 2014-06-04 21:58:18 -03:00
David Capello
c221e4a49a Merge branch 'dev' 2014-06-04 01:10:14 -03:00
David Capello
dbe4f872c5 New icon 2014-06-04 00:44:43 -03:00
David Capello
786ae48ffa Add ASEPRITE1.0 block to .gif files 2014-06-04 00:27:34 -03:00
David Capello
289b729e3e ExpandCelCanvas: Fix problems generating Dirty area for cels with origin != 0,0 2014-06-03 20:23:53 -03:00
David Capello
badbb7ad32 Minor changes in ExpandCelCanvas 2014-06-03 20:22:50 -03:00
David Capello
7017332d62 Fix conversion of Indexed images to RGB when the layer is transparent 2014-06-03 00:05:57 -03:00
David Capello
df3b87c409 Update giflib to 5.1.0 2014-06-02 22:10:08 -03:00
David Capello
7ffce344bd Add CUSTOM_WEBSITE_URL option to test a local webserver 2014-06-02 21:31:44 -03:00
David Capello
ed6c0f986d ColorSelector: Add WarningIcon to add colors to the palette
Simplified the color selector UI. Now RGB/HSV colors are shown correctly
and a new warning icon/button is visible when the color is not part of
the current palette. This button can be used to quickly add the new entry
to the palette.
2014-06-01 18:15:11 -03:00
David Capello
f91f41a425 NewFile command: Don't change palette in grayscale images 2014-06-01 18:10:52 -03:00
David Capello
76afcfedac Change current palette after undo/redo 2014-06-01 18:10:26 -03:00
David Capello
c56d3d1170 Fix for PaletteView: redraw it when the palette is changed 2014-06-01 18:09:19 -03:00
David Capello
cf0df20a13 Fix warning message on debug 2014-06-01 18:08:47 -03:00
David Capello
f99423dec4 Add Palette::findExactMatch() member function 2014-06-01 18:08:31 -03:00
David Capello
2b1e190913 Update TODO items 2014-05-26 00:22:25 -03:00
David Capello
dc5a019c13 ContextBar: Add buttons to drop the selection or cancel the whole operation
- Add ContextBarObserver (and MovingPixelsState implements this interface)
- PixelMovements::discardImage() receives a "commit" flag to do a rollback
  of the operation if the user needs it.
2014-05-26 00:20:16 -03:00
David Capello
b05f2da0b2 ButtonSet: Add deselectItems() member function 2014-05-25 23:57:51 -03:00
David Capello
e5e4423730 ButtonSet: fix a bug using setSelectedItem() when there are no selected items 2014-05-25 23:57:31 -03:00
David Capello
1d8d39fc13 Add support to modify observers list when we are inside a notification 2014-05-25 23:54:56 -03:00
David Capello
1a07472824 Fix issue loading negative splitter position 2014-05-25 16:34:26 -03:00
David Capello
47b6df19ee Fix problems generating mouse messages with pos=0,0 2014-05-25 16:22:48 -03:00
David Capello
cbb70c8279 Timeline: make selected range outline a little bigger 2014-05-25 13:32:19 -03:00
David Capello
88ccba6da8 Fix thumbnails for transparent images 2014-05-25 12:06:55 -03:00
David Capello
08fb98d40d New notifications area at the top-right corner 2014-05-25 11:21:10 -03:00
David Capello
d18b9a403b Fix Onionskin_Merge type 2014-05-18 21:21:02 -03:00
David Capello
fc7e4123b4 Change default onionskin opacity step setting 2014-05-18 18:03:29 -03:00
David Capello
8d3b132082 Change ConfigureTimelinePopup layout 2014-05-18 16:49:24 -03:00
David Capello
a15aea5ed7 Add timeline options for onion skin, loop section, and animation direction
- Add red/blue onion skin type
- Add app::calculate_next_frame() function to calculate the next frame
  depending of the timeline configuration (loop range, animation direction)
- Add app::finder() to simplify the access to widgets loaded from xml files
2014-05-17 21:27:44 -03:00
David Capello
263f4b5479 Add flag to debug observers 2014-05-17 21:04:55 -03:00
David Capello
3c2e01b5d8 Replace the dummy developer "console" with a WorkspaceView
This is completely experimental stuff. Just added this because the previous
window doesn't make sense.
2014-05-09 01:01:59 -03:00
David Capello
43ed994812 Add more palettes 2014-05-09 00:30:15 -03:00
David Capello
695243006f Don't show onion skin in the mini editor 2014-05-08 08:50:21 -03:00
David Capello
391a5c0bf4 Add command to switch onion skin visibility 2014-05-08 08:47:45 -03:00
David Capello
a6d900fc2c Fix several old issues with indexed images and transparent color
- If we use a RGB color in a background layer (indexed image),
  and the first palette entry (transparent color) matches that RGB color,
  we can use that entry, because this is the background (the transparent
  color isn't transparent at all in the background layer).
- If we use the same RGB color in a transparent color, we've to avoid the
  transparent color, because the user want to paint with that specific
  solid color.
- Palette::findBestfit() receives a mask_index now, so we can find what
  color best matches a specific RGB avoiding that specific mask color,
  or we can use -1 to use any color (e.g. for background layers).
- Added app::ColorTarget() to simplify and fix color_utils::color_for_layer
  and app_get_color_to_clear_layer(), so now we can use the new findBestfit
  to return the transparent color for background layers (if a RGB color
  matches the transparent color RGB values).
- Removed fixup_color_for_layer/background() functions in color_utils
- Fix NewImageFromMask() to use the mask color to clear the image
- Improve the Editor pen preview (cursor.cpp) to draw the bounds of the
  pen when it will paint with the transparent color.
2014-05-08 00:30:36 -03:00
David Capello
5a45d1ec23 Remove the number of colors entry field from "New Sprite" dialog
This field is disabled, and the program isn't ready to support less than
256 colors in Indexed mode, so it's better if we remove this field to avoid
confusion.
2014-05-06 00:08:43 -03:00
David Capello
81d30fb24d Detect HTHSCROLL/HTVSCROLL as HTCLIENT in WM_NCHITTEST message
In this way we fix a bug where (sometimes) the mouse is not detected
as in the client area because it's over a system scrollbar.
2014-05-05 21:37:20 -03:00
David Capello
6aca409d84 Remove fixed item from TODO.md file 2014-05-05 21:29:53 -03:00
David Capello
fa204baf42 Easier way to reference the program website in commands 2014-05-05 21:28:58 -03:00
David Capello
e624b391c2 Fix quickref link 2014-05-05 21:28:20 -03:00