| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
more internal -Wwrite-string warning fixes
|
|
|
|
| |
tkOldTest.c: fix warning: assignment discards qualifiers from pointer target type
|
|
|
|
| |
can't tell the difference between 'const char **' and 'char *const *'...
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
name constness change.
Although dkf's solution (simply adding a type cast)
is correct as well, changing the return value (as das
suggested) has the advantage that
all Tk_OptionPrintProc implementations don't
need a type cast any more in its code. This
makes all those functions robust against
the -Wwrite-strings warning option.
Further on, the customPtr field of Tk_ConfigSpec
can be a constant, without any danger of
source incompatibility.
|
|
|
|
| |
Remove useless 'register' declarations too, while we're at it.
|
| |
|
|
|
|
|
| |
and Tk_ParseArgv. move TkSelGetSelection to internal stub table
(needed in tkWinTest.c)
|
|
|
|
|
|
| |
Use different Tcl_AssocData key for Ttk so the tile extension
can be loaded into an 8.6 interp, in the off-chance that anyone
wants to do this.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tk.h:
* library/tk.tcl:
* unix/configure.in:
* unix/tk.spec:
* win/configure.in:
* unix/configure: autoconf-2.59
* win/configure:
|
|
|
|
| |
broken since 8.4 and no-one complained about it.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Adapted from [Patch 1997907]
|
| |
|
|
|
|
|
|
|
|
| |
const tables, so those will be
put by the C-compiler in the
TEXT segment in stead of the
DATA segment. This makes those
table sharable in shared libraries.
|
|
|
|
|
|
|
|
| |
const tables, so those will be
put by the C-compiler in the
TEXT segment in stead of the
DATA segment. This makes those
table sharable in shared libraries.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
those generated by Tcl_PrintDouble().
* tests/entry.test: Restore test naming consistency with Tk 8.5.
* tests/listbox.test: Remove some more dependency on precision in
test results.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* generic/tkSelect.h: Tk's TCL_NO_DEPRECATED build.
|
|
|
|
|
|
|
|
| |
we don't create new dependencies on Tcl internals.
* unix/tkUnixPort.h: Removed #include of tclInt.h that has been
* win/tkWinPort.h: disabled for three years. If we needed this
we'd have noticed by now.
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tk.h:
* library/tk.tcl:
* unix/configure.in:
* unix/tk.spec:
* win/configure.in:
* unix/configure: autoconf-2.59
* win/configure:
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
X.org developers (Keith Packard in particular), it was discovered
that Tk is doing management of XIDs that it shouldn't need to do.
The very common XC-MISC extension which has come with every version
of X for the last 15 years is used with Xlib now, to retrieve the
information about the used/unused XIDs.
The public Tk_FreeXId is now a no-op.
Joe English reviewed the patch, and said "please commit."
The patch is associated with the bug tracker id: 2039720
generic/tkError.c: Remove the usage of TkpWindowWasRecentlyDeleted.
generic/tkInt.decls: Update the declarations for the now unused
internalstubs.
generic/tkIntDecls.h: Regenerated based on tkInt.decls.
generic/tkIntPlatDecls.h: Regenerated based on tkInt.decls.
generic/tkStubInit.c
generic/tkWindow.c: Remove the calls to TkInitXId, and TkFreeWindowId.
macosx/tkMaxOSXPort.h: Remove TkFreeWindowId and TkInitXId macro
definitions.
macosx/tkMacOSXXStubs.c: Remove the no-op
TkpWindowWasRecentlyDeleted.
unix/tkUnixEvent.c: Remove call to TkFreeXId.
unix/tkUnixXId.c: Remove a lot of unnecessary code (see above).
win/tkWinPort.h: Remove TkFreeWindowId and TkInitXId.
win/tkWinWindow.c: Remove TkpWindowWasRecentlyDeleted.
|
|
|
|
|
| |
point numbers in -[xy]scrollcommand callbacks or [xy]view methods.
Minor incompatibility: 0 and 1 now formatted as "0.0" resp "1.0".
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tk.h:
* library/tk.tcl:
* unix/configure.in:
* unix/tk.spec:
* win/configure.in:
* unix/configure: autoconf-2.59
* win/configure:
|
|
|
|
|
|
|
| |
while executing "bind Listbox <MouseWheel> [...]".
This allows Tk to compile and run against newer versions of libX11
where the protocol constant LastEvent has changed.
|
|
|
|
| |
declaration to fix inability to embed non-stub-enabled Tk on Windows.
|
| |
|
|
|
|
| |
in case of erroneous style specifications [#2009213].
|
|
|
|
|
|
| |
* library/tk.tcl: Tcl_Canceled() routine, available only in
Tcl 8.6, so bump our Tcl dependencies to version 8.6. Tk 8.6a1 will
no longer [load] into a Tcl 8.5 interp.
|