mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-05 21:34:17 +01:00
- Fixed small memory leak in the WINGs' font panel code.
- Fixed call to qsort in WMSortArray. - Fixed a memleak in the WINGs' file panel.
This commit is contained in:
@@ -3,7 +3,6 @@ aclocal.m4
|
||||
configure config.log config.cache config.guess config.status config.sub
|
||||
libtool ltconfig ltmain.sh
|
||||
autom4te.cache
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
update
|
||||
WindowMaker*.tar.gz
|
||||
|
||||
@@ -68,6 +68,8 @@ Changes since version 0.80.2:
|
||||
- Fixed bug with scrolling menus introduced by the xinerama patch.
|
||||
- Fixed bug that could cause SIGSEGV by accessing beyond the end of text in
|
||||
a WINGs textfield widget.
|
||||
- Fixed small memory leak in WINGs' font panel code.
|
||||
- Fixed memory leak in WINGs' file panel code.
|
||||
|
||||
|
||||
Changes since version 0.80.1:
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
Makefile Makefile.in
|
||||
get-wings-flags get-wutil-flags
|
||||
.libs
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
@@ -55,6 +55,9 @@ Changes since wmaker 0.80.1:
|
||||
- Added WMSetTableViewHasHorizontalScroller()
|
||||
- Fixed bug that could cause SIGSEGV by accessing beyond the end of text in
|
||||
a WINGs textfield widget.
|
||||
- Fixed small memory leak in the font panel code.
|
||||
- Fixed call to qsort in WMSortArray.
|
||||
- Fixed a memleak in the file panel.
|
||||
|
||||
|
||||
Changes since wmaker 0.80.0:
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
Makefile Makefile.in
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
Makefile Makefile.in
|
||||
connect server fontl puzzle UserTime.plist
|
||||
.libs
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
Makefile Makefile.in
|
||||
.libs
|
||||
test
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
Makefile Makefile.in
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
Makefile Makefile.in
|
||||
testtext testcolorpanel testmywidget wmfile wmquery wtest
|
||||
.libs
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
@@ -274,7 +274,9 @@ WMCountInArray(WMArray *array, void *item)
|
||||
void
|
||||
WMSortArray(WMArray *array, WMCompareDataProc *comparer)
|
||||
{
|
||||
qsort(array->items, array->itemCount, sizeof(void*), comparer);
|
||||
if (array->itemCount > 1) { /* Don't sort empty or single element arrays */
|
||||
qsort(array->items, array->itemCount, sizeof(void*), comparer);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
Makefile Makefile.in
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
*.pot
|
||||
*.mo
|
||||
|
||||
@@ -548,12 +548,15 @@ listDirectoryOnColumn(WMFilePanel *panel, int column, char *path)
|
||||
DIR *dir;
|
||||
struct stat stat_buf;
|
||||
char pbuf[PATH_MAX+16];
|
||||
char *name;
|
||||
|
||||
assert(column >= 0);
|
||||
assert(path != NULL);
|
||||
|
||||
/* put directory name in the title */
|
||||
WMSetBrowserColumnTitle(bPtr, column, get_name_from_path(path));
|
||||
name = get_name_from_path(path);
|
||||
WMSetBrowserColumnTitle(bPtr, column, name);
|
||||
wfree(name);
|
||||
|
||||
dir = opendir(path);
|
||||
|
||||
|
||||
@@ -831,15 +831,17 @@ getSelectedFont(FontPanel *panel, char buffer[], int bufsize)
|
||||
size = WMGetTextFieldText(panel->sizT);
|
||||
|
||||
snprintf(buffer, bufsize, "-%s-%s-%s-%s-%s-%s-%s-*-*-*-*-*-%s-%s",
|
||||
family->foundry,
|
||||
family->name,
|
||||
face->weight,
|
||||
face->slant,
|
||||
face->setWidth,
|
||||
face->addStyle,
|
||||
size,
|
||||
family->registry,
|
||||
family->encoding);
|
||||
family->foundry,
|
||||
family->name,
|
||||
face->weight,
|
||||
face->slant,
|
||||
face->setWidth,
|
||||
face->addStyle,
|
||||
size,
|
||||
family->registry,
|
||||
family->encoding);
|
||||
|
||||
wfree(size);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
Makefile Makefile.in
|
||||
WPrefs
|
||||
.libs
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
Makefile Makefile.in
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
*.pot
|
||||
*.mo
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
Makefile Makefile.in
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
Makefile Makefile.in
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
Makefile Makefile.in
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
Makefile Makefile.in
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
Makefile Makefile.in
|
||||
WMState WMWindowAttributes WindowMaker WMRootMenu
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
Makefile Makefile.in
|
||||
Default.iconset
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
Makefile Makefile.in
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
Makefile Makefile.in
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
Makefile Makefile.in
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
Makefile Makefile.in
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
Makefile Makefile.in
|
||||
WindowMaker.spec
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
Makefile Makefile.in
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
Makefile Makefile.in
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
@@ -1,8 +1,2 @@
|
||||
Makefile Makefile.in
|
||||
aclocal.m4
|
||||
configure config.log config.cache config.guess config.status config.sub
|
||||
libtool ltconfig ltmain.sh
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
update update-autoconf
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
libwmfun*.tar.gz
|
||||
|
||||
@@ -2,5 +2,4 @@ Makefile Makefile.in
|
||||
*.lo *.la
|
||||
stamp-h stamp-h.in config.h config.h.in
|
||||
.libs
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
Makefile Makefile.in
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
*.pot
|
||||
*.mo
|
||||
|
||||
@@ -2,5 +2,4 @@ Makefile Makefile.in
|
||||
config.h config.h.in wconfig.h stamp-h stamp-h1 stamp-h.in
|
||||
.libs
|
||||
wmaker
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
Makefile Makefile.in
|
||||
wtest
|
||||
.libs
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
@@ -2,5 +2,4 @@ Makefile Makefile.in
|
||||
wmsetup wmagnify wxcopy wxpaste wdwrite getstyle setstyle seticons geticonset
|
||||
wmsetbg wmaker.inst wdread wmchlocale
|
||||
.libs
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
Makefile Makefile.in
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
@@ -2,5 +2,4 @@ Makefile Makefile.in
|
||||
*.lo *.la
|
||||
view testgrad testdraw testrot get-wraster-flags
|
||||
.libs
|
||||
.psrc .inslog2 tca.map tca.log
|
||||
*.rpt
|
||||
.psrc .inslog2 tca.map tca.log pchdir *.rpt
|
||||
|
||||
Reference in New Issue
Block a user