1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

- fixed crash when saving window attributes

- updated german translation
- small fix for the selection code in WINGs (possible memleak)
- added support for the ukrainian language in wsetfont
  (Bohdan Vlasyuk <bohdan@bodq.vstu.vinnica.ua>)
This commit is contained in:
dan
2002-01-17 03:07:28 +00:00
parent 8a25fdc672
commit 511a06628b
6 changed files with 1293 additions and 774 deletions

View File

@@ -17,6 +17,10 @@ Changes since version 0.80.0:
- Fixed another focus related problem when changing workspaces.
- Fixed problem with saving session when shared appicon is enabled (not
all instances were saved in the session, only one per shared appicon)
- Added support for the ukrainian language in wsetfont
(Bohdan Vlasyuk <bohdan@bodq.vstu.vinnica.ua>)
- Fixed a bug that crashed Window Maker when setting the "Emulate AppIcon"
option for a window using the window Inspector.
Changes since version 0.70.0:

View File

@@ -370,7 +370,6 @@ W_HandleSelectionEvent(XEvent *event)
Bool
WMCreateSelectionHandler(WMView *view, Atom selection, Time timestamp,
WMSelectionProcs *procs, void *cdata)
@@ -417,6 +416,12 @@ WMRequestSelection(WMView *view, Atom selection, Atom target, Time timestamp,
if (XGetSelectionOwner(W_VIEW_SCREEN(view)->display, selection) == None)
return False;
if (!XConvertSelection(W_VIEW_SCREEN(view)->display, selection, target,
W_VIEW_SCREEN(view)->clipboardAtom,
W_VIEW_DRAWABLE(view), timestamp)) {
return False;
}
handler = wmalloc(sizeof(SelectionCallback));
handler->view = view;
@@ -433,12 +438,6 @@ WMRequestSelection(WMView *view, Atom selection, Atom target, Time timestamp,
WMAddToArray(selCallbacks, handler);
if (!XConvertSelection(W_VIEW_SCREEN(view)->display, selection, target,
W_VIEW_SCREEN(view)->clipboardAtom,
W_VIEW_DRAWABLE(view), timestamp)) {
return False;
}
return True;
}

View File

@@ -8,7 +8,8 @@ ja.po Japanese 1 ABE Shige <sabe@ibm.net>
Takeo Hashimoto <HashimotoTakeo@mac.com>
pt.po Portuguese Eliphas Levy Theodoro <eliphas@conectiva.com.br>
de.po German Bernd Eggert <Bernd.Eggert@t-online.de>
[Matthias Warkus <mawarkus@t-online.de>]
Matthias Warkus <mawarkus@t-online.de>
Guido Scholz <guido.scholz@bayernline.de>
es.po Spanish Raul Benito Garcia <raul@fi.upm.es>
ko.po Korean 1,2 Byeong-Chan Kim <redhands@linux.sarang.net>
sv.po Swedish John Forgoil <forgoil@rsn.hk-r.se>

1995
po/de.po

File diff suppressed because it is too large Load Diff

View File

@@ -652,17 +652,19 @@ saveSettings(WMButton *button, InspectorPanel *panel)
different |= insertAttribute(dict, winDic, ANoLanguageButton, value, flags);
#endif
value = (WMGetButtonSelected(panel->appChk[0])!=0) ? Yes : No;
different2 |= insertAttribute(dict, appDic, AStartHidden, value, flags);
if (wwin->main_window!=None && wApplicationOf(wwin->main_window)!=NULL) {
value = (WMGetButtonSelected(panel->appChk[0])!=0) ? Yes : No;
different2 |= insertAttribute(dict, appDic, AStartHidden, value, flags);
value = (WMGetButtonSelected(panel->appChk[1])!=0) ? Yes : No;
different2 |= insertAttribute(dict, appDic, ANoAppIcon, value, flags);
value = (WMGetButtonSelected(panel->appChk[1])!=0) ? Yes : No;
different2 |= insertAttribute(dict, appDic, ANoAppIcon, value, flags);
value = (WMGetButtonSelected(panel->appChk[2])!=0) ? Yes : No;
different2 |= insertAttribute(dict, appDic, ASharedAppIcon, value, flags);
value = (WMGetButtonSelected(panel->appChk[2])!=0) ? Yes : No;
different2 |= insertAttribute(dict, appDic, ASharedAppIcon, value, flags);
}
if (panel->inspected->fake_group) {
key2 = WMCreatePLString(panel->inspected->fake_group->identifier);
if (wwin->fake_group) {
key2 = WMCreatePLString(wwin->fake_group->identifier);
if (WMIsPropListEqualTo(key, key2)) {
WMMergePLDictionaries(winDic, appDic, True);
different |= different2;
@@ -674,8 +676,8 @@ saveSettings(WMButton *button, InspectorPanel *panel)
}
WMReleasePropList(key2);
WMReleasePropList(appDic);
} else if (panel->inspected->main_window != panel->inspected->client_win) {
WApplication *wapp = wApplicationOf(panel->inspected->main_window);
} else if (wwin->main_window != wwin->client_win) {
WApplication *wapp = wApplicationOf(wwin->main_window);
if (wapp) {
char *instance = wapp->main_window_desc->wm_instance;

View File

@@ -25,8 +25,10 @@
# Luke Kendall <luke@research.canon.com.au>
# Bug fix info for Korean font section from:
# CHOI Junho <junker@jazz.snu.ac.kr>
# Ukrainian fontset info from:
# Bohdan Vlasyuk <bohdan@vstu.edu.ua>
VERSION="Version 0.5 1998/12/07"
VERSION="Version 0.6 2002/01/12"
WDWRITE="wdwrite"
WDREAD="wdread"
@@ -48,6 +50,7 @@ Usage: $VERSION
korean helvetica/-*-kodig(ksc5601) See *Note1.
korean2 helvetica/daewoo(ksc5601) Included in X11R6/XFree86("fnon" pkg)
russian helvetica(koi8-r) Included in X11R6/XFree86("fcyr" pkg)
ukrainian helvetica(koi8-u) See *Note1.
turkish unknown See *Note2.
-----------------------------------------------------------------------
Latin1 Languages: Danish/Dutch/English/Finnish/French/Galician/German/
@@ -55,11 +58,12 @@ Latin1 Languages: Danish/Dutch/English/Finnish/French/Galician/German/
Latin2 Languages: Croatian/Czech/Polish/Romanian/Slovenian/...
*Note1: Not included in X11R6/XFree86. You can download them from ...
Latin2 X fonts packages: http://sizif.mf.uni-lj.si/linux/cee/iso8859-2.html
Greek X fonts packages: ftp://argeas.argos.hol.gr/pub/unix/linux/GREEK/fonts/
ftp://ftp.ntua.gr/pub/fonts/X11/
Korean X fonts packages: ftp://linux.sarang.net (Linux RPM)
ftp://ftp.kaist.ac.kr/pub/hangul/fonts
Latin2 X fonts packages: http://sizif.mf.uni-lj.si/linux/cee/iso8859-2.html
Greek X fonts packages: ftp://argeas.argos.hol.gr/pub/unix/linux/GREEK/fonts/
ftp://ftp.ntua.gr/pub/fonts/X11/
Korean X fonts packages: ftp://linux.sarang.net (Linux RPM)
ftp://ftp.kaist.ac.kr/pub/hangul/fonts
Ukrainian X fonts packages: http://www.inp.nsk.su/~bolkhov/files/fonts/cyr-rfx/
*Note2: please let me know appropriate font setting for WMGLOBAL/WindowMaker,
and the fonts' URL to download. mail-to: manome@itlb.te.noda.sut.ac.jp
EOF
@@ -97,13 +101,14 @@ fi
#
# For --auto and --locale= switch...
#
all_codings="latin1 latin2 greek japanese korean2 russian"
all_codings="latin1 latin2 greek japanese korean2 russian ukrainian"
latin1="ca da de gl nl fi fr de is it no pt es sv se"
latin2="hr cz cs hu pl ro sk sl"
greek="el"
japanese="ja"
korean2="ko"
russian="ru bg"
ukrainian="uk" # note that it's really uk, not ua.
#
# These are lists of all domains and keys we're gonna change...
@@ -127,7 +132,7 @@ NotFont="MultiByteText"
# of $NonedefAble will have changed only coding part of font name (if --nodef
# command line argument is used).
#
NodefAble="default latin1 latin2 greek russian"
NodefAble="default latin1 latin2 greek russian ukrainian"
NodefUnable="japanese korean korean2"
Supported="$NodefAble $NodefUnable"
@@ -136,12 +141,15 @@ defaultCoding="*-*"
latin2Coding="iso8859-2"
greekCoding="iso8859-7"
russianCoding="koi8-r"
ukrainianCoding="koi8-u"
defaultMultiByteText="AUTO"
latin1MultiByteText="NO"
latin2MultiByteText="YES"
greekMultiByteText="YES"
russianMultiByteText="YES"
ukrainianMultiByteText="YES"
#
# Default WindowMaker fonts for NodefAble font families (part telling us