Commit graph

2301 commits

Author SHA1 Message Date
Scott McCreary
a9f9122cbf This now allows tuxpaint to build on a gcc4 Haiku. 2010-06-02 15:40:11 +00:00
Pere Pujal i Carabantes
653bdb0e88 Using fgets instead of getline. 2010-06-01 22:34:24 +00:00
Pere Pujal i Carabantes
9643a8df1c An alternative to fmemopen using a temporary file on the disk.
Still needs to be called for the OSes that lacks it
2010-06-01 22:12:53 +00:00
William Kendrick
cc1c5ffc54 Finnish update.
(c) Date update.
2010-05-28 23:00:39 +00:00
Shin-ichi TOYAMA
05a960a121 "make release" did not work. 2010-05-23 16:00:38 +00:00
William Kendrick
d5cf06ce69 British English translation update. 2010-05-15 05:05:24 +00:00
Pere Pujal i Carabantes
fa11348218 Fix undo for temporary applied labels. 2010-05-12 06:28:37 +00:00
Pere Pujal i Carabantes
eaa1ff5bd0 A fix for a crash with labels, Undo via CTRL-Z was mangled.
The crash:start, begin to type a label, click on save, hit enter.
2010-05-10 21:59:39 +00:00
Pere Pujal i Carabantes
94277d1e70 Two less open_memstream calls. 2010-05-10 17:29:00 +00:00
Shin-ichi TOYAMA
c198e9daff need to link with zlib explicitly on Win32 2010-05-07 16:54:42 +00:00
William Kendrick
960f5013fd Syntax error fix. 2010-04-29 20:04:54 +00:00
Scott McCreary
2d594c9bf1 Fixed several gcc2 compile errors by moving variable declarations to the top of functions. 2010-04-29 20:01:24 +00:00
William Kendrick
5e8594c409 Ignoring generated-thumbnails directories in CVS.
Ignoring generated-thumbnails directories when building a source release.
2010-04-27 22:07:26 +00:00
William Kendrick
be2b5537b3 * Exposing load_user_fonts() and some other font.c functions,
even when FORKED_FONTS is not set.
* No longer undef'ing SDL_thread stuff when FORKED_FONTS is
  used if we're ALSO not using SDL_Pango, since that now
  uses a thread to let fontconfig generate its cache, and
  still let Tux Paint be responsive to the OS and user.
  (SF.net bug #2944951)
* Spawning a thread and rendering a dummy string with SDL_Pango,
  to allow fontconfig to generate its cache.
  (SF.net bug #2944951)
* Setting up 'busy' mouse cursor (watch-shaped) earlier
  (so it can happen while fontconfig cache thread runs).
* Not spawning forked font scanner (FORKED_FONTS) as early, so
  fontconfig can generate its cache first.
  (I wasn't sure if calling an SDL_thread after a fork()
  occured was safe or not; admittedly, I discovered that
  SDL_thread spawning wasn't working due to the re-#defines
  of those functions when FORKED_FONTS was set; see above.)

All of this only tested on Ubuntu 9.04.  Forced disabling of FORKED_FONTS
by editing fonts.h, and Tux Paint still worked (it just took longer at
the splash screen while the fonts were loaded).  Needs testing on various
Windows, Mac OS X and BeOS.
2010-04-27 22:04:43 +00:00
William Kendrick
0c63f14092 Unfuzzying a string. 2010-04-27 21:44:32 +00:00
Pere Pujal i Carabantes
e5bf143037 The po file headers showed in the empty button 2010-04-25 20:30:47 +00:00
Pere Pujal i Carabantes
491d8d1068 Noting the creation of thumbnails for our starters. 2010-04-24 20:20:19 +00:00
Pere Pujal i Carabantes
6cfd739d10 Generating thumbnails for starters 2010-04-21 22:22:04 +00:00
William Kendrick
944229c5d6 Removed a dup, adding some missing ones, FIXME for other missing ones. 2010-04-15 19:57:40 +00:00
William Kendrick
34b68d629d Italian and Russian updates. 2010-04-13 17:26:55 +00:00
William Kendrick
30d28ad385 Noting Spanish update & new translator. 2010-04-03 19:01:55 +00:00
William Kendrick
1467675832 Blank string for currently-reserved slot in toolbox. 2010-04-03 19:00:07 +00:00
William Kendrick
c680b408bd Missing entry! 2010-04-03 18:33:19 +00:00
William Kendrick
5232ae97c7 New locale: Venetian. 2010-04-03 18:16:48 +00:00
William Kendrick
038162c010 Vietnamese update. 2010-03-27 17:59:33 +00:00
Pere Pujal i Carabantes
22789600b7 Noting the thumbnail creation for starters, crediting Arunodai for Label 2010-03-26 01:09:40 +00:00
Pere Pujal i Carabantes
63e64c4374 Forgot to check for thumbnail directories. 2010-03-25 20:22:02 +00:00
Pere Pujal i Carabantes
d0368d0814 Fix writing thumbnails for custom starters. 2010-03-25 19:39:17 +00:00
William Kendrick
e8b5f09219 Malayalam coming, hopefully. 2010-03-25 18:54:27 +00:00
secretlondon
74228a71f2 replacing bizarrely emptied file 2010-03-24 21:08:38 +00:00
secretlondon
665cbfb2cf Malayalam language support (I hope) 2010-03-24 20:50:07 +00:00
William Kendrick
8169aec68c Less respect for the 'abusive' Magic tools (ones who draw widgets on the
canvas), since the switchout/switchin hack around the rec_undo_buffer()
call that happens when clicking the canvas with a Magic tool was breaking
tools (see Pere's email re: Zoom, Perspective, Rails not working).
2010-03-22 20:36:51 +00:00
Xandru Armesto
44283da9ea Updated asturian language 2010-03-22 19:51:09 +00:00
Pere Pujal i Carabantes
b89bbc3ffd Updating catalan 2010-03-17 23:14:04 +00:00
Pere Pujal i Carabantes
27780f64e8 Tweaking labels, fixing mangled undo and a crash. 2010-03-17 22:11:48 +00:00
Pere Pujal i Carabantes
e8c378f1ae Embedding data in the png file. 2010-03-17 01:13:08 +00:00
William Kendrick
f638afa63c Gamma corrected scaling. 2010-02-25 22:02:07 +00:00
William Kendrick
b0d141fed3 Fixed dumb typo bug in recently-modified canvas/screen update code. 2010-02-25 21:46:14 +00:00
William Kendrick
7b31b7549d Patch collection from Volker Grabsch to help Tux Paint cross-compile for Windows:
* Solve the 'FIXME: "finddir" ...' (The trick is to use "=" instead of ":=". That way, $(beos_PREFIX) will only be evaluated when it is actually used.)
* include "shlwapi.h" instead of "Shlwapi.h" (Otherwise, compiling for Windows will fail on a case sensitive file system. (e.g. a Unix file system when cross compiling))
* use FILENAME_MAX instead of NAME_MAX (FILENAME_MAX is more portable than NAME_MAX. Also, recent MinGW versions don't support NAME_MAX anymore.)
* Exposing font_thread_aborted via extern [tweak to Volker's patch which removed a logic test, which is probably not what we want]
* include parse.h (and thus compiler.h) after <stdio.h> (This ensures that the perror() macro of compiler.h won't confuse the perror() function declaration of <stdio.h>.)
* fix another compiling error about undefined variables (The tuxpaint.c uses printcommand/altprintcommand/papersize even when they aren't defined, i.e. when libpaper is not used. This patch solves the issue by using "#ifdef PAPER_H")
* call show_available_papersizes() only when libpaper is used
* permit cross compiling by using Make variables instead of hard-coded tools

Documented scottmc's Haiku improvements.
2010-02-25 07:06:13 +00:00
William Kendrick
5be63987d1 Gujarati. 2010-02-18 18:13:15 +00:00
Kartik Mistry
84ef59389e Updated Gujarati translation for tuxpaint.. 2010-02-18 12:40:19 +00:00
William Kendrick
eb05da2282 Helps if I commit the PO file. :^P 2010-02-16 22:07:11 +00:00
William Kendrick
8b6d8df007 Luxembourgish translation. 2010-02-16 21:56:13 +00:00
William Kendrick
ba366043e0 Preventing flicker when typing with Text & Label tools. 2010-02-10 22:46:37 +00:00
William Kendrick
978effa1f4 Danish update. 2010-02-08 16:55:59 +00:00
William Kendrick
cdc7b62d11 Fixed syntax error; can compile without Pango again. 2010-02-02 23:46:03 +00:00
William Kendrick
68ead6a3d0 indent -bli0 -nip -npsl -npcs -l120 -lc120 -nprs 2010-02-02 23:42:06 +00:00
William Kendrick
6e6ee1f8a3 Trying to get it to build without Pango. 2010-02-02 23:40:53 +00:00
Pere Pujal i Carabantes
2697ff0015 Syntax error. 2010-02-02 23:05:29 +00:00
Pere Pujal i Carabantes
460945eef1 Not saving label stuff if there are not valid labels. Not hardly checked. Time to think on embed all the data in one file... 2010-02-02 22:44:21 +00:00