| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
'\r' to '\n' on the way into Tcl.
|
|
|
|
| |
Can't delete early though as that removes the link with widgets and image names.
|
|
|
|
| |
stippleGC [Bug #730124].
|
|
|
|
|
|
|
|
|
|
| |
* 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]
|
|
|
|
| |
prevent it being covered by other windows.
|
|
|
|
|
| |
* win/configure.in (SHELL): force it to /bin/sh as autoconf 2.5x
uses /bin/bash, which can fail to find exes in the path (ie: lib).
|
|
|
|
| |
has a CreateBitmap function already.
|
|
|
|
| |
GetCursor func already, which causes compiler warnings.
|
|
|
|
|
|
| |
Rename the private menu helper cmd from
tk::tkWinMenuKey to tk::WinMenuKey.
[Bug 721514]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that can be used to query the XEvent* for the currently
executing binding.
* generic/tkInt.h: Declare TkpGetBindingXEvent.
* win/tkWinMenu.c (MenuKeyBindProc, TkWinMenuKeyObjCmd,
TkpInitializeMenuBindings): Rename MenuKeyBindProc to
TkWinMenuKeyObjCmd and convert it into a Tcl command
named tk::tkWinMenuKey. Bind keyboard accelerator
actions to this Tcl command instead of using a native
C binding. This makes it possible to extend the
existing binding with Tcl code and makes the Windows
version work just like the unix version.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
|
|
| |
* win/configure.in: Set stub lib flag based
on new LIBFLAGSUFFIX variable.
* win/tcl.m4: Update from Tcl to get new
LIBFLAGSUFFIX variable.
|
|
|
|
|
|
|
|
|
|
| |
* win/configure.in: Don't set TCL_DLL_FILE,
TCL_LIB_FILE, TCL_STUB_LIB_FILE, TCL_STUB_LIB_FLAG,
and TCL_BUILD_STUB_LIB_SPEC. These variables are
already set in tclConfig.sh. Don't subst vars
that are either not used, or already covered by
a subst in SC_LOAD_TCLCONFIG.
[Bug 691908]
|
|
|
|
| |
* unix/tcl.m4: Update from Tcl.
|
|
|
|
|
| |
* tests/constraints.tcl: -loadfile to hold definitions
* tests/*.test: common to all test files.
|
|
|
|
| |
* unix/tcl.m4: Update from Tcl.
|
|
|
|
| |
* unix/tcl.m4: Update from Tcl to get BeOS changes.
|
|
|
|
| |
properly. [Patch 707792] Thanks to Joe Mistachkin for the fixes.
|
|
|
|
|
|
|
|
|
|
| |
* macosx/tkMacOSXLibrary.r (removed):
* macosx/tkMacOSXResource.r (removed):
* macosx/Wish.pbproj/project.pbxproj:
* macosx/tkAboutDlg.r: updated copyrights, cleaned up about box,
removed obsolete unused resource files.
* macosx/buildTkConfig.tcl: TK_DEFS space fix.
|
|
|
|
|
| |
to mirror the TCL_DLL_FILE entry in tclConfig.sh.
[Patch 694271]
|
|
|
|
|
|
|
|
|
| |
* win/configure.in: Don't run the AC_CYGWIN
macro since it uses AC_CANONICAL_HOST under
autoconf 2.5X. Just check to see if __CYGWIN__
is defined by the compiler and set the
ac_cv_cygwin variable based on that.
[Tcl Bug 705912]
|
|
|
|
| |
commit. Thanks Larry Virden. [Bug 705567]
|
|
|
|
|
|
|
|
| |
* macosx/Makefile:
* macosx/README: added support for giving 'make' the location
of Tcl.framework and tclsh to build and link against.
* macosx/tkMacOSXXStubs.c: fixed crash in [winfo server].
|
|
|
|
|
|
| |
to run only on Unix. Alternative approach did not match maintainer
habits.
* tests/spinbox.test (spinbox-17.4): Avoid long failure message.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* macosx/tkMacOSXMenu.c (EventuallyInvokeMenu): New function,
used to invoke menu commands at idle time.
(TkMacOSXDispatchMenuEvent): Don't immediately dispatch menu
commands, wait till the idle loop to do so. This is more like
what is done on Windows, and avoids the crash from destroying
a menu in it's command.
* macosx/tkMacOSXHLEvents.c (ReallyKillMe): Don't force the shell
to exit. According to the OS X HI guidelines, it should be
possible to cancel an attempt to quit, and if we force the kill,
here, it would not be possible to implement this.
|
|
|
|
|
|
| |
constraint to tests that depend on the
testwrapper command. These tests should
not be run under Windows for example.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Check for a NULL masterPtr and slavePtr in the
GridStructureProc code to ensure that a Gridder
created before some error condition is ignored
when it comes to geometry calculations. This
approach closely matches the pack implementation.
Keep track of a -in argument to a grid command
in order to detect the case of an already
gridded widget that wants to change some options.
The previous implementation could make repeated
and unnecessary calls to Tk_ManageGeometry.
Replace use of "parent" with "master" in comments
throughout the file.
* generic/tkPack.c (PackStructureProc): Check for
a NULL masterPtr before other checks so that a
slave created under certain error conditions
is cleaned up properly.
Replace use of "parent" with "master" in comments
throughout the file.
* generic/tkPlace.c (CreateSlave, ConfigureSlave,
SlaveStructureProc):
Don't call Tk_ManageGeometry in CreateSlave since
this was causing incorrect results in some error
cases. Rework the ConfigureSlave method so that
slave setup is done in one place. The call to
Tk_ManageGeometry was added to the one place
where a slave is setup. When a slave is configured
but the master is not changed, simply goto the
scheduleLayout label. Check for a NULL master
in SlaveStructureProc for the sake of readability.
* tests/grid.test:
* tests/pack.test:
* tests/place.test: Add test to check that a
winfo manager call does not return incorrect
results after an error condition is hit.
[Patch 693063]
|
|
|
|
| |
of the install step.
|
|
|
|
|
| |
MacOS 9 behavior, which was to insert a separator item after the system help
menus, but this doesn't happen on X...
|
| |
|
|
|
|
|
| |
they could never be done portably as they'd inevitably depend on the total
amount of memory available to the process... :^(
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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:
|
| |
|
| |
|
| |
|
|
|
|
| |
underlying field to prevent a crash on Windows. [Bug #612110]
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* win/tkWinDraw.c:
* win/tkWinFont.c (Tk_DrawChars): add support for simple XOR text
drawing on Windows. [Patch #685388] (martin)
|
|
|
|
| |
menusInitialized on finalize. [Bug #548729]
|
|
|
|
| |
Wish target.
|
|
|
|
|
| |
parameters to posix style path names.
[Bug #621672] (steffen, Benjamin Riefenstahl)
|
|
|
|
|
|
|
|
|
|
|
|
| |
parameters to posix style path names.
[Bug #621672] (steffen, Benjamin Riefenstahl)
* macosx/tkMacOSXDialog.c:
* macosx/tkMacOSXWm.c:
* macosx/Wish.pbproj/project.pbxproj:
* macosx/tkMacOSXUtil.c (removed):
* macosx/tkMacOSXUtil.h (removed): removed all references to
tkMacOSXUtil.{c,h}, made obsolete by the patch above. [Bug #621672]
|