| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
that prevents overwidth lines as it requires a roundtrip call to
the X server for every string drawn. Hard-code max width to 32768
until a beter solution to get max width is made.
|
|
|
|
|
|
|
|
|
| |
test for XCloseIM bug when the XFree86 version
is newer than 4.0 since the layout of the
XIM structure has changed. The check is not
needed for newer XFree86 releases since
the bug we are checking for was fixed in
the 4.2.99.2 release. [Bug 755530]
|
|
|
|
|
| |
Fixed TkpGetSubFonts() to return information about all subfonts,
not just the first one.
|
| |
|
|
|
|
|
| |
pattern returned from GetFont (actual font) instead of the
query pattern (requested font).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ Added copyright notice
+ Fix infinite loop in Tk_MeasureChars when TK_WHOLE_WORDS is specified
+ Fix for crash in TkpGetNativeFont when XftXlfdParse() fails
+ TkpGetFontFromAttributes: use XftPatternCreate() and
XftPatternAddString(... XFT_FAMILY ...) instead of XftPatternBuild()
to initialise pattern; fixes crash when faPtr->family == NULL
+ Workaround for Tcl bug where malformed UTF-8 text can get passed
to Tk_MeasureChars / Tk_DrawChars.
+ TkpGetFontFromAttributes: don't request 0-pixel fonts
+ TkpGetNativeFont: don't use FcNameParse, since that tends to
always succeed, causing the usual Tk font parsing to be skipped.
|
| |
|
|
|
|
|
|
| |
of the file to avoid error when user has set S
to something.
[Tk Bug #739833]
|
|
|
|
|
|
| |
charset fonts. gb2312.enc was made to be euc-cn for Tcl because
that is what is most often meant, but X really wants the original
(-raw) gb2312 encoding. [Bug 557030]
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkButton.c (TkButtonWorldChanged): of compound *buttons
* mac/tkMacButton.c (TkpDisplayButton): to correctly display
* macosx/tkMacOSXButton.c (TkpDisplayButton): mixture of disabledfg,
* unix/tkUnixButton.c (TkpDisplayButton): selectcolor, indicator,
* win/tkWinButton.c (TkpDisplayButton): etc. *buttons will
now only stipple the image, unless no disabledfg is given, in which
case it will stipple the whole button.
|
|
|
|
|
|
| |
* win/tkWinButton.c (TkpDisplayButton): displaying disabled text
that have images, as they get a gray50 stipple as well and the
disabledGc is not set up correctly for font drawing. [Bug #477740]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
DL_LIBS and MATH_LIBS.
* unix/configure: Regen.
* unix/configure.in: Remove SC_ENABLE_THREADS
invocation. Thread support in an extension
should be automatic when Tcl is compiled
with thread support. Add AC_DEFINE calls
to set TCL_THREADS, _REENTRANT, and
_THREAD_SAFE since this was done in
SC_ENABLE_THREADS. Remove socket and math
lib checks since these are already done in
the Tcl configure script.
* unix/tcl.m4: Update from Tcl to get
TCL_LIBS fix. This fixes bug 597847
which was caused by improper linking.
* unix/tkConfig.sh.in: Subst TCL_LIBS
instead of MATH_LIBS and DL_LIBS.
[Bug 597847]
|
|
|
|
| |
* unix/tcl.m4: Update from Tcl.
|
|
|
|
| |
* unix/tcl.m4: Update from Tcl.
|
|
|
|
| |
* unix/tcl.m4: Update from Tcl to get BeOS changes.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for a detailed explanation of why this is good.
This will no doubt break the build on some
platforms, let the flaming begin.
* unix/configure: Regen with autoconf 2.57.
* unix/configure.in: Require autoconf 2.57.
* unix/tcl.m4: Update from Tcl.
* win/configure: Regen with autoconf 2.57.
* win/configure.in: Require autoconf 2.57.
* win/tcl.m4: Update from Tcl.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that the resizable command keeps scripts from
changing the size of windows since it is
not true. The resizable command only applies
to user sizing via user interaction.
* tests/unixWm.test: Replace broken tests with
the nonPortable constraint with new tests for
maxsize and minsize options. These tests
verify that setting the minsize and maxsize
will resize the window if needed, and that
the wm hints will be updated with the new sizes.
* tests/wm.test: Add an exhaustive set of tests
for the wm maxsize and wm minsize commands.
These tests verify that setting the minsize
and maxsize will resize the window if needed.
These tests have only been run under Win98
and Window Maker under Linux, so further tweaking
may be needed for other systems.
* unix/tkUnixWm.c (UpdateGeometryInfo, UpdateSizeHints):
Fixup comments and initialization for the minWidth,
minHeight, maxWidth, maxHeight, width, and height
members of the WmInfo struct. Check to ensure
that a new toplevel window size is not larger
than the maxsize or smaller than the minsize
when updating the geometry at idle time.
Pass new width and height values to the
UpdateSizeHints method so that it can properly
set the window min and max sizes for a window
that cannot be resized by the user. This fixes
a bug where the window resizes back to the original
size when the user clicks on the window border.
* win/tkWinWm.c (UpdateGeometryInfo):
Fixup comments and initialization for the minWidth,
minHeight, maxWidth, maxHeight, width, and height
members of the WmInfo struct. Check to ensure
that a new toplevel window size is not larger
than the maxsize or smaller than the minsize
when updating the geometry at idle time.
[Patch 568861]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tk.h: Tk to 8.5a0.
* library/tk.tcl:
* mac/README:
* macosx/Wish.pbproj/project.pbxproj:
* unix/README:
* unix/configure.in:
* unix/tk.spec:
* win/README:
* win/configure.in:
* win/makefile.vc:
* win/tcl.m4:
* unix/configure: autoconf
* win/configure:
|
| |
|
|
|
|
| |
first best font match in user font path. [Bug #647497] (dal zotto)
|
|
|
|
|
| |
of disabled check/radiobutton to be more distinctive on unix.
* tests/unixButton.test: [Bug #669595] (hintermayer)
|
|
|
|
|
|
|
|
|
|
| |
binding for corresponding Quit menu item shortcut.
* macosx/README: updated instructions for embedded build,
added various improvements by Russell Owen.
* unix/tcl.m4: update from Tcl.
* unix/configure: regen.
|
|
|
|
| |
test would be very platform- and build-specific. [Bugs #618872 and #689357]
|
|
|
|
| |
* unix/tcl.m4: Update from Tcl (HP xnet [Bug #651811]).
|
|
|
|
| |
* unix/tcl.m4: Update from Tcl.
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tk.h:
* macosx/Wish.pbproj/project.pbxproj:
* unix/configure:
* unix/configure.in:
* unix/tcl.m4:
* unix/tk.spec:
* win/configure:
* win/configure.in:
|
| |
|
|
|
|
| |
(Fixes: #664780 "SGI warning: OpenIM")
|
|
|
|
|
|
|
| |
as well as Configure events during WaitFor{Configure|Map}Notify.
Fixes [Bug 578569] (WaitForMapNotify could process Map and Unmap
events out of order, making Tk think a window was unmapped when
it really wasn't).
|
|
|
|
|
|
|
|
|
|
|
| |
check that a transient remains withdrawn
when it is first withdrawn and then turned
into a transient.
* unix/tkUnixWm.c:
* win/tkWinWm.c: Replace WM_TRANSIENT_WITHDRAWN
with WM_WITHDRAWN and set this flag whenever
a window is explicitly withdrawn. This fixes
the test case added above. [Bug 644356]
|
|
|
|
| |
particular) to the dist target.
|
| |
|
|
|
|
|
|
|
| |
* unix/tcl.m4: Update from Tcl.
* win/configure: Regen.
* win/configure.in: Check that AR, RANLIB, and RC
are found on the path when building with gcc.
|
|
|
|
| |
* unix/tkUnixFont.c (ControlUtfProc): bytes consumed. [Bug #624732]
|
|
|
|
|
| |
* unix/tcl.m4: add AIX-5 ppc build support. Remove unused
SC_ENABLE_MEMDEBUG.
|
|
|
|
|
|
|
| |
* unix/Makefile.in: comment docs
* unix/configure: regen
* unix/tcl.m4: replaced SC_ENABLE_MEMDEBUG with a more intelligent
SC_ENABLE_SYMBOLS that takes yes|no|mem|all as options now.
|
| |
|
|
|
|
|
|
| |
tag them with the right size and only transfer complete UTF8 characters.
Previously, things only worked when the transfer could only happen in one go,
and even then not always. [Bug 614650, reported by Reinhard Max]
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tk.h: of CVS snapshots with release 8.4.0.
* unix/README:
* unix/configure.in:
* unix/tk.spec
* win/configure.in:
* unix/configure: autoconf
* win/configure:
|
|
|
|
| |
* unix/tcl.m4: improve AIX-4/5 64bit compilation support.
|
|
|
|
| |
Do not generate .Z, only .gz and .zip in alldist target.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When embedding only use deployment build. Force relink before
embedded build to ensure new linker flags are picked up.
* macosx/buildTkConfig.tcl (new):
* macosx/Wish.pbproj/project.pbxproj: synthesize tkConfig.sh
based on tclConfig.sh in Tcl.framework and tkConfig.sh.in.
Add symbolic links to debug lib, stub libs and tkConfig.sh
in framework toplevel. Made tkIntXlibDecls.h a public header
since Headers/X11/Xlib.h includes it. Install wish8.4 script
that runs "Wish Shell.app" and corresponding wish link.
Use tcl headers from built Tcl.framework instead of from tcl
source directory.
* macosx/tkMacOSXPort.h: added missing standard unix includes
and defines, similarly to tkUnixPort.h.
* macosx/tkMacOSXNotify.c: removed dependency on internal tcl
header "tclPort.h"
* unix/Makefile.in:
* unix/install-sh: copied support for 'install-strip' target
over from tcl/unix/{Makefile.in,install-sh}
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* unix/tcl.m4: Update from Tcl.
* unix/tkUnixEvent.c (TkpCloseDisplay): Use PEEK_XCLOSEIM
to examine the input context queue before invoking
XCloseIM. Generate an assert if there is an input
context that has not been freed.
[Patch 570902]
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and set it to default value ${LIB_RUNTIME_DIR}
* unix/tcl.m4 (Darwin): use DYLIB_INSTALL_DIR instead of
LIB_RUNTIME_DIR in the -install_name argument to ld.
* unix/configure: regen.
* macosx/Wish.pbproj/project.pbxproj:
* macosx/Makefile: added support for building Tcl as an embedded
framework, i.e. using an dyld install_name containing
@executable_path/../Frameworks via the new DYLIB_INSTALL_DIR
unix/Makefile variable.
|
| |
|
| |
|
|
|
|
|
| |
* unix/tkUnixWm.c: remove possible 2-second delay in 'raise'.
[Patch #601518] (english) TIP #107
|