summaryrefslogtreecommitdiff
path: root/xc
AgeCommit message (Collapse)AuthorFilesLines
1995-06-08change #if __STDC__ to #ifdef __STDC__gildea61-163/+168
so can pass -Xa instead of -Xc to SVR4 compilers. See advisory message of 21 April 1995.
1995-06-08Do tty setting correctly on SVR4-like machines. XBUGs #7051, #7085.gildea1-76/+216
1995-06-08A new function, _XtFreeArgList, is called from XtVaSetValues. Thisconverse1-13/+73
function frees the argument list, which doubles as a data structure to represent memory allocated to hold a value returned in a typed argument conversion. This overloading of the use of the argument list is inelegant but it preserves the interface of _XtVaToArgList. #7167
1995-06-08bump VendorRelease to 6001 to indicate presence of Stephen's security fixdpw1-2/+2
1995-06-08add DBE smartsdpw1-127/+164
1995-06-07XBUG 7458. Underlying XxxLookupString routines were working extra hardkaleb2-12/+8
to NULL terminate the returned strings, often to the detriment of the calling program. The spec does not require that the returned strings be NULL terminated, the returned value indicates the length of the string. This is also consistent with the functionality of XLookupString.
1995-06-07include Xutil.h since uses XDestroyImagegildea1-1/+2
1995-06-07 new code from HPdpw1-40/+56
1995-06-07new code from HPdpw7-257/+621
1995-06-07A new function, _XtFreeArgList, is called from XtVaSetValues. Thisconverse2-5/+10
function frees the argument list, which doubles as a data structure to represent memory allocated to hold a value returned in a typed argument conversion. This overloading of the use of the argument list is inelegant but it preserves the interface of _XtVaToArgList. #7167
1995-06-07No bug report, see rev 1.10 of this file. Correct HPUX aliases use a '.'kaleb1-19/+19
not a '/'.
1995-06-07No bug report, fixed in concert with Compose/iso8859-1. Delete referenceskaleb2-75/+65
to IBM-850 which is not compatible with ISO8859-1
1995-06-07XBUG 7270kaleb1-15/+402
1995-06-07Protect definition of Xrealloc() properly so can include in Xlib.gildea1-4/+3
1995-06-07XBUG 7108 again. When the trailing null is added to the convertedkaleb1-2/+2
string the "to" pointer needs to be incremented in order for the right amount of memory to be allocated and the right number of bytes to be copied, and in the case of a list with more than one member, for the subsequent list elements to be written to the correct place in the output string.
1995-06-07add Xdbe.h Xdbeproto.hdpw1-2/+2
1995-06-07add Xdbedpw1-3/+3
1995-06-06more XBUG 7456kaleb1-18/+18
1995-06-06XBUG 7454 againkaleb1-2/+2
1995-06-06XBUG 7456. If you build e.g. Xlib with EXTRA_DEFINES=-DDEBUG thenkaleb1-17/+18
there are unwanted side effects because DEBUG is used elsewhere in Xlib.
1995-06-06XBUG 7305kaleb1-1/+3
1995-06-06XBUG 7433. In restoring the lock after coming out of select/pollkaleb5-184/+109
there is critical timing between testing for top-of-stack and regaining the lock. Atomicity is necessary to ensure proper operation, i.e. all operations really need to be performed while either the mutex is held or the app-lock is held. This fix isn't quite perfect for WindowsNT, which I believe may be a timing issue related to the way that cond_waits are simulated on WindowsNT.
1995-06-06XBUG 7454. Use of _Xt private functions prone to errors when Xt'skaleb4-19/+27
private APIs change.
1995-06-05Fix typo in SentinelProgramTarget (missing @@\ ) introduced in rev 1.194gildea1-2/+2
and distributed in public patch 5. Close XBUGs #7273, #7308.
1995-06-05In _XtTypedArgToArg, when a typed args have been given which haveconverse1-1/+5
resulted in a conversion, and that converted value is larger in size than the size of XtArgVal, then copy the converted value into safe memory immediately. #7167 Here we allocated memory and must free it later.
1995-06-05Fix lint in connection with OpenDis.c rev 11.153:gildea1-1/+3
_XFreeDisplayStructure() returns no value.
1995-06-05XOpenDisplay: handle unexpected Authenticate message from X server.gildea1-15/+25
Close XBUG #7452. Also some lint fixes.
1995-06-03do part of minor version check at compile time to avoid compilergildea1-3/+6
warning
1995-06-03Change type of xConnSetupPrefix.success from BOOL to CARD8gildea1-2/+2
since now (R6) can be Authenticate as well as Failed/Success.
1995-06-03Correctly skip white space in "#if defined(foo )". Close XBUG #7391.gildea1-2/+5
1995-06-02Rewrite Xmalloc and friends in the MALLOC_0_RETURNS_NULL case togildea1-4/+4
not use the ">" operator, whose semantics change in ANSI C.
1995-06-02in check_fontname, which is called as part of constructing aconverse1-17/+24
fontset, write equivalent code which makes fewer queries of font information, and fewer calls to get atom names. This reduces the number of fonts that have to be opened by the server. Apparently the change between R5 and R6 in creating fontsets needs this optimization. Be careful to free memory appropriately. See #6985
1995-06-02Do not pass the terminating null character to the converter,converse1-3/+5
because the converter is not necessarily going to put it in the output string and advance the output counter. The output strings need to be separated by nulls, so do this manually after the converter has succeeded with the string itself. #7108
1995-06-02gettimeofday has two args on XPG4 systems such asgildea1-1/+5
Solaris 2.4 and UnixWare 2.0. Close XBUG #6815.
1995-05-31While parsing a new style RGB color string specification, protectconverse1-1/+3
against divide by 0 by testing first and returning XcmsFailure under that condition. Triggered only by an invalid color string. #6264
1995-05-31fix prototype errormor1-4/+5
1995-05-31Initial revisiondpw2-0/+518
1995-05-31Initial revisiondpw1-0/+15
1995-05-30The R6 XtCvtStringToDirectoryString converter had a logic error inconverse1-6/+30
testing for XtCurrentDirectory. It should allocate memory for the string, and register a destructor in order to free the allocated memory. It should issue a warning message when conversion fails. #7437
1995-05-30BUG #7357: should use mfuncs, not bfuncsmor6-35/+35
1995-05-30BUG #7357: should use mfuncs, not bfuncsmor5-20/+20
1995-05-30BUG #7357: should use mfuncs, not bfuncsmor5-19/+19
1995-05-25While receiver is accumulating a selection delivered incrementally,converse1-12/+12
which is finally delivered to the requesting client in a single buffer, that buffer is gradually reallocated to accommodate the growing data. As it is reallocated, be sure it is at least big enough to hold the data we're about to read into it, and try not to realloc all the time. Previously the code relied on the minimal value being at least half the size of the actual value of the first increment, or it would overwrite memory. #7160
1995-05-25Initial revisiondpw8-0/+4294
1995-05-24Renamed timeout() to resize_timeout() because Irix 6 betagildea1-5/+5
complains definition of timeout preempts definition in libtermcap.so.
1995-05-24Solaris 2.3 sets errno to EINVAL on /dev/tty open. Close XBUG #6876.gildea1-3/+3
1995-05-24allow user to break lock; better support of cancelling operationsmor1-31/+140
1995-05-24keyboard shortcuts & misc. improvementsmor1-4/+11
1995-05-24allow user to break session lockmor2-24/+36
1995-05-24handle io errors by checking return status of IceProcessMessagesmor2-50/+82