• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Japanese translation of message catalog for Sawfish Window-Manager


Commit MetaInfo

修订版7d967b1235dd9de8b4148b624ef0d80510832c0d (tree)
时间2000-05-18 19:23:25
作者john <john>
Commiterjohn

Log Message

merged from HEAD

更改概述

差异

--- a/Makefile.in
+++ b/Makefile.in
@@ -38,14 +38,16 @@ build.h : build-info config.status
3838 '$(sawfishdir)' '$(lispdir)' '$(sawfishexecdir)'
3939
4040 install : all installdirs
41- -set -e; for dir in $(SUBDIRS); do \
41+ set -e; for dir in $(SUBDIRS); do \
4242 ( cd $$dir && $(MAKE) $@ ); \
4343 done
4444 for f in ./DOC*; do \
4545 $(INSTALL_DATA) $$f $(DESTDIR)$(sawfishdir)/$(version); \
4646 done
47- rm -f $(DESTDIR)$(GNOMEDIR)/share/gnome/wm-properties/Sawmill.desktop
48- $(INSTALL_DATA) Sawfish.desktop $(DESTDIR)$(GNOMEDIR)/share/gnome/wm-properties
47+ if [ -d $(DESTDIR)$(GNOMEDIR)/share/gnome/wm-properties ]; then \
48+ rm -f $(DESTDIR)$(GNOMEDIR)/share/gnome/wm-properties/Sawmill.desktop; \
49+ $(INSTALL_DATA) Sawfish.desktop $(DESTDIR)$(GNOMEDIR)/share/gnome/wm-properties; \
50+ fi
4951 -set -e; for f in $(OLD_BINARIES); do \
5052 if [ -x $(DESTDIR)$(bindir)/$$f ]; then \
5153 rm -f $(DESTDIR)$(bindir)/$$f; \
@@ -54,7 +56,7 @@ install : all installdirs
5456 done
5557
5658 installdirs : $(top_srcdir)/mkinstalldirs
57- $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(sawfishdir)/$(version) $(DESTDIR)$(bindir) $(DESTDIR)$(GNOMEDIR)/share/gnome/wm-properties
59+ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(sawfishdir)/$(version) $(DESTDIR)$(bindir)
5860
5961 uninstall :
6062 set -e; for dir in $(SUBDIRS); do \
@@ -84,8 +86,10 @@ realclean :
8486 rm -f config.cache config.h config.log config.status Makedefs Makefile
8587 rm -f *~ NEWS DOC* TAGS build.h sawfish.spec
8688
89+distclean : realclean
90+
8791 TAGS :
8892 etags --language=c `find . -name '*.[ch]' -print` \
8993 --language=lisp `find . -name '*.jl' -print`
9094
91-.PHONY: install uninstall tar nobak clean realclean TAGS
95+.PHONY: install uninstall tar nobak clean realclean distclean TAGS
--- a/THANKS
+++ b/THANKS
@@ -34,7 +34,7 @@ Many others have also contributed patches, including:
3434 Probst, Kirk Saranathan, Ian, Morgan Schweers, Jens Finke, G駻ard
3535 Milmeister, Andreas Degert, Rob Hodges, Martin Blais, Dan Winship,
3636 Dave Pearson, Jens-Ulrik Petersen, Alexander Barinov, Richard
37- Kilgore
37+ Kilgore, Bruce Miller
3838
3939
4040 Thanks also to those who have contributed translations:
--- a/TODO
+++ b/TODO
@@ -11,6 +11,8 @@ and longer-term ideas are marked -
1111 Outstanding bugs
1212 ================
1313
14+ ! raise-groups-on-focus is commented out
15+
1416 ! running multiple instances of the wm loses
1517
1618 (because they share the same ~/.sawmill/custom file)
@@ -102,6 +104,20 @@ Outstanding bugs
102104 Window manager tasks
103105 ====================
104106
107+ + some hci ideas:
108+
109+ placement mode to favour some/any of:
110+
111+ - positions near the currently focused window
112+ - near the mouse pointer
113+
114+ [ the above two are now possible using best-fit cost
115+ components.. not sure if they work 100% correctly.. ]
116+
117+ - near other windows in the same group
118+
119+ theme that has visual cues (colours?) for group membership
120+
105121 + look at kde khotkeys for ideas
106122
107123 + support the new GNOME/KDE wm interaction protocols
@@ -132,8 +148,6 @@ Window manager tasks
132148 make sawmill-ui extract defcustom decls straight from lisp files
133149 somehow?
134150
135- + handle language codes better in gnome-menu
136-
137151 + add a (destroyed . FUN) attribute to display-message
138152
139153 also allow multiple messages to be displayed/managed
--- a/configure.in
+++ b/configure.in
@@ -25,7 +25,7 @@ AC_CONFIG_HEADER(config.h)
2525 AC_CONFIG_AUX_DIR(etc)
2626
2727 dnl Release versioning info
28-version="0.27.1"
28+version="0.27.2"
2929
3030 output_files="src/Makefile lisp/Makefile themes/Makefile\
3131 sounds/Makefile man/Makefile po/Makefile Makedefs Makefile sawfish.spec"
@@ -220,9 +220,9 @@ AC_ARG_WITH(gnome_prefix,
220220 [ with_gnome_prefix="" ])
221221 AC_MSG_CHECKING([for GNOME prefix])
222222 if test "x$with_gnome_prefix" = "x"; then
223- with_gnome_prefix=`gnome-config --prefix 2>&1`
223+ with_gnome_prefix=`gnome-config --prefix 2>/dev/null`
224224 if test $? -ne 0; then
225- gnome_prefix='${prefix}'
225+ with_gnome_prefix='${prefix}'
226226 fi
227227 fi
228228 AC_MSG_RESULT([$with_gnome_prefix])
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,41 @@
1+2000-05-18 John Harper <john@dcs.warwick.ac.uk>
2+
3+ * version 0.27.2
4+
5+2000-05-15 John Harper <john@dcs.warwick.ac.uk>
6+
7+ * sawmill-gaol.jl (sawmill-safe-specials): added batch-mode
8+
9+2000-05-14 John Harper <john@dcs.warwick.ac.uk>
10+
11+ * auto-raise.jl (raise-groups-on-focus): commented out this
12+ option, it causes window groups to flicker (sometimes
13+ repeatedly) in certain cases due to the extra focus events it
14+ causes
15+
16+2000-05-12 John Harper <john@dcs.warwick.ac.uk>
17+
18+ * gnome-menu.jl (gnome-menu-lang): now a list of strings, made
19+ by destructuring the language code, e.g. if LANG=de_DE, then
20+ the list will be ("de" "de_DE")
21+
22+ (gnome-menu-read-desktop-entry): match encountered languages
23+ against all items in gnome-menu-lang
24+
25+ * gnome-menu.jl, sawmill.jl: search LANGUAGE, LC_ALL,
26+ LC_MESSAGES, LANG for the language code to use, in that order
27+
28+2000-05-11 John Harper <john@dcs.warwick.ac.uk>
29+
30+ * focus.jl (focus-enter-fun, focus-enter-fun): generate events
31+ when the root window is entered/left, enter-root and leave-root
32+ (enter-exit): unfocus the window when the root window is
33+ entered, as well as when the window is left
34+
35+ * transient.jl (transient-unmap-window): fix bug of looking for
36+ window under pointer _in_ click to focus mode, it should be
37+ only done when _not in_ this mode
38+
139 2000-05-10 John Harper <john@dcs.warwick.ac.uk>
240
341 * version 0.27.1
--- a/lisp/auto-raise.jl
+++ b/lisp/auto-raise.jl
@@ -33,10 +33,11 @@
3333 :type number
3434 :group focus)
3535
36-(defcustom raise-groups-on-focus t
37- "Raise entire group after focusing a window (when auto-raise is enabled)."
38- :type boolean
39- :group (focus advanced))
36+;XXX this thing is hosed
37+;(defcustom raise-groups-on-focus t
38+; "Raise entire group after focusing a window (when auto-raise is enabled)."
39+; :type boolean
40+; :group (focus advanced))
4041
4142 (defvar disable-auto-raise nil)
4243
@@ -50,9 +51,12 @@
5051 (setq rw-timer nil)))
5152
5253 (defun rw-raise-window (w)
53- (if raise-groups-on-focus
54- (raise-group w)
55- (raise-window w)))
54+ (raise-window w))
55+
56+;(defun rw-raise-window (w)
57+; (if raise-groups-on-focus
58+; (raise-group w)
59+; (raise-window w)))
5660
5761 (defun rw-on-focus (w)
5862 (unless disable-auto-raise
--- a/lisp/focus.jl
+++ b/lisp/focus.jl
@@ -103,7 +103,7 @@ EVENT-NAME)', where EVENT-NAME may be one of the following symbols:
103103 (cond ((eq action 'pointer-in)
104104 (when (window-really-wants-input-p w)
105105 (set-input-focus w)))
106- ((eq action 'pointer-out)
106+ ((memq action '(pointer-out enter-root))
107107 (set-input-focus nil)))))
108108
109109 (define-focus-mode 'enter-only
@@ -159,12 +159,16 @@ EVENT-NAME)', where EVENT-NAME may be one of the following symbols:
159159 ;; hooks
160160
161161 (defun focus-enter-fun (w)
162- (when (windowp w)
163- (focus-invoke-mode w 'pointer-in)))
162+ (cond ((windowp w)
163+ (focus-invoke-mode w 'pointer-in))
164+ ((eq w 'root)
165+ (focus-invoke-mode (input-focus) 'enter-root))))
164166
165167 (defun focus-leave-fun (w)
166- (when (windowp w)
167- (focus-invoke-mode w 'pointer-out)))
168+ (cond ((windowp w)
169+ (focus-invoke-mode w 'pointer-out))
170+ ((eq w 'root)
171+ (focus-invoke-mode (input-focus) 'leave-root))))
168172
169173 (defun focus-in-fun (w)
170174 (focus-invoke-mode w 'focus-in)
--- a/lisp/gnome-menu.jl
+++ b/lisp/gnome-menu.jl
@@ -42,11 +42,21 @@
4242 nil))
4343
4444 (defvar gnome-menu-lang (let
45- ((lang (or (getenv "LC_ALL") (getenv "LANG"))))
46- (when (string= lang "en")
47- (setq lang nil))
48- lang)
49- "Language code used when constructing GNOME menus.")
45+ ((lang (or (getenv "LANGUAGE")
46+ (getenv "LC_ALL")
47+ (getenv "LC_MESSAGES")
48+ (getenv "LANG")))
49+ (all '()))
50+ (when (and lang (not (string= lang "en")))
51+ (setq all (cons lang all))
52+ (when (string-match "[.@]" lang)
53+ (setq lang (substring lang 0 (match-start)))
54+ (setq all (cons lang all)))
55+ (when (string-match "_" lang)
56+ (setq lang (substring lang 0 (match-start)))
57+ (setq all (cons lang all))))
58+ all)
59+ "List of language codes used when constructing GNOME menus.")
5060
5161 (defvar gnome-menu-roots (list (expand-file-name
5262 "apps" gnome-share-directory)
@@ -104,9 +114,8 @@
104114 (string-looking-at "Name=(.*)\n" line 0 t))
105115 (setq name (expand-last-match "\\1")))
106116 ((and (eq section 'desktop-entry) gnome-menu-lang
107- (string-looking-at
108- "Name\\[([^]]+)\\]=(.*)\n" line 0 t)
109- (string= gnome-menu-lang (expand-last-match "\\1")))
117+ (string-looking-at "Name\\[([^]]+)\\]=(.*)\n" line 0 t)
118+ (member (expand-last-match "\\1") gnome-menu-lang))
110119 (setq name (expand-last-match "\\2")))
111120 ((and (eq section 'desktop-entry)
112121 (string-looking-at "Exec=(.*)\n" line 0 t))
--- a/lisp/sawmill-gaol.jl
+++ b/lisp/sawmill-gaol.jl
@@ -45,7 +45,7 @@
4545 (defvar sawmill-safe-specials
4646 '(default-foreground display-name canonical-display-name
4747 default-font default-frame nil-frame frame-part-classes
48- decorate-transients))
48+ decorate-transients batch-mode))
4949
5050 (defvar sawmill-safe-features '(gtkrc gradient make-theme x))
5151
--- a/lisp/sawmill.jl
+++ b/lisp/sawmill.jl
@@ -49,7 +49,8 @@
4949 ;; load i18n support when necessary
5050 (unless batch-mode
5151 (let
52- ((lang (or (getenv "LC_ALL") (getenv "LANG") (getenv "LANGUAGE")))
52+ ((lang (or (getenv "LANGUAGE") (getenv "LC_ALL")
53+ (getenv "LC_MESSAGES") (getenv "LANG")))
5354 (disable-nls (get-command-line-option "--disable-nls")))
5455
5556 (when (and lang (not disable-nls) (not (string= lang "C")))
--- a/lisp/transient.jl
+++ b/lisp/transient.jl
@@ -72,8 +72,8 @@
7272 ;; if no parent, choose the topmost window (if in click-to-focus
7373 ;; mode) or the window under the pointer otherwise
7474 (if (eq focus-mode 'click)
75- (setq parent (query-pointer-window))
76- (setq parent nil))
75+ (setq parent nil)
76+ (setq parent (query-pointer-window)))
7777 (unless (or parent (eq focus-mode 'enter-exit))
7878 (setq parent (window-order-most-recent))))
7979 (when (or (null parent) (window-really-wants-input-p parent))
--- a/man/faq.texi
+++ b/man/faq.texi
@@ -56,7 +56,7 @@ try clicking both buttons simultaneously)
5656
5757 If, after reading this, you still think that sawfish isn't working,
5858 please send mail describing the problem to the sawfish mailing list
59-@email{sawfish@@aarg.net}
59+@email{sawmill@@aarg.net}
6060
6161
6262 @item How do I add customizations?
--- a/man/news.texi
+++ b/man/news.texi
@@ -6,9 +6,33 @@ This lists the user-visible changes made to Sawmill, and which releases
66 they occurred between. For more detailed information see the
77 @file{ChangeLog} files in the Sawmill source tree.
88
9+
10+@unnumberedsec 0.27.2
11+
12+@itemize @bullet
13+
14+@item Translation updates: da (Kenneth Christiansen), de (Karl
15
16+
17+@item Attempt to destructure the language code when parsing GNOME
18+desktop items (e.g. if @samp{LANG=de_DE} look for both @samp{de_DE} and
19+@samp{de} translations)
20+
21+@item New focus handler events @code{enter-root} and @code{leave-root}
22+
23+@item Removed @code{raise-groups-on-focus} option, it caused unstable
24+window flickering in certain cases
25+
26+@item Fixed bug When transferring focus after a window is unmapped
27+(inverted choice of when to look under pointer, and when to look in
28+focus history)
29+
30+@end itemize
31+
32+
933 @unnumberedsec 0.27
1034
11-@itemize
35+@itemize @bullet
1236
1337 @item Changed the name from @samp{sawmill} to @samp{sawfish}; all
1438 user-visible binaries have been renamed appropriately, the old programs
--- a/sawfish.spec.in
+++ b/sawfish.spec.in
@@ -1,19 +1,15 @@
11
2-%define nam sawfish
3-%define ver @version@
4-%define rel 1
5-
2+Name: sawfish
3+Version: @version@
4+Release: 1
65 Summary: a highly configurable and extensible X11 window manager
7-Name: %{nam}
8-Version: %{ver}
9-Release: %{rel}
106 Requires: librep >= 0.10, rep-gtk >= 0.8
117 Copyright: GPL
128 Group: User Interface/Desktops
13-Source: ftp://ftp.dcs.warwick.ac.uk/people/John.Harper/sawfish/sawfish-%{ver}.tar.gz
9+Source: ftp://ftp.dcs.warwick.ac.uk/people/John.Harper/sawfish/sawfish-%{version}.tar.gz
1410 URL: http://www.dcs.warwick.ac.uk/~john/sw/sawfish/
1511 Packager: John Harper <john@dcs.warwick.ac.uk>
16-Buildroot: /var/tmp/%{nam}-root
12+Buildroot: /var/tmp/%{name}-root
1713 BuildPrereq: rep-gtk-libglade control-center-devel gmp-devel
1814 PreReq: /sbin/install-info
1915 Obsoletes: sawmill
@@ -30,7 +26,7 @@ mostly-GNOME compliant.
3026 %package gnome
3127 Summary: GNOME support for sawfish
3228 Group: User Interface/Desktops
33-Requires: %{nam}
29+Requires: %{name}
3430 Obsoletes: sawmill-gnome
3531
3632 %description gnome
@@ -40,7 +36,7 @@ control center applet
4036 %package themer
4137 Summary: GUI for creating sawfish themes
4238 Group: User Interface/Desktops
43-Requires: %{nam}, rep-gtk-libglade
39+Requires: %{name}, rep-gtk-libglade
4440 Obsoletes: sawmill-themer
4541
4642 %description themer
@@ -82,8 +78,8 @@ fi
8278 %{_prefix}/bin/sawmill
8379 %{_prefix}/bin/sawmill-client
8480 %{_prefix}/bin/sawmill-ui
85-%{_prefix}/share/sawfish/%{ver}
86-%{_prefix}/libexec/sawfish/%{ver}/%{_host}
81+%{_prefix}/share/sawfish/%{version}
82+%{_prefix}/libexec/sawfish/%{version}/%{_host}
8783 %{_prefix}/info/sawfish*
8884
8985 %files gnome
@@ -99,7 +95,7 @@ fi
9995 %defattr(-,root,root)
10096 %{_prefix}/bin/sawfish-themer
10197 %{_prefix}/bin/sawmill-themer
102-%{_prefix}/share/sawfish/%{ver}/themer.glade
98+%{_prefix}/share/sawfish/%{version}/themer.glade
10399
104100 %changelog
105101 * Mon Apr 24 2000 John Harper <john@dcs.warwick.ac.uk>
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,12 @@
1+2000-05-18 John Harper <john@dcs.warwick.ac.uk>
2+
3+ * version 0.27.2
4+
5+2000-05-12 John Harper <john@dcs.warwick.ac.uk>
6+
7+ * events.c (enter_notify): ignore NotifyInferior events
8+ (entering from inner window), leave_notify has always done this
9+
110 2000-05-09 John Harper <john@dcs.warwick.ac.uk>
211
312 * version 0.27
--- a/src/events.c
+++ b/src/events.c
@@ -710,8 +710,11 @@ enter_notify (XEvent *ev)
710710 else
711711 {
712712 Lisp_Window *w = find_window_by_id (ev->xcrossing.window);
713- if (w != 0 && w->mapped && w->visible)
713+ if (w != 0 && w->mapped && w->visible
714+ && ev->xcrossing.detail != NotifyInferior)
715+ {
714716 Fcall_window_hook (Qenter_notify_hook, rep_VAL(w), Qnil, Qnil);
717+ }
715718 }
716719 }
717720