bug fixes for assorted core dumps;

addition of modified combo-box and xbae widget


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1997-11-01 02:43:15 +00:00
parent 4732ac577b
commit 6d46486cd4
3 changed files with 59 additions and 5 deletions

View File

@ -26,7 +26,7 @@
###################################################################### ######################################################################
# CONFIGURABLE STUFF: # # CONFIGURABLE STUFF: #
CC = gcc CC = cc
AR = ar r AR = ar r
RANLIB = ranlib RANLIB = ranlib
@ -39,14 +39,14 @@ RANLIB = ranlib
# DEBUGMEMORY - does some accounting whenever malloc/free # DEBUGMEMORY - does some accounting whenever malloc/free
# is called. # is called.
# USEDEBUG - causes debugging info to be displayed # USEDEBUG - causes debugging info to be displayed
CFLAGS = $(LFLAGS) -I../include -I../libhtmlw -I/usr/X11/include \ CFLAGS = $(LFLAGS) -I../include -I../libhtmlw -I../Xbae-4.6.2-linas \
-I/usr/local/include -DMOTIF1_2 \ -I ../ComboBox-1.33 -I/usr/local/include -DMOTIF1_2 \
# -DDEBUGMEMORY -DUSEDEBUG # -DDEBUGMEMORY -DUSEDEBUG
# -DUSEQUICKFILL # -DUSE_NO_COLOR -DDEBUGMEMORY -DUSEDEBUG # -DUSEQUICKFILL # -DUSE_NO_COLOR -DDEBUGMEMORY -DUSEDEBUG
LFLAGS = -g -L/usr/local/lib -L/usr/X11/lib LFLAGS = -g -L/usr/local/lib -L/usr/X11/lib
LIBS = -lXm -lXmu -lXbae -lXt -lXext -lX11 -lSM -lICE -lXpm LIBS = -lXm -lXmu -lXt -lXpm -lXext -lSM -lICE -lX11
###################################################################### ######################################################################
@ -58,6 +58,8 @@ OPTIONS = "CC = $(CC)" "LFLAGS = $(LFLAGS)" \
"RANLIB = $(RANLIB)" "AR = $(AR)" "RANLIB = $(RANLIB)" "AR = $(AR)"
default : default :
@cd ComboBox-1.33 ; $(MAKE)
@cd Xbae-4.6.2-linas ; $(MAKE)
@cd libhtmlw ; $(MAKE) $(OPTIONS) @cd libhtmlw ; $(MAKE) $(OPTIONS)
@cd src ; $(MAKE) $(OPTIONS) @cd src ; $(MAKE) $(OPTIONS)
@ -67,6 +69,8 @@ clean :
@cd help ; rm -f *~ @cd help ; rm -f *~
@cd libhtmlw ; $(MAKE) clean @cd libhtmlw ; $(MAKE) clean
@cd src ; $(MAKE) clean @cd src ; $(MAKE) clean
@cd ComboBox-1.33 ; $(MAKE) clean
@cd Xbae-4.6.2-linas ; $(MAKE) clean
really_clean : clean really_clean : clean
@cd src ; $(MAKE) really_clean @cd src ; $(MAKE) really_clean

9
README
View File

@ -36,10 +36,12 @@ To install:
sorry, no "make install" yet. sorry, no "make install" yet.
Note version 0.9h may need help getting made I think I broke the makefile..
Status: Status:
------- -------
As of version 0.9g: As of version 0.9h:
--------------- ---------------
Bare-bones Mutual Fund and Stock Portfolio handling Bare-bones Mutual Fund and Stock Portfolio handling
is implemented. is implemented.
@ -85,5 +87,10 @@ from file.
The "reports" menu item is unimplemented and will result in a core dump. The "reports" menu item is unimplemented and will result in a core dump.
------------- -------------
Changes since 0.9g
-----------------
o assorted minor bug fixes
o include ComboBox and modified Xbae in distribution
That's all folks! That's all folks!

43
TODO Normal file
View File

@ -0,0 +1,43 @@
> Xbae-4.6.2-linas/src/Matrix.h:
> - Uncomment lines 225 and 269 ( XmNtextField & XmCTextField
> definitions )
Hmm ... can this be fixed with the xmkmf files?
I am not the official xbae maintainer; and xbae is supposed
to compile & work with a number of unix platforms.
The redme should indicate how to reach the author; since the
maintainer seems busy at the moment, try sending them a unified diff.
> xacc-0.9g/Makefile:
> - CC=cc
> - RANLIB=true
> 2) Typing a name of a .dat file which doesn't exist allows xacc to
> start, but on the console it prints "FileIO.c: Line 151, error =
> No such file or directory"
>
> 3) Selecting "File", "New File" does nothing..
>
> 4) Selecting "File", "Open File" and then clicking "Cancel" causes
> "Bad File" to be printed on the console, and the "Open File"
> dialog to be displayed again. No way out of this loop except
> Ctrl-C.
>
> 5) Tried to create a file with "touch new.dat"; when I tried to open
> this file xacc complained that it was both too old, and too new :)
> Oh well, didn't really expect this to work anyways.. But it would
> be nice if it had slightly better error checking.
> 6) The "About", "Help", and "License" windows start much too small. I
> need to resize them to see any text.
Yes, I know, haven't figured out why yet ...
> 7) "Help", "Help" shows three links to "Creating a new account".
> Only the first does anything at all, and it just goes to the
> "License" information. Sometimes I need to resize this window
> before I can use the scrollbar.