David Capello
eb7016bede
Fix crash in Editor::drawOneSpriteUnclippedRect() (issue 361)
...
We've to catch std::bad_alloc exceptions.
2014-03-12 19:35:26 -03:00
David Capello
2a70e750cd
Add a basic model layer (doc-lib)
2014-03-12 19:25:09 -03:00
David Capello
15f55c045c
wddlock.c: Don't use _al_wd_dirty_lines if it's null
...
Related to issue 359: Program exits unexpectently after minimizing
and maximizing too fast.
I should find the cause of _al_wd_dirty_lines = NULL, but I wasn't able
to reproduce this bug, so at the moment this is the best I can do to avoid
a crash. (I suppose that it's related to a temporary invalid state because
thread sync issues when the screen/window changes its size.)
2014-03-08 21:34:48 -03:00
David Capello
45f0166508
Fix issue 366: Crash (uncaught exception) on closing application
2014-03-08 21:15:48 -03:00
David Capello
30e26e2a3a
Select correct ink type in InkTypeField
2014-03-08 21:00:14 -03:00
David Capello
d780e90784
Fix issue 367: Put alpha drawing mode isn't working
2014-03-08 20:37:43 -03:00
David Capello
f107dd3cbc
Fix issue 352: Context Bar Eats Hotkey Input
...
Avoid capturing keyboard focus in context bar widgets.
2014-03-08 20:31:55 -03:00
David Capello
10ae3a9d28
Fix editor drawing code (issue 355, editor decorators weren't visible outside sprite bounds)
2014-03-03 00:09:14 -03:00
David Capello
1b86d613bf
Fix issue 360: Cannot save gif files
...
* SaveFile and SaveFileAs commands ask for removing read-only attribute
* Fixed base::open_file_descriptor_with_exception() to create new files
* Added internal base::Win32Exception
* Added unit tests for the creation of file descriptors
* Added base::delete_file, has_readonly_attr, remove_readonly_attr functions
2014-03-02 20:47:34 -03:00
David Capello
6cfcdc23e1
Fix bug in ColorPicker::pickColor() getting colors outside the image bounds
2014-03-02 20:07:11 -03:00
David Capello
77cd0e9cc6
Fix a bug with invalid m_ptr in image iterators when we merge down layers (fix issue 358)
...
The ImageIteratorT implementation was simplified to avoid invalid m_ptrs.
2014-03-02 17:02:03 -03:00
David Capello
316223cee9
Save [Options]/CheckedBgZoom as bool value
2014-03-01 18:53:00 -03:00
David Capello
6023c62fa0
Update config.h location in create_dmg.sh script
2014-02-24 10:06:45 -03:00
David Capello
da9f9dfd47
Change Mac OS X dmg package name
2014-02-24 09:18:31 -03:00
David Capello
d7125f9cae
Remove scripts to upload files
2014-02-24 09:18:14 -03:00
David Capello
28cb389ac8
Update config.h location on scripts/ folder
2014-02-24 09:17:12 -03:00
David Capello
72a4fbd7e1
Add support for WinXP on create_release.sh
2014-02-24 09:05:20 -03:00
David Capello
1d7b51d8f9
Disable inks as they are confusing and shading mode is not done yet
2014-02-24 08:53:46 -03:00
David Capello
c558d664e8
Don't use C++11 enum class style yet
2014-02-24 08:31:02 -03:00
David Capello
d72a7a4dee
Fix compilations errors on gcc
2014-02-24 08:30:43 -03:00
David Capello
3b23184c15
Fix compilation error in ui/clipboard_none.h
2014-02-24 08:23:04 -03:00
David Capello
4b88e90dc6
Fix file_handle.cpp compilation error on Unix-like systems
2014-02-24 08:20:42 -03:00
David Capello
43b2be4f0d
Fix issue 347: Eyedropper tool changes in gui.xml (pick_fg ink) not working
2014-02-24 08:08:34 -03:00
David Capello
f2bdf38cc6
Fix bug loading/saving .gif files with Unicode file names
2014-02-17 21:43:20 -03:00
David Capello
2462767aac
Fix issue 337: Vertical flip and Horizontal flips functions affect more than selected area
2014-02-17 00:41:28 -03:00
David Capello
3b8926b7d1
Remove SnapBehavior::SnapInRightBottom which is confusing (fix issue 343)
2014-02-17 00:00:06 -03:00
David Capello
3cbf3e122f
Now you can press a mouse button in a ComboBoxEntry and drag the mouse to the ComboBoxListBox (issue 339)
2014-02-08 20:09:42 -03:00
David Capello
7251f4b70a
Now you can press a mouse button in a IntEntry and drag the mouse to the slider (issue 339)
2014-02-08 19:39:36 -03:00
David Capello
bb32f1fbf2
slider.cpp: Remove commented code
2014-02-08 19:26:13 -03:00
David Capello
7eb41c73e9
IntEntry: select all text when the value is changed with the slider
2014-02-08 18:58:28 -03:00
David Capello
721734d26c
Don't scroll Entry text if it isn't needed
2014-02-08 18:46:27 -03:00
David Capello
f954556683
Fix crash in Entry::getCaretFromMouse()
2014-02-08 18:31:15 -03:00
David Capello
cc08a054ad
Minor fix for timeline header of frames
2014-02-08 17:56:36 -03:00
David Capello
aa9eec2cfd
Fix issue 341: cannot scroll Timeline with space bar
2014-02-08 17:40:26 -03:00
David Capello
61c5b0dbb6
Move config.h to src/ directory
2014-02-08 00:56:20 -03:00
David Capello
51f70a170a
Move code to handle Windows clipboard (text) to ui/clipboard_win.h
2014-02-08 00:41:16 -03:00
David Capello
e082cd96f1
Make ScreenScale option configurable through UI
2014-02-08 00:19:20 -03:00
David Capello
cff08af639
Fix UISettingsImpl::setBgColor() so right click with eye-dropper set background color
2014-02-06 21:17:47 -03:00
David Capello
d9d761c596
Fix issue 338: Double Clicking Timeline While Holding Control Crashes the Program
2014-02-06 20:40:10 -03:00
David Capello
0480de4388
Add live preview to tiled mode
...
- Removed draw_emptyset_symbol() function
- Added DocumentSettingsObserver
- Moved Editor's painting code from onProcessMessage to onPaint
2014-02-06 20:22:52 -03:00
David Capello
9b2f5399e9
Add ui::Graphics::fillRegion()
2014-02-06 20:01:32 -03:00
David Capello
9050861d78
Add ui::Widget::getGraphics() and GraphicsPtr
2014-02-06 20:00:59 -03:00
David Capello
936b741f90
Stop propagation of keyboard messages if a child use it
...
This fix a new bug with the new EditorView's scroll-bars. As 1,2,3,4,5,6
keys change the zoom, they will change the viewport size, and scroll-bars
will be removed/added. We cannot continue iterating the View::m_children
collection after m_children is modified (scroll-bars are removed/added).
2014-02-03 00:22:24 -03:00
David Capello
d3c72bedf2
Fix issue 309: Program crashes immediately after setting ScreenScale to 1
...
Avoid double destroy_bitmap() call.
2014-02-03 00:09:42 -03:00
David Capello
97d1acc036
Fix issue 313: Canvas does not reflect the change of a layer order
2014-02-02 23:57:30 -03:00
David Capello
c3a03565fb
Fix issue 314 (crash): We were adding an image in the sprite's stock with a shared ImageBuffer
2014-02-02 23:10:09 -03:00
David Capello
858d7ff1b3
Add one assert more in ImageIteratorT() ctor
2014-02-02 23:07:54 -03:00
David Capello
20393c8aaa
Fix bug with empty ContextBar when Ctrl+W is used to close a sprite and then a new sprite is created
...
This happens because Ctrl key activates the Hand/Move quick-tool, so the
ContextBar is updated to shows controls for this tool (an empty context
bar at the moment). Then, as Ctrl+W is pressed, the document is closed,
(we lost the Editor), and we willn't receive a
ContextBar::onCurrentToolChange() event (which should be generated by
releasing Ctrl key).
2014-02-02 21:22:50 -03:00
David Capello
78e5ab356a
Don't show ContextBar when the program starts
2014-02-02 21:17:48 -03:00
David Capello
44c6a9d91a
Fix bug where ContextBar was completely hidden
2014-02-02 21:07:12 -03:00