From Jean-Marc.Lasgouttes at inria.fr Fri Jan 27 10:29:06 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Fri Jan 27 10:29:15 2006 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X In-Reply-To: <73605DC8-D5F9-46A5-B302-7783D84E9176@wooster.edu> (Rick Drushal's message of "Fri, 27 Jan 2006 01:29:36 -0500") References: <73605DC8-D5F9-46A5-B302-7783D84E9176@wooster.edu> Message-ID: >>>>> "Rick" == Rick Drushal writes: Rick> I am trying to build the xforms libraries on my OS X Tiger Rick> system. I only need to build because I only need access to the Rick> .h and .a files. When i run :./configure it balks because it Rick> "Cannot find libjpeg". I have installed this library via fink, Rick> with no success and even downloaded the source and compiled it Rick> myself, also with no effect. If and of you have any good ideas Rick> of where to go with this next I would appreciate it. Hello Rick, Where are the headers/library installed? You can use --with-extra-inc and --with-extra-lib to point there. JMarc PS: I changed the destination to the real xforms list. From jac4 at mindless.com Fri Jan 27 11:36:07 2006 From: jac4 at mindless.com (jason cipriani) Date: Fri Jan 27 11:36:11 2006 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X Message-ID: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> > To subscribers of the xforms list > > >>>>> "Rick" == Rick Drushal writes: > > Rick> I am trying to build the xforms libraries on my OS X Tiger > Rick> system. I only need to build because I only need access to the > Rick> .h and .a files. When i run :./configure it balks because it > Rick> "Cannot find libjpeg". I have installed this library via fink, > Rick> with no success and even downloaded the source and compiled it > Rick> myself, also with no effect. If and of you have any good ideas > Rick> of where to go with this next I would appreciate it. > > Hello Rick, > > Where are the headers/library installed? You can use --with-extra-inc > and --with-extra-lib to point there. fink installs them to /sw/lib and /sw/include i believe. > > JMarc > > PS: I changed the destination to the real xforms list. > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request@bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From Jean-Marc.Lasgouttes at inria.fr Fri Jan 27 16:46:09 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Fri Jan 27 16:46:16 2006 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X In-Reply-To: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> (jason cipriani's message of "Fri, 27 Jan 2006 11:36:07 -0500") References: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> Message-ID: >>>>> "jason" == jason cipriani writes: jason> fink installs them to /sw/lib and /sw/include i believe. so ./configure --with-extra-prefix=/sw should do the trick. JMarc From giulio.ballardin at ego-gw.it Thu Feb 16 04:39:46 2006 From: giulio.ballardin at ego-gw.it (Giulio Ballardin) Date: Thu Feb 16 04:39:58 2006 Subject: [XForms] Counter Message-ID: Hi, I'm using linux readhat 9.0 and Library 1.1. I built an user Interface with some counters. It appends that when a click only one time on the counter arrow, some time the number increases more than it should. It seems a problem of mouse sensibility or a problem of counter sensibility. How can I fixe this problem? thank you, Giulio From jt at toerring.de Thu Feb 16 05:58:49 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Thu Feb 16 06:00:39 2006 Subject: [XForms] Counter In-Reply-To: References: Message-ID: <20060216105849.GA24320@john.toerring.de> Hello Guilio, On Thu, Feb 16, 2006 at 10:39:46AM +0100, Giulio Ballardin wrote: > I'm using linux readhat 9.0 and Library 1.1. I built an user Interface > with some counters. It appends that when a click > only one time on the counter arrow, some time the number > increases more than it should. It seems a problem > of mouse sensibility or a problem of counter sensibility. > How can I fixe this problem? Unfortunately, your description of the problem is a bit vague. I also don't know what a "counter arrow" is - is that a button with an arrow drawn on it or something else? It probably would help if you could you post the code you are using, ideally as a complete, compilable program with everything thrown out except the part that exhibits the problem you encounter. Regards, Jens -- \ Jens Thoms Toerring ________ jt@toerring.de \_______________________________ http://www.toerring.de From kro at grizzly.tphys.uni-linz.ac.at Wed Apr 19 23:00:34 2006 From: kro at grizzly.tphys.uni-linz.ac.at (Eckhard Krotscheck) Date: Wed Apr 19 23:04:16 2006 Subject: [XForms] activity Message-ID: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> This is just to see if there is still any activity on the Xforms mailing list... From M.Holme at mmu.ac.uk Thu Apr 20 06:26:19 2006 From: M.Holme at mmu.ac.uk (Michael Holme) Date: Thu Apr 20 06:26:30 2006 Subject: [XForms] xforms for Mac OSX - a request please Message-ID: <6.1.0.6.0.20060420112117.01a7b700@patsy.doc.aca.mmu.ac.uk> Hello List, This is my first post (I think, I used to be an active xforms programmer years ago). I've been asked to port an xforms application from Linux to Mac OSX and the old site that contains the binaries of the various xforms libraries doesn't seem to be giving me much joy. Does anybody have a binary distribution of the xforms library that isn't too customised with regard to directories, etc that could be emailed to me, or I could download ? I'd appreciate any help. Thanks, Mike Holme Before acting on this email or opening any attachments you should read the Manchester Metropolitan Universitys' email disclaimer available on its website http://www.mmu.ac.uk/emaildisclaimer From Jean-Marc.Lasgouttes at inria.fr Thu Apr 20 08:59:24 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Thu Apr 20 08:59:35 2006 Subject: [XForms] activity In-Reply-To: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> (Eckhard Krotscheck's message of "Thu, 20 Apr 2006 05:00:34 +0200 (CEST)") References: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> Message-ID: >>>>> "Eckhard" == Eckhard Krotscheck writes: Eckhard> This is just to see if there is still any activity on the Eckhard> Xforms mailing list... There is not much activity unfortunately :( JMarc From jac4 at mindless.com Thu Apr 20 09:51:13 2006 From: jac4 at mindless.com (jason cipriani) Date: Thu Apr 20 09:51:18 2006 Subject: [XForms] xforms for Mac OSX - a request please Message-ID: <20060420135113.F10D983985@ws1-2a.us4.outblaze.com> I have built xforms succesfully on OSX. It's not native, of course, it still runs through the X server. The build process is straightforward, I don't recall running in to any issues. But I can send you the binaries later today or tomorrow if you'd like. Jason > ----- Original Message ----- > From: "Michael Holme" > To: xforms@bob.usuhs.mil > Subject: [XForms] xforms for Mac OSX - a request please > Date: Thu, 20 Apr 2006 11:26:19 +0100 > > > To subscribers of the xforms list > > Hello List, > > This is my first post (I think, I used to be an active xforms > programmer years ago). I've been asked to port an xforms application from > Linux to Mac OSX and the old site that contains the binaries of the various > xforms libraries doesn't seem to be giving me much joy. Does anybody have a > binary distribution of the xforms library that isn't too customised with > regard to directories, etc that could be emailed to me, or I could download ? > I'd appreciate any help. > > Thanks, > Mike Holme > > > Before acting on this email or opening any attachments you should read the > Manchester Metropolitan Universitys' email disclaimer available on its website > http://www.mmu.ac.uk/emaildisclaimer > > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request@bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From poenikatu at operamail.com Sun May 21 05:19:20 2006 From: poenikatu at operamail.com (Sian Mountbatten) Date: Sun May 21 05:19:19 2006 Subject: [XForms] Algol 68 binding Message-ID: <44703098.806@operamail.com> I have written a binding for the RS Algol 68 compiler (algol68toc) which I ported to Linux some years ago. Currently, I am converting the documentation to LaTeX and translating the examples to Algol 68 so that the resulting manual can be used to write GUI programs in Web 68 (the literate programming system for Algol 68). Because the source documentation is only available in HTML, I have LaTeXified that version and am in the process of converting it to full LaTeX. Of course, if the original documentation were available, because it is already in TeX form, it would be ease my task considerably. Does anybody know where the original documentation is and whether a copy can be obtained? Regards -- Sian Mountbatten From psg at debian.org Wed May 24 16:42:53 2006 From: psg at debian.org (Peter S Galbraith) Date: Wed May 24 16:42:58 2006 Subject: [XForms] Re: XForms: Documentation In-Reply-To: Message from Peter S Galbraith of "Tue, 08 Feb 2005 09:22:41 EST." <20050208142241.8683AAB07E@mixing.qc.dfo.ca> References: <20030908154838.51918.qmail@web13407.mail.yahoo.com> <20050208142241.8683AAB07E@mixing.qc.dfo.ca> Message-ID: <22216.1148503373@mixing.qc.dfo.ca> Hello T.C. (and the XForms list) Consider this the yearly nudge to release the sources of the XForms manual. Someone just emailed me today about them, so I'm sure they would still be appreciated and used by many. Thanks, Peter On 08 Feb 2005, I wrote: > On Sept 8th 2003, T.C. Zhao wrote: > > > Sorry for the delay and thanks for the info. GPL it is. > > > > I am currently travelling and will be back home end of September. Expect the > > free manual in October sometime. > > > > -TC > > --- Peter S Galbraith wrote: > > > To subscribers of the xforms list > > > > > > > > > T.C. Zhao wrote: > > > > > > > All I need to do is boot up my old linux box and recover the doc > > > > and send it. Will do this sometime in April (I've been travelling, > > > > and am sending this email from Tokyo). > > > > -TC > > > > > > Hi T.C., > > > > > > I really hate to keep nagging you like this. :-) > > > > > > You meant to release the sources of the XForms manual last April but > > > never got around to it. This is a reminder. Also, please avoid using > > > the GNU Free Documentation License (GFDL) since it not a free software > > > license and therefore cannot be included in the Debian distribution. > > > Using the GPL would be fine. > > Hello T.C., > > Consider this another nudge to release the sources of the XForms > manual. On the plus side, I didn't nag you in 2004. ;-) > > Please consider taking some time to actually do this now, while the > sources still exist, and before you get hit by a bus or something and > they are gone forever. The XForms sources have been free for a long > time now (Thanks!) and they really should have free documentation. > > Thanks, > -- > Peter S. Galbraith, Debian Developer > http://people.debian.org/~psg > GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E -- Peter S. Galbraith, Debian Developer http://people.debian.org/~psg GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E From jason.cipriani at gmail.com Wed May 31 20:38:21 2006 From: jason.cipriani at gmail.com (jason cipriani) Date: Wed May 31 20:38:26 2006 Subject: [XForms] Test, feel free to ignore this. Message-ID: Just a test (shiny new email address :), sorry to spam you all! Jason From juerg.hauser at krist.unibe.ch Thu Aug 24 02:43:48 2006 From: juerg.hauser at krist.unibe.ch (=?ISO-8859-15?Q?J=FCrg_Hauser?=) Date: Thu Aug 24 02:43:56 2006 Subject: [XForms] CygwinX maximize/restore for fixed size form Message-ID: <44ED4AA4.6070208@krist.unibe.ch> I'm porting an application using xforms to CygwinX (default installation). Although the application window is given fixed size (fl_show_form with place=FL_PLACE_CENTER) a maximize/restore button is displayed. In Linux (SUSE, RedHat) I only get the minimize and close buttons. Any help is appreciated. Regards, Juerg -- ____________________________ Universit?t Bern Laboratorium f?r chemische und mineralogische Kristallographie Dr. J?rg Hauser Freiestrasse 3 CH-3012 Bern Tel. +41 (0)31 631 43 90 Fax +41 (0)31 631 39 96 mailto:juerg.hauser@krist.unibe.ch http://www.krist.unibe.ch From gme at epr80.de Fri Oct 6 04:36:08 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 10:36:08 +0200 Subject: [XForms] Statically linked application Message-ID: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Hello, is there any information available on how to create a statically linked XForms program ? Best regards, Gerald From jt at toerring.de Fri Oct 6 06:56:25 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Fri, 6 Oct 2006 12:56:25 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006103608.0f0b0eea@emig4.heisch.inka.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Message-ID: <20061006105624.GA22692@john.toerring.de> On Fri, Oct 06, 2006 at 10:36:08AM +0200, Gerald Emig wrote: > is there any information available on how to create > a statically linked XForms program ? Since, as far as I can see, there's a static as well as a dynamic version of the XForms library installed per default you should mostly only need to use the appropriate compiler/linker flags to create a static program. E.g. for gcc you would need the option '-static'. But, of course, you also need static library versions of all other libraries involved to be installed on your system. On mine (Linux) all required libraries (libm, libpthread, libX11, libXpm) seem to exist in static versions except glibc, which I would have to install in order to be able to create a program without any external dependencies. On the other hand, the linker just complains a bit about the program still requiring at runtime the shared version of glib, but the resulting executable seems to work fine, and perhaps you can live with that since a glibc will probably exist on all systems you try to run the program on. Other- wise install a static version of glibc on the system you build the program on. Just don't be surprised about the size difference, a small test program that was statically linked - as far as possible, i.e. still dependent on the shared glic - is over 4 MB while, when linked without '-static', it's only about 10k.... Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From dadembro at rockwellcollins.com Fri Oct 6 08:26:19 2006 From: dadembro at rockwellcollins.com (dadembro at rockwellcollins.com) Date: Fri, 6 Oct 2006 08:26:19 -0400 Subject: [XForms] Statically linked application In-Reply-To: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Message-ID: An example compiler command I used many years ago. Some compiler options may have changed but it may point you in the right direction. gcc ?O ?o mm object_files ?Xlinker ?Bstatic ?lforms \ ?Xlinker ?Bdynamic ?L/usr/X11R6/lib ?lX11 ?lm ?lXpm ?lXext Good luck, ---d.dembrow Gerald Emig Sent by: To xforms-bounces at bo XFORMS list b.usuhs.mil cc Subject 10/06/2006 04:36 [XForms] Statically linked AM application To subscribers of the xforms list Hello, is there any information available on how to create a statically linked XForms program ? Best regards, Gerald _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Todd.Denniston at ssa.crane.navy.mil Fri Oct 6 09:04:23 2006 From: Todd.Denniston at ssa.crane.navy.mil (Todd Denniston) Date: Fri, 06 Oct 2006 08:04:23 -0500 Subject: [XForms] Statically linked application In-Reply-To: <20061006105624.GA22692@john.toerring.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> Message-ID: <45265457.2020909@ssa.crane.navy.mil> Jens Thoms Toerring wrote: > To subscribers of the xforms list > > On Fri, Oct 06, 2006 at 10:36:08AM +0200, Gerald Emig wrote: >> is there any information available on how to create >> a statically linked XForms program ? > > Since, as far as I can see, there's a static as well as a dynamic > version of the XForms library installed per default you should > mostly only need to use the appropriate compiler/linker flags to > create a static program. E.g. for gcc you would need the option > '-static'. But, of course, you also need static library versions > of all other libraries involved to be installed on your system. > On mine (Linux) all required libraries (libm, libpthread, libX11, > libXpm) seem to exist in static versions except glibc, which I > would have to install in order to be able to create a program > without any external dependencies. On the other hand, the linker > just complains a bit about the program still requiring at runtime > the shared version of glib, but the resulting executable seems to > work fine, and perhaps you can live with that since a glibc will > probably exist on all systems you try to run the program on. Other- > wise install a static version of glibc on the system you build the > program on. Just don't be surprised about the size difference, a > small test program that was statically linked - as far as possible, > i.e. still dependent on the shared glic - is over 4 MB while, when > linked without '-static', it's only about 10k.... > > Regards, Jens Although I have forgotten how, it is possible to specify how each individual library should be linked, i.e., it is possible to tell the compiler link libforms static and libc dynamic, thus you could build on a box with Xforms and put it on systems that don't have Xforms installed. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter From gme at epr80.de Fri Oct 6 09:23:43 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 15:23:43 +0200 Subject: [XForms] Statically linked application In-Reply-To: <45265457.2020909@ssa.crane.navy.mil> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> Message-ID: <20061006152343.52bffa7d@emig4.heisch.inka.de> Hello all, many thanks for the hints. What Todd writes is just what I want to do. Many regards, Gerald Todd Denniston wrote: > Although I have forgotten how, it is possible to specify how each > individual library should be linked, i.e., it is possible to tell the > compiler link libforms static and libc dynamic, thus you could build > on a box with Xforms and put it on systems that don't have Xforms > installed. > > -- > Todd Denniston From jt at toerring.de Fri Oct 6 10:29:09 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Fri, 6 Oct 2006 16:29:09 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006152343.52bffa7d@emig4.heisch.inka.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> <20061006152343.52bffa7d@emig4.heisch.inka.de> Message-ID: <20061006142909.GA24016@john.toerring.de> On Fri, Oct 06, 2006 at 03:23:43PM +0200, Gerald Emig wrote: > Todd Denniston wrote: > > > Although I have forgotten how, it is possible to specify how each > > individual library should be linked, i.e., it is possible to tell the > > compiler link libforms static and libc dynamic, thus you could build > > on a box with Xforms and put it on systems that don't have Xforms > > installed. > > many thanks for the hints. What Todd writes is just what I want to do. If you just want to link against the static version of the XForms library but want to use the shared versions of all the other libraries then just explicitely link against teh staic library libforms.a, e.g. gcc -o xformtest xformtest.c /usr/local/lib/libforms.a \ -L/usr/X11R6/lib -lX11 -lm (assuming the static version of the XForms library is installed in /usr/local/lib). Static libaries are just a collection of object files and when linking you can use them the same way as object files. Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From gme at epr80.de Fri Oct 6 12:52:41 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 18:52:41 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006142909.GA24016@john.toerring.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> <20061006152343.52bffa7d@emig4.heisch.inka.de> <20061006142909.GA24016@john.toerring.de> Message-ID: <20061006185241.79fb4487@emig4.heisch.inka.de> Hello Jens, your "solution" is just what I need, thank you very much. Why ? I want to give away software for free, and say to the users that they must have xforms installed. Many of them then complain... Gerald On Fri, 6 Oct 2006 16:29:09 +0200 Jens Thoms Toerring wrote: > > If you just want to link against the static version of the XForms > library but want to use the shared versions of all the other > libraries then just explicitely link against teh staic library > libforms.a, e.g. > > gcc -o xformtest xformtest.c /usr/local/lib/libforms.a \ > -L/usr/X11R6/lib -lX11 -lm > From Steve.Kerich at smiths-aerospace.com Thu Oct 12 16:56:45 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Thu, 12 Oct 2006 14:56:45 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> I am having a problem with a question box. I use them throughout my code but this one keeps putting up a question box that is so big it goes off the left side of the screen and buttons that are huge. The text in the label and on the buttons is also corrupted. I found out by trail and error that if I show an alert box before making the call to show_question, the question box is the correct size. Has anyone seen something like this happen before? The show_alert is doing something to XForms that is making the show_question box work. I guess like flushing a buffer, reseting a pointer, or something. Below is the snippet from the program with the show_alert that makes this work. This only happens with the show_question call in the program. Elsewhere it works fine. Any ideas would be greatly appreciated. fl_show_alert("Nothing to write", "Test.", "test.", 1); fl_show_question("Write archive CD with current track layout?", 1); ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From jason.cipriani at gmail.com Thu Oct 12 17:30:43 2006 From: jason.cipriani at gmail.com (jason cipriani) Date: Thu, 12 Oct 2006 17:30:43 -0400 Subject: [XForms] question box appears huge In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> References: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: I've never seen that happen before. XForms may be kind of sketchy, but lord knows I've put it to the test over the last few years and I honestly believe that the goodie boxes are stable and bug-free. Are you making sure you are calling fl_initialize when your application starts before doing any other xforms stuff? That aside, the cuplrit of odd problems like that is usually some memory-related issue elsewhere in the program. Perhaps some of your code is writing past the end of a buffer somewhere and coincidently corrupting certain xforms data structures. Showing the alert box may reinitialize some data, or may move things around in memory so that the other issue no longer affects the quesiton box. Sorry, I can't think of any other reason that would occur unless there's some weird X or window-manager related problem that is only affecting that one message box for some reason. Jason On 10/12/06, Kerich, Steve (AGTE) wrote: > To subscribers of the xforms list > > > I am having a problem with a question box. I use them throughout my code > but this one keeps putting up a question box that is so big it goes off > the left side of the screen and buttons that are huge. The text in the > label and on the buttons is also corrupted. I found out by trail and > error that if I show an alert box before making the call to > show_question, the question box is the correct size. Has anyone seen > something like this happen before? The show_alert is doing something to > XForms that is making the show_question box work. I guess like flushing > a buffer, reseting a pointer, or something. Below is the snippet from > the program with the show_alert that makes this work. This only happens > with the show_question call in the program. Elsewhere it works fine. > > Any ideas would be greatly appreciated. > > fl_show_alert("Nothing to write", > "Test.", > "test.", > 1); > > fl_show_question("Write archive CD with current track layout?", > 1); > > > ****************************************** > The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. > ****************************************** > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From Steve.Kerich at smiths-aerospace.com Fri Oct 13 12:25:14 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Fri, 13 Oct 2006 10:25:14 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7A8@cossmgmbx06.EMAIL.CORP.TLD> Hi Jason, Thanks for getting back with me so quickly. I really didn't know if there was anyone out there that would respond to a Xforms question. A totally agree with your suggestions about a buffer over run or a crazy pointer. There is another yes/no box that is consistently doing corrupted text. The buttons come up with stuff like "true" "true" for the selections which is pretty funny to see since they are both true but not to the user. Since this is only happening in two totally different area, I would have to agree that something is getting stepped on. I'm going to work backwards and look at all the data writes to see if I can How well do you understand how Xforms works under the hood? How would/could the alert box being shown fix the question box data structure? There must be something shared between them that is getting reinitialized. Update: I did some more testing and it seems that if I call the question box before making my finish subroutine call, the box is normal but if I make the same call as the first line after the call, the box is corrupted. It would help if I could understand how the Alert box was able to reinit the question box. Let me know what you think, Steve (\__/) (='.'=) (")_(") -----Original Message----- From: jason cipriani [mailto:jason.cipriani at gmail.com] Sent: Thursday, October 12, 2006 5:31 PM To: Kerich, Steve (AGTE) Cc: xforms at bob.usuhs.mil Subject: Re: [XForms] question box appears huge I've never seen that happen before. XForms may be kind of sketchy, but lord knows I've put it to the test over the last few years and I honestly believe that the goodie boxes are stable and bug-free. Are you making sure you are calling fl_initialize when your application starts before doing any other xforms stuff? That aside, the cuplrit of odd problems like that is usually some memory-related issue elsewhere in the program. Perhaps some of your code is writing past the end of a buffer somewhere and coincidently corrupting certain xforms data structures. Showing the alert box may reinitialize some data, or may move things around in memory so that the other issue no longer affects the quesiton box. Sorry, I can't think of any other reason that would occur unless there's some weird X or window-manager related problem that is only affecting that one message box for some reason. Jason On 10/12/06, Kerich, Steve (AGTE) wrote: > To subscribers of the xforms list > > > I am having a problem with a question box. I use them throughout my > code but this one keeps putting up a question box that is so big it > goes off the left side of the screen and buttons that are huge. The > text in the label and on the buttons is also corrupted. I found out by > trail and error that if I show an alert box before making the call to > show_question, the question box is the correct size. Has anyone seen > something like this happen before? The show_alert is doing something > to XForms that is making the show_question box work. I guess like > flushing a buffer, reseting a pointer, or something. Below is the > snippet from the program with the show_alert that makes this work. > This only happens with the show_question call in the program. Elsewhere it works fine. > > Any ideas would be greatly appreciated. > > fl_show_alert("Nothing to write", > "Test.", > "test.", > 1); > > fl_show_question("Write archive CD with current track layout?", > 1); > > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms List Archive: > http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > ______________________________________________________________________ CAUTION: This message was sent via the Public Internet and its authenticity cannot be guaranteed. ______________________________________________________ -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From Steve.Kerich at smiths-aerospace.com Mon Oct 16 09:43:43 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Mon, 16 Oct 2006 07:43:43 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7B1@cossmgmbx06.EMAIL.CORP.TLD> Hi I spend all day Friday trying investigating the big box issue and found out in the end that it was being caused by my local stack overflowing. I don't have any direct proof that this is the case but through trial and error I found that if I made more room on the stack that the box returned to normal size. I was surprised that a stack problem would manifest itself with Xforms putting up a box question box but I guess anything is possible. I'm just glad its fixed! Steve ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From Steve.Kerich at smiths-aerospace.com Wed Dec 13 16:17:41 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Wed, 13 Dec 2006 14:17:41 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA919@cossmgmbx06.EMAIL.CORP.TLD> Hi The problem I was having with the question box appearing with either the button text corrupted or the title bar text corrupted, or the box itself is many times the correct size. It was first thought to be a stack problem because I could move large arrays out of a local routine and the problem would go away. Through our system testing have found 4 separate places in 4 different executable images where a question box is not being displayed correctly. The one that was discovered this week is directly tied to the use of a slider function . As the slider is moved closer to the bottom of its range the problem with the question box gets worse. What I mean by worse is that when the slider is about 1/4 from the bottom the text on the question box when the cancel is selected is corrupted to true & true . If the slider is moved to close or at the bottom the range, the corruption gets worse and the size of the box is huge . The callback for all slider positions is the same but this problem only happens when the slider is put at the bottom. Strange Huh. The only box in all 4 executables that has a problem is the question box. No other box type. But it is every time it is used. We use the question box a lot and most times it works just fine. This interaction between the slider and the question box where the slider seems to directly affect the question box by its position does not make sense. The slider value is simply saved as it is changed and are small numbers. (see code snippet below). This display issue is a real problem for our customer because the operators really don't know what to do when this happens. The box still functions if you figure out what button to push! HELP! Does anyone have any ideas about this? It just seems like there is something going on with how the question box is executed and I can fix it in most cases (not the slider case) by clearing as much of my local stack as possible. I have .jpgs of what it looks like but can't post them but can send them if someone wants to see what I am talking about. Thanks Steve void VolumeSlider_Callback(FL_OBJECT *ob, long data) { char NewValue[256]; /* Set the volume level in the AudibleAlarmInfo Array for saving later */ AudibleAlarmInfo[bSelectedAlarm].Volume = (int)fl_get_slider_value(ob); /* Convert unsigned int to string and pass to text box */ sprintf(NewValue, "%d", AudibleAlarmInfo[bSelectedAlarm].Volume); fl_set_object_label(fd_AudibleAlarmGui->VolumeText, NewValue); #ifdef ALARM_DEBUG printf("New slider volume: %d for %s index %d data %d\n", AudibleAlarmInfo[bSelectedAlarm].Volume, AudibleAlarmInfo[bSelectedAlarm].AlarmType, bSelectedAlarm, (int)data); #endif /* Set the dirty bit indicating the data has changed */ bDirtyBit = TRUE; } ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From joel.moots at ngc.com Wed Dec 13 16:38:58 2006 From: joel.moots at ngc.com (Moots, Joel A. (IT Solutions/EOS)) Date: Wed, 13 Dec 2006 14:38:58 -0700 Subject: [XForms] corrupted text or big question box returns In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA919@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: <988FAD2E161E4347BFD7EC93A4D05904022F490E@xcgaz701.northgrum.com> If you remove the callback or comment out its body, does the problem go away? -joel -----Original Message----- From: xforms-bounces at bob.usuhs.mil [mailto:xforms-bounces at bob.usuhs.mil] On Behalf Of Kerich, Steve (AGTE) Sent: Wednesday, December 13, 2006 2:18 PM To: xforms at bob.usuhs.mil Subject: [XForms] corrupted text or big question box returns To subscribers of the xforms list Hi The problem I was having with the question box appearing with either the button text corrupted or the title bar text corrupted, or the box itself is many times the correct size. It was first thought to be a stack problem because I could move large arrays out of a local routine and the problem would go away. Through our system testing have found 4 separate places in 4 different executable images where a question box is not being displayed correctly. The one that was discovered this week is directly tied to the use of a slider function . As the slider is moved closer to the bottom of its range the problem with the question box gets worse. What I mean by worse is that when the slider is about 1/4 from the bottom the text on the question box when the cancel is selected is corrupted to true & true . If the slider is moved to close or at the bottom the range, the corruption gets worse and the size of the box is huge . The callback for all slider positions is the same but this problem only happens when the slider is put at the bottom. Strange Huh. The only box in all 4 executables that has a problem is the question box. No other box type. But it is every time it is used. We use the question box a lot and most times it works just fine. This interaction between the slider and the question box where the slider seems to directly affect the question box by its position does not make sense. The slider value is simply saved as it is changed and are small numbers. (see code snippet below). This display issue is a real problem for our customer because the operators really don't know what to do when this happens. The box still functions if you figure out what button to push! HELP! Does anyone have any ideas about this? It just seems like there is something going on with how the question box is executed and I can fix it in most cases (not the slider case) by clearing as much of my local stack as possible. I have .jpgs of what it looks like but can't post them but can send them if someone wants to see what I am talking about. Thanks Steve void VolumeSlider_Callback(FL_OBJECT *ob, long data) { char NewValue[256]; /* Set the volume level in the AudibleAlarmInfo Array for saving later */ AudibleAlarmInfo[bSelectedAlarm].Volume = (int)fl_get_slider_value(ob); /* Convert unsigned int to string and pass to text box */ sprintf(NewValue, "%d", AudibleAlarmInfo[bSelectedAlarm].Volume); fl_set_object_label(fd_AudibleAlarmGui->VolumeText, NewValue); #ifdef ALARM_DEBUG printf("New slider volume: %d for %s index %d data %d\n", AudibleAlarmInfo[bSelectedAlarm].Volume, AudibleAlarmInfo[bSelectedAlarm].AlarmType, bSelectedAlarm, (int)data); #endif /* Set the dirty bit indicating the data has changed */ bDirtyBit = TRUE; } ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Steve.Kerich at smiths-aerospace.com Wed Dec 20 15:15:13 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Wed, 20 Dec 2006 13:15:13 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA942@cossmgmbx06.EMAIL.CORP.TLD> Thanks for responding Joel. Sorry for the delay in getting back. If I don't call the question box (fl_show_question("Do you want to save the new volume level(s)?",0)) ), all other boxes appear just fine. Its only the question box that is displayed either as a huge size or the text in the buttons are corrupted. I was able to reduce the slider-question box program down to just two elements, the slider, a cancel button which calls the question box, and the problem still occurs. Really weird. But now it is narrowed down to a very few lines of code and is repeatable over and over. The code does nothing but read the value from the slider. No other processing. This is why this is a great test case. I am hoping that this is the same problem as I am seeing with the other 2 executables that do this too but don't have slider boxes. One has a browser window and the other has a tabbed form open. It make this problem even stranger it depends upon the position of the slider whether the question box appears as a huge box, corrupted text on yes/no buttons, or normally. Any value from 60 to 100 allows the box to be displayed normally. There does not seem to be any pattern to it and I have tried this on 3 different machines running Solaris 8 and the same thing happens BUT the numbers it happens with change. Weird again. I can't debug XForms source so I need help from the community. I have zipped up the source, make, binary etc to make my test program which will cause this problem. I just need someone to take a little time to look into how this can be happening to the question box. If someone would like me to send it to them with some .jpgs of the problem, I will right away. It just freaks the military operators out when a huge box that goes off the right side of the screen shows up or the buttons don't have text that makes sense. Thanks Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ From Steve.Kerich at smiths-aerospace.com Thu Dec 28 13:24:13 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Thu, 28 Dec 2006 11:24:13 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA961@cossmgmbx06.EMAIL.CORP.TLD> Hi I have been doing more testing and have found with my test program that if I call fl_show_alert before fl_show_question, the corruption of the question box goes away. I have noticed this fix also works for another executable that is having trouble with the question box. If I display an alert just before the question box, the problem goes away. I haven't tried it with the other 2 images that are showing the same/similar problem. There must be some XForms connection between the two. My test program is very very small so I don't believe that there are pointer or memory stack issues involved. Jens tried out my test program on a Linux box using gcc but was unable to reproduce the problem I have been seeing. So I guess that is a clue too. That it has something to so with Solaris or the compiler. The compiler used is SUNspro instead of gcc. I do not know why this compiler was picked in the beginning. Because this problem is spread through several of our applications, I really need to find a solution. Is there anyone who has debug ideas or could help with this? Any help would be appreciated. Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ From joel.moots at ngc.com Thu Dec 28 13:58:33 2006 From: joel.moots at ngc.com (Moots, Joel A. (IT Solutions/EOS)) Date: Thu, 28 Dec 2006 11:58:33 -0700 Subject: [XForms] corrupted text or big question box returns In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA961@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: <988FAD2E161E4347BFD7EC93A4D05904022F4B69@xcgaz701.northgrum.com> Since the program is so small, can you find the smallest amount of code needed for you to reproduce the problem and then paste just the parts you wrote to this list? E.g., if you don't need a slider callback to reproduce the problem, get rid of it; if you need the callback but don't need to retrieve the value, get rid of it; etc. If that's still rather large, can you tar/gzip just the source files with no extension on the filename and email to me. TIA, -joel -----Original Message----- From: xforms-bounces at bob.usuhs.mil [mailto:xforms-bounces at bob.usuhs.mil] On Behalf Of Kerich, Steve (AGTE) Sent: Thursday, December 28, 2006 11:24 AM To: xforms at bob.usuhs.mil Subject: [XForms] corrupted text or big question box returns To subscribers of the xforms list Hi I have been doing more testing and have found with my test program that if I call fl_show_alert before fl_show_question, the corruption of the question box goes away. I have noticed this fix also works for another executable that is having trouble with the question box. If I display an alert just before the question box, the problem goes away. I haven't tried it with the other 2 images that are showing the same/similar problem. There must be some XForms connection between the two. My test program is very very small so I don't believe that there are pointer or memory stack issues involved. Jens tried out my test program on a Linux box using gcc but was unable to reproduce the problem I have been seeing. So I guess that is a clue too. That it has something to so with Solaris or the compiler. The compiler used is SUNspro instead of gcc. I do not know why this compiler was picked in the beginning. Because this problem is spread through several of our applications, I really need to find a solution. Is there anyone who has debug ideas or could help with this? Any help would be appreciated. Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Jean-Marc.Lasgouttes at inria.fr Fri Jan 27 10:29:06 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Fri, 27 Jan 2006 16:29:06 +0100 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X In-Reply-To: <73605DC8-D5F9-46A5-B302-7783D84E9176@wooster.edu> (Rick Drushal's message of "Fri, 27 Jan 2006 01:29:36 -0500") References: <73605DC8-D5F9-46A5-B302-7783D84E9176@wooster.edu> Message-ID: >>>>> "Rick" == Rick Drushal writes: Rick> I am trying to build the xforms libraries on my OS X Tiger Rick> system. I only need to build because I only need access to the Rick> .h and .a files. When i run :./configure it balks because it Rick> "Cannot find libjpeg". I have installed this library via fink, Rick> with no success and even downloaded the source and compiled it Rick> myself, also with no effect. If and of you have any good ideas Rick> of where to go with this next I would appreciate it. Hello Rick, Where are the headers/library installed? You can use --with-extra-inc and --with-extra-lib to point there. JMarc PS: I changed the destination to the real xforms list. From jac4 at mindless.com Fri Jan 27 11:36:07 2006 From: jac4 at mindless.com (jason cipriani) Date: Fri, 27 Jan 2006 11:36:07 -0500 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X Message-ID: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> > To subscribers of the xforms list > > >>>>> "Rick" == Rick Drushal writes: > > Rick> I am trying to build the xforms libraries on my OS X Tiger > Rick> system. I only need to build because I only need access to the > Rick> .h and .a files. When i run :./configure it balks because it > Rick> "Cannot find libjpeg". I have installed this library via fink, > Rick> with no success and even downloaded the source and compiled it > Rick> myself, also with no effect. If and of you have any good ideas > Rick> of where to go with this next I would appreciate it. > > Hello Rick, > > Where are the headers/library installed? You can use --with-extra-inc > and --with-extra-lib to point there. fink installs them to /sw/lib and /sw/include i believe. > > JMarc > > PS: I changed the destination to the real xforms list. > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From Jean-Marc.Lasgouttes at inria.fr Fri Jan 27 16:46:09 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Fri, 27 Jan 2006 22:46:09 +0100 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X In-Reply-To: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> (jason cipriani's message of "Fri, 27 Jan 2006 11:36:07 -0500") References: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> Message-ID: >>>>> "jason" == jason cipriani writes: jason> fink installs them to /sw/lib and /sw/include i believe. so ./configure --with-extra-prefix=/sw should do the trick. JMarc From giulio.ballardin at ego-gw.it Thu Feb 16 04:39:46 2006 From: giulio.ballardin at ego-gw.it (Giulio Ballardin) Date: Thu, 16 Feb 2006 10:39:46 +0100 Subject: [XForms] Counter Message-ID: Hi, I'm using linux readhat 9.0 and Library 1.1. I built an user Interface with some counters. It appends that when a click only one time on the counter arrow, some time the number increases more than it should. It seems a problem of mouse sensibility or a problem of counter sensibility. How can I fixe this problem? thank you, Giulio From jt at toerring.de Thu Feb 16 05:58:49 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Thu, 16 Feb 2006 11:58:49 +0100 Subject: [XForms] Counter In-Reply-To: References: Message-ID: <20060216105849.GA24320@john.toerring.de> Hello Guilio, On Thu, Feb 16, 2006 at 10:39:46AM +0100, Giulio Ballardin wrote: > I'm using linux readhat 9.0 and Library 1.1. I built an user Interface > with some counters. It appends that when a click > only one time on the counter arrow, some time the number > increases more than it should. It seems a problem > of mouse sensibility or a problem of counter sensibility. > How can I fixe this problem? Unfortunately, your description of the problem is a bit vague. I also don't know what a "counter arrow" is - is that a button with an arrow drawn on it or something else? It probably would help if you could you post the code you are using, ideally as a complete, compilable program with everything thrown out except the part that exhibits the problem you encounter. Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From kro at grizzly.tphys.uni-linz.ac.at Wed Apr 19 23:00:34 2006 From: kro at grizzly.tphys.uni-linz.ac.at (Eckhard Krotscheck) Date: Thu, 20 Apr 2006 05:00:34 +0200 (CEST) Subject: [XForms] activity Message-ID: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> This is just to see if there is still any activity on the Xforms mailing list... From M.Holme at mmu.ac.uk Thu Apr 20 06:26:19 2006 From: M.Holme at mmu.ac.uk (Michael Holme) Date: Thu, 20 Apr 2006 11:26:19 +0100 Subject: [XForms] xforms for Mac OSX - a request please Message-ID: <6.1.0.6.0.20060420112117.01a7b700@patsy.doc.aca.mmu.ac.uk> Hello List, This is my first post (I think, I used to be an active xforms programmer years ago). I've been asked to port an xforms application from Linux to Mac OSX and the old site that contains the binaries of the various xforms libraries doesn't seem to be giving me much joy. Does anybody have a binary distribution of the xforms library that isn't too customised with regard to directories, etc that could be emailed to me, or I could download ? I'd appreciate any help. Thanks, Mike Holme Before acting on this email or opening any attachments you should read the Manchester Metropolitan Universitys' email disclaimer available on its website http://www.mmu.ac.uk/emaildisclaimer From Jean-Marc.Lasgouttes at inria.fr Thu Apr 20 08:59:24 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Thu, 20 Apr 2006 14:59:24 +0200 Subject: [XForms] activity In-Reply-To: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> (Eckhard Krotscheck's message of "Thu, 20 Apr 2006 05:00:34 +0200 (CEST)") References: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> Message-ID: >>>>> "Eckhard" == Eckhard Krotscheck writes: Eckhard> This is just to see if there is still any activity on the Eckhard> Xforms mailing list... There is not much activity unfortunately :( JMarc From jac4 at mindless.com Thu Apr 20 09:51:13 2006 From: jac4 at mindless.com (jason cipriani) Date: Thu, 20 Apr 2006 08:51:13 -0500 Subject: [XForms] xforms for Mac OSX - a request please Message-ID: <20060420135113.F10D983985@ws1-2a.us4.outblaze.com> I have built xforms succesfully on OSX. It's not native, of course, it still runs through the X server. The build process is straightforward, I don't recall running in to any issues. But I can send you the binaries later today or tomorrow if you'd like. Jason > ----- Original Message ----- > From: "Michael Holme" > To: xforms at bob.usuhs.mil > Subject: [XForms] xforms for Mac OSX - a request please > Date: Thu, 20 Apr 2006 11:26:19 +0100 > > > To subscribers of the xforms list > > Hello List, > > This is my first post (I think, I used to be an active xforms > programmer years ago). I've been asked to port an xforms application from > Linux to Mac OSX and the old site that contains the binaries of the various > xforms libraries doesn't seem to be giving me much joy. Does anybody have a > binary distribution of the xforms library that isn't too customised with > regard to directories, etc that could be emailed to me, or I could download ? > I'd appreciate any help. > > Thanks, > Mike Holme > > > Before acting on this email or opening any attachments you should read the > Manchester Metropolitan Universitys' email disclaimer available on its website > http://www.mmu.ac.uk/emaildisclaimer > > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From poenikatu at operamail.com Sun May 21 05:19:20 2006 From: poenikatu at operamail.com (Sian Mountbatten) Date: Sun, 21 May 2006 10:19:20 +0100 Subject: [XForms] Algol 68 binding Message-ID: <44703098.806@operamail.com> I have written a binding for the RS Algol 68 compiler (algol68toc) which I ported to Linux some years ago. Currently, I am converting the documentation to LaTeX and translating the examples to Algol 68 so that the resulting manual can be used to write GUI programs in Web 68 (the literate programming system for Algol 68). Because the source documentation is only available in HTML, I have LaTeXified that version and am in the process of converting it to full LaTeX. Of course, if the original documentation were available, because it is already in TeX form, it would be ease my task considerably. Does anybody know where the original documentation is and whether a copy can be obtained? Regards -- Sian Mountbatten From psg at debian.org Wed May 24 16:42:53 2006 From: psg at debian.org (Peter S Galbraith) Date: Wed, 24 May 2006 16:42:53 -0400 Subject: [XForms] Re: XForms: Documentation In-Reply-To: Message from Peter S Galbraith of "Tue, 08 Feb 2005 09:22:41 EST." <20050208142241.8683AAB07E@mixing.qc.dfo.ca> References: <20030908154838.51918.qmail@web13407.mail.yahoo.com> <20050208142241.8683AAB07E@mixing.qc.dfo.ca> Message-ID: <22216.1148503373@mixing.qc.dfo.ca> Hello T.C. (and the XForms list) Consider this the yearly nudge to release the sources of the XForms manual. Someone just emailed me today about them, so I'm sure they would still be appreciated and used by many. Thanks, Peter On 08 Feb 2005, I wrote: > On Sept 8th 2003, T.C. Zhao wrote: > > > Sorry for the delay and thanks for the info. GPL it is. > > > > I am currently travelling and will be back home end of September. Expect the > > free manual in October sometime. > > > > -TC > > --- Peter S Galbraith wrote: > > > To subscribers of the xforms list > > > > > > > > > T.C. Zhao wrote: > > > > > > > All I need to do is boot up my old linux box and recover the doc > > > > and send it. Will do this sometime in April (I've been travelling, > > > > and am sending this email from Tokyo). > > > > -TC > > > > > > Hi T.C., > > > > > > I really hate to keep nagging you like this. :-) > > > > > > You meant to release the sources of the XForms manual last April but > > > never got around to it. This is a reminder. Also, please avoid using > > > the GNU Free Documentation License (GFDL) since it not a free software > > > license and therefore cannot be included in the Debian distribution. > > > Using the GPL would be fine. > > Hello T.C., > > Consider this another nudge to release the sources of the XForms > manual. On the plus side, I didn't nag you in 2004. ;-) > > Please consider taking some time to actually do this now, while the > sources still exist, and before you get hit by a bus or something and > they are gone forever. The XForms sources have been free for a long > time now (Thanks!) and they really should have free documentation. > > Thanks, > -- > Peter S. Galbraith, Debian Developer > http://people.debian.org/~psg > GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E -- Peter S. Galbraith, Debian Developer http://people.debian.org/~psg GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E From jason.cipriani at gmail.com Wed May 31 20:38:21 2006 From: jason.cipriani at gmail.com (jason cipriani) Date: Wed, 31 May 2006 20:38:21 -0400 Subject: [XForms] Test, feel free to ignore this. Message-ID: Just a test (shiny new email address :), sorry to spam you all! Jason From juerg.hauser at krist.unibe.ch Thu Aug 24 02:43:48 2006 From: juerg.hauser at krist.unibe.ch (=?ISO-8859-15?Q?J=FCrg_Hauser?=) Date: Thu, 24 Aug 2006 08:43:48 +0200 Subject: [XForms] CygwinX maximize/restore for fixed size form Message-ID: <44ED4AA4.6070208@krist.unibe.ch> I'm porting an application using xforms to CygwinX (default installation). Although the application window is given fixed size (fl_show_form with place=FL_PLACE_CENTER) a maximize/restore button is displayed. In Linux (SUSE, RedHat) I only get the minimize and close buttons. Any help is appreciated. Regards, Juerg -- ____________________________ Universit?t Bern Laboratorium f?r chemische und mineralogische Kristallographie Dr. J?rg Hauser Freiestrasse 3 CH-3012 Bern Tel. +41 (0)31 631 43 90 Fax +41 (0)31 631 39 96 mailto:juerg.hauser at krist.unibe.ch http://www.krist.unibe.ch From gme at epr80.de Fri Oct 6 04:36:08 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 10:36:08 +0200 Subject: [XForms] Statically linked application Message-ID: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Hello, is there any information available on how to create a statically linked XForms program ? Best regards, Gerald From jt at toerring.de Fri Oct 6 06:56:25 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Fri, 6 Oct 2006 12:56:25 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006103608.0f0b0eea@emig4.heisch.inka.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Message-ID: <20061006105624.GA22692@john.toerring.de> On Fri, Oct 06, 2006 at 10:36:08AM +0200, Gerald Emig wrote: > is there any information available on how to create > a statically linked XForms program ? Since, as far as I can see, there's a static as well as a dynamic version of the XForms library installed per default you should mostly only need to use the appropriate compiler/linker flags to create a static program. E.g. for gcc you would need the option '-static'. But, of course, you also need static library versions of all other libraries involved to be installed on your system. On mine (Linux) all required libraries (libm, libpthread, libX11, libXpm) seem to exist in static versions except glibc, which I would have to install in order to be able to create a program without any external dependencies. On the other hand, the linker just complains a bit about the program still requiring at runtime the shared version of glib, but the resulting executable seems to work fine, and perhaps you can live with that since a glibc will probably exist on all systems you try to run the program on. Other- wise install a static version of glibc on the system you build the program on. Just don't be surprised about the size difference, a small test program that was statically linked - as far as possible, i.e. still dependent on the shared glic - is over 4 MB while, when linked without '-static', it's only about 10k.... Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From dadembro at rockwellcollins.com Fri Oct 6 08:26:19 2006 From: dadembro at rockwellcollins.com (dadembro at rockwellcollins.com) Date: Fri, 6 Oct 2006 08:26:19 -0400 Subject: [XForms] Statically linked application In-Reply-To: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Message-ID: An example compiler command I used many years ago. Some compiler options may have changed but it may point you in the right direction. gcc ?O ?o mm object_files ?Xlinker ?Bstatic ?lforms \ ?Xlinker ?Bdynamic ?L/usr/X11R6/lib ?lX11 ?lm ?lXpm ?lXext Good luck, ---d.dembrow Gerald Emig Sent by: To xforms-bounces at bo XFORMS list b.usuhs.mil cc Subject 10/06/2006 04:36 [XForms] Statically linked AM application To subscribers of the xforms list Hello, is there any information available on how to create a statically linked XForms program ? Best regards, Gerald _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Todd.Denniston at ssa.crane.navy.mil Fri Oct 6 09:04:23 2006 From: Todd.Denniston at ssa.crane.navy.mil (Todd Denniston) Date: Fri, 06 Oct 2006 08:04:23 -0500 Subject: [XForms] Statically linked application In-Reply-To: <20061006105624.GA22692@john.toerring.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> Message-ID: <45265457.2020909@ssa.crane.navy.mil> Jens Thoms Toerring wrote: > To subscribers of the xforms list > > On Fri, Oct 06, 2006 at 10:36:08AM +0200, Gerald Emig wrote: >> is there any information available on how to create >> a statically linked XForms program ? > > Since, as far as I can see, there's a static as well as a dynamic > version of the XForms library installed per default you should > mostly only need to use the appropriate compiler/linker flags to > create a static program. E.g. for gcc you would need the option > '-static'. But, of course, you also need static library versions > of all other libraries involved to be installed on your system. > On mine (Linux) all required libraries (libm, libpthread, libX11, > libXpm) seem to exist in static versions except glibc, which I > would have to install in order to be able to create a program > without any external dependencies. On the other hand, the linker > just complains a bit about the program still requiring at runtime > the shared version of glib, but the resulting executable seems to > work fine, and perhaps you can live with that since a glibc will > probably exist on all systems you try to run the program on. Other- > wise install a static version of glibc on the system you build the > program on. Just don't be surprised about the size difference, a > small test program that was statically linked - as far as possible, > i.e. still dependent on the shared glic - is over 4 MB while, when > linked without '-static', it's only about 10k.... > > Regards, Jens Although I have forgotten how, it is possible to specify how each individual library should be linked, i.e., it is possible to tell the compiler link libforms static and libc dynamic, thus you could build on a box with Xforms and put it on systems that don't have Xforms installed. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter From gme at epr80.de Fri Oct 6 09:23:43 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 15:23:43 +0200 Subject: [XForms] Statically linked application In-Reply-To: <45265457.2020909@ssa.crane.navy.mil> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> Message-ID: <20061006152343.52bffa7d@emig4.heisch.inka.de> Hello all, many thanks for the hints. What Todd writes is just what I want to do. Many regards, Gerald Todd Denniston wrote: > Although I have forgotten how, it is possible to specify how each > individual library should be linked, i.e., it is possible to tell the > compiler link libforms static and libc dynamic, thus you could build > on a box with Xforms and put it on systems that don't have Xforms > installed. > > -- > Todd Denniston From jt at toerring.de Fri Oct 6 10:29:09 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Fri, 6 Oct 2006 16:29:09 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006152343.52bffa7d@emig4.heisch.inka.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> <20061006152343.52bffa7d@emig4.heisch.inka.de> Message-ID: <20061006142909.GA24016@john.toerring.de> On Fri, Oct 06, 2006 at 03:23:43PM +0200, Gerald Emig wrote: > Todd Denniston wrote: > > > Although I have forgotten how, it is possible to specify how each > > individual library should be linked, i.e., it is possible to tell the > > compiler link libforms static and libc dynamic, thus you could build > > on a box with Xforms and put it on systems that don't have Xforms > > installed. > > many thanks for the hints. What Todd writes is just what I want to do. If you just want to link against the static version of the XForms library but want to use the shared versions of all the other libraries then just explicitely link against teh staic library libforms.a, e.g. gcc -o xformtest xformtest.c /usr/local/lib/libforms.a \ -L/usr/X11R6/lib -lX11 -lm (assuming the static version of the XForms library is installed in /usr/local/lib). Static libaries are just a collection of object files and when linking you can use them the same way as object files. Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From gme at epr80.de Fri Oct 6 12:52:41 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 18:52:41 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006142909.GA24016@john.toerring.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> <20061006152343.52bffa7d@emig4.heisch.inka.de> <20061006142909.GA24016@john.toerring.de> Message-ID: <20061006185241.79fb4487@emig4.heisch.inka.de> Hello Jens, your "solution" is just what I need, thank you very much. Why ? I want to give away software for free, and say to the users that they must have xforms installed. Many of them then complain... Gerald On Fri, 6 Oct 2006 16:29:09 +0200 Jens Thoms Toerring wrote: > > If you just want to link against the static version of the XForms > library but want to use the shared versions of all the other > libraries then just explicitely link against teh staic library > libforms.a, e.g. > > gcc -o xformtest xformtest.c /usr/local/lib/libforms.a \ > -L/usr/X11R6/lib -lX11 -lm > From Steve.Kerich at smiths-aerospace.com Thu Oct 12 16:56:45 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Thu, 12 Oct 2006 14:56:45 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> I am having a problem with a question box. I use them throughout my code but this one keeps putting up a question box that is so big it goes off the left side of the screen and buttons that are huge. The text in the label and on the buttons is also corrupted. I found out by trail and error that if I show an alert box before making the call to show_question, the question box is the correct size. Has anyone seen something like this happen before? The show_alert is doing something to XForms that is making the show_question box work. I guess like flushing a buffer, reseting a pointer, or something. Below is the snippet from the program with the show_alert that makes this work. This only happens with the show_question call in the program. Elsewhere it works fine. Any ideas would be greatly appreciated. fl_show_alert("Nothing to write", "Test.", "test.", 1); fl_show_question("Write archive CD with current track layout?", 1); ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From jason.cipriani at gmail.com Thu Oct 12 17:30:43 2006 From: jason.cipriani at gmail.com (jason cipriani) Date: Thu, 12 Oct 2006 17:30:43 -0400 Subject: [XForms] question box appears huge In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> References: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: I've never seen that happen before. XForms may be kind of sketchy, but lord knows I've put it to the test over the last few years and I honestly believe that the goodie boxes are stable and bug-free. Are you making sure you are calling fl_initialize when your application starts before doing any other xforms stuff? That aside, the cuplrit of odd problems like that is usually some memory-related issue elsewhere in the program. Perhaps some of your code is writing past the end of a buffer somewhere and coincidently corrupting certain xforms data structures. Showing the alert box may reinitialize some data, or may move things around in memory so that the other issue no longer affects the quesiton box. Sorry, I can't think of any other reason that would occur unless there's some weird X or window-manager related problem that is only affecting that one message box for some reason. Jason On 10/12/06, Kerich, Steve (AGTE) wrote: > To subscribers of the xforms list > > > I am having a problem with a question box. I use them throughout my code > but this one keeps putting up a question box that is so big it goes off > the left side of the screen and buttons that are huge. The text in the > label and on the buttons is also corrupted. I found out by trail and > error that if I show an alert box before making the call to > show_question, the question box is the correct size. Has anyone seen > something like this happen before? The show_alert is doing something to > XForms that is making the show_question box work. I guess like flushing > a buffer, reseting a pointer, or something. Below is the snippet from > the program with the show_alert that makes this work. This only happens > with the show_question call in the program. Elsewhere it works fine. > > Any ideas would be greatly appreciated. > > fl_show_alert("Nothing to write", > "Test.", > "test.", > 1); > > fl_show_question("Write archive CD with current track layout?", > 1); > > > ****************************************** > The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. > ****************************************** > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From Steve.Kerich at smiths-aerospace.com Fri Oct 13 12:25:14 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Fri, 13 Oct 2006 10:25:14 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7A8@cossmgmbx06.EMAIL.CORP.TLD> Hi Jason, Thanks for getting back with me so quickly. I really didn't know if there was anyone out there that would respond to a Xforms question. A totally agree with your suggestions about a buffer over run or a crazy pointer. There is another yes/no box that is consistently doing corrupted text. The buttons come up with stuff like "true" "true" for the selections which is pretty funny to see since they are both true but not to the user. Since this is only happening in two totally different area, I would have to agree that something is getting stepped on. I'm going to work backwards and look at all the data writes to see if I can How well do you understand how Xforms works under the hood? How would/could the alert box being shown fix the question box data structure? There must be something shared between them that is getting reinitialized. Update: I did some more testing and it seems that if I call the question box before making my finish subroutine call, the box is normal but if I make the same call as the first line after the call, the box is corrupted. It would help if I could understand how the Alert box was able to reinit the question box. Let me know what you think, Steve (\__/) (='.'=) (")_(") -----Original Message----- From: jason cipriani [mailto:jason.cipriani at gmail.com] Sent: Thursday, October 12, 2006 5:31 PM To: Kerich, Steve (AGTE) Cc: xforms at bob.usuhs.mil Subject: Re: [XForms] question box appears huge I've never seen that happen before. XForms may be kind of sketchy, but lord knows I've put it to the test over the last few years and I honestly believe that the goodie boxes are stable and bug-free. Are you making sure you are calling fl_initialize when your application starts before doing any other xforms stuff? That aside, the cuplrit of odd problems like that is usually some memory-related issue elsewhere in the program. Perhaps some of your code is writing past the end of a buffer somewhere and coincidently corrupting certain xforms data structures. Showing the alert box may reinitialize some data, or may move things around in memory so that the other issue no longer affects the quesiton box. Sorry, I can't think of any other reason that would occur unless there's some weird X or window-manager related problem that is only affecting that one message box for some reason. Jason On 10/12/06, Kerich, Steve (AGTE) wrote: > To subscribers of the xforms list > > > I am having a problem with a question box. I use them throughout my > code but this one keeps putting up a question box that is so big it > goes off the left side of the screen and buttons that are huge. The > text in the label and on the buttons is also corrupted. I found out by > trail and error that if I show an alert box before making the call to > show_question, the question box is the correct size. Has anyone seen > something like this happen before? The show_alert is doing something > to XForms that is making the show_question box work. I guess like > flushing a buffer, reseting a pointer, or something. Below is the > snippet from the program with the show_alert that makes this work. > This only happens with the show_question call in the program. Elsewhere it works fine. > > Any ideas would be greatly appreciated. > > fl_show_alert("Nothing to write", > "Test.", > "test.", > 1); > > fl_show_question("Write archive CD with current track layout?", > 1); > > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms List Archive: > http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > ______________________________________________________________________ CAUTION: This message was sent via the Public Internet and its authenticity cannot be guaranteed. ______________________________________________________ -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From Steve.Kerich at smiths-aerospace.com Mon Oct 16 09:43:43 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Mon, 16 Oct 2006 07:43:43 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7B1@cossmgmbx06.EMAIL.CORP.TLD> Hi I spend all day Friday trying investigating the big box issue and found out in the end that it was being caused by my local stack overflowing. I don't have any direct proof that this is the case but through trial and error I found that if I made more room on the stack that the box returned to normal size. I was surprised that a stack problem would manifest itself with Xforms putting up a box question box but I guess anything is possible. I'm just glad its fixed! Steve ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From Steve.Kerich at smiths-aerospace.com Wed Dec 13 16:17:41 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Wed, 13 Dec 2006 14:17:41 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA919@cossmgmbx06.EMAIL.CORP.TLD> Hi The problem I was having with the question box appearing with either the button text corrupted or the title bar text corrupted, or the box itself is many times the correct size. It was first thought to be a stack problem because I could move large arrays out of a local routine and the problem would go away. Through our system testing have found 4 separate places in 4 different executable images where a question box is not being displayed correctly. The one that was discovered this week is directly tied to the use of a slider function . As the slider is moved closer to the bottom of its range the problem with the question box gets worse. What I mean by worse is that when the slider is about 1/4 from the bottom the text on the question box when the cancel is selected is corrupted to true & true . If the slider is moved to close or at the bottom the range, the corruption gets worse and the size of the box is huge . The callback for all slider positions is the same but this problem only happens when the slider is put at the bottom. Strange Huh. The only box in all 4 executables that has a problem is the question box. No other box type. But it is every time it is used. We use the question box a lot and most times it works just fine. This interaction between the slider and the question box where the slider seems to directly affect the question box by its position does not make sense. The slider value is simply saved as it is changed and are small numbers. (see code snippet below). This display issue is a real problem for our customer because the operators really don't know what to do when this happens. The box still functions if you figure out what button to push! HELP! Does anyone have any ideas about this? It just seems like there is something going on with how the question box is executed and I can fix it in most cases (not the slider case) by clearing as much of my local stack as possible. I have .jpgs of what it looks like but can't post them but can send them if someone wants to see what I am talking about. Thanks Steve void VolumeSlider_Callback(FL_OBJECT *ob, long data) { char NewValue[256]; /* Set the volume level in the AudibleAlarmInfo Array for saving later */ AudibleAlarmInfo[bSelectedAlarm].Volume = (int)fl_get_slider_value(ob); /* Convert unsigned int to string and pass to text box */ sprintf(NewValue, "%d", AudibleAlarmInfo[bSelectedAlarm].Volume); fl_set_object_label(fd_AudibleAlarmGui->VolumeText, NewValue); #ifdef ALARM_DEBUG printf("New slider volume: %d for %s index %d data %d\n", AudibleAlarmInfo[bSelectedAlarm].Volume, AudibleAlarmInfo[bSelectedAlarm].AlarmType, bSelectedAlarm, (int)data); #endif /* Set the dirty bit indicating the data has changed */ bDirtyBit = TRUE; } ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From joel.moots at ngc.com Wed Dec 13 16:38:58 2006 From: joel.moots at ngc.com (Moots, Joel A. (IT Solutions/EOS)) Date: Wed, 13 Dec 2006 14:38:58 -0700 Subject: [XForms] corrupted text or big question box returns In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA919@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: <988FAD2E161E4347BFD7EC93A4D05904022F490E@xcgaz701.northgrum.com> If you remove the callback or comment out its body, does the problem go away? -joel -----Original Message----- From: xforms-bounces at bob.usuhs.mil [mailto:xforms-bounces at bob.usuhs.mil] On Behalf Of Kerich, Steve (AGTE) Sent: Wednesday, December 13, 2006 2:18 PM To: xforms at bob.usuhs.mil Subject: [XForms] corrupted text or big question box returns To subscribers of the xforms list Hi The problem I was having with the question box appearing with either the button text corrupted or the title bar text corrupted, or the box itself is many times the correct size. It was first thought to be a stack problem because I could move large arrays out of a local routine and the problem would go away. Through our system testing have found 4 separate places in 4 different executable images where a question box is not being displayed correctly. The one that was discovered this week is directly tied to the use of a slider function . As the slider is moved closer to the bottom of its range the problem with the question box gets worse. What I mean by worse is that when the slider is about 1/4 from the bottom the text on the question box when the cancel is selected is corrupted to true & true . If the slider is moved to close or at the bottom the range, the corruption gets worse and the size of the box is huge . The callback for all slider positions is the same but this problem only happens when the slider is put at the bottom. Strange Huh. The only box in all 4 executables that has a problem is the question box. No other box type. But it is every time it is used. We use the question box a lot and most times it works just fine. This interaction between the slider and the question box where the slider seems to directly affect the question box by its position does not make sense. The slider value is simply saved as it is changed and are small numbers. (see code snippet below). This display issue is a real problem for our customer because the operators really don't know what to do when this happens. The box still functions if you figure out what button to push! HELP! Does anyone have any ideas about this? It just seems like there is something going on with how the question box is executed and I can fix it in most cases (not the slider case) by clearing as much of my local stack as possible. I have .jpgs of what it looks like but can't post them but can send them if someone wants to see what I am talking about. Thanks Steve void VolumeSlider_Callback(FL_OBJECT *ob, long data) { char NewValue[256]; /* Set the volume level in the AudibleAlarmInfo Array for saving later */ AudibleAlarmInfo[bSelectedAlarm].Volume = (int)fl_get_slider_value(ob); /* Convert unsigned int to string and pass to text box */ sprintf(NewValue, "%d", AudibleAlarmInfo[bSelectedAlarm].Volume); fl_set_object_label(fd_AudibleAlarmGui->VolumeText, NewValue); #ifdef ALARM_DEBUG printf("New slider volume: %d for %s index %d data %d\n", AudibleAlarmInfo[bSelectedAlarm].Volume, AudibleAlarmInfo[bSelectedAlarm].AlarmType, bSelectedAlarm, (int)data); #endif /* Set the dirty bit indicating the data has changed */ bDirtyBit = TRUE; } ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Steve.Kerich at smiths-aerospace.com Wed Dec 20 15:15:13 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Wed, 20 Dec 2006 13:15:13 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA942@cossmgmbx06.EMAIL.CORP.TLD> Thanks for responding Joel. Sorry for the delay in getting back. If I don't call the question box (fl_show_question("Do you want to save the new volume level(s)?",0)) ), all other boxes appear just fine. Its only the question box that is displayed either as a huge size or the text in the buttons are corrupted. I was able to reduce the slider-question box program down to just two elements, the slider, a cancel button which calls the question box, and the problem still occurs. Really weird. But now it is narrowed down to a very few lines of code and is repeatable over and over. The code does nothing but read the value from the slider. No other processing. This is why this is a great test case. I am hoping that this is the same problem as I am seeing with the other 2 executables that do this too but don't have slider boxes. One has a browser window and the other has a tabbed form open. It make this problem even stranger it depends upon the position of the slider whether the question box appears as a huge box, corrupted text on yes/no buttons, or normally. Any value from 60 to 100 allows the box to be displayed normally. There does not seem to be any pattern to it and I have tried this on 3 different machines running Solaris 8 and the same thing happens BUT the numbers it happens with change. Weird again. I can't debug XForms source so I need help from the community. I have zipped up the source, make, binary etc to make my test program which will cause this problem. I just need someone to take a little time to look into how this can be happening to the question box. If someone would like me to send it to them with some .jpgs of the problem, I will right away. It just freaks the military operators out when a huge box that goes off the right side of the screen shows up or the buttons don't have text that makes sense. Thanks Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ From Steve.Kerich at smiths-aerospace.com Thu Dec 28 13:24:13 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Thu, 28 Dec 2006 11:24:13 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA961@cossmgmbx06.EMAIL.CORP.TLD> Hi I have been doing more testing and have found with my test program that if I call fl_show_alert before fl_show_question, the corruption of the question box goes away. I have noticed this fix also works for another executable that is having trouble with the question box. If I display an alert just before the question box, the problem goes away. I haven't tried it with the other 2 images that are showing the same/similar problem. There must be some XForms connection between the two. My test program is very very small so I don't believe that there are pointer or memory stack issues involved. Jens tried out my test program on a Linux box using gcc but was unable to reproduce the problem I have been seeing. So I guess that is a clue too. That it has something to so with Solaris or the compiler. The compiler used is SUNspro instead of gcc. I do not know why this compiler was picked in the beginning. Because this problem is spread through several of our applications, I really need to find a solution. Is there anyone who has debug ideas or could help with this? Any help would be appreciated. Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ From joel.moots at ngc.com Thu Dec 28 13:58:33 2006 From: joel.moots at ngc.com (Moots, Joel A. (IT Solutions/EOS)) Date: Thu, 28 Dec 2006 11:58:33 -0700 Subject: [XForms] corrupted text or big question box returns In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA961@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: <988FAD2E161E4347BFD7EC93A4D05904022F4B69@xcgaz701.northgrum.com> Since the program is so small, can you find the smallest amount of code needed for you to reproduce the problem and then paste just the parts you wrote to this list? E.g., if you don't need a slider callback to reproduce the problem, get rid of it; if you need the callback but don't need to retrieve the value, get rid of it; etc. If that's still rather large, can you tar/gzip just the source files with no extension on the filename and email to me. TIA, -joel -----Original Message----- From: xforms-bounces at bob.usuhs.mil [mailto:xforms-bounces at bob.usuhs.mil] On Behalf Of Kerich, Steve (AGTE) Sent: Thursday, December 28, 2006 11:24 AM To: xforms at bob.usuhs.mil Subject: [XForms] corrupted text or big question box returns To subscribers of the xforms list Hi I have been doing more testing and have found with my test program that if I call fl_show_alert before fl_show_question, the corruption of the question box goes away. I have noticed this fix also works for another executable that is having trouble with the question box. If I display an alert just before the question box, the problem goes away. I haven't tried it with the other 2 images that are showing the same/similar problem. There must be some XForms connection between the two. My test program is very very small so I don't believe that there are pointer or memory stack issues involved. Jens tried out my test program on a Linux box using gcc but was unable to reproduce the problem I have been seeing. So I guess that is a clue too. That it has something to so with Solaris or the compiler. The compiler used is SUNspro instead of gcc. I do not know why this compiler was picked in the beginning. Because this problem is spread through several of our applications, I really need to find a solution. Is there anyone who has debug ideas or could help with this? Any help would be appreciated. Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Jean-Marc.Lasgouttes at inria.fr Fri Jan 27 10:29:06 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Fri, 27 Jan 2006 16:29:06 +0100 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X In-Reply-To: <73605DC8-D5F9-46A5-B302-7783D84E9176@wooster.edu> (Rick Drushal's message of "Fri, 27 Jan 2006 01:29:36 -0500") References: <73605DC8-D5F9-46A5-B302-7783D84E9176@wooster.edu> Message-ID: >>>>> "Rick" == Rick Drushal writes: Rick> I am trying to build the xforms libraries on my OS X Tiger Rick> system. I only need to build because I only need access to the Rick> .h and .a files. When i run :./configure it balks because it Rick> "Cannot find libjpeg". I have installed this library via fink, Rick> with no success and even downloaded the source and compiled it Rick> myself, also with no effect. If and of you have any good ideas Rick> of where to go with this next I would appreciate it. Hello Rick, Where are the headers/library installed? You can use --with-extra-inc and --with-extra-lib to point there. JMarc PS: I changed the destination to the real xforms list. From jac4 at mindless.com Fri Jan 27 11:36:07 2006 From: jac4 at mindless.com (jason cipriani) Date: Fri, 27 Jan 2006 11:36:07 -0500 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X Message-ID: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> > To subscribers of the xforms list > > >>>>> "Rick" == Rick Drushal writes: > > Rick> I am trying to build the xforms libraries on my OS X Tiger > Rick> system. I only need to build because I only need access to the > Rick> .h and .a files. When i run :./configure it balks because it > Rick> "Cannot find libjpeg". I have installed this library via fink, > Rick> with no success and even downloaded the source and compiled it > Rick> myself, also with no effect. If and of you have any good ideas > Rick> of where to go with this next I would appreciate it. > > Hello Rick, > > Where are the headers/library installed? You can use --with-extra-inc > and --with-extra-lib to point there. fink installs them to /sw/lib and /sw/include i believe. > > JMarc > > PS: I changed the destination to the real xforms list. > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From Jean-Marc.Lasgouttes at inria.fr Fri Jan 27 16:46:09 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Fri, 27 Jan 2006 22:46:09 +0100 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X In-Reply-To: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> (jason cipriani's message of "Fri, 27 Jan 2006 11:36:07 -0500") References: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> Message-ID: >>>>> "jason" == jason cipriani writes: jason> fink installs them to /sw/lib and /sw/include i believe. so ./configure --with-extra-prefix=/sw should do the trick. JMarc From giulio.ballardin at ego-gw.it Thu Feb 16 04:39:46 2006 From: giulio.ballardin at ego-gw.it (Giulio Ballardin) Date: Thu, 16 Feb 2006 10:39:46 +0100 Subject: [XForms] Counter Message-ID: Hi, I'm using linux readhat 9.0 and Library 1.1. I built an user Interface with some counters. It appends that when a click only one time on the counter arrow, some time the number increases more than it should. It seems a problem of mouse sensibility or a problem of counter sensibility. How can I fixe this problem? thank you, Giulio From jt at toerring.de Thu Feb 16 05:58:49 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Thu, 16 Feb 2006 11:58:49 +0100 Subject: [XForms] Counter In-Reply-To: References: Message-ID: <20060216105849.GA24320@john.toerring.de> Hello Guilio, On Thu, Feb 16, 2006 at 10:39:46AM +0100, Giulio Ballardin wrote: > I'm using linux readhat 9.0 and Library 1.1. I built an user Interface > with some counters. It appends that when a click > only one time on the counter arrow, some time the number > increases more than it should. It seems a problem > of mouse sensibility or a problem of counter sensibility. > How can I fixe this problem? Unfortunately, your description of the problem is a bit vague. I also don't know what a "counter arrow" is - is that a button with an arrow drawn on it or something else? It probably would help if you could you post the code you are using, ideally as a complete, compilable program with everything thrown out except the part that exhibits the problem you encounter. Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From kro at grizzly.tphys.uni-linz.ac.at Wed Apr 19 23:00:34 2006 From: kro at grizzly.tphys.uni-linz.ac.at (Eckhard Krotscheck) Date: Thu, 20 Apr 2006 05:00:34 +0200 (CEST) Subject: [XForms] activity Message-ID: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> This is just to see if there is still any activity on the Xforms mailing list... From M.Holme at mmu.ac.uk Thu Apr 20 06:26:19 2006 From: M.Holme at mmu.ac.uk (Michael Holme) Date: Thu, 20 Apr 2006 11:26:19 +0100 Subject: [XForms] xforms for Mac OSX - a request please Message-ID: <6.1.0.6.0.20060420112117.01a7b700@patsy.doc.aca.mmu.ac.uk> Hello List, This is my first post (I think, I used to be an active xforms programmer years ago). I've been asked to port an xforms application from Linux to Mac OSX and the old site that contains the binaries of the various xforms libraries doesn't seem to be giving me much joy. Does anybody have a binary distribution of the xforms library that isn't too customised with regard to directories, etc that could be emailed to me, or I could download ? I'd appreciate any help. Thanks, Mike Holme Before acting on this email or opening any attachments you should read the Manchester Metropolitan Universitys' email disclaimer available on its website http://www.mmu.ac.uk/emaildisclaimer From Jean-Marc.Lasgouttes at inria.fr Thu Apr 20 08:59:24 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Thu, 20 Apr 2006 14:59:24 +0200 Subject: [XForms] activity In-Reply-To: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> (Eckhard Krotscheck's message of "Thu, 20 Apr 2006 05:00:34 +0200 (CEST)") References: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> Message-ID: >>>>> "Eckhard" == Eckhard Krotscheck writes: Eckhard> This is just to see if there is still any activity on the Eckhard> Xforms mailing list... There is not much activity unfortunately :( JMarc From jac4 at mindless.com Thu Apr 20 09:51:13 2006 From: jac4 at mindless.com (jason cipriani) Date: Thu, 20 Apr 2006 08:51:13 -0500 Subject: [XForms] xforms for Mac OSX - a request please Message-ID: <20060420135113.F10D983985@ws1-2a.us4.outblaze.com> I have built xforms succesfully on OSX. It's not native, of course, it still runs through the X server. The build process is straightforward, I don't recall running in to any issues. But I can send you the binaries later today or tomorrow if you'd like. Jason > ----- Original Message ----- > From: "Michael Holme" > To: xforms at bob.usuhs.mil > Subject: [XForms] xforms for Mac OSX - a request please > Date: Thu, 20 Apr 2006 11:26:19 +0100 > > > To subscribers of the xforms list > > Hello List, > > This is my first post (I think, I used to be an active xforms > programmer years ago). I've been asked to port an xforms application from > Linux to Mac OSX and the old site that contains the binaries of the various > xforms libraries doesn't seem to be giving me much joy. Does anybody have a > binary distribution of the xforms library that isn't too customised with > regard to directories, etc that could be emailed to me, or I could download ? > I'd appreciate any help. > > Thanks, > Mike Holme > > > Before acting on this email or opening any attachments you should read the > Manchester Metropolitan Universitys' email disclaimer available on its website > http://www.mmu.ac.uk/emaildisclaimer > > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From poenikatu at operamail.com Sun May 21 05:19:20 2006 From: poenikatu at operamail.com (Sian Mountbatten) Date: Sun, 21 May 2006 10:19:20 +0100 Subject: [XForms] Algol 68 binding Message-ID: <44703098.806@operamail.com> I have written a binding for the RS Algol 68 compiler (algol68toc) which I ported to Linux some years ago. Currently, I am converting the documentation to LaTeX and translating the examples to Algol 68 so that the resulting manual can be used to write GUI programs in Web 68 (the literate programming system for Algol 68). Because the source documentation is only available in HTML, I have LaTeXified that version and am in the process of converting it to full LaTeX. Of course, if the original documentation were available, because it is already in TeX form, it would be ease my task considerably. Does anybody know where the original documentation is and whether a copy can be obtained? Regards -- Sian Mountbatten From psg at debian.org Wed May 24 16:42:53 2006 From: psg at debian.org (Peter S Galbraith) Date: Wed, 24 May 2006 16:42:53 -0400 Subject: [XForms] Re: XForms: Documentation In-Reply-To: Message from Peter S Galbraith of "Tue, 08 Feb 2005 09:22:41 EST." <20050208142241.8683AAB07E@mixing.qc.dfo.ca> References: <20030908154838.51918.qmail@web13407.mail.yahoo.com> <20050208142241.8683AAB07E@mixing.qc.dfo.ca> Message-ID: <22216.1148503373@mixing.qc.dfo.ca> Hello T.C. (and the XForms list) Consider this the yearly nudge to release the sources of the XForms manual. Someone just emailed me today about them, so I'm sure they would still be appreciated and used by many. Thanks, Peter On 08 Feb 2005, I wrote: > On Sept 8th 2003, T.C. Zhao wrote: > > > Sorry for the delay and thanks for the info. GPL it is. > > > > I am currently travelling and will be back home end of September. Expect the > > free manual in October sometime. > > > > -TC > > --- Peter S Galbraith wrote: > > > To subscribers of the xforms list > > > > > > > > > T.C. Zhao wrote: > > > > > > > All I need to do is boot up my old linux box and recover the doc > > > > and send it. Will do this sometime in April (I've been travelling, > > > > and am sending this email from Tokyo). > > > > -TC > > > > > > Hi T.C., > > > > > > I really hate to keep nagging you like this. :-) > > > > > > You meant to release the sources of the XForms manual last April but > > > never got around to it. This is a reminder. Also, please avoid using > > > the GNU Free Documentation License (GFDL) since it not a free software > > > license and therefore cannot be included in the Debian distribution. > > > Using the GPL would be fine. > > Hello T.C., > > Consider this another nudge to release the sources of the XForms > manual. On the plus side, I didn't nag you in 2004. ;-) > > Please consider taking some time to actually do this now, while the > sources still exist, and before you get hit by a bus or something and > they are gone forever. The XForms sources have been free for a long > time now (Thanks!) and they really should have free documentation. > > Thanks, > -- > Peter S. Galbraith, Debian Developer > http://people.debian.org/~psg > GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E -- Peter S. Galbraith, Debian Developer http://people.debian.org/~psg GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E From jason.cipriani at gmail.com Wed May 31 20:38:21 2006 From: jason.cipriani at gmail.com (jason cipriani) Date: Wed, 31 May 2006 20:38:21 -0400 Subject: [XForms] Test, feel free to ignore this. Message-ID: Just a test (shiny new email address :), sorry to spam you all! Jason From juerg.hauser at krist.unibe.ch Thu Aug 24 02:43:48 2006 From: juerg.hauser at krist.unibe.ch (=?ISO-8859-15?Q?J=FCrg_Hauser?=) Date: Thu, 24 Aug 2006 08:43:48 +0200 Subject: [XForms] CygwinX maximize/restore for fixed size form Message-ID: <44ED4AA4.6070208@krist.unibe.ch> I'm porting an application using xforms to CygwinX (default installation). Although the application window is given fixed size (fl_show_form with place=FL_PLACE_CENTER) a maximize/restore button is displayed. In Linux (SUSE, RedHat) I only get the minimize and close buttons. Any help is appreciated. Regards, Juerg -- ____________________________ Universit?t Bern Laboratorium f?r chemische und mineralogische Kristallographie Dr. J?rg Hauser Freiestrasse 3 CH-3012 Bern Tel. +41 (0)31 631 43 90 Fax +41 (0)31 631 39 96 mailto:juerg.hauser at krist.unibe.ch http://www.krist.unibe.ch From gme at epr80.de Fri Oct 6 04:36:08 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 10:36:08 +0200 Subject: [XForms] Statically linked application Message-ID: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Hello, is there any information available on how to create a statically linked XForms program ? Best regards, Gerald From jt at toerring.de Fri Oct 6 06:56:25 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Fri, 6 Oct 2006 12:56:25 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006103608.0f0b0eea@emig4.heisch.inka.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Message-ID: <20061006105624.GA22692@john.toerring.de> On Fri, Oct 06, 2006 at 10:36:08AM +0200, Gerald Emig wrote: > is there any information available on how to create > a statically linked XForms program ? Since, as far as I can see, there's a static as well as a dynamic version of the XForms library installed per default you should mostly only need to use the appropriate compiler/linker flags to create a static program. E.g. for gcc you would need the option '-static'. But, of course, you also need static library versions of all other libraries involved to be installed on your system. On mine (Linux) all required libraries (libm, libpthread, libX11, libXpm) seem to exist in static versions except glibc, which I would have to install in order to be able to create a program without any external dependencies. On the other hand, the linker just complains a bit about the program still requiring at runtime the shared version of glib, but the resulting executable seems to work fine, and perhaps you can live with that since a glibc will probably exist on all systems you try to run the program on. Other- wise install a static version of glibc on the system you build the program on. Just don't be surprised about the size difference, a small test program that was statically linked - as far as possible, i.e. still dependent on the shared glic - is over 4 MB while, when linked without '-static', it's only about 10k.... Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From dadembro at rockwellcollins.com Fri Oct 6 08:26:19 2006 From: dadembro at rockwellcollins.com (dadembro at rockwellcollins.com) Date: Fri, 6 Oct 2006 08:26:19 -0400 Subject: [XForms] Statically linked application In-Reply-To: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Message-ID: An example compiler command I used many years ago. Some compiler options may have changed but it may point you in the right direction. gcc ?O ?o mm object_files ?Xlinker ?Bstatic ?lforms \ ?Xlinker ?Bdynamic ?L/usr/X11R6/lib ?lX11 ?lm ?lXpm ?lXext Good luck, ---d.dembrow Gerald Emig Sent by: To xforms-bounces at bo XFORMS list b.usuhs.mil cc Subject 10/06/2006 04:36 [XForms] Statically linked AM application To subscribers of the xforms list Hello, is there any information available on how to create a statically linked XForms program ? Best regards, Gerald _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Todd.Denniston at ssa.crane.navy.mil Fri Oct 6 09:04:23 2006 From: Todd.Denniston at ssa.crane.navy.mil (Todd Denniston) Date: Fri, 06 Oct 2006 08:04:23 -0500 Subject: [XForms] Statically linked application In-Reply-To: <20061006105624.GA22692@john.toerring.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> Message-ID: <45265457.2020909@ssa.crane.navy.mil> Jens Thoms Toerring wrote: > To subscribers of the xforms list > > On Fri, Oct 06, 2006 at 10:36:08AM +0200, Gerald Emig wrote: >> is there any information available on how to create >> a statically linked XForms program ? > > Since, as far as I can see, there's a static as well as a dynamic > version of the XForms library installed per default you should > mostly only need to use the appropriate compiler/linker flags to > create a static program. E.g. for gcc you would need the option > '-static'. But, of course, you also need static library versions > of all other libraries involved to be installed on your system. > On mine (Linux) all required libraries (libm, libpthread, libX11, > libXpm) seem to exist in static versions except glibc, which I > would have to install in order to be able to create a program > without any external dependencies. On the other hand, the linker > just complains a bit about the program still requiring at runtime > the shared version of glib, but the resulting executable seems to > work fine, and perhaps you can live with that since a glibc will > probably exist on all systems you try to run the program on. Other- > wise install a static version of glibc on the system you build the > program on. Just don't be surprised about the size difference, a > small test program that was statically linked - as far as possible, > i.e. still dependent on the shared glic - is over 4 MB while, when > linked without '-static', it's only about 10k.... > > Regards, Jens Although I have forgotten how, it is possible to specify how each individual library should be linked, i.e., it is possible to tell the compiler link libforms static and libc dynamic, thus you could build on a box with Xforms and put it on systems that don't have Xforms installed. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter From gme at epr80.de Fri Oct 6 09:23:43 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 15:23:43 +0200 Subject: [XForms] Statically linked application In-Reply-To: <45265457.2020909@ssa.crane.navy.mil> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> Message-ID: <20061006152343.52bffa7d@emig4.heisch.inka.de> Hello all, many thanks for the hints. What Todd writes is just what I want to do. Many regards, Gerald Todd Denniston wrote: > Although I have forgotten how, it is possible to specify how each > individual library should be linked, i.e., it is possible to tell the > compiler link libforms static and libc dynamic, thus you could build > on a box with Xforms and put it on systems that don't have Xforms > installed. > > -- > Todd Denniston From jt at toerring.de Fri Oct 6 10:29:09 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Fri, 6 Oct 2006 16:29:09 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006152343.52bffa7d@emig4.heisch.inka.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> <20061006152343.52bffa7d@emig4.heisch.inka.de> Message-ID: <20061006142909.GA24016@john.toerring.de> On Fri, Oct 06, 2006 at 03:23:43PM +0200, Gerald Emig wrote: > Todd Denniston wrote: > > > Although I have forgotten how, it is possible to specify how each > > individual library should be linked, i.e., it is possible to tell the > > compiler link libforms static and libc dynamic, thus you could build > > on a box with Xforms and put it on systems that don't have Xforms > > installed. > > many thanks for the hints. What Todd writes is just what I want to do. If you just want to link against the static version of the XForms library but want to use the shared versions of all the other libraries then just explicitely link against teh staic library libforms.a, e.g. gcc -o xformtest xformtest.c /usr/local/lib/libforms.a \ -L/usr/X11R6/lib -lX11 -lm (assuming the static version of the XForms library is installed in /usr/local/lib). Static libaries are just a collection of object files and when linking you can use them the same way as object files. Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From gme at epr80.de Fri Oct 6 12:52:41 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 18:52:41 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006142909.GA24016@john.toerring.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> <20061006152343.52bffa7d@emig4.heisch.inka.de> <20061006142909.GA24016@john.toerring.de> Message-ID: <20061006185241.79fb4487@emig4.heisch.inka.de> Hello Jens, your "solution" is just what I need, thank you very much. Why ? I want to give away software for free, and say to the users that they must have xforms installed. Many of them then complain... Gerald On Fri, 6 Oct 2006 16:29:09 +0200 Jens Thoms Toerring wrote: > > If you just want to link against the static version of the XForms > library but want to use the shared versions of all the other > libraries then just explicitely link against teh staic library > libforms.a, e.g. > > gcc -o xformtest xformtest.c /usr/local/lib/libforms.a \ > -L/usr/X11R6/lib -lX11 -lm > From Steve.Kerich at smiths-aerospace.com Thu Oct 12 16:56:45 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Thu, 12 Oct 2006 14:56:45 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> I am having a problem with a question box. I use them throughout my code but this one keeps putting up a question box that is so big it goes off the left side of the screen and buttons that are huge. The text in the label and on the buttons is also corrupted. I found out by trail and error that if I show an alert box before making the call to show_question, the question box is the correct size. Has anyone seen something like this happen before? The show_alert is doing something to XForms that is making the show_question box work. I guess like flushing a buffer, reseting a pointer, or something. Below is the snippet from the program with the show_alert that makes this work. This only happens with the show_question call in the program. Elsewhere it works fine. Any ideas would be greatly appreciated. fl_show_alert("Nothing to write", "Test.", "test.", 1); fl_show_question("Write archive CD with current track layout?", 1); ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From jason.cipriani at gmail.com Thu Oct 12 17:30:43 2006 From: jason.cipriani at gmail.com (jason cipriani) Date: Thu, 12 Oct 2006 17:30:43 -0400 Subject: [XForms] question box appears huge In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> References: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: I've never seen that happen before. XForms may be kind of sketchy, but lord knows I've put it to the test over the last few years and I honestly believe that the goodie boxes are stable and bug-free. Are you making sure you are calling fl_initialize when your application starts before doing any other xforms stuff? That aside, the cuplrit of odd problems like that is usually some memory-related issue elsewhere in the program. Perhaps some of your code is writing past the end of a buffer somewhere and coincidently corrupting certain xforms data structures. Showing the alert box may reinitialize some data, or may move things around in memory so that the other issue no longer affects the quesiton box. Sorry, I can't think of any other reason that would occur unless there's some weird X or window-manager related problem that is only affecting that one message box for some reason. Jason On 10/12/06, Kerich, Steve (AGTE) wrote: > To subscribers of the xforms list > > > I am having a problem with a question box. I use them throughout my code > but this one keeps putting up a question box that is so big it goes off > the left side of the screen and buttons that are huge. The text in the > label and on the buttons is also corrupted. I found out by trail and > error that if I show an alert box before making the call to > show_question, the question box is the correct size. Has anyone seen > something like this happen before? The show_alert is doing something to > XForms that is making the show_question box work. I guess like flushing > a buffer, reseting a pointer, or something. Below is the snippet from > the program with the show_alert that makes this work. This only happens > with the show_question call in the program. Elsewhere it works fine. > > Any ideas would be greatly appreciated. > > fl_show_alert("Nothing to write", > "Test.", > "test.", > 1); > > fl_show_question("Write archive CD with current track layout?", > 1); > > > ****************************************** > The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. > ****************************************** > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From Steve.Kerich at smiths-aerospace.com Fri Oct 13 12:25:14 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Fri, 13 Oct 2006 10:25:14 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7A8@cossmgmbx06.EMAIL.CORP.TLD> Hi Jason, Thanks for getting back with me so quickly. I really didn't know if there was anyone out there that would respond to a Xforms question. A totally agree with your suggestions about a buffer over run or a crazy pointer. There is another yes/no box that is consistently doing corrupted text. The buttons come up with stuff like "true" "true" for the selections which is pretty funny to see since they are both true but not to the user. Since this is only happening in two totally different area, I would have to agree that something is getting stepped on. I'm going to work backwards and look at all the data writes to see if I can How well do you understand how Xforms works under the hood? How would/could the alert box being shown fix the question box data structure? There must be something shared between them that is getting reinitialized. Update: I did some more testing and it seems that if I call the question box before making my finish subroutine call, the box is normal but if I make the same call as the first line after the call, the box is corrupted. It would help if I could understand how the Alert box was able to reinit the question box. Let me know what you think, Steve (\__/) (='.'=) (")_(") -----Original Message----- From: jason cipriani [mailto:jason.cipriani at gmail.com] Sent: Thursday, October 12, 2006 5:31 PM To: Kerich, Steve (AGTE) Cc: xforms at bob.usuhs.mil Subject: Re: [XForms] question box appears huge I've never seen that happen before. XForms may be kind of sketchy, but lord knows I've put it to the test over the last few years and I honestly believe that the goodie boxes are stable and bug-free. Are you making sure you are calling fl_initialize when your application starts before doing any other xforms stuff? That aside, the cuplrit of odd problems like that is usually some memory-related issue elsewhere in the program. Perhaps some of your code is writing past the end of a buffer somewhere and coincidently corrupting certain xforms data structures. Showing the alert box may reinitialize some data, or may move things around in memory so that the other issue no longer affects the quesiton box. Sorry, I can't think of any other reason that would occur unless there's some weird X or window-manager related problem that is only affecting that one message box for some reason. Jason On 10/12/06, Kerich, Steve (AGTE) wrote: > To subscribers of the xforms list > > > I am having a problem with a question box. I use them throughout my > code but this one keeps putting up a question box that is so big it > goes off the left side of the screen and buttons that are huge. The > text in the label and on the buttons is also corrupted. I found out by > trail and error that if I show an alert box before making the call to > show_question, the question box is the correct size. Has anyone seen > something like this happen before? The show_alert is doing something > to XForms that is making the show_question box work. I guess like > flushing a buffer, reseting a pointer, or something. Below is the > snippet from the program with the show_alert that makes this work. > This only happens with the show_question call in the program. Elsewhere it works fine. > > Any ideas would be greatly appreciated. > > fl_show_alert("Nothing to write", > "Test.", > "test.", > 1); > > fl_show_question("Write archive CD with current track layout?", > 1); > > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms List Archive: > http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > ______________________________________________________________________ CAUTION: This message was sent via the Public Internet and its authenticity cannot be guaranteed. ______________________________________________________ -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From Steve.Kerich at smiths-aerospace.com Mon Oct 16 09:43:43 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Mon, 16 Oct 2006 07:43:43 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7B1@cossmgmbx06.EMAIL.CORP.TLD> Hi I spend all day Friday trying investigating the big box issue and found out in the end that it was being caused by my local stack overflowing. I don't have any direct proof that this is the case but through trial and error I found that if I made more room on the stack that the box returned to normal size. I was surprised that a stack problem would manifest itself with Xforms putting up a box question box but I guess anything is possible. I'm just glad its fixed! Steve ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From Steve.Kerich at smiths-aerospace.com Wed Dec 13 16:17:41 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Wed, 13 Dec 2006 14:17:41 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA919@cossmgmbx06.EMAIL.CORP.TLD> Hi The problem I was having with the question box appearing with either the button text corrupted or the title bar text corrupted, or the box itself is many times the correct size. It was first thought to be a stack problem because I could move large arrays out of a local routine and the problem would go away. Through our system testing have found 4 separate places in 4 different executable images where a question box is not being displayed correctly. The one that was discovered this week is directly tied to the use of a slider function . As the slider is moved closer to the bottom of its range the problem with the question box gets worse. What I mean by worse is that when the slider is about 1/4 from the bottom the text on the question box when the cancel is selected is corrupted to true & true . If the slider is moved to close or at the bottom the range, the corruption gets worse and the size of the box is huge . The callback for all slider positions is the same but this problem only happens when the slider is put at the bottom. Strange Huh. The only box in all 4 executables that has a problem is the question box. No other box type. But it is every time it is used. We use the question box a lot and most times it works just fine. This interaction between the slider and the question box where the slider seems to directly affect the question box by its position does not make sense. The slider value is simply saved as it is changed and are small numbers. (see code snippet below). This display issue is a real problem for our customer because the operators really don't know what to do when this happens. The box still functions if you figure out what button to push! HELP! Does anyone have any ideas about this? It just seems like there is something going on with how the question box is executed and I can fix it in most cases (not the slider case) by clearing as much of my local stack as possible. I have .jpgs of what it looks like but can't post them but can send them if someone wants to see what I am talking about. Thanks Steve void VolumeSlider_Callback(FL_OBJECT *ob, long data) { char NewValue[256]; /* Set the volume level in the AudibleAlarmInfo Array for saving later */ AudibleAlarmInfo[bSelectedAlarm].Volume = (int)fl_get_slider_value(ob); /* Convert unsigned int to string and pass to text box */ sprintf(NewValue, "%d", AudibleAlarmInfo[bSelectedAlarm].Volume); fl_set_object_label(fd_AudibleAlarmGui->VolumeText, NewValue); #ifdef ALARM_DEBUG printf("New slider volume: %d for %s index %d data %d\n", AudibleAlarmInfo[bSelectedAlarm].Volume, AudibleAlarmInfo[bSelectedAlarm].AlarmType, bSelectedAlarm, (int)data); #endif /* Set the dirty bit indicating the data has changed */ bDirtyBit = TRUE; } ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From joel.moots at ngc.com Wed Dec 13 16:38:58 2006 From: joel.moots at ngc.com (Moots, Joel A. (IT Solutions/EOS)) Date: Wed, 13 Dec 2006 14:38:58 -0700 Subject: [XForms] corrupted text or big question box returns In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA919@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: <988FAD2E161E4347BFD7EC93A4D05904022F490E@xcgaz701.northgrum.com> If you remove the callback or comment out its body, does the problem go away? -joel -----Original Message----- From: xforms-bounces at bob.usuhs.mil [mailto:xforms-bounces at bob.usuhs.mil] On Behalf Of Kerich, Steve (AGTE) Sent: Wednesday, December 13, 2006 2:18 PM To: xforms at bob.usuhs.mil Subject: [XForms] corrupted text or big question box returns To subscribers of the xforms list Hi The problem I was having with the question box appearing with either the button text corrupted or the title bar text corrupted, or the box itself is many times the correct size. It was first thought to be a stack problem because I could move large arrays out of a local routine and the problem would go away. Through our system testing have found 4 separate places in 4 different executable images where a question box is not being displayed correctly. The one that was discovered this week is directly tied to the use of a slider function . As the slider is moved closer to the bottom of its range the problem with the question box gets worse. What I mean by worse is that when the slider is about 1/4 from the bottom the text on the question box when the cancel is selected is corrupted to true & true . If the slider is moved to close or at the bottom the range, the corruption gets worse and the size of the box is huge . The callback for all slider positions is the same but this problem only happens when the slider is put at the bottom. Strange Huh. The only box in all 4 executables that has a problem is the question box. No other box type. But it is every time it is used. We use the question box a lot and most times it works just fine. This interaction between the slider and the question box where the slider seems to directly affect the question box by its position does not make sense. The slider value is simply saved as it is changed and are small numbers. (see code snippet below). This display issue is a real problem for our customer because the operators really don't know what to do when this happens. The box still functions if you figure out what button to push! HELP! Does anyone have any ideas about this? It just seems like there is something going on with how the question box is executed and I can fix it in most cases (not the slider case) by clearing as much of my local stack as possible. I have .jpgs of what it looks like but can't post them but can send them if someone wants to see what I am talking about. Thanks Steve void VolumeSlider_Callback(FL_OBJECT *ob, long data) { char NewValue[256]; /* Set the volume level in the AudibleAlarmInfo Array for saving later */ AudibleAlarmInfo[bSelectedAlarm].Volume = (int)fl_get_slider_value(ob); /* Convert unsigned int to string and pass to text box */ sprintf(NewValue, "%d", AudibleAlarmInfo[bSelectedAlarm].Volume); fl_set_object_label(fd_AudibleAlarmGui->VolumeText, NewValue); #ifdef ALARM_DEBUG printf("New slider volume: %d for %s index %d data %d\n", AudibleAlarmInfo[bSelectedAlarm].Volume, AudibleAlarmInfo[bSelectedAlarm].AlarmType, bSelectedAlarm, (int)data); #endif /* Set the dirty bit indicating the data has changed */ bDirtyBit = TRUE; } ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Steve.Kerich at smiths-aerospace.com Wed Dec 20 15:15:13 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Wed, 20 Dec 2006 13:15:13 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA942@cossmgmbx06.EMAIL.CORP.TLD> Thanks for responding Joel. Sorry for the delay in getting back. If I don't call the question box (fl_show_question("Do you want to save the new volume level(s)?",0)) ), all other boxes appear just fine. Its only the question box that is displayed either as a huge size or the text in the buttons are corrupted. I was able to reduce the slider-question box program down to just two elements, the slider, a cancel button which calls the question box, and the problem still occurs. Really weird. But now it is narrowed down to a very few lines of code and is repeatable over and over. The code does nothing but read the value from the slider. No other processing. This is why this is a great test case. I am hoping that this is the same problem as I am seeing with the other 2 executables that do this too but don't have slider boxes. One has a browser window and the other has a tabbed form open. It make this problem even stranger it depends upon the position of the slider whether the question box appears as a huge box, corrupted text on yes/no buttons, or normally. Any value from 60 to 100 allows the box to be displayed normally. There does not seem to be any pattern to it and I have tried this on 3 different machines running Solaris 8 and the same thing happens BUT the numbers it happens with change. Weird again. I can't debug XForms source so I need help from the community. I have zipped up the source, make, binary etc to make my test program which will cause this problem. I just need someone to take a little time to look into how this can be happening to the question box. If someone would like me to send it to them with some .jpgs of the problem, I will right away. It just freaks the military operators out when a huge box that goes off the right side of the screen shows up or the buttons don't have text that makes sense. Thanks Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ From Steve.Kerich at smiths-aerospace.com Thu Dec 28 13:24:13 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Thu, 28 Dec 2006 11:24:13 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA961@cossmgmbx06.EMAIL.CORP.TLD> Hi I have been doing more testing and have found with my test program that if I call fl_show_alert before fl_show_question, the corruption of the question box goes away. I have noticed this fix also works for another executable that is having trouble with the question box. If I display an alert just before the question box, the problem goes away. I haven't tried it with the other 2 images that are showing the same/similar problem. There must be some XForms connection between the two. My test program is very very small so I don't believe that there are pointer or memory stack issues involved. Jens tried out my test program on a Linux box using gcc but was unable to reproduce the problem I have been seeing. So I guess that is a clue too. That it has something to so with Solaris or the compiler. The compiler used is SUNspro instead of gcc. I do not know why this compiler was picked in the beginning. Because this problem is spread through several of our applications, I really need to find a solution. Is there anyone who has debug ideas or could help with this? Any help would be appreciated. Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ From joel.moots at ngc.com Thu Dec 28 13:58:33 2006 From: joel.moots at ngc.com (Moots, Joel A. (IT Solutions/EOS)) Date: Thu, 28 Dec 2006 11:58:33 -0700 Subject: [XForms] corrupted text or big question box returns In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA961@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: <988FAD2E161E4347BFD7EC93A4D05904022F4B69@xcgaz701.northgrum.com> Since the program is so small, can you find the smallest amount of code needed for you to reproduce the problem and then paste just the parts you wrote to this list? E.g., if you don't need a slider callback to reproduce the problem, get rid of it; if you need the callback but don't need to retrieve the value, get rid of it; etc. If that's still rather large, can you tar/gzip just the source files with no extension on the filename and email to me. TIA, -joel -----Original Message----- From: xforms-bounces at bob.usuhs.mil [mailto:xforms-bounces at bob.usuhs.mil] On Behalf Of Kerich, Steve (AGTE) Sent: Thursday, December 28, 2006 11:24 AM To: xforms at bob.usuhs.mil Subject: [XForms] corrupted text or big question box returns To subscribers of the xforms list Hi I have been doing more testing and have found with my test program that if I call fl_show_alert before fl_show_question, the corruption of the question box goes away. I have noticed this fix also works for another executable that is having trouble with the question box. If I display an alert just before the question box, the problem goes away. I haven't tried it with the other 2 images that are showing the same/similar problem. There must be some XForms connection between the two. My test program is very very small so I don't believe that there are pointer or memory stack issues involved. Jens tried out my test program on a Linux box using gcc but was unable to reproduce the problem I have been seeing. So I guess that is a clue too. That it has something to so with Solaris or the compiler. The compiler used is SUNspro instead of gcc. I do not know why this compiler was picked in the beginning. Because this problem is spread through several of our applications, I really need to find a solution. Is there anyone who has debug ideas or could help with this? Any help would be appreciated. Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Jean-Marc.Lasgouttes at inria.fr Fri Jan 27 10:29:06 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Fri, 27 Jan 2006 16:29:06 +0100 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X In-Reply-To: <73605DC8-D5F9-46A5-B302-7783D84E9176@wooster.edu> (Rick Drushal's message of "Fri, 27 Jan 2006 01:29:36 -0500") References: <73605DC8-D5F9-46A5-B302-7783D84E9176@wooster.edu> Message-ID: >>>>> "Rick" == Rick Drushal writes: Rick> I am trying to build the xforms libraries on my OS X Tiger Rick> system. I only need to build because I only need access to the Rick> .h and .a files. When i run :./configure it balks because it Rick> "Cannot find libjpeg". I have installed this library via fink, Rick> with no success and even downloaded the source and compiled it Rick> myself, also with no effect. If and of you have any good ideas Rick> of where to go with this next I would appreciate it. Hello Rick, Where are the headers/library installed? You can use --with-extra-inc and --with-extra-lib to point there. JMarc PS: I changed the destination to the real xforms list. From jac4 at mindless.com Fri Jan 27 11:36:07 2006 From: jac4 at mindless.com (jason cipriani) Date: Fri, 27 Jan 2006 11:36:07 -0500 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X Message-ID: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> > To subscribers of the xforms list > > >>>>> "Rick" == Rick Drushal writes: > > Rick> I am trying to build the xforms libraries on my OS X Tiger > Rick> system. I only need to build because I only need access to the > Rick> .h and .a files. When i run :./configure it balks because it > Rick> "Cannot find libjpeg". I have installed this library via fink, > Rick> with no success and even downloaded the source and compiled it > Rick> myself, also with no effect. If and of you have any good ideas > Rick> of where to go with this next I would appreciate it. > > Hello Rick, > > Where are the headers/library installed? You can use --with-extra-inc > and --with-extra-lib to point there. fink installs them to /sw/lib and /sw/include i believe. > > JMarc > > PS: I changed the destination to the real xforms list. > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From Jean-Marc.Lasgouttes at inria.fr Fri Jan 27 16:46:09 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Fri, 27 Jan 2006 22:46:09 +0100 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X In-Reply-To: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> (jason cipriani's message of "Fri, 27 Jan 2006 11:36:07 -0500") References: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> Message-ID: >>>>> "jason" == jason cipriani writes: jason> fink installs them to /sw/lib and /sw/include i believe. so ./configure --with-extra-prefix=/sw should do the trick. JMarc From giulio.ballardin at ego-gw.it Thu Feb 16 04:39:46 2006 From: giulio.ballardin at ego-gw.it (Giulio Ballardin) Date: Thu, 16 Feb 2006 10:39:46 +0100 Subject: [XForms] Counter Message-ID: Hi, I'm using linux readhat 9.0 and Library 1.1. I built an user Interface with some counters. It appends that when a click only one time on the counter arrow, some time the number increases more than it should. It seems a problem of mouse sensibility or a problem of counter sensibility. How can I fixe this problem? thank you, Giulio From jt at toerring.de Thu Feb 16 05:58:49 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Thu, 16 Feb 2006 11:58:49 +0100 Subject: [XForms] Counter In-Reply-To: References: Message-ID: <20060216105849.GA24320@john.toerring.de> Hello Guilio, On Thu, Feb 16, 2006 at 10:39:46AM +0100, Giulio Ballardin wrote: > I'm using linux readhat 9.0 and Library 1.1. I built an user Interface > with some counters. It appends that when a click > only one time on the counter arrow, some time the number > increases more than it should. It seems a problem > of mouse sensibility or a problem of counter sensibility. > How can I fixe this problem? Unfortunately, your description of the problem is a bit vague. I also don't know what a "counter arrow" is - is that a button with an arrow drawn on it or something else? It probably would help if you could you post the code you are using, ideally as a complete, compilable program with everything thrown out except the part that exhibits the problem you encounter. Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From kro at grizzly.tphys.uni-linz.ac.at Wed Apr 19 23:00:34 2006 From: kro at grizzly.tphys.uni-linz.ac.at (Eckhard Krotscheck) Date: Thu, 20 Apr 2006 05:00:34 +0200 (CEST) Subject: [XForms] activity Message-ID: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> This is just to see if there is still any activity on the Xforms mailing list... From M.Holme at mmu.ac.uk Thu Apr 20 06:26:19 2006 From: M.Holme at mmu.ac.uk (Michael Holme) Date: Thu, 20 Apr 2006 11:26:19 +0100 Subject: [XForms] xforms for Mac OSX - a request please Message-ID: <6.1.0.6.0.20060420112117.01a7b700@patsy.doc.aca.mmu.ac.uk> Hello List, This is my first post (I think, I used to be an active xforms programmer years ago). I've been asked to port an xforms application from Linux to Mac OSX and the old site that contains the binaries of the various xforms libraries doesn't seem to be giving me much joy. Does anybody have a binary distribution of the xforms library that isn't too customised with regard to directories, etc that could be emailed to me, or I could download ? I'd appreciate any help. Thanks, Mike Holme Before acting on this email or opening any attachments you should read the Manchester Metropolitan Universitys' email disclaimer available on its website http://www.mmu.ac.uk/emaildisclaimer From Jean-Marc.Lasgouttes at inria.fr Thu Apr 20 08:59:24 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Thu, 20 Apr 2006 14:59:24 +0200 Subject: [XForms] activity In-Reply-To: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> (Eckhard Krotscheck's message of "Thu, 20 Apr 2006 05:00:34 +0200 (CEST)") References: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> Message-ID: >>>>> "Eckhard" == Eckhard Krotscheck writes: Eckhard> This is just to see if there is still any activity on the Eckhard> Xforms mailing list... There is not much activity unfortunately :( JMarc From jac4 at mindless.com Thu Apr 20 09:51:13 2006 From: jac4 at mindless.com (jason cipriani) Date: Thu, 20 Apr 2006 08:51:13 -0500 Subject: [XForms] xforms for Mac OSX - a request please Message-ID: <20060420135113.F10D983985@ws1-2a.us4.outblaze.com> I have built xforms succesfully on OSX. It's not native, of course, it still runs through the X server. The build process is straightforward, I don't recall running in to any issues. But I can send you the binaries later today or tomorrow if you'd like. Jason > ----- Original Message ----- > From: "Michael Holme" > To: xforms at bob.usuhs.mil > Subject: [XForms] xforms for Mac OSX - a request please > Date: Thu, 20 Apr 2006 11:26:19 +0100 > > > To subscribers of the xforms list > > Hello List, > > This is my first post (I think, I used to be an active xforms > programmer years ago). I've been asked to port an xforms application from > Linux to Mac OSX and the old site that contains the binaries of the various > xforms libraries doesn't seem to be giving me much joy. Does anybody have a > binary distribution of the xforms library that isn't too customised with > regard to directories, etc that could be emailed to me, or I could download ? > I'd appreciate any help. > > Thanks, > Mike Holme > > > Before acting on this email or opening any attachments you should read the > Manchester Metropolitan Universitys' email disclaimer available on its website > http://www.mmu.ac.uk/emaildisclaimer > > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From poenikatu at operamail.com Sun May 21 05:19:20 2006 From: poenikatu at operamail.com (Sian Mountbatten) Date: Sun, 21 May 2006 10:19:20 +0100 Subject: [XForms] Algol 68 binding Message-ID: <44703098.806@operamail.com> I have written a binding for the RS Algol 68 compiler (algol68toc) which I ported to Linux some years ago. Currently, I am converting the documentation to LaTeX and translating the examples to Algol 68 so that the resulting manual can be used to write GUI programs in Web 68 (the literate programming system for Algol 68). Because the source documentation is only available in HTML, I have LaTeXified that version and am in the process of converting it to full LaTeX. Of course, if the original documentation were available, because it is already in TeX form, it would be ease my task considerably. Does anybody know where the original documentation is and whether a copy can be obtained? Regards -- Sian Mountbatten From psg at debian.org Wed May 24 16:42:53 2006 From: psg at debian.org (Peter S Galbraith) Date: Wed, 24 May 2006 16:42:53 -0400 Subject: [XForms] Re: XForms: Documentation In-Reply-To: Message from Peter S Galbraith of "Tue, 08 Feb 2005 09:22:41 EST." <20050208142241.8683AAB07E@mixing.qc.dfo.ca> References: <20030908154838.51918.qmail@web13407.mail.yahoo.com> <20050208142241.8683AAB07E@mixing.qc.dfo.ca> Message-ID: <22216.1148503373@mixing.qc.dfo.ca> Hello T.C. (and the XForms list) Consider this the yearly nudge to release the sources of the XForms manual. Someone just emailed me today about them, so I'm sure they would still be appreciated and used by many. Thanks, Peter On 08 Feb 2005, I wrote: > On Sept 8th 2003, T.C. Zhao wrote: > > > Sorry for the delay and thanks for the info. GPL it is. > > > > I am currently travelling and will be back home end of September. Expect the > > free manual in October sometime. > > > > -TC > > --- Peter S Galbraith wrote: > > > To subscribers of the xforms list > > > > > > > > > T.C. Zhao wrote: > > > > > > > All I need to do is boot up my old linux box and recover the doc > > > > and send it. Will do this sometime in April (I've been travelling, > > > > and am sending this email from Tokyo). > > > > -TC > > > > > > Hi T.C., > > > > > > I really hate to keep nagging you like this. :-) > > > > > > You meant to release the sources of the XForms manual last April but > > > never got around to it. This is a reminder. Also, please avoid using > > > the GNU Free Documentation License (GFDL) since it not a free software > > > license and therefore cannot be included in the Debian distribution. > > > Using the GPL would be fine. > > Hello T.C., > > Consider this another nudge to release the sources of the XForms > manual. On the plus side, I didn't nag you in 2004. ;-) > > Please consider taking some time to actually do this now, while the > sources still exist, and before you get hit by a bus or something and > they are gone forever. The XForms sources have been free for a long > time now (Thanks!) and they really should have free documentation. > > Thanks, > -- > Peter S. Galbraith, Debian Developer > http://people.debian.org/~psg > GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E -- Peter S. Galbraith, Debian Developer http://people.debian.org/~psg GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E From jason.cipriani at gmail.com Wed May 31 20:38:21 2006 From: jason.cipriani at gmail.com (jason cipriani) Date: Wed, 31 May 2006 20:38:21 -0400 Subject: [XForms] Test, feel free to ignore this. Message-ID: Just a test (shiny new email address :), sorry to spam you all! Jason From juerg.hauser at krist.unibe.ch Thu Aug 24 02:43:48 2006 From: juerg.hauser at krist.unibe.ch (=?ISO-8859-15?Q?J=FCrg_Hauser?=) Date: Thu, 24 Aug 2006 08:43:48 +0200 Subject: [XForms] CygwinX maximize/restore for fixed size form Message-ID: <44ED4AA4.6070208@krist.unibe.ch> I'm porting an application using xforms to CygwinX (default installation). Although the application window is given fixed size (fl_show_form with place=FL_PLACE_CENTER) a maximize/restore button is displayed. In Linux (SUSE, RedHat) I only get the minimize and close buttons. Any help is appreciated. Regards, Juerg -- ____________________________ Universit?t Bern Laboratorium f?r chemische und mineralogische Kristallographie Dr. J?rg Hauser Freiestrasse 3 CH-3012 Bern Tel. +41 (0)31 631 43 90 Fax +41 (0)31 631 39 96 mailto:juerg.hauser at krist.unibe.ch http://www.krist.unibe.ch From gme at epr80.de Fri Oct 6 04:36:08 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 10:36:08 +0200 Subject: [XForms] Statically linked application Message-ID: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Hello, is there any information available on how to create a statically linked XForms program ? Best regards, Gerald From jt at toerring.de Fri Oct 6 06:56:25 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Fri, 6 Oct 2006 12:56:25 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006103608.0f0b0eea@emig4.heisch.inka.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Message-ID: <20061006105624.GA22692@john.toerring.de> On Fri, Oct 06, 2006 at 10:36:08AM +0200, Gerald Emig wrote: > is there any information available on how to create > a statically linked XForms program ? Since, as far as I can see, there's a static as well as a dynamic version of the XForms library installed per default you should mostly only need to use the appropriate compiler/linker flags to create a static program. E.g. for gcc you would need the option '-static'. But, of course, you also need static library versions of all other libraries involved to be installed on your system. On mine (Linux) all required libraries (libm, libpthread, libX11, libXpm) seem to exist in static versions except glibc, which I would have to install in order to be able to create a program without any external dependencies. On the other hand, the linker just complains a bit about the program still requiring at runtime the shared version of glib, but the resulting executable seems to work fine, and perhaps you can live with that since a glibc will probably exist on all systems you try to run the program on. Other- wise install a static version of glibc on the system you build the program on. Just don't be surprised about the size difference, a small test program that was statically linked - as far as possible, i.e. still dependent on the shared glic - is over 4 MB while, when linked without '-static', it's only about 10k.... Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From dadembro at rockwellcollins.com Fri Oct 6 08:26:19 2006 From: dadembro at rockwellcollins.com (dadembro at rockwellcollins.com) Date: Fri, 6 Oct 2006 08:26:19 -0400 Subject: [XForms] Statically linked application In-Reply-To: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Message-ID: An example compiler command I used many years ago. Some compiler options may have changed but it may point you in the right direction. gcc ?O ?o mm object_files ?Xlinker ?Bstatic ?lforms \ ?Xlinker ?Bdynamic ?L/usr/X11R6/lib ?lX11 ?lm ?lXpm ?lXext Good luck, ---d.dembrow Gerald Emig Sent by: To xforms-bounces at bo XFORMS list b.usuhs.mil cc Subject 10/06/2006 04:36 [XForms] Statically linked AM application To subscribers of the xforms list Hello, is there any information available on how to create a statically linked XForms program ? Best regards, Gerald _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Todd.Denniston at ssa.crane.navy.mil Fri Oct 6 09:04:23 2006 From: Todd.Denniston at ssa.crane.navy.mil (Todd Denniston) Date: Fri, 06 Oct 2006 08:04:23 -0500 Subject: [XForms] Statically linked application In-Reply-To: <20061006105624.GA22692@john.toerring.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> Message-ID: <45265457.2020909@ssa.crane.navy.mil> Jens Thoms Toerring wrote: > To subscribers of the xforms list > > On Fri, Oct 06, 2006 at 10:36:08AM +0200, Gerald Emig wrote: >> is there any information available on how to create >> a statically linked XForms program ? > > Since, as far as I can see, there's a static as well as a dynamic > version of the XForms library installed per default you should > mostly only need to use the appropriate compiler/linker flags to > create a static program. E.g. for gcc you would need the option > '-static'. But, of course, you also need static library versions > of all other libraries involved to be installed on your system. > On mine (Linux) all required libraries (libm, libpthread, libX11, > libXpm) seem to exist in static versions except glibc, which I > would have to install in order to be able to create a program > without any external dependencies. On the other hand, the linker > just complains a bit about the program still requiring at runtime > the shared version of glib, but the resulting executable seems to > work fine, and perhaps you can live with that since a glibc will > probably exist on all systems you try to run the program on. Other- > wise install a static version of glibc on the system you build the > program on. Just don't be surprised about the size difference, a > small test program that was statically linked - as far as possible, > i.e. still dependent on the shared glic - is over 4 MB while, when > linked without '-static', it's only about 10k.... > > Regards, Jens Although I have forgotten how, it is possible to specify how each individual library should be linked, i.e., it is possible to tell the compiler link libforms static and libc dynamic, thus you could build on a box with Xforms and put it on systems that don't have Xforms installed. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter From gme at epr80.de Fri Oct 6 09:23:43 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 15:23:43 +0200 Subject: [XForms] Statically linked application In-Reply-To: <45265457.2020909@ssa.crane.navy.mil> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> Message-ID: <20061006152343.52bffa7d@emig4.heisch.inka.de> Hello all, many thanks for the hints. What Todd writes is just what I want to do. Many regards, Gerald Todd Denniston wrote: > Although I have forgotten how, it is possible to specify how each > individual library should be linked, i.e., it is possible to tell the > compiler link libforms static and libc dynamic, thus you could build > on a box with Xforms and put it on systems that don't have Xforms > installed. > > -- > Todd Denniston From jt at toerring.de Fri Oct 6 10:29:09 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Fri, 6 Oct 2006 16:29:09 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006152343.52bffa7d@emig4.heisch.inka.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> <20061006152343.52bffa7d@emig4.heisch.inka.de> Message-ID: <20061006142909.GA24016@john.toerring.de> On Fri, Oct 06, 2006 at 03:23:43PM +0200, Gerald Emig wrote: > Todd Denniston wrote: > > > Although I have forgotten how, it is possible to specify how each > > individual library should be linked, i.e., it is possible to tell the > > compiler link libforms static and libc dynamic, thus you could build > > on a box with Xforms and put it on systems that don't have Xforms > > installed. > > many thanks for the hints. What Todd writes is just what I want to do. If you just want to link against the static version of the XForms library but want to use the shared versions of all the other libraries then just explicitely link against teh staic library libforms.a, e.g. gcc -o xformtest xformtest.c /usr/local/lib/libforms.a \ -L/usr/X11R6/lib -lX11 -lm (assuming the static version of the XForms library is installed in /usr/local/lib). Static libaries are just a collection of object files and when linking you can use them the same way as object files. Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From gme at epr80.de Fri Oct 6 12:52:41 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 18:52:41 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006142909.GA24016@john.toerring.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> <20061006152343.52bffa7d@emig4.heisch.inka.de> <20061006142909.GA24016@john.toerring.de> Message-ID: <20061006185241.79fb4487@emig4.heisch.inka.de> Hello Jens, your "solution" is just what I need, thank you very much. Why ? I want to give away software for free, and say to the users that they must have xforms installed. Many of them then complain... Gerald On Fri, 6 Oct 2006 16:29:09 +0200 Jens Thoms Toerring wrote: > > If you just want to link against the static version of the XForms > library but want to use the shared versions of all the other > libraries then just explicitely link against teh staic library > libforms.a, e.g. > > gcc -o xformtest xformtest.c /usr/local/lib/libforms.a \ > -L/usr/X11R6/lib -lX11 -lm > From Steve.Kerich at smiths-aerospace.com Thu Oct 12 16:56:45 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Thu, 12 Oct 2006 14:56:45 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> I am having a problem with a question box. I use them throughout my code but this one keeps putting up a question box that is so big it goes off the left side of the screen and buttons that are huge. The text in the label and on the buttons is also corrupted. I found out by trail and error that if I show an alert box before making the call to show_question, the question box is the correct size. Has anyone seen something like this happen before? The show_alert is doing something to XForms that is making the show_question box work. I guess like flushing a buffer, reseting a pointer, or something. Below is the snippet from the program with the show_alert that makes this work. This only happens with the show_question call in the program. Elsewhere it works fine. Any ideas would be greatly appreciated. fl_show_alert("Nothing to write", "Test.", "test.", 1); fl_show_question("Write archive CD with current track layout?", 1); ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From jason.cipriani at gmail.com Thu Oct 12 17:30:43 2006 From: jason.cipriani at gmail.com (jason cipriani) Date: Thu, 12 Oct 2006 17:30:43 -0400 Subject: [XForms] question box appears huge In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> References: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: I've never seen that happen before. XForms may be kind of sketchy, but lord knows I've put it to the test over the last few years and I honestly believe that the goodie boxes are stable and bug-free. Are you making sure you are calling fl_initialize when your application starts before doing any other xforms stuff? That aside, the cuplrit of odd problems like that is usually some memory-related issue elsewhere in the program. Perhaps some of your code is writing past the end of a buffer somewhere and coincidently corrupting certain xforms data structures. Showing the alert box may reinitialize some data, or may move things around in memory so that the other issue no longer affects the quesiton box. Sorry, I can't think of any other reason that would occur unless there's some weird X or window-manager related problem that is only affecting that one message box for some reason. Jason On 10/12/06, Kerich, Steve (AGTE) wrote: > To subscribers of the xforms list > > > I am having a problem with a question box. I use them throughout my code > but this one keeps putting up a question box that is so big it goes off > the left side of the screen and buttons that are huge. The text in the > label and on the buttons is also corrupted. I found out by trail and > error that if I show an alert box before making the call to > show_question, the question box is the correct size. Has anyone seen > something like this happen before? The show_alert is doing something to > XForms that is making the show_question box work. I guess like flushing > a buffer, reseting a pointer, or something. Below is the snippet from > the program with the show_alert that makes this work. This only happens > with the show_question call in the program. Elsewhere it works fine. > > Any ideas would be greatly appreciated. > > fl_show_alert("Nothing to write", > "Test.", > "test.", > 1); > > fl_show_question("Write archive CD with current track layout?", > 1); > > > ****************************************** > The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. > ****************************************** > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From Steve.Kerich at smiths-aerospace.com Fri Oct 13 12:25:14 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Fri, 13 Oct 2006 10:25:14 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7A8@cossmgmbx06.EMAIL.CORP.TLD> Hi Jason, Thanks for getting back with me so quickly. I really didn't know if there was anyone out there that would respond to a Xforms question. A totally agree with your suggestions about a buffer over run or a crazy pointer. There is another yes/no box that is consistently doing corrupted text. The buttons come up with stuff like "true" "true" for the selections which is pretty funny to see since they are both true but not to the user. Since this is only happening in two totally different area, I would have to agree that something is getting stepped on. I'm going to work backwards and look at all the data writes to see if I can How well do you understand how Xforms works under the hood? How would/could the alert box being shown fix the question box data structure? There must be something shared between them that is getting reinitialized. Update: I did some more testing and it seems that if I call the question box before making my finish subroutine call, the box is normal but if I make the same call as the first line after the call, the box is corrupted. It would help if I could understand how the Alert box was able to reinit the question box. Let me know what you think, Steve (\__/) (='.'=) (")_(") -----Original Message----- From: jason cipriani [mailto:jason.cipriani at gmail.com] Sent: Thursday, October 12, 2006 5:31 PM To: Kerich, Steve (AGTE) Cc: xforms at bob.usuhs.mil Subject: Re: [XForms] question box appears huge I've never seen that happen before. XForms may be kind of sketchy, but lord knows I've put it to the test over the last few years and I honestly believe that the goodie boxes are stable and bug-free. Are you making sure you are calling fl_initialize when your application starts before doing any other xforms stuff? That aside, the cuplrit of odd problems like that is usually some memory-related issue elsewhere in the program. Perhaps some of your code is writing past the end of a buffer somewhere and coincidently corrupting certain xforms data structures. Showing the alert box may reinitialize some data, or may move things around in memory so that the other issue no longer affects the quesiton box. Sorry, I can't think of any other reason that would occur unless there's some weird X or window-manager related problem that is only affecting that one message box for some reason. Jason On 10/12/06, Kerich, Steve (AGTE) wrote: > To subscribers of the xforms list > > > I am having a problem with a question box. I use them throughout my > code but this one keeps putting up a question box that is so big it > goes off the left side of the screen and buttons that are huge. The > text in the label and on the buttons is also corrupted. I found out by > trail and error that if I show an alert box before making the call to > show_question, the question box is the correct size. Has anyone seen > something like this happen before? The show_alert is doing something > to XForms that is making the show_question box work. I guess like > flushing a buffer, reseting a pointer, or something. Below is the > snippet from the program with the show_alert that makes this work. > This only happens with the show_question call in the program. Elsewhere it works fine. > > Any ideas would be greatly appreciated. > > fl_show_alert("Nothing to write", > "Test.", > "test.", > 1); > > fl_show_question("Write archive CD with current track layout?", > 1); > > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms List Archive: > http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > ______________________________________________________________________ CAUTION: This message was sent via the Public Internet and its authenticity cannot be guaranteed. ______________________________________________________ -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From Steve.Kerich at smiths-aerospace.com Mon Oct 16 09:43:43 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Mon, 16 Oct 2006 07:43:43 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7B1@cossmgmbx06.EMAIL.CORP.TLD> Hi I spend all day Friday trying investigating the big box issue and found out in the end that it was being caused by my local stack overflowing. I don't have any direct proof that this is the case but through trial and error I found that if I made more room on the stack that the box returned to normal size. I was surprised that a stack problem would manifest itself with Xforms putting up a box question box but I guess anything is possible. I'm just glad its fixed! Steve ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From Steve.Kerich at smiths-aerospace.com Wed Dec 13 16:17:41 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Wed, 13 Dec 2006 14:17:41 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA919@cossmgmbx06.EMAIL.CORP.TLD> Hi The problem I was having with the question box appearing with either the button text corrupted or the title bar text corrupted, or the box itself is many times the correct size. It was first thought to be a stack problem because I could move large arrays out of a local routine and the problem would go away. Through our system testing have found 4 separate places in 4 different executable images where a question box is not being displayed correctly. The one that was discovered this week is directly tied to the use of a slider function . As the slider is moved closer to the bottom of its range the problem with the question box gets worse. What I mean by worse is that when the slider is about 1/4 from the bottom the text on the question box when the cancel is selected is corrupted to true & true . If the slider is moved to close or at the bottom the range, the corruption gets worse and the size of the box is huge . The callback for all slider positions is the same but this problem only happens when the slider is put at the bottom. Strange Huh. The only box in all 4 executables that has a problem is the question box. No other box type. But it is every time it is used. We use the question box a lot and most times it works just fine. This interaction between the slider and the question box where the slider seems to directly affect the question box by its position does not make sense. The slider value is simply saved as it is changed and are small numbers. (see code snippet below). This display issue is a real problem for our customer because the operators really don't know what to do when this happens. The box still functions if you figure out what button to push! HELP! Does anyone have any ideas about this? It just seems like there is something going on with how the question box is executed and I can fix it in most cases (not the slider case) by clearing as much of my local stack as possible. I have .jpgs of what it looks like but can't post them but can send them if someone wants to see what I am talking about. Thanks Steve void VolumeSlider_Callback(FL_OBJECT *ob, long data) { char NewValue[256]; /* Set the volume level in the AudibleAlarmInfo Array for saving later */ AudibleAlarmInfo[bSelectedAlarm].Volume = (int)fl_get_slider_value(ob); /* Convert unsigned int to string and pass to text box */ sprintf(NewValue, "%d", AudibleAlarmInfo[bSelectedAlarm].Volume); fl_set_object_label(fd_AudibleAlarmGui->VolumeText, NewValue); #ifdef ALARM_DEBUG printf("New slider volume: %d for %s index %d data %d\n", AudibleAlarmInfo[bSelectedAlarm].Volume, AudibleAlarmInfo[bSelectedAlarm].AlarmType, bSelectedAlarm, (int)data); #endif /* Set the dirty bit indicating the data has changed */ bDirtyBit = TRUE; } ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From joel.moots at ngc.com Wed Dec 13 16:38:58 2006 From: joel.moots at ngc.com (Moots, Joel A. (IT Solutions/EOS)) Date: Wed, 13 Dec 2006 14:38:58 -0700 Subject: [XForms] corrupted text or big question box returns In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA919@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: <988FAD2E161E4347BFD7EC93A4D05904022F490E@xcgaz701.northgrum.com> If you remove the callback or comment out its body, does the problem go away? -joel -----Original Message----- From: xforms-bounces at bob.usuhs.mil [mailto:xforms-bounces at bob.usuhs.mil] On Behalf Of Kerich, Steve (AGTE) Sent: Wednesday, December 13, 2006 2:18 PM To: xforms at bob.usuhs.mil Subject: [XForms] corrupted text or big question box returns To subscribers of the xforms list Hi The problem I was having with the question box appearing with either the button text corrupted or the title bar text corrupted, or the box itself is many times the correct size. It was first thought to be a stack problem because I could move large arrays out of a local routine and the problem would go away. Through our system testing have found 4 separate places in 4 different executable images where a question box is not being displayed correctly. The one that was discovered this week is directly tied to the use of a slider function . As the slider is moved closer to the bottom of its range the problem with the question box gets worse. What I mean by worse is that when the slider is about 1/4 from the bottom the text on the question box when the cancel is selected is corrupted to true & true . If the slider is moved to close or at the bottom the range, the corruption gets worse and the size of the box is huge . The callback for all slider positions is the same but this problem only happens when the slider is put at the bottom. Strange Huh. The only box in all 4 executables that has a problem is the question box. No other box type. But it is every time it is used. We use the question box a lot and most times it works just fine. This interaction between the slider and the question box where the slider seems to directly affect the question box by its position does not make sense. The slider value is simply saved as it is changed and are small numbers. (see code snippet below). This display issue is a real problem for our customer because the operators really don't know what to do when this happens. The box still functions if you figure out what button to push! HELP! Does anyone have any ideas about this? It just seems like there is something going on with how the question box is executed and I can fix it in most cases (not the slider case) by clearing as much of my local stack as possible. I have .jpgs of what it looks like but can't post them but can send them if someone wants to see what I am talking about. Thanks Steve void VolumeSlider_Callback(FL_OBJECT *ob, long data) { char NewValue[256]; /* Set the volume level in the AudibleAlarmInfo Array for saving later */ AudibleAlarmInfo[bSelectedAlarm].Volume = (int)fl_get_slider_value(ob); /* Convert unsigned int to string and pass to text box */ sprintf(NewValue, "%d", AudibleAlarmInfo[bSelectedAlarm].Volume); fl_set_object_label(fd_AudibleAlarmGui->VolumeText, NewValue); #ifdef ALARM_DEBUG printf("New slider volume: %d for %s index %d data %d\n", AudibleAlarmInfo[bSelectedAlarm].Volume, AudibleAlarmInfo[bSelectedAlarm].AlarmType, bSelectedAlarm, (int)data); #endif /* Set the dirty bit indicating the data has changed */ bDirtyBit = TRUE; } ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Steve.Kerich at smiths-aerospace.com Wed Dec 20 15:15:13 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Wed, 20 Dec 2006 13:15:13 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA942@cossmgmbx06.EMAIL.CORP.TLD> Thanks for responding Joel. Sorry for the delay in getting back. If I don't call the question box (fl_show_question("Do you want to save the new volume level(s)?",0)) ), all other boxes appear just fine. Its only the question box that is displayed either as a huge size or the text in the buttons are corrupted. I was able to reduce the slider-question box program down to just two elements, the slider, a cancel button which calls the question box, and the problem still occurs. Really weird. But now it is narrowed down to a very few lines of code and is repeatable over and over. The code does nothing but read the value from the slider. No other processing. This is why this is a great test case. I am hoping that this is the same problem as I am seeing with the other 2 executables that do this too but don't have slider boxes. One has a browser window and the other has a tabbed form open. It make this problem even stranger it depends upon the position of the slider whether the question box appears as a huge box, corrupted text on yes/no buttons, or normally. Any value from 60 to 100 allows the box to be displayed normally. There does not seem to be any pattern to it and I have tried this on 3 different machines running Solaris 8 and the same thing happens BUT the numbers it happens with change. Weird again. I can't debug XForms source so I need help from the community. I have zipped up the source, make, binary etc to make my test program which will cause this problem. I just need someone to take a little time to look into how this can be happening to the question box. If someone would like me to send it to them with some .jpgs of the problem, I will right away. It just freaks the military operators out when a huge box that goes off the right side of the screen shows up or the buttons don't have text that makes sense. Thanks Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ From Steve.Kerich at smiths-aerospace.com Thu Dec 28 13:24:13 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Thu, 28 Dec 2006 11:24:13 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA961@cossmgmbx06.EMAIL.CORP.TLD> Hi I have been doing more testing and have found with my test program that if I call fl_show_alert before fl_show_question, the corruption of the question box goes away. I have noticed this fix also works for another executable that is having trouble with the question box. If I display an alert just before the question box, the problem goes away. I haven't tried it with the other 2 images that are showing the same/similar problem. There must be some XForms connection between the two. My test program is very very small so I don't believe that there are pointer or memory stack issues involved. Jens tried out my test program on a Linux box using gcc but was unable to reproduce the problem I have been seeing. So I guess that is a clue too. That it has something to so with Solaris or the compiler. The compiler used is SUNspro instead of gcc. I do not know why this compiler was picked in the beginning. Because this problem is spread through several of our applications, I really need to find a solution. Is there anyone who has debug ideas or could help with this? Any help would be appreciated. Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ From joel.moots at ngc.com Thu Dec 28 13:58:33 2006 From: joel.moots at ngc.com (Moots, Joel A. (IT Solutions/EOS)) Date: Thu, 28 Dec 2006 11:58:33 -0700 Subject: [XForms] corrupted text or big question box returns In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA961@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: <988FAD2E161E4347BFD7EC93A4D05904022F4B69@xcgaz701.northgrum.com> Since the program is so small, can you find the smallest amount of code needed for you to reproduce the problem and then paste just the parts you wrote to this list? E.g., if you don't need a slider callback to reproduce the problem, get rid of it; if you need the callback but don't need to retrieve the value, get rid of it; etc. If that's still rather large, can you tar/gzip just the source files with no extension on the filename and email to me. TIA, -joel -----Original Message----- From: xforms-bounces at bob.usuhs.mil [mailto:xforms-bounces at bob.usuhs.mil] On Behalf Of Kerich, Steve (AGTE) Sent: Thursday, December 28, 2006 11:24 AM To: xforms at bob.usuhs.mil Subject: [XForms] corrupted text or big question box returns To subscribers of the xforms list Hi I have been doing more testing and have found with my test program that if I call fl_show_alert before fl_show_question, the corruption of the question box goes away. I have noticed this fix also works for another executable that is having trouble with the question box. If I display an alert just before the question box, the problem goes away. I haven't tried it with the other 2 images that are showing the same/similar problem. There must be some XForms connection between the two. My test program is very very small so I don't believe that there are pointer or memory stack issues involved. Jens tried out my test program on a Linux box using gcc but was unable to reproduce the problem I have been seeing. So I guess that is a clue too. That it has something to so with Solaris or the compiler. The compiler used is SUNspro instead of gcc. I do not know why this compiler was picked in the beginning. Because this problem is spread through several of our applications, I really need to find a solution. Is there anyone who has debug ideas or could help with this? Any help would be appreciated. Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Jean-Marc.Lasgouttes at inria.fr Fri Jan 27 10:29:06 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Fri, 27 Jan 2006 16:29:06 +0100 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X In-Reply-To: <73605DC8-D5F9-46A5-B302-7783D84E9176@wooster.edu> (Rick Drushal's message of "Fri, 27 Jan 2006 01:29:36 -0500") References: <73605DC8-D5F9-46A5-B302-7783D84E9176@wooster.edu> Message-ID: >>>>> "Rick" == Rick Drushal writes: Rick> I am trying to build the xforms libraries on my OS X Tiger Rick> system. I only need to build because I only need access to the Rick> .h and .a files. When i run :./configure it balks because it Rick> "Cannot find libjpeg". I have installed this library via fink, Rick> with no success and even downloaded the source and compiled it Rick> myself, also with no effect. If and of you have any good ideas Rick> of where to go with this next I would appreciate it. Hello Rick, Where are the headers/library installed? You can use --with-extra-inc and --with-extra-lib to point there. JMarc PS: I changed the destination to the real xforms list. From jac4 at mindless.com Fri Jan 27 11:36:07 2006 From: jac4 at mindless.com (jason cipriani) Date: Fri, 27 Jan 2006 11:36:07 -0500 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X Message-ID: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> > To subscribers of the xforms list > > >>>>> "Rick" == Rick Drushal writes: > > Rick> I am trying to build the xforms libraries on my OS X Tiger > Rick> system. I only need to build because I only need access to the > Rick> .h and .a files. When i run :./configure it balks because it > Rick> "Cannot find libjpeg". I have installed this library via fink, > Rick> with no success and even downloaded the source and compiled it > Rick> myself, also with no effect. If and of you have any good ideas > Rick> of where to go with this next I would appreciate it. > > Hello Rick, > > Where are the headers/library installed? You can use --with-extra-inc > and --with-extra-lib to point there. fink installs them to /sw/lib and /sw/include i believe. > > JMarc > > PS: I changed the destination to the real xforms list. > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From Jean-Marc.Lasgouttes at inria.fr Fri Jan 27 16:46:09 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Fri, 27 Jan 2006 22:46:09 +0100 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X In-Reply-To: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> (jason cipriani's message of "Fri, 27 Jan 2006 11:36:07 -0500") References: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> Message-ID: >>>>> "jason" == jason cipriani writes: jason> fink installs them to /sw/lib and /sw/include i believe. so ./configure --with-extra-prefix=/sw should do the trick. JMarc From giulio.ballardin at ego-gw.it Thu Feb 16 04:39:46 2006 From: giulio.ballardin at ego-gw.it (Giulio Ballardin) Date: Thu, 16 Feb 2006 10:39:46 +0100 Subject: [XForms] Counter Message-ID: Hi, I'm using linux readhat 9.0 and Library 1.1. I built an user Interface with some counters. It appends that when a click only one time on the counter arrow, some time the number increases more than it should. It seems a problem of mouse sensibility or a problem of counter sensibility. How can I fixe this problem? thank you, Giulio From jt at toerring.de Thu Feb 16 05:58:49 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Thu, 16 Feb 2006 11:58:49 +0100 Subject: [XForms] Counter In-Reply-To: References: Message-ID: <20060216105849.GA24320@john.toerring.de> Hello Guilio, On Thu, Feb 16, 2006 at 10:39:46AM +0100, Giulio Ballardin wrote: > I'm using linux readhat 9.0 and Library 1.1. I built an user Interface > with some counters. It appends that when a click > only one time on the counter arrow, some time the number > increases more than it should. It seems a problem > of mouse sensibility or a problem of counter sensibility. > How can I fixe this problem? Unfortunately, your description of the problem is a bit vague. I also don't know what a "counter arrow" is - is that a button with an arrow drawn on it or something else? It probably would help if you could you post the code you are using, ideally as a complete, compilable program with everything thrown out except the part that exhibits the problem you encounter. Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From kro at grizzly.tphys.uni-linz.ac.at Wed Apr 19 23:00:34 2006 From: kro at grizzly.tphys.uni-linz.ac.at (Eckhard Krotscheck) Date: Thu, 20 Apr 2006 05:00:34 +0200 (CEST) Subject: [XForms] activity Message-ID: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> This is just to see if there is still any activity on the Xforms mailing list... From M.Holme at mmu.ac.uk Thu Apr 20 06:26:19 2006 From: M.Holme at mmu.ac.uk (Michael Holme) Date: Thu, 20 Apr 2006 11:26:19 +0100 Subject: [XForms] xforms for Mac OSX - a request please Message-ID: <6.1.0.6.0.20060420112117.01a7b700@patsy.doc.aca.mmu.ac.uk> Hello List, This is my first post (I think, I used to be an active xforms programmer years ago). I've been asked to port an xforms application from Linux to Mac OSX and the old site that contains the binaries of the various xforms libraries doesn't seem to be giving me much joy. Does anybody have a binary distribution of the xforms library that isn't too customised with regard to directories, etc that could be emailed to me, or I could download ? I'd appreciate any help. Thanks, Mike Holme Before acting on this email or opening any attachments you should read the Manchester Metropolitan Universitys' email disclaimer available on its website http://www.mmu.ac.uk/emaildisclaimer From Jean-Marc.Lasgouttes at inria.fr Thu Apr 20 08:59:24 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Thu, 20 Apr 2006 14:59:24 +0200 Subject: [XForms] activity In-Reply-To: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> (Eckhard Krotscheck's message of "Thu, 20 Apr 2006 05:00:34 +0200 (CEST)") References: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> Message-ID: >>>>> "Eckhard" == Eckhard Krotscheck writes: Eckhard> This is just to see if there is still any activity on the Eckhard> Xforms mailing list... There is not much activity unfortunately :( JMarc From jac4 at mindless.com Thu Apr 20 09:51:13 2006 From: jac4 at mindless.com (jason cipriani) Date: Thu, 20 Apr 2006 08:51:13 -0500 Subject: [XForms] xforms for Mac OSX - a request please Message-ID: <20060420135113.F10D983985@ws1-2a.us4.outblaze.com> I have built xforms succesfully on OSX. It's not native, of course, it still runs through the X server. The build process is straightforward, I don't recall running in to any issues. But I can send you the binaries later today or tomorrow if you'd like. Jason > ----- Original Message ----- > From: "Michael Holme" > To: xforms at bob.usuhs.mil > Subject: [XForms] xforms for Mac OSX - a request please > Date: Thu, 20 Apr 2006 11:26:19 +0100 > > > To subscribers of the xforms list > > Hello List, > > This is my first post (I think, I used to be an active xforms > programmer years ago). I've been asked to port an xforms application from > Linux to Mac OSX and the old site that contains the binaries of the various > xforms libraries doesn't seem to be giving me much joy. Does anybody have a > binary distribution of the xforms library that isn't too customised with > regard to directories, etc that could be emailed to me, or I could download ? > I'd appreciate any help. > > Thanks, > Mike Holme > > > Before acting on this email or opening any attachments you should read the > Manchester Metropolitan Universitys' email disclaimer available on its website > http://www.mmu.ac.uk/emaildisclaimer > > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From poenikatu at operamail.com Sun May 21 05:19:20 2006 From: poenikatu at operamail.com (Sian Mountbatten) Date: Sun, 21 May 2006 10:19:20 +0100 Subject: [XForms] Algol 68 binding Message-ID: <44703098.806@operamail.com> I have written a binding for the RS Algol 68 compiler (algol68toc) which I ported to Linux some years ago. Currently, I am converting the documentation to LaTeX and translating the examples to Algol 68 so that the resulting manual can be used to write GUI programs in Web 68 (the literate programming system for Algol 68). Because the source documentation is only available in HTML, I have LaTeXified that version and am in the process of converting it to full LaTeX. Of course, if the original documentation were available, because it is already in TeX form, it would be ease my task considerably. Does anybody know where the original documentation is and whether a copy can be obtained? Regards -- Sian Mountbatten From psg at debian.org Wed May 24 16:42:53 2006 From: psg at debian.org (Peter S Galbraith) Date: Wed, 24 May 2006 16:42:53 -0400 Subject: [XForms] Re: XForms: Documentation In-Reply-To: Message from Peter S Galbraith of "Tue, 08 Feb 2005 09:22:41 EST." <20050208142241.8683AAB07E@mixing.qc.dfo.ca> References: <20030908154838.51918.qmail@web13407.mail.yahoo.com> <20050208142241.8683AAB07E@mixing.qc.dfo.ca> Message-ID: <22216.1148503373@mixing.qc.dfo.ca> Hello T.C. (and the XForms list) Consider this the yearly nudge to release the sources of the XForms manual. Someone just emailed me today about them, so I'm sure they would still be appreciated and used by many. Thanks, Peter On 08 Feb 2005, I wrote: > On Sept 8th 2003, T.C. Zhao wrote: > > > Sorry for the delay and thanks for the info. GPL it is. > > > > I am currently travelling and will be back home end of September. Expect the > > free manual in October sometime. > > > > -TC > > --- Peter S Galbraith wrote: > > > To subscribers of the xforms list > > > > > > > > > T.C. Zhao wrote: > > > > > > > All I need to do is boot up my old linux box and recover the doc > > > > and send it. Will do this sometime in April (I've been travelling, > > > > and am sending this email from Tokyo). > > > > -TC > > > > > > Hi T.C., > > > > > > I really hate to keep nagging you like this. :-) > > > > > > You meant to release the sources of the XForms manual last April but > > > never got around to it. This is a reminder. Also, please avoid using > > > the GNU Free Documentation License (GFDL) since it not a free software > > > license and therefore cannot be included in the Debian distribution. > > > Using the GPL would be fine. > > Hello T.C., > > Consider this another nudge to release the sources of the XForms > manual. On the plus side, I didn't nag you in 2004. ;-) > > Please consider taking some time to actually do this now, while the > sources still exist, and before you get hit by a bus or something and > they are gone forever. The XForms sources have been free for a long > time now (Thanks!) and they really should have free documentation. > > Thanks, > -- > Peter S. Galbraith, Debian Developer > http://people.debian.org/~psg > GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E -- Peter S. Galbraith, Debian Developer http://people.debian.org/~psg GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E From jason.cipriani at gmail.com Wed May 31 20:38:21 2006 From: jason.cipriani at gmail.com (jason cipriani) Date: Wed, 31 May 2006 20:38:21 -0400 Subject: [XForms] Test, feel free to ignore this. Message-ID: Just a test (shiny new email address :), sorry to spam you all! Jason From juerg.hauser at krist.unibe.ch Thu Aug 24 02:43:48 2006 From: juerg.hauser at krist.unibe.ch (=?ISO-8859-15?Q?J=FCrg_Hauser?=) Date: Thu, 24 Aug 2006 08:43:48 +0200 Subject: [XForms] CygwinX maximize/restore for fixed size form Message-ID: <44ED4AA4.6070208@krist.unibe.ch> I'm porting an application using xforms to CygwinX (default installation). Although the application window is given fixed size (fl_show_form with place=FL_PLACE_CENTER) a maximize/restore button is displayed. In Linux (SUSE, RedHat) I only get the minimize and close buttons. Any help is appreciated. Regards, Juerg -- ____________________________ Universit?t Bern Laboratorium f?r chemische und mineralogische Kristallographie Dr. J?rg Hauser Freiestrasse 3 CH-3012 Bern Tel. +41 (0)31 631 43 90 Fax +41 (0)31 631 39 96 mailto:juerg.hauser at krist.unibe.ch http://www.krist.unibe.ch From gme at epr80.de Fri Oct 6 04:36:08 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 10:36:08 +0200 Subject: [XForms] Statically linked application Message-ID: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Hello, is there any information available on how to create a statically linked XForms program ? Best regards, Gerald From jt at toerring.de Fri Oct 6 06:56:25 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Fri, 6 Oct 2006 12:56:25 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006103608.0f0b0eea@emig4.heisch.inka.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Message-ID: <20061006105624.GA22692@john.toerring.de> On Fri, Oct 06, 2006 at 10:36:08AM +0200, Gerald Emig wrote: > is there any information available on how to create > a statically linked XForms program ? Since, as far as I can see, there's a static as well as a dynamic version of the XForms library installed per default you should mostly only need to use the appropriate compiler/linker flags to create a static program. E.g. for gcc you would need the option '-static'. But, of course, you also need static library versions of all other libraries involved to be installed on your system. On mine (Linux) all required libraries (libm, libpthread, libX11, libXpm) seem to exist in static versions except glibc, which I would have to install in order to be able to create a program without any external dependencies. On the other hand, the linker just complains a bit about the program still requiring at runtime the shared version of glib, but the resulting executable seems to work fine, and perhaps you can live with that since a glibc will probably exist on all systems you try to run the program on. Other- wise install a static version of glibc on the system you build the program on. Just don't be surprised about the size difference, a small test program that was statically linked - as far as possible, i.e. still dependent on the shared glic - is over 4 MB while, when linked without '-static', it's only about 10k.... Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From dadembro at rockwellcollins.com Fri Oct 6 08:26:19 2006 From: dadembro at rockwellcollins.com (dadembro at rockwellcollins.com) Date: Fri, 6 Oct 2006 08:26:19 -0400 Subject: [XForms] Statically linked application In-Reply-To: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Message-ID: An example compiler command I used many years ago. Some compiler options may have changed but it may point you in the right direction. gcc ?O ?o mm object_files ?Xlinker ?Bstatic ?lforms \ ?Xlinker ?Bdynamic ?L/usr/X11R6/lib ?lX11 ?lm ?lXpm ?lXext Good luck, ---d.dembrow Gerald Emig Sent by: To xforms-bounces at bo XFORMS list b.usuhs.mil cc Subject 10/06/2006 04:36 [XForms] Statically linked AM application To subscribers of the xforms list Hello, is there any information available on how to create a statically linked XForms program ? Best regards, Gerald _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Todd.Denniston at ssa.crane.navy.mil Fri Oct 6 09:04:23 2006 From: Todd.Denniston at ssa.crane.navy.mil (Todd Denniston) Date: Fri, 06 Oct 2006 08:04:23 -0500 Subject: [XForms] Statically linked application In-Reply-To: <20061006105624.GA22692@john.toerring.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> Message-ID: <45265457.2020909@ssa.crane.navy.mil> Jens Thoms Toerring wrote: > To subscribers of the xforms list > > On Fri, Oct 06, 2006 at 10:36:08AM +0200, Gerald Emig wrote: >> is there any information available on how to create >> a statically linked XForms program ? > > Since, as far as I can see, there's a static as well as a dynamic > version of the XForms library installed per default you should > mostly only need to use the appropriate compiler/linker flags to > create a static program. E.g. for gcc you would need the option > '-static'. But, of course, you also need static library versions > of all other libraries involved to be installed on your system. > On mine (Linux) all required libraries (libm, libpthread, libX11, > libXpm) seem to exist in static versions except glibc, which I > would have to install in order to be able to create a program > without any external dependencies. On the other hand, the linker > just complains a bit about the program still requiring at runtime > the shared version of glib, but the resulting executable seems to > work fine, and perhaps you can live with that since a glibc will > probably exist on all systems you try to run the program on. Other- > wise install a static version of glibc on the system you build the > program on. Just don't be surprised about the size difference, a > small test program that was statically linked - as far as possible, > i.e. still dependent on the shared glic - is over 4 MB while, when > linked without '-static', it's only about 10k.... > > Regards, Jens Although I have forgotten how, it is possible to specify how each individual library should be linked, i.e., it is possible to tell the compiler link libforms static and libc dynamic, thus you could build on a box with Xforms and put it on systems that don't have Xforms installed. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter From gme at epr80.de Fri Oct 6 09:23:43 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 15:23:43 +0200 Subject: [XForms] Statically linked application In-Reply-To: <45265457.2020909@ssa.crane.navy.mil> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> Message-ID: <20061006152343.52bffa7d@emig4.heisch.inka.de> Hello all, many thanks for the hints. What Todd writes is just what I want to do. Many regards, Gerald Todd Denniston wrote: > Although I have forgotten how, it is possible to specify how each > individual library should be linked, i.e., it is possible to tell the > compiler link libforms static and libc dynamic, thus you could build > on a box with Xforms and put it on systems that don't have Xforms > installed. > > -- > Todd Denniston From jt at toerring.de Fri Oct 6 10:29:09 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Fri, 6 Oct 2006 16:29:09 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006152343.52bffa7d@emig4.heisch.inka.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> <20061006152343.52bffa7d@emig4.heisch.inka.de> Message-ID: <20061006142909.GA24016@john.toerring.de> On Fri, Oct 06, 2006 at 03:23:43PM +0200, Gerald Emig wrote: > Todd Denniston wrote: > > > Although I have forgotten how, it is possible to specify how each > > individual library should be linked, i.e., it is possible to tell the > > compiler link libforms static and libc dynamic, thus you could build > > on a box with Xforms and put it on systems that don't have Xforms > > installed. > > many thanks for the hints. What Todd writes is just what I want to do. If you just want to link against the static version of the XForms library but want to use the shared versions of all the other libraries then just explicitely link against teh staic library libforms.a, e.g. gcc -o xformtest xformtest.c /usr/local/lib/libforms.a \ -L/usr/X11R6/lib -lX11 -lm (assuming the static version of the XForms library is installed in /usr/local/lib). Static libaries are just a collection of object files and when linking you can use them the same way as object files. Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From gme at epr80.de Fri Oct 6 12:52:41 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 18:52:41 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006142909.GA24016@john.toerring.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> <20061006152343.52bffa7d@emig4.heisch.inka.de> <20061006142909.GA24016@john.toerring.de> Message-ID: <20061006185241.79fb4487@emig4.heisch.inka.de> Hello Jens, your "solution" is just what I need, thank you very much. Why ? I want to give away software for free, and say to the users that they must have xforms installed. Many of them then complain... Gerald On Fri, 6 Oct 2006 16:29:09 +0200 Jens Thoms Toerring wrote: > > If you just want to link against the static version of the XForms > library but want to use the shared versions of all the other > libraries then just explicitely link against teh staic library > libforms.a, e.g. > > gcc -o xformtest xformtest.c /usr/local/lib/libforms.a \ > -L/usr/X11R6/lib -lX11 -lm > From Steve.Kerich at smiths-aerospace.com Thu Oct 12 16:56:45 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Thu, 12 Oct 2006 14:56:45 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> I am having a problem with a question box. I use them throughout my code but this one keeps putting up a question box that is so big it goes off the left side of the screen and buttons that are huge. The text in the label and on the buttons is also corrupted. I found out by trail and error that if I show an alert box before making the call to show_question, the question box is the correct size. Has anyone seen something like this happen before? The show_alert is doing something to XForms that is making the show_question box work. I guess like flushing a buffer, reseting a pointer, or something. Below is the snippet from the program with the show_alert that makes this work. This only happens with the show_question call in the program. Elsewhere it works fine. Any ideas would be greatly appreciated. fl_show_alert("Nothing to write", "Test.", "test.", 1); fl_show_question("Write archive CD with current track layout?", 1); ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From jason.cipriani at gmail.com Thu Oct 12 17:30:43 2006 From: jason.cipriani at gmail.com (jason cipriani) Date: Thu, 12 Oct 2006 17:30:43 -0400 Subject: [XForms] question box appears huge In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> References: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: I've never seen that happen before. XForms may be kind of sketchy, but lord knows I've put it to the test over the last few years and I honestly believe that the goodie boxes are stable and bug-free. Are you making sure you are calling fl_initialize when your application starts before doing any other xforms stuff? That aside, the cuplrit of odd problems like that is usually some memory-related issue elsewhere in the program. Perhaps some of your code is writing past the end of a buffer somewhere and coincidently corrupting certain xforms data structures. Showing the alert box may reinitialize some data, or may move things around in memory so that the other issue no longer affects the quesiton box. Sorry, I can't think of any other reason that would occur unless there's some weird X or window-manager related problem that is only affecting that one message box for some reason. Jason On 10/12/06, Kerich, Steve (AGTE) wrote: > To subscribers of the xforms list > > > I am having a problem with a question box. I use them throughout my code > but this one keeps putting up a question box that is so big it goes off > the left side of the screen and buttons that are huge. The text in the > label and on the buttons is also corrupted. I found out by trail and > error that if I show an alert box before making the call to > show_question, the question box is the correct size. Has anyone seen > something like this happen before? The show_alert is doing something to > XForms that is making the show_question box work. I guess like flushing > a buffer, reseting a pointer, or something. Below is the snippet from > the program with the show_alert that makes this work. This only happens > with the show_question call in the program. Elsewhere it works fine. > > Any ideas would be greatly appreciated. > > fl_show_alert("Nothing to write", > "Test.", > "test.", > 1); > > fl_show_question("Write archive CD with current track layout?", > 1); > > > ****************************************** > The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. > ****************************************** > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From Steve.Kerich at smiths-aerospace.com Fri Oct 13 12:25:14 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Fri, 13 Oct 2006 10:25:14 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7A8@cossmgmbx06.EMAIL.CORP.TLD> Hi Jason, Thanks for getting back with me so quickly. I really didn't know if there was anyone out there that would respond to a Xforms question. A totally agree with your suggestions about a buffer over run or a crazy pointer. There is another yes/no box that is consistently doing corrupted text. The buttons come up with stuff like "true" "true" for the selections which is pretty funny to see since they are both true but not to the user. Since this is only happening in two totally different area, I would have to agree that something is getting stepped on. I'm going to work backwards and look at all the data writes to see if I can How well do you understand how Xforms works under the hood? How would/could the alert box being shown fix the question box data structure? There must be something shared between them that is getting reinitialized. Update: I did some more testing and it seems that if I call the question box before making my finish subroutine call, the box is normal but if I make the same call as the first line after the call, the box is corrupted. It would help if I could understand how the Alert box was able to reinit the question box. Let me know what you think, Steve (\__/) (='.'=) (")_(") -----Original Message----- From: jason cipriani [mailto:jason.cipriani at gmail.com] Sent: Thursday, October 12, 2006 5:31 PM To: Kerich, Steve (AGTE) Cc: xforms at bob.usuhs.mil Subject: Re: [XForms] question box appears huge I've never seen that happen before. XForms may be kind of sketchy, but lord knows I've put it to the test over the last few years and I honestly believe that the goodie boxes are stable and bug-free. Are you making sure you are calling fl_initialize when your application starts before doing any other xforms stuff? That aside, the cuplrit of odd problems like that is usually some memory-related issue elsewhere in the program. Perhaps some of your code is writing past the end of a buffer somewhere and coincidently corrupting certain xforms data structures. Showing the alert box may reinitialize some data, or may move things around in memory so that the other issue no longer affects the quesiton box. Sorry, I can't think of any other reason that would occur unless there's some weird X or window-manager related problem that is only affecting that one message box for some reason. Jason On 10/12/06, Kerich, Steve (AGTE) wrote: > To subscribers of the xforms list > > > I am having a problem with a question box. I use them throughout my > code but this one keeps putting up a question box that is so big it > goes off the left side of the screen and buttons that are huge. The > text in the label and on the buttons is also corrupted. I found out by > trail and error that if I show an alert box before making the call to > show_question, the question box is the correct size. Has anyone seen > something like this happen before? The show_alert is doing something > to XForms that is making the show_question box work. I guess like > flushing a buffer, reseting a pointer, or something. Below is the > snippet from the program with the show_alert that makes this work. > This only happens with the show_question call in the program. Elsewhere it works fine. > > Any ideas would be greatly appreciated. > > fl_show_alert("Nothing to write", > "Test.", > "test.", > 1); > > fl_show_question("Write archive CD with current track layout?", > 1); > > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms List Archive: > http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > ______________________________________________________________________ CAUTION: This message was sent via the Public Internet and its authenticity cannot be guaranteed. ______________________________________________________ -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From Steve.Kerich at smiths-aerospace.com Mon Oct 16 09:43:43 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Mon, 16 Oct 2006 07:43:43 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7B1@cossmgmbx06.EMAIL.CORP.TLD> Hi I spend all day Friday trying investigating the big box issue and found out in the end that it was being caused by my local stack overflowing. I don't have any direct proof that this is the case but through trial and error I found that if I made more room on the stack that the box returned to normal size. I was surprised that a stack problem would manifest itself with Xforms putting up a box question box but I guess anything is possible. I'm just glad its fixed! Steve ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From Steve.Kerich at smiths-aerospace.com Wed Dec 13 16:17:41 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Wed, 13 Dec 2006 14:17:41 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA919@cossmgmbx06.EMAIL.CORP.TLD> Hi The problem I was having with the question box appearing with either the button text corrupted or the title bar text corrupted, or the box itself is many times the correct size. It was first thought to be a stack problem because I could move large arrays out of a local routine and the problem would go away. Through our system testing have found 4 separate places in 4 different executable images where a question box is not being displayed correctly. The one that was discovered this week is directly tied to the use of a slider function . As the slider is moved closer to the bottom of its range the problem with the question box gets worse. What I mean by worse is that when the slider is about 1/4 from the bottom the text on the question box when the cancel is selected is corrupted to true & true . If the slider is moved to close or at the bottom the range, the corruption gets worse and the size of the box is huge . The callback for all slider positions is the same but this problem only happens when the slider is put at the bottom. Strange Huh. The only box in all 4 executables that has a problem is the question box. No other box type. But it is every time it is used. We use the question box a lot and most times it works just fine. This interaction between the slider and the question box where the slider seems to directly affect the question box by its position does not make sense. The slider value is simply saved as it is changed and are small numbers. (see code snippet below). This display issue is a real problem for our customer because the operators really don't know what to do when this happens. The box still functions if you figure out what button to push! HELP! Does anyone have any ideas about this? It just seems like there is something going on with how the question box is executed and I can fix it in most cases (not the slider case) by clearing as much of my local stack as possible. I have .jpgs of what it looks like but can't post them but can send them if someone wants to see what I am talking about. Thanks Steve void VolumeSlider_Callback(FL_OBJECT *ob, long data) { char NewValue[256]; /* Set the volume level in the AudibleAlarmInfo Array for saving later */ AudibleAlarmInfo[bSelectedAlarm].Volume = (int)fl_get_slider_value(ob); /* Convert unsigned int to string and pass to text box */ sprintf(NewValue, "%d", AudibleAlarmInfo[bSelectedAlarm].Volume); fl_set_object_label(fd_AudibleAlarmGui->VolumeText, NewValue); #ifdef ALARM_DEBUG printf("New slider volume: %d for %s index %d data %d\n", AudibleAlarmInfo[bSelectedAlarm].Volume, AudibleAlarmInfo[bSelectedAlarm].AlarmType, bSelectedAlarm, (int)data); #endif /* Set the dirty bit indicating the data has changed */ bDirtyBit = TRUE; } ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From joel.moots at ngc.com Wed Dec 13 16:38:58 2006 From: joel.moots at ngc.com (Moots, Joel A. (IT Solutions/EOS)) Date: Wed, 13 Dec 2006 14:38:58 -0700 Subject: [XForms] corrupted text or big question box returns In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA919@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: <988FAD2E161E4347BFD7EC93A4D05904022F490E@xcgaz701.northgrum.com> If you remove the callback or comment out its body, does the problem go away? -joel -----Original Message----- From: xforms-bounces at bob.usuhs.mil [mailto:xforms-bounces at bob.usuhs.mil] On Behalf Of Kerich, Steve (AGTE) Sent: Wednesday, December 13, 2006 2:18 PM To: xforms at bob.usuhs.mil Subject: [XForms] corrupted text or big question box returns To subscribers of the xforms list Hi The problem I was having with the question box appearing with either the button text corrupted or the title bar text corrupted, or the box itself is many times the correct size. It was first thought to be a stack problem because I could move large arrays out of a local routine and the problem would go away. Through our system testing have found 4 separate places in 4 different executable images where a question box is not being displayed correctly. The one that was discovered this week is directly tied to the use of a slider function . As the slider is moved closer to the bottom of its range the problem with the question box gets worse. What I mean by worse is that when the slider is about 1/4 from the bottom the text on the question box when the cancel is selected is corrupted to true & true . If the slider is moved to close or at the bottom the range, the corruption gets worse and the size of the box is huge . The callback for all slider positions is the same but this problem only happens when the slider is put at the bottom. Strange Huh. The only box in all 4 executables that has a problem is the question box. No other box type. But it is every time it is used. We use the question box a lot and most times it works just fine. This interaction between the slider and the question box where the slider seems to directly affect the question box by its position does not make sense. The slider value is simply saved as it is changed and are small numbers. (see code snippet below). This display issue is a real problem for our customer because the operators really don't know what to do when this happens. The box still functions if you figure out what button to push! HELP! Does anyone have any ideas about this? It just seems like there is something going on with how the question box is executed and I can fix it in most cases (not the slider case) by clearing as much of my local stack as possible. I have .jpgs of what it looks like but can't post them but can send them if someone wants to see what I am talking about. Thanks Steve void VolumeSlider_Callback(FL_OBJECT *ob, long data) { char NewValue[256]; /* Set the volume level in the AudibleAlarmInfo Array for saving later */ AudibleAlarmInfo[bSelectedAlarm].Volume = (int)fl_get_slider_value(ob); /* Convert unsigned int to string and pass to text box */ sprintf(NewValue, "%d", AudibleAlarmInfo[bSelectedAlarm].Volume); fl_set_object_label(fd_AudibleAlarmGui->VolumeText, NewValue); #ifdef ALARM_DEBUG printf("New slider volume: %d for %s index %d data %d\n", AudibleAlarmInfo[bSelectedAlarm].Volume, AudibleAlarmInfo[bSelectedAlarm].AlarmType, bSelectedAlarm, (int)data); #endif /* Set the dirty bit indicating the data has changed */ bDirtyBit = TRUE; } ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Steve.Kerich at smiths-aerospace.com Wed Dec 20 15:15:13 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Wed, 20 Dec 2006 13:15:13 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA942@cossmgmbx06.EMAIL.CORP.TLD> Thanks for responding Joel. Sorry for the delay in getting back. If I don't call the question box (fl_show_question("Do you want to save the new volume level(s)?",0)) ), all other boxes appear just fine. Its only the question box that is displayed either as a huge size or the text in the buttons are corrupted. I was able to reduce the slider-question box program down to just two elements, the slider, a cancel button which calls the question box, and the problem still occurs. Really weird. But now it is narrowed down to a very few lines of code and is repeatable over and over. The code does nothing but read the value from the slider. No other processing. This is why this is a great test case. I am hoping that this is the same problem as I am seeing with the other 2 executables that do this too but don't have slider boxes. One has a browser window and the other has a tabbed form open. It make this problem even stranger it depends upon the position of the slider whether the question box appears as a huge box, corrupted text on yes/no buttons, or normally. Any value from 60 to 100 allows the box to be displayed normally. There does not seem to be any pattern to it and I have tried this on 3 different machines running Solaris 8 and the same thing happens BUT the numbers it happens with change. Weird again. I can't debug XForms source so I need help from the community. I have zipped up the source, make, binary etc to make my test program which will cause this problem. I just need someone to take a little time to look into how this can be happening to the question box. If someone would like me to send it to them with some .jpgs of the problem, I will right away. It just freaks the military operators out when a huge box that goes off the right side of the screen shows up or the buttons don't have text that makes sense. Thanks Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ From Steve.Kerich at smiths-aerospace.com Thu Dec 28 13:24:13 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Thu, 28 Dec 2006 11:24:13 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA961@cossmgmbx06.EMAIL.CORP.TLD> Hi I have been doing more testing and have found with my test program that if I call fl_show_alert before fl_show_question, the corruption of the question box goes away. I have noticed this fix also works for another executable that is having trouble with the question box. If I display an alert just before the question box, the problem goes away. I haven't tried it with the other 2 images that are showing the same/similar problem. There must be some XForms connection between the two. My test program is very very small so I don't believe that there are pointer or memory stack issues involved. Jens tried out my test program on a Linux box using gcc but was unable to reproduce the problem I have been seeing. So I guess that is a clue too. That it has something to so with Solaris or the compiler. The compiler used is SUNspro instead of gcc. I do not know why this compiler was picked in the beginning. Because this problem is spread through several of our applications, I really need to find a solution. Is there anyone who has debug ideas or could help with this? Any help would be appreciated. Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ From joel.moots at ngc.com Thu Dec 28 13:58:33 2006 From: joel.moots at ngc.com (Moots, Joel A. (IT Solutions/EOS)) Date: Thu, 28 Dec 2006 11:58:33 -0700 Subject: [XForms] corrupted text or big question box returns In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA961@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: <988FAD2E161E4347BFD7EC93A4D05904022F4B69@xcgaz701.northgrum.com> Since the program is so small, can you find the smallest amount of code needed for you to reproduce the problem and then paste just the parts you wrote to this list? E.g., if you don't need a slider callback to reproduce the problem, get rid of it; if you need the callback but don't need to retrieve the value, get rid of it; etc. If that's still rather large, can you tar/gzip just the source files with no extension on the filename and email to me. TIA, -joel -----Original Message----- From: xforms-bounces at bob.usuhs.mil [mailto:xforms-bounces at bob.usuhs.mil] On Behalf Of Kerich, Steve (AGTE) Sent: Thursday, December 28, 2006 11:24 AM To: xforms at bob.usuhs.mil Subject: [XForms] corrupted text or big question box returns To subscribers of the xforms list Hi I have been doing more testing and have found with my test program that if I call fl_show_alert before fl_show_question, the corruption of the question box goes away. I have noticed this fix also works for another executable that is having trouble with the question box. If I display an alert just before the question box, the problem goes away. I haven't tried it with the other 2 images that are showing the same/similar problem. There must be some XForms connection between the two. My test program is very very small so I don't believe that there are pointer or memory stack issues involved. Jens tried out my test program on a Linux box using gcc but was unable to reproduce the problem I have been seeing. So I guess that is a clue too. That it has something to so with Solaris or the compiler. The compiler used is SUNspro instead of gcc. I do not know why this compiler was picked in the beginning. Because this problem is spread through several of our applications, I really need to find a solution. Is there anyone who has debug ideas or could help with this? Any help would be appreciated. Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Jean-Marc.Lasgouttes at inria.fr Fri Jan 27 10:29:06 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Fri, 27 Jan 2006 16:29:06 +0100 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X In-Reply-To: <73605DC8-D5F9-46A5-B302-7783D84E9176@wooster.edu> (Rick Drushal's message of "Fri, 27 Jan 2006 01:29:36 -0500") References: <73605DC8-D5F9-46A5-B302-7783D84E9176@wooster.edu> Message-ID: >>>>> "Rick" == Rick Drushal writes: Rick> I am trying to build the xforms libraries on my OS X Tiger Rick> system. I only need to build because I only need access to the Rick> .h and .a files. When i run :./configure it balks because it Rick> "Cannot find libjpeg". I have installed this library via fink, Rick> with no success and even downloaded the source and compiled it Rick> myself, also with no effect. If and of you have any good ideas Rick> of where to go with this next I would appreciate it. Hello Rick, Where are the headers/library installed? You can use --with-extra-inc and --with-extra-lib to point there. JMarc PS: I changed the destination to the real xforms list. From jac4 at mindless.com Fri Jan 27 11:36:07 2006 From: jac4 at mindless.com (jason cipriani) Date: Fri, 27 Jan 2006 11:36:07 -0500 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X Message-ID: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> > To subscribers of the xforms list > > >>>>> "Rick" == Rick Drushal writes: > > Rick> I am trying to build the xforms libraries on my OS X Tiger > Rick> system. I only need to build because I only need access to the > Rick> .h and .a files. When i run :./configure it balks because it > Rick> "Cannot find libjpeg". I have installed this library via fink, > Rick> with no success and even downloaded the source and compiled it > Rick> myself, also with no effect. If and of you have any good ideas > Rick> of where to go with this next I would appreciate it. > > Hello Rick, > > Where are the headers/library installed? You can use --with-extra-inc > and --with-extra-lib to point there. fink installs them to /sw/lib and /sw/include i believe. > > JMarc > > PS: I changed the destination to the real xforms list. > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From Jean-Marc.Lasgouttes at inria.fr Fri Jan 27 16:46:09 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Fri, 27 Jan 2006 22:46:09 +0100 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X In-Reply-To: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> (jason cipriani's message of "Fri, 27 Jan 2006 11:36:07 -0500") References: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> Message-ID: >>>>> "jason" == jason cipriani writes: jason> fink installs them to /sw/lib and /sw/include i believe. so ./configure --with-extra-prefix=/sw should do the trick. JMarc From giulio.ballardin at ego-gw.it Thu Feb 16 04:39:46 2006 From: giulio.ballardin at ego-gw.it (Giulio Ballardin) Date: Thu, 16 Feb 2006 10:39:46 +0100 Subject: [XForms] Counter Message-ID: Hi, I'm using linux readhat 9.0 and Library 1.1. I built an user Interface with some counters. It appends that when a click only one time on the counter arrow, some time the number increases more than it should. It seems a problem of mouse sensibility or a problem of counter sensibility. How can I fixe this problem? thank you, Giulio From jt at toerring.de Thu Feb 16 05:58:49 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Thu, 16 Feb 2006 11:58:49 +0100 Subject: [XForms] Counter In-Reply-To: References: Message-ID: <20060216105849.GA24320@john.toerring.de> Hello Guilio, On Thu, Feb 16, 2006 at 10:39:46AM +0100, Giulio Ballardin wrote: > I'm using linux readhat 9.0 and Library 1.1. I built an user Interface > with some counters. It appends that when a click > only one time on the counter arrow, some time the number > increases more than it should. It seems a problem > of mouse sensibility or a problem of counter sensibility. > How can I fixe this problem? Unfortunately, your description of the problem is a bit vague. I also don't know what a "counter arrow" is - is that a button with an arrow drawn on it or something else? It probably would help if you could you post the code you are using, ideally as a complete, compilable program with everything thrown out except the part that exhibits the problem you encounter. Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From kro at grizzly.tphys.uni-linz.ac.at Wed Apr 19 23:00:34 2006 From: kro at grizzly.tphys.uni-linz.ac.at (Eckhard Krotscheck) Date: Thu, 20 Apr 2006 05:00:34 +0200 (CEST) Subject: [XForms] activity Message-ID: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> This is just to see if there is still any activity on the Xforms mailing list... From M.Holme at mmu.ac.uk Thu Apr 20 06:26:19 2006 From: M.Holme at mmu.ac.uk (Michael Holme) Date: Thu, 20 Apr 2006 11:26:19 +0100 Subject: [XForms] xforms for Mac OSX - a request please Message-ID: <6.1.0.6.0.20060420112117.01a7b700@patsy.doc.aca.mmu.ac.uk> Hello List, This is my first post (I think, I used to be an active xforms programmer years ago). I've been asked to port an xforms application from Linux to Mac OSX and the old site that contains the binaries of the various xforms libraries doesn't seem to be giving me much joy. Does anybody have a binary distribution of the xforms library that isn't too customised with regard to directories, etc that could be emailed to me, or I could download ? I'd appreciate any help. Thanks, Mike Holme Before acting on this email or opening any attachments you should read the Manchester Metropolitan Universitys' email disclaimer available on its website http://www.mmu.ac.uk/emaildisclaimer From Jean-Marc.Lasgouttes at inria.fr Thu Apr 20 08:59:24 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Thu, 20 Apr 2006 14:59:24 +0200 Subject: [XForms] activity In-Reply-To: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> (Eckhard Krotscheck's message of "Thu, 20 Apr 2006 05:00:34 +0200 (CEST)") References: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> Message-ID: >>>>> "Eckhard" == Eckhard Krotscheck writes: Eckhard> This is just to see if there is still any activity on the Eckhard> Xforms mailing list... There is not much activity unfortunately :( JMarc From jac4 at mindless.com Thu Apr 20 09:51:13 2006 From: jac4 at mindless.com (jason cipriani) Date: Thu, 20 Apr 2006 08:51:13 -0500 Subject: [XForms] xforms for Mac OSX - a request please Message-ID: <20060420135113.F10D983985@ws1-2a.us4.outblaze.com> I have built xforms succesfully on OSX. It's not native, of course, it still runs through the X server. The build process is straightforward, I don't recall running in to any issues. But I can send you the binaries later today or tomorrow if you'd like. Jason > ----- Original Message ----- > From: "Michael Holme" > To: xforms at bob.usuhs.mil > Subject: [XForms] xforms for Mac OSX - a request please > Date: Thu, 20 Apr 2006 11:26:19 +0100 > > > To subscribers of the xforms list > > Hello List, > > This is my first post (I think, I used to be an active xforms > programmer years ago). I've been asked to port an xforms application from > Linux to Mac OSX and the old site that contains the binaries of the various > xforms libraries doesn't seem to be giving me much joy. Does anybody have a > binary distribution of the xforms library that isn't too customised with > regard to directories, etc that could be emailed to me, or I could download ? > I'd appreciate any help. > > Thanks, > Mike Holme > > > Before acting on this email or opening any attachments you should read the > Manchester Metropolitan Universitys' email disclaimer available on its website > http://www.mmu.ac.uk/emaildisclaimer > > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From poenikatu at operamail.com Sun May 21 05:19:20 2006 From: poenikatu at operamail.com (Sian Mountbatten) Date: Sun, 21 May 2006 10:19:20 +0100 Subject: [XForms] Algol 68 binding Message-ID: <44703098.806@operamail.com> I have written a binding for the RS Algol 68 compiler (algol68toc) which I ported to Linux some years ago. Currently, I am converting the documentation to LaTeX and translating the examples to Algol 68 so that the resulting manual can be used to write GUI programs in Web 68 (the literate programming system for Algol 68). Because the source documentation is only available in HTML, I have LaTeXified that version and am in the process of converting it to full LaTeX. Of course, if the original documentation were available, because it is already in TeX form, it would be ease my task considerably. Does anybody know where the original documentation is and whether a copy can be obtained? Regards -- Sian Mountbatten From psg at debian.org Wed May 24 16:42:53 2006 From: psg at debian.org (Peter S Galbraith) Date: Wed, 24 May 2006 16:42:53 -0400 Subject: [XForms] Re: XForms: Documentation In-Reply-To: Message from Peter S Galbraith of "Tue, 08 Feb 2005 09:22:41 EST." <20050208142241.8683AAB07E@mixing.qc.dfo.ca> References: <20030908154838.51918.qmail@web13407.mail.yahoo.com> <20050208142241.8683AAB07E@mixing.qc.dfo.ca> Message-ID: <22216.1148503373@mixing.qc.dfo.ca> Hello T.C. (and the XForms list) Consider this the yearly nudge to release the sources of the XForms manual. Someone just emailed me today about them, so I'm sure they would still be appreciated and used by many. Thanks, Peter On 08 Feb 2005, I wrote: > On Sept 8th 2003, T.C. Zhao wrote: > > > Sorry for the delay and thanks for the info. GPL it is. > > > > I am currently travelling and will be back home end of September. Expect the > > free manual in October sometime. > > > > -TC > > --- Peter S Galbraith wrote: > > > To subscribers of the xforms list > > > > > > > > > T.C. Zhao wrote: > > > > > > > All I need to do is boot up my old linux box and recover the doc > > > > and send it. Will do this sometime in April (I've been travelling, > > > > and am sending this email from Tokyo). > > > > -TC > > > > > > Hi T.C., > > > > > > I really hate to keep nagging you like this. :-) > > > > > > You meant to release the sources of the XForms manual last April but > > > never got around to it. This is a reminder. Also, please avoid using > > > the GNU Free Documentation License (GFDL) since it not a free software > > > license and therefore cannot be included in the Debian distribution. > > > Using the GPL would be fine. > > Hello T.C., > > Consider this another nudge to release the sources of the XForms > manual. On the plus side, I didn't nag you in 2004. ;-) > > Please consider taking some time to actually do this now, while the > sources still exist, and before you get hit by a bus or something and > they are gone forever. The XForms sources have been free for a long > time now (Thanks!) and they really should have free documentation. > > Thanks, > -- > Peter S. Galbraith, Debian Developer > http://people.debian.org/~psg > GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E -- Peter S. Galbraith, Debian Developer http://people.debian.org/~psg GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E From jason.cipriani at gmail.com Wed May 31 20:38:21 2006 From: jason.cipriani at gmail.com (jason cipriani) Date: Wed, 31 May 2006 20:38:21 -0400 Subject: [XForms] Test, feel free to ignore this. Message-ID: Just a test (shiny new email address :), sorry to spam you all! Jason From juerg.hauser at krist.unibe.ch Thu Aug 24 02:43:48 2006 From: juerg.hauser at krist.unibe.ch (=?ISO-8859-15?Q?J=FCrg_Hauser?=) Date: Thu, 24 Aug 2006 08:43:48 +0200 Subject: [XForms] CygwinX maximize/restore for fixed size form Message-ID: <44ED4AA4.6070208@krist.unibe.ch> I'm porting an application using xforms to CygwinX (default installation). Although the application window is given fixed size (fl_show_form with place=FL_PLACE_CENTER) a maximize/restore button is displayed. In Linux (SUSE, RedHat) I only get the minimize and close buttons. Any help is appreciated. Regards, Juerg -- ____________________________ Universit?t Bern Laboratorium f?r chemische und mineralogische Kristallographie Dr. J?rg Hauser Freiestrasse 3 CH-3012 Bern Tel. +41 (0)31 631 43 90 Fax +41 (0)31 631 39 96 mailto:juerg.hauser at krist.unibe.ch http://www.krist.unibe.ch From gme at epr80.de Fri Oct 6 04:36:08 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 10:36:08 +0200 Subject: [XForms] Statically linked application Message-ID: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Hello, is there any information available on how to create a statically linked XForms program ? Best regards, Gerald From jt at toerring.de Fri Oct 6 06:56:25 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Fri, 6 Oct 2006 12:56:25 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006103608.0f0b0eea@emig4.heisch.inka.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Message-ID: <20061006105624.GA22692@john.toerring.de> On Fri, Oct 06, 2006 at 10:36:08AM +0200, Gerald Emig wrote: > is there any information available on how to create > a statically linked XForms program ? Since, as far as I can see, there's a static as well as a dynamic version of the XForms library installed per default you should mostly only need to use the appropriate compiler/linker flags to create a static program. E.g. for gcc you would need the option '-static'. But, of course, you also need static library versions of all other libraries involved to be installed on your system. On mine (Linux) all required libraries (libm, libpthread, libX11, libXpm) seem to exist in static versions except glibc, which I would have to install in order to be able to create a program without any external dependencies. On the other hand, the linker just complains a bit about the program still requiring at runtime the shared version of glib, but the resulting executable seems to work fine, and perhaps you can live with that since a glibc will probably exist on all systems you try to run the program on. Other- wise install a static version of glibc on the system you build the program on. Just don't be surprised about the size difference, a small test program that was statically linked - as far as possible, i.e. still dependent on the shared glic - is over 4 MB while, when linked without '-static', it's only about 10k.... Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From dadembro at rockwellcollins.com Fri Oct 6 08:26:19 2006 From: dadembro at rockwellcollins.com (dadembro at rockwellcollins.com) Date: Fri, 6 Oct 2006 08:26:19 -0400 Subject: [XForms] Statically linked application In-Reply-To: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Message-ID: An example compiler command I used many years ago. Some compiler options may have changed but it may point you in the right direction. gcc ?O ?o mm object_files ?Xlinker ?Bstatic ?lforms \ ?Xlinker ?Bdynamic ?L/usr/X11R6/lib ?lX11 ?lm ?lXpm ?lXext Good luck, ---d.dembrow Gerald Emig Sent by: To xforms-bounces at bo XFORMS list b.usuhs.mil cc Subject 10/06/2006 04:36 [XForms] Statically linked AM application To subscribers of the xforms list Hello, is there any information available on how to create a statically linked XForms program ? Best regards, Gerald _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Todd.Denniston at ssa.crane.navy.mil Fri Oct 6 09:04:23 2006 From: Todd.Denniston at ssa.crane.navy.mil (Todd Denniston) Date: Fri, 06 Oct 2006 08:04:23 -0500 Subject: [XForms] Statically linked application In-Reply-To: <20061006105624.GA22692@john.toerring.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> Message-ID: <45265457.2020909@ssa.crane.navy.mil> Jens Thoms Toerring wrote: > To subscribers of the xforms list > > On Fri, Oct 06, 2006 at 10:36:08AM +0200, Gerald Emig wrote: >> is there any information available on how to create >> a statically linked XForms program ? > > Since, as far as I can see, there's a static as well as a dynamic > version of the XForms library installed per default you should > mostly only need to use the appropriate compiler/linker flags to > create a static program. E.g. for gcc you would need the option > '-static'. But, of course, you also need static library versions > of all other libraries involved to be installed on your system. > On mine (Linux) all required libraries (libm, libpthread, libX11, > libXpm) seem to exist in static versions except glibc, which I > would have to install in order to be able to create a program > without any external dependencies. On the other hand, the linker > just complains a bit about the program still requiring at runtime > the shared version of glib, but the resulting executable seems to > work fine, and perhaps you can live with that since a glibc will > probably exist on all systems you try to run the program on. Other- > wise install a static version of glibc on the system you build the > program on. Just don't be surprised about the size difference, a > small test program that was statically linked - as far as possible, > i.e. still dependent on the shared glic - is over 4 MB while, when > linked without '-static', it's only about 10k.... > > Regards, Jens Although I have forgotten how, it is possible to specify how each individual library should be linked, i.e., it is possible to tell the compiler link libforms static and libc dynamic, thus you could build on a box with Xforms and put it on systems that don't have Xforms installed. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter From gme at epr80.de Fri Oct 6 09:23:43 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 15:23:43 +0200 Subject: [XForms] Statically linked application In-Reply-To: <45265457.2020909@ssa.crane.navy.mil> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> Message-ID: <20061006152343.52bffa7d@emig4.heisch.inka.de> Hello all, many thanks for the hints. What Todd writes is just what I want to do. Many regards, Gerald Todd Denniston wrote: > Although I have forgotten how, it is possible to specify how each > individual library should be linked, i.e., it is possible to tell the > compiler link libforms static and libc dynamic, thus you could build > on a box with Xforms and put it on systems that don't have Xforms > installed. > > -- > Todd Denniston From jt at toerring.de Fri Oct 6 10:29:09 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Fri, 6 Oct 2006 16:29:09 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006152343.52bffa7d@emig4.heisch.inka.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> <20061006152343.52bffa7d@emig4.heisch.inka.de> Message-ID: <20061006142909.GA24016@john.toerring.de> On Fri, Oct 06, 2006 at 03:23:43PM +0200, Gerald Emig wrote: > Todd Denniston wrote: > > > Although I have forgotten how, it is possible to specify how each > > individual library should be linked, i.e., it is possible to tell the > > compiler link libforms static and libc dynamic, thus you could build > > on a box with Xforms and put it on systems that don't have Xforms > > installed. > > many thanks for the hints. What Todd writes is just what I want to do. If you just want to link against the static version of the XForms library but want to use the shared versions of all the other libraries then just explicitely link against teh staic library libforms.a, e.g. gcc -o xformtest xformtest.c /usr/local/lib/libforms.a \ -L/usr/X11R6/lib -lX11 -lm (assuming the static version of the XForms library is installed in /usr/local/lib). Static libaries are just a collection of object files and when linking you can use them the same way as object files. Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From gme at epr80.de Fri Oct 6 12:52:41 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 18:52:41 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006142909.GA24016@john.toerring.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> <20061006152343.52bffa7d@emig4.heisch.inka.de> <20061006142909.GA24016@john.toerring.de> Message-ID: <20061006185241.79fb4487@emig4.heisch.inka.de> Hello Jens, your "solution" is just what I need, thank you very much. Why ? I want to give away software for free, and say to the users that they must have xforms installed. Many of them then complain... Gerald On Fri, 6 Oct 2006 16:29:09 +0200 Jens Thoms Toerring wrote: > > If you just want to link against the static version of the XForms > library but want to use the shared versions of all the other > libraries then just explicitely link against teh staic library > libforms.a, e.g. > > gcc -o xformtest xformtest.c /usr/local/lib/libforms.a \ > -L/usr/X11R6/lib -lX11 -lm > From Steve.Kerich at smiths-aerospace.com Thu Oct 12 16:56:45 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Thu, 12 Oct 2006 14:56:45 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> I am having a problem with a question box. I use them throughout my code but this one keeps putting up a question box that is so big it goes off the left side of the screen and buttons that are huge. The text in the label and on the buttons is also corrupted. I found out by trail and error that if I show an alert box before making the call to show_question, the question box is the correct size. Has anyone seen something like this happen before? The show_alert is doing something to XForms that is making the show_question box work. I guess like flushing a buffer, reseting a pointer, or something. Below is the snippet from the program with the show_alert that makes this work. This only happens with the show_question call in the program. Elsewhere it works fine. Any ideas would be greatly appreciated. fl_show_alert("Nothing to write", "Test.", "test.", 1); fl_show_question("Write archive CD with current track layout?", 1); ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From jason.cipriani at gmail.com Thu Oct 12 17:30:43 2006 From: jason.cipriani at gmail.com (jason cipriani) Date: Thu, 12 Oct 2006 17:30:43 -0400 Subject: [XForms] question box appears huge In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> References: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: I've never seen that happen before. XForms may be kind of sketchy, but lord knows I've put it to the test over the last few years and I honestly believe that the goodie boxes are stable and bug-free. Are you making sure you are calling fl_initialize when your application starts before doing any other xforms stuff? That aside, the cuplrit of odd problems like that is usually some memory-related issue elsewhere in the program. Perhaps some of your code is writing past the end of a buffer somewhere and coincidently corrupting certain xforms data structures. Showing the alert box may reinitialize some data, or may move things around in memory so that the other issue no longer affects the quesiton box. Sorry, I can't think of any other reason that would occur unless there's some weird X or window-manager related problem that is only affecting that one message box for some reason. Jason On 10/12/06, Kerich, Steve (AGTE) wrote: > To subscribers of the xforms list > > > I am having a problem with a question box. I use them throughout my code > but this one keeps putting up a question box that is so big it goes off > the left side of the screen and buttons that are huge. The text in the > label and on the buttons is also corrupted. I found out by trail and > error that if I show an alert box before making the call to > show_question, the question box is the correct size. Has anyone seen > something like this happen before? The show_alert is doing something to > XForms that is making the show_question box work. I guess like flushing > a buffer, reseting a pointer, or something. Below is the snippet from > the program with the show_alert that makes this work. This only happens > with the show_question call in the program. Elsewhere it works fine. > > Any ideas would be greatly appreciated. > > fl_show_alert("Nothing to write", > "Test.", > "test.", > 1); > > fl_show_question("Write archive CD with current track layout?", > 1); > > > ****************************************** > The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. > ****************************************** > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From Steve.Kerich at smiths-aerospace.com Fri Oct 13 12:25:14 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Fri, 13 Oct 2006 10:25:14 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7A8@cossmgmbx06.EMAIL.CORP.TLD> Hi Jason, Thanks for getting back with me so quickly. I really didn't know if there was anyone out there that would respond to a Xforms question. A totally agree with your suggestions about a buffer over run or a crazy pointer. There is another yes/no box that is consistently doing corrupted text. The buttons come up with stuff like "true" "true" for the selections which is pretty funny to see since they are both true but not to the user. Since this is only happening in two totally different area, I would have to agree that something is getting stepped on. I'm going to work backwards and look at all the data writes to see if I can How well do you understand how Xforms works under the hood? How would/could the alert box being shown fix the question box data structure? There must be something shared between them that is getting reinitialized. Update: I did some more testing and it seems that if I call the question box before making my finish subroutine call, the box is normal but if I make the same call as the first line after the call, the box is corrupted. It would help if I could understand how the Alert box was able to reinit the question box. Let me know what you think, Steve (\__/) (='.'=) (")_(") -----Original Message----- From: jason cipriani [mailto:jason.cipriani at gmail.com] Sent: Thursday, October 12, 2006 5:31 PM To: Kerich, Steve (AGTE) Cc: xforms at bob.usuhs.mil Subject: Re: [XForms] question box appears huge I've never seen that happen before. XForms may be kind of sketchy, but lord knows I've put it to the test over the last few years and I honestly believe that the goodie boxes are stable and bug-free. Are you making sure you are calling fl_initialize when your application starts before doing any other xforms stuff? That aside, the cuplrit of odd problems like that is usually some memory-related issue elsewhere in the program. Perhaps some of your code is writing past the end of a buffer somewhere and coincidently corrupting certain xforms data structures. Showing the alert box may reinitialize some data, or may move things around in memory so that the other issue no longer affects the quesiton box. Sorry, I can't think of any other reason that would occur unless there's some weird X or window-manager related problem that is only affecting that one message box for some reason. Jason On 10/12/06, Kerich, Steve (AGTE) wrote: > To subscribers of the xforms list > > > I am having a problem with a question box. I use them throughout my > code but this one keeps putting up a question box that is so big it > goes off the left side of the screen and buttons that are huge. The > text in the label and on the buttons is also corrupted. I found out by > trail and error that if I show an alert box before making the call to > show_question, the question box is the correct size. Has anyone seen > something like this happen before? The show_alert is doing something > to XForms that is making the show_question box work. I guess like > flushing a buffer, reseting a pointer, or something. Below is the > snippet from the program with the show_alert that makes this work. > This only happens with the show_question call in the program. Elsewhere it works fine. > > Any ideas would be greatly appreciated. > > fl_show_alert("Nothing to write", > "Test.", > "test.", > 1); > > fl_show_question("Write archive CD with current track layout?", > 1); > > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms List Archive: > http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > ______________________________________________________________________ CAUTION: This message was sent via the Public Internet and its authenticity cannot be guaranteed. ______________________________________________________ -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From Steve.Kerich at smiths-aerospace.com Mon Oct 16 09:43:43 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Mon, 16 Oct 2006 07:43:43 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7B1@cossmgmbx06.EMAIL.CORP.TLD> Hi I spend all day Friday trying investigating the big box issue and found out in the end that it was being caused by my local stack overflowing. I don't have any direct proof that this is the case but through trial and error I found that if I made more room on the stack that the box returned to normal size. I was surprised that a stack problem would manifest itself with Xforms putting up a box question box but I guess anything is possible. I'm just glad its fixed! Steve ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From Steve.Kerich at smiths-aerospace.com Wed Dec 13 16:17:41 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Wed, 13 Dec 2006 14:17:41 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA919@cossmgmbx06.EMAIL.CORP.TLD> Hi The problem I was having with the question box appearing with either the button text corrupted or the title bar text corrupted, or the box itself is many times the correct size. It was first thought to be a stack problem because I could move large arrays out of a local routine and the problem would go away. Through our system testing have found 4 separate places in 4 different executable images where a question box is not being displayed correctly. The one that was discovered this week is directly tied to the use of a slider function . As the slider is moved closer to the bottom of its range the problem with the question box gets worse. What I mean by worse is that when the slider is about 1/4 from the bottom the text on the question box when the cancel is selected is corrupted to true & true . If the slider is moved to close or at the bottom the range, the corruption gets worse and the size of the box is huge . The callback for all slider positions is the same but this problem only happens when the slider is put at the bottom. Strange Huh. The only box in all 4 executables that has a problem is the question box. No other box type. But it is every time it is used. We use the question box a lot and most times it works just fine. This interaction between the slider and the question box where the slider seems to directly affect the question box by its position does not make sense. The slider value is simply saved as it is changed and are small numbers. (see code snippet below). This display issue is a real problem for our customer because the operators really don't know what to do when this happens. The box still functions if you figure out what button to push! HELP! Does anyone have any ideas about this? It just seems like there is something going on with how the question box is executed and I can fix it in most cases (not the slider case) by clearing as much of my local stack as possible. I have .jpgs of what it looks like but can't post them but can send them if someone wants to see what I am talking about. Thanks Steve void VolumeSlider_Callback(FL_OBJECT *ob, long data) { char NewValue[256]; /* Set the volume level in the AudibleAlarmInfo Array for saving later */ AudibleAlarmInfo[bSelectedAlarm].Volume = (int)fl_get_slider_value(ob); /* Convert unsigned int to string and pass to text box */ sprintf(NewValue, "%d", AudibleAlarmInfo[bSelectedAlarm].Volume); fl_set_object_label(fd_AudibleAlarmGui->VolumeText, NewValue); #ifdef ALARM_DEBUG printf("New slider volume: %d for %s index %d data %d\n", AudibleAlarmInfo[bSelectedAlarm].Volume, AudibleAlarmInfo[bSelectedAlarm].AlarmType, bSelectedAlarm, (int)data); #endif /* Set the dirty bit indicating the data has changed */ bDirtyBit = TRUE; } ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From joel.moots at ngc.com Wed Dec 13 16:38:58 2006 From: joel.moots at ngc.com (Moots, Joel A. (IT Solutions/EOS)) Date: Wed, 13 Dec 2006 14:38:58 -0700 Subject: [XForms] corrupted text or big question box returns In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA919@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: <988FAD2E161E4347BFD7EC93A4D05904022F490E@xcgaz701.northgrum.com> If you remove the callback or comment out its body, does the problem go away? -joel -----Original Message----- From: xforms-bounces at bob.usuhs.mil [mailto:xforms-bounces at bob.usuhs.mil] On Behalf Of Kerich, Steve (AGTE) Sent: Wednesday, December 13, 2006 2:18 PM To: xforms at bob.usuhs.mil Subject: [XForms] corrupted text or big question box returns To subscribers of the xforms list Hi The problem I was having with the question box appearing with either the button text corrupted or the title bar text corrupted, or the box itself is many times the correct size. It was first thought to be a stack problem because I could move large arrays out of a local routine and the problem would go away. Through our system testing have found 4 separate places in 4 different executable images where a question box is not being displayed correctly. The one that was discovered this week is directly tied to the use of a slider function . As the slider is moved closer to the bottom of its range the problem with the question box gets worse. What I mean by worse is that when the slider is about 1/4 from the bottom the text on the question box when the cancel is selected is corrupted to true & true . If the slider is moved to close or at the bottom the range, the corruption gets worse and the size of the box is huge . The callback for all slider positions is the same but this problem only happens when the slider is put at the bottom. Strange Huh. The only box in all 4 executables that has a problem is the question box. No other box type. But it is every time it is used. We use the question box a lot and most times it works just fine. This interaction between the slider and the question box where the slider seems to directly affect the question box by its position does not make sense. The slider value is simply saved as it is changed and are small numbers. (see code snippet below). This display issue is a real problem for our customer because the operators really don't know what to do when this happens. The box still functions if you figure out what button to push! HELP! Does anyone have any ideas about this? It just seems like there is something going on with how the question box is executed and I can fix it in most cases (not the slider case) by clearing as much of my local stack as possible. I have .jpgs of what it looks like but can't post them but can send them if someone wants to see what I am talking about. Thanks Steve void VolumeSlider_Callback(FL_OBJECT *ob, long data) { char NewValue[256]; /* Set the volume level in the AudibleAlarmInfo Array for saving later */ AudibleAlarmInfo[bSelectedAlarm].Volume = (int)fl_get_slider_value(ob); /* Convert unsigned int to string and pass to text box */ sprintf(NewValue, "%d", AudibleAlarmInfo[bSelectedAlarm].Volume); fl_set_object_label(fd_AudibleAlarmGui->VolumeText, NewValue); #ifdef ALARM_DEBUG printf("New slider volume: %d for %s index %d data %d\n", AudibleAlarmInfo[bSelectedAlarm].Volume, AudibleAlarmInfo[bSelectedAlarm].AlarmType, bSelectedAlarm, (int)data); #endif /* Set the dirty bit indicating the data has changed */ bDirtyBit = TRUE; } ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Steve.Kerich at smiths-aerospace.com Wed Dec 20 15:15:13 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Wed, 20 Dec 2006 13:15:13 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA942@cossmgmbx06.EMAIL.CORP.TLD> Thanks for responding Joel. Sorry for the delay in getting back. If I don't call the question box (fl_show_question("Do you want to save the new volume level(s)?",0)) ), all other boxes appear just fine. Its only the question box that is displayed either as a huge size or the text in the buttons are corrupted. I was able to reduce the slider-question box program down to just two elements, the slider, a cancel button which calls the question box, and the problem still occurs. Really weird. But now it is narrowed down to a very few lines of code and is repeatable over and over. The code does nothing but read the value from the slider. No other processing. This is why this is a great test case. I am hoping that this is the same problem as I am seeing with the other 2 executables that do this too but don't have slider boxes. One has a browser window and the other has a tabbed form open. It make this problem even stranger it depends upon the position of the slider whether the question box appears as a huge box, corrupted text on yes/no buttons, or normally. Any value from 60 to 100 allows the box to be displayed normally. There does not seem to be any pattern to it and I have tried this on 3 different machines running Solaris 8 and the same thing happens BUT the numbers it happens with change. Weird again. I can't debug XForms source so I need help from the community. I have zipped up the source, make, binary etc to make my test program which will cause this problem. I just need someone to take a little time to look into how this can be happening to the question box. If someone would like me to send it to them with some .jpgs of the problem, I will right away. It just freaks the military operators out when a huge box that goes off the right side of the screen shows up or the buttons don't have text that makes sense. Thanks Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ From Steve.Kerich at smiths-aerospace.com Thu Dec 28 13:24:13 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Thu, 28 Dec 2006 11:24:13 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA961@cossmgmbx06.EMAIL.CORP.TLD> Hi I have been doing more testing and have found with my test program that if I call fl_show_alert before fl_show_question, the corruption of the question box goes away. I have noticed this fix also works for another executable that is having trouble with the question box. If I display an alert just before the question box, the problem goes away. I haven't tried it with the other 2 images that are showing the same/similar problem. There must be some XForms connection between the two. My test program is very very small so I don't believe that there are pointer or memory stack issues involved. Jens tried out my test program on a Linux box using gcc but was unable to reproduce the problem I have been seeing. So I guess that is a clue too. That it has something to so with Solaris or the compiler. The compiler used is SUNspro instead of gcc. I do not know why this compiler was picked in the beginning. Because this problem is spread through several of our applications, I really need to find a solution. Is there anyone who has debug ideas or could help with this? Any help would be appreciated. Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ From joel.moots at ngc.com Thu Dec 28 13:58:33 2006 From: joel.moots at ngc.com (Moots, Joel A. (IT Solutions/EOS)) Date: Thu, 28 Dec 2006 11:58:33 -0700 Subject: [XForms] corrupted text or big question box returns In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA961@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: <988FAD2E161E4347BFD7EC93A4D05904022F4B69@xcgaz701.northgrum.com> Since the program is so small, can you find the smallest amount of code needed for you to reproduce the problem and then paste just the parts you wrote to this list? E.g., if you don't need a slider callback to reproduce the problem, get rid of it; if you need the callback but don't need to retrieve the value, get rid of it; etc. If that's still rather large, can you tar/gzip just the source files with no extension on the filename and email to me. TIA, -joel -----Original Message----- From: xforms-bounces at bob.usuhs.mil [mailto:xforms-bounces at bob.usuhs.mil] On Behalf Of Kerich, Steve (AGTE) Sent: Thursday, December 28, 2006 11:24 AM To: xforms at bob.usuhs.mil Subject: [XForms] corrupted text or big question box returns To subscribers of the xforms list Hi I have been doing more testing and have found with my test program that if I call fl_show_alert before fl_show_question, the corruption of the question box goes away. I have noticed this fix also works for another executable that is having trouble with the question box. If I display an alert just before the question box, the problem goes away. I haven't tried it with the other 2 images that are showing the same/similar problem. There must be some XForms connection between the two. My test program is very very small so I don't believe that there are pointer or memory stack issues involved. Jens tried out my test program on a Linux box using gcc but was unable to reproduce the problem I have been seeing. So I guess that is a clue too. That it has something to so with Solaris or the compiler. The compiler used is SUNspro instead of gcc. I do not know why this compiler was picked in the beginning. Because this problem is spread through several of our applications, I really need to find a solution. Is there anyone who has debug ideas or could help with this? Any help would be appreciated. Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Jean-Marc.Lasgouttes at inria.fr Fri Jan 27 10:29:06 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Fri, 27 Jan 2006 16:29:06 +0100 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X In-Reply-To: <73605DC8-D5F9-46A5-B302-7783D84E9176@wooster.edu> (Rick Drushal's message of "Fri, 27 Jan 2006 01:29:36 -0500") References: <73605DC8-D5F9-46A5-B302-7783D84E9176@wooster.edu> Message-ID: >>>>> "Rick" == Rick Drushal writes: Rick> I am trying to build the xforms libraries on my OS X Tiger Rick> system. I only need to build because I only need access to the Rick> .h and .a files. When i run :./configure it balks because it Rick> "Cannot find libjpeg". I have installed this library via fink, Rick> with no success and even downloaded the source and compiled it Rick> myself, also with no effect. If and of you have any good ideas Rick> of where to go with this next I would appreciate it. Hello Rick, Where are the headers/library installed? You can use --with-extra-inc and --with-extra-lib to point there. JMarc PS: I changed the destination to the real xforms list. From jac4 at mindless.com Fri Jan 27 11:36:07 2006 From: jac4 at mindless.com (jason cipriani) Date: Fri, 27 Jan 2006 11:36:07 -0500 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X Message-ID: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> > To subscribers of the xforms list > > >>>>> "Rick" == Rick Drushal writes: > > Rick> I am trying to build the xforms libraries on my OS X Tiger > Rick> system. I only need to build because I only need access to the > Rick> .h and .a files. When i run :./configure it balks because it > Rick> "Cannot find libjpeg". I have installed this library via fink, > Rick> with no success and even downloaded the source and compiled it > Rick> myself, also with no effect. If and of you have any good ideas > Rick> of where to go with this next I would appreciate it. > > Hello Rick, > > Where are the headers/library installed? You can use --with-extra-inc > and --with-extra-lib to point there. fink installs them to /sw/lib and /sw/include i believe. > > JMarc > > PS: I changed the destination to the real xforms list. > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From Jean-Marc.Lasgouttes at inria.fr Fri Jan 27 16:46:09 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Fri, 27 Jan 2006 22:46:09 +0100 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X In-Reply-To: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> (jason cipriani's message of "Fri, 27 Jan 2006 11:36:07 -0500") References: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> Message-ID: >>>>> "jason" == jason cipriani writes: jason> fink installs them to /sw/lib and /sw/include i believe. so ./configure --with-extra-prefix=/sw should do the trick. JMarc From giulio.ballardin at ego-gw.it Thu Feb 16 04:39:46 2006 From: giulio.ballardin at ego-gw.it (Giulio Ballardin) Date: Thu, 16 Feb 2006 10:39:46 +0100 Subject: [XForms] Counter Message-ID: Hi, I'm using linux readhat 9.0 and Library 1.1. I built an user Interface with some counters. It appends that when a click only one time on the counter arrow, some time the number increases more than it should. It seems a problem of mouse sensibility or a problem of counter sensibility. How can I fixe this problem? thank you, Giulio From jt at toerring.de Thu Feb 16 05:58:49 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Thu, 16 Feb 2006 11:58:49 +0100 Subject: [XForms] Counter In-Reply-To: References: Message-ID: <20060216105849.GA24320@john.toerring.de> Hello Guilio, On Thu, Feb 16, 2006 at 10:39:46AM +0100, Giulio Ballardin wrote: > I'm using linux readhat 9.0 and Library 1.1. I built an user Interface > with some counters. It appends that when a click > only one time on the counter arrow, some time the number > increases more than it should. It seems a problem > of mouse sensibility or a problem of counter sensibility. > How can I fixe this problem? Unfortunately, your description of the problem is a bit vague. I also don't know what a "counter arrow" is - is that a button with an arrow drawn on it or something else? It probably would help if you could you post the code you are using, ideally as a complete, compilable program with everything thrown out except the part that exhibits the problem you encounter. Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From kro at grizzly.tphys.uni-linz.ac.at Wed Apr 19 23:00:34 2006 From: kro at grizzly.tphys.uni-linz.ac.at (Eckhard Krotscheck) Date: Thu, 20 Apr 2006 05:00:34 +0200 (CEST) Subject: [XForms] activity Message-ID: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> This is just to see if there is still any activity on the Xforms mailing list... From M.Holme at mmu.ac.uk Thu Apr 20 06:26:19 2006 From: M.Holme at mmu.ac.uk (Michael Holme) Date: Thu, 20 Apr 2006 11:26:19 +0100 Subject: [XForms] xforms for Mac OSX - a request please Message-ID: <6.1.0.6.0.20060420112117.01a7b700@patsy.doc.aca.mmu.ac.uk> Hello List, This is my first post (I think, I used to be an active xforms programmer years ago). I've been asked to port an xforms application from Linux to Mac OSX and the old site that contains the binaries of the various xforms libraries doesn't seem to be giving me much joy. Does anybody have a binary distribution of the xforms library that isn't too customised with regard to directories, etc that could be emailed to me, or I could download ? I'd appreciate any help. Thanks, Mike Holme Before acting on this email or opening any attachments you should read the Manchester Metropolitan Universitys' email disclaimer available on its website http://www.mmu.ac.uk/emaildisclaimer From Jean-Marc.Lasgouttes at inria.fr Thu Apr 20 08:59:24 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Thu, 20 Apr 2006 14:59:24 +0200 Subject: [XForms] activity In-Reply-To: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> (Eckhard Krotscheck's message of "Thu, 20 Apr 2006 05:00:34 +0200 (CEST)") References: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> Message-ID: >>>>> "Eckhard" == Eckhard Krotscheck writes: Eckhard> This is just to see if there is still any activity on the Eckhard> Xforms mailing list... There is not much activity unfortunately :( JMarc From jac4 at mindless.com Thu Apr 20 09:51:13 2006 From: jac4 at mindless.com (jason cipriani) Date: Thu, 20 Apr 2006 08:51:13 -0500 Subject: [XForms] xforms for Mac OSX - a request please Message-ID: <20060420135113.F10D983985@ws1-2a.us4.outblaze.com> I have built xforms succesfully on OSX. It's not native, of course, it still runs through the X server. The build process is straightforward, I don't recall running in to any issues. But I can send you the binaries later today or tomorrow if you'd like. Jason > ----- Original Message ----- > From: "Michael Holme" > To: xforms at bob.usuhs.mil > Subject: [XForms] xforms for Mac OSX - a request please > Date: Thu, 20 Apr 2006 11:26:19 +0100 > > > To subscribers of the xforms list > > Hello List, > > This is my first post (I think, I used to be an active xforms > programmer years ago). I've been asked to port an xforms application from > Linux to Mac OSX and the old site that contains the binaries of the various > xforms libraries doesn't seem to be giving me much joy. Does anybody have a > binary distribution of the xforms library that isn't too customised with > regard to directories, etc that could be emailed to me, or I could download ? > I'd appreciate any help. > > Thanks, > Mike Holme > > > Before acting on this email or opening any attachments you should read the > Manchester Metropolitan Universitys' email disclaimer available on its website > http://www.mmu.ac.uk/emaildisclaimer > > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From poenikatu at operamail.com Sun May 21 05:19:20 2006 From: poenikatu at operamail.com (Sian Mountbatten) Date: Sun, 21 May 2006 10:19:20 +0100 Subject: [XForms] Algol 68 binding Message-ID: <44703098.806@operamail.com> I have written a binding for the RS Algol 68 compiler (algol68toc) which I ported to Linux some years ago. Currently, I am converting the documentation to LaTeX and translating the examples to Algol 68 so that the resulting manual can be used to write GUI programs in Web 68 (the literate programming system for Algol 68). Because the source documentation is only available in HTML, I have LaTeXified that version and am in the process of converting it to full LaTeX. Of course, if the original documentation were available, because it is already in TeX form, it would be ease my task considerably. Does anybody know where the original documentation is and whether a copy can be obtained? Regards -- Sian Mountbatten From psg at debian.org Wed May 24 16:42:53 2006 From: psg at debian.org (Peter S Galbraith) Date: Wed, 24 May 2006 16:42:53 -0400 Subject: [XForms] Re: XForms: Documentation In-Reply-To: Message from Peter S Galbraith of "Tue, 08 Feb 2005 09:22:41 EST." <20050208142241.8683AAB07E@mixing.qc.dfo.ca> References: <20030908154838.51918.qmail@web13407.mail.yahoo.com> <20050208142241.8683AAB07E@mixing.qc.dfo.ca> Message-ID: <22216.1148503373@mixing.qc.dfo.ca> Hello T.C. (and the XForms list) Consider this the yearly nudge to release the sources of the XForms manual. Someone just emailed me today about them, so I'm sure they would still be appreciated and used by many. Thanks, Peter On 08 Feb 2005, I wrote: > On Sept 8th 2003, T.C. Zhao wrote: > > > Sorry for the delay and thanks for the info. GPL it is. > > > > I am currently travelling and will be back home end of September. Expect the > > free manual in October sometime. > > > > -TC > > --- Peter S Galbraith wrote: > > > To subscribers of the xforms list > > > > > > > > > T.C. Zhao wrote: > > > > > > > All I need to do is boot up my old linux box and recover the doc > > > > and send it. Will do this sometime in April (I've been travelling, > > > > and am sending this email from Tokyo). > > > > -TC > > > > > > Hi T.C., > > > > > > I really hate to keep nagging you like this. :-) > > > > > > You meant to release the sources of the XForms manual last April but > > > never got around to it. This is a reminder. Also, please avoid using > > > the GNU Free Documentation License (GFDL) since it not a free software > > > license and therefore cannot be included in the Debian distribution. > > > Using the GPL would be fine. > > Hello T.C., > > Consider this another nudge to release the sources of the XForms > manual. On the plus side, I didn't nag you in 2004. ;-) > > Please consider taking some time to actually do this now, while the > sources still exist, and before you get hit by a bus or something and > they are gone forever. The XForms sources have been free for a long > time now (Thanks!) and they really should have free documentation. > > Thanks, > -- > Peter S. Galbraith, Debian Developer > http://people.debian.org/~psg > GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E -- Peter S. Galbraith, Debian Developer http://people.debian.org/~psg GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E From jason.cipriani at gmail.com Wed May 31 20:38:21 2006 From: jason.cipriani at gmail.com (jason cipriani) Date: Wed, 31 May 2006 20:38:21 -0400 Subject: [XForms] Test, feel free to ignore this. Message-ID: Just a test (shiny new email address :), sorry to spam you all! Jason From juerg.hauser at krist.unibe.ch Thu Aug 24 02:43:48 2006 From: juerg.hauser at krist.unibe.ch (=?ISO-8859-15?Q?J=FCrg_Hauser?=) Date: Thu, 24 Aug 2006 08:43:48 +0200 Subject: [XForms] CygwinX maximize/restore for fixed size form Message-ID: <44ED4AA4.6070208@krist.unibe.ch> I'm porting an application using xforms to CygwinX (default installation). Although the application window is given fixed size (fl_show_form with place=FL_PLACE_CENTER) a maximize/restore button is displayed. In Linux (SUSE, RedHat) I only get the minimize and close buttons. Any help is appreciated. Regards, Juerg -- ____________________________ Universit?t Bern Laboratorium f?r chemische und mineralogische Kristallographie Dr. J?rg Hauser Freiestrasse 3 CH-3012 Bern Tel. +41 (0)31 631 43 90 Fax +41 (0)31 631 39 96 mailto:juerg.hauser at krist.unibe.ch http://www.krist.unibe.ch From gme at epr80.de Fri Oct 6 04:36:08 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 10:36:08 +0200 Subject: [XForms] Statically linked application Message-ID: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Hello, is there any information available on how to create a statically linked XForms program ? Best regards, Gerald From jt at toerring.de Fri Oct 6 06:56:25 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Fri, 6 Oct 2006 12:56:25 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006103608.0f0b0eea@emig4.heisch.inka.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Message-ID: <20061006105624.GA22692@john.toerring.de> On Fri, Oct 06, 2006 at 10:36:08AM +0200, Gerald Emig wrote: > is there any information available on how to create > a statically linked XForms program ? Since, as far as I can see, there's a static as well as a dynamic version of the XForms library installed per default you should mostly only need to use the appropriate compiler/linker flags to create a static program. E.g. for gcc you would need the option '-static'. But, of course, you also need static library versions of all other libraries involved to be installed on your system. On mine (Linux) all required libraries (libm, libpthread, libX11, libXpm) seem to exist in static versions except glibc, which I would have to install in order to be able to create a program without any external dependencies. On the other hand, the linker just complains a bit about the program still requiring at runtime the shared version of glib, but the resulting executable seems to work fine, and perhaps you can live with that since a glibc will probably exist on all systems you try to run the program on. Other- wise install a static version of glibc on the system you build the program on. Just don't be surprised about the size difference, a small test program that was statically linked - as far as possible, i.e. still dependent on the shared glic - is over 4 MB while, when linked without '-static', it's only about 10k.... Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From dadembro at rockwellcollins.com Fri Oct 6 08:26:19 2006 From: dadembro at rockwellcollins.com (dadembro at rockwellcollins.com) Date: Fri, 6 Oct 2006 08:26:19 -0400 Subject: [XForms] Statically linked application In-Reply-To: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Message-ID: An example compiler command I used many years ago. Some compiler options may have changed but it may point you in the right direction. gcc ?O ?o mm object_files ?Xlinker ?Bstatic ?lforms \ ?Xlinker ?Bdynamic ?L/usr/X11R6/lib ?lX11 ?lm ?lXpm ?lXext Good luck, ---d.dembrow Gerald Emig Sent by: To xforms-bounces at bo XFORMS list b.usuhs.mil cc Subject 10/06/2006 04:36 [XForms] Statically linked AM application To subscribers of the xforms list Hello, is there any information available on how to create a statically linked XForms program ? Best regards, Gerald _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Todd.Denniston at ssa.crane.navy.mil Fri Oct 6 09:04:23 2006 From: Todd.Denniston at ssa.crane.navy.mil (Todd Denniston) Date: Fri, 06 Oct 2006 08:04:23 -0500 Subject: [XForms] Statically linked application In-Reply-To: <20061006105624.GA22692@john.toerring.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> Message-ID: <45265457.2020909@ssa.crane.navy.mil> Jens Thoms Toerring wrote: > To subscribers of the xforms list > > On Fri, Oct 06, 2006 at 10:36:08AM +0200, Gerald Emig wrote: >> is there any information available on how to create >> a statically linked XForms program ? > > Since, as far as I can see, there's a static as well as a dynamic > version of the XForms library installed per default you should > mostly only need to use the appropriate compiler/linker flags to > create a static program. E.g. for gcc you would need the option > '-static'. But, of course, you also need static library versions > of all other libraries involved to be installed on your system. > On mine (Linux) all required libraries (libm, libpthread, libX11, > libXpm) seem to exist in static versions except glibc, which I > would have to install in order to be able to create a program > without any external dependencies. On the other hand, the linker > just complains a bit about the program still requiring at runtime > the shared version of glib, but the resulting executable seems to > work fine, and perhaps you can live with that since a glibc will > probably exist on all systems you try to run the program on. Other- > wise install a static version of glibc on the system you build the > program on. Just don't be surprised about the size difference, a > small test program that was statically linked - as far as possible, > i.e. still dependent on the shared glic - is over 4 MB while, when > linked without '-static', it's only about 10k.... > > Regards, Jens Although I have forgotten how, it is possible to specify how each individual library should be linked, i.e., it is possible to tell the compiler link libforms static and libc dynamic, thus you could build on a box with Xforms and put it on systems that don't have Xforms installed. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter From gme at epr80.de Fri Oct 6 09:23:43 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 15:23:43 +0200 Subject: [XForms] Statically linked application In-Reply-To: <45265457.2020909@ssa.crane.navy.mil> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> Message-ID: <20061006152343.52bffa7d@emig4.heisch.inka.de> Hello all, many thanks for the hints. What Todd writes is just what I want to do. Many regards, Gerald Todd Denniston wrote: > Although I have forgotten how, it is possible to specify how each > individual library should be linked, i.e., it is possible to tell the > compiler link libforms static and libc dynamic, thus you could build > on a box with Xforms and put it on systems that don't have Xforms > installed. > > -- > Todd Denniston From jt at toerring.de Fri Oct 6 10:29:09 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Fri, 6 Oct 2006 16:29:09 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006152343.52bffa7d@emig4.heisch.inka.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> <20061006152343.52bffa7d@emig4.heisch.inka.de> Message-ID: <20061006142909.GA24016@john.toerring.de> On Fri, Oct 06, 2006 at 03:23:43PM +0200, Gerald Emig wrote: > Todd Denniston wrote: > > > Although I have forgotten how, it is possible to specify how each > > individual library should be linked, i.e., it is possible to tell the > > compiler link libforms static and libc dynamic, thus you could build > > on a box with Xforms and put it on systems that don't have Xforms > > installed. > > many thanks for the hints. What Todd writes is just what I want to do. If you just want to link against the static version of the XForms library but want to use the shared versions of all the other libraries then just explicitely link against teh staic library libforms.a, e.g. gcc -o xformtest xformtest.c /usr/local/lib/libforms.a \ -L/usr/X11R6/lib -lX11 -lm (assuming the static version of the XForms library is installed in /usr/local/lib). Static libaries are just a collection of object files and when linking you can use them the same way as object files. Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From gme at epr80.de Fri Oct 6 12:52:41 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 18:52:41 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006142909.GA24016@john.toerring.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> <20061006152343.52bffa7d@emig4.heisch.inka.de> <20061006142909.GA24016@john.toerring.de> Message-ID: <20061006185241.79fb4487@emig4.heisch.inka.de> Hello Jens, your "solution" is just what I need, thank you very much. Why ? I want to give away software for free, and say to the users that they must have xforms installed. Many of them then complain... Gerald On Fri, 6 Oct 2006 16:29:09 +0200 Jens Thoms Toerring wrote: > > If you just want to link against the static version of the XForms > library but want to use the shared versions of all the other > libraries then just explicitely link against teh staic library > libforms.a, e.g. > > gcc -o xformtest xformtest.c /usr/local/lib/libforms.a \ > -L/usr/X11R6/lib -lX11 -lm > From Steve.Kerich at smiths-aerospace.com Thu Oct 12 16:56:45 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Thu, 12 Oct 2006 14:56:45 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> I am having a problem with a question box. I use them throughout my code but this one keeps putting up a question box that is so big it goes off the left side of the screen and buttons that are huge. The text in the label and on the buttons is also corrupted. I found out by trail and error that if I show an alert box before making the call to show_question, the question box is the correct size. Has anyone seen something like this happen before? The show_alert is doing something to XForms that is making the show_question box work. I guess like flushing a buffer, reseting a pointer, or something. Below is the snippet from the program with the show_alert that makes this work. This only happens with the show_question call in the program. Elsewhere it works fine. Any ideas would be greatly appreciated. fl_show_alert("Nothing to write", "Test.", "test.", 1); fl_show_question("Write archive CD with current track layout?", 1); ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From jason.cipriani at gmail.com Thu Oct 12 17:30:43 2006 From: jason.cipriani at gmail.com (jason cipriani) Date: Thu, 12 Oct 2006 17:30:43 -0400 Subject: [XForms] question box appears huge In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> References: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: I've never seen that happen before. XForms may be kind of sketchy, but lord knows I've put it to the test over the last few years and I honestly believe that the goodie boxes are stable and bug-free. Are you making sure you are calling fl_initialize when your application starts before doing any other xforms stuff? That aside, the cuplrit of odd problems like that is usually some memory-related issue elsewhere in the program. Perhaps some of your code is writing past the end of a buffer somewhere and coincidently corrupting certain xforms data structures. Showing the alert box may reinitialize some data, or may move things around in memory so that the other issue no longer affects the quesiton box. Sorry, I can't think of any other reason that would occur unless there's some weird X or window-manager related problem that is only affecting that one message box for some reason. Jason On 10/12/06, Kerich, Steve (AGTE) wrote: > To subscribers of the xforms list > > > I am having a problem with a question box. I use them throughout my code > but this one keeps putting up a question box that is so big it goes off > the left side of the screen and buttons that are huge. The text in the > label and on the buttons is also corrupted. I found out by trail and > error that if I show an alert box before making the call to > show_question, the question box is the correct size. Has anyone seen > something like this happen before? The show_alert is doing something to > XForms that is making the show_question box work. I guess like flushing > a buffer, reseting a pointer, or something. Below is the snippet from > the program with the show_alert that makes this work. This only happens > with the show_question call in the program. Elsewhere it works fine. > > Any ideas would be greatly appreciated. > > fl_show_alert("Nothing to write", > "Test.", > "test.", > 1); > > fl_show_question("Write archive CD with current track layout?", > 1); > > > ****************************************** > The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. > ****************************************** > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From Steve.Kerich at smiths-aerospace.com Fri Oct 13 12:25:14 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Fri, 13 Oct 2006 10:25:14 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7A8@cossmgmbx06.EMAIL.CORP.TLD> Hi Jason, Thanks for getting back with me so quickly. I really didn't know if there was anyone out there that would respond to a Xforms question. A totally agree with your suggestions about a buffer over run or a crazy pointer. There is another yes/no box that is consistently doing corrupted text. The buttons come up with stuff like "true" "true" for the selections which is pretty funny to see since they are both true but not to the user. Since this is only happening in two totally different area, I would have to agree that something is getting stepped on. I'm going to work backwards and look at all the data writes to see if I can How well do you understand how Xforms works under the hood? How would/could the alert box being shown fix the question box data structure? There must be something shared between them that is getting reinitialized. Update: I did some more testing and it seems that if I call the question box before making my finish subroutine call, the box is normal but if I make the same call as the first line after the call, the box is corrupted. It would help if I could understand how the Alert box was able to reinit the question box. Let me know what you think, Steve (\__/) (='.'=) (")_(") -----Original Message----- From: jason cipriani [mailto:jason.cipriani at gmail.com] Sent: Thursday, October 12, 2006 5:31 PM To: Kerich, Steve (AGTE) Cc: xforms at bob.usuhs.mil Subject: Re: [XForms] question box appears huge I've never seen that happen before. XForms may be kind of sketchy, but lord knows I've put it to the test over the last few years and I honestly believe that the goodie boxes are stable and bug-free. Are you making sure you are calling fl_initialize when your application starts before doing any other xforms stuff? That aside, the cuplrit of odd problems like that is usually some memory-related issue elsewhere in the program. Perhaps some of your code is writing past the end of a buffer somewhere and coincidently corrupting certain xforms data structures. Showing the alert box may reinitialize some data, or may move things around in memory so that the other issue no longer affects the quesiton box. Sorry, I can't think of any other reason that would occur unless there's some weird X or window-manager related problem that is only affecting that one message box for some reason. Jason On 10/12/06, Kerich, Steve (AGTE) wrote: > To subscribers of the xforms list > > > I am having a problem with a question box. I use them throughout my > code but this one keeps putting up a question box that is so big it > goes off the left side of the screen and buttons that are huge. The > text in the label and on the buttons is also corrupted. I found out by > trail and error that if I show an alert box before making the call to > show_question, the question box is the correct size. Has anyone seen > something like this happen before? The show_alert is doing something > to XForms that is making the show_question box work. I guess like > flushing a buffer, reseting a pointer, or something. Below is the > snippet from the program with the show_alert that makes this work. > This only happens with the show_question call in the program. Elsewhere it works fine. > > Any ideas would be greatly appreciated. > > fl_show_alert("Nothing to write", > "Test.", > "test.", > 1); > > fl_show_question("Write archive CD with current track layout?", > 1); > > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms List Archive: > http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > ______________________________________________________________________ CAUTION: This message was sent via the Public Internet and its authenticity cannot be guaranteed. ______________________________________________________ -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From Steve.Kerich at smiths-aerospace.com Mon Oct 16 09:43:43 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Mon, 16 Oct 2006 07:43:43 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7B1@cossmgmbx06.EMAIL.CORP.TLD> Hi I spend all day Friday trying investigating the big box issue and found out in the end that it was being caused by my local stack overflowing. I don't have any direct proof that this is the case but through trial and error I found that if I made more room on the stack that the box returned to normal size. I was surprised that a stack problem would manifest itself with Xforms putting up a box question box but I guess anything is possible. I'm just glad its fixed! Steve ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From Steve.Kerich at smiths-aerospace.com Wed Dec 13 16:17:41 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Wed, 13 Dec 2006 14:17:41 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA919@cossmgmbx06.EMAIL.CORP.TLD> Hi The problem I was having with the question box appearing with either the button text corrupted or the title bar text corrupted, or the box itself is many times the correct size. It was first thought to be a stack problem because I could move large arrays out of a local routine and the problem would go away. Through our system testing have found 4 separate places in 4 different executable images where a question box is not being displayed correctly. The one that was discovered this week is directly tied to the use of a slider function . As the slider is moved closer to the bottom of its range the problem with the question box gets worse. What I mean by worse is that when the slider is about 1/4 from the bottom the text on the question box when the cancel is selected is corrupted to true & true . If the slider is moved to close or at the bottom the range, the corruption gets worse and the size of the box is huge . The callback for all slider positions is the same but this problem only happens when the slider is put at the bottom. Strange Huh. The only box in all 4 executables that has a problem is the question box. No other box type. But it is every time it is used. We use the question box a lot and most times it works just fine. This interaction between the slider and the question box where the slider seems to directly affect the question box by its position does not make sense. The slider value is simply saved as it is changed and are small numbers. (see code snippet below). This display issue is a real problem for our customer because the operators really don't know what to do when this happens. The box still functions if you figure out what button to push! HELP! Does anyone have any ideas about this? It just seems like there is something going on with how the question box is executed and I can fix it in most cases (not the slider case) by clearing as much of my local stack as possible. I have .jpgs of what it looks like but can't post them but can send them if someone wants to see what I am talking about. Thanks Steve void VolumeSlider_Callback(FL_OBJECT *ob, long data) { char NewValue[256]; /* Set the volume level in the AudibleAlarmInfo Array for saving later */ AudibleAlarmInfo[bSelectedAlarm].Volume = (int)fl_get_slider_value(ob); /* Convert unsigned int to string and pass to text box */ sprintf(NewValue, "%d", AudibleAlarmInfo[bSelectedAlarm].Volume); fl_set_object_label(fd_AudibleAlarmGui->VolumeText, NewValue); #ifdef ALARM_DEBUG printf("New slider volume: %d for %s index %d data %d\n", AudibleAlarmInfo[bSelectedAlarm].Volume, AudibleAlarmInfo[bSelectedAlarm].AlarmType, bSelectedAlarm, (int)data); #endif /* Set the dirty bit indicating the data has changed */ bDirtyBit = TRUE; } ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From joel.moots at ngc.com Wed Dec 13 16:38:58 2006 From: joel.moots at ngc.com (Moots, Joel A. (IT Solutions/EOS)) Date: Wed, 13 Dec 2006 14:38:58 -0700 Subject: [XForms] corrupted text or big question box returns In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA919@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: <988FAD2E161E4347BFD7EC93A4D05904022F490E@xcgaz701.northgrum.com> If you remove the callback or comment out its body, does the problem go away? -joel -----Original Message----- From: xforms-bounces at bob.usuhs.mil [mailto:xforms-bounces at bob.usuhs.mil] On Behalf Of Kerich, Steve (AGTE) Sent: Wednesday, December 13, 2006 2:18 PM To: xforms at bob.usuhs.mil Subject: [XForms] corrupted text or big question box returns To subscribers of the xforms list Hi The problem I was having with the question box appearing with either the button text corrupted or the title bar text corrupted, or the box itself is many times the correct size. It was first thought to be a stack problem because I could move large arrays out of a local routine and the problem would go away. Through our system testing have found 4 separate places in 4 different executable images where a question box is not being displayed correctly. The one that was discovered this week is directly tied to the use of a slider function . As the slider is moved closer to the bottom of its range the problem with the question box gets worse. What I mean by worse is that when the slider is about 1/4 from the bottom the text on the question box when the cancel is selected is corrupted to true & true . If the slider is moved to close or at the bottom the range, the corruption gets worse and the size of the box is huge . The callback for all slider positions is the same but this problem only happens when the slider is put at the bottom. Strange Huh. The only box in all 4 executables that has a problem is the question box. No other box type. But it is every time it is used. We use the question box a lot and most times it works just fine. This interaction between the slider and the question box where the slider seems to directly affect the question box by its position does not make sense. The slider value is simply saved as it is changed and are small numbers. (see code snippet below). This display issue is a real problem for our customer because the operators really don't know what to do when this happens. The box still functions if you figure out what button to push! HELP! Does anyone have any ideas about this? It just seems like there is something going on with how the question box is executed and I can fix it in most cases (not the slider case) by clearing as much of my local stack as possible. I have .jpgs of what it looks like but can't post them but can send them if someone wants to see what I am talking about. Thanks Steve void VolumeSlider_Callback(FL_OBJECT *ob, long data) { char NewValue[256]; /* Set the volume level in the AudibleAlarmInfo Array for saving later */ AudibleAlarmInfo[bSelectedAlarm].Volume = (int)fl_get_slider_value(ob); /* Convert unsigned int to string and pass to text box */ sprintf(NewValue, "%d", AudibleAlarmInfo[bSelectedAlarm].Volume); fl_set_object_label(fd_AudibleAlarmGui->VolumeText, NewValue); #ifdef ALARM_DEBUG printf("New slider volume: %d for %s index %d data %d\n", AudibleAlarmInfo[bSelectedAlarm].Volume, AudibleAlarmInfo[bSelectedAlarm].AlarmType, bSelectedAlarm, (int)data); #endif /* Set the dirty bit indicating the data has changed */ bDirtyBit = TRUE; } ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Steve.Kerich at smiths-aerospace.com Wed Dec 20 15:15:13 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Wed, 20 Dec 2006 13:15:13 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA942@cossmgmbx06.EMAIL.CORP.TLD> Thanks for responding Joel. Sorry for the delay in getting back. If I don't call the question box (fl_show_question("Do you want to save the new volume level(s)?",0)) ), all other boxes appear just fine. Its only the question box that is displayed either as a huge size or the text in the buttons are corrupted. I was able to reduce the slider-question box program down to just two elements, the slider, a cancel button which calls the question box, and the problem still occurs. Really weird. But now it is narrowed down to a very few lines of code and is repeatable over and over. The code does nothing but read the value from the slider. No other processing. This is why this is a great test case. I am hoping that this is the same problem as I am seeing with the other 2 executables that do this too but don't have slider boxes. One has a browser window and the other has a tabbed form open. It make this problem even stranger it depends upon the position of the slider whether the question box appears as a huge box, corrupted text on yes/no buttons, or normally. Any value from 60 to 100 allows the box to be displayed normally. There does not seem to be any pattern to it and I have tried this on 3 different machines running Solaris 8 and the same thing happens BUT the numbers it happens with change. Weird again. I can't debug XForms source so I need help from the community. I have zipped up the source, make, binary etc to make my test program which will cause this problem. I just need someone to take a little time to look into how this can be happening to the question box. If someone would like me to send it to them with some .jpgs of the problem, I will right away. It just freaks the military operators out when a huge box that goes off the right side of the screen shows up or the buttons don't have text that makes sense. Thanks Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ From Steve.Kerich at smiths-aerospace.com Thu Dec 28 13:24:13 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Thu, 28 Dec 2006 11:24:13 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA961@cossmgmbx06.EMAIL.CORP.TLD> Hi I have been doing more testing and have found with my test program that if I call fl_show_alert before fl_show_question, the corruption of the question box goes away. I have noticed this fix also works for another executable that is having trouble with the question box. If I display an alert just before the question box, the problem goes away. I haven't tried it with the other 2 images that are showing the same/similar problem. There must be some XForms connection between the two. My test program is very very small so I don't believe that there are pointer or memory stack issues involved. Jens tried out my test program on a Linux box using gcc but was unable to reproduce the problem I have been seeing. So I guess that is a clue too. That it has something to so with Solaris or the compiler. The compiler used is SUNspro instead of gcc. I do not know why this compiler was picked in the beginning. Because this problem is spread through several of our applications, I really need to find a solution. Is there anyone who has debug ideas or could help with this? Any help would be appreciated. Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ From joel.moots at ngc.com Thu Dec 28 13:58:33 2006 From: joel.moots at ngc.com (Moots, Joel A. (IT Solutions/EOS)) Date: Thu, 28 Dec 2006 11:58:33 -0700 Subject: [XForms] corrupted text or big question box returns In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA961@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: <988FAD2E161E4347BFD7EC93A4D05904022F4B69@xcgaz701.northgrum.com> Since the program is so small, can you find the smallest amount of code needed for you to reproduce the problem and then paste just the parts you wrote to this list? E.g., if you don't need a slider callback to reproduce the problem, get rid of it; if you need the callback but don't need to retrieve the value, get rid of it; etc. If that's still rather large, can you tar/gzip just the source files with no extension on the filename and email to me. TIA, -joel -----Original Message----- From: xforms-bounces at bob.usuhs.mil [mailto:xforms-bounces at bob.usuhs.mil] On Behalf Of Kerich, Steve (AGTE) Sent: Thursday, December 28, 2006 11:24 AM To: xforms at bob.usuhs.mil Subject: [XForms] corrupted text or big question box returns To subscribers of the xforms list Hi I have been doing more testing and have found with my test program that if I call fl_show_alert before fl_show_question, the corruption of the question box goes away. I have noticed this fix also works for another executable that is having trouble with the question box. If I display an alert just before the question box, the problem goes away. I haven't tried it with the other 2 images that are showing the same/similar problem. There must be some XForms connection between the two. My test program is very very small so I don't believe that there are pointer or memory stack issues involved. Jens tried out my test program on a Linux box using gcc but was unable to reproduce the problem I have been seeing. So I guess that is a clue too. That it has something to so with Solaris or the compiler. The compiler used is SUNspro instead of gcc. I do not know why this compiler was picked in the beginning. Because this problem is spread through several of our applications, I really need to find a solution. Is there anyone who has debug ideas or could help with this? Any help would be appreciated. Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Jean-Marc.Lasgouttes at inria.fr Fri Jan 27 10:29:06 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Fri, 27 Jan 2006 16:29:06 +0100 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X In-Reply-To: <73605DC8-D5F9-46A5-B302-7783D84E9176@wooster.edu> (Rick Drushal's message of "Fri, 27 Jan 2006 01:29:36 -0500") References: <73605DC8-D5F9-46A5-B302-7783D84E9176@wooster.edu> Message-ID: >>>>> "Rick" == Rick Drushal writes: Rick> I am trying to build the xforms libraries on my OS X Tiger Rick> system. I only need to build because I only need access to the Rick> .h and .a files. When i run :./configure it balks because it Rick> "Cannot find libjpeg". I have installed this library via fink, Rick> with no success and even downloaded the source and compiled it Rick> myself, also with no effect. If and of you have any good ideas Rick> of where to go with this next I would appreciate it. Hello Rick, Where are the headers/library installed? You can use --with-extra-inc and --with-extra-lib to point there. JMarc PS: I changed the destination to the real xforms list. From jac4 at mindless.com Fri Jan 27 11:36:07 2006 From: jac4 at mindless.com (jason cipriani) Date: Fri, 27 Jan 2006 11:36:07 -0500 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X Message-ID: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> > To subscribers of the xforms list > > >>>>> "Rick" == Rick Drushal writes: > > Rick> I am trying to build the xforms libraries on my OS X Tiger > Rick> system. I only need to build because I only need access to the > Rick> .h and .a files. When i run :./configure it balks because it > Rick> "Cannot find libjpeg". I have installed this library via fink, > Rick> with no success and even downloaded the source and compiled it > Rick> myself, also with no effect. If and of you have any good ideas > Rick> of where to go with this next I would appreciate it. > > Hello Rick, > > Where are the headers/library installed? You can use --with-extra-inc > and --with-extra-lib to point there. fink installs them to /sw/lib and /sw/include i believe. > > JMarc > > PS: I changed the destination to the real xforms list. > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From Jean-Marc.Lasgouttes at inria.fr Fri Jan 27 16:46:09 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Fri, 27 Jan 2006 22:46:09 +0100 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X In-Reply-To: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> (jason cipriani's message of "Fri, 27 Jan 2006 11:36:07 -0500") References: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> Message-ID: >>>>> "jason" == jason cipriani writes: jason> fink installs them to /sw/lib and /sw/include i believe. so ./configure --with-extra-prefix=/sw should do the trick. JMarc From giulio.ballardin at ego-gw.it Thu Feb 16 04:39:46 2006 From: giulio.ballardin at ego-gw.it (Giulio Ballardin) Date: Thu, 16 Feb 2006 10:39:46 +0100 Subject: [XForms] Counter Message-ID: Hi, I'm using linux readhat 9.0 and Library 1.1. I built an user Interface with some counters. It appends that when a click only one time on the counter arrow, some time the number increases more than it should. It seems a problem of mouse sensibility or a problem of counter sensibility. How can I fixe this problem? thank you, Giulio From jt at toerring.de Thu Feb 16 05:58:49 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Thu, 16 Feb 2006 11:58:49 +0100 Subject: [XForms] Counter In-Reply-To: References: Message-ID: <20060216105849.GA24320@john.toerring.de> Hello Guilio, On Thu, Feb 16, 2006 at 10:39:46AM +0100, Giulio Ballardin wrote: > I'm using linux readhat 9.0 and Library 1.1. I built an user Interface > with some counters. It appends that when a click > only one time on the counter arrow, some time the number > increases more than it should. It seems a problem > of mouse sensibility or a problem of counter sensibility. > How can I fixe this problem? Unfortunately, your description of the problem is a bit vague. I also don't know what a "counter arrow" is - is that a button with an arrow drawn on it or something else? It probably would help if you could you post the code you are using, ideally as a complete, compilable program with everything thrown out except the part that exhibits the problem you encounter. Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From kro at grizzly.tphys.uni-linz.ac.at Wed Apr 19 23:00:34 2006 From: kro at grizzly.tphys.uni-linz.ac.at (Eckhard Krotscheck) Date: Thu, 20 Apr 2006 05:00:34 +0200 (CEST) Subject: [XForms] activity Message-ID: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> This is just to see if there is still any activity on the Xforms mailing list... From M.Holme at mmu.ac.uk Thu Apr 20 06:26:19 2006 From: M.Holme at mmu.ac.uk (Michael Holme) Date: Thu, 20 Apr 2006 11:26:19 +0100 Subject: [XForms] xforms for Mac OSX - a request please Message-ID: <6.1.0.6.0.20060420112117.01a7b700@patsy.doc.aca.mmu.ac.uk> Hello List, This is my first post (I think, I used to be an active xforms programmer years ago). I've been asked to port an xforms application from Linux to Mac OSX and the old site that contains the binaries of the various xforms libraries doesn't seem to be giving me much joy. Does anybody have a binary distribution of the xforms library that isn't too customised with regard to directories, etc that could be emailed to me, or I could download ? I'd appreciate any help. Thanks, Mike Holme Before acting on this email or opening any attachments you should read the Manchester Metropolitan Universitys' email disclaimer available on its website http://www.mmu.ac.uk/emaildisclaimer From Jean-Marc.Lasgouttes at inria.fr Thu Apr 20 08:59:24 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Thu, 20 Apr 2006 14:59:24 +0200 Subject: [XForms] activity In-Reply-To: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> (Eckhard Krotscheck's message of "Thu, 20 Apr 2006 05:00:34 +0200 (CEST)") References: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> Message-ID: >>>>> "Eckhard" == Eckhard Krotscheck writes: Eckhard> This is just to see if there is still any activity on the Eckhard> Xforms mailing list... There is not much activity unfortunately :( JMarc From jac4 at mindless.com Thu Apr 20 09:51:13 2006 From: jac4 at mindless.com (jason cipriani) Date: Thu, 20 Apr 2006 08:51:13 -0500 Subject: [XForms] xforms for Mac OSX - a request please Message-ID: <20060420135113.F10D983985@ws1-2a.us4.outblaze.com> I have built xforms succesfully on OSX. It's not native, of course, it still runs through the X server. The build process is straightforward, I don't recall running in to any issues. But I can send you the binaries later today or tomorrow if you'd like. Jason > ----- Original Message ----- > From: "Michael Holme" > To: xforms at bob.usuhs.mil > Subject: [XForms] xforms for Mac OSX - a request please > Date: Thu, 20 Apr 2006 11:26:19 +0100 > > > To subscribers of the xforms list > > Hello List, > > This is my first post (I think, I used to be an active xforms > programmer years ago). I've been asked to port an xforms application from > Linux to Mac OSX and the old site that contains the binaries of the various > xforms libraries doesn't seem to be giving me much joy. Does anybody have a > binary distribution of the xforms library that isn't too customised with > regard to directories, etc that could be emailed to me, or I could download ? > I'd appreciate any help. > > Thanks, > Mike Holme > > > Before acting on this email or opening any attachments you should read the > Manchester Metropolitan Universitys' email disclaimer available on its website > http://www.mmu.ac.uk/emaildisclaimer > > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From poenikatu at operamail.com Sun May 21 05:19:20 2006 From: poenikatu at operamail.com (Sian Mountbatten) Date: Sun, 21 May 2006 10:19:20 +0100 Subject: [XForms] Algol 68 binding Message-ID: <44703098.806@operamail.com> I have written a binding for the RS Algol 68 compiler (algol68toc) which I ported to Linux some years ago. Currently, I am converting the documentation to LaTeX and translating the examples to Algol 68 so that the resulting manual can be used to write GUI programs in Web 68 (the literate programming system for Algol 68). Because the source documentation is only available in HTML, I have LaTeXified that version and am in the process of converting it to full LaTeX. Of course, if the original documentation were available, because it is already in TeX form, it would be ease my task considerably. Does anybody know where the original documentation is and whether a copy can be obtained? Regards -- Sian Mountbatten From psg at debian.org Wed May 24 16:42:53 2006 From: psg at debian.org (Peter S Galbraith) Date: Wed, 24 May 2006 16:42:53 -0400 Subject: [XForms] Re: XForms: Documentation In-Reply-To: Message from Peter S Galbraith of "Tue, 08 Feb 2005 09:22:41 EST." <20050208142241.8683AAB07E@mixing.qc.dfo.ca> References: <20030908154838.51918.qmail@web13407.mail.yahoo.com> <20050208142241.8683AAB07E@mixing.qc.dfo.ca> Message-ID: <22216.1148503373@mixing.qc.dfo.ca> Hello T.C. (and the XForms list) Consider this the yearly nudge to release the sources of the XForms manual. Someone just emailed me today about them, so I'm sure they would still be appreciated and used by many. Thanks, Peter On 08 Feb 2005, I wrote: > On Sept 8th 2003, T.C. Zhao wrote: > > > Sorry for the delay and thanks for the info. GPL it is. > > > > I am currently travelling and will be back home end of September. Expect the > > free manual in October sometime. > > > > -TC > > --- Peter S Galbraith wrote: > > > To subscribers of the xforms list > > > > > > > > > T.C. Zhao wrote: > > > > > > > All I need to do is boot up my old linux box and recover the doc > > > > and send it. Will do this sometime in April (I've been travelling, > > > > and am sending this email from Tokyo). > > > > -TC > > > > > > Hi T.C., > > > > > > I really hate to keep nagging you like this. :-) > > > > > > You meant to release the sources of the XForms manual last April but > > > never got around to it. This is a reminder. Also, please avoid using > > > the GNU Free Documentation License (GFDL) since it not a free software > > > license and therefore cannot be included in the Debian distribution. > > > Using the GPL would be fine. > > Hello T.C., > > Consider this another nudge to release the sources of the XForms > manual. On the plus side, I didn't nag you in 2004. ;-) > > Please consider taking some time to actually do this now, while the > sources still exist, and before you get hit by a bus or something and > they are gone forever. The XForms sources have been free for a long > time now (Thanks!) and they really should have free documentation. > > Thanks, > -- > Peter S. Galbraith, Debian Developer > http://people.debian.org/~psg > GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E -- Peter S. Galbraith, Debian Developer http://people.debian.org/~psg GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E From jason.cipriani at gmail.com Wed May 31 20:38:21 2006 From: jason.cipriani at gmail.com (jason cipriani) Date: Wed, 31 May 2006 20:38:21 -0400 Subject: [XForms] Test, feel free to ignore this. Message-ID: Just a test (shiny new email address :), sorry to spam you all! Jason From juerg.hauser at krist.unibe.ch Thu Aug 24 02:43:48 2006 From: juerg.hauser at krist.unibe.ch (=?ISO-8859-15?Q?J=FCrg_Hauser?=) Date: Thu, 24 Aug 2006 08:43:48 +0200 Subject: [XForms] CygwinX maximize/restore for fixed size form Message-ID: <44ED4AA4.6070208@krist.unibe.ch> I'm porting an application using xforms to CygwinX (default installation). Although the application window is given fixed size (fl_show_form with place=FL_PLACE_CENTER) a maximize/restore button is displayed. In Linux (SUSE, RedHat) I only get the minimize and close buttons. Any help is appreciated. Regards, Juerg -- ____________________________ Universit?t Bern Laboratorium f?r chemische und mineralogische Kristallographie Dr. J?rg Hauser Freiestrasse 3 CH-3012 Bern Tel. +41 (0)31 631 43 90 Fax +41 (0)31 631 39 96 mailto:juerg.hauser at krist.unibe.ch http://www.krist.unibe.ch From gme at epr80.de Fri Oct 6 04:36:08 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 10:36:08 +0200 Subject: [XForms] Statically linked application Message-ID: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Hello, is there any information available on how to create a statically linked XForms program ? Best regards, Gerald From jt at toerring.de Fri Oct 6 06:56:25 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Fri, 6 Oct 2006 12:56:25 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006103608.0f0b0eea@emig4.heisch.inka.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Message-ID: <20061006105624.GA22692@john.toerring.de> On Fri, Oct 06, 2006 at 10:36:08AM +0200, Gerald Emig wrote: > is there any information available on how to create > a statically linked XForms program ? Since, as far as I can see, there's a static as well as a dynamic version of the XForms library installed per default you should mostly only need to use the appropriate compiler/linker flags to create a static program. E.g. for gcc you would need the option '-static'. But, of course, you also need static library versions of all other libraries involved to be installed on your system. On mine (Linux) all required libraries (libm, libpthread, libX11, libXpm) seem to exist in static versions except glibc, which I would have to install in order to be able to create a program without any external dependencies. On the other hand, the linker just complains a bit about the program still requiring at runtime the shared version of glib, but the resulting executable seems to work fine, and perhaps you can live with that since a glibc will probably exist on all systems you try to run the program on. Other- wise install a static version of glibc on the system you build the program on. Just don't be surprised about the size difference, a small test program that was statically linked - as far as possible, i.e. still dependent on the shared glic - is over 4 MB while, when linked without '-static', it's only about 10k.... Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From dadembro at rockwellcollins.com Fri Oct 6 08:26:19 2006 From: dadembro at rockwellcollins.com (dadembro at rockwellcollins.com) Date: Fri, 6 Oct 2006 08:26:19 -0400 Subject: [XForms] Statically linked application In-Reply-To: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Message-ID: An example compiler command I used many years ago. Some compiler options may have changed but it may point you in the right direction. gcc ?O ?o mm object_files ?Xlinker ?Bstatic ?lforms \ ?Xlinker ?Bdynamic ?L/usr/X11R6/lib ?lX11 ?lm ?lXpm ?lXext Good luck, ---d.dembrow Gerald Emig Sent by: To xforms-bounces at bo XFORMS list b.usuhs.mil cc Subject 10/06/2006 04:36 [XForms] Statically linked AM application To subscribers of the xforms list Hello, is there any information available on how to create a statically linked XForms program ? Best regards, Gerald _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Todd.Denniston at ssa.crane.navy.mil Fri Oct 6 09:04:23 2006 From: Todd.Denniston at ssa.crane.navy.mil (Todd Denniston) Date: Fri, 06 Oct 2006 08:04:23 -0500 Subject: [XForms] Statically linked application In-Reply-To: <20061006105624.GA22692@john.toerring.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> Message-ID: <45265457.2020909@ssa.crane.navy.mil> Jens Thoms Toerring wrote: > To subscribers of the xforms list > > On Fri, Oct 06, 2006 at 10:36:08AM +0200, Gerald Emig wrote: >> is there any information available on how to create >> a statically linked XForms program ? > > Since, as far as I can see, there's a static as well as a dynamic > version of the XForms library installed per default you should > mostly only need to use the appropriate compiler/linker flags to > create a static program. E.g. for gcc you would need the option > '-static'. But, of course, you also need static library versions > of all other libraries involved to be installed on your system. > On mine (Linux) all required libraries (libm, libpthread, libX11, > libXpm) seem to exist in static versions except glibc, which I > would have to install in order to be able to create a program > without any external dependencies. On the other hand, the linker > just complains a bit about the program still requiring at runtime > the shared version of glib, but the resulting executable seems to > work fine, and perhaps you can live with that since a glibc will > probably exist on all systems you try to run the program on. Other- > wise install a static version of glibc on the system you build the > program on. Just don't be surprised about the size difference, a > small test program that was statically linked - as far as possible, > i.e. still dependent on the shared glic - is over 4 MB while, when > linked without '-static', it's only about 10k.... > > Regards, Jens Although I have forgotten how, it is possible to specify how each individual library should be linked, i.e., it is possible to tell the compiler link libforms static and libc dynamic, thus you could build on a box with Xforms and put it on systems that don't have Xforms installed. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter From gme at epr80.de Fri Oct 6 09:23:43 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 15:23:43 +0200 Subject: [XForms] Statically linked application In-Reply-To: <45265457.2020909@ssa.crane.navy.mil> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> Message-ID: <20061006152343.52bffa7d@emig4.heisch.inka.de> Hello all, many thanks for the hints. What Todd writes is just what I want to do. Many regards, Gerald Todd Denniston wrote: > Although I have forgotten how, it is possible to specify how each > individual library should be linked, i.e., it is possible to tell the > compiler link libforms static and libc dynamic, thus you could build > on a box with Xforms and put it on systems that don't have Xforms > installed. > > -- > Todd Denniston From jt at toerring.de Fri Oct 6 10:29:09 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Fri, 6 Oct 2006 16:29:09 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006152343.52bffa7d@emig4.heisch.inka.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> <20061006152343.52bffa7d@emig4.heisch.inka.de> Message-ID: <20061006142909.GA24016@john.toerring.de> On Fri, Oct 06, 2006 at 03:23:43PM +0200, Gerald Emig wrote: > Todd Denniston wrote: > > > Although I have forgotten how, it is possible to specify how each > > individual library should be linked, i.e., it is possible to tell the > > compiler link libforms static and libc dynamic, thus you could build > > on a box with Xforms and put it on systems that don't have Xforms > > installed. > > many thanks for the hints. What Todd writes is just what I want to do. If you just want to link against the static version of the XForms library but want to use the shared versions of all the other libraries then just explicitely link against teh staic library libforms.a, e.g. gcc -o xformtest xformtest.c /usr/local/lib/libforms.a \ -L/usr/X11R6/lib -lX11 -lm (assuming the static version of the XForms library is installed in /usr/local/lib). Static libaries are just a collection of object files and when linking you can use them the same way as object files. Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From gme at epr80.de Fri Oct 6 12:52:41 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 18:52:41 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006142909.GA24016@john.toerring.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> <20061006152343.52bffa7d@emig4.heisch.inka.de> <20061006142909.GA24016@john.toerring.de> Message-ID: <20061006185241.79fb4487@emig4.heisch.inka.de> Hello Jens, your "solution" is just what I need, thank you very much. Why ? I want to give away software for free, and say to the users that they must have xforms installed. Many of them then complain... Gerald On Fri, 6 Oct 2006 16:29:09 +0200 Jens Thoms Toerring wrote: > > If you just want to link against the static version of the XForms > library but want to use the shared versions of all the other > libraries then just explicitely link against teh staic library > libforms.a, e.g. > > gcc -o xformtest xformtest.c /usr/local/lib/libforms.a \ > -L/usr/X11R6/lib -lX11 -lm > From Steve.Kerich at smiths-aerospace.com Thu Oct 12 16:56:45 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Thu, 12 Oct 2006 14:56:45 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> I am having a problem with a question box. I use them throughout my code but this one keeps putting up a question box that is so big it goes off the left side of the screen and buttons that are huge. The text in the label and on the buttons is also corrupted. I found out by trail and error that if I show an alert box before making the call to show_question, the question box is the correct size. Has anyone seen something like this happen before? The show_alert is doing something to XForms that is making the show_question box work. I guess like flushing a buffer, reseting a pointer, or something. Below is the snippet from the program with the show_alert that makes this work. This only happens with the show_question call in the program. Elsewhere it works fine. Any ideas would be greatly appreciated. fl_show_alert("Nothing to write", "Test.", "test.", 1); fl_show_question("Write archive CD with current track layout?", 1); ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From jason.cipriani at gmail.com Thu Oct 12 17:30:43 2006 From: jason.cipriani at gmail.com (jason cipriani) Date: Thu, 12 Oct 2006 17:30:43 -0400 Subject: [XForms] question box appears huge In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> References: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: I've never seen that happen before. XForms may be kind of sketchy, but lord knows I've put it to the test over the last few years and I honestly believe that the goodie boxes are stable and bug-free. Are you making sure you are calling fl_initialize when your application starts before doing any other xforms stuff? That aside, the cuplrit of odd problems like that is usually some memory-related issue elsewhere in the program. Perhaps some of your code is writing past the end of a buffer somewhere and coincidently corrupting certain xforms data structures. Showing the alert box may reinitialize some data, or may move things around in memory so that the other issue no longer affects the quesiton box. Sorry, I can't think of any other reason that would occur unless there's some weird X or window-manager related problem that is only affecting that one message box for some reason. Jason On 10/12/06, Kerich, Steve (AGTE) wrote: > To subscribers of the xforms list > > > I am having a problem with a question box. I use them throughout my code > but this one keeps putting up a question box that is so big it goes off > the left side of the screen and buttons that are huge. The text in the > label and on the buttons is also corrupted. I found out by trail and > error that if I show an alert box before making the call to > show_question, the question box is the correct size. Has anyone seen > something like this happen before? The show_alert is doing something to > XForms that is making the show_question box work. I guess like flushing > a buffer, reseting a pointer, or something. Below is the snippet from > the program with the show_alert that makes this work. This only happens > with the show_question call in the program. Elsewhere it works fine. > > Any ideas would be greatly appreciated. > > fl_show_alert("Nothing to write", > "Test.", > "test.", > 1); > > fl_show_question("Write archive CD with current track layout?", > 1); > > > ****************************************** > The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. > ****************************************** > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From Steve.Kerich at smiths-aerospace.com Fri Oct 13 12:25:14 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Fri, 13 Oct 2006 10:25:14 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7A8@cossmgmbx06.EMAIL.CORP.TLD> Hi Jason, Thanks for getting back with me so quickly. I really didn't know if there was anyone out there that would respond to a Xforms question. A totally agree with your suggestions about a buffer over run or a crazy pointer. There is another yes/no box that is consistently doing corrupted text. The buttons come up with stuff like "true" "true" for the selections which is pretty funny to see since they are both true but not to the user. Since this is only happening in two totally different area, I would have to agree that something is getting stepped on. I'm going to work backwards and look at all the data writes to see if I can How well do you understand how Xforms works under the hood? How would/could the alert box being shown fix the question box data structure? There must be something shared between them that is getting reinitialized. Update: I did some more testing and it seems that if I call the question box before making my finish subroutine call, the box is normal but if I make the same call as the first line after the call, the box is corrupted. It would help if I could understand how the Alert box was able to reinit the question box. Let me know what you think, Steve (\__/) (='.'=) (")_(") -----Original Message----- From: jason cipriani [mailto:jason.cipriani at gmail.com] Sent: Thursday, October 12, 2006 5:31 PM To: Kerich, Steve (AGTE) Cc: xforms at bob.usuhs.mil Subject: Re: [XForms] question box appears huge I've never seen that happen before. XForms may be kind of sketchy, but lord knows I've put it to the test over the last few years and I honestly believe that the goodie boxes are stable and bug-free. Are you making sure you are calling fl_initialize when your application starts before doing any other xforms stuff? That aside, the cuplrit of odd problems like that is usually some memory-related issue elsewhere in the program. Perhaps some of your code is writing past the end of a buffer somewhere and coincidently corrupting certain xforms data structures. Showing the alert box may reinitialize some data, or may move things around in memory so that the other issue no longer affects the quesiton box. Sorry, I can't think of any other reason that would occur unless there's some weird X or window-manager related problem that is only affecting that one message box for some reason. Jason On 10/12/06, Kerich, Steve (AGTE) wrote: > To subscribers of the xforms list > > > I am having a problem with a question box. I use them throughout my > code but this one keeps putting up a question box that is so big it > goes off the left side of the screen and buttons that are huge. The > text in the label and on the buttons is also corrupted. I found out by > trail and error that if I show an alert box before making the call to > show_question, the question box is the correct size. Has anyone seen > something like this happen before? The show_alert is doing something > to XForms that is making the show_question box work. I guess like > flushing a buffer, reseting a pointer, or something. Below is the > snippet from the program with the show_alert that makes this work. > This only happens with the show_question call in the program. Elsewhere it works fine. > > Any ideas would be greatly appreciated. > > fl_show_alert("Nothing to write", > "Test.", > "test.", > 1); > > fl_show_question("Write archive CD with current track layout?", > 1); > > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms List Archive: > http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > ______________________________________________________________________ CAUTION: This message was sent via the Public Internet and its authenticity cannot be guaranteed. ______________________________________________________ -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From Steve.Kerich at smiths-aerospace.com Mon Oct 16 09:43:43 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Mon, 16 Oct 2006 07:43:43 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7B1@cossmgmbx06.EMAIL.CORP.TLD> Hi I spend all day Friday trying investigating the big box issue and found out in the end that it was being caused by my local stack overflowing. I don't have any direct proof that this is the case but through trial and error I found that if I made more room on the stack that the box returned to normal size. I was surprised that a stack problem would manifest itself with Xforms putting up a box question box but I guess anything is possible. I'm just glad its fixed! Steve ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From Steve.Kerich at smiths-aerospace.com Wed Dec 13 16:17:41 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Wed, 13 Dec 2006 14:17:41 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA919@cossmgmbx06.EMAIL.CORP.TLD> Hi The problem I was having with the question box appearing with either the button text corrupted or the title bar text corrupted, or the box itself is many times the correct size. It was first thought to be a stack problem because I could move large arrays out of a local routine and the problem would go away. Through our system testing have found 4 separate places in 4 different executable images where a question box is not being displayed correctly. The one that was discovered this week is directly tied to the use of a slider function . As the slider is moved closer to the bottom of its range the problem with the question box gets worse. What I mean by worse is that when the slider is about 1/4 from the bottom the text on the question box when the cancel is selected is corrupted to true & true . If the slider is moved to close or at the bottom the range, the corruption gets worse and the size of the box is huge . The callback for all slider positions is the same but this problem only happens when the slider is put at the bottom. Strange Huh. The only box in all 4 executables that has a problem is the question box. No other box type. But it is every time it is used. We use the question box a lot and most times it works just fine. This interaction between the slider and the question box where the slider seems to directly affect the question box by its position does not make sense. The slider value is simply saved as it is changed and are small numbers. (see code snippet below). This display issue is a real problem for our customer because the operators really don't know what to do when this happens. The box still functions if you figure out what button to push! HELP! Does anyone have any ideas about this? It just seems like there is something going on with how the question box is executed and I can fix it in most cases (not the slider case) by clearing as much of my local stack as possible. I have .jpgs of what it looks like but can't post them but can send them if someone wants to see what I am talking about. Thanks Steve void VolumeSlider_Callback(FL_OBJECT *ob, long data) { char NewValue[256]; /* Set the volume level in the AudibleAlarmInfo Array for saving later */ AudibleAlarmInfo[bSelectedAlarm].Volume = (int)fl_get_slider_value(ob); /* Convert unsigned int to string and pass to text box */ sprintf(NewValue, "%d", AudibleAlarmInfo[bSelectedAlarm].Volume); fl_set_object_label(fd_AudibleAlarmGui->VolumeText, NewValue); #ifdef ALARM_DEBUG printf("New slider volume: %d for %s index %d data %d\n", AudibleAlarmInfo[bSelectedAlarm].Volume, AudibleAlarmInfo[bSelectedAlarm].AlarmType, bSelectedAlarm, (int)data); #endif /* Set the dirty bit indicating the data has changed */ bDirtyBit = TRUE; } ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From joel.moots at ngc.com Wed Dec 13 16:38:58 2006 From: joel.moots at ngc.com (Moots, Joel A. (IT Solutions/EOS)) Date: Wed, 13 Dec 2006 14:38:58 -0700 Subject: [XForms] corrupted text or big question box returns In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA919@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: <988FAD2E161E4347BFD7EC93A4D05904022F490E@xcgaz701.northgrum.com> If you remove the callback or comment out its body, does the problem go away? -joel -----Original Message----- From: xforms-bounces at bob.usuhs.mil [mailto:xforms-bounces at bob.usuhs.mil] On Behalf Of Kerich, Steve (AGTE) Sent: Wednesday, December 13, 2006 2:18 PM To: xforms at bob.usuhs.mil Subject: [XForms] corrupted text or big question box returns To subscribers of the xforms list Hi The problem I was having with the question box appearing with either the button text corrupted or the title bar text corrupted, or the box itself is many times the correct size. It was first thought to be a stack problem because I could move large arrays out of a local routine and the problem would go away. Through our system testing have found 4 separate places in 4 different executable images where a question box is not being displayed correctly. The one that was discovered this week is directly tied to the use of a slider function . As the slider is moved closer to the bottom of its range the problem with the question box gets worse. What I mean by worse is that when the slider is about 1/4 from the bottom the text on the question box when the cancel is selected is corrupted to true & true . If the slider is moved to close or at the bottom the range, the corruption gets worse and the size of the box is huge . The callback for all slider positions is the same but this problem only happens when the slider is put at the bottom. Strange Huh. The only box in all 4 executables that has a problem is the question box. No other box type. But it is every time it is used. We use the question box a lot and most times it works just fine. This interaction between the slider and the question box where the slider seems to directly affect the question box by its position does not make sense. The slider value is simply saved as it is changed and are small numbers. (see code snippet below). This display issue is a real problem for our customer because the operators really don't know what to do when this happens. The box still functions if you figure out what button to push! HELP! Does anyone have any ideas about this? It just seems like there is something going on with how the question box is executed and I can fix it in most cases (not the slider case) by clearing as much of my local stack as possible. I have .jpgs of what it looks like but can't post them but can send them if someone wants to see what I am talking about. Thanks Steve void VolumeSlider_Callback(FL_OBJECT *ob, long data) { char NewValue[256]; /* Set the volume level in the AudibleAlarmInfo Array for saving later */ AudibleAlarmInfo[bSelectedAlarm].Volume = (int)fl_get_slider_value(ob); /* Convert unsigned int to string and pass to text box */ sprintf(NewValue, "%d", AudibleAlarmInfo[bSelectedAlarm].Volume); fl_set_object_label(fd_AudibleAlarmGui->VolumeText, NewValue); #ifdef ALARM_DEBUG printf("New slider volume: %d for %s index %d data %d\n", AudibleAlarmInfo[bSelectedAlarm].Volume, AudibleAlarmInfo[bSelectedAlarm].AlarmType, bSelectedAlarm, (int)data); #endif /* Set the dirty bit indicating the data has changed */ bDirtyBit = TRUE; } ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Steve.Kerich at smiths-aerospace.com Wed Dec 20 15:15:13 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Wed, 20 Dec 2006 13:15:13 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA942@cossmgmbx06.EMAIL.CORP.TLD> Thanks for responding Joel. Sorry for the delay in getting back. If I don't call the question box (fl_show_question("Do you want to save the new volume level(s)?",0)) ), all other boxes appear just fine. Its only the question box that is displayed either as a huge size or the text in the buttons are corrupted. I was able to reduce the slider-question box program down to just two elements, the slider, a cancel button which calls the question box, and the problem still occurs. Really weird. But now it is narrowed down to a very few lines of code and is repeatable over and over. The code does nothing but read the value from the slider. No other processing. This is why this is a great test case. I am hoping that this is the same problem as I am seeing with the other 2 executables that do this too but don't have slider boxes. One has a browser window and the other has a tabbed form open. It make this problem even stranger it depends upon the position of the slider whether the question box appears as a huge box, corrupted text on yes/no buttons, or normally. Any value from 60 to 100 allows the box to be displayed normally. There does not seem to be any pattern to it and I have tried this on 3 different machines running Solaris 8 and the same thing happens BUT the numbers it happens with change. Weird again. I can't debug XForms source so I need help from the community. I have zipped up the source, make, binary etc to make my test program which will cause this problem. I just need someone to take a little time to look into how this can be happening to the question box. If someone would like me to send it to them with some .jpgs of the problem, I will right away. It just freaks the military operators out when a huge box that goes off the right side of the screen shows up or the buttons don't have text that makes sense. Thanks Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ From Steve.Kerich at smiths-aerospace.com Thu Dec 28 13:24:13 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Thu, 28 Dec 2006 11:24:13 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA961@cossmgmbx06.EMAIL.CORP.TLD> Hi I have been doing more testing and have found with my test program that if I call fl_show_alert before fl_show_question, the corruption of the question box goes away. I have noticed this fix also works for another executable that is having trouble with the question box. If I display an alert just before the question box, the problem goes away. I haven't tried it with the other 2 images that are showing the same/similar problem. There must be some XForms connection between the two. My test program is very very small so I don't believe that there are pointer or memory stack issues involved. Jens tried out my test program on a Linux box using gcc but was unable to reproduce the problem I have been seeing. So I guess that is a clue too. That it has something to so with Solaris or the compiler. The compiler used is SUNspro instead of gcc. I do not know why this compiler was picked in the beginning. Because this problem is spread through several of our applications, I really need to find a solution. Is there anyone who has debug ideas or could help with this? Any help would be appreciated. Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ From joel.moots at ngc.com Thu Dec 28 13:58:33 2006 From: joel.moots at ngc.com (Moots, Joel A. (IT Solutions/EOS)) Date: Thu, 28 Dec 2006 11:58:33 -0700 Subject: [XForms] corrupted text or big question box returns In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA961@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: <988FAD2E161E4347BFD7EC93A4D05904022F4B69@xcgaz701.northgrum.com> Since the program is so small, can you find the smallest amount of code needed for you to reproduce the problem and then paste just the parts you wrote to this list? E.g., if you don't need a slider callback to reproduce the problem, get rid of it; if you need the callback but don't need to retrieve the value, get rid of it; etc. If that's still rather large, can you tar/gzip just the source files with no extension on the filename and email to me. TIA, -joel -----Original Message----- From: xforms-bounces at bob.usuhs.mil [mailto:xforms-bounces at bob.usuhs.mil] On Behalf Of Kerich, Steve (AGTE) Sent: Thursday, December 28, 2006 11:24 AM To: xforms at bob.usuhs.mil Subject: [XForms] corrupted text or big question box returns To subscribers of the xforms list Hi I have been doing more testing and have found with my test program that if I call fl_show_alert before fl_show_question, the corruption of the question box goes away. I have noticed this fix also works for another executable that is having trouble with the question box. If I display an alert just before the question box, the problem goes away. I haven't tried it with the other 2 images that are showing the same/similar problem. There must be some XForms connection between the two. My test program is very very small so I don't believe that there are pointer or memory stack issues involved. Jens tried out my test program on a Linux box using gcc but was unable to reproduce the problem I have been seeing. So I guess that is a clue too. That it has something to so with Solaris or the compiler. The compiler used is SUNspro instead of gcc. I do not know why this compiler was picked in the beginning. Because this problem is spread through several of our applications, I really need to find a solution. Is there anyone who has debug ideas or could help with this? Any help would be appreciated. Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Jean-Marc.Lasgouttes at inria.fr Fri Jan 27 10:29:06 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Fri, 27 Jan 2006 16:29:06 +0100 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X In-Reply-To: <73605DC8-D5F9-46A5-B302-7783D84E9176@wooster.edu> (Rick Drushal's message of "Fri, 27 Jan 2006 01:29:36 -0500") References: <73605DC8-D5F9-46A5-B302-7783D84E9176@wooster.edu> Message-ID: >>>>> "Rick" == Rick Drushal writes: Rick> I am trying to build the xforms libraries on my OS X Tiger Rick> system. I only need to build because I only need access to the Rick> .h and .a files. When i run :./configure it balks because it Rick> "Cannot find libjpeg". I have installed this library via fink, Rick> with no success and even downloaded the source and compiled it Rick> myself, also with no effect. If and of you have any good ideas Rick> of where to go with this next I would appreciate it. Hello Rick, Where are the headers/library installed? You can use --with-extra-inc and --with-extra-lib to point there. JMarc PS: I changed the destination to the real xforms list. From jac4 at mindless.com Fri Jan 27 11:36:07 2006 From: jac4 at mindless.com (jason cipriani) Date: Fri, 27 Jan 2006 11:36:07 -0500 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X Message-ID: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> > To subscribers of the xforms list > > >>>>> "Rick" == Rick Drushal writes: > > Rick> I am trying to build the xforms libraries on my OS X Tiger > Rick> system. I only need to build because I only need access to the > Rick> .h and .a files. When i run :./configure it balks because it > Rick> "Cannot find libjpeg". I have installed this library via fink, > Rick> with no success and even downloaded the source and compiled it > Rick> myself, also with no effect. If and of you have any good ideas > Rick> of where to go with this next I would appreciate it. > > Hello Rick, > > Where are the headers/library installed? You can use --with-extra-inc > and --with-extra-lib to point there. fink installs them to /sw/lib and /sw/include i believe. > > JMarc > > PS: I changed the destination to the real xforms list. > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From Jean-Marc.Lasgouttes at inria.fr Fri Jan 27 16:46:09 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Fri, 27 Jan 2006 22:46:09 +0100 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X In-Reply-To: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> (jason cipriani's message of "Fri, 27 Jan 2006 11:36:07 -0500") References: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> Message-ID: >>>>> "jason" == jason cipriani writes: jason> fink installs them to /sw/lib and /sw/include i believe. so ./configure --with-extra-prefix=/sw should do the trick. JMarc From giulio.ballardin at ego-gw.it Thu Feb 16 04:39:46 2006 From: giulio.ballardin at ego-gw.it (Giulio Ballardin) Date: Thu, 16 Feb 2006 10:39:46 +0100 Subject: [XForms] Counter Message-ID: Hi, I'm using linux readhat 9.0 and Library 1.1. I built an user Interface with some counters. It appends that when a click only one time on the counter arrow, some time the number increases more than it should. It seems a problem of mouse sensibility or a problem of counter sensibility. How can I fixe this problem? thank you, Giulio From jt at toerring.de Thu Feb 16 05:58:49 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Thu, 16 Feb 2006 11:58:49 +0100 Subject: [XForms] Counter In-Reply-To: References: Message-ID: <20060216105849.GA24320@john.toerring.de> Hello Guilio, On Thu, Feb 16, 2006 at 10:39:46AM +0100, Giulio Ballardin wrote: > I'm using linux readhat 9.0 and Library 1.1. I built an user Interface > with some counters. It appends that when a click > only one time on the counter arrow, some time the number > increases more than it should. It seems a problem > of mouse sensibility or a problem of counter sensibility. > How can I fixe this problem? Unfortunately, your description of the problem is a bit vague. I also don't know what a "counter arrow" is - is that a button with an arrow drawn on it or something else? It probably would help if you could you post the code you are using, ideally as a complete, compilable program with everything thrown out except the part that exhibits the problem you encounter. Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From kro at grizzly.tphys.uni-linz.ac.at Wed Apr 19 23:00:34 2006 From: kro at grizzly.tphys.uni-linz.ac.at (Eckhard Krotscheck) Date: Thu, 20 Apr 2006 05:00:34 +0200 (CEST) Subject: [XForms] activity Message-ID: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> This is just to see if there is still any activity on the Xforms mailing list... From M.Holme at mmu.ac.uk Thu Apr 20 06:26:19 2006 From: M.Holme at mmu.ac.uk (Michael Holme) Date: Thu, 20 Apr 2006 11:26:19 +0100 Subject: [XForms] xforms for Mac OSX - a request please Message-ID: <6.1.0.6.0.20060420112117.01a7b700@patsy.doc.aca.mmu.ac.uk> Hello List, This is my first post (I think, I used to be an active xforms programmer years ago). I've been asked to port an xforms application from Linux to Mac OSX and the old site that contains the binaries of the various xforms libraries doesn't seem to be giving me much joy. Does anybody have a binary distribution of the xforms library that isn't too customised with regard to directories, etc that could be emailed to me, or I could download ? I'd appreciate any help. Thanks, Mike Holme Before acting on this email or opening any attachments you should read the Manchester Metropolitan Universitys' email disclaimer available on its website http://www.mmu.ac.uk/emaildisclaimer From Jean-Marc.Lasgouttes at inria.fr Thu Apr 20 08:59:24 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Thu, 20 Apr 2006 14:59:24 +0200 Subject: [XForms] activity In-Reply-To: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> (Eckhard Krotscheck's message of "Thu, 20 Apr 2006 05:00:34 +0200 (CEST)") References: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> Message-ID: >>>>> "Eckhard" == Eckhard Krotscheck writes: Eckhard> This is just to see if there is still any activity on the Eckhard> Xforms mailing list... There is not much activity unfortunately :( JMarc From jac4 at mindless.com Thu Apr 20 09:51:13 2006 From: jac4 at mindless.com (jason cipriani) Date: Thu, 20 Apr 2006 08:51:13 -0500 Subject: [XForms] xforms for Mac OSX - a request please Message-ID: <20060420135113.F10D983985@ws1-2a.us4.outblaze.com> I have built xforms succesfully on OSX. It's not native, of course, it still runs through the X server. The build process is straightforward, I don't recall running in to any issues. But I can send you the binaries later today or tomorrow if you'd like. Jason > ----- Original Message ----- > From: "Michael Holme" > To: xforms at bob.usuhs.mil > Subject: [XForms] xforms for Mac OSX - a request please > Date: Thu, 20 Apr 2006 11:26:19 +0100 > > > To subscribers of the xforms list > > Hello List, > > This is my first post (I think, I used to be an active xforms > programmer years ago). I've been asked to port an xforms application from > Linux to Mac OSX and the old site that contains the binaries of the various > xforms libraries doesn't seem to be giving me much joy. Does anybody have a > binary distribution of the xforms library that isn't too customised with > regard to directories, etc that could be emailed to me, or I could download ? > I'd appreciate any help. > > Thanks, > Mike Holme > > > Before acting on this email or opening any attachments you should read the > Manchester Metropolitan Universitys' email disclaimer available on its website > http://www.mmu.ac.uk/emaildisclaimer > > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From poenikatu at operamail.com Sun May 21 05:19:20 2006 From: poenikatu at operamail.com (Sian Mountbatten) Date: Sun, 21 May 2006 10:19:20 +0100 Subject: [XForms] Algol 68 binding Message-ID: <44703098.806@operamail.com> I have written a binding for the RS Algol 68 compiler (algol68toc) which I ported to Linux some years ago. Currently, I am converting the documentation to LaTeX and translating the examples to Algol 68 so that the resulting manual can be used to write GUI programs in Web 68 (the literate programming system for Algol 68). Because the source documentation is only available in HTML, I have LaTeXified that version and am in the process of converting it to full LaTeX. Of course, if the original documentation were available, because it is already in TeX form, it would be ease my task considerably. Does anybody know where the original documentation is and whether a copy can be obtained? Regards -- Sian Mountbatten From psg at debian.org Wed May 24 16:42:53 2006 From: psg at debian.org (Peter S Galbraith) Date: Wed, 24 May 2006 16:42:53 -0400 Subject: [XForms] Re: XForms: Documentation In-Reply-To: Message from Peter S Galbraith of "Tue, 08 Feb 2005 09:22:41 EST." <20050208142241.8683AAB07E@mixing.qc.dfo.ca> References: <20030908154838.51918.qmail@web13407.mail.yahoo.com> <20050208142241.8683AAB07E@mixing.qc.dfo.ca> Message-ID: <22216.1148503373@mixing.qc.dfo.ca> Hello T.C. (and the XForms list) Consider this the yearly nudge to release the sources of the XForms manual. Someone just emailed me today about them, so I'm sure they would still be appreciated and used by many. Thanks, Peter On 08 Feb 2005, I wrote: > On Sept 8th 2003, T.C. Zhao wrote: > > > Sorry for the delay and thanks for the info. GPL it is. > > > > I am currently travelling and will be back home end of September. Expect the > > free manual in October sometime. > > > > -TC > > --- Peter S Galbraith wrote: > > > To subscribers of the xforms list > > > > > > > > > T.C. Zhao wrote: > > > > > > > All I need to do is boot up my old linux box and recover the doc > > > > and send it. Will do this sometime in April (I've been travelling, > > > > and am sending this email from Tokyo). > > > > -TC > > > > > > Hi T.C., > > > > > > I really hate to keep nagging you like this. :-) > > > > > > You meant to release the sources of the XForms manual last April but > > > never got around to it. This is a reminder. Also, please avoid using > > > the GNU Free Documentation License (GFDL) since it not a free software > > > license and therefore cannot be included in the Debian distribution. > > > Using the GPL would be fine. > > Hello T.C., > > Consider this another nudge to release the sources of the XForms > manual. On the plus side, I didn't nag you in 2004. ;-) > > Please consider taking some time to actually do this now, while the > sources still exist, and before you get hit by a bus or something and > they are gone forever. The XForms sources have been free for a long > time now (Thanks!) and they really should have free documentation. > > Thanks, > -- > Peter S. Galbraith, Debian Developer > http://people.debian.org/~psg > GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E -- Peter S. Galbraith, Debian Developer http://people.debian.org/~psg GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E From jason.cipriani at gmail.com Wed May 31 20:38:21 2006 From: jason.cipriani at gmail.com (jason cipriani) Date: Wed, 31 May 2006 20:38:21 -0400 Subject: [XForms] Test, feel free to ignore this. Message-ID: Just a test (shiny new email address :), sorry to spam you all! Jason From juerg.hauser at krist.unibe.ch Thu Aug 24 02:43:48 2006 From: juerg.hauser at krist.unibe.ch (=?ISO-8859-15?Q?J=FCrg_Hauser?=) Date: Thu, 24 Aug 2006 08:43:48 +0200 Subject: [XForms] CygwinX maximize/restore for fixed size form Message-ID: <44ED4AA4.6070208@krist.unibe.ch> I'm porting an application using xforms to CygwinX (default installation). Although the application window is given fixed size (fl_show_form with place=FL_PLACE_CENTER) a maximize/restore button is displayed. In Linux (SUSE, RedHat) I only get the minimize and close buttons. Any help is appreciated. Regards, Juerg -- ____________________________ Universit?t Bern Laboratorium f?r chemische und mineralogische Kristallographie Dr. J?rg Hauser Freiestrasse 3 CH-3012 Bern Tel. +41 (0)31 631 43 90 Fax +41 (0)31 631 39 96 mailto:juerg.hauser at krist.unibe.ch http://www.krist.unibe.ch From gme at epr80.de Fri Oct 6 04:36:08 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 10:36:08 +0200 Subject: [XForms] Statically linked application Message-ID: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Hello, is there any information available on how to create a statically linked XForms program ? Best regards, Gerald From jt at toerring.de Fri Oct 6 06:56:25 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Fri, 6 Oct 2006 12:56:25 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006103608.0f0b0eea@emig4.heisch.inka.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Message-ID: <20061006105624.GA22692@john.toerring.de> On Fri, Oct 06, 2006 at 10:36:08AM +0200, Gerald Emig wrote: > is there any information available on how to create > a statically linked XForms program ? Since, as far as I can see, there's a static as well as a dynamic version of the XForms library installed per default you should mostly only need to use the appropriate compiler/linker flags to create a static program. E.g. for gcc you would need the option '-static'. But, of course, you also need static library versions of all other libraries involved to be installed on your system. On mine (Linux) all required libraries (libm, libpthread, libX11, libXpm) seem to exist in static versions except glibc, which I would have to install in order to be able to create a program without any external dependencies. On the other hand, the linker just complains a bit about the program still requiring at runtime the shared version of glib, but the resulting executable seems to work fine, and perhaps you can live with that since a glibc will probably exist on all systems you try to run the program on. Other- wise install a static version of glibc on the system you build the program on. Just don't be surprised about the size difference, a small test program that was statically linked - as far as possible, i.e. still dependent on the shared glic - is over 4 MB while, when linked without '-static', it's only about 10k.... Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From dadembro at rockwellcollins.com Fri Oct 6 08:26:19 2006 From: dadembro at rockwellcollins.com (dadembro at rockwellcollins.com) Date: Fri, 6 Oct 2006 08:26:19 -0400 Subject: [XForms] Statically linked application In-Reply-To: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Message-ID: An example compiler command I used many years ago. Some compiler options may have changed but it may point you in the right direction. gcc ?O ?o mm object_files ?Xlinker ?Bstatic ?lforms \ ?Xlinker ?Bdynamic ?L/usr/X11R6/lib ?lX11 ?lm ?lXpm ?lXext Good luck, ---d.dembrow Gerald Emig Sent by: To xforms-bounces at bo XFORMS list b.usuhs.mil cc Subject 10/06/2006 04:36 [XForms] Statically linked AM application To subscribers of the xforms list Hello, is there any information available on how to create a statically linked XForms program ? Best regards, Gerald _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Todd.Denniston at ssa.crane.navy.mil Fri Oct 6 09:04:23 2006 From: Todd.Denniston at ssa.crane.navy.mil (Todd Denniston) Date: Fri, 06 Oct 2006 08:04:23 -0500 Subject: [XForms] Statically linked application In-Reply-To: <20061006105624.GA22692@john.toerring.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> Message-ID: <45265457.2020909@ssa.crane.navy.mil> Jens Thoms Toerring wrote: > To subscribers of the xforms list > > On Fri, Oct 06, 2006 at 10:36:08AM +0200, Gerald Emig wrote: >> is there any information available on how to create >> a statically linked XForms program ? > > Since, as far as I can see, there's a static as well as a dynamic > version of the XForms library installed per default you should > mostly only need to use the appropriate compiler/linker flags to > create a static program. E.g. for gcc you would need the option > '-static'. But, of course, you also need static library versions > of all other libraries involved to be installed on your system. > On mine (Linux) all required libraries (libm, libpthread, libX11, > libXpm) seem to exist in static versions except glibc, which I > would have to install in order to be able to create a program > without any external dependencies. On the other hand, the linker > just complains a bit about the program still requiring at runtime > the shared version of glib, but the resulting executable seems to > work fine, and perhaps you can live with that since a glibc will > probably exist on all systems you try to run the program on. Other- > wise install a static version of glibc on the system you build the > program on. Just don't be surprised about the size difference, a > small test program that was statically linked - as far as possible, > i.e. still dependent on the shared glic - is over 4 MB while, when > linked without '-static', it's only about 10k.... > > Regards, Jens Although I have forgotten how, it is possible to specify how each individual library should be linked, i.e., it is possible to tell the compiler link libforms static and libc dynamic, thus you could build on a box with Xforms and put it on systems that don't have Xforms installed. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter From gme at epr80.de Fri Oct 6 09:23:43 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 15:23:43 +0200 Subject: [XForms] Statically linked application In-Reply-To: <45265457.2020909@ssa.crane.navy.mil> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> Message-ID: <20061006152343.52bffa7d@emig4.heisch.inka.de> Hello all, many thanks for the hints. What Todd writes is just what I want to do. Many regards, Gerald Todd Denniston wrote: > Although I have forgotten how, it is possible to specify how each > individual library should be linked, i.e., it is possible to tell the > compiler link libforms static and libc dynamic, thus you could build > on a box with Xforms and put it on systems that don't have Xforms > installed. > > -- > Todd Denniston From jt at toerring.de Fri Oct 6 10:29:09 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Fri, 6 Oct 2006 16:29:09 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006152343.52bffa7d@emig4.heisch.inka.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> <20061006152343.52bffa7d@emig4.heisch.inka.de> Message-ID: <20061006142909.GA24016@john.toerring.de> On Fri, Oct 06, 2006 at 03:23:43PM +0200, Gerald Emig wrote: > Todd Denniston wrote: > > > Although I have forgotten how, it is possible to specify how each > > individual library should be linked, i.e., it is possible to tell the > > compiler link libforms static and libc dynamic, thus you could build > > on a box with Xforms and put it on systems that don't have Xforms > > installed. > > many thanks for the hints. What Todd writes is just what I want to do. If you just want to link against the static version of the XForms library but want to use the shared versions of all the other libraries then just explicitely link against teh staic library libforms.a, e.g. gcc -o xformtest xformtest.c /usr/local/lib/libforms.a \ -L/usr/X11R6/lib -lX11 -lm (assuming the static version of the XForms library is installed in /usr/local/lib). Static libaries are just a collection of object files and when linking you can use them the same way as object files. Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From gme at epr80.de Fri Oct 6 12:52:41 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 18:52:41 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006142909.GA24016@john.toerring.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> <20061006152343.52bffa7d@emig4.heisch.inka.de> <20061006142909.GA24016@john.toerring.de> Message-ID: <20061006185241.79fb4487@emig4.heisch.inka.de> Hello Jens, your "solution" is just what I need, thank you very much. Why ? I want to give away software for free, and say to the users that they must have xforms installed. Many of them then complain... Gerald On Fri, 6 Oct 2006 16:29:09 +0200 Jens Thoms Toerring wrote: > > If you just want to link against the static version of the XForms > library but want to use the shared versions of all the other > libraries then just explicitely link against teh staic library > libforms.a, e.g. > > gcc -o xformtest xformtest.c /usr/local/lib/libforms.a \ > -L/usr/X11R6/lib -lX11 -lm > From Steve.Kerich at smiths-aerospace.com Thu Oct 12 16:56:45 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Thu, 12 Oct 2006 14:56:45 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> I am having a problem with a question box. I use them throughout my code but this one keeps putting up a question box that is so big it goes off the left side of the screen and buttons that are huge. The text in the label and on the buttons is also corrupted. I found out by trail and error that if I show an alert box before making the call to show_question, the question box is the correct size. Has anyone seen something like this happen before? The show_alert is doing something to XForms that is making the show_question box work. I guess like flushing a buffer, reseting a pointer, or something. Below is the snippet from the program with the show_alert that makes this work. This only happens with the show_question call in the program. Elsewhere it works fine. Any ideas would be greatly appreciated. fl_show_alert("Nothing to write", "Test.", "test.", 1); fl_show_question("Write archive CD with current track layout?", 1); ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From jason.cipriani at gmail.com Thu Oct 12 17:30:43 2006 From: jason.cipriani at gmail.com (jason cipriani) Date: Thu, 12 Oct 2006 17:30:43 -0400 Subject: [XForms] question box appears huge In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> References: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: I've never seen that happen before. XForms may be kind of sketchy, but lord knows I've put it to the test over the last few years and I honestly believe that the goodie boxes are stable and bug-free. Are you making sure you are calling fl_initialize when your application starts before doing any other xforms stuff? That aside, the cuplrit of odd problems like that is usually some memory-related issue elsewhere in the program. Perhaps some of your code is writing past the end of a buffer somewhere and coincidently corrupting certain xforms data structures. Showing the alert box may reinitialize some data, or may move things around in memory so that the other issue no longer affects the quesiton box. Sorry, I can't think of any other reason that would occur unless there's some weird X or window-manager related problem that is only affecting that one message box for some reason. Jason On 10/12/06, Kerich, Steve (AGTE) wrote: > To subscribers of the xforms list > > > I am having a problem with a question box. I use them throughout my code > but this one keeps putting up a question box that is so big it goes off > the left side of the screen and buttons that are huge. The text in the > label and on the buttons is also corrupted. I found out by trail and > error that if I show an alert box before making the call to > show_question, the question box is the correct size. Has anyone seen > something like this happen before? The show_alert is doing something to > XForms that is making the show_question box work. I guess like flushing > a buffer, reseting a pointer, or something. Below is the snippet from > the program with the show_alert that makes this work. This only happens > with the show_question call in the program. Elsewhere it works fine. > > Any ideas would be greatly appreciated. > > fl_show_alert("Nothing to write", > "Test.", > "test.", > 1); > > fl_show_question("Write archive CD with current track layout?", > 1); > > > ****************************************** > The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. > ****************************************** > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From Steve.Kerich at smiths-aerospace.com Fri Oct 13 12:25:14 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Fri, 13 Oct 2006 10:25:14 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7A8@cossmgmbx06.EMAIL.CORP.TLD> Hi Jason, Thanks for getting back with me so quickly. I really didn't know if there was anyone out there that would respond to a Xforms question. A totally agree with your suggestions about a buffer over run or a crazy pointer. There is another yes/no box that is consistently doing corrupted text. The buttons come up with stuff like "true" "true" for the selections which is pretty funny to see since they are both true but not to the user. Since this is only happening in two totally different area, I would have to agree that something is getting stepped on. I'm going to work backwards and look at all the data writes to see if I can How well do you understand how Xforms works under the hood? How would/could the alert box being shown fix the question box data structure? There must be something shared between them that is getting reinitialized. Update: I did some more testing and it seems that if I call the question box before making my finish subroutine call, the box is normal but if I make the same call as the first line after the call, the box is corrupted. It would help if I could understand how the Alert box was able to reinit the question box. Let me know what you think, Steve (\__/) (='.'=) (")_(") -----Original Message----- From: jason cipriani [mailto:jason.cipriani at gmail.com] Sent: Thursday, October 12, 2006 5:31 PM To: Kerich, Steve (AGTE) Cc: xforms at bob.usuhs.mil Subject: Re: [XForms] question box appears huge I've never seen that happen before. XForms may be kind of sketchy, but lord knows I've put it to the test over the last few years and I honestly believe that the goodie boxes are stable and bug-free. Are you making sure you are calling fl_initialize when your application starts before doing any other xforms stuff? That aside, the cuplrit of odd problems like that is usually some memory-related issue elsewhere in the program. Perhaps some of your code is writing past the end of a buffer somewhere and coincidently corrupting certain xforms data structures. Showing the alert box may reinitialize some data, or may move things around in memory so that the other issue no longer affects the quesiton box. Sorry, I can't think of any other reason that would occur unless there's some weird X or window-manager related problem that is only affecting that one message box for some reason. Jason On 10/12/06, Kerich, Steve (AGTE) wrote: > To subscribers of the xforms list > > > I am having a problem with a question box. I use them throughout my > code but this one keeps putting up a question box that is so big it > goes off the left side of the screen and buttons that are huge. The > text in the label and on the buttons is also corrupted. I found out by > trail and error that if I show an alert box before making the call to > show_question, the question box is the correct size. Has anyone seen > something like this happen before? The show_alert is doing something > to XForms that is making the show_question box work. I guess like > flushing a buffer, reseting a pointer, or something. Below is the > snippet from the program with the show_alert that makes this work. > This only happens with the show_question call in the program. Elsewhere it works fine. > > Any ideas would be greatly appreciated. > > fl_show_alert("Nothing to write", > "Test.", > "test.", > 1); > > fl_show_question("Write archive CD with current track layout?", > 1); > > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms List Archive: > http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > ______________________________________________________________________ CAUTION: This message was sent via the Public Internet and its authenticity cannot be guaranteed. ______________________________________________________ -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From Steve.Kerich at smiths-aerospace.com Mon Oct 16 09:43:43 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Mon, 16 Oct 2006 07:43:43 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7B1@cossmgmbx06.EMAIL.CORP.TLD> Hi I spend all day Friday trying investigating the big box issue and found out in the end that it was being caused by my local stack overflowing. I don't have any direct proof that this is the case but through trial and error I found that if I made more room on the stack that the box returned to normal size. I was surprised that a stack problem would manifest itself with Xforms putting up a box question box but I guess anything is possible. I'm just glad its fixed! Steve ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From Steve.Kerich at smiths-aerospace.com Wed Dec 13 16:17:41 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Wed, 13 Dec 2006 14:17:41 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA919@cossmgmbx06.EMAIL.CORP.TLD> Hi The problem I was having with the question box appearing with either the button text corrupted or the title bar text corrupted, or the box itself is many times the correct size. It was first thought to be a stack problem because I could move large arrays out of a local routine and the problem would go away. Through our system testing have found 4 separate places in 4 different executable images where a question box is not being displayed correctly. The one that was discovered this week is directly tied to the use of a slider function . As the slider is moved closer to the bottom of its range the problem with the question box gets worse. What I mean by worse is that when the slider is about 1/4 from the bottom the text on the question box when the cancel is selected is corrupted to true & true . If the slider is moved to close or at the bottom the range, the corruption gets worse and the size of the box is huge . The callback for all slider positions is the same but this problem only happens when the slider is put at the bottom. Strange Huh. The only box in all 4 executables that has a problem is the question box. No other box type. But it is every time it is used. We use the question box a lot and most times it works just fine. This interaction between the slider and the question box where the slider seems to directly affect the question box by its position does not make sense. The slider value is simply saved as it is changed and are small numbers. (see code snippet below). This display issue is a real problem for our customer because the operators really don't know what to do when this happens. The box still functions if you figure out what button to push! HELP! Does anyone have any ideas about this? It just seems like there is something going on with how the question box is executed and I can fix it in most cases (not the slider case) by clearing as much of my local stack as possible. I have .jpgs of what it looks like but can't post them but can send them if someone wants to see what I am talking about. Thanks Steve void VolumeSlider_Callback(FL_OBJECT *ob, long data) { char NewValue[256]; /* Set the volume level in the AudibleAlarmInfo Array for saving later */ AudibleAlarmInfo[bSelectedAlarm].Volume = (int)fl_get_slider_value(ob); /* Convert unsigned int to string and pass to text box */ sprintf(NewValue, "%d", AudibleAlarmInfo[bSelectedAlarm].Volume); fl_set_object_label(fd_AudibleAlarmGui->VolumeText, NewValue); #ifdef ALARM_DEBUG printf("New slider volume: %d for %s index %d data %d\n", AudibleAlarmInfo[bSelectedAlarm].Volume, AudibleAlarmInfo[bSelectedAlarm].AlarmType, bSelectedAlarm, (int)data); #endif /* Set the dirty bit indicating the data has changed */ bDirtyBit = TRUE; } ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From joel.moots at ngc.com Wed Dec 13 16:38:58 2006 From: joel.moots at ngc.com (Moots, Joel A. (IT Solutions/EOS)) Date: Wed, 13 Dec 2006 14:38:58 -0700 Subject: [XForms] corrupted text or big question box returns In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA919@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: <988FAD2E161E4347BFD7EC93A4D05904022F490E@xcgaz701.northgrum.com> If you remove the callback or comment out its body, does the problem go away? -joel -----Original Message----- From: xforms-bounces at bob.usuhs.mil [mailto:xforms-bounces at bob.usuhs.mil] On Behalf Of Kerich, Steve (AGTE) Sent: Wednesday, December 13, 2006 2:18 PM To: xforms at bob.usuhs.mil Subject: [XForms] corrupted text or big question box returns To subscribers of the xforms list Hi The problem I was having with the question box appearing with either the button text corrupted or the title bar text corrupted, or the box itself is many times the correct size. It was first thought to be a stack problem because I could move large arrays out of a local routine and the problem would go away. Through our system testing have found 4 separate places in 4 different executable images where a question box is not being displayed correctly. The one that was discovered this week is directly tied to the use of a slider function . As the slider is moved closer to the bottom of its range the problem with the question box gets worse. What I mean by worse is that when the slider is about 1/4 from the bottom the text on the question box when the cancel is selected is corrupted to true & true . If the slider is moved to close or at the bottom the range, the corruption gets worse and the size of the box is huge . The callback for all slider positions is the same but this problem only happens when the slider is put at the bottom. Strange Huh. The only box in all 4 executables that has a problem is the question box. No other box type. But it is every time it is used. We use the question box a lot and most times it works just fine. This interaction between the slider and the question box where the slider seems to directly affect the question box by its position does not make sense. The slider value is simply saved as it is changed and are small numbers. (see code snippet below). This display issue is a real problem for our customer because the operators really don't know what to do when this happens. The box still functions if you figure out what button to push! HELP! Does anyone have any ideas about this? It just seems like there is something going on with how the question box is executed and I can fix it in most cases (not the slider case) by clearing as much of my local stack as possible. I have .jpgs of what it looks like but can't post them but can send them if someone wants to see what I am talking about. Thanks Steve void VolumeSlider_Callback(FL_OBJECT *ob, long data) { char NewValue[256]; /* Set the volume level in the AudibleAlarmInfo Array for saving later */ AudibleAlarmInfo[bSelectedAlarm].Volume = (int)fl_get_slider_value(ob); /* Convert unsigned int to string and pass to text box */ sprintf(NewValue, "%d", AudibleAlarmInfo[bSelectedAlarm].Volume); fl_set_object_label(fd_AudibleAlarmGui->VolumeText, NewValue); #ifdef ALARM_DEBUG printf("New slider volume: %d for %s index %d data %d\n", AudibleAlarmInfo[bSelectedAlarm].Volume, AudibleAlarmInfo[bSelectedAlarm].AlarmType, bSelectedAlarm, (int)data); #endif /* Set the dirty bit indicating the data has changed */ bDirtyBit = TRUE; } ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Steve.Kerich at smiths-aerospace.com Wed Dec 20 15:15:13 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Wed, 20 Dec 2006 13:15:13 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA942@cossmgmbx06.EMAIL.CORP.TLD> Thanks for responding Joel. Sorry for the delay in getting back. If I don't call the question box (fl_show_question("Do you want to save the new volume level(s)?",0)) ), all other boxes appear just fine. Its only the question box that is displayed either as a huge size or the text in the buttons are corrupted. I was able to reduce the slider-question box program down to just two elements, the slider, a cancel button which calls the question box, and the problem still occurs. Really weird. But now it is narrowed down to a very few lines of code and is repeatable over and over. The code does nothing but read the value from the slider. No other processing. This is why this is a great test case. I am hoping that this is the same problem as I am seeing with the other 2 executables that do this too but don't have slider boxes. One has a browser window and the other has a tabbed form open. It make this problem even stranger it depends upon the position of the slider whether the question box appears as a huge box, corrupted text on yes/no buttons, or normally. Any value from 60 to 100 allows the box to be displayed normally. There does not seem to be any pattern to it and I have tried this on 3 different machines running Solaris 8 and the same thing happens BUT the numbers it happens with change. Weird again. I can't debug XForms source so I need help from the community. I have zipped up the source, make, binary etc to make my test program which will cause this problem. I just need someone to take a little time to look into how this can be happening to the question box. If someone would like me to send it to them with some .jpgs of the problem, I will right away. It just freaks the military operators out when a huge box that goes off the right side of the screen shows up or the buttons don't have text that makes sense. Thanks Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ From Steve.Kerich at smiths-aerospace.com Thu Dec 28 13:24:13 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Thu, 28 Dec 2006 11:24:13 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA961@cossmgmbx06.EMAIL.CORP.TLD> Hi I have been doing more testing and have found with my test program that if I call fl_show_alert before fl_show_question, the corruption of the question box goes away. I have noticed this fix also works for another executable that is having trouble with the question box. If I display an alert just before the question box, the problem goes away. I haven't tried it with the other 2 images that are showing the same/similar problem. There must be some XForms connection between the two. My test program is very very small so I don't believe that there are pointer or memory stack issues involved. Jens tried out my test program on a Linux box using gcc but was unable to reproduce the problem I have been seeing. So I guess that is a clue too. That it has something to so with Solaris or the compiler. The compiler used is SUNspro instead of gcc. I do not know why this compiler was picked in the beginning. Because this problem is spread through several of our applications, I really need to find a solution. Is there anyone who has debug ideas or could help with this? Any help would be appreciated. Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ From joel.moots at ngc.com Thu Dec 28 13:58:33 2006 From: joel.moots at ngc.com (Moots, Joel A. (IT Solutions/EOS)) Date: Thu, 28 Dec 2006 11:58:33 -0700 Subject: [XForms] corrupted text or big question box returns In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA961@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: <988FAD2E161E4347BFD7EC93A4D05904022F4B69@xcgaz701.northgrum.com> Since the program is so small, can you find the smallest amount of code needed for you to reproduce the problem and then paste just the parts you wrote to this list? E.g., if you don't need a slider callback to reproduce the problem, get rid of it; if you need the callback but don't need to retrieve the value, get rid of it; etc. If that's still rather large, can you tar/gzip just the source files with no extension on the filename and email to me. TIA, -joel -----Original Message----- From: xforms-bounces at bob.usuhs.mil [mailto:xforms-bounces at bob.usuhs.mil] On Behalf Of Kerich, Steve (AGTE) Sent: Thursday, December 28, 2006 11:24 AM To: xforms at bob.usuhs.mil Subject: [XForms] corrupted text or big question box returns To subscribers of the xforms list Hi I have been doing more testing and have found with my test program that if I call fl_show_alert before fl_show_question, the corruption of the question box goes away. I have noticed this fix also works for another executable that is having trouble with the question box. If I display an alert just before the question box, the problem goes away. I haven't tried it with the other 2 images that are showing the same/similar problem. There must be some XForms connection between the two. My test program is very very small so I don't believe that there are pointer or memory stack issues involved. Jens tried out my test program on a Linux box using gcc but was unable to reproduce the problem I have been seeing. So I guess that is a clue too. That it has something to so with Solaris or the compiler. The compiler used is SUNspro instead of gcc. I do not know why this compiler was picked in the beginning. Because this problem is spread through several of our applications, I really need to find a solution. Is there anyone who has debug ideas or could help with this? Any help would be appreciated. Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Jean-Marc.Lasgouttes at inria.fr Fri Jan 27 10:29:06 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Fri, 27 Jan 2006 16:29:06 +0100 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X In-Reply-To: <73605DC8-D5F9-46A5-B302-7783D84E9176@wooster.edu> (Rick Drushal's message of "Fri, 27 Jan 2006 01:29:36 -0500") References: <73605DC8-D5F9-46A5-B302-7783D84E9176@wooster.edu> Message-ID: >>>>> "Rick" == Rick Drushal writes: Rick> I am trying to build the xforms libraries on my OS X Tiger Rick> system. I only need to build because I only need access to the Rick> .h and .a files. When i run :./configure it balks because it Rick> "Cannot find libjpeg". I have installed this library via fink, Rick> with no success and even downloaded the source and compiled it Rick> myself, also with no effect. If and of you have any good ideas Rick> of where to go with this next I would appreciate it. Hello Rick, Where are the headers/library installed? You can use --with-extra-inc and --with-extra-lib to point there. JMarc PS: I changed the destination to the real xforms list. From jac4 at mindless.com Fri Jan 27 11:36:07 2006 From: jac4 at mindless.com (jason cipriani) Date: Fri, 27 Jan 2006 11:36:07 -0500 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X Message-ID: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> > To subscribers of the xforms list > > >>>>> "Rick" == Rick Drushal writes: > > Rick> I am trying to build the xforms libraries on my OS X Tiger > Rick> system. I only need to build because I only need access to the > Rick> .h and .a files. When i run :./configure it balks because it > Rick> "Cannot find libjpeg". I have installed this library via fink, > Rick> with no success and even downloaded the source and compiled it > Rick> myself, also with no effect. If and of you have any good ideas > Rick> of where to go with this next I would appreciate it. > > Hello Rick, > > Where are the headers/library installed? You can use --with-extra-inc > and --with-extra-lib to point there. fink installs them to /sw/lib and /sw/include i believe. > > JMarc > > PS: I changed the destination to the real xforms list. > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From Jean-Marc.Lasgouttes at inria.fr Fri Jan 27 16:46:09 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Fri, 27 Jan 2006 22:46:09 +0100 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X In-Reply-To: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> (jason cipriani's message of "Fri, 27 Jan 2006 11:36:07 -0500") References: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> Message-ID: >>>>> "jason" == jason cipriani writes: jason> fink installs them to /sw/lib and /sw/include i believe. so ./configure --with-extra-prefix=/sw should do the trick. JMarc From giulio.ballardin at ego-gw.it Thu Feb 16 04:39:46 2006 From: giulio.ballardin at ego-gw.it (Giulio Ballardin) Date: Thu, 16 Feb 2006 10:39:46 +0100 Subject: [XForms] Counter Message-ID: Hi, I'm using linux readhat 9.0 and Library 1.1. I built an user Interface with some counters. It appends that when a click only one time on the counter arrow, some time the number increases more than it should. It seems a problem of mouse sensibility or a problem of counter sensibility. How can I fixe this problem? thank you, Giulio From jt at toerring.de Thu Feb 16 05:58:49 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Thu, 16 Feb 2006 11:58:49 +0100 Subject: [XForms] Counter In-Reply-To: References: Message-ID: <20060216105849.GA24320@john.toerring.de> Hello Guilio, On Thu, Feb 16, 2006 at 10:39:46AM +0100, Giulio Ballardin wrote: > I'm using linux readhat 9.0 and Library 1.1. I built an user Interface > with some counters. It appends that when a click > only one time on the counter arrow, some time the number > increases more than it should. It seems a problem > of mouse sensibility or a problem of counter sensibility. > How can I fixe this problem? Unfortunately, your description of the problem is a bit vague. I also don't know what a "counter arrow" is - is that a button with an arrow drawn on it or something else? It probably would help if you could you post the code you are using, ideally as a complete, compilable program with everything thrown out except the part that exhibits the problem you encounter. Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From kro at grizzly.tphys.uni-linz.ac.at Wed Apr 19 23:00:34 2006 From: kro at grizzly.tphys.uni-linz.ac.at (Eckhard Krotscheck) Date: Thu, 20 Apr 2006 05:00:34 +0200 (CEST) Subject: [XForms] activity Message-ID: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> This is just to see if there is still any activity on the Xforms mailing list... From M.Holme at mmu.ac.uk Thu Apr 20 06:26:19 2006 From: M.Holme at mmu.ac.uk (Michael Holme) Date: Thu, 20 Apr 2006 11:26:19 +0100 Subject: [XForms] xforms for Mac OSX - a request please Message-ID: <6.1.0.6.0.20060420112117.01a7b700@patsy.doc.aca.mmu.ac.uk> Hello List, This is my first post (I think, I used to be an active xforms programmer years ago). I've been asked to port an xforms application from Linux to Mac OSX and the old site that contains the binaries of the various xforms libraries doesn't seem to be giving me much joy. Does anybody have a binary distribution of the xforms library that isn't too customised with regard to directories, etc that could be emailed to me, or I could download ? I'd appreciate any help. Thanks, Mike Holme Before acting on this email or opening any attachments you should read the Manchester Metropolitan Universitys' email disclaimer available on its website http://www.mmu.ac.uk/emaildisclaimer From Jean-Marc.Lasgouttes at inria.fr Thu Apr 20 08:59:24 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Thu, 20 Apr 2006 14:59:24 +0200 Subject: [XForms] activity In-Reply-To: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> (Eckhard Krotscheck's message of "Thu, 20 Apr 2006 05:00:34 +0200 (CEST)") References: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> Message-ID: >>>>> "Eckhard" == Eckhard Krotscheck writes: Eckhard> This is just to see if there is still any activity on the Eckhard> Xforms mailing list... There is not much activity unfortunately :( JMarc From jac4 at mindless.com Thu Apr 20 09:51:13 2006 From: jac4 at mindless.com (jason cipriani) Date: Thu, 20 Apr 2006 08:51:13 -0500 Subject: [XForms] xforms for Mac OSX - a request please Message-ID: <20060420135113.F10D983985@ws1-2a.us4.outblaze.com> I have built xforms succesfully on OSX. It's not native, of course, it still runs through the X server. The build process is straightforward, I don't recall running in to any issues. But I can send you the binaries later today or tomorrow if you'd like. Jason > ----- Original Message ----- > From: "Michael Holme" > To: xforms at bob.usuhs.mil > Subject: [XForms] xforms for Mac OSX - a request please > Date: Thu, 20 Apr 2006 11:26:19 +0100 > > > To subscribers of the xforms list > > Hello List, > > This is my first post (I think, I used to be an active xforms > programmer years ago). I've been asked to port an xforms application from > Linux to Mac OSX and the old site that contains the binaries of the various > xforms libraries doesn't seem to be giving me much joy. Does anybody have a > binary distribution of the xforms library that isn't too customised with > regard to directories, etc that could be emailed to me, or I could download ? > I'd appreciate any help. > > Thanks, > Mike Holme > > > Before acting on this email or opening any attachments you should read the > Manchester Metropolitan Universitys' email disclaimer available on its website > http://www.mmu.ac.uk/emaildisclaimer > > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From poenikatu at operamail.com Sun May 21 05:19:20 2006 From: poenikatu at operamail.com (Sian Mountbatten) Date: Sun, 21 May 2006 10:19:20 +0100 Subject: [XForms] Algol 68 binding Message-ID: <44703098.806@operamail.com> I have written a binding for the RS Algol 68 compiler (algol68toc) which I ported to Linux some years ago. Currently, I am converting the documentation to LaTeX and translating the examples to Algol 68 so that the resulting manual can be used to write GUI programs in Web 68 (the literate programming system for Algol 68). Because the source documentation is only available in HTML, I have LaTeXified that version and am in the process of converting it to full LaTeX. Of course, if the original documentation were available, because it is already in TeX form, it would be ease my task considerably. Does anybody know where the original documentation is and whether a copy can be obtained? Regards -- Sian Mountbatten From psg at debian.org Wed May 24 16:42:53 2006 From: psg at debian.org (Peter S Galbraith) Date: Wed, 24 May 2006 16:42:53 -0400 Subject: [XForms] Re: XForms: Documentation In-Reply-To: Message from Peter S Galbraith of "Tue, 08 Feb 2005 09:22:41 EST." <20050208142241.8683AAB07E@mixing.qc.dfo.ca> References: <20030908154838.51918.qmail@web13407.mail.yahoo.com> <20050208142241.8683AAB07E@mixing.qc.dfo.ca> Message-ID: <22216.1148503373@mixing.qc.dfo.ca> Hello T.C. (and the XForms list) Consider this the yearly nudge to release the sources of the XForms manual. Someone just emailed me today about them, so I'm sure they would still be appreciated and used by many. Thanks, Peter On 08 Feb 2005, I wrote: > On Sept 8th 2003, T.C. Zhao wrote: > > > Sorry for the delay and thanks for the info. GPL it is. > > > > I am currently travelling and will be back home end of September. Expect the > > free manual in October sometime. > > > > -TC > > --- Peter S Galbraith wrote: > > > To subscribers of the xforms list > > > > > > > > > T.C. Zhao wrote: > > > > > > > All I need to do is boot up my old linux box and recover the doc > > > > and send it. Will do this sometime in April (I've been travelling, > > > > and am sending this email from Tokyo). > > > > -TC > > > > > > Hi T.C., > > > > > > I really hate to keep nagging you like this. :-) > > > > > > You meant to release the sources of the XForms manual last April but > > > never got around to it. This is a reminder. Also, please avoid using > > > the GNU Free Documentation License (GFDL) since it not a free software > > > license and therefore cannot be included in the Debian distribution. > > > Using the GPL would be fine. > > Hello T.C., > > Consider this another nudge to release the sources of the XForms > manual. On the plus side, I didn't nag you in 2004. ;-) > > Please consider taking some time to actually do this now, while the > sources still exist, and before you get hit by a bus or something and > they are gone forever. The XForms sources have been free for a long > time now (Thanks!) and they really should have free documentation. > > Thanks, > -- > Peter S. Galbraith, Debian Developer > http://people.debian.org/~psg > GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E -- Peter S. Galbraith, Debian Developer http://people.debian.org/~psg GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E From jason.cipriani at gmail.com Wed May 31 20:38:21 2006 From: jason.cipriani at gmail.com (jason cipriani) Date: Wed, 31 May 2006 20:38:21 -0400 Subject: [XForms] Test, feel free to ignore this. Message-ID: Just a test (shiny new email address :), sorry to spam you all! Jason From juerg.hauser at krist.unibe.ch Thu Aug 24 02:43:48 2006 From: juerg.hauser at krist.unibe.ch (=?ISO-8859-15?Q?J=FCrg_Hauser?=) Date: Thu, 24 Aug 2006 08:43:48 +0200 Subject: [XForms] CygwinX maximize/restore for fixed size form Message-ID: <44ED4AA4.6070208@krist.unibe.ch> I'm porting an application using xforms to CygwinX (default installation). Although the application window is given fixed size (fl_show_form with place=FL_PLACE_CENTER) a maximize/restore button is displayed. In Linux (SUSE, RedHat) I only get the minimize and close buttons. Any help is appreciated. Regards, Juerg -- ____________________________ Universit?t Bern Laboratorium f?r chemische und mineralogische Kristallographie Dr. J?rg Hauser Freiestrasse 3 CH-3012 Bern Tel. +41 (0)31 631 43 90 Fax +41 (0)31 631 39 96 mailto:juerg.hauser at krist.unibe.ch http://www.krist.unibe.ch From gme at epr80.de Fri Oct 6 04:36:08 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 10:36:08 +0200 Subject: [XForms] Statically linked application Message-ID: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Hello, is there any information available on how to create a statically linked XForms program ? Best regards, Gerald From jt at toerring.de Fri Oct 6 06:56:25 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Fri, 6 Oct 2006 12:56:25 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006103608.0f0b0eea@emig4.heisch.inka.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Message-ID: <20061006105624.GA22692@john.toerring.de> On Fri, Oct 06, 2006 at 10:36:08AM +0200, Gerald Emig wrote: > is there any information available on how to create > a statically linked XForms program ? Since, as far as I can see, there's a static as well as a dynamic version of the XForms library installed per default you should mostly only need to use the appropriate compiler/linker flags to create a static program. E.g. for gcc you would need the option '-static'. But, of course, you also need static library versions of all other libraries involved to be installed on your system. On mine (Linux) all required libraries (libm, libpthread, libX11, libXpm) seem to exist in static versions except glibc, which I would have to install in order to be able to create a program without any external dependencies. On the other hand, the linker just complains a bit about the program still requiring at runtime the shared version of glib, but the resulting executable seems to work fine, and perhaps you can live with that since a glibc will probably exist on all systems you try to run the program on. Other- wise install a static version of glibc on the system you build the program on. Just don't be surprised about the size difference, a small test program that was statically linked - as far as possible, i.e. still dependent on the shared glic - is over 4 MB while, when linked without '-static', it's only about 10k.... Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From dadembro at rockwellcollins.com Fri Oct 6 08:26:19 2006 From: dadembro at rockwellcollins.com (dadembro at rockwellcollins.com) Date: Fri, 6 Oct 2006 08:26:19 -0400 Subject: [XForms] Statically linked application In-Reply-To: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Message-ID: An example compiler command I used many years ago. Some compiler options may have changed but it may point you in the right direction. gcc ?O ?o mm object_files ?Xlinker ?Bstatic ?lforms \ ?Xlinker ?Bdynamic ?L/usr/X11R6/lib ?lX11 ?lm ?lXpm ?lXext Good luck, ---d.dembrow Gerald Emig Sent by: To xforms-bounces at bo XFORMS list b.usuhs.mil cc Subject 10/06/2006 04:36 [XForms] Statically linked AM application To subscribers of the xforms list Hello, is there any information available on how to create a statically linked XForms program ? Best regards, Gerald _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Todd.Denniston at ssa.crane.navy.mil Fri Oct 6 09:04:23 2006 From: Todd.Denniston at ssa.crane.navy.mil (Todd Denniston) Date: Fri, 06 Oct 2006 08:04:23 -0500 Subject: [XForms] Statically linked application In-Reply-To: <20061006105624.GA22692@john.toerring.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> Message-ID: <45265457.2020909@ssa.crane.navy.mil> Jens Thoms Toerring wrote: > To subscribers of the xforms list > > On Fri, Oct 06, 2006 at 10:36:08AM +0200, Gerald Emig wrote: >> is there any information available on how to create >> a statically linked XForms program ? > > Since, as far as I can see, there's a static as well as a dynamic > version of the XForms library installed per default you should > mostly only need to use the appropriate compiler/linker flags to > create a static program. E.g. for gcc you would need the option > '-static'. But, of course, you also need static library versions > of all other libraries involved to be installed on your system. > On mine (Linux) all required libraries (libm, libpthread, libX11, > libXpm) seem to exist in static versions except glibc, which I > would have to install in order to be able to create a program > without any external dependencies. On the other hand, the linker > just complains a bit about the program still requiring at runtime > the shared version of glib, but the resulting executable seems to > work fine, and perhaps you can live with that since a glibc will > probably exist on all systems you try to run the program on. Other- > wise install a static version of glibc on the system you build the > program on. Just don't be surprised about the size difference, a > small test program that was statically linked - as far as possible, > i.e. still dependent on the shared glic - is over 4 MB while, when > linked without '-static', it's only about 10k.... > > Regards, Jens Although I have forgotten how, it is possible to specify how each individual library should be linked, i.e., it is possible to tell the compiler link libforms static and libc dynamic, thus you could build on a box with Xforms and put it on systems that don't have Xforms installed. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter From gme at epr80.de Fri Oct 6 09:23:43 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 15:23:43 +0200 Subject: [XForms] Statically linked application In-Reply-To: <45265457.2020909@ssa.crane.navy.mil> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> Message-ID: <20061006152343.52bffa7d@emig4.heisch.inka.de> Hello all, many thanks for the hints. What Todd writes is just what I want to do. Many regards, Gerald Todd Denniston wrote: > Although I have forgotten how, it is possible to specify how each > individual library should be linked, i.e., it is possible to tell the > compiler link libforms static and libc dynamic, thus you could build > on a box with Xforms and put it on systems that don't have Xforms > installed. > > -- > Todd Denniston From jt at toerring.de Fri Oct 6 10:29:09 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Fri, 6 Oct 2006 16:29:09 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006152343.52bffa7d@emig4.heisch.inka.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> <20061006152343.52bffa7d@emig4.heisch.inka.de> Message-ID: <20061006142909.GA24016@john.toerring.de> On Fri, Oct 06, 2006 at 03:23:43PM +0200, Gerald Emig wrote: > Todd Denniston wrote: > > > Although I have forgotten how, it is possible to specify how each > > individual library should be linked, i.e., it is possible to tell the > > compiler link libforms static and libc dynamic, thus you could build > > on a box with Xforms and put it on systems that don't have Xforms > > installed. > > many thanks for the hints. What Todd writes is just what I want to do. If you just want to link against the static version of the XForms library but want to use the shared versions of all the other libraries then just explicitely link against teh staic library libforms.a, e.g. gcc -o xformtest xformtest.c /usr/local/lib/libforms.a \ -L/usr/X11R6/lib -lX11 -lm (assuming the static version of the XForms library is installed in /usr/local/lib). Static libaries are just a collection of object files and when linking you can use them the same way as object files. Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From gme at epr80.de Fri Oct 6 12:52:41 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 18:52:41 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006142909.GA24016@john.toerring.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> <20061006152343.52bffa7d@emig4.heisch.inka.de> <20061006142909.GA24016@john.toerring.de> Message-ID: <20061006185241.79fb4487@emig4.heisch.inka.de> Hello Jens, your "solution" is just what I need, thank you very much. Why ? I want to give away software for free, and say to the users that they must have xforms installed. Many of them then complain... Gerald On Fri, 6 Oct 2006 16:29:09 +0200 Jens Thoms Toerring wrote: > > If you just want to link against the static version of the XForms > library but want to use the shared versions of all the other > libraries then just explicitely link against teh staic library > libforms.a, e.g. > > gcc -o xformtest xformtest.c /usr/local/lib/libforms.a \ > -L/usr/X11R6/lib -lX11 -lm > From Steve.Kerich at smiths-aerospace.com Thu Oct 12 16:56:45 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Thu, 12 Oct 2006 14:56:45 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> I am having a problem with a question box. I use them throughout my code but this one keeps putting up a question box that is so big it goes off the left side of the screen and buttons that are huge. The text in the label and on the buttons is also corrupted. I found out by trail and error that if I show an alert box before making the call to show_question, the question box is the correct size. Has anyone seen something like this happen before? The show_alert is doing something to XForms that is making the show_question box work. I guess like flushing a buffer, reseting a pointer, or something. Below is the snippet from the program with the show_alert that makes this work. This only happens with the show_question call in the program. Elsewhere it works fine. Any ideas would be greatly appreciated. fl_show_alert("Nothing to write", "Test.", "test.", 1); fl_show_question("Write archive CD with current track layout?", 1); ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From jason.cipriani at gmail.com Thu Oct 12 17:30:43 2006 From: jason.cipriani at gmail.com (jason cipriani) Date: Thu, 12 Oct 2006 17:30:43 -0400 Subject: [XForms] question box appears huge In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> References: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: I've never seen that happen before. XForms may be kind of sketchy, but lord knows I've put it to the test over the last few years and I honestly believe that the goodie boxes are stable and bug-free. Are you making sure you are calling fl_initialize when your application starts before doing any other xforms stuff? That aside, the cuplrit of odd problems like that is usually some memory-related issue elsewhere in the program. Perhaps some of your code is writing past the end of a buffer somewhere and coincidently corrupting certain xforms data structures. Showing the alert box may reinitialize some data, or may move things around in memory so that the other issue no longer affects the quesiton box. Sorry, I can't think of any other reason that would occur unless there's some weird X or window-manager related problem that is only affecting that one message box for some reason. Jason On 10/12/06, Kerich, Steve (AGTE) wrote: > To subscribers of the xforms list > > > I am having a problem with a question box. I use them throughout my code > but this one keeps putting up a question box that is so big it goes off > the left side of the screen and buttons that are huge. The text in the > label and on the buttons is also corrupted. I found out by trail and > error that if I show an alert box before making the call to > show_question, the question box is the correct size. Has anyone seen > something like this happen before? The show_alert is doing something to > XForms that is making the show_question box work. I guess like flushing > a buffer, reseting a pointer, or something. Below is the snippet from > the program with the show_alert that makes this work. This only happens > with the show_question call in the program. Elsewhere it works fine. > > Any ideas would be greatly appreciated. > > fl_show_alert("Nothing to write", > "Test.", > "test.", > 1); > > fl_show_question("Write archive CD with current track layout?", > 1); > > > ****************************************** > The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. > ****************************************** > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From Steve.Kerich at smiths-aerospace.com Fri Oct 13 12:25:14 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Fri, 13 Oct 2006 10:25:14 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7A8@cossmgmbx06.EMAIL.CORP.TLD> Hi Jason, Thanks for getting back with me so quickly. I really didn't know if there was anyone out there that would respond to a Xforms question. A totally agree with your suggestions about a buffer over run or a crazy pointer. There is another yes/no box that is consistently doing corrupted text. The buttons come up with stuff like "true" "true" for the selections which is pretty funny to see since they are both true but not to the user. Since this is only happening in two totally different area, I would have to agree that something is getting stepped on. I'm going to work backwards and look at all the data writes to see if I can How well do you understand how Xforms works under the hood? How would/could the alert box being shown fix the question box data structure? There must be something shared between them that is getting reinitialized. Update: I did some more testing and it seems that if I call the question box before making my finish subroutine call, the box is normal but if I make the same call as the first line after the call, the box is corrupted. It would help if I could understand how the Alert box was able to reinit the question box. Let me know what you think, Steve (\__/) (='.'=) (")_(") -----Original Message----- From: jason cipriani [mailto:jason.cipriani at gmail.com] Sent: Thursday, October 12, 2006 5:31 PM To: Kerich, Steve (AGTE) Cc: xforms at bob.usuhs.mil Subject: Re: [XForms] question box appears huge I've never seen that happen before. XForms may be kind of sketchy, but lord knows I've put it to the test over the last few years and I honestly believe that the goodie boxes are stable and bug-free. Are you making sure you are calling fl_initialize when your application starts before doing any other xforms stuff? That aside, the cuplrit of odd problems like that is usually some memory-related issue elsewhere in the program. Perhaps some of your code is writing past the end of a buffer somewhere and coincidently corrupting certain xforms data structures. Showing the alert box may reinitialize some data, or may move things around in memory so that the other issue no longer affects the quesiton box. Sorry, I can't think of any other reason that would occur unless there's some weird X or window-manager related problem that is only affecting that one message box for some reason. Jason On 10/12/06, Kerich, Steve (AGTE) wrote: > To subscribers of the xforms list > > > I am having a problem with a question box. I use them throughout my > code but this one keeps putting up a question box that is so big it > goes off the left side of the screen and buttons that are huge. The > text in the label and on the buttons is also corrupted. I found out by > trail and error that if I show an alert box before making the call to > show_question, the question box is the correct size. Has anyone seen > something like this happen before? The show_alert is doing something > to XForms that is making the show_question box work. I guess like > flushing a buffer, reseting a pointer, or something. Below is the > snippet from the program with the show_alert that makes this work. > This only happens with the show_question call in the program. Elsewhere it works fine. > > Any ideas would be greatly appreciated. > > fl_show_alert("Nothing to write", > "Test.", > "test.", > 1); > > fl_show_question("Write archive CD with current track layout?", > 1); > > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms List Archive: > http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > ______________________________________________________________________ CAUTION: This message was sent via the Public Internet and its authenticity cannot be guaranteed. ______________________________________________________ -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From Steve.Kerich at smiths-aerospace.com Mon Oct 16 09:43:43 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Mon, 16 Oct 2006 07:43:43 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7B1@cossmgmbx06.EMAIL.CORP.TLD> Hi I spend all day Friday trying investigating the big box issue and found out in the end that it was being caused by my local stack overflowing. I don't have any direct proof that this is the case but through trial and error I found that if I made more room on the stack that the box returned to normal size. I was surprised that a stack problem would manifest itself with Xforms putting up a box question box but I guess anything is possible. I'm just glad its fixed! Steve ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From Steve.Kerich at smiths-aerospace.com Wed Dec 13 16:17:41 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Wed, 13 Dec 2006 14:17:41 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA919@cossmgmbx06.EMAIL.CORP.TLD> Hi The problem I was having with the question box appearing with either the button text corrupted or the title bar text corrupted, or the box itself is many times the correct size. It was first thought to be a stack problem because I could move large arrays out of a local routine and the problem would go away. Through our system testing have found 4 separate places in 4 different executable images where a question box is not being displayed correctly. The one that was discovered this week is directly tied to the use of a slider function . As the slider is moved closer to the bottom of its range the problem with the question box gets worse. What I mean by worse is that when the slider is about 1/4 from the bottom the text on the question box when the cancel is selected is corrupted to true & true . If the slider is moved to close or at the bottom the range, the corruption gets worse and the size of the box is huge . The callback for all slider positions is the same but this problem only happens when the slider is put at the bottom. Strange Huh. The only box in all 4 executables that has a problem is the question box. No other box type. But it is every time it is used. We use the question box a lot and most times it works just fine. This interaction between the slider and the question box where the slider seems to directly affect the question box by its position does not make sense. The slider value is simply saved as it is changed and are small numbers. (see code snippet below). This display issue is a real problem for our customer because the operators really don't know what to do when this happens. The box still functions if you figure out what button to push! HELP! Does anyone have any ideas about this? It just seems like there is something going on with how the question box is executed and I can fix it in most cases (not the slider case) by clearing as much of my local stack as possible. I have .jpgs of what it looks like but can't post them but can send them if someone wants to see what I am talking about. Thanks Steve void VolumeSlider_Callback(FL_OBJECT *ob, long data) { char NewValue[256]; /* Set the volume level in the AudibleAlarmInfo Array for saving later */ AudibleAlarmInfo[bSelectedAlarm].Volume = (int)fl_get_slider_value(ob); /* Convert unsigned int to string and pass to text box */ sprintf(NewValue, "%d", AudibleAlarmInfo[bSelectedAlarm].Volume); fl_set_object_label(fd_AudibleAlarmGui->VolumeText, NewValue); #ifdef ALARM_DEBUG printf("New slider volume: %d for %s index %d data %d\n", AudibleAlarmInfo[bSelectedAlarm].Volume, AudibleAlarmInfo[bSelectedAlarm].AlarmType, bSelectedAlarm, (int)data); #endif /* Set the dirty bit indicating the data has changed */ bDirtyBit = TRUE; } ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From joel.moots at ngc.com Wed Dec 13 16:38:58 2006 From: joel.moots at ngc.com (Moots, Joel A. (IT Solutions/EOS)) Date: Wed, 13 Dec 2006 14:38:58 -0700 Subject: [XForms] corrupted text or big question box returns In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA919@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: <988FAD2E161E4347BFD7EC93A4D05904022F490E@xcgaz701.northgrum.com> If you remove the callback or comment out its body, does the problem go away? -joel -----Original Message----- From: xforms-bounces at bob.usuhs.mil [mailto:xforms-bounces at bob.usuhs.mil] On Behalf Of Kerich, Steve (AGTE) Sent: Wednesday, December 13, 2006 2:18 PM To: xforms at bob.usuhs.mil Subject: [XForms] corrupted text or big question box returns To subscribers of the xforms list Hi The problem I was having with the question box appearing with either the button text corrupted or the title bar text corrupted, or the box itself is many times the correct size. It was first thought to be a stack problem because I could move large arrays out of a local routine and the problem would go away. Through our system testing have found 4 separate places in 4 different executable images where a question box is not being displayed correctly. The one that was discovered this week is directly tied to the use of a slider function . As the slider is moved closer to the bottom of its range the problem with the question box gets worse. What I mean by worse is that when the slider is about 1/4 from the bottom the text on the question box when the cancel is selected is corrupted to true & true . If the slider is moved to close or at the bottom the range, the corruption gets worse and the size of the box is huge . The callback for all slider positions is the same but this problem only happens when the slider is put at the bottom. Strange Huh. The only box in all 4 executables that has a problem is the question box. No other box type. But it is every time it is used. We use the question box a lot and most times it works just fine. This interaction between the slider and the question box where the slider seems to directly affect the question box by its position does not make sense. The slider value is simply saved as it is changed and are small numbers. (see code snippet below). This display issue is a real problem for our customer because the operators really don't know what to do when this happens. The box still functions if you figure out what button to push! HELP! Does anyone have any ideas about this? It just seems like there is something going on with how the question box is executed and I can fix it in most cases (not the slider case) by clearing as much of my local stack as possible. I have .jpgs of what it looks like but can't post them but can send them if someone wants to see what I am talking about. Thanks Steve void VolumeSlider_Callback(FL_OBJECT *ob, long data) { char NewValue[256]; /* Set the volume level in the AudibleAlarmInfo Array for saving later */ AudibleAlarmInfo[bSelectedAlarm].Volume = (int)fl_get_slider_value(ob); /* Convert unsigned int to string and pass to text box */ sprintf(NewValue, "%d", AudibleAlarmInfo[bSelectedAlarm].Volume); fl_set_object_label(fd_AudibleAlarmGui->VolumeText, NewValue); #ifdef ALARM_DEBUG printf("New slider volume: %d for %s index %d data %d\n", AudibleAlarmInfo[bSelectedAlarm].Volume, AudibleAlarmInfo[bSelectedAlarm].AlarmType, bSelectedAlarm, (int)data); #endif /* Set the dirty bit indicating the data has changed */ bDirtyBit = TRUE; } ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Steve.Kerich at smiths-aerospace.com Wed Dec 20 15:15:13 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Wed, 20 Dec 2006 13:15:13 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA942@cossmgmbx06.EMAIL.CORP.TLD> Thanks for responding Joel. Sorry for the delay in getting back. If I don't call the question box (fl_show_question("Do you want to save the new volume level(s)?",0)) ), all other boxes appear just fine. Its only the question box that is displayed either as a huge size or the text in the buttons are corrupted. I was able to reduce the slider-question box program down to just two elements, the slider, a cancel button which calls the question box, and the problem still occurs. Really weird. But now it is narrowed down to a very few lines of code and is repeatable over and over. The code does nothing but read the value from the slider. No other processing. This is why this is a great test case. I am hoping that this is the same problem as I am seeing with the other 2 executables that do this too but don't have slider boxes. One has a browser window and the other has a tabbed form open. It make this problem even stranger it depends upon the position of the slider whether the question box appears as a huge box, corrupted text on yes/no buttons, or normally. Any value from 60 to 100 allows the box to be displayed normally. There does not seem to be any pattern to it and I have tried this on 3 different machines running Solaris 8 and the same thing happens BUT the numbers it happens with change. Weird again. I can't debug XForms source so I need help from the community. I have zipped up the source, make, binary etc to make my test program which will cause this problem. I just need someone to take a little time to look into how this can be happening to the question box. If someone would like me to send it to them with some .jpgs of the problem, I will right away. It just freaks the military operators out when a huge box that goes off the right side of the screen shows up or the buttons don't have text that makes sense. Thanks Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ From Steve.Kerich at smiths-aerospace.com Thu Dec 28 13:24:13 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Thu, 28 Dec 2006 11:24:13 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA961@cossmgmbx06.EMAIL.CORP.TLD> Hi I have been doing more testing and have found with my test program that if I call fl_show_alert before fl_show_question, the corruption of the question box goes away. I have noticed this fix also works for another executable that is having trouble with the question box. If I display an alert just before the question box, the problem goes away. I haven't tried it with the other 2 images that are showing the same/similar problem. There must be some XForms connection between the two. My test program is very very small so I don't believe that there are pointer or memory stack issues involved. Jens tried out my test program on a Linux box using gcc but was unable to reproduce the problem I have been seeing. So I guess that is a clue too. That it has something to so with Solaris or the compiler. The compiler used is SUNspro instead of gcc. I do not know why this compiler was picked in the beginning. Because this problem is spread through several of our applications, I really need to find a solution. Is there anyone who has debug ideas or could help with this? Any help would be appreciated. Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ From joel.moots at ngc.com Thu Dec 28 13:58:33 2006 From: joel.moots at ngc.com (Moots, Joel A. (IT Solutions/EOS)) Date: Thu, 28 Dec 2006 11:58:33 -0700 Subject: [XForms] corrupted text or big question box returns In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA961@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: <988FAD2E161E4347BFD7EC93A4D05904022F4B69@xcgaz701.northgrum.com> Since the program is so small, can you find the smallest amount of code needed for you to reproduce the problem and then paste just the parts you wrote to this list? E.g., if you don't need a slider callback to reproduce the problem, get rid of it; if you need the callback but don't need to retrieve the value, get rid of it; etc. If that's still rather large, can you tar/gzip just the source files with no extension on the filename and email to me. TIA, -joel -----Original Message----- From: xforms-bounces at bob.usuhs.mil [mailto:xforms-bounces at bob.usuhs.mil] On Behalf Of Kerich, Steve (AGTE) Sent: Thursday, December 28, 2006 11:24 AM To: xforms at bob.usuhs.mil Subject: [XForms] corrupted text or big question box returns To subscribers of the xforms list Hi I have been doing more testing and have found with my test program that if I call fl_show_alert before fl_show_question, the corruption of the question box goes away. I have noticed this fix also works for another executable that is having trouble with the question box. If I display an alert just before the question box, the problem goes away. I haven't tried it with the other 2 images that are showing the same/similar problem. There must be some XForms connection between the two. My test program is very very small so I don't believe that there are pointer or memory stack issues involved. Jens tried out my test program on a Linux box using gcc but was unable to reproduce the problem I have been seeing. So I guess that is a clue too. That it has something to so with Solaris or the compiler. The compiler used is SUNspro instead of gcc. I do not know why this compiler was picked in the beginning. Because this problem is spread through several of our applications, I really need to find a solution. Is there anyone who has debug ideas or could help with this? Any help would be appreciated. Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Jean-Marc.Lasgouttes at inria.fr Fri Jan 27 10:29:06 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Fri, 27 Jan 2006 16:29:06 +0100 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X In-Reply-To: <73605DC8-D5F9-46A5-B302-7783D84E9176@wooster.edu> (Rick Drushal's message of "Fri, 27 Jan 2006 01:29:36 -0500") References: <73605DC8-D5F9-46A5-B302-7783D84E9176@wooster.edu> Message-ID: >>>>> "Rick" == Rick Drushal writes: Rick> I am trying to build the xforms libraries on my OS X Tiger Rick> system. I only need to build because I only need access to the Rick> .h and .a files. When i run :./configure it balks because it Rick> "Cannot find libjpeg". I have installed this library via fink, Rick> with no success and even downloaded the source and compiled it Rick> myself, also with no effect. If and of you have any good ideas Rick> of where to go with this next I would appreciate it. Hello Rick, Where are the headers/library installed? You can use --with-extra-inc and --with-extra-lib to point there. JMarc PS: I changed the destination to the real xforms list. From jac4 at mindless.com Fri Jan 27 11:36:07 2006 From: jac4 at mindless.com (jason cipriani) Date: Fri, 27 Jan 2006 11:36:07 -0500 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X Message-ID: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> > To subscribers of the xforms list > > >>>>> "Rick" == Rick Drushal writes: > > Rick> I am trying to build the xforms libraries on my OS X Tiger > Rick> system. I only need to build because I only need access to the > Rick> .h and .a files. When i run :./configure it balks because it > Rick> "Cannot find libjpeg". I have installed this library via fink, > Rick> with no success and even downloaded the source and compiled it > Rick> myself, also with no effect. If and of you have any good ideas > Rick> of where to go with this next I would appreciate it. > > Hello Rick, > > Where are the headers/library installed? You can use --with-extra-inc > and --with-extra-lib to point there. fink installs them to /sw/lib and /sw/include i believe. > > JMarc > > PS: I changed the destination to the real xforms list. > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From Jean-Marc.Lasgouttes at inria.fr Fri Jan 27 16:46:09 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Fri, 27 Jan 2006 22:46:09 +0100 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X In-Reply-To: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> (jason cipriani's message of "Fri, 27 Jan 2006 11:36:07 -0500") References: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> Message-ID: >>>>> "jason" == jason cipriani writes: jason> fink installs them to /sw/lib and /sw/include i believe. so ./configure --with-extra-prefix=/sw should do the trick. JMarc From giulio.ballardin at ego-gw.it Thu Feb 16 04:39:46 2006 From: giulio.ballardin at ego-gw.it (Giulio Ballardin) Date: Thu, 16 Feb 2006 10:39:46 +0100 Subject: [XForms] Counter Message-ID: Hi, I'm using linux readhat 9.0 and Library 1.1. I built an user Interface with some counters. It appends that when a click only one time on the counter arrow, some time the number increases more than it should. It seems a problem of mouse sensibility or a problem of counter sensibility. How can I fixe this problem? thank you, Giulio From jt at toerring.de Thu Feb 16 05:58:49 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Thu, 16 Feb 2006 11:58:49 +0100 Subject: [XForms] Counter In-Reply-To: References: Message-ID: <20060216105849.GA24320@john.toerring.de> Hello Guilio, On Thu, Feb 16, 2006 at 10:39:46AM +0100, Giulio Ballardin wrote: > I'm using linux readhat 9.0 and Library 1.1. I built an user Interface > with some counters. It appends that when a click > only one time on the counter arrow, some time the number > increases more than it should. It seems a problem > of mouse sensibility or a problem of counter sensibility. > How can I fixe this problem? Unfortunately, your description of the problem is a bit vague. I also don't know what a "counter arrow" is - is that a button with an arrow drawn on it or something else? It probably would help if you could you post the code you are using, ideally as a complete, compilable program with everything thrown out except the part that exhibits the problem you encounter. Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From kro at grizzly.tphys.uni-linz.ac.at Wed Apr 19 23:00:34 2006 From: kro at grizzly.tphys.uni-linz.ac.at (Eckhard Krotscheck) Date: Thu, 20 Apr 2006 05:00:34 +0200 (CEST) Subject: [XForms] activity Message-ID: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> This is just to see if there is still any activity on the Xforms mailing list... From M.Holme at mmu.ac.uk Thu Apr 20 06:26:19 2006 From: M.Holme at mmu.ac.uk (Michael Holme) Date: Thu, 20 Apr 2006 11:26:19 +0100 Subject: [XForms] xforms for Mac OSX - a request please Message-ID: <6.1.0.6.0.20060420112117.01a7b700@patsy.doc.aca.mmu.ac.uk> Hello List, This is my first post (I think, I used to be an active xforms programmer years ago). I've been asked to port an xforms application from Linux to Mac OSX and the old site that contains the binaries of the various xforms libraries doesn't seem to be giving me much joy. Does anybody have a binary distribution of the xforms library that isn't too customised with regard to directories, etc that could be emailed to me, or I could download ? I'd appreciate any help. Thanks, Mike Holme Before acting on this email or opening any attachments you should read the Manchester Metropolitan Universitys' email disclaimer available on its website http://www.mmu.ac.uk/emaildisclaimer From Jean-Marc.Lasgouttes at inria.fr Thu Apr 20 08:59:24 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Thu, 20 Apr 2006 14:59:24 +0200 Subject: [XForms] activity In-Reply-To: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> (Eckhard Krotscheck's message of "Thu, 20 Apr 2006 05:00:34 +0200 (CEST)") References: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> Message-ID: >>>>> "Eckhard" == Eckhard Krotscheck writes: Eckhard> This is just to see if there is still any activity on the Eckhard> Xforms mailing list... There is not much activity unfortunately :( JMarc From jac4 at mindless.com Thu Apr 20 09:51:13 2006 From: jac4 at mindless.com (jason cipriani) Date: Thu, 20 Apr 2006 08:51:13 -0500 Subject: [XForms] xforms for Mac OSX - a request please Message-ID: <20060420135113.F10D983985@ws1-2a.us4.outblaze.com> I have built xforms succesfully on OSX. It's not native, of course, it still runs through the X server. The build process is straightforward, I don't recall running in to any issues. But I can send you the binaries later today or tomorrow if you'd like. Jason > ----- Original Message ----- > From: "Michael Holme" > To: xforms at bob.usuhs.mil > Subject: [XForms] xforms for Mac OSX - a request please > Date: Thu, 20 Apr 2006 11:26:19 +0100 > > > To subscribers of the xforms list > > Hello List, > > This is my first post (I think, I used to be an active xforms > programmer years ago). I've been asked to port an xforms application from > Linux to Mac OSX and the old site that contains the binaries of the various > xforms libraries doesn't seem to be giving me much joy. Does anybody have a > binary distribution of the xforms library that isn't too customised with > regard to directories, etc that could be emailed to me, or I could download ? > I'd appreciate any help. > > Thanks, > Mike Holme > > > Before acting on this email or opening any attachments you should read the > Manchester Metropolitan Universitys' email disclaimer available on its website > http://www.mmu.ac.uk/emaildisclaimer > > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From poenikatu at operamail.com Sun May 21 05:19:20 2006 From: poenikatu at operamail.com (Sian Mountbatten) Date: Sun, 21 May 2006 10:19:20 +0100 Subject: [XForms] Algol 68 binding Message-ID: <44703098.806@operamail.com> I have written a binding for the RS Algol 68 compiler (algol68toc) which I ported to Linux some years ago. Currently, I am converting the documentation to LaTeX and translating the examples to Algol 68 so that the resulting manual can be used to write GUI programs in Web 68 (the literate programming system for Algol 68). Because the source documentation is only available in HTML, I have LaTeXified that version and am in the process of converting it to full LaTeX. Of course, if the original documentation were available, because it is already in TeX form, it would be ease my task considerably. Does anybody know where the original documentation is and whether a copy can be obtained? Regards -- Sian Mountbatten From psg at debian.org Wed May 24 16:42:53 2006 From: psg at debian.org (Peter S Galbraith) Date: Wed, 24 May 2006 16:42:53 -0400 Subject: [XForms] Re: XForms: Documentation In-Reply-To: Message from Peter S Galbraith of "Tue, 08 Feb 2005 09:22:41 EST." <20050208142241.8683AAB07E@mixing.qc.dfo.ca> References: <20030908154838.51918.qmail@web13407.mail.yahoo.com> <20050208142241.8683AAB07E@mixing.qc.dfo.ca> Message-ID: <22216.1148503373@mixing.qc.dfo.ca> Hello T.C. (and the XForms list) Consider this the yearly nudge to release the sources of the XForms manual. Someone just emailed me today about them, so I'm sure they would still be appreciated and used by many. Thanks, Peter On 08 Feb 2005, I wrote: > On Sept 8th 2003, T.C. Zhao wrote: > > > Sorry for the delay and thanks for the info. GPL it is. > > > > I am currently travelling and will be back home end of September. Expect the > > free manual in October sometime. > > > > -TC > > --- Peter S Galbraith wrote: > > > To subscribers of the xforms list > > > > > > > > > T.C. Zhao wrote: > > > > > > > All I need to do is boot up my old linux box and recover the doc > > > > and send it. Will do this sometime in April (I've been travelling, > > > > and am sending this email from Tokyo). > > > > -TC > > > > > > Hi T.C., > > > > > > I really hate to keep nagging you like this. :-) > > > > > > You meant to release the sources of the XForms manual last April but > > > never got around to it. This is a reminder. Also, please avoid using > > > the GNU Free Documentation License (GFDL) since it not a free software > > > license and therefore cannot be included in the Debian distribution. > > > Using the GPL would be fine. > > Hello T.C., > > Consider this another nudge to release the sources of the XForms > manual. On the plus side, I didn't nag you in 2004. ;-) > > Please consider taking some time to actually do this now, while the > sources still exist, and before you get hit by a bus or something and > they are gone forever. The XForms sources have been free for a long > time now (Thanks!) and they really should have free documentation. > > Thanks, > -- > Peter S. Galbraith, Debian Developer > http://people.debian.org/~psg > GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E -- Peter S. Galbraith, Debian Developer http://people.debian.org/~psg GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E From jason.cipriani at gmail.com Wed May 31 20:38:21 2006 From: jason.cipriani at gmail.com (jason cipriani) Date: Wed, 31 May 2006 20:38:21 -0400 Subject: [XForms] Test, feel free to ignore this. Message-ID: Just a test (shiny new email address :), sorry to spam you all! Jason From juerg.hauser at krist.unibe.ch Thu Aug 24 02:43:48 2006 From: juerg.hauser at krist.unibe.ch (=?ISO-8859-15?Q?J=FCrg_Hauser?=) Date: Thu, 24 Aug 2006 08:43:48 +0200 Subject: [XForms] CygwinX maximize/restore for fixed size form Message-ID: <44ED4AA4.6070208@krist.unibe.ch> I'm porting an application using xforms to CygwinX (default installation). Although the application window is given fixed size (fl_show_form with place=FL_PLACE_CENTER) a maximize/restore button is displayed. In Linux (SUSE, RedHat) I only get the minimize and close buttons. Any help is appreciated. Regards, Juerg -- ____________________________ Universit?t Bern Laboratorium f?r chemische und mineralogische Kristallographie Dr. J?rg Hauser Freiestrasse 3 CH-3012 Bern Tel. +41 (0)31 631 43 90 Fax +41 (0)31 631 39 96 mailto:juerg.hauser at krist.unibe.ch http://www.krist.unibe.ch From gme at epr80.de Fri Oct 6 04:36:08 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 10:36:08 +0200 Subject: [XForms] Statically linked application Message-ID: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Hello, is there any information available on how to create a statically linked XForms program ? Best regards, Gerald From jt at toerring.de Fri Oct 6 06:56:25 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Fri, 6 Oct 2006 12:56:25 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006103608.0f0b0eea@emig4.heisch.inka.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Message-ID: <20061006105624.GA22692@john.toerring.de> On Fri, Oct 06, 2006 at 10:36:08AM +0200, Gerald Emig wrote: > is there any information available on how to create > a statically linked XForms program ? Since, as far as I can see, there's a static as well as a dynamic version of the XForms library installed per default you should mostly only need to use the appropriate compiler/linker flags to create a static program. E.g. for gcc you would need the option '-static'. But, of course, you also need static library versions of all other libraries involved to be installed on your system. On mine (Linux) all required libraries (libm, libpthread, libX11, libXpm) seem to exist in static versions except glibc, which I would have to install in order to be able to create a program without any external dependencies. On the other hand, the linker just complains a bit about the program still requiring at runtime the shared version of glib, but the resulting executable seems to work fine, and perhaps you can live with that since a glibc will probably exist on all systems you try to run the program on. Other- wise install a static version of glibc on the system you build the program on. Just don't be surprised about the size difference, a small test program that was statically linked - as far as possible, i.e. still dependent on the shared glic - is over 4 MB while, when linked without '-static', it's only about 10k.... Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From dadembro at rockwellcollins.com Fri Oct 6 08:26:19 2006 From: dadembro at rockwellcollins.com (dadembro at rockwellcollins.com) Date: Fri, 6 Oct 2006 08:26:19 -0400 Subject: [XForms] Statically linked application In-Reply-To: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Message-ID: An example compiler command I used many years ago. Some compiler options may have changed but it may point you in the right direction. gcc ?O ?o mm object_files ?Xlinker ?Bstatic ?lforms \ ?Xlinker ?Bdynamic ?L/usr/X11R6/lib ?lX11 ?lm ?lXpm ?lXext Good luck, ---d.dembrow Gerald Emig Sent by: To xforms-bounces at bo XFORMS list b.usuhs.mil cc Subject 10/06/2006 04:36 [XForms] Statically linked AM application To subscribers of the xforms list Hello, is there any information available on how to create a statically linked XForms program ? Best regards, Gerald _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Todd.Denniston at ssa.crane.navy.mil Fri Oct 6 09:04:23 2006 From: Todd.Denniston at ssa.crane.navy.mil (Todd Denniston) Date: Fri, 06 Oct 2006 08:04:23 -0500 Subject: [XForms] Statically linked application In-Reply-To: <20061006105624.GA22692@john.toerring.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> Message-ID: <45265457.2020909@ssa.crane.navy.mil> Jens Thoms Toerring wrote: > To subscribers of the xforms list > > On Fri, Oct 06, 2006 at 10:36:08AM +0200, Gerald Emig wrote: >> is there any information available on how to create >> a statically linked XForms program ? > > Since, as far as I can see, there's a static as well as a dynamic > version of the XForms library installed per default you should > mostly only need to use the appropriate compiler/linker flags to > create a static program. E.g. for gcc you would need the option > '-static'. But, of course, you also need static library versions > of all other libraries involved to be installed on your system. > On mine (Linux) all required libraries (libm, libpthread, libX11, > libXpm) seem to exist in static versions except glibc, which I > would have to install in order to be able to create a program > without any external dependencies. On the other hand, the linker > just complains a bit about the program still requiring at runtime > the shared version of glib, but the resulting executable seems to > work fine, and perhaps you can live with that since a glibc will > probably exist on all systems you try to run the program on. Other- > wise install a static version of glibc on the system you build the > program on. Just don't be surprised about the size difference, a > small test program that was statically linked - as far as possible, > i.e. still dependent on the shared glic - is over 4 MB while, when > linked without '-static', it's only about 10k.... > > Regards, Jens Although I have forgotten how, it is possible to specify how each individual library should be linked, i.e., it is possible to tell the compiler link libforms static and libc dynamic, thus you could build on a box with Xforms and put it on systems that don't have Xforms installed. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter From gme at epr80.de Fri Oct 6 09:23:43 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 15:23:43 +0200 Subject: [XForms] Statically linked application In-Reply-To: <45265457.2020909@ssa.crane.navy.mil> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> Message-ID: <20061006152343.52bffa7d@emig4.heisch.inka.de> Hello all, many thanks for the hints. What Todd writes is just what I want to do. Many regards, Gerald Todd Denniston wrote: > Although I have forgotten how, it is possible to specify how each > individual library should be linked, i.e., it is possible to tell the > compiler link libforms static and libc dynamic, thus you could build > on a box with Xforms and put it on systems that don't have Xforms > installed. > > -- > Todd Denniston From jt at toerring.de Fri Oct 6 10:29:09 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Fri, 6 Oct 2006 16:29:09 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006152343.52bffa7d@emig4.heisch.inka.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> <20061006152343.52bffa7d@emig4.heisch.inka.de> Message-ID: <20061006142909.GA24016@john.toerring.de> On Fri, Oct 06, 2006 at 03:23:43PM +0200, Gerald Emig wrote: > Todd Denniston wrote: > > > Although I have forgotten how, it is possible to specify how each > > individual library should be linked, i.e., it is possible to tell the > > compiler link libforms static and libc dynamic, thus you could build > > on a box with Xforms and put it on systems that don't have Xforms > > installed. > > many thanks for the hints. What Todd writes is just what I want to do. If you just want to link against the static version of the XForms library but want to use the shared versions of all the other libraries then just explicitely link against teh staic library libforms.a, e.g. gcc -o xformtest xformtest.c /usr/local/lib/libforms.a \ -L/usr/X11R6/lib -lX11 -lm (assuming the static version of the XForms library is installed in /usr/local/lib). Static libaries are just a collection of object files and when linking you can use them the same way as object files. Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From gme at epr80.de Fri Oct 6 12:52:41 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 18:52:41 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006142909.GA24016@john.toerring.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> <20061006152343.52bffa7d@emig4.heisch.inka.de> <20061006142909.GA24016@john.toerring.de> Message-ID: <20061006185241.79fb4487@emig4.heisch.inka.de> Hello Jens, your "solution" is just what I need, thank you very much. Why ? I want to give away software for free, and say to the users that they must have xforms installed. Many of them then complain... Gerald On Fri, 6 Oct 2006 16:29:09 +0200 Jens Thoms Toerring wrote: > > If you just want to link against the static version of the XForms > library but want to use the shared versions of all the other > libraries then just explicitely link against teh staic library > libforms.a, e.g. > > gcc -o xformtest xformtest.c /usr/local/lib/libforms.a \ > -L/usr/X11R6/lib -lX11 -lm > From Steve.Kerich at smiths-aerospace.com Thu Oct 12 16:56:45 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Thu, 12 Oct 2006 14:56:45 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> I am having a problem with a question box. I use them throughout my code but this one keeps putting up a question box that is so big it goes off the left side of the screen and buttons that are huge. The text in the label and on the buttons is also corrupted. I found out by trail and error that if I show an alert box before making the call to show_question, the question box is the correct size. Has anyone seen something like this happen before? The show_alert is doing something to XForms that is making the show_question box work. I guess like flushing a buffer, reseting a pointer, or something. Below is the snippet from the program with the show_alert that makes this work. This only happens with the show_question call in the program. Elsewhere it works fine. Any ideas would be greatly appreciated. fl_show_alert("Nothing to write", "Test.", "test.", 1); fl_show_question("Write archive CD with current track layout?", 1); ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From jason.cipriani at gmail.com Thu Oct 12 17:30:43 2006 From: jason.cipriani at gmail.com (jason cipriani) Date: Thu, 12 Oct 2006 17:30:43 -0400 Subject: [XForms] question box appears huge In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> References: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: I've never seen that happen before. XForms may be kind of sketchy, but lord knows I've put it to the test over the last few years and I honestly believe that the goodie boxes are stable and bug-free. Are you making sure you are calling fl_initialize when your application starts before doing any other xforms stuff? That aside, the cuplrit of odd problems like that is usually some memory-related issue elsewhere in the program. Perhaps some of your code is writing past the end of a buffer somewhere and coincidently corrupting certain xforms data structures. Showing the alert box may reinitialize some data, or may move things around in memory so that the other issue no longer affects the quesiton box. Sorry, I can't think of any other reason that would occur unless there's some weird X or window-manager related problem that is only affecting that one message box for some reason. Jason On 10/12/06, Kerich, Steve (AGTE) wrote: > To subscribers of the xforms list > > > I am having a problem with a question box. I use them throughout my code > but this one keeps putting up a question box that is so big it goes off > the left side of the screen and buttons that are huge. The text in the > label and on the buttons is also corrupted. I found out by trail and > error that if I show an alert box before making the call to > show_question, the question box is the correct size. Has anyone seen > something like this happen before? The show_alert is doing something to > XForms that is making the show_question box work. I guess like flushing > a buffer, reseting a pointer, or something. Below is the snippet from > the program with the show_alert that makes this work. This only happens > with the show_question call in the program. Elsewhere it works fine. > > Any ideas would be greatly appreciated. > > fl_show_alert("Nothing to write", > "Test.", > "test.", > 1); > > fl_show_question("Write archive CD with current track layout?", > 1); > > > ****************************************** > The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. > ****************************************** > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From Steve.Kerich at smiths-aerospace.com Fri Oct 13 12:25:14 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Fri, 13 Oct 2006 10:25:14 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7A8@cossmgmbx06.EMAIL.CORP.TLD> Hi Jason, Thanks for getting back with me so quickly. I really didn't know if there was anyone out there that would respond to a Xforms question. A totally agree with your suggestions about a buffer over run or a crazy pointer. There is another yes/no box that is consistently doing corrupted text. The buttons come up with stuff like "true" "true" for the selections which is pretty funny to see since they are both true but not to the user. Since this is only happening in two totally different area, I would have to agree that something is getting stepped on. I'm going to work backwards and look at all the data writes to see if I can How well do you understand how Xforms works under the hood? How would/could the alert box being shown fix the question box data structure? There must be something shared between them that is getting reinitialized. Update: I did some more testing and it seems that if I call the question box before making my finish subroutine call, the box is normal but if I make the same call as the first line after the call, the box is corrupted. It would help if I could understand how the Alert box was able to reinit the question box. Let me know what you think, Steve (\__/) (='.'=) (")_(") -----Original Message----- From: jason cipriani [mailto:jason.cipriani at gmail.com] Sent: Thursday, October 12, 2006 5:31 PM To: Kerich, Steve (AGTE) Cc: xforms at bob.usuhs.mil Subject: Re: [XForms] question box appears huge I've never seen that happen before. XForms may be kind of sketchy, but lord knows I've put it to the test over the last few years and I honestly believe that the goodie boxes are stable and bug-free. Are you making sure you are calling fl_initialize when your application starts before doing any other xforms stuff? That aside, the cuplrit of odd problems like that is usually some memory-related issue elsewhere in the program. Perhaps some of your code is writing past the end of a buffer somewhere and coincidently corrupting certain xforms data structures. Showing the alert box may reinitialize some data, or may move things around in memory so that the other issue no longer affects the quesiton box. Sorry, I can't think of any other reason that would occur unless there's some weird X or window-manager related problem that is only affecting that one message box for some reason. Jason On 10/12/06, Kerich, Steve (AGTE) wrote: > To subscribers of the xforms list > > > I am having a problem with a question box. I use them throughout my > code but this one keeps putting up a question box that is so big it > goes off the left side of the screen and buttons that are huge. The > text in the label and on the buttons is also corrupted. I found out by > trail and error that if I show an alert box before making the call to > show_question, the question box is the correct size. Has anyone seen > something like this happen before? The show_alert is doing something > to XForms that is making the show_question box work. I guess like > flushing a buffer, reseting a pointer, or something. Below is the > snippet from the program with the show_alert that makes this work. > This only happens with the show_question call in the program. Elsewhere it works fine. > > Any ideas would be greatly appreciated. > > fl_show_alert("Nothing to write", > "Test.", > "test.", > 1); > > fl_show_question("Write archive CD with current track layout?", > 1); > > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms List Archive: > http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > ______________________________________________________________________ CAUTION: This message was sent via the Public Internet and its authenticity cannot be guaranteed. ______________________________________________________ -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From Steve.Kerich at smiths-aerospace.com Mon Oct 16 09:43:43 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Mon, 16 Oct 2006 07:43:43 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7B1@cossmgmbx06.EMAIL.CORP.TLD> Hi I spend all day Friday trying investigating the big box issue and found out in the end that it was being caused by my local stack overflowing. I don't have any direct proof that this is the case but through trial and error I found that if I made more room on the stack that the box returned to normal size. I was surprised that a stack problem would manifest itself with Xforms putting up a box question box but I guess anything is possible. I'm just glad its fixed! Steve ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From Steve.Kerich at smiths-aerospace.com Wed Dec 13 16:17:41 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Wed, 13 Dec 2006 14:17:41 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA919@cossmgmbx06.EMAIL.CORP.TLD> Hi The problem I was having with the question box appearing with either the button text corrupted or the title bar text corrupted, or the box itself is many times the correct size. It was first thought to be a stack problem because I could move large arrays out of a local routine and the problem would go away. Through our system testing have found 4 separate places in 4 different executable images where a question box is not being displayed correctly. The one that was discovered this week is directly tied to the use of a slider function . As the slider is moved closer to the bottom of its range the problem with the question box gets worse. What I mean by worse is that when the slider is about 1/4 from the bottom the text on the question box when the cancel is selected is corrupted to true & true . If the slider is moved to close or at the bottom the range, the corruption gets worse and the size of the box is huge . The callback for all slider positions is the same but this problem only happens when the slider is put at the bottom. Strange Huh. The only box in all 4 executables that has a problem is the question box. No other box type. But it is every time it is used. We use the question box a lot and most times it works just fine. This interaction between the slider and the question box where the slider seems to directly affect the question box by its position does not make sense. The slider value is simply saved as it is changed and are small numbers. (see code snippet below). This display issue is a real problem for our customer because the operators really don't know what to do when this happens. The box still functions if you figure out what button to push! HELP! Does anyone have any ideas about this? It just seems like there is something going on with how the question box is executed and I can fix it in most cases (not the slider case) by clearing as much of my local stack as possible. I have .jpgs of what it looks like but can't post them but can send them if someone wants to see what I am talking about. Thanks Steve void VolumeSlider_Callback(FL_OBJECT *ob, long data) { char NewValue[256]; /* Set the volume level in the AudibleAlarmInfo Array for saving later */ AudibleAlarmInfo[bSelectedAlarm].Volume = (int)fl_get_slider_value(ob); /* Convert unsigned int to string and pass to text box */ sprintf(NewValue, "%d", AudibleAlarmInfo[bSelectedAlarm].Volume); fl_set_object_label(fd_AudibleAlarmGui->VolumeText, NewValue); #ifdef ALARM_DEBUG printf("New slider volume: %d for %s index %d data %d\n", AudibleAlarmInfo[bSelectedAlarm].Volume, AudibleAlarmInfo[bSelectedAlarm].AlarmType, bSelectedAlarm, (int)data); #endif /* Set the dirty bit indicating the data has changed */ bDirtyBit = TRUE; } ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From joel.moots at ngc.com Wed Dec 13 16:38:58 2006 From: joel.moots at ngc.com (Moots, Joel A. (IT Solutions/EOS)) Date: Wed, 13 Dec 2006 14:38:58 -0700 Subject: [XForms] corrupted text or big question box returns In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA919@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: <988FAD2E161E4347BFD7EC93A4D05904022F490E@xcgaz701.northgrum.com> If you remove the callback or comment out its body, does the problem go away? -joel -----Original Message----- From: xforms-bounces at bob.usuhs.mil [mailto:xforms-bounces at bob.usuhs.mil] On Behalf Of Kerich, Steve (AGTE) Sent: Wednesday, December 13, 2006 2:18 PM To: xforms at bob.usuhs.mil Subject: [XForms] corrupted text or big question box returns To subscribers of the xforms list Hi The problem I was having with the question box appearing with either the button text corrupted or the title bar text corrupted, or the box itself is many times the correct size. It was first thought to be a stack problem because I could move large arrays out of a local routine and the problem would go away. Through our system testing have found 4 separate places in 4 different executable images where a question box is not being displayed correctly. The one that was discovered this week is directly tied to the use of a slider function . As the slider is moved closer to the bottom of its range the problem with the question box gets worse. What I mean by worse is that when the slider is about 1/4 from the bottom the text on the question box when the cancel is selected is corrupted to true & true . If the slider is moved to close or at the bottom the range, the corruption gets worse and the size of the box is huge . The callback for all slider positions is the same but this problem only happens when the slider is put at the bottom. Strange Huh. The only box in all 4 executables that has a problem is the question box. No other box type. But it is every time it is used. We use the question box a lot and most times it works just fine. This interaction between the slider and the question box where the slider seems to directly affect the question box by its position does not make sense. The slider value is simply saved as it is changed and are small numbers. (see code snippet below). This display issue is a real problem for our customer because the operators really don't know what to do when this happens. The box still functions if you figure out what button to push! HELP! Does anyone have any ideas about this? It just seems like there is something going on with how the question box is executed and I can fix it in most cases (not the slider case) by clearing as much of my local stack as possible. I have .jpgs of what it looks like but can't post them but can send them if someone wants to see what I am talking about. Thanks Steve void VolumeSlider_Callback(FL_OBJECT *ob, long data) { char NewValue[256]; /* Set the volume level in the AudibleAlarmInfo Array for saving later */ AudibleAlarmInfo[bSelectedAlarm].Volume = (int)fl_get_slider_value(ob); /* Convert unsigned int to string and pass to text box */ sprintf(NewValue, "%d", AudibleAlarmInfo[bSelectedAlarm].Volume); fl_set_object_label(fd_AudibleAlarmGui->VolumeText, NewValue); #ifdef ALARM_DEBUG printf("New slider volume: %d for %s index %d data %d\n", AudibleAlarmInfo[bSelectedAlarm].Volume, AudibleAlarmInfo[bSelectedAlarm].AlarmType, bSelectedAlarm, (int)data); #endif /* Set the dirty bit indicating the data has changed */ bDirtyBit = TRUE; } ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Steve.Kerich at smiths-aerospace.com Wed Dec 20 15:15:13 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Wed, 20 Dec 2006 13:15:13 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA942@cossmgmbx06.EMAIL.CORP.TLD> Thanks for responding Joel. Sorry for the delay in getting back. If I don't call the question box (fl_show_question("Do you want to save the new volume level(s)?",0)) ), all other boxes appear just fine. Its only the question box that is displayed either as a huge size or the text in the buttons are corrupted. I was able to reduce the slider-question box program down to just two elements, the slider, a cancel button which calls the question box, and the problem still occurs. Really weird. But now it is narrowed down to a very few lines of code and is repeatable over and over. The code does nothing but read the value from the slider. No other processing. This is why this is a great test case. I am hoping that this is the same problem as I am seeing with the other 2 executables that do this too but don't have slider boxes. One has a browser window and the other has a tabbed form open. It make this problem even stranger it depends upon the position of the slider whether the question box appears as a huge box, corrupted text on yes/no buttons, or normally. Any value from 60 to 100 allows the box to be displayed normally. There does not seem to be any pattern to it and I have tried this on 3 different machines running Solaris 8 and the same thing happens BUT the numbers it happens with change. Weird again. I can't debug XForms source so I need help from the community. I have zipped up the source, make, binary etc to make my test program which will cause this problem. I just need someone to take a little time to look into how this can be happening to the question box. If someone would like me to send it to them with some .jpgs of the problem, I will right away. It just freaks the military operators out when a huge box that goes off the right side of the screen shows up or the buttons don't have text that makes sense. Thanks Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ From Steve.Kerich at smiths-aerospace.com Thu Dec 28 13:24:13 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Thu, 28 Dec 2006 11:24:13 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA961@cossmgmbx06.EMAIL.CORP.TLD> Hi I have been doing more testing and have found with my test program that if I call fl_show_alert before fl_show_question, the corruption of the question box goes away. I have noticed this fix also works for another executable that is having trouble with the question box. If I display an alert just before the question box, the problem goes away. I haven't tried it with the other 2 images that are showing the same/similar problem. There must be some XForms connection between the two. My test program is very very small so I don't believe that there are pointer or memory stack issues involved. Jens tried out my test program on a Linux box using gcc but was unable to reproduce the problem I have been seeing. So I guess that is a clue too. That it has something to so with Solaris or the compiler. The compiler used is SUNspro instead of gcc. I do not know why this compiler was picked in the beginning. Because this problem is spread through several of our applications, I really need to find a solution. Is there anyone who has debug ideas or could help with this? Any help would be appreciated. Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ From joel.moots at ngc.com Thu Dec 28 13:58:33 2006 From: joel.moots at ngc.com (Moots, Joel A. (IT Solutions/EOS)) Date: Thu, 28 Dec 2006 11:58:33 -0700 Subject: [XForms] corrupted text or big question box returns In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA961@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: <988FAD2E161E4347BFD7EC93A4D05904022F4B69@xcgaz701.northgrum.com> Since the program is so small, can you find the smallest amount of code needed for you to reproduce the problem and then paste just the parts you wrote to this list? E.g., if you don't need a slider callback to reproduce the problem, get rid of it; if you need the callback but don't need to retrieve the value, get rid of it; etc. If that's still rather large, can you tar/gzip just the source files with no extension on the filename and email to me. TIA, -joel -----Original Message----- From: xforms-bounces at bob.usuhs.mil [mailto:xforms-bounces at bob.usuhs.mil] On Behalf Of Kerich, Steve (AGTE) Sent: Thursday, December 28, 2006 11:24 AM To: xforms at bob.usuhs.mil Subject: [XForms] corrupted text or big question box returns To subscribers of the xforms list Hi I have been doing more testing and have found with my test program that if I call fl_show_alert before fl_show_question, the corruption of the question box goes away. I have noticed this fix also works for another executable that is having trouble with the question box. If I display an alert just before the question box, the problem goes away. I haven't tried it with the other 2 images that are showing the same/similar problem. There must be some XForms connection between the two. My test program is very very small so I don't believe that there are pointer or memory stack issues involved. Jens tried out my test program on a Linux box using gcc but was unable to reproduce the problem I have been seeing. So I guess that is a clue too. That it has something to so with Solaris or the compiler. The compiler used is SUNspro instead of gcc. I do not know why this compiler was picked in the beginning. Because this problem is spread through several of our applications, I really need to find a solution. Is there anyone who has debug ideas or could help with this? Any help would be appreciated. Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Jean-Marc.Lasgouttes at inria.fr Fri Jan 27 10:29:06 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Fri, 27 Jan 2006 16:29:06 +0100 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X In-Reply-To: <73605DC8-D5F9-46A5-B302-7783D84E9176@wooster.edu> (Rick Drushal's message of "Fri, 27 Jan 2006 01:29:36 -0500") References: <73605DC8-D5F9-46A5-B302-7783D84E9176@wooster.edu> Message-ID: >>>>> "Rick" == Rick Drushal writes: Rick> I am trying to build the xforms libraries on my OS X Tiger Rick> system. I only need to build because I only need access to the Rick> .h and .a files. When i run :./configure it balks because it Rick> "Cannot find libjpeg". I have installed this library via fink, Rick> with no success and even downloaded the source and compiled it Rick> myself, also with no effect. If and of you have any good ideas Rick> of where to go with this next I would appreciate it. Hello Rick, Where are the headers/library installed? You can use --with-extra-inc and --with-extra-lib to point there. JMarc PS: I changed the destination to the real xforms list. From jac4 at mindless.com Fri Jan 27 11:36:07 2006 From: jac4 at mindless.com (jason cipriani) Date: Fri, 27 Jan 2006 11:36:07 -0500 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X Message-ID: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> > To subscribers of the xforms list > > >>>>> "Rick" == Rick Drushal writes: > > Rick> I am trying to build the xforms libraries on my OS X Tiger > Rick> system. I only need to build because I only need access to the > Rick> .h and .a files. When i run :./configure it balks because it > Rick> "Cannot find libjpeg". I have installed this library via fink, > Rick> with no success and even downloaded the source and compiled it > Rick> myself, also with no effect. If and of you have any good ideas > Rick> of where to go with this next I would appreciate it. > > Hello Rick, > > Where are the headers/library installed? You can use --with-extra-inc > and --with-extra-lib to point there. fink installs them to /sw/lib and /sw/include i believe. > > JMarc > > PS: I changed the destination to the real xforms list. > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From Jean-Marc.Lasgouttes at inria.fr Fri Jan 27 16:46:09 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Fri, 27 Jan 2006 22:46:09 +0100 Subject: [XForms] Re: [Xforms-cvs] Compilation on OS X In-Reply-To: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> (jason cipriani's message of "Fri, 27 Jan 2006 11:36:07 -0500") References: <20060127163607.A84FA83985@ws1-2a.us4.outblaze.com> Message-ID: >>>>> "jason" == jason cipriani writes: jason> fink installs them to /sw/lib and /sw/include i believe. so ./configure --with-extra-prefix=/sw should do the trick. JMarc From giulio.ballardin at ego-gw.it Thu Feb 16 04:39:46 2006 From: giulio.ballardin at ego-gw.it (Giulio Ballardin) Date: Thu, 16 Feb 2006 10:39:46 +0100 Subject: [XForms] Counter Message-ID: Hi, I'm using linux readhat 9.0 and Library 1.1. I built an user Interface with some counters. It appends that when a click only one time on the counter arrow, some time the number increases more than it should. It seems a problem of mouse sensibility or a problem of counter sensibility. How can I fixe this problem? thank you, Giulio From jt at toerring.de Thu Feb 16 05:58:49 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Thu, 16 Feb 2006 11:58:49 +0100 Subject: [XForms] Counter In-Reply-To: References: Message-ID: <20060216105849.GA24320@john.toerring.de> Hello Guilio, On Thu, Feb 16, 2006 at 10:39:46AM +0100, Giulio Ballardin wrote: > I'm using linux readhat 9.0 and Library 1.1. I built an user Interface > with some counters. It appends that when a click > only one time on the counter arrow, some time the number > increases more than it should. It seems a problem > of mouse sensibility or a problem of counter sensibility. > How can I fixe this problem? Unfortunately, your description of the problem is a bit vague. I also don't know what a "counter arrow" is - is that a button with an arrow drawn on it or something else? It probably would help if you could you post the code you are using, ideally as a complete, compilable program with everything thrown out except the part that exhibits the problem you encounter. Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From kro at grizzly.tphys.uni-linz.ac.at Wed Apr 19 23:00:34 2006 From: kro at grizzly.tphys.uni-linz.ac.at (Eckhard Krotscheck) Date: Thu, 20 Apr 2006 05:00:34 +0200 (CEST) Subject: [XForms] activity Message-ID: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> This is just to see if there is still any activity on the Xforms mailing list... From M.Holme at mmu.ac.uk Thu Apr 20 06:26:19 2006 From: M.Holme at mmu.ac.uk (Michael Holme) Date: Thu, 20 Apr 2006 11:26:19 +0100 Subject: [XForms] xforms for Mac OSX - a request please Message-ID: <6.1.0.6.0.20060420112117.01a7b700@patsy.doc.aca.mmu.ac.uk> Hello List, This is my first post (I think, I used to be an active xforms programmer years ago). I've been asked to port an xforms application from Linux to Mac OSX and the old site that contains the binaries of the various xforms libraries doesn't seem to be giving me much joy. Does anybody have a binary distribution of the xforms library that isn't too customised with regard to directories, etc that could be emailed to me, or I could download ? I'd appreciate any help. Thanks, Mike Holme Before acting on this email or opening any attachments you should read the Manchester Metropolitan Universitys' email disclaimer available on its website http://www.mmu.ac.uk/emaildisclaimer From Jean-Marc.Lasgouttes at inria.fr Thu Apr 20 08:59:24 2006 From: Jean-Marc.Lasgouttes at inria.fr (Jean-Marc Lasgouttes) Date: Thu, 20 Apr 2006 14:59:24 +0200 Subject: [XForms] activity In-Reply-To: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> (Eckhard Krotscheck's message of "Thu, 20 Apr 2006 05:00:34 +0200 (CEST)") References: <200604200300.k3K30YbC509250@grizzly.tphys.uni-linz.ac.at> Message-ID: >>>>> "Eckhard" == Eckhard Krotscheck writes: Eckhard> This is just to see if there is still any activity on the Eckhard> Xforms mailing list... There is not much activity unfortunately :( JMarc From jac4 at mindless.com Thu Apr 20 09:51:13 2006 From: jac4 at mindless.com (jason cipriani) Date: Thu, 20 Apr 2006 08:51:13 -0500 Subject: [XForms] xforms for Mac OSX - a request please Message-ID: <20060420135113.F10D983985@ws1-2a.us4.outblaze.com> I have built xforms succesfully on OSX. It's not native, of course, it still runs through the X server. The build process is straightforward, I don't recall running in to any issues. But I can send you the binaries later today or tomorrow if you'd like. Jason > ----- Original Message ----- > From: "Michael Holme" > To: xforms at bob.usuhs.mil > Subject: [XForms] xforms for Mac OSX - a request please > Date: Thu, 20 Apr 2006 11:26:19 +0100 > > > To subscribers of the xforms list > > Hello List, > > This is my first post (I think, I used to be an active xforms > programmer years ago). I've been asked to port an xforms application from > Linux to Mac OSX and the old site that contains the binaries of the various > xforms libraries doesn't seem to be giving me much joy. Does anybody have a > binary distribution of the xforms library that isn't too customised with > regard to directories, etc that could be emailed to me, or I could download ? > I'd appreciate any help. > > Thanks, > Mike Holme > > > Before acting on this email or opening any attachments you should read the > Manchester Metropolitan Universitys' email disclaimer available on its website > http://www.mmu.ac.uk/emaildisclaimer > > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From poenikatu at operamail.com Sun May 21 05:19:20 2006 From: poenikatu at operamail.com (Sian Mountbatten) Date: Sun, 21 May 2006 10:19:20 +0100 Subject: [XForms] Algol 68 binding Message-ID: <44703098.806@operamail.com> I have written a binding for the RS Algol 68 compiler (algol68toc) which I ported to Linux some years ago. Currently, I am converting the documentation to LaTeX and translating the examples to Algol 68 so that the resulting manual can be used to write GUI programs in Web 68 (the literate programming system for Algol 68). Because the source documentation is only available in HTML, I have LaTeXified that version and am in the process of converting it to full LaTeX. Of course, if the original documentation were available, because it is already in TeX form, it would be ease my task considerably. Does anybody know where the original documentation is and whether a copy can be obtained? Regards -- Sian Mountbatten From psg at debian.org Wed May 24 16:42:53 2006 From: psg at debian.org (Peter S Galbraith) Date: Wed, 24 May 2006 16:42:53 -0400 Subject: [XForms] Re: XForms: Documentation In-Reply-To: Message from Peter S Galbraith of "Tue, 08 Feb 2005 09:22:41 EST." <20050208142241.8683AAB07E@mixing.qc.dfo.ca> References: <20030908154838.51918.qmail@web13407.mail.yahoo.com> <20050208142241.8683AAB07E@mixing.qc.dfo.ca> Message-ID: <22216.1148503373@mixing.qc.dfo.ca> Hello T.C. (and the XForms list) Consider this the yearly nudge to release the sources of the XForms manual. Someone just emailed me today about them, so I'm sure they would still be appreciated and used by many. Thanks, Peter On 08 Feb 2005, I wrote: > On Sept 8th 2003, T.C. Zhao wrote: > > > Sorry for the delay and thanks for the info. GPL it is. > > > > I am currently travelling and will be back home end of September. Expect the > > free manual in October sometime. > > > > -TC > > --- Peter S Galbraith wrote: > > > To subscribers of the xforms list > > > > > > > > > T.C. Zhao wrote: > > > > > > > All I need to do is boot up my old linux box and recover the doc > > > > and send it. Will do this sometime in April (I've been travelling, > > > > and am sending this email from Tokyo). > > > > -TC > > > > > > Hi T.C., > > > > > > I really hate to keep nagging you like this. :-) > > > > > > You meant to release the sources of the XForms manual last April but > > > never got around to it. This is a reminder. Also, please avoid using > > > the GNU Free Documentation License (GFDL) since it not a free software > > > license and therefore cannot be included in the Debian distribution. > > > Using the GPL would be fine. > > Hello T.C., > > Consider this another nudge to release the sources of the XForms > manual. On the plus side, I didn't nag you in 2004. ;-) > > Please consider taking some time to actually do this now, while the > sources still exist, and before you get hit by a bus or something and > they are gone forever. The XForms sources have been free for a long > time now (Thanks!) and they really should have free documentation. > > Thanks, > -- > Peter S. Galbraith, Debian Developer > http://people.debian.org/~psg > GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E -- Peter S. Galbraith, Debian Developer http://people.debian.org/~psg GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E From jason.cipriani at gmail.com Wed May 31 20:38:21 2006 From: jason.cipriani at gmail.com (jason cipriani) Date: Wed, 31 May 2006 20:38:21 -0400 Subject: [XForms] Test, feel free to ignore this. Message-ID: Just a test (shiny new email address :), sorry to spam you all! Jason From juerg.hauser at krist.unibe.ch Thu Aug 24 02:43:48 2006 From: juerg.hauser at krist.unibe.ch (=?ISO-8859-15?Q?J=FCrg_Hauser?=) Date: Thu, 24 Aug 2006 08:43:48 +0200 Subject: [XForms] CygwinX maximize/restore for fixed size form Message-ID: <44ED4AA4.6070208@krist.unibe.ch> I'm porting an application using xforms to CygwinX (default installation). Although the application window is given fixed size (fl_show_form with place=FL_PLACE_CENTER) a maximize/restore button is displayed. In Linux (SUSE, RedHat) I only get the minimize and close buttons. Any help is appreciated. Regards, Juerg -- ____________________________ Universit?t Bern Laboratorium f?r chemische und mineralogische Kristallographie Dr. J?rg Hauser Freiestrasse 3 CH-3012 Bern Tel. +41 (0)31 631 43 90 Fax +41 (0)31 631 39 96 mailto:juerg.hauser at krist.unibe.ch http://www.krist.unibe.ch From gme at epr80.de Fri Oct 6 04:36:08 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 10:36:08 +0200 Subject: [XForms] Statically linked application Message-ID: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Hello, is there any information available on how to create a statically linked XForms program ? Best regards, Gerald From jt at toerring.de Fri Oct 6 06:56:25 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Fri, 6 Oct 2006 12:56:25 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006103608.0f0b0eea@emig4.heisch.inka.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Message-ID: <20061006105624.GA22692@john.toerring.de> On Fri, Oct 06, 2006 at 10:36:08AM +0200, Gerald Emig wrote: > is there any information available on how to create > a statically linked XForms program ? Since, as far as I can see, there's a static as well as a dynamic version of the XForms library installed per default you should mostly only need to use the appropriate compiler/linker flags to create a static program. E.g. for gcc you would need the option '-static'. But, of course, you also need static library versions of all other libraries involved to be installed on your system. On mine (Linux) all required libraries (libm, libpthread, libX11, libXpm) seem to exist in static versions except glibc, which I would have to install in order to be able to create a program without any external dependencies. On the other hand, the linker just complains a bit about the program still requiring at runtime the shared version of glib, but the resulting executable seems to work fine, and perhaps you can live with that since a glibc will probably exist on all systems you try to run the program on. Other- wise install a static version of glibc on the system you build the program on. Just don't be surprised about the size difference, a small test program that was statically linked - as far as possible, i.e. still dependent on the shared glic - is over 4 MB while, when linked without '-static', it's only about 10k.... Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From dadembro at rockwellcollins.com Fri Oct 6 08:26:19 2006 From: dadembro at rockwellcollins.com (dadembro at rockwellcollins.com) Date: Fri, 6 Oct 2006 08:26:19 -0400 Subject: [XForms] Statically linked application In-Reply-To: <20061006103608.0f0b0eea@emig4.heisch.inka.de> Message-ID: An example compiler command I used many years ago. Some compiler options may have changed but it may point you in the right direction. gcc ?O ?o mm object_files ?Xlinker ?Bstatic ?lforms \ ?Xlinker ?Bdynamic ?L/usr/X11R6/lib ?lX11 ?lm ?lXpm ?lXext Good luck, ---d.dembrow Gerald Emig Sent by: To xforms-bounces at bo XFORMS list b.usuhs.mil cc Subject 10/06/2006 04:36 [XForms] Statically linked AM application To subscribers of the xforms list Hello, is there any information available on how to create a statically linked XForms program ? Best regards, Gerald _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Todd.Denniston at ssa.crane.navy.mil Fri Oct 6 09:04:23 2006 From: Todd.Denniston at ssa.crane.navy.mil (Todd Denniston) Date: Fri, 06 Oct 2006 08:04:23 -0500 Subject: [XForms] Statically linked application In-Reply-To: <20061006105624.GA22692@john.toerring.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> Message-ID: <45265457.2020909@ssa.crane.navy.mil> Jens Thoms Toerring wrote: > To subscribers of the xforms list > > On Fri, Oct 06, 2006 at 10:36:08AM +0200, Gerald Emig wrote: >> is there any information available on how to create >> a statically linked XForms program ? > > Since, as far as I can see, there's a static as well as a dynamic > version of the XForms library installed per default you should > mostly only need to use the appropriate compiler/linker flags to > create a static program. E.g. for gcc you would need the option > '-static'. But, of course, you also need static library versions > of all other libraries involved to be installed on your system. > On mine (Linux) all required libraries (libm, libpthread, libX11, > libXpm) seem to exist in static versions except glibc, which I > would have to install in order to be able to create a program > without any external dependencies. On the other hand, the linker > just complains a bit about the program still requiring at runtime > the shared version of glib, but the resulting executable seems to > work fine, and perhaps you can live with that since a glibc will > probably exist on all systems you try to run the program on. Other- > wise install a static version of glibc on the system you build the > program on. Just don't be surprised about the size difference, a > small test program that was statically linked - as far as possible, > i.e. still dependent on the shared glic - is over 4 MB while, when > linked without '-static', it's only about 10k.... > > Regards, Jens Although I have forgotten how, it is possible to specify how each individual library should be linked, i.e., it is possible to tell the compiler link libforms static and libc dynamic, thus you could build on a box with Xforms and put it on systems that don't have Xforms installed. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter From gme at epr80.de Fri Oct 6 09:23:43 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 15:23:43 +0200 Subject: [XForms] Statically linked application In-Reply-To: <45265457.2020909@ssa.crane.navy.mil> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> Message-ID: <20061006152343.52bffa7d@emig4.heisch.inka.de> Hello all, many thanks for the hints. What Todd writes is just what I want to do. Many regards, Gerald Todd Denniston wrote: > Although I have forgotten how, it is possible to specify how each > individual library should be linked, i.e., it is possible to tell the > compiler link libforms static and libc dynamic, thus you could build > on a box with Xforms and put it on systems that don't have Xforms > installed. > > -- > Todd Denniston From jt at toerring.de Fri Oct 6 10:29:09 2006 From: jt at toerring.de (Jens Thoms Toerring) Date: Fri, 6 Oct 2006 16:29:09 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006152343.52bffa7d@emig4.heisch.inka.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> <20061006152343.52bffa7d@emig4.heisch.inka.de> Message-ID: <20061006142909.GA24016@john.toerring.de> On Fri, Oct 06, 2006 at 03:23:43PM +0200, Gerald Emig wrote: > Todd Denniston wrote: > > > Although I have forgotten how, it is possible to specify how each > > individual library should be linked, i.e., it is possible to tell the > > compiler link libforms static and libc dynamic, thus you could build > > on a box with Xforms and put it on systems that don't have Xforms > > installed. > > many thanks for the hints. What Todd writes is just what I want to do. If you just want to link against the static version of the XForms library but want to use the shared versions of all the other libraries then just explicitely link against teh staic library libforms.a, e.g. gcc -o xformtest xformtest.c /usr/local/lib/libforms.a \ -L/usr/X11R6/lib -lX11 -lm (assuming the static version of the XForms library is installed in /usr/local/lib). Static libaries are just a collection of object files and when linking you can use them the same way as object files. Regards, Jens -- \ Jens Thoms Toerring ________ jt at toerring.de \_______________________________ http://www.toerring.de From gme at epr80.de Fri Oct 6 12:52:41 2006 From: gme at epr80.de (Gerald Emig) Date: Fri, 6 Oct 2006 18:52:41 +0200 Subject: [XForms] Statically linked application In-Reply-To: <20061006142909.GA24016@john.toerring.de> References: <20061006103608.0f0b0eea@emig4.heisch.inka.de> <20061006105624.GA22692@john.toerring.de> <45265457.2020909@ssa.crane.navy.mil> <20061006152343.52bffa7d@emig4.heisch.inka.de> <20061006142909.GA24016@john.toerring.de> Message-ID: <20061006185241.79fb4487@emig4.heisch.inka.de> Hello Jens, your "solution" is just what I need, thank you very much. Why ? I want to give away software for free, and say to the users that they must have xforms installed. Many of them then complain... Gerald On Fri, 6 Oct 2006 16:29:09 +0200 Jens Thoms Toerring wrote: > > If you just want to link against the static version of the XForms > library but want to use the shared versions of all the other > libraries then just explicitely link against teh staic library > libforms.a, e.g. > > gcc -o xformtest xformtest.c /usr/local/lib/libforms.a \ > -L/usr/X11R6/lib -lX11 -lm > From Steve.Kerich at smiths-aerospace.com Thu Oct 12 16:56:45 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Thu, 12 Oct 2006 14:56:45 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> I am having a problem with a question box. I use them throughout my code but this one keeps putting up a question box that is so big it goes off the left side of the screen and buttons that are huge. The text in the label and on the buttons is also corrupted. I found out by trail and error that if I show an alert box before making the call to show_question, the question box is the correct size. Has anyone seen something like this happen before? The show_alert is doing something to XForms that is making the show_question box work. I guess like flushing a buffer, reseting a pointer, or something. Below is the snippet from the program with the show_alert that makes this work. This only happens with the show_question call in the program. Elsewhere it works fine. Any ideas would be greatly appreciated. fl_show_alert("Nothing to write", "Test.", "test.", 1); fl_show_question("Write archive CD with current track layout?", 1); ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From jason.cipriani at gmail.com Thu Oct 12 17:30:43 2006 From: jason.cipriani at gmail.com (jason cipriani) Date: Thu, 12 Oct 2006 17:30:43 -0400 Subject: [XForms] question box appears huge In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> References: <9803C085BE50044D9723BEC1D6B623C8024EA7A0@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: I've never seen that happen before. XForms may be kind of sketchy, but lord knows I've put it to the test over the last few years and I honestly believe that the goodie boxes are stable and bug-free. Are you making sure you are calling fl_initialize when your application starts before doing any other xforms stuff? That aside, the cuplrit of odd problems like that is usually some memory-related issue elsewhere in the program. Perhaps some of your code is writing past the end of a buffer somewhere and coincidently corrupting certain xforms data structures. Showing the alert box may reinitialize some data, or may move things around in memory so that the other issue no longer affects the quesiton box. Sorry, I can't think of any other reason that would occur unless there's some weird X or window-manager related problem that is only affecting that one message box for some reason. Jason On 10/12/06, Kerich, Steve (AGTE) wrote: > To subscribers of the xforms list > > > I am having a problem with a question box. I use them throughout my code > but this one keeps putting up a question box that is so big it goes off > the left side of the screen and buttons that are huge. The text in the > label and on the buttons is also corrupted. I found out by trail and > error that if I show an alert box before making the call to > show_question, the question box is the correct size. Has anyone seen > something like this happen before? The show_alert is doing something to > XForms that is making the show_question box work. I guess like flushing > a buffer, reseting a pointer, or something. Below is the snippet from > the program with the show_alert that makes this work. This only happens > with the show_question call in the program. Elsewhere it works fine. > > Any ideas would be greatly appreciated. > > fl_show_alert("Nothing to write", > "Test.", > "test.", > 1); > > fl_show_question("Write archive CD with current track layout?", > 1); > > > ****************************************** > The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. > ****************************************** > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms > List Archive: http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > From Steve.Kerich at smiths-aerospace.com Fri Oct 13 12:25:14 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Fri, 13 Oct 2006 10:25:14 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7A8@cossmgmbx06.EMAIL.CORP.TLD> Hi Jason, Thanks for getting back with me so quickly. I really didn't know if there was anyone out there that would respond to a Xforms question. A totally agree with your suggestions about a buffer over run or a crazy pointer. There is another yes/no box that is consistently doing corrupted text. The buttons come up with stuff like "true" "true" for the selections which is pretty funny to see since they are both true but not to the user. Since this is only happening in two totally different area, I would have to agree that something is getting stepped on. I'm going to work backwards and look at all the data writes to see if I can How well do you understand how Xforms works under the hood? How would/could the alert box being shown fix the question box data structure? There must be something shared between them that is getting reinitialized. Update: I did some more testing and it seems that if I call the question box before making my finish subroutine call, the box is normal but if I make the same call as the first line after the call, the box is corrupted. It would help if I could understand how the Alert box was able to reinit the question box. Let me know what you think, Steve (\__/) (='.'=) (")_(") -----Original Message----- From: jason cipriani [mailto:jason.cipriani at gmail.com] Sent: Thursday, October 12, 2006 5:31 PM To: Kerich, Steve (AGTE) Cc: xforms at bob.usuhs.mil Subject: Re: [XForms] question box appears huge I've never seen that happen before. XForms may be kind of sketchy, but lord knows I've put it to the test over the last few years and I honestly believe that the goodie boxes are stable and bug-free. Are you making sure you are calling fl_initialize when your application starts before doing any other xforms stuff? That aside, the cuplrit of odd problems like that is usually some memory-related issue elsewhere in the program. Perhaps some of your code is writing past the end of a buffer somewhere and coincidently corrupting certain xforms data structures. Showing the alert box may reinitialize some data, or may move things around in memory so that the other issue no longer affects the quesiton box. Sorry, I can't think of any other reason that would occur unless there's some weird X or window-manager related problem that is only affecting that one message box for some reason. Jason On 10/12/06, Kerich, Steve (AGTE) wrote: > To subscribers of the xforms list > > > I am having a problem with a question box. I use them throughout my > code but this one keeps putting up a question box that is so big it > goes off the left side of the screen and buttons that are huge. The > text in the label and on the buttons is also corrupted. I found out by > trail and error that if I show an alert box before making the call to > show_question, the question box is the correct size. Has anyone seen > something like this happen before? The show_alert is doing something > to XForms that is making the show_question box work. I guess like > flushing a buffer, reseting a pointer, or something. Below is the > snippet from the program with the show_alert that makes this work. > This only happens with the show_question call in the program. Elsewhere it works fine. > > Any ideas would be greatly appreciated. > > fl_show_alert("Nothing to write", > "Test.", > "test.", > 1); > > fl_show_question("Write archive CD with current track layout?", > 1); > > > _______________________________________________ > To unsubscribe, send the message "unsubscribe" to > xforms-request at bob.usuhs.mil or see: > http://cweblog.usuhs.mil/mailman/listinfo/xforms > XForms Home Page: http://world.std.com/~xforms List Archive: > http://bob.usuhs.mil/pipermail/xforms and > http://bob.usuhs.mil/mailserv/list-archives/ > Development: http://savannah.nongnu.org/files/?group=xforms > ______________________________________________________________________ CAUTION: This message was sent via the Public Internet and its authenticity cannot be guaranteed. ______________________________________________________ -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006 ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From Steve.Kerich at smiths-aerospace.com Mon Oct 16 09:43:43 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Mon, 16 Oct 2006 07:43:43 -0600 Subject: [XForms] question box appears huge Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA7B1@cossmgmbx06.EMAIL.CORP.TLD> Hi I spend all day Friday trying investigating the big box issue and found out in the end that it was being caused by my local stack overflowing. I don't have any direct proof that this is the case but through trial and error I found that if I made more room on the stack that the box returned to normal size. I was surprised that a stack problem would manifest itself with Xforms putting up a box question box but I guess anything is possible. I'm just glad its fixed! Steve ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From Steve.Kerich at smiths-aerospace.com Wed Dec 13 16:17:41 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Wed, 13 Dec 2006 14:17:41 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA919@cossmgmbx06.EMAIL.CORP.TLD> Hi The problem I was having with the question box appearing with either the button text corrupted or the title bar text corrupted, or the box itself is many times the correct size. It was first thought to be a stack problem because I could move large arrays out of a local routine and the problem would go away. Through our system testing have found 4 separate places in 4 different executable images where a question box is not being displayed correctly. The one that was discovered this week is directly tied to the use of a slider function . As the slider is moved closer to the bottom of its range the problem with the question box gets worse. What I mean by worse is that when the slider is about 1/4 from the bottom the text on the question box when the cancel is selected is corrupted to true & true . If the slider is moved to close or at the bottom the range, the corruption gets worse and the size of the box is huge . The callback for all slider positions is the same but this problem only happens when the slider is put at the bottom. Strange Huh. The only box in all 4 executables that has a problem is the question box. No other box type. But it is every time it is used. We use the question box a lot and most times it works just fine. This interaction between the slider and the question box where the slider seems to directly affect the question box by its position does not make sense. The slider value is simply saved as it is changed and are small numbers. (see code snippet below). This display issue is a real problem for our customer because the operators really don't know what to do when this happens. The box still functions if you figure out what button to push! HELP! Does anyone have any ideas about this? It just seems like there is something going on with how the question box is executed and I can fix it in most cases (not the slider case) by clearing as much of my local stack as possible. I have .jpgs of what it looks like but can't post them but can send them if someone wants to see what I am talking about. Thanks Steve void VolumeSlider_Callback(FL_OBJECT *ob, long data) { char NewValue[256]; /* Set the volume level in the AudibleAlarmInfo Array for saving later */ AudibleAlarmInfo[bSelectedAlarm].Volume = (int)fl_get_slider_value(ob); /* Convert unsigned int to string and pass to text box */ sprintf(NewValue, "%d", AudibleAlarmInfo[bSelectedAlarm].Volume); fl_set_object_label(fd_AudibleAlarmGui->VolumeText, NewValue); #ifdef ALARM_DEBUG printf("New slider volume: %d for %s index %d data %d\n", AudibleAlarmInfo[bSelectedAlarm].Volume, AudibleAlarmInfo[bSelectedAlarm].AlarmType, bSelectedAlarm, (int)data); #endif /* Set the dirty bit indicating the data has changed */ bDirtyBit = TRUE; } ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** From joel.moots at ngc.com Wed Dec 13 16:38:58 2006 From: joel.moots at ngc.com (Moots, Joel A. (IT Solutions/EOS)) Date: Wed, 13 Dec 2006 14:38:58 -0700 Subject: [XForms] corrupted text or big question box returns In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA919@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: <988FAD2E161E4347BFD7EC93A4D05904022F490E@xcgaz701.northgrum.com> If you remove the callback or comment out its body, does the problem go away? -joel -----Original Message----- From: xforms-bounces at bob.usuhs.mil [mailto:xforms-bounces at bob.usuhs.mil] On Behalf Of Kerich, Steve (AGTE) Sent: Wednesday, December 13, 2006 2:18 PM To: xforms at bob.usuhs.mil Subject: [XForms] corrupted text or big question box returns To subscribers of the xforms list Hi The problem I was having with the question box appearing with either the button text corrupted or the title bar text corrupted, or the box itself is many times the correct size. It was first thought to be a stack problem because I could move large arrays out of a local routine and the problem would go away. Through our system testing have found 4 separate places in 4 different executable images where a question box is not being displayed correctly. The one that was discovered this week is directly tied to the use of a slider function . As the slider is moved closer to the bottom of its range the problem with the question box gets worse. What I mean by worse is that when the slider is about 1/4 from the bottom the text on the question box when the cancel is selected is corrupted to true & true . If the slider is moved to close or at the bottom the range, the corruption gets worse and the size of the box is huge . The callback for all slider positions is the same but this problem only happens when the slider is put at the bottom. Strange Huh. The only box in all 4 executables that has a problem is the question box. No other box type. But it is every time it is used. We use the question box a lot and most times it works just fine. This interaction between the slider and the question box where the slider seems to directly affect the question box by its position does not make sense. The slider value is simply saved as it is changed and are small numbers. (see code snippet below). This display issue is a real problem for our customer because the operators really don't know what to do when this happens. The box still functions if you figure out what button to push! HELP! Does anyone have any ideas about this? It just seems like there is something going on with how the question box is executed and I can fix it in most cases (not the slider case) by clearing as much of my local stack as possible. I have .jpgs of what it looks like but can't post them but can send them if someone wants to see what I am talking about. Thanks Steve void VolumeSlider_Callback(FL_OBJECT *ob, long data) { char NewValue[256]; /* Set the volume level in the AudibleAlarmInfo Array for saving later */ AudibleAlarmInfo[bSelectedAlarm].Volume = (int)fl_get_slider_value(ob); /* Convert unsigned int to string and pass to text box */ sprintf(NewValue, "%d", AudibleAlarmInfo[bSelectedAlarm].Volume); fl_set_object_label(fd_AudibleAlarmGui->VolumeText, NewValue); #ifdef ALARM_DEBUG printf("New slider volume: %d for %s index %d data %d\n", AudibleAlarmInfo[bSelectedAlarm].Volume, AudibleAlarmInfo[bSelectedAlarm].AlarmType, bSelectedAlarm, (int)data); #endif /* Set the dirty bit indicating the data has changed */ bDirtyBit = TRUE; } ****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ****************************************** _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms From Steve.Kerich at smiths-aerospace.com Wed Dec 20 15:15:13 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Wed, 20 Dec 2006 13:15:13 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA942@cossmgmbx06.EMAIL.CORP.TLD> Thanks for responding Joel. Sorry for the delay in getting back. If I don't call the question box (fl_show_question("Do you want to save the new volume level(s)?",0)) ), all other boxes appear just fine. Its only the question box that is displayed either as a huge size or the text in the buttons are corrupted. I was able to reduce the slider-question box program down to just two elements, the slider, a cancel button which calls the question box, and the problem still occurs. Really weird. But now it is narrowed down to a very few lines of code and is repeatable over and over. The code does nothing but read the value from the slider. No other processing. This is why this is a great test case. I am hoping that this is the same problem as I am seeing with the other 2 executables that do this too but don't have slider boxes. One has a browser window and the other has a tabbed form open. It make this problem even stranger it depends upon the position of the slider whether the question box appears as a huge box, corrupted text on yes/no buttons, or normally. Any value from 60 to 100 allows the box to be displayed normally. There does not seem to be any pattern to it and I have tried this on 3 different machines running Solaris 8 and the same thing happens BUT the numbers it happens with change. Weird again. I can't debug XForms source so I need help from the community. I have zipped up the source, make, binary etc to make my test program which will cause this problem. I just need someone to take a little time to look into how this can be happening to the question box. If someone would like me to send it to them with some .jpgs of the problem, I will right away. It just freaks the military operators out when a huge box that goes off the right side of the screen shows up or the buttons don't have text that makes sense. Thanks Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ From Steve.Kerich at smiths-aerospace.com Thu Dec 28 13:24:13 2006 From: Steve.Kerich at smiths-aerospace.com (Kerich, Steve (AGTE)) Date: Thu, 28 Dec 2006 11:24:13 -0700 Subject: [XForms] corrupted text or big question box returns Message-ID: <9803C085BE50044D9723BEC1D6B623C8024EA961@cossmgmbx06.EMAIL.CORP.TLD> Hi I have been doing more testing and have found with my test program that if I call fl_show_alert before fl_show_question, the corruption of the question box goes away. I have noticed this fix also works for another executable that is having trouble with the question box. If I display an alert just before the question box, the problem goes away. I haven't tried it with the other 2 images that are showing the same/similar problem. There must be some XForms connection between the two. My test program is very very small so I don't believe that there are pointer or memory stack issues involved. Jens tried out my test program on a Linux box using gcc but was unable to reproduce the problem I have been seeing. So I guess that is a clue too. That it has something to so with Solaris or the compiler. The compiler used is SUNspro instead of gcc. I do not know why this compiler was picked in the beginning. Because this problem is spread through several of our applications, I really need to find a solution. Is there anyone who has debug ideas or could help with this? Any help would be appreciated. Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ From joel.moots at ngc.com Thu Dec 28 13:58:33 2006 From: joel.moots at ngc.com (Moots, Joel A. (IT Solutions/EOS)) Date: Thu, 28 Dec 2006 11:58:33 -0700 Subject: [XForms] corrupted text or big question box returns In-Reply-To: <9803C085BE50044D9723BEC1D6B623C8024EA961@cossmgmbx06.EMAIL.CORP.TLD> Message-ID: <988FAD2E161E4347BFD7EC93A4D05904022F4B69@xcgaz701.northgrum.com> Since the program is so small, can you find the smallest amount of code needed for you to reproduce the problem and then paste just the parts you wrote to this list? E.g., if you don't need a slider callback to reproduce the problem, get rid of it; if you need the callback but don't need to retrieve the value, get rid of it; etc. If that's still rather large, can you tar/gzip just the source files with no extension on the filename and email to me. TIA, -joel -----Original Message----- From: xforms-bounces at bob.usuhs.mil [mailto:xforms-bounces at bob.usuhs.mil] On Behalf Of Kerich, Steve (AGTE) Sent: Thursday, December 28, 2006 11:24 AM To: xforms at bob.usuhs.mil Subject: [XForms] corrupted text or big question box returns To subscribers of the xforms list Hi I have been doing more testing and have found with my test program that if I call fl_show_alert before fl_show_question, the corruption of the question box goes away. I have noticed this fix also works for another executable that is having trouble with the question box. If I display an alert just before the question box, the problem goes away. I haven't tried it with the other 2 images that are showing the same/similar problem. There must be some XForms connection between the two. My test program is very very small so I don't believe that there are pointer or memory stack issues involved. Jens tried out my test program on a Linux box using gcc but was unable to reproduce the problem I have been seeing. So I guess that is a clue too. That it has something to so with Solaris or the compiler. The compiler used is SUNspro instead of gcc. I do not know why this compiler was picked in the beginning. Because this problem is spread through several of our applications, I really need to find a solution. Is there anyone who has debug ideas or could help with this? Any help would be appreciated. Steve ************************************************ The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ************************************************ _______________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request at bob.usuhs.mil or see: http://cweblog.usuhs.mil/mailman/listinfo/xforms XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/pipermail/xforms and http://bob.usuhs.mil/mailserv/list-archives/ Development: http://savannah.nongnu.org/files/?group=xforms