OSDN Git Service

mypaint-anime/master.git
13 years agodraw_dab: small speedup, update lock_alpha
Martin Renold [Mon, 18 Apr 2011 06:48:05 +0000 (08:48 +0200)]
draw_dab: small speedup, update lock_alpha

pass 16bit integer for color, instead of 32bit
brushengine_paint_hires: 2% speedup (significant)

and update lock_alpha blend mode

13 years agodraw_dab: run length encoding for mask
Martin Renold [Mon, 11 Apr 2011 19:36:19 +0000 (21:36 +0200)]
draw_dab: run length encoding for mask

Makes the blendmode code shorter as it doesn't have to deal
with region of interest any more.

brushengine_paint_hires: about 4% performance gain

13 years agodraw_dab: add back opacity==0 check in inner loop
Martin Renold [Mon, 11 Apr 2011 15:26:11 +0000 (17:26 +0200)]
draw_dab: add back opacity==0 check in inner loop

brushengine_paint_hires: 22% performance gain

13 years agodraw_dab: code refactoring
Martin Renold [Mon, 11 Apr 2011 14:52:05 +0000 (16:52 +0200)]
draw_dab: code refactoring

Get rid of multiple mask calculations.
Get rid of C++ templates.

13 years agoadd lock_alpha; blend mode refactoring
guciek [Mon, 11 Apr 2011 13:34:42 +0000 (15:34 +0200)]
add lock_alpha; blend mode refactoring

Squashed branch "blend_modes" by guciek into a single
commit, without modification. Based on 9818189 from
http://github.com/guciek/mypaint.git

Squashed log messages:
* add lock_alpha to brush setting window
* fix calls to removed function
* updated backend for blend modes
* switching blend modes
* a try at gui for blend modes
* pluggable blend modes in draw_dab
* quick hack to test feature

13 years agobrusheditor: Move/reorder widgets for not-so-common actions
Jon Nordby [Wed, 11 May 2011 18:54:06 +0000 (20:54 +0200)]
brusheditor: Move/reorder widgets for not-so-common actions

- Put brush icon editing in separate page
- Live update at the bottom of
Also, put page title and back button outside of the notebook page itself,
and let the brush icon widget be 200% of icon size.

13 years agotesting: include smudging brush in paint test
Martin Renold [Mon, 2 May 2011 13:03:29 +0000 (15:03 +0200)]
testing: include smudging brush in paint test

To check that new blending mode code does not change existing brushes.

13 years agotesting: new test brushengine_paint_hires
Martin Renold [Sun, 10 Apr 2011 14:54:15 +0000 (16:54 +0200)]
testing: new test brushengine_paint_hires

Raw brush engine performance. Uncluttered by the arbitrary choice
of GUI frame rate, and without the background processing that
happens during natural breaks between strokes.

13 years agotesting: fix brush selection
Martin Renold [Sun, 10 Apr 2011 14:00:01 +0000 (16:00 +0200)]
testing: fix brush selection

Performance tests accidentally used the default brush instead
of the one selected during the test.

13 years agowindowing: allow keyboard input in brushsettings
Martin Renold [Mon, 4 Apr 2011 08:04:07 +0000 (10:04 +0200)]
windowing: allow keyboard input in brushsettings

Makes numerical entry fields in the brush settings curve editing
widget usable again. Pressing numbers did select a predefined
brush, which hurt badly during brush creation workflow.

13 years agolayout: fix saved window positions with x=0 or y=0
Andrew Chadwick [Sun, 3 Apr 2011 19:27:11 +0000 (20:27 +0100)]
layout: fix saved window positions with x=0 or y=0

Restored tool windows with x=0 or y=0 would return on the far right or
bottom of the screen. Fix by accepting 0 as a valid top or left
position when positioning windows.

Alao, since negative x or y has meaning with our new window positioning
code and is generally unhelpful anyway, don't save negative x or y
window positions. The value 0 will be saved instead.

13 years agolayout: positioning fixes
Andrew Chadwick [Sun, 3 Apr 2011 19:08:31 +0000 (20:08 +0100)]
layout: positioning fixes

No longer use gtk.WIN_POS_MOUSE: https://gna.org/bugs/?17915

Favour gtk.Window.parse_geometry if we have all the required window
position and size info. This works better with some window managers.

Definitively set the position of tools which are snapped out by
dragging with the mouse and the preview window to take of the preview
window in a deferred handler.

13 years agoframe: fix crash when set to non-multiple of 64
Andrew Chadwick [Sun, 3 Apr 2011 18:48:05 +0000 (19:48 +0100)]
frame: fix crash when set to non-multiple of 64

Fix a crash when the user manually sets frame dimensions to something
other than a multiple of 64. Reported via IRC.

13 years agowindowing: disable gtk color selector by default
Martin Renold [Thu, 31 Mar 2011 07:34:50 +0000 (09:34 +0200)]
windowing: disable gtk color selector by default

This is just a workaround for a problem in the gtk color selector
code requiring a very recent pygtk version that is not availabile
to many git users yet: https://gna.org/bugs/?17947

With the new default, mypaint is at least is able to start with
an empty config directory on such a setup.

13 years agotdw: can now draw sequences of straight lines
Andrew Chadwick [Mon, 28 Mar 2011 22:38:22 +0000 (23:38 +0100)]
tdw: can now draw sequences of straight lines

Add support for drawing continuous sequences of straight lines starting
from the end of the previous line drawn. It's not enabled by default,
but it's available in the preferences dialog.

13 years agoupdate background patterns by MrMamurk
Сан Саныч [Sun, 27 Mar 2011 18:18:48 +0000 (20:18 +0200)]
update background patterns by MrMamurk

MrMamurk_pat_25-03-2011.zip
Now with readme and license (public domain).
http://forum.intilinux.com/mypaint-development-and-suggestions/better-background-patterns/msg8196/#msg8196

13 years agosaving: ask for confirmation for >=8s of work
Martin Renold [Sun, 27 Mar 2011 16:27:08 +0000 (18:27 +0200)]
saving: ask for confirmation for >=8s of work

Before, there was a confirmation dialog only for >= 30s of work.

13 years agobrushmanager: better default eraser and pen
Andrew Chadwick [Fri, 25 Mar 2011 05:39:53 +0000 (05:39 +0000)]
brushmanager: better default eraser and pen

Name changes in the Deevad set caused our heuristics and defaults to
pick strange brushes. Update eraser heuristics and pick a nice default
pen and sharp-edged eraser that are visible on-screen with the default
window positions.

13 years agobrush settings: reinstate eraser setting
Andrew Chadwick [Fri, 25 Mar 2011 05:21:21 +0000 (05:21 +0000)]
brush settings: reinstate eraser setting

Bugfix: leaving the eraser brush setting out breaks eraser mode, and
presumably it wasn't intentional. Reinstate it in the basic group.

https://gna.org/bugs/?17941 (thanks, David Gowers!)

13 years agotdw & color picker: avoid unnecessary redraws
Andrew Chadwick [Fri, 25 Mar 2011 04:51:56 +0000 (04:51 +0000)]
tdw & color picker: avoid unnecessary redraws

Set an override cursor on the viewport during the colour picker state.
Far simpler, and much more efficient than doing something that forces a
redraw.

13 years agoupdate credits
Martin Renold [Fri, 25 Mar 2011 03:30:42 +0000 (04:30 +0100)]
update credits

13 years agobackground patterns by MrMamurk
Сан Саныч [Fri, 25 Mar 2011 03:32:58 +0000 (04:32 +0100)]
background patterns by MrMamurk

Originally posted here:
http://forum.intilinux.com/mypaint-development-and-suggestions/better-background-patterns/
readme.txt with license expected to follow soon

13 years agobackground patterns by Ramón
Ramón Miranda [Fri, 25 Mar 2011 02:55:36 +0000 (03:55 +0100)]
background patterns by Ramón

See readme_papers.txt for information.
http://ramonmirandavisualart.blogspot.com/2011/03/mypaint-hr-tileable-papers-artistic.html

13 years agobackgrounds: search in subdirectories
Martin Renold [Fri, 25 Mar 2011 03:15:32 +0000 (04:15 +0100)]
backgrounds: search in subdirectories

13 years agocolor picker: fix broken pointer ungrab
Andrew Chadwick [Thu, 24 Mar 2011 23:53:53 +0000 (23:53 +0000)]
color picker: fix broken pointer ungrab

Fix the colour picker (Ctrl+click by default) causing susequent clicks
on UI elements docked into the UI to temporarily fail and hit the canvas
instead. Using a GTK-level grab rather than a GDK one appears to work
around the problem, for this key-held-down grab anyway.

https://gna.org/bugs/?17940

13 years agobrush selector: fix a race condition
Andrew Chadwick [Thu, 24 Mar 2011 21:45:10 +0000 (21:45 +0000)]
brush selector: fix a race condition

Work around situations where the expose callback might not have been
called before motion notify events are handled resulting in an exception
on some (and only some) initial brush selector widget shows.

Tentative fix for https://gna.org/bugs/index.php?17913

13 years agobrusheditor: Tweak looks
Jon Nordby [Sun, 20 Mar 2011 23:04:27 +0000 (23:04 +0000)]
brusheditor: Tweak looks

Always have horizontal scollbar, widgets changing and making
the scrollbar neccesary will happen often, less distracting
if it is always there.
Add header label for brushsettings page and make it align
with the header for the brushinput page.
Remove unnecessary padding from live update option

13 years agobrusheditor: Move brush actions out of expander.
Jon Nordby [Sun, 20 Mar 2011 18:34:35 +0000 (18:34 +0000)]
brusheditor: Move brush actions out of expander.

This makes common actions like "save brush (settings)" more accessible,
and the name of the current brush is also in a more natural position.

This splits the previous brushcreator widget into two
classes, BrushIconEditorWidget and BrushManipulationWidget.

13 years agobrusheditor: Input mapping in drilldown page instead of new windows
Jon Nordby [Sun, 20 Mar 2011 15:25:18 +0000 (15:25 +0000)]
brusheditor: Input mapping in drilldown page instead of new windows

13 years agobrusheditor: Separate out widget creation to own method
Jon Nordby [Sun, 20 Mar 2011 14:46:39 +0000 (14:46 +0000)]
brusheditor: Separate out widget creation to own method

13 years agolayout: hopefully fix blank floating hidden tools
Andrew Chadwick [Sun, 20 Mar 2011 17:44:09 +0000 (17:44 +0000)]
layout: hopefully fix blank floating hidden tools

Hopefully fix tools which were remembered as both hidden and floating
being displayed as blank when toggled on initially.

13 years agolayout: save pos immediately for tool windows
Andrew Chadwick [Sun, 20 Mar 2011 17:08:34 +0000 (17:08 +0000)]
layout: save pos immediately for tool windows

There's no reason to do a delayed position save for windows that can't
be fullscreened.

13 years agobrusheditor: Set window title to "Brush Editor"
Jon Nordby [Sun, 20 Mar 2011 13:58:01 +0000 (13:58 +0000)]
brusheditor: Set window title to "Brush Editor"

13 years agobrusheditor: Expand basic brushsettings group by default
Jon Nordby [Sun, 20 Mar 2011 13:56:07 +0000 (13:56 +0000)]
brusheditor: Expand basic brushsettings group by default

13 years agobrusheditor: Bold titles for brushsetting groups
Jon Nordby [Sun, 20 Mar 2011 13:53:51 +0000 (13:53 +0000)]
brusheditor: Bold titles for brushsetting groups

13 years agobrusheditor: More compact edit/save brush section
Jon Nordby [Sat, 19 Mar 2011 17:13:32 +0000 (17:13 +0000)]
brusheditor: More compact edit/save brush section

13 years agobrusheditor: group settings
Till Hartmann [Sat, 19 Mar 2011 17:45:35 +0000 (18:45 +0100)]
brusheditor: group settings

Based on design by Ramon Miranda.
https://gna.org/bugs/?17907

13 years agoframe: Added autocrop-options.
Till Hartmann [Wed, 16 Mar 2011 20:41:27 +0000 (21:41 +0100)]
frame: Added autocrop-options.

https://gna.org/bugs/index.php?9099#comment13

13 years agogtk color selector: fix sizing, make default again
Andrew Chadwick [Thu, 17 Mar 2011 23:41:59 +0000 (23:41 +0000)]
gtk color selector: fix sizing, make default again

Use a gtk.HSV directly to avoid weird sizing issues when docked.
Make the colorSelectionWindow the default color selector again.

13 years agolayout: fix tab loss of focus in metacity
Andrew Chadwick [Tue, 15 Mar 2011 22:06:23 +0000 (22:06 +0000)]
layout: fix tab loss of focus in metacity

Fix annoying behavioural regression: https://gna.org/bugs/?17899

13 years agofilehandling: fix resave crasher
Andrew Chadwick [Tue, 15 Mar 2011 21:50:35 +0000 (21:50 +0000)]
filehandling: fix resave crasher

Ensure the save file dialog is properly destroyed after each use. We can
always make a new one for the next save-as.

Fixes the crasher described at https://gna.org/bugs/?17902

13 years agoconfig: always create subdirectories
Martin Renold [Tue, 15 Mar 2011 21:32:39 +0000 (22:32 +0100)]
config: always create subdirectories

So the user knows where to drop backgrounds.

13 years agodrawwindow: fix exception when no window
Andrew Chadwick [Tue, 15 Mar 2011 19:55:33 +0000 (19:55 +0000)]
drawwindow: fix exception when no window

Bugfix for the main loop destroying GDK windows for GTK windows we have
in the list of known toplevels during cursor spins.

13 years agotdw: snapshot directly upon becoming insensitive
Andrew Chadwick [Tue, 15 Mar 2011 18:57:54 +0000 (18:57 +0000)]
tdw: snapshot directly upon becoming insensitive

Avoids accidental drawing of a white background when loading files, and
removes an unneccessary redraw.

13 years agowindow_factory: catch & suppress import exceptions
Andrew Chadwick [Mon, 14 Mar 2011 23:23:40 +0000 (23:23 +0000)]
window_factory: catch & suppress import exceptions

Partially addresses https://gna.org/bugs/?17884 - though we probably
need to do more sanity checking.

13 years agotdw: fix cursor not redrawing
Andrew Chadwick [Mon, 14 Mar 2011 18:09:09 +0000 (18:09 +0000)]
tdw: fix cursor not redrawing

Quick fix for the cursor not redrawing at the end of loading, when
zooming in or out, or when switching between locked or unlocked layers.

13 years agodrawwindow: make whole UI insensitive in file ops
Andrew Chadwick [Sun, 13 Mar 2011 22:34:21 +0000 (22:34 +0000)]
drawwindow: make whole UI insensitive in file ops

Set the UI as insensitive during saving or loading, and spin the wait
cursor on all toplevel windows. Handle redraws that happen while we're
loading or saving using a cached pixmap in the tdw to avoid ugly
multiple redrawing of partially loaded files.

13 years agofilehandling: permit feedback while saving
Andrew Chadwick [Sun, 13 Mar 2011 18:19:43 +0000 (18:19 +0000)]
filehandling: permit feedback while saving

Framework for calling the GTK main loop during saving and loading to
prevent greyed windows and to permit feedback while saving huge files.

13 years agoprefs: make settings.json more readable
Andrew Chadwick [Sat, 12 Mar 2011 22:31:05 +0000 (22:31 +0000)]
prefs: make settings.json more readable

Pretty-print the saved settings JSON when we're using the usual built-in
json module: we're gaining quite a lot of settings now window positions
are stored in there.

13 years agolayout/windowing: update positioning code
Andrew Chadwick [Sat, 12 Mar 2011 22:15:18 +0000 (22:15 +0000)]
layout/windowing: update positioning code

User-visble changes:

* New default window positions.
* Nothing's in the sidebar by default now.
* Bugfix for bad sbwidth starting when nothing's in the sidebar at startup...

Internal changes:

* Can now assign default position to plain (non-tool) SubWindows
* Generalise position saving and loading with a couple of mixins.
* Can now set position relative to both left and right screen edges, and
  top/bottom.
* Document positioning.
* Support calulated widths (based on monitor size)
* Might as well claim copyright over the new module.

13 years agodrawwindow: move mouse handlers to main widget
Andrew Chadwick [Tue, 22 Feb 2011 23:01:35 +0000 (23:01 +0000)]
drawwindow: move mouse handlers to main widget

Prevent annoyances when using menus in sidebar widgets.

13 years agoapp: sane default tool sizes and positions
Andrew Chadwick [Sat, 19 Feb 2011 21:28:41 +0000 (21:28 +0000)]
app: sane default tool sizes and positions

Everything's docked in the sidebar initially, and the main window will
default to an on-screen position that's nicely centred.

13 years agosubwindows: convert to ToolWidgets
Andrew Chadwick [Sat, 19 Feb 2011 18:49:16 +0000 (18:49 +0000)]
subwindows: convert to ToolWidgets

Allow the layer dialog, GTK color selector, new color selector
and brush selector to be packed into the new sidebar.

13 years agodrawwindow: begin using the layout framework
Andrew Chadwick [Sat, 19 Feb 2011 18:41:38 +0000 (18:41 +0000)]
drawwindow: begin using the layout framework

Gain a sidebar and nicer initial window positioning from the new layout
framework without affecting the existing hierarchy.

13 years agoapp: switch to layoutmanager from windowmanager
Andrew Chadwick [Fri, 18 Feb 2011 17:48:39 +0000 (17:48 +0000)]
app: switch to layoutmanager from windowmanager

More subwindow loading is now deferred, which should speed up loading
times a bit. In addition, this change is necessary for supporting
dockable ToolWidgets later on.

Functional code, but this change breaks subwindow positioning. The
new layout framework will allow us to get most of that back, eventually.

13 years agodrawwindow: don't just trust that fullscreen works
Andrew Chadwick [Fri, 18 Feb 2011 17:25:28 +0000 (17:25 +0000)]
drawwindow: don't just trust that fullscreen works

Do fullscreen properly by not just assuming that it works when we ask
for it, but by listening for GTK window-state-events. This may *seem* to
break fullscreen in ancient, weird WMs that don't support EWMH and
_NET_WM_STATE_FULLSCREEN. Additionally it means that if something other
than the callback fullscreens MyPaint, it will respond correctly.

13 years agofullscreen: use gtk fullscreen method, not gdk
Andrew Chadwick [Fri, 18 Feb 2011 16:25:57 +0000 (16:25 +0000)]
fullscreen: use gtk fullscreen method, not gdk

Call gtk.Window.fullscreen() rather than gdk.Window.fullscreen() for
the main window. A member variable was shadowing the method name which
is probably why this came about.

13 years agolayout: add library code for managing sidebars
Andrew Chadwick [Fri, 18 Feb 2011 14:22:57 +0000 (14:22 +0000)]
layout: add library code for managing sidebars

Introduce a layout manager class that can construct tool widgets or
windows or parts of the main gui using a factory method and cache
combination. Tool widgets can be docked into the main app's sidebar, or
snapped free into floating windows. Window and tool positions will be
saved and loaded to the user's runtime configuration.

13 years agostartup: don't modify sys.argv
Martin Renold [Tue, 8 Mar 2011 19:38:11 +0000 (20:38 +0100)]
startup: don't modify sys.argv

Fixes gtk warning about not being able to interpret sys.argv.
It was a bad idea to manipulate it anway.

13 years agostartup: fix "-c confpath" argument
Martin Renold [Tue, 8 Mar 2011 19:23:36 +0000 (20:23 +0100)]
startup: fix "-c confpath" argument

13 years agoUpdated French translation.
Popolon [Sun, 6 Mar 2011 21:43:31 +0000 (21:43 +0000)]
Updated French translation.

13 years agoportability: small code cleanup
Martin Renold [Fri, 4 Mar 2011 20:23:58 +0000 (21:23 +0100)]
portability: small code cleanup

Make sys.argv unicode on all platforms.

13 years agowindows: fix screwed up confpath
Martin Renold [Fri, 4 Mar 2011 14:43:07 +0000 (15:43 +0100)]
windows: fix screwed up confpath

13 years agoportability: fix linux startup
Martin Renold [Fri, 4 Mar 2011 14:21:23 +0000 (15:21 +0100)]
portability: fix linux startup

13 years agowindows: misc fixes, change thumbnails directory
Tumagonx [Fri, 4 Mar 2011 13:48:13 +0000 (14:48 +0100)]
windows: misc fixes, change thumbnails directory

windows_misc_rc3.patch
(merged from 0.9.1 into master)

13 years agowindows: use different scrap path
Tumagonx [Fri, 4 Mar 2011 13:15:45 +0000 (14:15 +0100)]
windows: use different scrap path

scrappath.patch

13 years agoversion: 0.9.1+git
Martin Renold [Fri, 4 Mar 2011 19:43:43 +0000 (20:43 +0100)]
version: 0.9.1+git

13 years agoversion bump and changelog
Martin Renold [Sun, 27 Feb 2011 10:35:01 +0000 (11:35 +0100)]
version bump and changelog

13 years agoUpdated swedish translation.
Griatch [Thu, 3 Mar 2011 19:53:41 +0000 (20:53 +0100)]
Updated swedish translation.

13 years agoAdded a few swedish translator strings.
Griatch [Thu, 3 Mar 2011 19:11:35 +0000 (20:11 +0100)]
Added a few swedish translator strings.

13 years agodebug: add gtk input devices dialog
Martin Renold [Fri, 4 Mar 2011 08:10:21 +0000 (09:10 +0100)]
debug: add gtk input devices dialog

https://gna.org/bugs/index.php?17832

13 years agowindows: remove unused file
Martin Renold [Mon, 28 Feb 2011 20:30:30 +0000 (21:30 +0100)]
windows: remove unused file

Tumagonx tells me he doesn't use mypaint_exe.c for the Windows build.

13 years agowindows: fix problem with unicode arguments
Martin Renold [Sun, 27 Feb 2011 19:54:31 +0000 (20:54 +0100)]
windows: fix problem with unicode arguments

https://gna.org/bugs/?17739
Based on code proposed by Tumagonx in the bugtracker.

13 years agoview menu: distinguish local resets from global
Andrew Chadwick [Wed, 2 Mar 2011 21:33:04 +0000 (21:33 +0000)]
view menu: distinguish local resets from global

Address our testers' expectations. The single-action resets now operate
only around the centre of the viewport. Relabel the reset-all action to
better express what it does, and make it more quickly accessible.

13 years agoview reset: fix load-time crash
Andrew Chadwick [Tue, 1 Mar 2011 13:33:57 +0000 (13:33 +0000)]
view reset: fix load-time crash

http://gna.org/bugs/?17401#comment9

13 years agotdw: use a more explicit cursor for no-draw states
Andrew Chadwick [Tue, 1 Mar 2011 12:03:24 +0000 (12:03 +0000)]
tdw: use a more explicit cursor for no-draw states

Using a normal arrow was a bit too subtle for this concept. Change to
use a standard X11 cursor that looks OK and expresses the concept well
enough in a few common cursor themes (dmz, oxy-white, whiteglass).

13 years agotdw: don't show drawing cursor if layer is locked
Andrew Chadwick [Tue, 1 Mar 2011 03:49:49 +0000 (03:49 +0000)]
tdw: don't show drawing cursor if layer is locked

Use the default cursor instead of the usual brush radius circle if the
current layer is locked or hidden/invisible.

13 years agolayer lock: prevent accidental selection & drawing
Andrew Chadwick [Tue, 1 Mar 2011 01:06:20 +0000 (01:06 +0000)]
layer lock: prevent accidental selection & drawing

Layers can now be locked so that you don't inadvertently draw on them.
Additionally, invisible layers are now treated in the same way, since
drawing on those is even more confusing.

Locked and invisible layers cannot be drawn on, and the Pick Context
and Select Layer at Cursor actions will skip past them. You can however
still merge them, select them, change their ordering, and delete their
contents.

https://gna.org/bugs/?17140

13 years agodoc: actions for resetting rotation, zoom, mirror
Till Hartmann [Sun, 27 Feb 2011 13:14:09 +0000 (14:14 +0100)]
doc: actions for resetting rotation, zoom, mirror

Added menu-items for resetting rotation, zoom and mirror.

https://gna.org/bugs/index.php?17401

13 years agolayers: make labels reflect new interaction
Andrew Chadwick [Mon, 28 Feb 2011 19:21:22 +0000 (19:21 +0000)]
layers: make labels reflect new interaction

String change fixing the consequences of https://gna.org/bugs/?17656
whereby the default labels didn't reflect the new workflow.

13 years agolayers: fix rename dialog not showing sometimes
Andrew Chadwick [Mon, 28 Feb 2011 19:06:19 +0000 (19:06 +0000)]
layers: fix rename dialog not showing sometimes

Detect clicks on layers in the dialog using their glib type, and respond
appropriately on the corresponding button-up (for consistency). The user
must still click once to select a layer before it'll become selected,
and thus eligable for renaming with a double click, so our text is in
fact incorrect right now.

https://gna.org/bugs/?17656

13 years agobrushes: fur brush update (more responsive)
Tumagonx [Sun, 27 Feb 2011 12:04:37 +0000 (13:04 +0100)]
brushes: fur brush update (more responsive)

13 years agowindows: build fix
Martin Renold [Sun, 27 Feb 2011 11:54:17 +0000 (12:54 +0100)]
windows: build fix

13 years agoremove "about brush" button
Martin Renold [Sun, 27 Feb 2011 09:21:17 +0000 (10:21 +0100)]
remove "about brush" button

The problem of attributing brushes still needs to be solved, but
this solution didn't work at all. Nobody wants to click a "info"
button just to find out it there is no info available, or to see
the same info again for every brush in the same category.

The external editor didn't work well for me on Linux, neither.

On Windows it is completely broken: https://gna.org/bugs/?17353

13 years agobrushes: deevad V4.1
David Revoy [Sat, 26 Feb 2011 19:09:41 +0000 (20:09 +0100)]
brushes: deevad V4.1

http://www.davidrevoy.com/index.php?article55/mypaint-v4-brushkit

Quote from the website above:
* More tools 'variations' than in the previous kit, for a faster
  workflow.
* All the V4 Brushkit are optimised to produce bigger artworks at
  better resolutions, you should set your default zoom at startup
  at 50% (Mypaint>edit>preferences>view) for a better experience
  while using them.[picture exemple]. Sorry if your machine slows-
  down, but V4 is clearly a production brush kit designed for
  professional use.
* Brush are not labeled with their name as in the 'transitional
  V3+ BrushKit' I created for Mypaint 0.9 release. The new
  icons were painted in Mypaint preview square on the fly.
* Almost all the brush were tweaked to have a better behavior.
  If you want to have the same feeling I do while using them,
  consider changing the curve to something similar to this configuration
  (mypaint>edit>preferences>input).[picture exemple]

13 years agopreferences: fix bug with default zoom being reset
Martin Renold [Sat, 26 Feb 2011 14:40:49 +0000 (15:40 +0100)]
preferences: fix bug with default zoom being reset

https://gna.org/bugs/?17566

13 years agodefault zoom: fix crash on bad prefs value
Andrew Chadwick [Thu, 24 Feb 2011 00:06:19 +0000 (00:06 +0000)]
default zoom: fix crash on bad prefs value

Fix two potential crashes on a bad saved view.default_zoom value.

https://gna.org/bugs/?17566

13 years agoframe: Render thumbnail only for framed area.
Jon Nordby [Sun, 13 Feb 2011 19:43:02 +0000 (21:43 +0200)]
frame: Render thumbnail only for framed area.

13 years agoframe: Save to/load from OpenRaster
Jon Nordby [Sun, 13 Feb 2011 19:41:07 +0000 (21:41 +0200)]
frame: Save to/load from OpenRaster

13 years agoframe: Ability to move frame on-canvas.
Jon Nordby [Fri, 7 Jan 2011 22:23:00 +0000 (23:23 +0100)]
frame: Ability to move frame on-canvas.

13 years agoframe: center document to frame if enabled
Jon Nordby [Tue, 28 Dec 2010 22:09:19 +0000 (23:09 +0100)]
frame: center document to frame if enabled

13 years agoframe: If enabled, export only area inside frame to PNG/JPEG
Jon Nordby [Sun, 13 Feb 2011 12:47:15 +0000 (14:47 +0200)]
frame: If enabled, export only area inside frame to PNG/JPEG

Also set frame dimensions on loading from PNG/JPEG.

13 years agoframe: Basic UI
Jon Nordby [Wed, 29 Dec 2010 19:51:00 +0000 (20:51 +0100)]
frame: Basic UI

Allows the user to enable/disable the frame and to set the
dimensions.

13 years agoframe: State and visualization
Jon Nordby [Wed, 29 Dec 2010 17:37:26 +0000 (18:37 +0100)]
frame: State and visualization

13 years agotileddrawwidget: Split repaint method
Jon Nordby [Fri, 24 Dec 2010 00:30:11 +0000 (01:30 +0100)]
tileddrawwidget: Split repaint method

13 years agoUpdated the Norwegian Nynorsk translation
Tor Egil Hoftun Kvæstad [Mon, 7 Feb 2011 19:37:25 +0000 (20:37 +0100)]
Updated the Norwegian Nynorsk translation

Updated the nn_NO translation, after the addition of new strings.
Changed occurrences of "gjennomsiktigheit" to "dekkjeevne".
Added nn_NO and nb_NO translations for the comment in the desktop file.

13 years agolinux: desktop file rewording & categorisation
Andrew Chadwick [Tue, 15 Feb 2011 20:28:39 +0000 (20:28 +0000)]
linux: desktop file rewording & categorisation

Translations from IRC, incomplete.

13 years agofix unicode filename passed via commandline
Martin Renold [Tue, 15 Feb 2011 07:19:09 +0000 (08:19 +0100)]
fix unicode filename passed via commandline

https://gna.org/bugs/?17739

13 years agowindows: code cleanup
Martin Renold [Mon, 7 Feb 2011 09:09:11 +0000 (10:09 +0100)]
windows: code cleanup

Use raw string for backslashes.
Fix exception handling. As it was before, in the case
of an exception the use of "localappdatapath" later would
have triggered another (fatal) exception.
Don't bother closing handles manually, python destructors do this
for us.
Set the path on windows independent of the result of expanduser('~').

13 years agowindows: use AppData folder for settings
Tumagonx [Mon, 7 Feb 2011 09:01:10 +0000 (10:01 +0100)]
windows: use AppData folder for settings

https://gna.org/bugs/?17662

"In Windows I expect Local AppData folder for saving settings,
in pygobject there is glib.get_user_config_dir() but it has windows
issue that just recently fixed (Glib 2.27.x ?) otherwise it seems to
conform XDG spec too."