mypaint:mypaint.git
8 years agotesting: fix memory leak in unittest v0.8.2
Martin Renold [Sun, 28 Feb 2010 11:12:31 +0000 (12:12 +0100)]
testing: fix memory leak in unittest

Fix memory leak in unittest, caused by unittest.

8 years agoversion bump to 0.8.2 and changelog
Martin Renold [Sun, 28 Feb 2010 10:26:56 +0000 (11:26 +0100)]
version bump to 0.8.2 and changelog

8 years agoRevert change in handling of visible layers.
Jon Nordby [Wed, 24 Feb 2010 22:13:42 +0000 (23:13 +0100)]
Revert change in handling of visible layers.

Fixes an issue where on context picking the grey temporary layer used for
visual feedback becomes permanent.

8 years agocomplain about unsupported pygtk version
Martin Renold [Sat, 27 Feb 2010 17:01:41 +0000 (18:01 +0100)]
complain about unsupported pygtk version

This reverts commit b324bee528402e26375e5eb6babfddd24ade7337.

8 years agoupdate changelog, update translation credits v0.8.1
Martin Renold [Sat, 20 Feb 2010 16:40:39 +0000 (17:40 +0100)]
update changelog, update translation credits

8 years agomake "save png" respect layer visibility
Martin Renold [Sat, 20 Feb 2010 16:27:56 +0000 (17:27 +0100)]
make "save png" respect layer visibility

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

8 years agonicer error when loading corrupt file
Martin Renold [Sat, 20 Feb 2010 15:24:51 +0000 (16:24 +0100)]
nicer error when loading corrupt file

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

8 years agobrushlist: shift-click for group solo
Martin Renold [Sat, 20 Feb 2010 14:46:59 +0000 (15:46 +0100)]
brushlist: shift-click for group solo

as an alternative to double-click
https://gna.org/bugs/?15234

8 years agoi18n: Korean translation
Geuntak Jeong [Sat, 20 Feb 2010 12:47:51 +0000 (13:47 +0100)]
i18n: Korean translation

8 years agoi18n: Fix untranslatable string
Jon Nordby [Sun, 7 Feb 2010 13:41:01 +0000 (14:41 +0100)]
i18n: Fix untranslatable string

https://gna.org/bugs/?15127
Also reordered imports and made a comment a docstring.

8 years agoearly release preparations
Martin Renold [Sun, 14 Feb 2010 20:24:49 +0000 (21:24 +0100)]
early release preparations

8 years agolayerswindow: fix memory leak
Martin Renold [Sun, 14 Feb 2010 14:23:46 +0000 (15:23 +0100)]
layerswindow: fix memory leak

The layerswindow did keep a reference alive to every layer that ever was.
This did leak huge amounts of memory on repeated loading.
This fix may contain traces of black magic.

Note: commenting the line
  self.visibility_button.on_toggle = self.on_visibility_toggled
did also fix the problem, this might have been used for a different fix.

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

8 years agobrushgroups: add empty favorites group
Martin Renold [Sun, 31 Jan 2010 14:00:59 +0000 (15:00 +0100)]
brushgroups: add empty favorites group

8 years agobrushgroups: save after creating empty group
Martin Renold [Sun, 31 Jan 2010 13:54:48 +0000 (14:54 +0100)]
brushgroups: save after creating empty group

8 years agomake "reset view" also recenter
Martin Renold [Sun, 31 Jan 2010 12:01:03 +0000 (13:01 +0100)]
make "reset view" also recenter

8 years agoexception dialog: fix details button in some situations
Martin Renold [Sun, 31 Jan 2010 10:30:45 +0000 (11:30 +0100)]
exception dialog: fix details button in some situations

With some errors the "Details..." button of the exception dialog
did cause the dialog to get unresponsive (a context was None).
Reproducible by loading an ORA with missing stack.xml.

8 years agoctrl-shift-z = redo
Martin Renold [Sun, 31 Jan 2010 07:22:58 +0000 (08:22 +0100)]
ctrl-shift-z = redo

8 years agowindows: fix file associations; psyco version
Tumagonx [Sat, 30 Jan 2010 09:20:37 +0000 (10:20 +0100)]
windows: fix file associations; psyco version

<tumagonx> maxy, This is my attempt to support file assoc
<tumagonx> tested method:
<tumagonx> - regular windows file association
<tumagonx> - drag n drop orafile into mypaint.exe

<tumagonx> psyco 2.0 is pretty stable in my test

8 years agoREADME: status of Windows build instructions
Martin Renold [Fri, 29 Jan 2010 13:32:54 +0000 (14:32 +0100)]
README: status of Windows build instructions

8 years agolayerwin: Fix loading layer names from ORA file
Jon Nordby [Fri, 29 Jan 2010 13:46:36 +0000 (14:46 +0100)]
layerwin: Fix loading layer names from ORA file

Problem was that the layer dialog callback is called on add_layer()
and at that time the layer.name attribute was not set.

8 years agoversion 0.8.0+git now
Martin Renold [Fri, 29 Jan 2010 13:09:06 +0000 (14:09 +0100)]
version 0.8.0+git now

8 years agowindows: fix for fullscreen when maximized v0.8.0
Martin Renold [Fri, 29 Jan 2010 10:08:13 +0000 (11:08 +0100)]
windows: fix for fullscreen when maximized

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

8 years agowindows: bigger icons
Tumagonx [Thu, 28 Jan 2010 21:19:05 +0000 (22:19 +0100)]
windows: bigger icons

On Thu, Jan 28, 2010 at 07:02:22AM +0700, Bakhtiar Hasmanan wrote:
> Also I want to propose this enhanced icon (contains 64x64 true color
> icon needed by Vista/7)
> This file will be embedded to mypaint.exe by py2exe.

8 years agoadd back brush "modelling"
Martin Renold [Thu, 28 Jan 2010 19:45:21 +0000 (20:45 +0100)]
add back brush "modelling"

Removed in 2fad294e2346, now back due to popular request :-)

8 years agolayerwin: remove minimum size restriction
Martin Renold [Tue, 26 Jan 2010 20:23:25 +0000 (21:23 +0100)]
layerwin: remove minimum size restriction

8 years agoopen dialog: hide while saving, show wait cursor
Martin Renold [Tue, 26 Jan 2010 20:07:20 +0000 (21:07 +0100)]
open dialog: hide while saving, show wait cursor

8 years agosave dialog: hide while saving, show wait cursor
Martin Renold [Tue, 26 Jan 2010 20:01:02 +0000 (21:01 +0100)]
save dialog: hide while saving, show wait cursor

8 years agoopen new color selector by default
Martin Renold [Mon, 25 Jan 2010 21:20:48 +0000 (22:20 +0100)]
open new color selector by default

Also make its default size slightly smaller.

8 years agoi18n: Slovenian translation ++
Jon Nordby [Sun, 24 Jan 2010 20:38:55 +0000 (21:38 +0100)]
i18n: Slovenian translation ++

Update translation credits
Update copyright notice

8 years agoversion bump
Martin Renold [Sun, 24 Jan 2010 20:26:36 +0000 (21:26 +0100)]
version bump

8 years agocredits update, and project website url
Martin Renold [Sun, 24 Jan 2010 20:13:03 +0000 (21:13 +0100)]
credits update, and project website url

8 years agolayerwin: Disable broken drag and drop
Jon Nordby [Sun, 24 Jan 2010 19:42:06 +0000 (20:42 +0100)]
layerwin: Disable broken drag and drop

8 years agolayerwin: Minor cleanups
Jon Nordby [Sun, 24 Jan 2010 17:29:11 +0000 (18:29 +0100)]
layerwin: Minor cleanups

Remove unused EventBox
Reorder button widgets setup
Fix up some function defintions
Remove partial docstring
Don't introduce new localizable strings

8 years agolayerwin: Add/Remove button out of layerlist
Jon Nordby [Sun, 24 Jan 2010 18:29:58 +0000 (19:29 +0100)]
layerwin: Add/Remove button out of layerlist

8 years agolayerwin: Layer name entry dialog
Jon Nordby [Sun, 24 Jan 2010 18:28:49 +0000 (19:28 +0100)]
layerwin: Layer name entry dialog

8 years agolayerwin: Add layer up/down buttons
Jon Nordby [Sun, 24 Jan 2010 15:54:29 +0000 (16:54 +0100)]
layerwin: Add layer up/down buttons

8 years agolayerwin: Move opacity slider out from layer list
Jon Nordby [Mon, 4 Jan 2010 17:39:01 +0000 (18:39 +0100)]
layerwin: Move opacity slider out from layer list

8 years agolayerwin: single row list entries
Jon Nordby [Mon, 4 Jan 2010 23:24:27 +0000 (00:24 +0100)]
layerwin: single row list entries

8 years agolayerwin: Remove layername widget
Jon Nordby [Mon, 4 Jan 2010 14:51:31 +0000 (15:51 +0100)]
layerwin: Remove layername widget

8 years agolayerwin: Set sane default size
Jon Nordby [Mon, 4 Jan 2010 14:42:07 +0000 (15:42 +0100)]
layerwin: Set sane default size

8 years agoWindows: remove unicode spaces from brush selector
Martin Renold [Sun, 24 Jan 2010 19:56:26 +0000 (20:56 +0100)]
Windows: remove unicode spaces from brush selector

Those were displayed wrong, but they work fine on Linux.
https://gna.org/bugs/?15192

8 years agolayers: more robust remove/merge actions
Martin Renold [Sun, 24 Jan 2010 18:10:43 +0000 (19:10 +0100)]
layers: more robust remove/merge actions

Don't add invalid actions to the undo stack.
Also clear the filename when removing the last layer (which in fact just clears it)

8 years agobrush collection: move ink up, minor stuff
Martin Renold [Sun, 24 Jan 2010 16:42:18 +0000 (17:42 +0100)]
brush collection: move ink up, minor stuff

Make Ico's Calligraphic Pen the same appearance as other inks.
Remove some of Deevads brushes from the default set
(the fill ink, and another one that has a glitch with orientation)

8 years agobrush selector: another minor code cleanup
Martin Renold [Sun, 24 Jan 2010 15:56:07 +0000 (16:56 +0100)]
brush selector: another minor code cleanup

8 years agoexperimental fur brush
Tumagonx [Sun, 24 Jan 2010 13:18:56 +0000 (14:18 +0100)]
experimental fur brush

8 years agobrush selector: minor code cleanup
Martin Renold [Sat, 23 Jan 2010 20:42:44 +0000 (21:42 +0100)]
brush selector: minor code cleanup

8 years agofix keyboard shortcut for layer window
Martin Renold [Sat, 23 Jan 2010 09:55:58 +0000 (10:55 +0100)]
fix keyboard shortcut for layer window

8 years agoMake subwindows transient like GIMP
Andrew Chadwick [Sun, 10 Jan 2010 23:32:19 +0000 (23:32 +0000)]
Make subwindows transient like GIMP

8 years agoadd some stock icons, some TODO comment, add toggle action
Olivier Gondouin [Mon, 18 Jan 2010 23:35:59 +0000 (00:35 +0100)]
add some stock icons, some TODO comment, add toggle action

8 years agobrush selector: fix bg colour on theme change
Andrew Chadwick [Wed, 20 Jan 2010 17:03:05 +0000 (17:03 +0000)]
brush selector: fix bg colour on theme change

8 years agobrush selector: ui feedback, improve layout
Andrew Chadwick [Wed, 20 Jan 2010 15:54:56 +0000 (15:54 +0000)]
brush selector: ui feedback, improve layout

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

8 years agoi18n: Japanese, French, Simplified Chinese
Popolon [Wed, 20 Jan 2010 19:54:30 +0000 (20:54 +0100)]
i18n: Japanese, French, Simplified Chinese

8 years agoFix missing import leading to nasty exceptions.
Jon Nordby [Tue, 19 Jan 2010 19:25:09 +0000 (20:25 +0100)]
Fix missing import leading to nasty exceptions.

This also means that 5 strings have not been translateable.

8 years agoi18n: Chinese Traditional complete
Dong-Jun Wu [Tue, 19 Jan 2010 21:28:40 +0000 (22:28 +0100)]
i18n: Chinese Traditional complete

8 years agoremove ORA mime definition
Martin Renold [Tue, 19 Jan 2010 18:43:45 +0000 (19:43 +0100)]
remove ORA mime definition

Version 0.70 of shared-mime-info which has image/openraster available
has just hit Debian unstable, so we shouldn't need to wait long for
this. --Achadwick 15:22, 8 October 2009 (UTC)

8 years agoi18n: Hungarian complete
Gergely Aradszki [Tue, 19 Jan 2010 14:04:43 +0000 (15:04 +0100)]
i18n: Hungarian complete

8 years agoi18n: Czech update
Martin Tabačan [Tue, 19 Jan 2010 13:48:41 +0000 (14:48 +0100)]
i18n: Czech update

8 years agobrush collection: no brush appears only in "default"
Martin Renold [Mon, 18 Jan 2010 20:16:24 +0000 (21:16 +0100)]
brush collection: no brush appears only in "default"

And return the 2B pencil that I borrowed from Deevad.

8 years agoupdate changelog for 0.8
Martin Renold [Mon, 18 Jan 2010 19:49:08 +0000 (20:49 +0100)]
update changelog for 0.8

8 years agobrush selector: 1px more selection border
Martin Renold [Mon, 18 Jan 2010 19:27:47 +0000 (20:27 +0100)]
brush selector: 1px more selection border

8 years agomenu: put color picker icon to the right place
Martin Renold [Mon, 18 Jan 2010 16:38:17 +0000 (17:38 +0100)]
menu: put color picker icon to the right place

8 years agobrushgroups: make interaction a little more gtkish
Andrew Chadwick [Sun, 17 Jan 2010 23:02:31 +0000 (23:02 +0000)]
brushgroups: make interaction a little more gtkish

8 years agofix Ico's brushes that painted without pressure
Martin Renold [Sun, 17 Jan 2010 20:44:23 +0000 (21:44 +0100)]
fix Ico's brushes that painted without pressure

http://forum.intilinux.com/mypaint-finished-work/my-brushes-set-for-the-last-maxy%27s-git-version/

8 years agoallow opaque > 1.0
Martin Renold [Sun, 17 Jan 2010 20:28:27 +0000 (21:28 +0100)]
allow opaque > 1.0

It was already possible anyway, if you knew how.

8 years agobrushlib: fix small problem opaque_multiply
Martin Renold [Sun, 17 Jan 2010 20:06:39 +0000 (21:06 +0100)]
brushlib: fix small problem opaque_multiply

Don't allow opaque to become positive when both opaque and
opaque_multiply are negative (--> unintentional painting)

Brushes where this could happens:
hard_sting.myb
Ico_Color_Smudge_+.myb
Ico_Linear_Watercolor.myb
Ico_Pastel_Stain.myb
s109.myb
splatter-05.myb
splatter-06.myb

8 years agofix exception in group selection widget
Martin Renold [Sun, 17 Jan 2010 19:34:49 +0000 (20:34 +0100)]
fix exception in group selection widget

when double-clicking on empty space

8 years agodon't store/restore brushsettings for the mouse
Martin Renold [Sun, 17 Jan 2010 17:10:51 +0000 (18:10 +0100)]
don't store/restore brushsettings for the mouse

When editing brush settings, it is often more convenient to use the mouse.
Because of this, we don't restore brushsettings when switching to/from the mouse.
We act as if the mouse was identical to the last active pen device.

8 years agobrush collection work
Martin Renold [Sun, 17 Jan 2010 14:59:11 +0000 (15:59 +0100)]
brush collection work

Shrink default collection a bit, introduce "classic" group.

8 years agobrush collection work
Martin Renold [Sat, 16 Jan 2010 22:51:06 +0000 (23:51 +0100)]
brush collection work

Delete some old brushes.
Create new groups: ink and experimental.
Update the default group.

8 years agolayerblink when "pick context" switches a layer
Martin Renold [Sat, 16 Jan 2010 22:46:08 +0000 (23:46 +0100)]
layerblink when "pick context" switches a layer

8 years agoi18n: Norwegian update
Jon Nordby [Sat, 16 Jan 2010 17:51:50 +0000 (18:51 +0100)]
i18n: Norwegian update

All high impact strings translated.
Brushsettings not translated.

8 years agoflip (mirror) image always at center
Martin Renold [Sat, 16 Jan 2010 13:15:47 +0000 (14:15 +0100)]
flip (mirror) image always at center

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

8 years agominor cleanup
Martin Renold [Sat, 16 Jan 2010 12:20:57 +0000 (13:20 +0100)]
minor cleanup

8 years agoi18n: Spanish complete
Manuel Quiñones [Fri, 15 Jan 2010 15:38:14 +0000 (16:38 +0100)]
i18n: Spanish complete

8 years agoi18n: Swedish complete
Griatch [Fri, 15 Jan 2010 15:30:12 +0000 (16:30 +0100)]
i18n: Swedish complete

8 years agoi18n: Indonesian complete
Tumagonx [Fri, 15 Jan 2010 15:26:02 +0000 (16:26 +0100)]
i18n: Indonesian complete

8 years agoi18n: French and Simplified Chinese.
Popolon [Wed, 13 Jan 2010 21:04:20 +0000 (22:04 +0100)]
i18n: French and Simplified Chinese.

French: complete
Chinese: all common strings ~ 67%

8 years agorename brushes with name conflicts
Martin Renold [Wed, 13 Jan 2010 19:32:58 +0000 (20:32 +0100)]
rename brushes with name conflicts

03:44 < iwantsomewaffles> quickie bug report: filenames of a few brushes conflict on case-insenstive filesystems (older hfs)

8 years agoi18n: Italian translation complete.
Lamberto Tedaldi [Tue, 12 Jan 2010 21:42:18 +0000 (22:42 +0100)]
i18n: Italian translation complete.

8 years agowindows: workaround attempt for startup bug
Martin Renold [Tue, 12 Jan 2010 20:42:54 +0000 (21:42 +0100)]
windows: workaround attempt for startup bug

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

8 years agobuild: windows/mingw fix
Martin Renold [Tue, 12 Jan 2010 20:07:29 +0000 (21:07 +0100)]
build: windows/mingw fix

by zakkum via IRC

8 years agofix unittests
Martin Renold [Sun, 10 Jan 2010 21:29:43 +0000 (22:29 +0100)]
fix unittests

Only the memory leak test, actually.

8 years agoupdate unittest
Martin Renold [Sun, 10 Jan 2010 19:34:36 +0000 (20:34 +0100)]
update unittest

8 years agofix saving a brush without preview
Martin Renold [Sun, 10 Jan 2010 15:17:53 +0000 (16:17 +0100)]
fix saving a brush without preview

Reproduced by selecting a non-existing context and storing it back.

8 years agoCopying from a blank doc makes no sense, don't try
Andrew Chadwick [Sat, 9 Jan 2010 00:15:28 +0000 (00:15 +0000)]
Copying from a blank doc makes no sense, don't try

8 years agofix workaround for startup bug on windows
Martin Renold [Fri, 8 Jan 2010 23:10:47 +0000 (00:10 +0100)]
fix workaround for startup bug on windows

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

8 years agodefault key 'l' for layer dialog
Martin Renold [Fri, 8 Jan 2010 23:05:24 +0000 (00:05 +0100)]
default key 'l' for layer dialog

8 years agoUse stock dialogs for background and settings
Jon Nordby [Thu, 7 Jan 2010 21:51:58 +0000 (22:51 +0100)]
Use stock dialogs for background and settings

8 years agobrushsettings: fix updating of a label
Martin Renold [Fri, 8 Jan 2010 09:11:45 +0000 (10:11 +0100)]
brushsettings: fix updating of a label

You had to change something before it got updated.
Minimal invasive fix, since this code looks a bit weird after 3 years.
(related commit was 0430bb111afd69)

8 years agobuild: add *.pyc to clean target
Martin Renold [Fri, 8 Jan 2010 08:13:44 +0000 (09:13 +0100)]
build: add *.pyc to clean target

8 years agoString freeze for v0.8
Jon Nordby [Tue, 5 Jan 2010 17:45:09 +0000 (18:45 +0100)]
String freeze for v0.8

- Fixed a couple of typos.
- Tested that all visible strings are marked for translation.
- Updated all .po files so that translators won't be using old templates.

8 years agoLocalized input names
Luka Čehovin [Mon, 4 Jan 2010 23:16:08 +0000 (00:16 +0100)]
Localized input names

8 years agoBetter user-visible strings in brushsettings
Luka Čehovin [Mon, 4 Jan 2010 23:08:20 +0000 (00:08 +0100)]
Better user-visible strings in brushsettings

- speed1 and speed2 strings changed to "fine speed" and "gross speed"
- descriptions for input mapping buttons

8 years agocolorsampler: minimum size
Martin Renold [Sun, 3 Jan 2010 21:59:11 +0000 (22:59 +0100)]
colorsampler: minimum size

8 years agocolorsampler: remove entry focus hack
Martin Renold [Sun, 3 Jan 2010 21:51:57 +0000 (22:51 +0100)]
colorsampler: remove entry focus hack

The code was not functional code because it was only partially merged in.

This was a workaround for the problem that pressing numbers inside the
entry does not work. However I think the usecase is not important enough
for such a complicated workaround (and there most likely is a better one).

8 years agocolorsampler: remove unused last_color member
Martin Renold [Sun, 3 Jan 2010 21:39:23 +0000 (22:39 +0100)]
colorsampler: remove unused last_color member

8 years agomerge colorsampler from iportnov branch (step 2/2)
Martin Renold [Sat, 2 Jan 2010 20:30:24 +0000 (21:30 +0100)]
merge colorsampler from iportnov branch (step 2/2)

Merge in more related code by Ilya Portnov, remove palette features,
and clean up a bit.  Remove some parts (maily config file stuff) that
do not integrate straight-forward into the current codebase.

8 years agomerge color sampler from iportnov branch (step 1/2)
Ilya Portnov [Sat, 2 Jan 2010 20:19:06 +0000 (21:19 +0100)]
merge color sampler from iportnov branch (step 1/2)

This is a non-functional commit. Verbatim copy the relevant files
from the iportnov branch as of commit d1c31acbde534b32feec23a621.

Most code is by Ilya Portnov, based some previous work by Jon Nordby,
separated from the rest of Ilya's branch by Martin Renold.

8 years agoShow filenames with uppercase extensions.
Jon Nordby [Sun, 3 Jan 2010 21:43:25 +0000 (22:43 +0100)]
Show filenames with uppercase extensions.

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

8 years agoMenu key opens the main app menu
Andrew Chadwick [Sun, 3 Jan 2010 20:48:48 +0000 (21:48 +0100)]
Menu key opens the main app menu