[stsf-commit] stsf ChangeLog,1.12,1.13 st.mk,1.4,1.5
Alexander Gelfenbain
stsf-commit at pdx.freedesktop.org
Fri Apr 23 06:56:34 EST 2004
Committed by: adg
Index: ChangeLog
===================================================================
RCS file: /cvs/stsf/stsf/ChangeLog,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- a/ChangeLog 22 Apr 2004 00:43:24 -0000 1.12
+++ b/ChangeLog 22 Apr 2004 20:56:32 -0000 1.13
@@ -1,3 +1,38 @@
+2004-04-23 Alexander Gelfenbain <adg at sun.com>
+
+ STSF version 0.8.6 - bug fix for door_call() getting interrupted with signals
+ when used with the Xorg X server
+
+ * st.mk: reordered macros
+
+ * STClientLibrary/src/STText.c, STClientLibrary/src/STTypeEnv.c,
+ STFontServer/src/fontenumerator.c, STFontServer/src/fontfamilymanager.c,
+ STFontServer/src/fontprobe.c, STFontServer/src/handler.c, STFontServer/src/metadata.c,
+ STFontServer/src/objectenumerator.c, STFontServer/src/pcfprobe.c,
+ STFontServer/src/prototest-door.c, STFontServer/src/saverestore.c,
+ STFontServer/src/truetypeprobe.c, stsflib/datamgr.c, stsflib/sft.c,
+ stsflib/sharedcache.c, stsflib/stmath.c, stsflib/stsfutil.c:
+ code cleanup and debug output cleanup - replaced all printf() with fprintf(DebugFile,...)
+
+ * STClientLibrary/src/serverconnection.c(fsexchange,) :
+ fsexchange() handles reallocation of the buffer by door_call() and passes
+ it back to the caller; fsexchange() and FSSessionOpen() wrap all door_call()
+ calls with sighold()/sigrelse() for SIGINT, SIGPIPE, SIGALRM, and SIGPOLL;
+
+ * STFontServer/src/makefile: changed the define STSFDEBUG to STSF_DEBUG
+ for debug target
+
+ * STFontServer/src/stfs-door.c(fsclient_destroy, proto_handler, stfs_main_door):
+ fsclient_destroy() deallocates shared memory instead of the previously used
+ releaseshmem() called from handler.h
+ proto_handler() handles door_return() errors and race conditions, client is
+ deallocated both when DOOR_UNREF is received and when the client terminated the
+ connection with STFS_CLOSE
+ stfs_main_door() handles door_return() errors
+
+ * STFontServer/src/stfs.h: removed releaseshmem() declaration
+
+
2004-04-22 Alexander Gelfenbain <adg at sun.com>
* interface/sttypes.tmpl: fixes for XST build
Index: st.mk
===================================================================
RCS file: /cvs/stsf/stsf/st.mk,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- a/st.mk 12 Apr 2004 22:49:24 -0000 1.4
+++ b/st.mk 22 Apr 2004 20:56:32 -0000 1.5
@@ -68,7 +68,7 @@
# For debugging
# ~~~~~~~~~~~~~
-DEFINES= -DSTSF -DVERBOSE_GREETING -DASSERTS -DSTSF_DEBUG -DRUNTIME_CHECKS -DXST -DSTSF_PAD32 -DNO_INLINES -DENABLE_TERMINATE
+#DEFINES= -DSTSF -DVERBOSE_GREETING -DASSERTS -DSTSF_DEBUG -DRUNTIME_CHECKS -DXST -DSTSF_PAD32 -DNO_INLINES -DENABLE_TERMINATE
# Optimized with ENABLE_TERMINATE
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -76,7 +76,7 @@
# Production
# ~~~~~~~~~~
-#DEFINES= -DSTSF -DVERBOSE_GREETING -DXST -DSTSF_PAD32 -DNO_INLINES
+DEFINES= -DSTSF -DVERBOSE_GREETING -DXST -DSTSF_PAD32 -DNO_INLINES
# *****************************************************************************
@@ -114,10 +114,10 @@
INSTALL_DIR= $(INSTALL) -d
%.o : %.c
- $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE) -c -o $@ $<
+ $(CC) $(INCLUDE) $(CFLAGS) $(DEFINES) -c -o $@ $<
%.o : %.cpp
- $(CCC) $(CCFLAGS) $(DEFINES) $(INCLUDE) -c -o $@ $<
+ $(CCC) $(INCLUDE) $(CCFLAGS) $(DEFINES) -c -o $@ $<
%.d : %.c
$(SHELL) -ec '$(CC) $(DEPEND) $(CFLAGS) $(DEFINES) $(INCLUDE) $< \
More information about the stsf-commit
mailing list