[Tuxpaint-dev] Comment on Tux Paint 'multi-user' ability on WinXP

2005-02-25 Thread Bill Kendrick

A fellow just wrote me with some nice praise for Tux Paint, and also some
comments on its use under Windows XP:

  The only other issue I have is that it is not very mutli-user friendly
  due to its use of the Program Files folder for config and user
  data files in Windows. My Windows XP setup is basic; my wife and
  I use an administrative login and my children a more restricted login.
  Having installed Tux Paint in my account and put a shortcut on the
  childresn desktop I could not save files in the children's login.
  To be fair this was easily solved with '--savedir %HOMEPATH%\TuxPaint
  in the shortcut but I think that should have been automatic. It also
  conceivable that user settings should be stored for each user, for
  example print enabled for me but not the children.


I'll make a note of this in the Wishlist at SourceForge.  In the meantime,
John and others... any comments?

Thanks!

-- 
-bill!
[EMAIL PROTECTED] I'm anticipating an all-out tactical
http://newbreedsoftware.com/  dog-fight, followed by a light dinner.
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] TuxPaintGuide2.0 new release

2005-02-24 Thread Bill Kendrick
On Tue, Feb 22, 2005 at 01:36:03PM +0100, Francesca Campora wrote:
 Hi all,
 TuxpaintGuide, a didactical guide in italian language
 for Tux Paint, is coming out with its second release.
 
 http://www.linux.it/~abnormal/scuolaprimaria/laboratori/tuxpaintguide2.0.pdf

Wow, that's gigantic! :^)  Good job!  Any chance of an English translation? ;)

-- 
-bill!
[EMAIL PROTECTED] I'm anticipating an all-out tactical
http://newbreedsoftware.com/  dog-fight, followed by a light dinner.
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] [fwd Tux Paint - Golden Acorn Award Winner!!! [at freefunfiles.com]

2005-02-19 Thread Bill Kendrick
- Forwarded message from Paul -

Date: Sat, 19 Feb 2005 12:05:17 -0500
From: Paul
Subject: Tux Paint - Golden Acorn Award Winner!!!
To: [EMAIL PROTECTED]

Dear Bill Kendrick,

Congratulations, we have chosen your title as our Golden Acorn Award
winner for the month of February.  We have placed your title at the
front of our Graphics category so that your title gets the recognition
that it deserves.  We have included your award image within the email.

Sincerely,

Paul Swain

http://www.FreeFunFiles.com/

We're nuts for Software!!!

- End forwarded message -

Whee! :)

-- 
-bill!
[EMAIL PROTECTED] I'm anticipating an all-out tactical
http://newbreedsoftware.com/  dog-fight, followed by a light dinner.
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Flipping and mirroring doesn't work

2005-02-19 Thread Bill Kendrick
On Sun, Feb 20, 2005 at 12:38:59AM +0100, Karl Ove Hufthammer wrote:
 Latest CVS version:
 Flipping and mirroring stamps doesn't work anymore.

I just noticed that the other day, but haven't had time to look into it.

(I literally _just_ finished a new project for work.  I had to create 8 pages
worth of flowcharts today.  I started the project less than 4 weeks ago, and
we're releasing for testing[*] this weekend!  It's almost 12,000 lines of
code in about 50 files.  All written from scratch[+] by your's truly!)

I am _beat!_

-bill!

[*] Wish us luck!
[+] Okay, one or two small functions were stolen from an earlier project ;^)
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] wxPython solution for login-like --savedir selection GUI

2005-02-11 Thread Bill Kendrick

I've whipped up a wxPython script (that is, Python using wxWidgets)
which pretty much acts the same as my BASH / Kdialog script from the other
night.

  ftp://ftp.sonic.net/pub/users/nbs/unix/x/tuxpaint/savedir/

I'll give it a test-drive on my Windows laptop this weekend, and see
about generating a Win32 EXE (and Mac OS X App), so that schools don't
need to install/configure Python and wxPython on their machines. :^)


Enjoy!

-bill!
[EMAIL PROTECTED] I'm anticipating an all-out tactical
http://newbreedsoftware.com/  dog-fight, followed by a light dinner.
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] wxPython solution for login-like --savedir selection GUI

2005-02-11 Thread Bill Kendrick

On Fri, Feb 11, 2005 at 02:03:13AM -0800, Bill Kendrick wrote:
 
 I've whipped up a wxPython script (that is, Python using wxWidgets)
 which pretty much acts the same as my BASH / Kdialog script from the other
 night.
 
   ftp://ftp.sonic.net/pub/users/nbs/unix/x/tuxpaint/savedir/

I've now created a executable version using 'py2exe'.
(It weighs in at a whopping ~3.5MB, but that's a lot smaller than the
10MB for a Win32 Python install, plus add'l 5MB for wxPython module.)

It's under a win32 directory at the URL above.

Currently, values in the .py script are hard-coded.  I'll see if I have
some time tonight or this weekend to make it easier to set up.

I've also been asked if it'd be possible to provide a free-form interface
(type-in field versus a menu, which has to be set up ('users.txt') beforehand),
so I think in the end we'll have two apps:

  tuxpaint-savedir-menu.py
  tuxpaint-savedir-freeform.py

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Tux Paint Profile app?

2005-02-10 Thread Bill Kendrick

On Wed, Feb 09, 2005 at 10:56:06PM -0800, Bill Kendrick wrote:
 In the meantime, I guess I'll play with kdialog to see if I can at least
 prototype what the interface should look like.  :^)

Done!

  ftp://ftp.sonic.net/pub/users/nbs/unix/x/tuxpaint/savedir/

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Tux Paint Profile app?

2005-02-09 Thread Bill Kendrick

A number of people have found that the savedir option in Tux Paint
isn't suitable for them, because all of their students share the same
remotely-mounted filesystem.

An easy way to get around this would be a simple GUI that asked for
a username and then set the savedir to R:\remote\$username\,
rather than just having everyone's Tux Paint save in R:\remote\.

I can think of a very easy way of doing this in Linux... use kdialog
in KDE, along with a trivial BASH shell script.

Unfortunately, I haven't the foggiest how one does this in Windows
(or on Mac, for that matter).


Should we create platform-specific solutions for this?
(One for Linux, one for Windows, one for Mac, etc.)

Or should we perhaps instead create a new simple FLTK GUI that teachers
can set up, and then kids can use to pick their name from a drop-down?


In the meantime, I guess I'll play with kdialog to see if I can at least
prototype what the interface should look like.  :^)


-bill!
[EMAIL PROTECTED] I'm anticipating an all-out tactical
http://newbreedsoftware.com/  dog-fight, followed by a light dinner.
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Tux Paint in Computer Idee

2005-01-30 Thread Bill Kendrick

I've gotten DOZENS of survey responses from folks who said they saw
Tux Paint in Computer Idee magazine in the Netherlands.

Anyone out here have access to this magazine, and want to scan the article
for me? ;^)

Thanks!

-bill!
[EMAIL PROTECTED]
http://newbreedsoftware.com/
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Tux Paint Segfault if unable to print

2005-01-23 Thread Bill Kendrick
On Sat, Jan 22, 2005 at 09:14:39PM -0500, Albert Cahalan wrote:
 
 So, I take it that the various other crashing problems
 are gone now? How are things with stamps and fonts?
 

Sadly, no.  Last I tried, I let it sit for a min.
or so w/o hitting the 'Text' tool.  Then, when I
hit it, I got a short font-related mesg. on stdout
and Tux Paint crashed immediately.

  Got 0 bytes with  families.

... where ### was a large number (in the 10s of
thousands range?)

I'm away from home ATM, so cannot examine further.

-bill!
(via zaurus)
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Tux Paint Segfault if unable to print

2005-01-23 Thread Bill Kendrick
On Sun, Jan 23, 2005 at 11:51:44AM -0500, Albert Cahalan wrote:
 You should have also seen this:
 printf(Sending %u bytes with %u families.\n, size, num_font_families);
 
 Did you? (it's really important to be sure about this)

Nope!


 If you saw that, there is an IO problem.
 If you didn't see that, the child crashed.

It must be the latter.  It went like this:

  $ tuxpaint
  Start-up time: 4.177

... I wait about 1-2 minutes, then click 'Text' ...

  Got 0 bytes with 62292 families.
  Segmentation fault
  $ 

*boom!*  :^)


Again, I haven't changed fonts recently, and for a while (before the
threading change), it /was/ working...  just took forever to start up :)


-bill!
[EMAIL PROTECTED]  April shower bring Kompressor power!
http://newbreedsoftware.com/
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Maps

2005-01-21 Thread Bill Kendrick

Someone has asked me if Tux Paint has a 'Maps' feature, which apparently
Kid Pix has.  (It's geographical maps.)

Having never used Kid Pix, I'm not exactly sure how it works, but I'm
imagining a way the coloringbook-style Starter images can be used to present
maps which kids can then color in and label.


Does anyone here have pointers to freely-distributable maps that we can
alter and included in Tux Paint?  (Or, in the end, as a separate download.)


Thanks!

-bill!
[EMAIL PROTECTED]  April shower bring Kompressor power!
http://newbreedsoftware.com/
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] font loading, threads, processes, etc.

2005-01-20 Thread Bill Kendrick
On Wed, Jan 19, 2005 at 11:32:40AM -0500, Albert Cahalan wrote:
 Just how many fonts do you have anyway?

Good question. :^)

Just counting TTFs, (locate .ttf | wc -l), I apparently have 1300 !?!?

A few aren't installed fonts, but some fonts I was testing in Tux Paint,
for example, but a good 1200 are fonts living outside /home.


I just noticed something.  If you hit [Esc] while Tux Paint is loading
fonts when you go to the Text tool, it quits cleanly (from what I can tell),
but does NOT remove the lockfile!

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Re: [Tuxpaint-commits] tuxpaint/src tuxpaint.c, 1.398, 1.399

2005-01-20 Thread Bill Kendrick
On Thu, Jan 20, 2005 at 11:41:13PM +, Albert Cahalan wrote:
 Update of /cvsroot/tuxpaint/tuxpaint/src
 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3780/src
 
 Modified Files:
   tuxpaint.c 
 Log Message:
 vague memory of an obscure annoyance w/ sockets leads to this guess at a 
 solution to Tux Paint crashing for Bill

Hrm, I hit the Text tool and this time it doens't crash... it just never
STOPS! :^(  (The little spinning bar at the bottom just keeps animating
for much longer than it had ever taken in the past to load all of my fonts.)


Also, it looks like Tux Paint no longer looks in ~/.tuxpaint/stamps/ for
user-loaded stamps! :^(

(It should also look in ~/.tuxpaint/fonts/ for fonts,
~/.tuxpaint/brushes/ for brushes, and ~/.tuxpaint/starts/ for starter
images.)

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Case sensitivity in filenames

2005-01-20 Thread Bill Kendrick

I just tracked down a user's problem (hopefully) to a case-sensitivity
problem in Tux Paint.

It looks like the files they made in Windows were saved as .PNG, rather
than .png, so Tux Paint just read right past them, and didn't think to
load them.

I'll add a bug entry over at SourceForge... :^)

-bill!
[EMAIL PROTECTED]  April shower bring Kompressor power!
http://newbreedsoftware.com/
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] anybody try it?

2005-01-18 Thread Bill Kendrick
On Mon, Jan 17, 2005 at 10:07:48PM -0500, Albert Cahalan wrote:
 Do the threads work OK on x86, Windows, MacOS X...?
 

My system loaded it and reported:

  53.323   (with stamps)
  5.329(without)


 For maximum effect, compare threaded and non-threaded,
 and use the --nostamps option.

Running with --nostamps (but with --sysfonts enabled), the same way as
it ran above and loaded in less than 6 seconds, an older version
(from 12:30pm PST Jan. 17th), I launched it under time and it reported
that it took nearly 1m 30s of 'real' time to load (almost 55s of 'user' time).

Then it segfaulted. :^/

Fortunately, the currnet version (with --nostamps --sysfonts) didn't
segfault during startup. ;^)


HOWEVER, I did notice a segfault right when I hit the 'Quit' button with
the current version (when running with --stamps --sysfonts)  :^[

-bill!
[EMAIL PROTECTED]  April shower bring Kompressor power!
http://newbreedsoftware.com/
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] anybody try it?

2005-01-18 Thread Bill Kendrick
On Tue, Jan 18, 2005 at 01:04:13AM -0800, Bill Kendrick wrote:
   5.329(without)

Oh, well, now I can see why.  If I actually go in and CLICK the 'Text' tool,
I see that I've only got 5 fonts available, not the tons I had before. :^)

What's up?

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] CHANGES.txt

2005-01-16 Thread Bill Kendrick

Please remember to update CHANGES.txt if you commit any changes to CVS! :^)

Thanks,

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] CHANGES.txt

2005-01-16 Thread Bill Kendrick
On Sun, Jan 16, 2005 at 10:11:20AM -0500, Albert Cahalan wrote:
 On Sun, 2005-01-16 at 03:43, Bill Kendrick wrote:
  Please remember to update CHANGES.txt if you commit any changes to CVS! :^)
 
 Oh, but it looks so neat and pretty now, all tidied
 up for a release!
 
 I feel guilty spoiling CHANGES.txt with technical ramblings.

Heh, hey, if you're doing something like: Enhancing start-up speed by
using threading, I think that's fine to add! :^)

When I go to make a press release, I'll just strip the technical part
(e.g., ...by using threading) for the laymen. :)

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Tux Paint 'group' in RPM spec?

2005-01-14 Thread Bill Kendrick

On Fri, Jan 14, 2005 at 12:25:25AM -0800, Bill Kendrick wrote:
 I have a very old GROUPS file from a hard disk backup, and the closest
 groups I can see are either:
 
   Amusements/Graphics
 or
   Applications/Multimedia

Those look like it, for now...

  http://www.fedora.us/wiki/RPMGroups

That's groups as of Fedora Core 2, which hasn't changed since RH9.

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Segfault at startup

2005-01-14 Thread Bill Kendrick
On Sat, Jan 08, 2005 at 01:33:50AM -0500, Albert Cahalan wrote:
 
 This one will do the job:
 http://luneelfique.free.fr/elvishring.otf
 

FYI, without loading any other fonts (except the ones in Tux Paint itself)*,
I was able to launch with that font and type stuff in bold, italic
and in various sizes.

This is with CVS version as of 2005-01-14.


-bill!
* I put the font in my ~/.tuxpaint/fonts/ directory and ran with --nosysfonts

___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Re: [Tuxpaint-commits] tuxpaint/src colors.h, 1.14, 1.15

2005-01-14 Thread Bill Kendrick
On Fri, Jan 14, 2005 at 04:09:47PM +0100, Karl Ove Hufthammer wrote:
 Your use of smileys continue to impress me, Bill! ;)
 
 Guess I'll have to go looking for a new e-mail client, one
 which can render all of them (as cute, little graphics).

What!? 8^o  And kill the old-school ASCII charm!?  |^{


Besides, I've never seen a smiley-face renderer that was able to handle
all the variations I could come up with! :^)

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] mouse behavior

2005-01-14 Thread Bill Kendrick
On Fri, Jan 14, 2005 at 04:17:18PM -0500, Albert Cahalan wrote:
 How about an #ifdef WIN32 on that new feature?
 
 Windows: strongly oriented toward left button
 MacOS: generaly, either button will do
 Linux: often demands the center button
 
 In any case, it'll be harder for a 3-year-old now.

I'm totally confused by your suggestion here... Can you explain?

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] mouse behavior

2005-01-14 Thread Bill Kendrick
On Fri, Jan 14, 2005 at 05:39:40PM -0500, Albert Cahalan wrote:
 You disabled the middle and right buttons, didn't you?
 
 That's a total Microsoftism. UNIX workstations traditionally
 use the middle button.

For what?  For pasting, maybe.  But not for point-n-click in apps.

Admittedly, I've been using only Linux since 1998, but prior to that
I used X-Window a lot on SunOS and Solaris, and while I know some weird
apps used middle click for certain procedures, it don't remember any
paint apps using it for painting! :^/


 MacOS treats them all the same.

Umm...  I wouldn't know, these days.  The only time I used multi-button mice
on Macs was with an X-Window server. :^/


 Java apps treat them all the same too.

I just fired up TouchGraph GoogleBrowser, a Java applet that runs in a
browser, and left click selects and drags things.  Right-click presents a
pop-up context menu.  Seems just like Windows, Gnome, KDE, etc. to me! :^/


 For proper UNIXy behavior, you'd only allow the middle button.
 The left and right would, of course, do something dreadful. :-)
 Try an real xterm scroll bar.

Okay, I see now that you're trying to make a joke.  (Or I hope so ;^) )

Tux Paint is not supposed to be some early 90s app beamed into the future ;)


 I think the old way was by far best for tiny little kids.
 If teach them the cold hard reality of their OS is going
 to be the goal though, an #ifdef WIN32 is appropriate.
 It's only Windows that has a clear and strong bias toward
 the left mouse button.

I disagree (see above). :^)


 Even on Windows though, left-handed users can swap buttons.

I'm guessing if handed-ness is switched at the OS or display level (e.g. X11),
that SDL simply sees right-clicks as mouse 1, which is perfectly fine.


I'm going to keep it the way it is now.  Sorry! :^)

(If you REALLY want, you can add a --nomousebuttondistinction switch,
or something, to revert it to the old way ;) )


-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] threaded startup

2005-01-14 Thread Bill Kendrick
On Thu, Jan 13, 2005 at 04:35:00PM -0500, Albert Cahalan wrote:
 Start-up will go faster if some of the work is put
 in threads. This is particularly true for disk reads.
 When the canvas shows, only the paint tool needs to
 be ready. Other stuff (stamps, fonts, magic) can
 continue to load in the background.

I'm concerned that threading this (at least, using /real/ Unix-style threads)
may cause incompatibilities with some OSes.

Can some look into this before we move much further forward?

Or were we talking about threads at a higher level, and not actually
using OS-level stuff?


(Main concern for me: getting Tux Paint to work on Mac OS Classic... far
too many schools are still stuck with it, and currently cannot take
advantage of Tux Paint!)

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Scrollwheel down causes 4 extra buttons in Selector

2005-01-14 Thread Bill Kendrick

I'll take a look at this later today, if I can.  (My development box doesn't
have a scrollmouse, but I can steal my wife's laptop when she's not looking,
and use hers :^) )

-bill!

- Forwarded message from David Douthitt -

Date: Fri, 14 Jan 2005 17:08:14 -0600
From: David Douthitt
Subject: Another bug report.

When using Tuxpaint with a mouse wheel, you can scroll the right side
items - as it should.

However, if you are scrolling with the scroll wheel, you get four extra
boxes (empty) at the bottom end of the scroll.

When using arrows or the mouse button, this does not happen.  When
scrolling to the top instead of the bottom, this does not happen.

Odd behavior...

- End forwarded message -
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] [fwd] Re: TUX PAINT PRINTING [issue solved on Mac OS X]

2005-01-14 Thread Bill Kendrick
I think I forwarded Ken's original problem to the list, despite it sounding
like an OS-level problem.  Well, it was! :^)

-bill!

- Forwarded message from Ken Wilson -

Date: Fri, 14 Jan 2005 15:41:12 -0800
From: Ken Wilson
Subject: Re: TUX PAINT PRINTING

Thanks again for your help Bill.

I seemed to have been missing some system files...  An Apple Tier2
Tech couldnt troubleshoot it, so we did an archive and install from
the original install disk.  Voila, my user-printing came back to life.
It fixed at least one other bug I experienced - no longer being able
to export Garageband AIFF's to iTunes from a user.

I may have had something to do with those missing files using a
Utility to maintain my system.  Computers/software can be unhelpful
sometimes when they do what you tell them.

Hope you have a good weekend.
Ken

- End forwarded message -

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] threaded startup

2005-01-14 Thread Bill Kendrick
On Fri, Jan 14, 2005 at 06:29:42PM -0500, Albert Cahalan wrote:
 SDL comes with a thread package that works everywhere except
 on MacOS Classic. I've stumbled across various things involving
 problems with SDL on MacOS Classic; I don't think is does too well.

I've got a number of games (albeit simple) running on Mac OS.

Some of my SDL stuff's even been ported to Sega Dreamcast.
Tux Paint itself has been known to run on Linux (for the PlayStation 2),
too. :^)


 While you try to support this, the schools are busy upgrading.

Heh, it's already been 2.5 years since I started Tux Paint, and many
still have not.  It's a pretty dire situation in some places.


 Nobody wants to be stuck with a dead OS. If a school is
 extremely poor, they can always put Debian on their old Macs.

Not always.  Depends on the Mac.  And no reason to make all of their
computers incompatible with the software they had already purchased.


 It may be reasonable to just #if out all the code. Any Mac
 unable to run MacOS X is unlikely to have very much RAM.
 Skipping text and stamps will allow running on even more Macs.

Indeed.  Splitting stamps into small bite-sized chunks will help a lot, too.


 Another idea is to allow running all the code to completion,
 just as is done now. In that case, pthreads can be used.

I guess I need to brush up on threading. :^)

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] mouse behavior

2005-01-14 Thread Bill Kendrick
On Fri, Jan 14, 2005 at 06:19:14PM -0500, Albert Cahalan wrote:
 
 xpaint, installed right now on my debian-unstable box

Which Tux Paint is a replacement for, in some people's eyes ;^)


 PDF and Postscript viewers tend to demand the middle
 button for panning. (not the KDE or GNOME ones)

Those are old, ugly, crufty, and IMHO, depcerated. :^)

Even Adobe's latest Acrobat Viewer for Linux was ugly and wonky, but that
was version 5.  They're beta-testing version 7 as we speak.  I'm assuming
they'll have switch to a more sane UI like Qt or GTK+ by now. :^)


snip
 It's probably a Swing vs. AWT thing.

Uhh... yeah, sure! ;^)  (I know VERY little about Java right now, obviously.)


  I'm going to keep it the way it is now.  Sorry! :^)
  
  (If you REALLY want, you can add a --nomousebuttondistinction switch,
  or something, to revert it to the old way ;) )
 
 I just want an #ifdef WIN32, not an option.

I'd rather have it work, more or less, the same across all systems.
Having to document how the mouse works on one OS versus another seems
silly. :^/


 I'll wait until the bug reports come in.

Heh, I'll consider the above your 'bug report' and work on an option for you
(and others with kids so young that they don't want to care about the
distinction between the buttons).

It's a similar situation to why we have the scrollwheel-disabling code, so...

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] dead space and New dialog

2005-01-13 Thread Bill Kendrick
On Thu, Jan 13, 2005 at 10:50:44AM +0100, Karl Ove Hufthammer wrote:
 The new Gimp 2 (currently 2.2.2) interface is *much* better than
 earlier versions, though.

I honestly don't find it much different, in so far as being kind of
a weird interface compared to other apps.  It IS quite improved, and much
more useful.  I might just be used to it, but I'm not sure how much more
/usable/ it is.

I, too, am keeping an eye on the KDE answer to The Gimp, since Gimp is about
the only GTK+ based app I've got on my desktop these days. :^)


Note: I love The Gimp, and often help answer people's questions about it,
and have done numerous presentations on it. :)

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Re: [Tuxpaint-commits] tuxpaint/src colors.h, 1.8, 1.9

2005-01-13 Thread Bill Kendrick
On Thu, Jan 13, 2005 at 10:12:04AM +0100, Karl Ove Hufthammer wrote:
 I didn't change the red. But we could add an extra, dark red (if we remove
 the 'Colours' label).

In creating these two pictures:  (current as of 2005-01-12)

  http://www.newbreedsoftware.com/tuxpaint/gallery/?cur_pict=0
  http://www.newbreedsoftware.com/tuxpaint/gallery/?cur_pict=1

I could have really used a dark red.


-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] libSDL_ttf is bug-infested

2005-01-12 Thread Bill Kendrick
On Wed, Jan 12, 2005 at 12:31:28PM -0500, Albert Cahalan wrote:
 
 Everybody needs Tux Paint, even terrorists!  :-)

That's not really very funny. :^P


 IMHO, they'd be better off learning English.

Well, that's your view, but that's not necessarily the view of their
parents, teachers (or even many of us developers :^) ), so I obviously
don't want to force English on them.  (Its a tuff language. ;^) )


 It's easier, superbly well supported, and needed
 for correctly understanding much of our world.

My dad once suggested Tux Paint could be used for teaching a second
language.  (i.e., show two languages at once.)

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] dead space and New dialog

2005-01-12 Thread Bill Kendrick
On Wed, Jan 12, 2005 at 07:13:38PM +0100, Karl Ove Hufthammer wrote:
 But in Tux Paint we need the ability delete the images. Therefore
 double-clicking the images (or clicking 'Open') works better. (And
 this is the way open dialogues on Linux and Windows work.)

Yeah, where to put delete? has been my issue all along.

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] 3-year-old user

2005-01-12 Thread Bill Kendrick
On Wed, Jan 12, 2005 at 10:47:48PM +0100, Karl Ove Hufthammer wrote:
 The colour thing is really just a style issue (I'm sure there are
 themes for KDE and GNOME which do the same thing). But maybe real
 'depressed' buttons will work better? What app did you use to draw
 the buttons, Bill?

Quoting doc/AUTHORS.txt:

  * UI buttons - Created using AquaPro button script in The GIMP
Copyright (C) 2001 Denis Bodor [EMAIL PROTECTED]

 Without? Are there Mac mice with more than one button?

Yes.  In fact, the new mini iMac (the $500 special) specifically
says on their website your 2-button and scrollwheel mice will work,
just plug them in (paraphrased).

In fact, way back before Mac OS X, when I was using Mac IIs and,
nd Mac Centrises in college, many of them had 3-button mice for use
with the X Window server software.  (Run X11 apps on the Solaris box,
display them on the slow, tiny Macs in the labs.)

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] dead space and New dialog

2005-01-12 Thread Bill Kendrick
On Wed, Jan 12, 2005 at 06:06:34PM -0400, Ben Armstrong wrote:
 In the end, I think there's a place both for personal stuff and
 sharing when it comes to Tux Paint.  I'd like to see Tux Paint operate
 equally well in both environments.  The --nodelete idea is a great way
 to do this, because every child can have their own stuff  not have it
 wrecked, and yet all pictures on the shared account are available for
 others to view, admire, and copy without deleting the original.

Sounds great, esp. when combined with --saveovernew mode. :)

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] dead space and New dialog

2005-01-12 Thread Bill Kendrick
On Wed, Jan 12, 2005 at 11:07:50PM +0100, Karl Ove Hufthammer wrote:
 Bill Kendrick [EMAIL PROTECTED] wrote in
 news:[EMAIL PROTECTED]:
 
  Also, while I had to duplicate others' work (those who make

Oops ...  s/had/hate/


  operating systems like Linux and Windows), we might want to
  support 'user sessions' /within/ Tux Paint.
 
 Sounds complicated.

Complication I'd like to avoid. ;^)


  Preferably the images should be moved to the trashcan in the
  users system (KDE, GNOME, Windows, Mac), and not deleted.
  (But we don't need a UI for getting it back.)
 
  Not a bad idea!
 
 But non-trivial to implement. We must first check if the user is
 running either KDE or GNOME (or something else), and then check
 where the trashcan is placed (not, it's *not* always in
 Desktop/Trashcan). For Windows I guess the location is stored some
 obscure place in the registry.

I was afraid someone'd mention that. ;)

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Re: [Tuxpaint-commits] tuxpaint/src magic.h, 1.11, 1.12 shapes.h, 1.3, 1.4

2005-01-12 Thread Bill Kendrick
On Wed, Jan 12, 2005 at 10:42:16PM +0100, Karl Ove Hufthammer wrote:
 But the rhombus may as well be removed. It's just a rotated
 square, and Tux Paint supports rotating. Perhaps it can be
 replaced by a star or something?

The thing with the rhombus/diamond is that you can squish it to
non-90-degree angles BEFORE rotating it.  You cannot do that with the square.

(I also don't want to turn Tux Paint into a geometry teaching lab.
There are no doubt better programs for that, for the appropriate age range(s))

(Like KGeo or something... I dunno, honestly.)

:)

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Re: [Tuxpaint-commits] tuxpaint/src magic.h, 1.11, 1.12 shapes.h, 1.3, 1.4

2005-01-12 Thread Bill Kendrick
On Wed, Jan 12, 2005 at 11:37:21PM +0100, Karl Ove Hufthammer wrote:
 Looks like I didn't try the tool. You can indeed change the
 angles. But having a star would be more fun ... :)

A star tool would be great.  I forget, is that in the Features Wishlist?
If not, can someone add it over at SourceForge? :)


 Something else that has bothered me with the shape tools: They are
 extremely difficult to use (for me!). If I want to draw a chimney
 at the top of a roof, it takes several tries to get the correct
 size *and* position (because the 'click' defined the centre and
 not one of the corners, unlike other drawing programs).

:^(  Yeah...  we need modes, somehow.  Oy!

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Re: [Tuxpaint-commits] tuxpaint/src colors.h, 1.8, 1.9

2005-01-12 Thread Bill Kendrick
On Thu, Jan 13, 2005 at 12:11:12AM +, Albert Cahalan wrote:
 kid says: this is not good; I like two greys; a missing grey; I hate it; I do 
 not like Tux Paint; I want two greys; I need two greys; I doesn't like that; 
 I don't like this
 

Hah... funniest... CVS commit... ever.

I agree that two greys is good, too.

(OOC, why'd you change all the other colors, not mentioned in the log?
Perhaps we should discuss this more before you and Karl start a
commit-ware ;^) )

-bill!
[EMAIL PROTECTED]  April shower bring Kompressor power!
http://newbreedsoftware.com/
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] new direct PostScript printing code

2005-01-09 Thread Bill Kendrick

I'm curious, did you mean to kill my #ifdef DEBUG_FONTS stuff!? :^(

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] trash dialog arrow

2005-01-09 Thread Bill Kendrick
On Mon, Jan 10, 2005 at 01:18:22AM -0500, Albert Cahalan wrote:
 The arrow isn't right anyway. It has a special
 shape to indicate shrinking.

Yeah, I just threw that in for the time being.  I need to make a proper
looking arrow.


 BTW, the print dialog is missing this.

There's no thumbnail of the current image readily available, and I was
in a hurry. :^)  I do agree that it would be good to have a thumbnail
of the current image and then have an arrow pointing it at the printer icon.

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Re: [Tuxpaint-commits] tuxpaint/src tuxpaint.c, 1.315, 1.316

2005-01-08 Thread Bill Kendrick
On Sat, Jan 08, 2005 at 08:21:34AM +, Albert Cahalan wrote:
 -   if (cur_tool == TOOL_TEXT)
 +   if (cur_tool == TOOL_TEXT) // Huh? It had 
 better be!
 {

Heh... I may not have noticed where I was in the block.  Sorry ;)

-bill!
(adding sfx right now...)
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Re: thin client problem [Win 2003 Terminal Services; slow display]

2005-01-08 Thread Bill Kendrick
On Fri, Jan 07, 2005 at 12:14:42PM -0500, Michael G. wrote:
 Hi Bill,
 
 Thank you and the developers for such a great product.
 
 I am having a hard time running tux-paints over windows 2003 terminal
 srvices/thin client. It runs fine on the actual server. But when I log in
 through a client the mouse becomes very sluggish and unresponsive. Any
 suggestions?

Sorry for the trouble!

I've never used Windows 2003 Terminal Services myself, so I'm stabbing
in the dark, but...

  - What color depth are the thin clients at?  Are they the same as what
the server's trying to display?  (e.g., if the clients are 16bpp, but
the server is pushing 24bpp or 32bpp, that could be slowing it down)

  - What speed connection do you have between the clients and the server?
At least 100Mbit?  If not, that could be the problem. ;^)

  - Are the clients connected to the server through a switch, or a hub?
(Switches are apparently much faster for big bandwidth.)


I'm Cc'ing the tuxpaint-dev mailing list, in case anyone out here has
any suggestions or questions.

Thanks and good luck!

-bill!
[EMAIL PROTECTED]  April shower bring Kompressor power!
http://newbreedsoftware.com/
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] WARNING: noquit option now disables [Escape] key

2005-01-08 Thread Bill Kendrick

The noquit option [*] now also disables the [Escape] key in Tux Paint
(with regards to quitting the app).  It's much too easy to hit accidentally.

The window close button and [Alt]+[F4] key combinations should still work
(in the situations they did; e.g., window close widget obviously isn't
available when running in fullscreen!)

I've also added a new key combination for quitting Tux Paint, which can be
used when noquit and fullscreen (or grab) are being used:

  [Shift] + [Control] + [Escape]


I've updated the docs (OPTIONS, README and FAQ) and the description of the
option within Tux Paint Config.

Enjoy!


-bill!

[*] The noquit option is set by one of the following:
--noquit on the command-line,
noquit=yes in .tuxpaintrc / tuxpaint.cfg, and/or
Disable 'Quit' Button in the 'Simplfication' tab of Tux Paint Config.
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Segfault at startup

2005-01-07 Thread Bill Kendrick
On Fri, Jan 07, 2005 at 09:56:38AM -0500, Albert Cahalan wrote:
 
 You mean the segfault, or just the noise about rejecting
 a few crummy fonts?

I still get a segfault, myself, after tons of fonts are rejected due
to 'A' and 'a' looking the same.  Then the same short report about FreeSans
and then the crash. :^/

-bill!
[EMAIL PROTECTED]  April shower bring Kompressor power!
http://newbreedsoftware.com/
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Multilingual support in stamps

2005-01-07 Thread Bill Kendrick
On Wed, Dec 22, 2004 at 07:12:22PM +0300, Alberto Escudero-Pascual (IT46) wrote:
 Hello John et al,
 
 I have been checking the code and found the reason while although the 
 --lang=swahili worked fine the stamps where still falling to the default 
 english. It seems that if the locale is not present in the operative  
 system, the function(s) getenv() or g_win32_getlocale() returns the 
 default C locale.

This was stuck in the mailing list queue, sorry.  (It's chock full of spam
in there, so I'm trying to clean out the non-spam stuff and then go and
discard the rest.)

I'll look at this patch tonight, and add it to CVS.  Thx!

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Segfault at startup

2005-01-07 Thread Bill Kendrick
On Sat, Jan 08, 2005 at 01:14:50AM -0500, Albert Cahalan wrote:
 Well, how about now? Hopefully you can at least start up
 and do normal stuff.
 

Yep!  Works now, thanks! :^) :^)  Yay!!!


 I do have a way to crash Tux Paint using a library bug:
 
 1. choose text tool
 2. click on screen
 3. type pH
 4. set bold, italic, and the largest size
 5. try every font you have
 
 It took me about 30 to 60 tries before I hit a bad one.

Trying now.  (I've got a LOT of fonts :^) )


BTW, it looks like Tux Paint is reloading the font and/or re-rendering
the text when the selector is scrolled.  I'll see if I can stop that,
as it just slows things down.

Thanks,

-bill!
[EMAIL PROTECTED]  April shower bring Kompressor power!
http://newbreedsoftware.com/
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Paths for fonts on Win32, Mac OS X BeOS?

2005-01-07 Thread Bill Kendrick

In setup(), we have the following that Albert C. recently added:


  if (!no_system_fonts)
  {
#ifdef WIN32
// add Windows font dir here
#else
loadfonts(/usr/share/feh/fonts, 0);
loadfonts(/usr/share/fonts, 0);
loadfonts(/usr/X11R6/lib/X11/fonts, 0);
loadfonts(/usr/share/texmf/fonts, 0);
loadfonts(/usr/share/grace/fonts/type1, 0);
loadfonts(/usr/share/hatman/fonts, 0);
loadfonts(/usr/share/icewm/themes/jim-mac, 0);
loadfonts(/usr/share/vlc/skins2/fonts, 0);
loadfonts(/usr/share/xplanet/fonts, 0);
#endif
  }



Can Win32, Mac OS X and BeOS folks let me know what paths would be good
to add for your respective OSes?

Thanks!

-bill!
[EMAIL PROTECTED]  April shower bring Kompressor power!
http://newbreedsoftware.com/
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Re: TuxPaint Feature Request (tux4kids) [Re: [Esc] key to exit]

2005-01-06 Thread Bill Kendrick
(Again posting this to tuxpaint-dev)

On Thu, Jan 06, 2005 at 02:00:23PM -0600, David D. wrote:
 The exit capability is still too easy - an accidental press of the 
 escape key brings up the window to exit.
 
 Is it possible to make it more difficult to exit?

Perhaps when the noquit option is set, we can use Ctrl-Alt-Esc or
some other harder-to-hit combination for exiting...?

What do people think?

-bill!
[EMAIL PROTECTED]   Have I been helpful?
http://newbreedsoftware.com/http://svcs.affero.net/rm.php?r=billkendrick
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Re: TuxPaint Bug Report (tux4kids)

2005-01-06 Thread Bill Kendrick
(Again sending to tuxpaint-dev)

On Thu, Jan 06, 2005 at 02:02:37PM -0600, David D. wrote:
 Also, there is a problem with printing.  When printing, the application 
 crashes entirely.

That's no good!


 I'm using CentOS 3.1 (a clone of Red Hat Enterprise Linux 3) with the 
 CUPS printing system installed.  The printer should be (in theory) set 
 up to forward the print jobs to a lpd daemon running under Windows NT 4; 
 it's worked in the past.

Just do double-check, is NetPBM installed on the system Tux Paint is
running on?

Can you successfully print using the standard Tux Paint print command
from a shell prompt?

e.g.:

  cat IMAGE.PNG | pngtopnm | pnmtops | lpr


I only recently started using CUPS myself, but set up lpr compatibility
and haven't had trouble printing out of most apps on my Debian Testing
system.  Admittedly, I haven't yet tried printing to it from Tux Paint.
I can try that tonight when I get home.


Thanks!

-bill!
[EMAIL PROTECTED]   Have I been helpful?
http://newbreedsoftware.com/http://svcs.affero.net/rm.php?r=billkendrick
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Re: TUX PAINT PRINTING

2005-01-06 Thread Bill Kendrick
(I'm also sending this to the 'tuxpaint-dev' mailing list...)

On Thu, Jan 06, 2005 at 12:47:55PM -0800, Ken W. wrote:
 Hey Bill,
 Me again.
 
 We cant print from a non-admin user.
 Receive an error from Tux saying error in printing
 Tried to print from the Mac's Preview application straight from the 
 .png file and recieve the same error in a Mac dialog.
 In the non-admin user, I successfully printed a test page from the 
 default printer.
 Switching to the Admin allows immediate printing.
 Any ideas?

Hm... if you can't print from Preview, that sounds more like a
problem with the Mac's settings itself, not Tux Paint's, so I'm not sure
how I can help (since I don't currently have a Mac, and don't know the
first thing about printing on them :^) )

Can any /other/ apps print?  (Like Safari or a simple text editor?)

Can you tell me what the exact error was in the Mac dialog from Preview?


Thanks!


-bill!
[EMAIL PROTECTED]   Have I been helpful?
http://newbreedsoftware.com/http://svcs.affero.net/rm.php?r=billkendrick
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Re: TUX PAINT PRINTING

2005-01-06 Thread Bill Kendrick

Ken followed up with:

 Mac OSX 10.3.6
 Error while printing is the exact error.
 
 Did some research on the error, looks like its on my side.
 I repaired disc permissions, but still no luck.
 Thanks for your time.  The Tux fits good.


I asked him to let me know what his problem is, in case anyone else
out there has it, so we can help them. :^)

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Re: TuxPaint Bug Report (tux4kids)

2005-01-06 Thread Bill Kendrick
On Thu, Jan 06, 2005 at 05:29:28PM -0500, Albert Cahalan wrote:
 On Thu, 2005-01-06 at 15:24, Bill Kendrick wrote:
 
cat IMAGE.PNG | pngtopnm | pnmtops | lpr
 
 That seems like a funny way to do things, since generating
 a PPM is so dead simple. Going direcct to PostScript can't
 be all that bad (being inocent perhaps).
 
 Is there some reason you'd want the PNG?

Well, I'm already using the PNG libraries to save files, so rather than
write my own PPM code (which I agree is insanely easy, I've done it for
some dynamic image generation on the web), I just decided to stick another
command in the chain.

How hard is it to write direct postscript?  Also, has anyone tried
setting printcommand to kprinter (or whatever that KDE print dialog is)?

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Re: TuxPaint Bug Report (tux4kids)

2005-01-06 Thread Bill Kendrick
[Ack, forgot to Cc tuxpaint-dev when replying]

- Forwarded message from Bill Kendrick [EMAIL PROTECTED] -

Date: Thu, 6 Jan 2005 14:49:30 -0800
From: Bill Kendrick [EMAIL PROTECTED]
Subject: Re: TuxPaint Bug Report (tux4kids)
To: David Douthitt [EMAIL PROTECTED]

On Thu, Jan 06, 2005 at 04:44:09PM -0600, David Douthitt wrote:
 
 Well, I did a check prior to running that command line, and neither 
 pngtopnm or pnmtops seem to exist on my system.

Hrm!  It would be bad if missing those caused a crash, but it /could/ be
the case. :^(


 However, the requirements for the tuxpaint RPM are satisfied.

Hrm...  Is there a way to 'recommend' dependencies in RPMs, like you can
with Debian packages?


 Perhaps a runtime check for the programs should done first, and the RPM 
 spec file modified to require this software?

A runtime check might be good.  If the command can't run, then disable
the print button...

-bill!
[EMAIL PROTECTED]   Have I been helpful?
http://newbreedsoftware.com/http://svcs.affero.net/rm.php?r=billkendrick

- End forwarded message -

-- 
[EMAIL PROTECTED]   Have I been helpful?
http://newbreedsoftware.com/http://svcs.affero.net/rm.php?r=billkendrick
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] SharewareJunkies.com award!

2005-01-04 Thread Bill Kendrick

Tux Paint has received the Best Macintosh Program of 2004 award in the
2005 SharewareJunkies.com Awards!

  http://www.newbreedsoftware.com/tuxpaint/reviews/sharewarejunkies/

:)

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Tux Paint mentioned on O'Reilly

2005-01-04 Thread Bill Kendrick

A friend just noticed this and sent it to me:

  http://www.oreillynet.com/pub/wlg/6124

:)

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] text tool

2005-01-03 Thread Bill Kendrick
On Mon, Jan 03, 2005 at 12:44:30PM +0900, TOYAMA Shin-ichi wrote:
 I think tp-all48.jpg is good.

I think tp-all48.jpg is good, as well.  However, tp-32x40.jpg might be
better, as it leaves a little more room for text under the colors.


 One matter for concern is that it may be a little difficult for 
 three-year-old children to push 24x24 or 32x32 icon in some other 
 examples, especially on high resolution display.

Agreed.  Having 'mini' buttons also looks a little weird, too...

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] fonts

2004-12-29 Thread Bill Kendrick
On Tue, Dec 28, 2004 at 08:38:18PM -0500, Albert Cahalan wrote:
 Japanese didn't work until I commented out the line
 that makes it require a non-standard font. Now it
 appears to work perfectly. (well, it looks kind of
 asian you know...) I don't know if this includes the
 Han (Kanji) characters, or just the Katakana and
 Hirigana, but it appears to cover enough for Tux Paint.
 
 Greek also works fine w/o a funny font. It looks
 much better in fact, with the text correctly sized.
 
 Even Hebrew works without a funny font, except that
 the stamps are untranslated and the English runs
 the wrong way.

The default UI font was changed a while back, so it seems we're now using
one that includes some of these glyphs.


-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] text tool

2004-12-29 Thread Bill Kendrick
On Wed, Dec 29, 2004 at 09:39:33AM -0500, Albert Cahalan wrote:
 How about text controls? See attached image.
 Without text controls:
   4 sizes * 2 boldness * 2 italicness == 16

Not bad :)  I like.

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] [fwd] Anyone test Tux Paint 0.9.14 on Mac OS X 10.2? [Success!]

2004-12-27 Thread Bill Kendrick
- Forwarded message from Ira -

Date: Mon, 27 Dec 2004 05:54:13 -0500
From: Ira
Subject: Re: [fwd] Anyone test Tux Paint 0.9.14 on Mac OS X 10.2?

Hi Bill,
Thanks very much for the e-mail. Tuxpaint 9.14 installed and 
runs on my Mac with OS 10.2.8
My grandchildren ages 3 and 5 love it.
Have a great holiday.

Ira

- End forwarded message -

Thanks, Martin!


-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] [FYI] IM(Input Method) support in SDL

2004-12-27 Thread Bill Kendrick
On Mon, Dec 27, 2004 at 08:33:26PM +0800, Song Huang wrote:
 http://home.pchome.com.tw/cool/sdl_im/

Wow!

Has this been posted to the SDL mailing list?  Have the patches been sent
to Sam Lantinga or the other core SDL developers? :)

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] dead space and New dialog

2004-12-26 Thread Bill Kendrick
On Thu, Dec 23, 2004 at 09:02:34AM -0500, Albert Cahalan wrote:
 I think that New should have a dialog. It would be like
 the Load dialog, containing the starters and a blank
 canvas.

This is not a bad idea.


 This gets the starters out of the Load dialog,
 reducing confusion. It also makes for easy selection of
 a background color. (if the starters don't get moved,
 then instead the New button should be eliminated in
 favor of an all-white starter)


I think the 'New' button should stay, but bring up a dialog.


 The Load dialog has lots of dead space.
snip
 There are some other
 possibilities though: the toolbar could be active, so
 that the Back button becomes unneeded.

I've thought of this in the past, as well.  I think we should go this route.


snip
 BTW, the green labels can simply be removed. Especially
 the Colors one is useless, but I don't think the other
 two are particularly useful either. Little kids simply
 click on them instead of reading them, thus receiving no
 benefit and a loss of screen space.

What do other folks think about this?  I'm not sure it's a bad idea,
but I'm also not totally sold on it. :^)

Thanks!  Happy Holidays, everyone!!!

-bill!
[EMAIL PROTECTED]   Have I been helpful?
http://newbreedsoftware.com/http://svcs.affero.net/rm.php?r=billkendrick
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Tux en Suajili!!! A Swahili Gift That's Fun and Free.

2004-12-26 Thread Bill Kendrick
On Thu, Dec 23, 2004 at 02:03:39PM +0300, Alberto Escudero-Pascual (IT46) wrote:
Read more:
http://www.o.ne.tz/tuxpaint

That's so awesome!  Thanks :^)

BTW, in case folks didn't notice the link on the side, everyone MUST check
out the photo gallery ;^)

  http://www.o.ne.tz/tuxpaint/gallery.php

Great work!  Send me your PO files!!! :^)

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Tux en Suajili!!! A Swahili Gift That's Fun and Free.

2004-12-26 Thread Bill Kendrick
On Sun, Dec 26, 2004 at 10:42:56PM -0800, Bill Kendrick wrote:
 Great work!  Send me your PO files!!! :^)
 

Nevermind!  I've found them ;^)

  http://www.o.ne.tz/tuxpaint/download/po/

Sorry ;)

In CVS they go!!!

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Building TuxPaint for Win32 and Linux (Swahili) request for help.

2004-12-23 Thread Bill Kendrick
On Tue, Dec 21, 2004 at 02:58:20AM +0300, Alberto Escudero-Pascual (IT46) wrote:
 Hello members of the list,

Hi Alberto!


snip
 Martin Benjamin and myself we are interested in releasing during this 
 Xtmas Tux Paint as a present for the Swahili community and we have 
 completed the localization of sw.po and stamps.po 

Excellent!  Have they been applied into CVS yet?  (I see John built
a Win version for you, which I'll copy to my FTP site in a moment.)

If not, please feel free to post them to tuxpaint-i18n or tuxpaint-dev
and someone can commit them for you!

(Note: I'm out of state for a family emergency, and have very limited
'net access until early next week.)

snip 
 In January 2005 i will start to work in the WAV files with schools in the 
 region of Dar es Salaam.

Awesome!  That's so cool!  Thanks! :^)

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Building TuxPaint for Win32 and Linux (Swahili) request for help.

2004-12-23 Thread Bill Kendrick
On Tue, Dec 21, 2004 at 11:34:34AM -0500, Albert Cahalan wrote:
 Isn't smpeg for playing MPEG video streams? If it's needed
 by SDL, perhaps you can just configure it out.

That was going to be my suggestion. :^)

We should support a more compressed audio format than WAV (it has been
mentioned before) for stamp sounds and other sfx, but I think we'd
probably head straight to OGG Vorbis before going the MPEG route.

*shrug*

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Building TuxPaint for Win32 and Linux (Swahili) request for help.

2004-12-23 Thread Bill Kendrick
On Tue, Dec 21, 2004 at 05:43:48PM +, John Popplewell wrote:
 This seems like a good opportunity to dump VC6 for all my non-Windows
 specific stuff, especially as it will mean others can build Tux Paint
 for Windows without having to send Mr Gates any (more) money :-)

Definitely a noble cause!  Thanks :^)


 I may need some help with the Tux Paint make file - I just hacked it up
 so that it worked, but it could do with a new target, like beos, any
 suggestions for a name? Would 'make mingw' be acceptable? What about
 'make win32'? I'm not sure what the protocol for naming these things is,

I used win32 in the past, and it typically invoked make with a bunch
of new paths and other arguments. :^)

But then, I'm obviously not the most up-to-speed when it comes to a lot of
things (thankfully we have folks like Karl, Ben, Mark and Albert around
the list to help me (and us all, in general)).

So... take with a grain of salt.

-bill!
___
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] value of various tools

2004-12-19 Thread Bill Kendrick
On Sun, Dec 19, 2004 at 01:01:28PM -0500, Albert Cahalan wrote:
snip 
 Except to discover what they do, my son has never used
 the 'thin' and 'thicken' tools.

I think thin, thick and drip can probably go.

We may as well #define them away, though, rather than wipe the code,
in case we find out people /really/ missed them. ;)

('course, I guess we could use CVS for that, too  *shrug*)

-bill!
(out of state on a family emergency, so not online much for the next week!)
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Anyone test Tux Paint 0.9.14 on Mac OS X 10.2?

2004-12-19 Thread Bill Kendrick

I've so far received one comment from a 10.2 user that they couldn't
get Tux Paint to launch. :^(

Anyone out here have any luck with it?  Thx!

-bill!
[EMAIL PROTECTED]   Have I been helpful?
http://newbreedsoftware.com/http://svcs.affero.net/rm.php?r=billkendrick
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Tux Paint Mac OS X 0.9.14 Final

2004-12-15 Thread Bill Kendrick
On Wed, Dec 15, 2004 at 12:59:35AM -0700, Martin Fuhrer wrote:
 I've recompiled Tux Paint 0.9.14 for Mac OS X with the cursor hotspot  
 and starter image fixes included.  I made two additional changes as  
 well:

I tried it out at the Mac store!  It looks great, thanks!
I like the new Stamps installer, and the Update Prefs script will
no doubt come in handy.

Thanks for your work to put this together, Martin!  I'll hopefully
find time in the next few days to post announcements to various
Mac software websites.

-bill!
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Tux Paint at CNet Downloads

2004-12-15 Thread Bill Kendrick

Looks like it will make its way there (without me having to shell out
nearly 80 dollars!)

   You are receiving this message because one or more of your software
   products has been chosen by our editors for a complimentary listing in the
   CNET Upload.com software library.
   ...

:)

-bill!
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Tux Paint Mac OS X 0.9.14 Final

2004-12-15 Thread Bill Kendrick
On Wed, Dec 15, 2004 at 12:59:35AM -0700, Martin Fuhrer wrote:
 I've recompiled Tux Paint 0.9.14 for Mac OS X with the cursor hotspot  
 and starter image fixes included.  I made two additional changes as  
 well:

Great news!  I've copied the .dmg's to my FTP site, and am about to
put them up on SourceForge.net and link to them.  (Then later today,
if I have time, make some announcements.)

I'll also test these out over at the Apple Store across the street.

Thanks! :)

-bill!
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] [fwd] Re: Tux Paint in Gnome? [panel crashing bug]

2004-12-15 Thread Bill Kendrick
On Wed, Dec 15, 2004 at 09:53:31PM +0900, TOYAMA Shin-ichi wrote:
 Finally I've found that deleting tuxpaint.svg installed in  
 directory /usr/share/icons/hicolor/scalable/apps/ will stop 
 panel crash.

Uh oh!  Is there a way we can find out why it might be causing a crash?
Maybe we need to talk to the Gnome folks to find out if this is a bug
in the SVG lib they're using, or if it's an issue with the Tux Paint icon
itself.


 I guess it was caused by some priority related reason that adding 
 48x48 icon into the place solved the problem.

Yeah, probably.  Thanks! :)

-bill!
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Tux Paint article published in Red Hat Magazine

2004-12-15 Thread Bill Kendrick

An article my wife and I wrote on Tux Paint has been published in this
month's issue (issue #2, December 2004) of the online Red Hat Magazine!

  http://www.redhat.com/magazine/002dec04/features/tux-paint/


(Special thanks to Lieven Van Parys and the students at
Sint-Amandusschool Muelebeke in Belgium, Tammy Fox from RH Magazine,
and, of course, my wife Melissa for making the thing /readable/ ;^) )


-bill!
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] [fwd] Re: Tux Paint in Gnome? [panel crashing bug]

2004-12-14 Thread Bill Kendrick
On Tue, Dec 14, 2004 at 10:08:56PM +0900, TOYAMA Shin-ichi wrote:
 I was keeping icon in /usr/share/pixmaps/tuxpaint.
 But anyway it does not matter.
 I think the point is the existence of 
 /usr/share/icons/gnome/48x48/apps/tuxpaint.png.

That's very strange!  What size are the icons in your Gnome 'foot' pop-up menu?
And, though I doubt it should matter, what size is your Gnome panel?

-bill!
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] [fwd] Re: Tux Paint in Gnome? [panel crashing bug]

2004-12-13 Thread Bill Kendrick
On Tue, Dec 14, 2004 at 01:58:20PM +0900, TOYAMA Shin-ichi wrote:
 
 I tried new icon and met same result.
 But! It was resolved by another way.

Hrm...


 It was just off the top of my head that I placed a 48x48 png 
 icon into /usr/share/icons/gnome/48x48/apps/ and the panel 
 stopped crashing.

Are you keeping the old icon where it is? (/usr/share/pixmaps/tuxpaint/)
Or deleting it?

Thanks!!!

-bill!
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Crashing when placing tintable stamps

2004-12-12 Thread Bill Kendrick
On Fri, Dec 10, 2004 at 07:33:12AM -0500, Albert Cahalan wrote:
 It's not crashing here. Type of crash?
 (SIGKILL, SIGFPE, SIGSEGV, SIGBUS...)

Sigsegv.  I think my gcc didn't like while (i--) or something?
(or maybe there was a double free()... i wasn't debugging it very
professionally ;^) )

anyway, seems fixed and works fine now!

I'm beginning to reconsider having a Mac OS X 0.9.14 backport, and just
going ahead with a 0.9.15 release this month.

Does that seem too soon? :^)

(back the day, before we were using CVS, I was releasing on a weekly basis!)

-bill!
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Crashing when placing tintable stamps

2004-12-12 Thread Bill Kendrick
On Sun, Dec 12, 2004 at 09:04:10AM -0500, Albert Cahalan wrote:
 What compiler do you use? I hope it's 3.3 at least.

gcc (GCC) 3.3.4 (Debian 1:3.3.4-13)


-bill!
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Re: [Tuxpaint-commits] tuxpaint/src tuxpaint.c, 1.212, 1.213

2004-12-12 Thread Bill Kendrick
On Sun, Dec 12, 2004 at 08:10:27PM +, Albert Cahalan wrote:
 Log Message:
 neaten up LOW_QUALITY_STAMP_OUTLINE support and make outlines 
 flip/mirror/resize again

Heh, whoops.  Talk about 'rigorous' testing.  Sorry.  I've been coding
late at night lately. :^(

-bill!
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Re: [Tuxpaint-commits] tuxpaint/src tuxpaint.c, 1.211, 1.212

2004-12-12 Thread Bill Kendrick
On Sun, Dec 12, 2004 at 03:05:43PM -0800, Bill Kendrick wrote:
 On Sun, Dec 12, 2004 at 07:38:48PM +, Albert Cahalan wrote:
  Update of /cvsroot/tuxpaint/tuxpaint/src
  In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25817/src
  
  Modified Files:
  tuxpaint.c 
  Log Message:
  moving i-- caused an array overrun w/ SIGSEGV
 
 8^[
 
 And now tinting stamps crashes again!  We need to look into this
 more closely, I guess...

So okay, I'm seriously confused.  How did moving i-- cause an array overrun?


This code is crashing for me:

  while (i--)
{
  mc = work + i;

  // if not in the first range, and not in the second range, skip this one
  //
  if ((mc-huelower_hue_1 || mc-hueupper_hue_1) 
  (mc-huelower_hue_2 || mc-hueupper_hue_2))
continue;

  if(mc-sat  max_sat)
  {
max_sat = mc-sat;
key_color_ptr = mc;
  }
}

I see what's happening.  i drops down to zero, but you've got a
goto in there which jumps back up.

Since while (i--) (with i == 0, where i is an unsigned int)
ends up being 'true' (i becomes a very large number), the loop gets
executed again, with a bogus value for i.

Can we get rid of the goto?

-bill!
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Tux Paint Commits list archive

2004-12-12 Thread Bill Kendrick

The tuxpaint-commits list seems to have gotten picked up by The Mail Archive,
so I added 'archive' links to it on the Tux Paint website (Lists page).

For example:
  http://www.mail-archive.com/tuxpaint-commits%40tux4kids.net/msg01802.html


;)

-bill!
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Re: [Tuxpaint-commits] tuxpaint/src tuxpaint.c, 1.216, 1.217

2004-12-12 Thread Bill Kendrick
On Mon, Dec 13, 2004 at 01:25:09AM +, Albert Cahalan wrote:
 Update of /cvsroot/tuxpaint/tuxpaint/src
 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4886/src
 
 Modified Files:
   tuxpaint.c 
 Log Message:
 no need to assign twice

Err.. uhh...

src/tuxpaint.c: In function `find_most_saturated':
src/tuxpaint.c:3581: error: `i' undeclared (first use in this function)


;)

-bill!
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Re: [Tuxpaint-commits] tuxpaint/src tuxpaint.c, 1.211, 1.212

2004-12-12 Thread Bill Kendrick
On Sun, Dec 12, 2004 at 07:38:48PM +, Albert Cahalan wrote:
 Update of /cvsroot/tuxpaint/tuxpaint/src
 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25817/src
 
 Modified Files:
   tuxpaint.c 
 Log Message:
 moving i-- caused an array overrun w/ SIGSEGV

8^[

And now tinting stamps crashes again!  We need to look into this
more closely, I guess...

-bill!
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Crashing when placing tintable stamps

2004-12-10 Thread Bill Kendrick

I'm using Tux Paint from today's CVS (Dec. 9th), and it seems to be
crashing whenever I go to place a tintable stamp (e.g., one of the
cars, the butterfly, etc.)

I don't have time to debug it just yet.  Albert, can you take a looksee?

I'm using Debian Testing and X/SDL/etc. that comes with it.
My display is 16bpp, if it matters. ;)

Thx!

-bill!
[EMAIL PROTECTED]   Have I been helpful?
http://newbreedsoftware.com/http://svcs.affero.net/rm.php?r=billkendrick
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Tux Paint 0.9.14 on TheOpenCD 2.0!

2004-12-10 Thread Bill Kendrick

I just noticed TheOpenCD 2.0 has come out, and they have the latest
Tux Paint, 0.9.14!  Yay! :)

  http://theopencd.sunsite.dk/

-bill!

___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] 'Starters' bug tracked down? (Fwd from tuxpaint-commits)

2004-12-10 Thread Bill Kendrick
On Fri, Dec 10, 2004 at 11:52:05AM -0700, Martin Fuhrer wrote:
 
 I meant commits that were done. So, at the time of that email,
 the problem of starters being totally broken should be gone.
 
 Thanks Albert, the problem is fixed under Mac OS X.

Awesome!

Can we 'backport' the fix to Tux Paint 0.9.14 and release a Mac OS X
version?  I'd rather do that, then wait until 0.9.15 is settled,
since so many Mac users have been asking me where the new Tux Paint is,
and the latest out there is still 0.9.12! :^)

(Martin, you can also take the small tweak I did last night to help
the tiny mouse pointer shape. :^) )

Thanks!


Let Albert and I know if you need help.  I'd be happy to just take the
0.9.14 source tar.gz and edit it and send it to you. :^)

-bill!
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] 'Starters' bug tracked down? (Fwd from tuxpaint-commits)

2004-12-09 Thread Bill Kendrick
Albert put this into CVS just now:

Modified Files:
tuxpaint.c 
Log Message:
narrowed down the massive starter bug to load_starter, maybe involving 
SDL_CreateRGBSurface or SDL_SetAlpha


Martin, can you pull the latest from CVS and see if this helps fix the
starter bug?

Thanks!

-bill!
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Fwd: Can't save drawings...

2004-12-07 Thread Bill Kendrick
On Tue, Dec 07, 2004 at 07:21:21PM +0100, Koos Pol wrote:
 Well, took an insane long time to get where I am now. Did fiddle with the PNG
 libraries, installed new RPM's, compiled new PNG versions, etc. And all that 
 did was introduce other problems.
 
 By now I've upgraded my box to SuSE 9.1 and the included TuxPaint runs like a
 charm. So I'll gladly drop the subject :-)

Hrm, well, that's good!  I'll 'close the case' then, thanks :)

-bill!
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] sound needed

2004-12-06 Thread Bill Kendrick
On Mon, Dec 06, 2004 at 07:49:03PM -0500, Albert Cahalan wrote:
 The new smudge tool needs a suitable sound.

I love the tool, thanks!


 It also needs an image. (using the blur one now)

I've created an icon for it.  I'll see if I can come up with a sound
tonight.

Thanks!

-bill!
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Where to Stamps go on BeOS?

2004-12-02 Thread Bill Kendrick

If someone has the .tar.gz or Windows ZIP-File version of Tux Paint Stamps
and wants to 'install' them in Tux Paint on BeOS, where do they go?
Anyone know off-hand?

Thanks!

-bill!
[EMAIL PROTECTED]   Have I been helpful?
http://newbreedsoftware.com/http://svcs.affero.net/rm.php?r=billkendrick
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] memory usage

2004-12-02 Thread Bill Kendrick
On Thu, Dec 02, 2004 at 06:43:40PM -0500, Albert Cahalan wrote:
 I don't know where it's all going, but --nostamps reduces
 memory usage by 75%. I'm at about 60 MB.
 
 Plan?
 
 Things that I think should be kept in memory:
 
 a. sounds for all stamps visible in the selector
 b. image data for the active stamp
 c. icons for all stamps visible in the selector
 d. icons for next-to-visible stamps
 
 So when you scroll down, Tux Paint should load:
 
 a. sounds for the two stamps just made visible
 b. icons for the two stamps beyond that
 
 The load_arbitrary function is lots of trouble.
 It kind of enforces everything to be kept in memory.

I think it's fine to keep 'everything' in memory, but to continue with
my original plan on managing just WHAT 'everything' is.

In other words... split up the stamps into collections of 10-20 each,
rather than load all 200 up at once.

-bill!
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] stamp production tool

2004-12-01 Thread Bill Kendrick
On Wed, Dec 01, 2004 at 03:32:56PM -0500, Albert Cahalan wrote:
 Here's a little tool I just made for creating alpha channels.
 It should be useful whenever you have a simple background.

Don't have time to read your entire e-mail, but cool! Thanks!
I realize alpha channels can be complex, and have always wanted some
tools to help with the alpha stuff.

I thought a little Add alpha GUI might be neat.  It coudl also have
checkboxes and settings for the other various options stamps can have
(copy a random sfx and save it as an appropriate WAV... add a text desc...
turn on tinting / no-flip / default scale / etc.)

Thx

-bill!
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Tux Paint to be in PC Today magazine / on freeware disc (Spain)

2004-11-30 Thread Bill Kendrick

I've, of course, given Javier permission to include Tux Paint on the
disc mentioned below.

(I also made sure they include the Stamps installer, too!)


- Forwarded message from Javier Madruga -

Hi, my name is Javier Madruga and I'm PC Today's collaborator.

PC Today is one of the best selling computer magazine in Spain and is
published every two weeks. It's been 4 years since our launch and we have
planned some special contents for our readers. Amongst these contents we're
planning to include a special CD-ROM with the best freeware and shareware
programs available. This is a very special occasion for us, as we do not use
to include software with our magazine. We rely solely on our editorial
contents to sell the magazine and that makes this CD and its contents a
unique giveaway.

We plan to include this CD in PC Today's N.109, which will be on sale on
December, 24th. This CD will be enclosed with every PC Today's N. 109 issue
at no additional cost and the planned circulation is 60.000 issues. In that
number we'll also include some editorial pages explaining how to use some of
the selected programs. 

Since yours is one of the chosen applications, we'd like to get your
permission so we can include Tux Paint in this CD-ROM. 

Please, we need your answer as soon as possible, since the CD must be
finished by next Friday in order to enclose it on time.

Thanks in advance.

Javier Madruga Payno

- End forwarded message -


-bill!
[EMAIL PROTECTED]   Have I been helpful?
http://newbreedsoftware.com/http://svcs.affero.net/rm.php?r=billkendrick
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Limiting Tux Paint on Mac OS X

2004-11-29 Thread Bill Kendrick

The following report is for Tux Paint 0.9.12.
I've asked the reporter to try out the latest 0.9.14 test-build,
since I know Martin has been working on some stuff that might affect this
(hopefully in a good way) :^)


In the meantime, any comments or suggestions?  Martin, will the 0.9.14 changes
allow Tux Paint to work as expected?


 
 In the meantime, to see what I am calling a limited user and re-create the 
 problem with the current version, do the following:
 
 1. Install Tux Paint on your Mac with Panther.
 2. Open System Preferences.
 3. Click Accounts.
 4. Create a new account.
 5. Click the Limitations tab for that user.
 6. Click the Some Limits tab.
 7. You can now select which applications that user is allowed to run by 
 expanding the appropriate branch at the bottom of the dialog box. Click the 
 Applications branch and find Tux Paint.
 8. Click the checkbox next to Tux Paint.
 9. Click the checkbox next to a standard Mac application like TextEdit.
 10. Close System Preferences.
 11. Open System Preferences again.
 12. Click Accounts.
 13. Click the new user you created on the left.
 14. Click the Limitations tab for that user.
 15. Click the Some Limits tab.
 16. Click the Applications branch and find Tux Paint.
 17. You'll see that Tux Paint is NOT selected anymore, but TextEdit is. 
 Tux Paint never stays selected, and therefore can never run when the 
 limited user is logged in.
 18. Try it. Log in as your limited user, and try running Tux Paint. You'll 
 see that you don't have permission to run it.
 
 Limited user logins are vital in an elementary school lab.
 
 I'll get back to you soon.


Thanks!!!

-bill!
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Re: Limiting Tux Paint on Mac OS X [Success with 0.9.14!]

2004-11-29 Thread Bill Kendrick

Cool, 0.9.14 /does/ work in the 'Limited' mode on OS X. :)


- Forwarded message from Michael S -

Date: Mon, 29 Nov 2004 20:13:07 -0500
From: Michael S

Hey, Bill,

I just tried the new version as a limited user and it RUNS! Also, I
had no problems with the Starter images loading (if, by Starter
images, you mean the chicken and the plane).

May I use the version you sent me now with my kids?


Michael

- End forwarded message -

-bill!
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Limiting Tux Paint on Mac OS X

2004-11-29 Thread Bill Kendrick
On Mon, Nov 29, 2004 at 06:50:42PM -0700, Martin Fuhrer wrote:
 
 The Tux Paint 0.9.14 test build works fine in Limited User mode.  Don't 
 know what I fixed to make this work, though :-p

We should make a list of 'things to try' before releasing Tux Paint in
the future.  This, and some of the Windows-related things (like Terminal Svcs)
should be on the list. ;)

-bill!
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] reentrancy, thread-safety, etc.

2004-11-26 Thread Bill Kendrick
On Fri, Nov 26, 2004 at 11:24:37AM -0500, Albert Cahalan wrote:
 Consider the code for drawing a stamp outline, and the
 code for responding to a stamp control button press.
 Can those run at the same time? Can one preempt the
 other one?

Nope.  Everything's event driven.  Drawing the stamp outline occurs
when the mouse is moved (motion event).  The stamp change occurs when
a stamp button is clicked (mouse click event).


 I'd like to have the stamp controls set up a bitmap for
 the stamp outline renderer. I need to know if I must use
 an SDL surface with locking, or if I can use something
 simpler and faster.

If what you do interrupts the event loop (as most things do, like saving,
loading, etc.), then if I understand things right (which I admittedly may
not ;^) ), you can probably do it your 'faster' way.

Though I'm curious, what would that be?


Also, you don't happen to be considering alpha-blended stamps under the
mouse before placement...? :)


-bill!
[EMAIL PROTECTED]   Have I been helpful?
http://newbreedsoftware.com/http://svcs.affero.net/rm.php?r=billkendrick
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] reentrancy, thread-safety, etc.

2004-11-26 Thread Bill Kendrick
On Fri, Nov 26, 2004 at 06:30:21PM -0500, Albert Cahalan wrote:
 I was just preparing to cache the stamp outline. When the
 stamp changes (new choice, flip, mirror, or scaling), the
 outline needs to be recomputed. There's no need to be
 computing it every time the mouse moves a tiny bit.

Yes, I've noticed that. :^)  On my 450MHz Celeron, the recomputation
takes up QUITE a bit of time.  So much so that if I move the mouse
quickly enough, the event handler seems to loose the last few positions.

This causes the outline to stay where it was, while the + mouse pointer
has moved a few inches away.  If I click to place the stamp, of course
(part of) the old outline remains. :^(


 The code in CVS is prepared for this now. Notice that
 update_stamp_xor has been split out of stamp_xor. Now
 there are two reasonable options:

I tried simply moving the 'update_stamp_xor()' call to whenever the
stamp shape changes (mousewheel rolls or user specifically clicks a stamp
button on the right).

This seems to work great, so far.  (I need to make sure the first stamp,
when the Stamp tool is first chosen, causes this update, as well)

I'll commit in a moment...


snip
 If this works out well, maybe the low-quality stamp
 outline code will be pointless to keep.

I notice that's gone all of a sudden. ;^)  I wouldn't discount it.
We'll need to hear back from LTSP users as to whether the new code works
well enough.  If not, we should keep that feature around.


 BTW, there's a bit of a problem with flicker. I suppose
 the solution might involve a canvas-sized bitmap for the
 outline. Then there would never be a need to clear the
 old outline prior to painting the new one; the clearing
 and painting would take place in one operation.

What's flickering, exactly?


Thx!

-bill!
[EMAIL PROTECTED]   Have I been helpful?
http://newbreedsoftware.com/http://svcs.affero.net/rm.php?r=billkendrick
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


[Tuxpaint-dev] Tinting in CVS

2004-11-26 Thread Bill Kendrick

Tinting in CVS is a bit broken right now, and VERY slow (on my 450MHz Celeron,
at least).

Best example is the cartoon butterfly.  It doesn't change color (it's always
orange), and takes about 2 seconds between my clicking, and it appearing
on the canvas.

Ideas? :)

(This is with the latest CVS for both stamps and code)

-bill!
[EMAIL PROTECTED]   Have I been helpful?
http://newbreedsoftware.com/http://svcs.affero.net/rm.php?r=billkendrick
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


Re: [Tuxpaint-dev] Tinting in CVS

2004-11-26 Thread Bill Kendrick
On Fri, Nov 26, 2004 at 07:21:17PM -0500, Albert Cahalan wrote:
 First of all, the butterfly is looking better than ever
 for me. It tints perfectly. I'll send you an example.

*blush*

I was NOT using the latest tuxpaint-stamps from CVS, sorry. :^(
I had updated everything on my wife's laptop, but not on my desktop.
What a goof.

I have an excuse, though... I've been under the weather lately. :^P


 I'd have expected your PC to be very fast at this, because
 the PC has built-in trancedental math functions in the CPU.
 You have instructions for sin(), cos(), tan(), and so on.
 
 Unlikely to be the problem, but...
 
 One thing that may need to change for a PC is the place where
 a double is compared against zero. Instead of this:
 
   if(dst.sat0)
 
 You might be better off with:
 
   if(dst.sat0.0001)

I can give it a try.  Thanks

-bill!
___
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev


  1   2   3   4   >