Commit graph

2123 commits

Author SHA1 Message Date
Bill Kendrick
cb10eb0c52 Fulah update 2017-12-03 12:04:31 -08:00
rbuj
c8a65bc158 Updated Catalan translation 2017-12-03 09:19:42 +01:00
Bill Kendrick
974f203c8a Indonesian translation update 2017-12-02 12:46:16 -08:00
Mark K. Kim
558b74b7fc In the macOS build, load stamps from within the app path where the 2009.06.28
stamps collection installer installs the stamps.
2017-11-27 01:16:57 -05:00
Mark K. Kim
472bf79bb9 Trying again... 2017-11-27 01:02:41 -05:00
Mark K. Kim
ea7f013d0d Rework Mac port to be more Linux-like without needing to launch XCode. See
macos/README.txt for information.
2017-11-27 00:56:41 -05:00
Bill Kendrick
af477d714e Ukrainian translation update 2017-10-27 21:09:14 -07:00
Bill Kendrick
1576935455 More compiler warnings
* Adding a missing local function definition.
 * Ensured a var only used during certain #ifdef was only declared under
   that situation.
2017-10-15 15:05:20 -07:00
Bill Kendrick
41e9fbd0c4 More compiler warning cleanup
Mostly removing some unused variables, but also "using" some
of the new temp vars (e.g., "tmp = fgets(...); (void)tmp;")
2017-10-15 15:00:48 -07:00
Bill Kendrick
717b13a866 Correct im.c compiler warnings
* Don't ignore a fscanf()'s output.
 * Rewrite some increment/roll-overs to avoid, e.g.
   src/im.c:1193:18: warning: operation on ‘cm.section’ may be undefined [-Wsequence-point]
        cm.section = (++cm.section % SEC_TOTAL);  /* Change section */
2017-10-15 14:48:31 -07:00
Bill Kendrick
5907713cdd Remove unused reset_brush_counter_and_frame()
reset_brush_counter() gets called, but reset_brush_counter_and_frame()
never does; removing it.
2017-10-15 14:45:22 -07:00
Bill Kendrick
da81a5f32a Compiler warning cleanup in fonts.c
* Use and show error on nice() return value, when appropriate.
 * Remove (comment out, for now) a function that could never be called.
2017-10-15 14:43:20 -07:00
Bill Kendrick
b693003b14 Remove some unused funcs & declarations
Removing more unused functions, and moving a declaration in fonts.h
to fonts.c, since it's not used externally (reliable_read()).
2017-10-15 14:38:52 -07:00
Bill Kendrick
502edda2b1 Remove unused in_circle() func
in_circle() isn't used; in_circle_rad() is.
2017-10-15 14:33:11 -07:00
Bill Kendrick
dc167b4c52 Remove unused funcs remove_slash, replace_tilde
Remove unused funcs remove_slash() (an identical one exists
in win32_print.c) and replace_tilde().
2017-10-15 14:29:12 -07:00
Bill Kendrick
1ae588baf8 More compiler warning cleanup (WIP)
Picking at more compiler warnings.
2017-10-15 13:09:05 -07:00
Bill Kendrick
284a64a08f tuxpaint.c code & warning clean-up (WIP)
- Replace any C++ style comments (// ...) with C style (/* ... */).
 - Improve calls to fgets() to avoid "ignoring return value
   of ‘fscanf’, declared with attribute warn_unused_result
   [-Wunused-result]" errors (WIP).
 - Removed some unused, commented-out code.
2017-10-15 12:57:43 -07:00
Bill Kendrick
f03785e532 indent tuxpaint.c -- the whopper!
The big one we've all been waiting for -- ran indent on tuxpaint.c
(which itself is ~25K lines long, and really needs to be split up).

Hopefully the code will look less atrocious now :-)
2017-10-15 12:16:05 -07:00
Bill Kendrick
5e0d51c771 Sanitized some grid_dims assignments
A number of assignments of grid_dims structs were of the form of
(ignoring some carriage returns, which undoubtedly added to the
confusion):

  gd_controls = (grid_dims) { 3, 2 };

which confused `indent`, causing it to think certain if/else blocks
were being ended early.

Turning these into assignments, like so, to avoid this:

  gd_controls.rows = 3;
  gd_controls.cols = 2;
2017-10-15 12:06:27 -07:00
Bill Kendrick
3e96684bde Pointer assignment syntax tweak
Correcting for a warning given by indent:

  Warning:old style assignment ambiguity in "=*".  Assuming "= *"
2017-10-15 11:55:50 -07:00
Bill Kendrick
527de8bee2 indent win32_print.c win32_print.h 2017-10-15 11:10:29 -07:00
Bill Kendrick
f8c4dc626c indent, and tr -d "\r", win32_dirent.c & .h
Ran indent on win32_dirent.* and also removed MSDOS CR ("^M" aka "\r")
2017-10-15 11:09:17 -07:00
Bill Kendrick
4aabc2da43 indent some .h files
`indent shapes.h sounds.h tip_tux.h titles.h tools.h`, resulted
in some changes to shapes.h, sounds.h, and tools.h
2017-10-15 11:07:09 -07:00
Bill Kendrick
c7c5a53324 indent rgblinear.c rgblinear.h 2017-10-15 11:06:27 -07:00
Bill Kendrick
85be8b8fff indent progressbar.c progressbar.h
Note - no changes to progressbar.h
2017-10-15 11:05:37 -07:00
Bill Kendrick
bc78db547f indent postscript_print.c postscript_print.h 2017-10-15 11:04:11 -07:00
Bill Kendrick
10c9976e39 indent playsound.c playsound.h 2017-10-15 11:03:40 -07:00
Bill Kendrick
41893a9cda indent pixels.c pixels.h
Note - no change to pixels.h
2017-10-15 11:02:51 -07:00
Bill Kendrick
0d8502bdaf indent parse.h 2017-10-15 11:02:03 -07:00
Bill Kendrick
e9447f8c3b indent onscreen_keyboard.c onscreen_keyboard.h 2017-10-15 10:59:50 -07:00
Bill Kendrick
e283cdb473 indent macosx_print.h 2017-10-15 10:59:07 -07:00
Bill Kendrick
0796dc924c indent im.c im.h 2017-10-15 10:58:14 -07:00
Bill Kendrick
5b4e0dd53f indent i18n.c i18n.h 2017-10-15 10:56:18 -07:00
Bill Kendrick
967d37d8a7 indent get_fname.c get_fname.h 2017-10-15 10:54:50 -07:00
Bill Kendrick
81ff48ccbc indent fonts.c fonts.h 2017-10-15 10:53:55 -07:00
Bill Kendrick
b37621c2f0 indent dirwalk.c dirwalk.h
Ran indent on dirwalk code; quite a bit of change.
2017-10-15 10:51:07 -07:00
Bill Kendrick
ba686d601b indent cursor.c
Indentation tweaked
2017-10-15 10:50:31 -07:00
Bill Kendrick
18b855169b indent compiler.h
Replaced tabs with spaces
2017-10-15 10:50:05 -07:00
Bill Kendrick
9ef2f7494c indent colors.h
Replaces tabs with spaces
2017-10-15 10:49:43 -07:00
Bill Kendrick
41de35531e indent BeOS_print.h 2017-10-15 10:49:20 -07:00
Bill Kendrick
a37a26cc77 No tabs, spaces only, please
Adding --no-tabs to `indent` options file.
2017-10-15 10:48:45 -07:00
Bill Kendrick
ed4b42447e Indent default configs for Tux Paint
Coming up with some reasonable config options for `indent`
(so one will eventually be able to run `indent *.c *.h` to
get consistent formatting).

I expect this'll change as I experiment with it, against various
source files.  (Old code is olllllllld)
2017-10-15 10:39:05 -07:00
Bill Kendrick
199776f258 Updated Dutch translation
Dutch translation updated by Willem Heppe.
2017-10-15 09:20:12 -07:00
Karl Ove Hufthammer
f8b996c46e Updated Norwegian translations. 2017-07-29 13:51:55 +00:00
Karl Ove Hufthammer
c291bc5610 Regenerated translation files. 2017-07-29 13:49:46 +00:00
Karl Ove Hufthammer
6698b5e844 Fixed spelling mistake. 2017-07-29 13:46:08 +00:00
Pere Pujal i Carabantes
261d41d388 Kabile update by Yacine Bouklif. 2017-07-22 22:35:52 +00:00
Joe Hansen
eda2f856df update Spanish program file 295 translated strings 2017-01-29 21:05:48 +00:00
William Kendrick
548805f676 Had forgotten to add Kabyle to "--lang help" output.
(N.B. This stuff begs for modularization)
2016-12-12 07:37:23 +00:00
William Kendrick
f762aafa10 Adding Kabyle (aka Kabylian) translation 2016-12-12 07:20:34 +00:00