cgui-develop Mailing List for CGUI - a gui lib for multiplatform
Brought to you by:
chrisan,
rasmusmyklebust
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
(43) |
May
(9) |
Jun
(35) |
Jul
|
Aug
|
Sep
(3) |
Oct
(2) |
Nov
(2) |
Dec
(9) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(26) |
Feb
(12) |
Mar
(17) |
Apr
(4) |
May
(157) |
Jun
(19) |
Jul
(21) |
Aug
(1) |
Sep
(36) |
Oct
(10) |
Nov
(19) |
Dec
(21) |
2005 |
Jan
(10) |
Feb
(20) |
Mar
(8) |
Apr
(30) |
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
(42) |
Oct
(73) |
Nov
(38) |
Dec
(13) |
2006 |
Jan
|
Feb
|
Mar
(57) |
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(11) |
2007 |
Jan
(8) |
Feb
|
Mar
|
Apr
(213) |
May
|
Jun
|
Jul
(70) |
Aug
(53) |
Sep
(18) |
Oct
(17) |
Nov
(12) |
Dec
(11) |
2008 |
Jan
|
Feb
|
Mar
|
Apr
(12) |
May
|
Jun
(28) |
Jul
(40) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
(7) |
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
(6) |
Aug
(5) |
Sep
(3) |
Oct
|
Nov
(25) |
Dec
(12) |
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
From: SourceForge.net <no...@so...> - 2010-12-26 11:51:41
|
Bugs item #3145026, was opened at 2010-12-26 11:17 Message generated for change (Settings changed) made by chrisan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542642&aid=3145026&group_id=75005 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Windows Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Christer Sandberg (chrisan) Assigned to: Christer Sandberg (chrisan) Summary: Problem with disk unit selection Initial Comment: Problem with disk unit selection in the file browser ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542642&aid=3145026&group_id=75005 |
From: Christer S. <ch...@us...> - 2010-12-26 11:50:29
|
Update of /cvsroot/cgui/cgui/misc In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv32614/misc Modified Files: Tag: Branch_CGUI_1-6-7 makefile.uni Log Message: Fixed bug 3145026; Fixed problem with handling of line endings in unix script Index: makefile.uni =================================================================== RCS file: /cvsroot/cgui/cgui/misc/makefile.uni,v retrieving revision 1.1.1.1.2.4.2.6 retrieving revision 1.1.1.1.2.4.2.7 diff -C2 -d -r1.1.1.1.2.4.2.6 -r1.1.1.1.2.4.2.7 *** makefile.uni 7 Oct 2007 16:37:18 -0000 1.1.1.1.2.4.2.6 --- makefile.uni 26 Dec 2010 11:50:21 -0000 1.1.1.1.2.4.2.7 *************** *** 191,198 **** COMPILE_C_TO_OBJ_DEPS = define COMPILE_C_TO_OBJ ! gcc $(COMPILE_FLAGS) -I./include -o $@ -c $< endef define COMPILE_C_TO_OBJ_NO_OPTIMIZE ! gcc $(COMPILE_FLAGS_NO_OPTIMIZE) -I./include -o $@ -c $< endef --- 191,198 ---- COMPILE_C_TO_OBJ_DEPS = define COMPILE_C_TO_OBJ ! gcc $(COMPILE_FLAGS) -I./include -I./src -o $@ -c $< endef define COMPILE_C_TO_OBJ_NO_OPTIMIZE ! gcc $(COMPILE_FLAGS_NO_OPTIMIZE) -I./include -I./src -o $@ -c $< endef |
From: Christer S. <ch...@us...> - 2010-12-26 11:50:28
|
Update of /cvsroot/cgui/cgui In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv32614 Modified Files: Tag: Branch_CGUI_1-6-7 fix.sh Log Message: Fixed bug 3145026; Fixed problem with handling of line endings in unix script Index: fix.sh =================================================================== RCS file: /cvsroot/cgui/cgui/fix.sh,v retrieving revision 1.1.1.1.2.1.2.3 retrieving revision 1.1.1.1.2.1.2.4 diff -C2 -d -r1.1.1.1.2.1.2.3 -r1.1.1.1.2.1.2.4 *** fix.sh 8 Nov 2005 08:30:43 -0000 1.1.1.1.2.1.2.3 --- fix.sh 26 Dec 2010 11:50:20 -0000 1.1.1.1.2.1.2.4 *************** *** 22,29 **** echo " --mtou Convert from Macintosh to Unix format" echo " --ttos Convert tabs to 3 spaces int c-files" ! echo "If no parameter is specified, --dtou is assumed." ! echo ! ! CGUI_NOCONV="1" } --- 22,27 ---- echo " --mtou Convert from Macintosh to Unix format" echo " --ttos Convert tabs to 3 spaces int c-files" ! echo "" ! LINE_ENDING_CONVERSION="0"; } *************** *** 39,49 **** } - proc_noexist() - { - echo "Sorry, CGUI has not been ported to $1." - echo "Want to help?" - CGUI_NOCONV="1" - } - proc_filelist() { --- 37,40 ---- *************** *** 131,136 **** } ! # prepare CGUI for the given platform. case "$1" in "djgpp" ) proc_fix "DOS (djgpp)" "makefile.dj";; --- 122,132 ---- } ! if [ $# -gt 1 ]; then ! LINE_ENDING_CONVERSION="1"; ! else ! LINE_ENDING_CONVERSION="0"; ! fi; + # prepare CGUI for the given platform. case "$1" in "djgpp" ) proc_fix "DOS (djgpp)" "makefile.dj";; *************** *** 146,150 **** # convert all text-file line endings. ! if [ "$CGUI_NOCONV" != "1" ]; then case "$2" in "--utod" ) proc_utod;; --- 142,146 ---- # convert all text-file line endings. ! if [ "$LINE_ENDING_CONVERSION" -eq "1" ]; then case "$2" in "--utod" ) proc_utod;; *************** *** 154,163 **** "--ttos" ) proc_ttos;; "--quick" ) echo "No text file conversion...";; ! * ) if [ "$1" != "mac" ]; then ! proc_utod ! else ! proc_utom ! fi;; ! esac fi --- 150,155 ---- "--ttos" ) proc_ttos;; "--quick" ) echo "No text file conversion...";; ! * ) if [ "$1" == "mac" ]; then proc_utom; fi;; ! esac; fi |
From: Christer S. <ch...@us...> - 2010-12-26 11:50:28
|
Update of /cvsroot/cgui/cgui/src In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv32614/src Modified Files: Tag: Branch_CGUI_1-6-7 files.c Log Message: Fixed bug 3145026; Fixed problem with handling of line endings in unix script Index: files.c =================================================================== RCS file: /cvsroot/cgui/cgui/src/files.c,v retrieving revision 1.1.4.10 retrieving revision 1.1.4.11 diff -C2 -d -r1.1.4.10 -r1.1.4.11 *** files.c 14 Jul 2008 20:20:39 -0000 1.1.4.10 --- files.c 26 Dec 2010 11:50:21 -0000 1.1.4.11 *************** *** 452,455 **** --- 452,457 ---- char buf[MAXPATH]; int i; + int drive; + unsigned long drives_mask; if (n_disks == 0) { *************** *** 457,467 **** sprintf(disk_units[n_disks++], "%c:", toupper(*rpath)); } else { ! strcpy(disk_units[n_disks++], "A:"); ! for (i = 2; i < MAXDISKS; i++) { ! _al_getdcwd(i, buf, MAXPATH); ! if (*buf) { ! strcpy(disk_units[n_disks], "A:"); ! *disk_units[n_disks] += i; ! n_disks++; } } --- 459,472 ---- sprintf(disk_units[n_disks++], "%c:", toupper(*rpath)); } else { ! for (drive = 1, drives_mask = _getdrives(); drives_mask != 0; ++drive, drives_mask >>= 1) { ! /* Check if the drive is valid */ ! if (drives_mask & 1 != 0) { ! /* Get the current working directory path of the drive */ ! if (_getdcwd(drive, buf, sizeof(buf)) != 0) { ! /* Copy only the drive prefix from the path */ ! strncpy(disk_units[n_disks], buf, 2); ! disk_units[n_disks][0] = toupper(disk_units[n_disks][0]); ! ++n_disks; ! } } } |
From: Christer S. <ch...@us...> - 2010-12-26 11:50:28
|
Update of /cvsroot/cgui/cgui/docs In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv32614/docs Modified Files: Tag: Branch_CGUI_1-6-7 changes._tx Log Message: Fixed bug 3145026; Fixed problem with handling of line endings in unix script Index: changes._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/changes._tx,v retrieving revision 1.4.2.9.2.79 retrieving revision 1.4.2.9.2.80 diff -C2 -d -r1.4.2.9.2.79 -r1.4.2.9.2.80 *** changes._tx 6 Dec 2009 17:08:47 -0000 1.4.2.9.2.79 --- changes._tx 26 Dec 2010 11:50:21 -0000 1.4.2.9.2.80 *************** *** 42,45 **** --- 42,47 ---- <ul> <li> + Fixed bug 3145026. + <li> Fixed bug 2909680. <li> |
From: SourceForge.net <no...@so...> - 2010-12-26 11:17:47
|
Bugs item #3145026, was opened at 2010-12-26 11:17 Message generated for change (Tracker Item Submitted) made by chrisan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542642&aid=3145026&group_id=75005 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Windows Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Christer Sandberg (chrisan) Assigned to: Christer Sandberg (chrisan) Summary: Problem with disk unit selection Initial Comment: Problem with disk unit selection in the file browser ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542642&aid=3145026&group_id=75005 |
From: Christer S. <ch...@us...> - 2009-12-06 18:28:20
|
Update of /cvsroot/cgui/cgui/src In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv6122/src Modified Files: Tag: Branch_CGUI_1-6-7 msm.c Log Message: Removed traces Index: msm.c =================================================================== RCS file: /cvsroot/cgui/cgui/src/msm.c,v retrieving revision 1.1.2.1.2.14 retrieving revision 1.1.2.1.2.15 diff -C2 -d -r1.1.2.1.2.14 -r1.1.2.1.2.15 *** msm.c 6 Dec 2009 16:59:23 -0000 1.1.2.1.2.14 --- msm.c 6 Dec 2009 18:28:12 -0000 1.1.2.1.2.15 *************** *** 358,362 **** } else if (isGrippable(b, 0xff) && (data = b->Grip(b->gripdata, b->id, DD_OVER_GRIP)) != NULL) { SetGripped(b, x, y); - printf("gripi %p\n", b); msmf1.gripdata = data; b->state = MS_OVER; --- 358,361 ---- *************** *** 420,424 **** } else { SetGripped(b, x, y); /* Set pos again */ - printf("grip0 %p\n", b); b->Grip(b->gripdata, b->id, DD_GRIPPED); b->state = MS_GRIPPED; --- 419,422 ---- *************** *** 665,669 **** RequestCursor(m, CURS_DRAGGABLE); SetGripped(b, x, y); /* Set new pos */ - printf("gripp %p\n", b); b->Grip(b->gripdata, b->id, DD_GRIPPED); b->state = MS_GRIPPED; --- 663,666 ---- *************** *** 700,704 **** b->state = MS_INIT; SetGripped(b, x, y); /* Set pos again */ - printf("gripd %p\n", b); ReturnState1(); RequestCursor(m, CURS_DEFAULT); --- 697,700 ---- |
From: Christer S. <ch...@us...> - 2009-12-06 17:08:58
|
Update of /cvsroot/cgui/cgui/misc In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv24992/misc Modified Files: Tag: Branch_CGUI_1-6-7 fixver.sh makefile.ver zipup.sh Log Message: Eliminated warnings; Prepared new release Index: makefile.ver =================================================================== RCS file: /cvsroot/cgui/cgui/misc/makefile.ver,v retrieving revision 1.3.2.3.2.22 retrieving revision 1.3.2.3.2.23 diff -C2 -d -r1.3.2.3.2.22 -r1.3.2.3.2.23 *** makefile.ver 11 Nov 2009 07:31:57 -0000 1.3.2.3.2.22 --- makefile.ver 6 Dec 2009 17:08:47 -0000 1.3.2.3.2.23 *************** *** 7,10 **** # Shared library versions for Unix # todo: this is unused at the moment ! shared_version = 2.0.3 shared_major_minor = 2.0 --- 7,10 ---- # Shared library versions for Unix # todo: this is unused at the moment ! shared_version = 2.0.4 shared_major_minor = 2.0 Index: zipup.sh =================================================================== RCS file: /cvsroot/cgui/cgui/misc/zipup.sh,v retrieving revision 1.3.2.5.2.24 retrieving revision 1.3.2.5.2.25 diff -C2 -d -r1.3.2.5.2.24 -r1.3.2.5.2.25 *** zipup.sh 11 Nov 2009 07:31:57 -0000 1.3.2.5.2.24 --- zipup.sh 6 Dec 2009 17:08:47 -0000 1.3.2.5.2.25 *************** *** 10,15 **** # note: these are patched by fixver.sh script. ! zipversion=203 ! tgzversion=2.0.3 if [ "$1" != "-q" ]; then --- 10,15 ---- # note: these are patched by fixver.sh script. ! zipversion=204 ! tgzversion=2.0.4 if [ "$1" != "-q" ]; then Index: fixver.sh =================================================================== RCS file: /cvsroot/cgui/cgui/misc/fixver.sh,v retrieving revision 1.5.2.3.2.36 retrieving revision 1.5.2.3.2.37 diff -C2 -d -r1.5.2.3.2.36 -r1.5.2.3.2.37 *** fixver.sh 11 Nov 2009 07:31:57 -0000 1.5.2.3.2.36 --- fixver.sh 6 Dec 2009 17:08:47 -0000 1.5.2.3.2.37 *************** *** 5,9 **** cv1=2 cv2=0 ! cv3=3 cv4= --- 5,9 ---- cv1=2 cv2=0 ! cv3=4 cv4= |
Update of /cvsroot/cgui/cgui/docs In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv24992/docs Modified Files: Tag: Branch_CGUI_1-6-7 cgui._tx changes._tx internal._tx thanks._tx wishlist._tx Log Message: Eliminated warnings; Prepared new release Index: internal._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/internal._tx,v retrieving revision 1.4.2.3.2.36 retrieving revision 1.4.2.3.2.37 diff -C2 -d -r1.4.2.3.2.36 -r1.4.2.3.2.37 *** internal._tx 11 Nov 2009 07:31:57 -0000 1.4.2.3.2.36 --- internal._tx 6 Dec 2009 17:08:47 -0000 1.4.2.3.2.37 *************** *** 14,18 **** @rtfh=CGUI Internal @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.3" "CGUI" "CGUI Internal" @$\input texinfo @$@setfilename internal.inf --- 14,18 ---- @rtfh=CGUI Internal @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.4" "CGUI" "CGUI Internal" @$\input texinfo @$@setfilename internal.inf Index: wishlist._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/wishlist._tx,v retrieving revision 1.4.2.3.2.36 retrieving revision 1.4.2.3.2.37 diff -C2 -d -r1.4.2.3.2.36 -r1.4.2.3.2.37 *** wishlist._tx 11 Nov 2009 07:31:57 -0000 1.4.2.3.2.36 --- wishlist._tx 6 Dec 2009 17:08:47 -0000 1.4.2.3.2.37 *************** *** 8,12 **** @document_title=CGUI whishlist @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.3" "CGUI" "CGUI whishlist" @rtfh=CGUI Wish List @$\input texinfo --- 8,12 ---- @document_title=CGUI whishlist @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.4" "CGUI" "CGUI whishlist" @rtfh=CGUI Wish List @$\input texinfo Index: thanks._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/thanks._tx,v retrieving revision 1.4.2.4.2.38 retrieving revision 1.4.2.4.2.39 diff -C2 -d -r1.4.2.4.2.38 -r1.4.2.4.2.39 *** thanks._tx 11 Nov 2009 07:31:57 -0000 1.4.2.4.2.38 --- thanks._tx 6 Dec 2009 17:08:47 -0000 1.4.2.4.2.39 *************** *** 10,14 **** @document_title=CGUI Contributors @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.3" "CGUI" "CGUI thanks" @rtfh=Adime Thanks List @$\input texinfo --- 10,14 ---- @document_title=CGUI Contributors @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.4" "CGUI" "CGUI thanks" @rtfh=Adime Thanks List @$\input texinfo Index: cgui._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/cgui._tx,v retrieving revision 1.4.2.7.2.60 retrieving revision 1.4.2.7.2.61 diff -C2 -d -r1.4.2.7.2.60 -r1.4.2.7.2.61 *** cgui._tx 15 Nov 2009 18:20:17 -0000 1.4.2.7.2.60 --- cgui._tx 6 Dec 2009 17:08:47 -0000 1.4.2.7.2.61 *************** *** 12,16 **** @rtfh=CGUI - a C-based GUI @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.3" "CGUI" "CGUI manual" @$\input texinfo @$@setfilename cgui.inf --- 12,16 ---- @rtfh=CGUI - a C-based GUI @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.4" "CGUI" "CGUI manual" @$\input texinfo @$@setfilename cgui.inf *************** *** 30,34 **** <center>Email: <email>chr...@md...</a></center> <center>Homepage: <a href="http://www.idt.mdh.se/~csg/cgui/">http://www.idt.mdh.se/~csg/cgui/</a></center> ! <center><b>The Manual of CGUI 2.0.3 </center> @!text --- 30,34 ---- <center>Email: <email>chr...@md...</a></center> <center>Homepage: <a href="http://www.idt.mdh.se/~csg/cgui/">http://www.idt.mdh.se/~csg/cgui/</a></center> ! <center><b>The Manual of CGUI 2.0.4 </center> @!text Index: changes._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/changes._tx,v retrieving revision 1.4.2.9.2.78 retrieving revision 1.4.2.9.2.79 diff -C2 -d -r1.4.2.9.2.78 -r1.4.2.9.2.79 *** changes._tx 6 Dec 2009 16:59:23 -0000 1.4.2.9.2.78 --- changes._tx 6 Dec 2009 17:08:47 -0000 1.4.2.9.2.79 *************** *** 8,12 **** @document_title=Changes in CGUI @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.3" "CGUI" "CGUI changes" @rtfh=Changes in CGUI @$\input texinfo --- 8,12 ---- @document_title=Changes in CGUI @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.4" "CGUI" "CGUI changes" @rtfh=Changes in CGUI @$\input texinfo |
From: Christer S. <ch...@us...> - 2009-12-06 17:08:56
|
Update of /cvsroot/cgui/cgui/include In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv24992/include Modified Files: Tag: Branch_CGUI_1-6-7 cgui.h Log Message: Eliminated warnings; Prepared new release Index: cgui.h =================================================================== RCS file: /cvsroot/cgui/cgui/include/cgui.h,v retrieving revision 1.5.2.7.2.52 retrieving revision 1.5.2.7.2.53 diff -C2 -d -r1.5.2.7.2.52 -r1.5.2.7.2.53 *** cgui.h 11 Nov 2009 07:31:57 -0000 1.5.2.7.2.52 --- cgui.h 6 Dec 2009 17:08:47 -0000 1.5.2.7.2.53 *************** *** 24,31 **** #define CGUI_VERSION_MAJOR 2 #define CGUI_VERSION_MINOR 0 ! #define CGUI_VERSION_PATCH 3 ! #define CGUI_VERSION_STRING "2.0.3" ! #define CGUI_DATE 20091111 /* yyyymmdd */ ! #define CGUI_DATE_STRING "Nov 11, 2009" /* Init */ --- 24,31 ---- #define CGUI_VERSION_MAJOR 2 #define CGUI_VERSION_MINOR 0 ! #define CGUI_VERSION_PATCH 4 ! #define CGUI_VERSION_STRING "2.0.4" ! #define CGUI_DATE 20091206 /* yyyymmdd */ ! #define CGUI_DATE_STRING "Dec 06, 2009" /* Init */ |
From: Christer S. <ch...@us...> - 2009-12-06 17:08:56
|
Update of /cvsroot/cgui/cgui/src In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv24992/src Modified Files: Tag: Branch_CGUI_1-6-7 cguiinit.c filedat.c Log Message: Eliminated warnings; Prepared new release Index: cguiinit.c =================================================================== RCS file: /cvsroot/cgui/cgui/src/cguiinit.c,v retrieving revision 1.1.2.1.2.5 retrieving revision 1.1.2.1.2.6 diff -C2 -d -r1.1.2.1.2.5 -r1.1.2.1.2.6 *** cguiinit.c 6 Sep 2007 18:57:24 -0000 1.1.2.1.2.5 --- cguiinit.c 6 Dec 2009 17:08:47 -0000 1.1.2.1.2.6 *************** *** 54,62 **** switch (cgui_starting_in_progress) { case 0: ! printf(s); getchar(); break; case 1: ! printf(s); readkey(); getchar(); --- 54,62 ---- switch (cgui_starting_in_progress) { case 0: ! puts(s); getchar(); break; case 1: ! puts(s); readkey(); getchar(); Index: filedat.c =================================================================== RCS file: /cvsroot/cgui/cgui/src/filedat.c,v retrieving revision 1.1.2.2.2.6 retrieving revision 1.1.2.2.2.7 diff -C2 -d -r1.1.2.2.2.6 -r1.1.2.2.2.7 *** filedat.c 28 Jul 2007 21:01:39 -0000 1.1.2.2.2.6 --- filedat.c 6 Dec 2009 17:08:47 -0000 1.1.2.2.2.7 *************** *** 57,79 **** char magic[4]; FILE *fp; ! int pck; *pack = 0; fp = fopen(path, "r"); if (fp) { ! fread(magic, 1, 4, fp); fclose(fp); ! if (magic[0] == (char)((F_NOPACK_MAGIC >> 24) & 0xff) && magic[1] == (char)((F_NOPACK_MAGIC >> 16) & 0xff) && ! magic[2] == (char)((F_NOPACK_MAGIC >> 8) & 0xff) && magic[3] == (char)( F_NOPACK_MAGIC & 0xff)) { - return 1; - } else if (magic[0] == (char)((F_PACK_MAGIC >> 24) & 0xff) && magic[1] == (char)((F_PACK_MAGIC >> 16) & 0xff) && - magic[2] == (char)((F_PACK_MAGIC >> 8) & 0xff) && magic[3] == (char)( F_PACK_MAGIC & 0xff)) { - *pack = 1; - return 1; - } else { - if (CheckAnyPassword(path, &pck)) { - *pack = pck; return 1; } } --- 57,81 ---- char magic[4]; FILE *fp; ! int pck, n; *pack = 0; fp = fopen(path, "r"); if (fp) { ! n = fread(magic, 1, 4, fp); fclose(fp); ! if (n == 4) { ! if (magic[0] == (char)((F_NOPACK_MAGIC >> 24) & 0xff) && magic[1] == (char)((F_NOPACK_MAGIC >> 16) & 0xff) && ! magic[2] == (char)((F_NOPACK_MAGIC >> 8) & 0xff) && magic[3] == (char)( F_NOPACK_MAGIC & 0xff)) { return 1; + } else if (magic[0] == (char)((F_PACK_MAGIC >> 24) & 0xff) && magic[1] == (char)((F_PACK_MAGIC >> 16) & 0xff) && + magic[2] == (char)((F_PACK_MAGIC >> 8) & 0xff) && magic[3] == (char)( F_PACK_MAGIC & 0xff)) { + *pack = 1; + return 1; + } else { + if (CheckAnyPassword(path, &pck)) { + *pack = pck; + return 1; + } } } |
From: SourceForge.net <no...@so...> - 2009-12-06 17:01:05
|
Bugs item #2909680, was opened at 2009-12-06 16:56 Message generated for change (Settings changed) made by chrisan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542642&aid=2909680&group_id=75005 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: All platforms Group: MainBranch >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Christer Sandberg (chrisan) Assigned to: Christer Sandberg (chrisan) Summary: App may crash when fast repeated key press on close action Initial Comment: An application may crash when the user make quick repeated key press on and the key presses generates events that makes the application quite and release its memory. The problem can not be observer on a normal modern computer, but can be easily simulated by running the application through valgrind or by adding delays (busy wait). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542642&aid=2909680&group_id=75005 |
From: SourceForge.net <no...@so...> - 2009-12-06 17:00:05
|
Bugs item #2909679, was opened at 2009-12-06 16:51 Message generated for change (Settings changed) made by chrisan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542642&aid=2909679&group_id=75005 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: All platforms Group: MainBranch >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Christer Sandberg (chrisan) Assigned to: Christer Sandberg (chrisan) Summary: App may crash when finishing drag-drop operation Initial Comment: When dropping a dragged item (e.g. an item from one list box is dropped in another list box), and the dropper call back re-builds the list-boxes, then a memory violation error occur. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542642&aid=2909679&group_id=75005 |
From: Christer S. <ch...@us...> - 2009-12-06 16:59:36
|
Update of /cvsroot/cgui/cgui/src In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv23278/src Modified Files: Tag: Branch_CGUI_1-6-7 menubar.c menuitem.c msm.c msm.h obmensel.c Log Message: Fixed bug 2909679 Index: menubar.c =================================================================== RCS file: /cvsroot/cgui/cgui/src/menubar.c,v retrieving revision 1.1.2.1.2.3 retrieving revision 1.1.2.1.2.4 diff -C2 -d -r1.1.2.1.2.3 -r1.1.2.1.2.4 *** menubar.c 14 Jul 2008 20:20:44 -0000 1.1.2.1.2.3 --- menubar.c 6 Dec 2009 16:59:23 -0000 1.1.2.1.2.4 *************** *** 68,72 **** b->state = MS_MENU_BAR_OVER; } ! SetClick(m, b, x, y); StopHotKeys(); return 1; --- 68,72 ---- b->state = MS_MENU_BAR_OVER; } ! SetClick(b, x, y); StopHotKeys(); return 1; *************** *** 79,83 **** t_mousedata * m, t_object * b) { ! if (!inProgress(m)) { ResetState(m, b); return 0; --- 79,83 ---- t_mousedata * m, t_object * b) { ! if (!inProgress()) { ResetState(m, b); return 0; *************** *** 93,97 **** b->state = MS_MENU_BAR_INIT; StartHotKeys(); ! ReturnState1(m); return 0; } --- 93,97 ---- b->state = MS_MENU_BAR_INIT; StartHotKeys(); ! ReturnState1(); return 0; } *************** *** 101,105 **** t_mousedata * m, t_object * b) { ! if (!inProgress(m)) { ResetState(m, b); return 0; --- 101,105 ---- t_mousedata * m, t_object * b) { ! if (!inProgress()) { ResetState(m, b); return 0; *************** *** 110,114 **** b->state = MS_MENU_BAR_INIT; StartHotKeys(); ! ReturnState1(m); return 0; } --- 110,114 ---- b->state = MS_MENU_BAR_INIT; StartHotKeys(); ! ReturnState1(); return 0; } Index: msm.c =================================================================== RCS file: /cvsroot/cgui/cgui/src/msm.c,v retrieving revision 1.1.2.1.2.13 retrieving revision 1.1.2.1.2.14 diff -C2 -d -r1.1.2.1.2.13 -r1.1.2.1.2.14 *** msm.c 11 Nov 2009 07:25:50 -0000 1.1.2.1.2.13 --- msm.c 6 Dec 2009 16:59:23 -0000 1.1.2.1.2.14 *************** *** 76,79 **** --- 76,309 ---- is still waiting */ + + static void RequestCursor(t_mousedata *m, int cursor_key) + { + m->requestcursor = cursor_key; + } + + static t_node *SetTouchedWindow(t_mousefocus *msmf, t_object *b) + { + if (b->node) { + msmf->winnode = b->node->win->node; + } else if (b->parent) { + msmf->winnode = b->parent->win->node; + } else { + msmf->winnode = NULL; + } + return msmf->winnode; + } + + static void UnLinkMouseEventAndObject(t_mousefocus *msmf, t_object *b) + { + if (msmf && msmf->b != b) { + UnLinkMouseEventAndObject(msmf, msmf->b); + UnLinkMouseEventAndObject(b->md, b); + } else { + if (msmf) { + msmf->b = NULL; + } + if (b) { + b->md = NULL; + } + } + } + + static void LinkMouseEventAndObject(t_mousefocus *msmf, t_object *b) + { + UnLinkMouseEventAndObject(msmf, b); + msmf->b = b; + b->md = msmf; + } + + extern void ResetMouseState(void) + { + t_object *b; + + if (msmf2.isset) { + b = msmf2.b; + if (b) { /* should always exist */ + UnLinkMouseEventAndObject(&msmf2, b); + b->state = MS_INIT; + b->tf->Refresh(b); + msmf2.winnode = _mouse_touched_win2 = NULL; + } + msmf2.isset = 0; + } + + b = msmf1.b; + if (msmf1.isset) { + if (b) { /* should always exist */ + UnLinkMouseEventAndObject(&msmf1, b); + b->state = MS_INIT; + b->tf->Refresh(b); + msmf1.winnode = _mouse_touched_win1 = NULL; + } + msmf1.isset = 0; + } + + SelectCursor(CURS_DEFAULT); + } + + extern int inProgress(void) + { + return msmf1.isset; + } + + extern void SetClick(t_object *b, int x, int y) + { + msmf1.isset = 4; + msmf1.Action = b->Action; + msmf1.data = b->appdata; + LinkMouseEventAndObject(&msmf1, b); + _mouse_touched_win1 = SetTouchedWindow(&msmf1, b); + msmf1.id = b->id; + b->x = x; + b->y = y; + } + + extern void ReturnState1(void) + { + msmf1.isset = 0; + UnLinkMouseEventAndObject(&msmf1, msmf1.b); + msmf1.winnode = _mouse_touched_win1 = NULL; + } + + extern void ResetState(t_mousedata *m, t_object *b) + { + b->state = MS_INIT; + RequestCursor(m, CURS_DEFAULT); + } + + extern int isOver(int x, int y, t_object *b) + { + return !b->inactive && + x >= b->x1 + b->dx1 && + x <= b->x2 - b->dx2 && + y >= b->y1 + b->dy1 && + y <= b->y2 - b->dy2; + } + + extern void SetDropper(t_object *b, int x, int y) + { + msmf2.isset = 1; + msmf2.flags = b->dflags; + msmf2.Drop = b->Drop; + msmf2.data = b->dropdata; + LinkMouseEventAndObject(&msmf2, b); + _mouse_touched_win2 = SetTouchedWindow(&msmf2, b); + msmf2.id = b->id; + b->x = x; + b->y = y; + } + + extern void ReturnDropper(void) + { + msmf2.isset = 0; + msmf2.winnode = _mouse_touched_win2 = NULL; + UnLinkMouseEventAndObject(&msmf2, msmf2.b); + } + + static void SetGripped(t_object *b, int x, int y) + { + msmf1.isset = 1; + msmf1.flags = b->gflags; + msmf1.Grip = b->Grip; + msmf1.data = b->gripdata; + LinkMouseEventAndObject(&msmf1, b); + _mouse_touched_win1 = SetTouchedWindow(&msmf1, b); + msmf1.id = b->id; + b->x = x; + b->y = y; + } + + static void SetSlider(t_object *b, int x, int y) + { + msmf1.isset = 2; + msmf1.Slide = b->Slide; + msmf1.data = b->slidedata; + LinkMouseEventAndObject(&msmf1, b); + _mouse_touched_win1 = SetTouchedWindow(&msmf1, b); + msmf1.id = b->id; + b->x = x; + b->y = y; + } + + static void SetReSizing(t_object *b, int x, int y) + { + msmf1.isset = 8; + msmf1.Slide = (b)->ReSize; + msmf1.data = b->resizedata; + LinkMouseEventAndObject(&msmf1, b); + _mouse_touched_win1 = SetTouchedWindow(&msmf1, b); + b->x = x; + b->y = y; + } + + static int isGripped(void) + { + return msmf1.isset == 1; + } + + static int isSliding(void) + { + return msmf1.isset == 2; + } + + static int isClicking(void) + { + return msmf1.isset == 4; + } + + static int isReSizing(void) + { + return msmf1.isset == 8; + } + + static int isDropper(void) + { + return msmf2.isset; + } + + static int isGrippable(t_object *b, int mb) + { + return b->grip & mb; + } + + static int isClickable(t_object *b, int mb) + { + return b->click & mb; + } + + static int is2Clickable(t_object *b, int mb) + { + return b->click2 & mb; + } + + static int isSlidable(t_object *b, int mb) + { + return b->slide & mb; + } + + static int isSizeable(t_object *b, int mb) + { + return b->resize & mb; + + } + + static int isSizeableH(t_object *b, int mb) + { + return (b->resize & 0x80) && (mb & b->resize); + } + + static int isSizeableV(t_object *b, int mb) + { + return (b->resize & 0x40) && (mb & b->resize); + } + + static int isDroppable(t_object *b) + { + return isGripped() && (b->dflags & msmf1.flags); + } + /* Indicate for the state machine that it time has expired */ static void ClickChecker(void *data) *************** *** 93,103 **** if (mb) { /* a mousebutton is down */ b->usedbutton = mb; ! if (isSlidable(b, mb) && !inProgress(m) && !isSizeable(b, mb)) { b->state = MS_SLIDING; ! SetSlider(m, b, x, y); msmf1.Slide(x, y, msmf1.data, msmf1.id, SL_STARTED); ! } else if (isGripped(m)) { ! if (isDroppable(b, m) && b != msmf1.b) { ! SetDropper(m, b, x, y); if (msmf2.Drop(msmf2.data, msmf2.id, msmf1.gripdata, DD_OVER_DROP, msmf1.flags & msmf2.flags)) { --- 323,333 ---- if (mb) { /* a mousebutton is down */ b->usedbutton = mb; ! if (isSlidable(b, mb) && !inProgress() && !isSizeable(b, mb)) { b->state = MS_SLIDING; ! SetSlider(b, x, y); msmf1.Slide(x, y, msmf1.data, msmf1.id, SL_STARTED); ! } else if (isGripped()) { ! if (isDroppable(b) && b != msmf1.b) { ! SetDropper(b, x, y); if (msmf2.Drop(msmf2.data, msmf2.id, msmf1.gripdata, DD_OVER_DROP, msmf1.flags & msmf2.flags)) { *************** *** 115,131 **** } } else { ! if (!inProgress(m)) { if (isSizeableH(b, 0xff) && (x > b->x2 - cgui_resizing_offset)) { ! SetReSizing(m, b, x, y); b->ReSize(x, y, b->resizedata, b->id, SL_OVER); b->state = MS_OVER; b->Over(b); } else if (isSizeableV(b, 0xff) && (y > b->y2 - cgui_resizing_offset)) { ! SetReSizing(m, b, x, y); b->ReSize(x, y, b->resizedata, b->id, SL_OVER); b->state = MS_OVER; b->Over(b); } else if (isGrippable(b, 0xff) && (data = b->Grip(b->gripdata, b->id, DD_OVER_GRIP)) != NULL) { ! SetGripped(m, b, x, y); msmf1.gripdata = data; b->state = MS_OVER; --- 345,362 ---- } } else { ! if (!inProgress()) { if (isSizeableH(b, 0xff) && (x > b->x2 - cgui_resizing_offset)) { ! SetReSizing(b, x, y); b->ReSize(x, y, b->resizedata, b->id, SL_OVER); b->state = MS_OVER; b->Over(b); } else if (isSizeableV(b, 0xff) && (y > b->y2 - cgui_resizing_offset)) { ! SetReSizing(b, x, y); b->ReSize(x, y, b->resizedata, b->id, SL_OVER); b->state = MS_OVER; b->Over(b); } else if (isGrippable(b, 0xff) && (data = b->Grip(b->gripdata, b->id, DD_OVER_GRIP)) != NULL) { ! SetGripped(b, x, y); ! printf("gripi %p\n", b); msmf1.gripdata = data; b->state = MS_OVER; *************** *** 135,143 **** RequestCursor(m, CURS_DRAGGABLE); } else if (isSlidable(b, 0xff) && b->Slide(x, y, b->slidedata, b->id, SL_OVER)) { ! SetSlider(m, b, x, y); b->state = MS_OVER; b->Over(b); } else if (isClickable(b, 0xff) || is2Clickable(b, 0xff)) { ! SetClick(m, b, x, y); b->state = MS_OVER; b->Over(b); --- 366,374 ---- RequestCursor(m, CURS_DRAGGABLE); } else if (isSlidable(b, 0xff) && b->Slide(x, y, b->slidedata, b->id, SL_OVER)) { ! SetSlider(b, x, y); b->state = MS_OVER; b->Over(b); } else if (isClickable(b, 0xff) || is2Clickable(b, 0xff)) { ! SetClick(b, x, y); b->state = MS_OVER; b->Over(b); *************** *** 174,178 **** b->ReSize(x, y, b->resizedata, b->id, SL_STARTED); b->state = MS_RESIZING; ! } else if (isGripped(m)) { if (!isGrippable(b, mb)) { /* We have to check again because we didn't know which mouse button the user was thinking about when --- 405,409 ---- b->ReSize(x, y, b->resizedata, b->id, SL_STARTED); b->state = MS_RESIZING; ! } else if (isGripped()) { if (!isGrippable(b, mb)) { /* We have to check again because we didn't know which mouse button the user was thinking about when *************** *** 188,192 **** b->state = MS_POSSIBLE_GRIP; } else { ! SetGripped(m, b, x, y); /* Set pos again */ b->Grip(b->gripdata, b->id, DD_GRIPPED); b->state = MS_GRIPPED; --- 419,424 ---- b->state = MS_POSSIBLE_GRIP; } else { ! SetGripped(b, x, y); /* Set pos again */ ! printf("grip0 %p\n", b); b->Grip(b->gripdata, b->id, DD_GRIPPED); b->state = MS_GRIPPED; *************** *** 196,200 **** b->state = MS_POSSIBLE_SLIDE; } else { ! SetSlider(m, b, x, y); b->state = MS_SLIDING; msmf1.Slide(x, y, msmf1.data, msmf1.id, SL_STARTED); --- 428,432 ---- b->state = MS_POSSIBLE_SLIDE; } else { ! SetSlider(b, x, y); b->state = MS_SLIDING; msmf1.Slide(x, y, msmf1.data, msmf1.id, SL_STARTED); *************** *** 205,213 **** } } else { ! if (isReSizing(m)) { if (x <= b->x2 - cgui_resizing_offset && y <= b->y2 - cgui_resizing_offset) { b->ReSize(x, y, b->resizedata, b->id, SL_OVER_END); ! ReturnState1(m); b->state = MS_INIT; RequestCursor(m, CURS_DEFAULT); --- 437,445 ---- } } else { ! if (isReSizing()) { if (x <= b->x2 - cgui_resizing_offset && y <= b->y2 - cgui_resizing_offset) { b->ReSize(x, y, b->resizedata, b->id, SL_OVER_END); ! ReturnState1(); b->state = MS_INIT; RequestCursor(m, CURS_DEFAULT); *************** *** 217,232 **** } else if ((isSizeableH(b, 0xff) && (x > b->x2 - cgui_resizing_offset)) || (isSizeableV(b, 0xff) && (y > b->y2 - cgui_resizing_offset))) { ! SetReSizing(m, b, x, y); b->ReSize(x, y, b->resizedata, b->id, SL_OVER); } } } else { ! if (isSliding(m)) msmf1.Slide(x, y, msmf1.data, msmf1.id, SL_OVER_END); ! else if (isReSizing(m)) b->ReSize(x, y, b->resizedata, b->id, SL_OVER_END); b->state = MS_INIT; RequestCursor(m, CURS_DEFAULT); ! ReturnState1(m); MOUSE_STATE_TRANSITION_DONE(b, over, mb, m); ret = 0; --- 449,464 ---- } else if ((isSizeableH(b, 0xff) && (x > b->x2 - cgui_resizing_offset)) || (isSizeableV(b, 0xff) && (y > b->y2 - cgui_resizing_offset))) { ! SetReSizing(b, x, y); b->ReSize(x, y, b->resizedata, b->id, SL_OVER); } } } else { ! if (isSliding()) msmf1.Slide(x, y, msmf1.data, msmf1.id, SL_OVER_END); ! else if (isReSizing()) b->ReSize(x, y, b->resizedata, b->id, SL_OVER_END); b->state = MS_INIT; RequestCursor(m, CURS_DEFAULT); ! ReturnState1(); MOUSE_STATE_TRANSITION_DONE(b, over, mb, m); ret = 0; *************** *** 243,247 **** } else { b->ReSize(x, y, b->resizedata, b->id, SL_STOPPED); ! ReturnState1(m); b->state = MS_INIT; RequestCursor(m, CURS_DEFAULT); --- 475,479 ---- } else { b->ReSize(x, y, b->resizedata, b->id, SL_STOPPED); ! ReturnState1(); b->state = MS_INIT; RequestCursor(m, CURS_DEFAULT); *************** *** 253,259 **** static void PerformClick(int x, int y, t_mousedata *m, t_object *b, void (*Action)(void*), void *data) { ! SetClick(m, b, x, y); /* resets position to accurate values */ b->state = MS_INIT; ! ReturnState1(m); b->tf->Refresh(b); RequestCursor(m, CURS_DEFAULT); --- 485,491 ---- static void PerformClick(int x, int y, t_mousedata *m, t_object *b, void (*Action)(void*), void *data) { ! SetClick(b, x, y); /* resets position to accurate values */ b->state = MS_INIT; ! ReturnState1(); b->tf->Refresh(b); RequestCursor(m, CURS_DEFAULT); *************** *** 268,272 **** static int MouseStateFirstDown(int x, int y, int over, int mb, t_mousedata *m, t_object *b) { ! if (!inProgress(m)) { ResetState(m, b); return 0; --- 500,504 ---- static int MouseStateFirstDown(int x, int y, int over, int mb, t_mousedata *m, t_object *b) { ! if (!inProgress()) { ResetState(m, b); return 0; *************** *** 288,292 **** } else { b->state = MS_INIT; ! ReturnState1(m); b->tf->Refresh(b); MOUSE_STATE_TRANSITION_DONE(b, over, mb, m); --- 520,524 ---- } else { b->state = MS_INIT; ! ReturnState1(); b->tf->Refresh(b); MOUSE_STATE_TRANSITION_DONE(b, over, mb, m); *************** *** 301,305 **** static int MouseStateFirstDownOff(int x nouse, int y nouse, int over, int mb, t_mousedata *m, t_object *b) { ! if (!inProgress(m)) { ResetState(m, b); return 0; --- 533,537 ---- static int MouseStateFirstDownOff(int x nouse, int y nouse, int over, int mb, t_mousedata *m, t_object *b) { ! if (!inProgress()) { ResetState(m, b); return 0; *************** *** 315,319 **** if (!mb) { b->state = MS_INIT; ! ReturnState1(m); b->tf->Refresh(b); MOUSE_STATE_TRANSITION_DONE(b, over, mb, m); --- 547,551 ---- if (!mb) { b->state = MS_INIT; ! ReturnState1(); b->tf->Refresh(b); MOUSE_STATE_TRANSITION_DONE(b, over, mb, m); *************** *** 329,333 **** static int MouseStateSecondOver(int x, int y, int over, int mb, t_mousedata *m, t_object *b) { ! if (!inProgress(m)) { ResetState(m, b); return 0; --- 561,565 ---- static int MouseStateSecondOver(int x, int y, int over, int mb, t_mousedata *m, t_object *b) { ! if (!inProgress()) { ResetState(m, b); return 0; *************** *** 351,355 **** click_waiting = eventid = 0; b->state = MS_INIT; ! ReturnState1(m); } else if (isClickable(b, b->usedbutton)) PerformClick(x, y, m, b, b->Action, b->appdata); --- 583,587 ---- click_waiting = eventid = 0; b->state = MS_INIT; ! ReturnState1(); } else if (isClickable(b, b->usedbutton)) PerformClick(x, y, m, b, b->Action, b->appdata); *************** *** 363,367 **** static int MouseStateSecondDown(int x, int y, int over, int mb, t_mousedata *m, t_object *b) { ! if (!inProgress(m)) { ResetState(m, b); return 0; --- 595,599 ---- static int MouseStateSecondDown(int x, int y, int over, int mb, t_mousedata *m, t_object *b) { ! if (!inProgress()) { ResetState(m, b); return 0; *************** *** 369,375 **** if (over) { if (!mb) { ! SetClick(m, b, x, y); b->state = MS_INIT; ! ReturnState1(m); b->tf->Refresh(b); b->tcfun->MoveFocusTo(b); --- 601,607 ---- if (over) { if (!mb) { ! SetClick(b, x, y); b->state = MS_INIT; ! ReturnState1(); b->tf->Refresh(b); b->tcfun->MoveFocusTo(b); *************** *** 382,386 **** } else { b->state = MS_INIT; ! ReturnState1(m); b->tf->Refresh(b); return 0; --- 614,618 ---- } else { b->state = MS_INIT; ! ReturnState1(); b->tf->Refresh(b); return 0; *************** *** 394,398 **** static int MouseStateSecondDownOff(int x nouse, int y nouse, int over, int mb, t_mousedata *m, t_object *b) { ! if (!inProgress(m)) { ResetState(m, b); return 0; --- 626,630 ---- static int MouseStateSecondDownOff(int x nouse, int y nouse, int over, int mb, t_mousedata *m, t_object *b) { ! if (!inProgress()) { ResetState(m, b); return 0; *************** *** 409,413 **** if (!mb) { b->state = MS_INIT; ! ReturnState1(m); b->tf->Refresh(b); return 0; --- 641,645 ---- if (!mb) { b->state = MS_INIT; ! ReturnState1(); b->tf->Refresh(b); return 0; *************** *** 423,427 **** static int MouseStatePossibleGrip(int x, int y, int over, int mb, t_mousedata *m, t_object *b) { ! if (!inProgress(m)) { ResetState(m, b); return 0; --- 655,659 ---- static int MouseStatePossibleGrip(int x, int y, int over, int mb, t_mousedata *m, t_object *b) { ! if (!inProgress()) { ResetState(m, b); return 0; *************** *** 432,436 **** dragging operation, and change the state accordingly. */ RequestCursor(m, CURS_DRAGGABLE); ! SetGripped(m, b, x, y); /* Set new pos */ b->Grip(b->gripdata, b->id, DD_GRIPPED); b->state = MS_GRIPPED; --- 664,669 ---- dragging operation, and change the state accordingly. */ RequestCursor(m, CURS_DRAGGABLE); ! SetGripped(b, x, y); /* Set new pos */ ! printf("gripp %p\n", b); b->Grip(b->gripdata, b->id, DD_GRIPPED); b->state = MS_GRIPPED; *************** *** 448,452 **** msmf1.Grip(msmf1.gripdata, msmf1.id, DD_UNGRIPPED); b->state = MS_INIT; ! ReturnState1(m); RequestCursor(m, CURS_DEFAULT); LaunchMouseEvent(m); --- 681,685 ---- msmf1.Grip(msmf1.gripdata, msmf1.id, DD_UNGRIPPED); b->state = MS_INIT; ! ReturnState1(); RequestCursor(m, CURS_DEFAULT); LaunchMouseEvent(m); *************** *** 460,464 **** static int MouseStateGripped(int x nouse, int y nouse, int over nouse, int mb, t_mousedata *m, t_object *b) { ! if (!inProgress(m)) { ResetState(m, b); return 0; --- 693,697 ---- static int MouseStateGripped(int x nouse, int y nouse, int over nouse, int mb, t_mousedata *m, t_object *b) { ! if (!inProgress()) { ResetState(m, b); return 0; *************** *** 466,471 **** if (!mb) { /* dropped somewhere */ b->state = MS_INIT; ! SetGripped(m, b, x, y); /* Set pos again */ ! ReturnState1(m); RequestCursor(m, CURS_DEFAULT); msmf1.Grip(msmf1.gripdata, msmf1.id, DD_UNGRIPPED); --- 699,705 ---- if (!mb) { /* dropped somewhere */ b->state = MS_INIT; ! SetGripped(b, x, y); /* Set pos again */ ! printf("gripd %p\n", b); ! ReturnState1(); RequestCursor(m, CURS_DEFAULT); msmf1.Grip(msmf1.gripdata, msmf1.id, DD_UNGRIPPED); *************** *** 481,485 **** int mb, t_mousedata *m, t_object *b) { ! if (!inProgress(m)) { ResetState(m, b); return 0; --- 715,719 ---- int mb, t_mousedata *m, t_object *b) { ! if (!inProgress()) { ResetState(m, b); return 0; *************** *** 491,495 **** } else { b->state = MS_INIT; ! ReturnDropper(m); msmf2.Drop(msmf2.data, msmf2.id, msmf1.gripdata, DD_END_OVER_DROP, msmf1.flags & msmf2.flags); --- 725,729 ---- } else { b->state = MS_INIT; ! ReturnDropper(); msmf2.Drop(msmf2.data, msmf2.id, msmf1.gripdata, DD_END_OVER_DROP, msmf1.flags & msmf2.flags); *************** *** 505,512 **** msmf2.Drop(msmf2.data, msmf2.id, msmf1.gripdata, DD_SUCCESS, msmf1.flags & msmf2.flags); ! ReturnDropper(m); } else { b->state = MS_INIT; /* slippered ? */ ! ReturnDropper(m); } LaunchMouseEvent(m); --- 739,746 ---- msmf2.Drop(msmf2.data, msmf2.id, msmf1.gripdata, DD_SUCCESS, msmf1.flags & msmf2.flags); ! ReturnDropper(); } else { b->state = MS_INIT; /* slippered ? */ ! ReturnDropper(); } LaunchMouseEvent(m); *************** *** 523,527 **** int mb, t_mousedata * m, t_object *b) { ! if (!inProgress(m)) { ResetState(m, b); return 0; --- 757,761 ---- int mb, t_mousedata * m, t_object *b) { ! if (!inProgress()) { ResetState(m, b); return 0; *************** *** 533,537 **** } else { /* dropped on illegal object */ b->state = MS_INIT; ! ReturnDropper(m); return 0; } --- 767,771 ---- } else { /* dropped on illegal object */ b->state = MS_INIT; ! ReturnDropper(); return 0; } *************** *** 546,550 **** } b->state = MS_INIT; ! ReturnDropper(m); return 0; } --- 780,784 ---- } b->state = MS_INIT; ! ReturnDropper(); return 0; } *************** *** 557,561 **** static int MouseStatePossibleSlide(int x, int y, int over, int mb, t_mousedata *m, t_object *b) { ! if (!inProgress(m)) { ResetState(m, b); return 0; --- 791,795 ---- static int MouseStatePossibleSlide(int x, int y, int over, int mb, t_mousedata *m, t_object *b) { ! if (!inProgress()) { ResetState(m, b); return 0; *************** *** 564,568 **** m->prev = mb; if (ABS(b->x - x) > cgui_click_tolerance || ABS(b->y - y) > cgui_click_tolerance) { ! SetSlider(m, b, x, y); /* Set pos again */ b->Slide(x, y, b->slidedata, b->id, SL_STARTED); b->state = MS_SLIDING; --- 798,802 ---- m->prev = mb; if (ABS(b->x - x) > cgui_click_tolerance || ABS(b->y - y) > cgui_click_tolerance) { ! SetSlider(b, x, y); /* Set pos again */ b->Slide(x, y, b->slidedata, b->id, SL_STARTED); b->state = MS_SLIDING; *************** *** 579,583 **** } else { /* ?? slippered ? */ b->state = MS_INIT; ! ReturnState1(m); RequestCursor(m, CURS_DEFAULT); b->Slide(x, y, b->slidedata, b->id, SL_STOPPED); --- 813,817 ---- } else { /* ?? slippered ? */ b->state = MS_INIT; ! ReturnState1(); RequestCursor(m, CURS_DEFAULT); b->Slide(x, y, b->slidedata, b->id, SL_STOPPED); *************** *** 592,596 **** t_mousedata *m, t_object *b) { ! if (!inProgress(m)) { ResetState(m, b); return 0; --- 826,830 ---- t_mousedata *m, t_object *b) { ! if (!inProgress()) { ResetState(m, b); return 0; *************** *** 598,607 **** if (mb) { m->prev = mb; ! SetSlider(m, b, x, y); /* Set pos again */ msmf1.Slide(x, y, msmf1.data, msmf1.id, SL_PROGRESS); } else { /* mouse up -> sliding stopped */ msmf1.Slide(x, y, msmf1.data, msmf1.id, SL_STOPPED); b->state = MS_INIT; ! ReturnState1(m); RequestCursor(m, CURS_DEFAULT); b->tf->Refresh(b); --- 832,841 ---- if (mb) { m->prev = mb; ! SetSlider(b, x, y); /* Set pos again */ msmf1.Slide(x, y, msmf1.data, msmf1.id, SL_PROGRESS); } else { /* mouse up -> sliding stopped */ msmf1.Slide(x, y, msmf1.data, msmf1.id, SL_STOPPED); b->state = MS_INIT; ! ReturnState1(); RequestCursor(m, CURS_DEFAULT); b->tf->Refresh(b); *************** *** 647,651 **** int stop; ! if (msmf1.isset && msmf1.winnode != hitnode && !isGripped(m) && !isSliding(m) && !isReSizing(m)) { b = msmf1.b; MOUSE_STATE_TRANSITION_DONE(b, 0, 0, m); --- 881,885 ---- int stop; ! if (msmf1.isset && msmf1.winnode != hitnode && !isGripped() && !isSliding() && !isReSizing()) { b = msmf1.b; MOUSE_STATE_TRANSITION_DONE(b, 0, 0, m); *************** *** 653,657 **** b->me->StateHandlers[b->state] (-10000, -10000, 0, 0, m, b); b->state = MS_INIT; ! b->md = NULL; b->tf->Refresh(b); } --- 887,891 ---- b->me->StateHandlers[b->state] (-10000, -10000, 0, 0, m, b); b->state = MS_INIT; ! UnLinkMouseEventAndObject(&msmf1, b); b->tf->Refresh(b); } *************** *** 664,675 **** b->me->StateHandlers[b->state] (-10000, -10000, 0, 0, m, b); b->state = MS_INIT; ! b->md = NULL; b->tf->Refresh(b); } ! if (!isGripped(m)) RequestCursor(m, CURS_DEFAULT); msmf2.isset = 0; } ! if ((isGripped(m) || isSliding(m) || isReSizing(m)) || (msmf1.isset && hitnode==fwin)) { if (msmf2.isset) { stop = msmf2.b->me->MouseEv(m, msmf2.b); --- 898,909 ---- b->me->StateHandlers[b->state] (-10000, -10000, 0, 0, m, b); b->state = MS_INIT; ! UnLinkMouseEventAndObject(&msmf2, b); b->tf->Refresh(b); } ! if (!isGripped()) RequestCursor(m, CURS_DEFAULT); msmf2.isset = 0; } ! if ((isGripped() || isSliding() || isReSizing()) || (msmf1.isset && hitnode==fwin)) { if (msmf2.isset) { stop = msmf2.b->me->MouseEv(m, msmf2.b); *************** *** 686,720 **** } - extern void ResetMouseState(void) - { - t_object *b; - - if (msmf2.isset) { - b = msmf2.b; - if (b) { /* should always exist */ - b->state = MS_INIT; - b->md = NULL; - b->tf->Refresh(b); - msmf2.b = NULL; - msmf2.winnode = _mouse_touched_win2 = NULL; - } - msmf2.isset = 0; - } - - b = msmf1.b; - if (msmf1.isset) { - if (b) { /* should always exist */ - b->state = MS_INIT; - b->md = NULL; - b->tf->Refresh(b); - msmf1.b = NULL; - msmf1.winnode = _mouse_touched_win1 = NULL; - } - msmf1.isset = 0; - } - - SelectCursor(CURS_DEFAULT); - } - /* Default main handler for state transition */ extern int MouseEv(t_mousedata *m, t_object *b) --- 920,923 ---- Index: msm.h =================================================================== RCS file: /cvsroot/cgui/cgui/src/msm.h,v retrieving revision 1.1.1.1.4.2 retrieving revision 1.1.1.1.4.3 diff -C2 -d -r1.1.1.1.4.2 -r1.1.1.1.4.3 *** msm.h 2 Aug 2007 11:33:09 -0000 1.1.1.1.4.2 --- msm.h 6 Dec 2009 16:59:23 -0000 1.1.1.1.4.3 *************** *** 4,93 **** #include "mstates.h" - #define SetGripped(m, b, x, y) \ - msmf1.isset = 1; \ - msmf1.flags = (b)->gflags; \ - msmf1.Grip = (b)->Grip; \ - msmf1.data = (b)->gripdata; \ - msmf1.b = b; \ - msmf1.winnode = _mouse_touched_win1 = ((b)->node ? (b)->node->win->node : (b)->parent ? (b)->parent->win->node : NULL);\ - msmf1.id = b->id; \ - (b)->x = x; \ - (b)->y = y; \ - b->md = &msmf1 - #define SetSlider(m, b, x, y) \ - msmf1.isset = 2; \ - msmf1.Slide = (b)->Slide; \ - msmf1.data = (b)->slidedata; \ - msmf1.b = b; \ - msmf1.winnode = _mouse_touched_win1 = ((b)->node ? (b)->node->win->node : (b)->parent ? (b)->parent->win->node : NULL);\ - msmf1.id = b->id; \ - (b)->x = x; \ - (b)->y = y; \ - b->md=&msmf1 - #define SetReSizing(m, b, x, y) \ - msmf1.isset = 8; \ - msmf1.Slide = (b)->ReSize; \ - msmf1.data = (b)->resizedata; \ - msmf1.b = b; \ - msmf1.winnode = _mouse_touched_win1 = ((b)->node ? (b)->node->win->node : (b)->parent ? (b)->parent->win->node : NULL);\ - (b)->x = x; \ - (b)->y = y; \ - b->md=&msmf1 - #define SetClick(m, b, x, y) \ - msmf1.isset = 4; \ - msmf1.Action = (b)->Action; \ - msmf1.data = (b)->appdata; \ - msmf1.b = b; \ - msmf1.winnode = _mouse_touched_win1 = ((b)->node ? (b)->node->win->node : (b)->parent ? (b)->parent->win->node : NULL);\ - msmf1.id = b->id; \ - (b)->x = x; \ - (b)->y = y; \ - b->md = &msmf1 - #define ReturnState1(m) \ - msmf1.isset = 0; \ - (msmf1.b!=NULL)?msmf1.b->md = NULL:NULL; \ - msmf1.b = NULL; \ - msmf1.winnode = _mouse_touched_win1 = NULL - #define SetDropper(m, b, x, y) \ - msmf2.isset = 1; \ - msmf2.flags = (b)->dflags; \ - msmf2.Drop = (b)->Drop; \ - msmf2.data = b->dropdata; \ - msmf2.b = b; \ - msmf2.winnode = _mouse_touched_win2 = ((b)->node ? (b)->node->win->node : (b)->parent ? (b)->parent->win->node : NULL);\ - msmf2.id = b->id; \ - (b)->x = x; \ - (b)->y = y; \ - b->md=&msmf2 - #define ReturnDropper(m) \ - msmf2.isset = 0; \ - (msmf2.b!=NULL)?msmf2.b->md = NULL:NULL; \ - msmf2.b = NULL; \ - msmf2.winnode = _mouse_touched_win2 = NULL - #define ResetState(m, b) \ - {(b)->state = MS_INIT; \ - RequestCursor(m, CURS_DEFAULT);} - #define isGripped(m) (msmf1.isset==1) - #define isSliding(m) (msmf1.isset==2) - #define isClicking(m) (msmf1.isset==4) - #define isReSizing(m) (msmf1.isset==8) - #define inProgress(m) msmf1.isset - #define isDropper(m) msmf2.isset - #define RequestCursor(m, c) (m)->requestcursor = c - #define isGrippable(b, mb) ((b)->grip&(mb)) - #define isClickable(b, mb) ((b)->click&(mb)) - #define is2Clickable(b, mb) ((b)->click2&(mb)) - #define isSlidable(b, mb) ((b)->slide&(mb)) - #define isSizeable(b, mb) ((mb)&(b)->resize) - #define isSizeableH(b, mb) (((b)->resize&0x80) && ((mb)&(b)->resize)) - #define isSizeableV(b, mb) (((b)->resize&0x40) && ((mb)&(b)->resize)) - #define isDroppable(b, m) (isGripped(m) && ((b)->dflags & msmf1.flags)) - - #define isOver(x, y, b) (!(b)->inactive && \ - ((x) >= (b)->x1+(b)->dx1) && \ - ((x) <= (b)->x2-(b)->dx2) && \ - ((y) >= (b)->y1+(b)->dy1) && \ - ((y) <= (b)->y2-(b)->dy2) ) - struct t_object; typedef struct t_mousefocus { --- 4,7 ---- *************** *** 148,150 **** --- 62,73 ---- extern void ResetMouseState(void); + + extern int inProgress(void); + extern void SetClick(struct t_object *b, int x, int y); + extern void ReturnState1(void); + extern void ResetState(struct t_mousedata *m, struct t_object *b); + extern int isOver(int x, int y, struct t_object *b); + extern void SetDropper(struct t_object *b, int x, int y); + extern void ReturnDropper(void); + #endif Index: menuitem.c =================================================================== RCS file: /cvsroot/cgui/cgui/src/Attic/menuitem.c,v retrieving revision 1.1.4.6 retrieving revision 1.1.4.7 diff -C2 -d -r1.1.4.6 -r1.1.4.7 *** menuitem.c 14 Jul 2008 20:20:44 -0000 1.1.4.6 --- menuitem.c 6 Dec 2009 16:59:23 -0000 1.1.4.7 *************** *** 63,67 **** } StopHotKeys(); ! SetClick(m, b, x, y); return 1; } else { --- 63,67 ---- } StopHotKeys(); ! SetClick(b, x, y); return 1; } else { *************** *** 82,86 **** b->Over(b); StartHotKeys(); ! ReturnState1(m); return 0; } --- 82,86 ---- b->Over(b); StartHotKeys(); ! ReturnState1(); return 0; } *************** *** 94,98 **** return 1; } else { ! ReturnState1(m); b->tcfun->UnSetFocus(b); b->state = MS_MENU_ITEM_DEF_INIT; --- 94,98 ---- return 1; } else { ! ReturnState1(); b->tcfun->UnSetFocus(b); b->state = MS_MENU_ITEM_DEF_INIT; *************** *** 107,111 **** b->Over(b); StartHotKeys(); ! ReturnState1(m); return 0; } --- 107,111 ---- b->Over(b); StartHotKeys(); ! ReturnState1(); return 0; } Index: obmensel.c =================================================================== RCS file: /cvsroot/cgui/cgui/src/Attic/obmensel.c,v retrieving revision 1.1.4.4 retrieving revision 1.1.4.5 diff -C2 -d -r1.1.4.4 -r1.1.4.5 *** obmensel.c 25 Sep 2005 17:10:54 -0000 1.1.4.4 --- obmensel.c 6 Dec 2009 16:59:23 -0000 1.1.4.5 *************** *** 40,44 **** b->state = MS_MENU_SEL_OPEN; StopHotKeys(); ! SetClick(m, b, x, y); return 1; } else { --- 40,44 ---- b->state = MS_MENU_SEL_OPEN; StopHotKeys(); ! SetClick(b, x, y); return 1; } else { *************** *** 51,62 **** { if (over) { ! ReturnState1(m); b->state = MS_MENU_SEL_ISOPEN; ! SetDropper(m, b, x, y); return 1; } else { b->state = MS_MENU_SEL_INIT; StartHotKeys(); ! ReturnState1(m); ResetCatcher(b->appdata); return 0; --- 51,62 ---- { if (over) { ! ReturnState1(); b->state = MS_MENU_SEL_ISOPEN; ! SetDropper(b, x, y); return 1; } else { b->state = MS_MENU_SEL_INIT; StartHotKeys(); ! ReturnState1(); ResetCatcher(b->appdata); return 0; *************** *** 72,76 **** b->state = MS_MENU_SEL_INIT; StartHotKeys(); ! ReturnDropper(m); ResetCatcher(b->appdata); return 0; --- 72,76 ---- b->state = MS_MENU_SEL_INIT; StartHotKeys(); ! ReturnDropper(); ResetCatcher(b->appdata); return 0; |
From: Christer S. <ch...@us...> - 2009-12-06 16:59:35
|
Update of /cvsroot/cgui/cgui/docs In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv23278/docs Modified Files: Tag: Branch_CGUI_1-6-7 changes._tx Log Message: Fixed bug 2909679 Index: changes._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/changes._tx,v retrieving revision 1.4.2.9.2.77 retrieving revision 1.4.2.9.2.78 diff -C2 -d -r1.4.2.9.2.77 -r1.4.2.9.2.78 *** changes._tx 11 Nov 2009 19:48:44 -0000 1.4.2.9.2.77 --- changes._tx 6 Dec 2009 16:59:23 -0000 1.4.2.9.2.78 *************** *** 39,42 **** --- 39,50 ---- @heading + <b>Changes from 2.0.3 to 2.0.4:</b> + <ul> + <li> + Fixed bug 2909680. + <li> + Fixed bug 2909679. + </ul> + <b>Changes from 2.0.2 to 2.0.3:</b> <ul> |
From: Christer S. <ch...@us...> - 2009-12-06 16:59:04
|
Update of /cvsroot/cgui/cgui/src In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv23213/src Modified Files: Tag: Branch_CGUI_1-6-7 hotkey.c Log Message: Fixed bug 2909680 Index: hotkey.c =================================================================== RCS file: /cvsroot/cgui/cgui/src/hotkey.c,v retrieving revision 1.1.4.4 retrieving revision 1.1.4.5 diff -C2 -d -r1.1.4.4 -r1.1.4.5 *** hotkey.c 11 Nov 2009 07:25:50 -0000 1.1.4.4 --- hotkey.c 6 Dec 2009 16:58:53 -0000 1.1.4.5 *************** *** 93,101 **** if (fwin->ob->hkfunc->TakeHotKey(fwin->ob, scan, ascii)) return 1; ! for (b = _win_root->node->firstob; b; b = b->next) ! if (b->node == NULL) ! /* Only check for simple objects, but we must not recurse the tree */ ! if (b->hkfunc->TakeHotKey(b, scan, ascii)) ! return 1; return 1; } --- 93,103 ---- if (fwin->ob->hkfunc->TakeHotKey(fwin->ob, scan, ascii)) return 1; ! if (_win_root) { ! for (b = _win_root->node->firstob; b; b = b->next) ! if (b->node == NULL) ! /* Only check for simple objects, but we must not recurse the tree */ ! if (b->hkfunc->TakeHotKey(b, scan, ascii)) ! return 1; ! } return 1; } |
From: SourceForge.net <no...@so...> - 2009-12-06 16:56:32
|
Bugs item #2909680, was opened at 2009-12-06 16:56 Message generated for change (Tracker Item Submitted) made by chrisan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542642&aid=2909680&group_id=75005 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: All platforms Group: MainBranch Status: Open Resolution: None Priority: 5 Private: No Submitted By: Christer Sandberg (chrisan) Assigned to: Christer Sandberg (chrisan) Summary: App may crash when fast repeated key press on close action Initial Comment: An application may crash when the user make quick repeated key press on and the key presses generates events that makes the application quite and release its memory. The problem can not be observer on a normal modern computer, but can be easily simulated by running the application through valgrind or by adding delays (busy wait). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542642&aid=2909680&group_id=75005 |
From: SourceForge.net <no...@so...> - 2009-12-06 16:51:43
|
Bugs item #2909679, was opened at 2009-12-06 16:51 Message generated for change (Tracker Item Submitted) made by chrisan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542642&aid=2909679&group_id=75005 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: All platforms Group: MainBranch Status: Open Resolution: None Priority: 5 Private: No Submitted By: Christer Sandberg (chrisan) Assigned to: Christer Sandberg (chrisan) Summary: App may crash when finishing drag-drop operation Initial Comment: When dropping a dragged item (e.g. an item from one list box is dropped in another list box), and the dropper call back re-builds the list-boxes, then a memory violation error occur. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542642&aid=2909679&group_id=75005 |
From: Christer S. <ch...@us...> - 2009-11-15 18:20:27
|
Update of /cvsroot/cgui/cgui/src In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv22177/src Modified Files: Tag: Branch_CGUI_1-6-7 obedbox.c Log Message: Fixed warning Index: obedbox.c =================================================================== RCS file: /cvsroot/cgui/cgui/src/obedbox.c,v retrieving revision 1.1.2.1.2.26 retrieving revision 1.1.2.1.2.27 diff -C2 -d -r1.1.2.1.2.26 -r1.1.2.1.2.27 *** obedbox.c 11 Nov 2009 07:25:50 -0000 1.1.2.1.2.26 --- obedbox.c 15 Nov 2009 18:20:17 -0000 1.1.2.1.2.27 *************** *** 892,896 **** int input_position_at_end; int input_position_at_beginning; ! int accept_keypress; int keypad_printable_key = 0; int main_keyboard_printable_key = 0; --- 892,896 ---- int input_position_at_end; int input_position_at_beginning; ! int accept_keypress = 1; int keypad_printable_key = 0; int main_keyboard_printable_key = 0; |
From: Christer S. <ch...@us...> - 2009-11-15 18:20:27
|
Update of /cvsroot/cgui/cgui/docs In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv22177/docs Modified Files: Tag: Branch_CGUI_1-6-7 cgui._tx Log Message: Fixed warning Index: cgui._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/cgui._tx,v retrieving revision 1.4.2.7.2.59 retrieving revision 1.4.2.7.2.60 diff -C2 -d -r1.4.2.7.2.59 -r1.4.2.7.2.60 *** cgui._tx 11 Nov 2009 07:31:57 -0000 1.4.2.7.2.59 --- cgui._tx 15 Nov 2009 18:20:17 -0000 1.4.2.7.2.60 *************** *** 5,9 **** @#files) @# ! @multiplefiles @multiwordheaders @# --- 5,9 ---- @#files) @# ! @#multiplefiles @multiwordheaders @# *************** *** 31,34 **** --- 31,35 ---- <center>Homepage: <a href="http://www.idt.mdh.se/~csg/cgui/">http://www.idt.mdh.se/~csg/cgui/</a></center> <center><b>The Manual of CGUI 2.0.3 + </center> @!text @heading |
From: Christer S. <ch...@us...> - 2009-11-11 19:49:01
|
Update of /cvsroot/cgui/cgui/docs In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv26490/docs Modified Files: Tag: Branch_CGUI_1-6-7 changes._tx Log Message: forgot to update changelog with the last issue: bug 2896173 Index: changes._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/changes._tx,v retrieving revision 1.4.2.9.2.76 retrieving revision 1.4.2.9.2.77 diff -C2 -d -r1.4.2.9.2.76 -r1.4.2.9.2.77 *** changes._tx 11 Nov 2009 07:31:57 -0000 1.4.2.9.2.76 --- changes._tx 11 Nov 2009 19:48:44 -0000 1.4.2.9.2.77 *************** *** 42,45 **** --- 42,47 ---- <ul> <li> + Fixed bug 2896173. + <li> Added feature 2895751 <li> |
From: SourceForge.net <no...@so...> - 2009-11-11 19:46:34
|
Bugs item #2896173, was opened at 2009-11-11 19:46 Message generated for change (Settings changed) made by chrisan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542642&aid=2896173&group_id=75005 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Windows Group: MainBranch >Status: Closed >Resolution: Fixed Priority: 2 Private: No Submitted By: Christer Sandberg (chrisan) Assigned to: Christer Sandberg (chrisan) Summary: Alt-gr typing in edit boxes does not work Initial Comment: On Windows, typing letters in edit boxes using some alt-gr key combination (typically there are a couple of them on the row of digit keys on Swedish keyboards) does not work. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542642&aid=2896173&group_id=75005 |
From: SourceForge.net <no...@so...> - 2009-11-11 19:46:00
|
Bugs item #2896173, was opened at 2009-11-11 19:46 Message generated for change (Tracker Item Submitted) made by chrisan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542642&aid=2896173&group_id=75005 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Windows Group: MainBranch Status: Open Resolution: None Priority: 2 Private: No Submitted By: Christer Sandberg (chrisan) Assigned to: Christer Sandberg (chrisan) Summary: Alt-gr typing in edit boxes does not work Initial Comment: On Windows, typing letters in edit boxes using some alt-gr key combination (typically there are a couple of them on the row of digit keys on Swedish keyboards) does not work. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542642&aid=2896173&group_id=75005 |
From: SourceForge.net <no...@so...> - 2009-11-11 07:33:52
|
Feature Requests item #2895747, was opened at 2009-11-11 06:50 Message generated for change (Settings changed) made by chrisan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=2895747&group_id=75005 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: Main Branch >Status: Closed >Resolution: Fixed Priority: 2 Private: No Submitted By: Christer Sandberg (chrisan) Assigned to: Christer Sandberg (chrisan) Summary: Function to get the clicked column Initial Comment: A function that returns the clicked column of a list box row. If the columns can be resized and several other widgets can, then this task would be hard to perform by the application (if possible), while it is information that is probably already present in the list box. The purpose is to perform different actions depending on which column of a row that was clicked. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=2895747&group_id=75005 |
From: SourceForge.net <no...@so...> - 2009-11-11 07:33:21
|
Feature Requests item #2895750, was opened at 2009-11-11 06:54 Message generated for change (Settings changed) made by chrisan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=2895750&group_id=75005 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: Main Branch >Status: Closed >Resolution: Fixed Priority: 2 Private: No Submitted By: Christer Sandberg (chrisan) Assigned to: Christer Sandberg (chrisan) Summary: Indicate only a column on list box row click. Initial Comment: An optional list property that highlights only the column (the one clicked) of a row that is clicked. This property is useful when using the feature requested in #2895747. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=2895750&group_id=75005 |