1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-04 11:40:22 +00:00
Commit Graph

30 Commits

Author SHA1 Message Date
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
5a9dffec38 Switch license to GPLv3 or later. 2007-07-25 04:24:43 +00:00
Chong Yidong
23afd1c8b6 (gamegrid-user-score-file-directory): Use user-emacs-directory. 2007-06-13 00:05:37 +00:00
Eli Zaretskii
94430ab7fd (gamegrid-add-score-with-update-game-score-1): Jump to the line where new score
has been uploaded.
2007-03-03 12:18:56 +00:00
Chong Yidong
d33ca4d437 (gamegrid-kill-timer): Cancel timer directly.
(gamegrid-add-score-with-update-game-score-1): Allow local quits
when calling update-game-score program.  Remove unnecessary
save-excursion.
2007-01-28 19:40:31 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Glenn Morris
f2e3589a33 Update copyright years. 2006-12-09 04:06:06 +00:00
Romain Francoise
1004fadc84 Update copyright notices of all files in the lisp/play directory. 2006-02-05 14:10:45 +00:00
Thien-Thi Nguyen
5fd6d89f46 Update years in copyright notice; nfc. 2005-08-01 15:47:19 +00:00
Richard M. Stallman
bf7f684c17 (gamegrid-shared-game-dir): Add defvar.
(gamegrid-set-display-table): Avoid warning.
(gamegrid-set-timer): Likewise.
(gamegrid-make-mono-tty-face): Use set-face-inverse-video-p.
(gamegrid-add-score-with-update-game-score-1): Take FILE as argument.
(gamegrid-add-score-with-update-game-score): Pass that argument.
Rename have-shared-game-dir to gamegrid-shared-game-dir.
2005-07-16 18:34:22 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Thien-Thi Nguyen
0ec2b560ea Update years in copyright notice; nfc. 2005-05-12 01:35:20 +00:00
Jesper Harder
cbfbd37df5 (gamegrid-add-score-insecure): Use sort-fields. 2004-04-05 11:57:14 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
f62ebc65ab Added a comment explaining the various ways to save a game score on POSIX
systems.
(gamegrid-add-score-with-update-game-score): Use `cond' instead of `if'.
Provide for the case that FILE is an absolute filename.  Create the directory
"$HOME/.emacs.d/games", if necessary.
2003-04-29 23:06:50 +00:00
Juanma Barranquero
f9d56d5997 (gamegrid-add-score): Add info to docstring.
(gamegrid-add-score-with-update-game-score-1): New function, factored out of
`gamegriod-add-score-with-update-game-score'.
(gamegrid-add-score-with-update-game-score): Use it.  Fall back on
`gamegrid-add-score-insecure' if the requested file does not exist in
$(gamedir), in case the user has installed a game on his own.
(gamegrid-add-score-insecure): Accept optional directory argument.
2003-02-26 10:19:29 +00:00
Juanma Barranquero
a1506d2977 Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
Richard M. Stallman
0f7df8ac6a (gamegrid-face): new variable to emulate a buffer-local default face.
(gamegrid-xbm): new variable; XBM image as a replacement for
`gamegrid-xpm' on Emacsen compiled without XPM-support.
(gamegrid-colorize-glyph): Ported XEmacs-code for the generation
of images to Emacs.
(gamegrid-match-spec): Call `gamegrid-make-image-from-vector' to
convert XEmacs-type image descriptors.
(gamegrid-color-display-p): Removed. (Use `display-colors-p' instead.)
(gamegrid-make-image-from-vector): New function. Convert XEmacs'
image descriptors.
(gamegrid-display-type): Use Emacs' standard `display-.*-p'
functions to check for display capabilities. Fix the recognition
of image-support in Emacs 21 by this way.
(gamegrid-hide-cursor): Removed.
(gamegrid-setup-default-font): Ported the code from XEmacs to
Emacs: create a new face and assign the variable `gamegrid-face'
to it. Make sure that the face is not higher than the smallest
image used by the game.
(gamegrid-initialize-display): Use `(setq cursor-type nil)'
instead of `gamegrid-hide-cursor'.
(gamegrid-set-face): If `gamegrid-display-mode' is 'glyph, put an
image in the buffer, instead of applying a face.
(gamegrid-init-buffer): If `gamegrid-display-mode' is 'glyph, put
the face held by `gamegrid-face' in an overlay over the whole
buffer to emulate a buffer-local default-face.
2002-09-23 16:03:03 +00:00
Richard M. Stallman
a5bce90d94 (gamegrid-make-color-tty-face): Handle string as COLOR arg.
(gamegrid-display-type): Don't assume display-color-p
implies a color-x terminal.
(gamegrid-hide-cursor): Set `cursor-type' local variable.
2002-09-10 16:47:16 +00:00
Colin Walters
3d43e48ad4 (gamegrid-user-score-file-directory): New variable.
(gamegrid-add-score-with-update-game-score): Use
`shared-game-score-directory'.  Correctly handle non-setuid case.
2002-05-03 19:30:58 +00:00
Colin Walters
ab8dbe67bb (gamegrid-add-score-with-update-game-score): Test whether or not
update-game-score is setuid, and do the right thing.
2002-04-29 22:53:44 +00:00
Colin Walters
80f60ab4d9 (gamegrid-add-score-with-update-game-score): Handle the case where
we're already viewing the score file.
2002-04-23 20:24:40 +00:00
Colin Walters
744ee133cd (gamegrid-add-score-with-update-game-score): Renamed from `gamegrid-add-score'.
(gamegrid-add-score-insecure): Restored from the old `update-game-score'.
(gamegrid-add-score): Just dispatch on `system-type' to one of the
previous two functions.
2002-04-13 20:26:36 +00:00
Colin Walters
dcec69ee99 Fix previous change. 2002-04-10 23:16:45 +00:00
Colin Walters
baf9c39a8c (gamegrid-add-score): Rewrite from scratch to use `update-game-score'. 2002-04-10 19:13:35 +00:00
Richard M. Stallman
279b254c99 (gamegrid-set-font, gamegrid-setup-face)
(gamegrid-make-mono-tty-face): Fix usage of condition-case.
2002-03-03 14:14:38 +00:00
Eli Zaretskii
c7e6cdba5a (gamegrid-display-type): Treat any
color-capable display as color-x, if display-color-p is fboundp.
(gamegrid-make-color-x-face): Don't call gamegrid-color twice.
(gamegrid-make-color-tty-face): Use the value of color, not the
symbol itself.  Don't call gamegrid-color.
2002-02-06 11:34:07 +00:00
Pavel Janík
8b78491a45 (gamegrid-init-buffer): Use insert instead of insert-string. 2001-11-26 16:16:45 +00:00
Pavel Janík
6e44da43b1 Some fixes to follow coding conventions. 2001-07-16 09:10:19 +00:00
Richard M. Stallman
3d4ae13ee1 Initial revision 1998-06-14 21:32:23 +00:00