summaryrefslogtreecommitdiffstats
path: root/configure.in
Commit message (Expand)AuthorAgeFilesLines
* Don't use Posix semaphores on Solaris 8. Fixes #662787.Martin v. Löwis2003-01-211-0/+6
* On MacOSX, added -prebind option to link phase for executable (andJack Jansen2003-01-201-1/+5
* Test for presence of sysexits.h and set HAVE_SYSEXITS_H if so. UsedBarry Warsaw2003-01-071-1/+1
* Split OPT make variable into OPT and BASECFLAGS. The latter contains thoseSkip Montanaro2003-01-011-33/+87
* Expose I_ constants. Auto-detect stropts.h. Properly configure the slave term...Martin v. Löwis2003-01-011-1/+2
* Patch #656590: /dev/ptmx support for ptys.Martin v. Löwis2002-12-311-0/+11
* Adapted for the move of Mac/Lib to Lib/plat-mac. Makefile.pre.in nowJack Jansen2002-12-301-1/+13
* Patch 659834 by Magnus Lie Hetland:Guido van Rossum2002-12-301-0/+11
* Patch #657889: Implement posix.getloadavg.Martin v. Löwis2002-12-271-2/+3
* Use wcscoll for _locale.strcoll if available.Martin v. Löwis2002-12-211-1/+1
* Fix if-then-else-fi structure.Martin v. Löwis2002-12-191-1/+2
* Unsupport --without-universal-newlines.Martin v. Löwis2002-12-191-1/+3
* Patch #651289: Fix quoting errors.Martin v. Löwis2002-12-111-3/+3
* Avoid semicolon usage in echo.Martin v. Löwis2002-12-021-2/+2
* Add compile-time errors for unsupported systems.Martin v. Löwis2002-12-021-0/+21
* Remove MALLOC_ZERO_RETURNS_NULL.Martin v. Löwis2002-11-231-29/+0
* Patch #639371: Remove FreeBSD 5 specific test, test for ctermid_r, setgroupsMartin v. Löwis2002-11-211-6/+29
* The libsocket/libnsl problem is specific to IRIX 4. Confirmed by Tim Rice.Martin v. Löwis2002-11-131-1/+1
* Don't define _XOPEN_SOURCE and _POSIX_C_SOURCE on FreeBSD 5.0. Fixes #636318.Martin v. Löwis2002-11-121-16/+15
* Use new-style CHECK_TYPE to avoid modifying confdefs.h. Include sys/types.hMartin v. Löwis2002-11-111-16/+7
* Protect pyconfig.h from multiple inclusions.Martin v. Löwis2002-11-111-0/+6
* Do not define _XOPEN_SOURCE on OpenBSD 2.x and 3.[012]. Fixes #635034Martin v. Löwis2002-11-111-2/+25
* Check whether we can take the address of chown, link, and symlink.Martin v. Löwis2002-11-111-3/+24
* Try linking the major/minor test program. Fixes #634444.Martin v. Löwis2002-11-071-1/+1
* Fix for bug 631247: configure should test the build directory forJack Jansen2002-11-061-1/+6
* Need to quote test for posix_threads on HPUX11Neal Norwitz2002-11-021-1/+1
* Patch #629426: Eliminate more autoconf warnings. Use AC_HELP_STRING.Martin v. Löwis2002-10-291-49/+76
* Patch #623771: Properly use autoconf 2.5x macros.Martin v. Löwis2002-10-261-4/+9
* Patch #628898: Define _XOPEN_SOURCE_EXTENDED and _POSIX_C_SOURCE.Martin v. Löwis2002-10-261-0/+7
* Patch #623780: Replace obsolete struct macros.Martin v. Löwis2002-10-161-2/+2
* Back out #479898.Martin v. Löwis2002-10-111-3/+3
* Patch #569139: Implementation of major, minor and makedev.Martin v. Löwis2002-10-101-0/+19
* Check for wctype.h.Martin v. Löwis2002-10-071-1/+1
* Patch #479898: Use multibyte C library for printing strings if available.Martin v. Löwis2002-10-071-2/+2
* Fix quoting for Solaris LDSHARED. Will backport to 2.2.Martin v. Löwis2002-10-071-1/+1
* Also look in -lposix4 for sem_init. Fixes #618615.Martin v. Löwis2002-10-061-1/+2
* Disable LFS if Solaris/gcc bug is detected. Fixes #618095.Martin v. Löwis2002-10-041-0/+21
* Patch #618347: Work around Solaris 2.6 pthread.h bug. Will backport to 2.2.Martin v. Löwis2002-10-041-0/+8
* Patch #615069: Fix build problems on SCO Open Server 5. Backported to 2.2.Martin v. Löwis2002-09-301-4/+15
* Patch #596576: Always use cc to link on NetBSD. Will backport to 2.2.Martin v. Löwis2002-09-301-1/+2
* Back out previous change.Neal Norwitz2002-09-251-1/+1
* Fix SF # 614587, configure.in patch from Tim RiceNeal Norwitz2002-09-251-1/+1
* Patch #609700: Use $(CC) to link on Linux.Martin v. Löwis2002-09-161-1/+1
* Use utimes(2) where available to support microsecond timestamps.Martin v. Löwis2002-09-101-1/+1
* Always generate floats for stat_result; fix configure test.Martin v. Löwis2002-09-091-1/+1
* Patch #606592: Subsecond timestamps in stat_result.Martin v. Löwis2002-09-091-0/+17
* Fix typo. It's --with-universal-newlines, notGuido van Rossum2002-08-151-1/+1
* Always link libpython.so with LIBS. Fixes #589422.Martin v. Löwis2002-08-041-4/+6
* - Get _environ through the NSEnviron call in a MacOSX framework. This allowsJack Jansen2002-08-011-11/+3
* Shared libraries also work on GNU/Hurd. Suggested by Matthias Klose.Martin v. Löwis2002-07-301-1/+1
handle requests for a selection .SH SYNOPSIS .nf \fB#include <tk.h>\fR .sp \fBTk_CreateSelHandler\fR(\fItkwin, selection, target, proc, clientData, format\fR) .sp \fBTk_DeleteSelHandler\fR(\fItkwin, selection, target\fR) .SH ARGUMENTS .AS Tk_SelectionProc clientData .AP Tk_Window tkwin in Window for which \fIproc\fR will provide selection information. .AP Atom selection in The name of the selection for which \fIproc\fR will provide selection information. .AP Atom target in Form in which \fIproc\fR can provide the selection (e.g. STRING or FILE_NAME). Corresponds to \fItype\fR arguments in \fBselection\fR commands. .AP Tk_SelectionProc *proc in Procedure to invoke whenever the selection is owned by \fItkwin\fR and the selection contents are requested in the format given by \fItarget\fR. .AP ClientData clientData in Arbitrary one-word value to pass to \fIproc\fR. .AP Atom format in If the selection requestor is not in this process, \fIformat\fR determines the representation used to transmit the selection to its requestor. .BE .SH DESCRIPTION .PP \fBTk_CreateSelHandler\fR arranges for a particular procedure (\fIproc\fR) to be called whenever \fIselection\fR is owned by \fItkwin\fR and the selection contents are requested in the form given by \fItarget\fR. \fITarget\fR should be one of the entries defined in the left column of Table 2 of the X Inter-Client Communication Conventions Manual (ICCCM) or any other form in which an application is willing to present the selection. The most common form is STRING. .PP \fIProc\fR should have arguments and result that match the type \fBTk_SelectionProc\fR: .CS typedef int \fBTk_SelectionProc\fR( ClientData \fIclientData\fR, int \fIoffset\fR, char *\fIbuffer\fR, int \fImaxBytes\fR); .CE The \fIclientData\fR parameter to \fIproc\fR is a copy of the \fIclientData\fR argument given to \fBTk_CreateSelHandler\fR. Typically, \fIclientData\fR points to a data structure containing application-specific information that is needed to retrieve the selection. \fIOffset\fR specifies an offset position into the selection, \fIbuffer\fR specifies a location at which to copy information about the selection, and \fImaxBytes\fR specifies the amount of space available at \fIbuffer\fR. \fIProc\fR should place a NULL-terminated string at \fIbuffer\fR containing \fImaxBytes\fR or fewer characters (not including the terminating NULL), and it should return a count of the number of non-NULL characters stored at \fIbuffer\fR. If the selection no longer exists (e.g. it once existed but the user deleted the range of characters containing it), then \fIproc\fR should return \-1. .PP When transferring large selections, Tk will break them up into smaller pieces (typically a few thousand bytes each) for more efficient transmission. It will do this by calling \fIproc\fR one or more times, using successively higher values of \fIoffset\fR to retrieve successive portions of the selection. If \fIproc\fR returns a count less than \fImaxBytes\fR it means that the entire remainder of the selection has been returned. If \fIproc\fR's return value is \fImaxBytes\fR it means there may be additional information in the selection, so Tk must make another call to \fIproc\fR to retrieve the next portion. .PP \fIProc\fR always returns selection information in the form of a character string. However, the ICCCM allows for information to be transmitted from the selection owner to the selection requestor in any of several formats, such as a string, an array of atoms, an array of integers, etc. The \fIformat\fR argument to \fBTk_CreateSelHandler\fR indicates what format should be used to transmit the selection to its requestor (see the middle column of Table 2 of the ICCCM for examples). If \fIformat\fR is not STRING, then Tk will take the value returned by \fIproc\fR and divided it into fields separated by white space. If \fIformat\fR is ATOM, then Tk will return the selection as an array of atoms, with each field in \fIproc\fR's result treated as the name of one atom. For any other value of \fIformat\fR, Tk will return the selection as an array of 32-bit values where each field of \fIproc\fR's result is treated as a number and translated to a 32-bit value. In any event, the \fIformat\fR atom is returned to the selection requestor along with the contents of the selection. .PP If \fBTk_CreateSelHandler\fR is called when there already exists a handler for \fIselection\fR and \fItarget\fR on \fItkwin\fR, then the existing handler is replaced with a new one. .PP \fBTk_DeleteSelHandler\fR removes the handler given by \fItkwin\fR, \fIselection\fR, and \fItarget\fR, if such a handler exists. If there is no such handler then it has no effect. .SH KEYWORDS format, handler, selection, target