Tk Source Code

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

65 check-ins using file generic/tkBitmap.c version 542f45bb

2006-02-27
10:36
Fix pixmap creation ordering issue [Bug 480862] Stupid issue was fixed for the mask pixmap, but not the data pixmap! check-in: 291d4c3c user: dkf tags: trunk
2006-02-09
19:08
* generic/tk.decls: fix signature of TkMacOSXInvalClipRgns * generic/tkPlatDecls.h: to use Tk_Window instead of internal * macosx/tkMacOSXSubwindows.c: type TkWindow (which led to any include * macosx/tkMacOSXWindowEvent.c: of public header tkMacOSX.h requiring * macosx/tkMacOSXWm.c: prior include of tkInt.h).
* generic/tk.h: move TkAqua specific REDO_KEYSYM_LOOKUP define * macosx/tkMacOSXPort.h: out of tk.h into platform header.
check-in: 03071b66 user: das tags: trunk
2006-02-07
11:33
Scope the config a bit better; it only needs to be visible inside one function. check-in: c60c8562 user: dkf tags: trunk
11:25
Use the fact that ckalloc() *never* returns NULL to optimize the code check-in: 2e334022 user: dkf tags: trunk
11:20
space->tab check-in: 6cdc6cc6 user: dkf tags: trunk
2006-02-03
22:40
Comment formatting check-in: 7f87d183 user: dkf tags: trunk
2006-01-31
21:39
Finish i18n of bgerror [Bug 1409264]. No l10n of that specific message though; that can wait for someone who really wants to use non-English to submit patches. check-in: 25466c90 user: dkf tags: trunk
2006-01-25
18:22
* library/bgerror.tcl: Updates to use Tcl 8.4 features. [Patch 1237759] * library/choosedir.tcl: * library/comdlg.tcl: * library/console.tcl: * library/dialog.tcl: * library/focus.tcl: * library/msgbox.tcl: * library/palette.tcl: * library/tk.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl:
check-in: 49fb7ce3 user: dgp tags: trunk
2006-01-23
00:53
* unix/configure: minor fix to Darwin specific code removing * unix/configure.in: 64bit flags from CFLAGS for Tk build.
check-in: 8e9101dc user: das tags: trunk
2006-01-20
18:58
XIM fixes [See #905830, patch tk84-xim-fixes.patch]. + Revert 2005-12-05 patch disabling XIM when SCIM in use; + Make sure all X events get passed to XFilterEvent, including those without a corresponding Tk window. check-in: 6e812d71 user: jenglish tags: trunk
2006-01-12
23:29
generic/tkUndo.c (TkUndoSetDepth): Don't free TkUndoSubAtoms for separator entries that are deleted: there is some unpredictable garbage instead of subatoms. Free both 'apply' and 'revert' action chains for non-separator entries. check-in: 1c6c7ed5 user: a_kovalenko tags: trunk
13:38
TIP#260 implementation check-in: 9af1f6dc user: dkf tags: trunk
2006-01-11
19:53
Removed a lingering error message from TIP#147 implementation. check-in: f9a57704 user: pspjuth tags: trunk
2006-01-10
05:37
* macosx/tkMacOSXDebug.c: add TkMacOSXGetNamedDebugSymbol() function * macosx/tkMacOSXDebug.h: that finds unexported symbols in loaded libraries by manually walking their symbol table; only to be used for debugging purposes, may break unexpectedly in the future. Needed to get access to private_extern internal debugging functions in HIToolbox.
* macosx/tkMacOSXCarbonEvents.c: fix debug event tracing on Tiger. * macosx/tkMacOSXMenu.c: add debug menu printing during reconfigure. * macosx/tkMacOSXInit.c: conditionalize 64bit-unsafe dyld code. * macosx/GNUmakefile: add 'wish8.x' symlink to SYMROOT.
* macosx/Wish.xcode/project.pbxproj: fix copy to tktest resource * macosx/Wish.xcodeproj/project.pbxproj: fork when zerolinked.
* macosx/Wish.xcode/default.pbxuser: add widget demo as argument to * macosx/Wish.xcodeproj/default.pbxuser: executables (on by default).
* unix/configure: add caching, use AC_CACHE_CHECK instead of * unix/configure.in: AC_CACHE_VAL where possible, consistent message * unix/tcl.m4: quoting, sync relevant tclconfig/tcl.m4 changes and gratuitous formatting differences, fix SC_CONFIG_MANPAGES with default argument, Darwin improvements to SC_LOAD_*CONFIG.
check-in: d23f30ce user: das tags: trunk
2005-12-29
10:46
remove unused variable to allow compilation with VC++ in debug mode check-in: 8a103cb6 user: vincentdarley tags: trunk
2005-12-28
17:26
Fix [Bug 1380427] using [Patch 1391939] from Ludwig Callewaert check-in: bea821e1 user: dkf tags: trunk
2005-12-14
02:09
* macosx/Wish.xcode/project.pbxproj: * macosx/Wish.xcodeproj/project.pbxproj: add new tclTomMath* files.
check-in: 93d04bc3 user: das tags: trunk
2005-12-13
03:44
* library/demos/cscroll.tcl: add MouseWheel bindings for aqua.
* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent, GenerateMouseWheelEvent): add support for kEventMouseScroll events (smooth mouse wheel scrolling from mighty mouse or scrolling trackpad) by handling kEventMouseWheelMoved on application target as well as on dispatcher, in order to pick up synthesized MouseWheel events from HIObject handler (c.f. QA1453); add support for horizontal scrolling events by generating MouseWheel XEvent with Shift modifier.
check-in: e13a9e41 user: das tags: trunk
2005-12-12
22:33
ANSIfy check-in: e8665628 user: dkf tags: trunk
20:58
* unix/tcl.m4, unix/configure: Fix sh quoting error reported in bash-3.1+ [Bug 1377619] (schafer)
check-in: 2d92acd2 user: hobbs tags: trunk
2005-12-10
01:42
* win/tkWinWm.c (WinSetIcon): Don't check result of SetClassLong() or SetClassLongPtr() since it was generating an incorrect error and the MSDN docs indicate that the result need not be checked.
check-in: 0c5773d9 user: mdejong tags: trunk
01:38
* win/configure: Regen. * win/tcl.m4 (SC_CONFIG_CFLAGS): Define MACHINE for gcc builds. The lack of a definition of this variable in the manifest file was causing a runtime error in wish built with gcc.
check-in: 5b27d5f9 user: mdejong tags: trunk
2005-12-09
00:48
* generic/tkInt.decls: move all platform test sources from tk lib into * generic/tkTest.c: tktest directly, removes requirement to export * macosx/tkMacOSXTest.c: TkplatformtestInit from internal stubs table. * unix/Makefile.in: * win/Makefile.in: * win/makefile.vc: * win/tkWinTest.c:
* generic/tkIntPlatDecls.h: * generic/tkStubInit.c: regen.
check-in: 6ef50d0b user: das tags: trunk
2005-12-08
22:14
add tkWinTest.obj to regular Tk obj for TkplatformtestInit check-in: 15f34d6b user: hobbs tags: trunk
21:13
fix dist target for manifest dir change check-in: 27ddcefb user: hobbs tags: trunk
20:25
* win/tcl.m4: Add build support for Windows-x64 builds. * win/configure: --enable-64bit now accepts =amd64|ia64 for * win/Makefile.in: Windows 64-bit build variants (default: amd64) * win/makefile.vc: [Bug 1369597] * win/configure.in: Add CE build support (some C code fixes needed) * win/wish.exe.manifest.in (new): manifest must map in MACHINE * win/rc/wish.exe.manifest (removed): and VERSION to be correct.
check-in: a62685ce user: hobbs tags: trunk
18:17
* generic/tkTextTag.c (TkTextTagCmd): use correct arraySize for peered text widgets in [$text tag names]. [Bug 1375069 1374935]
check-in: 6445465e user: hobbs tags: trunk
07:50
* macosx/tkMacOSXDraw.c: remove inclusion of tclInt.h and use of tcl * macosx/tkMacOSXFont.c: internals wherever possible in tk/macosx, the * macosx/tkMacOSXInit.c: only remaining tcl internals in TkAqua are * macosx/tkMacOSXNotify.c: TclServiceIdle() in tkMacOSXScrlbr.c and * macosx/tkMacOSXScrlbr.c: Tcl_Get/SetStartupScript() in tkMacOSXInit.c [Bug 1336531].
check-in: 8051a1e4 user: das tags: trunk
05:04
* macosx/tkMacOSXInt.h: sync comments with core-8-4-branch.
check-in: 37b183a7 user: das tags: trunk
2005-12-07
17:32
remove extraneous const check-in: bf84b904 user: hobbs tags: trunk
2005-12-06
09:16
Doc change to discourage the use of TK_CONFIG_OPTION_SPECIFIED which was not thread-safe and is now no-longer used. check-in: 45c68812 user: dkf tags: trunk
2005-12-05
17:02
* unix/tkUnixEvent.c (OpenIM): Added a workaround to allow at least ASCII and the Compose key when typing into text and entry widgets on a system that uses SCIM. This has to be taken out again once the SCIM problems have been fixed. check-in: c35ecf2e user: rmax tags: trunk
2005-12-03
00:41
documented macosx-only configure options. check-in: 6085dda7 user: das tags: trunk
2005-12-02
17:23
eliminate test name duplication check-in: e47b2fbb user: dgp tags: trunk
13:42
More fixes (mostly getting rid of excess spaces) check-in: 36165453 user: dkf tags: trunk
11:01
whitespace police check-in: 7f9c6719 user: dkf tags: trunk
00:29
Fix problems in last commit check-in: f8a43d44 user: dkf tags: trunk
00:19
ANSIfication check-in: 1be88f10 user: dkf tags: trunk
2005-12-01
07:34
* win/tkWinWm.c (WmAttributesCmd): set (no)topmost window aspect before rewrapping. [Bug 1086049]
check-in: 53c4ce1e user: hobbs tags: trunk
06:24
* macosx/tkMacOSXXStubs.c (TkpOpenDisplay, TkMacOSXDisplayChanged): * macosx/tkMacOSXWindowEvent.c (TkMacOSXProcessApplicationEvent): * macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): * macosx/tkMacOSXEvent.h: Trap kEventAppAvailableWindowBoundsChanged * macosx/tkMacOSXInt.h: event to watch for change in display size and adjust internal state appropriately.
check-in: 2a1e16ec user: hobbs tags: trunk
05:47
fix typo check-in: 95fc8cf9 user: das tags: trunk
04:28
* unix/tcl.m4 (Darwin): fixed error when MACOSX_DEPLOYMENT_TARGET unset. * unix/configure: regen.
check-in: dc36c4dd user: das tags: trunk
03:54
* doc/checkbutton.n: fix -selectcolor docs [Bug 1083838]
check-in: 1f456fcb user: hobbs tags: trunk
03:21
* generic/tkImgGIF.c: cast calls to blockOut
check-in: 13f3c03c user: hobbs tags: trunk
02:13
* win/Makefile.in: Add tkWinTest.obj to tk84.dll to handle some needed test functions being defined in stubs (TkplatformtestInit).
check-in: 0ee247f0 user: hobbs tags: trunk
02:03
* win/Makefile.in: place TCL_BIN_DIR first in PATH for targets to get Tcl built dll first.
check-in: 770f90b7 user: hobbs tags: trunk
02:02
(6.22): fix rounding-error sensitive test check-in: b49bbf87 user: hobbs tags: trunk
2005-11-30
01:24
* library/console.tcl (::tk::ConsoleInit): improve work-around to avoid '% ' from tclMain.c [Bug 1252259]
check-in: dfe77e0f user: hobbs tags: trunk
2005-11-27
10:15
fix settings order check-in: 551d8d9d user: das tags: trunk
06:53
* macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXMenubutton.c: define OSX 10.3 or later only constants if necessary to allow compilation on OSX 10.2
check-in: 9838a79f user: das tags: trunk
06:47
typo in last commit check-in: 0815b3cc user: das tags: trunk
06:44
document automatic removal of -arch ppc64 CFLAGS check-in: d3fe82c0 user: das tags: trunk
06:37
* macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: define OSX 10.3 or later only constants if necessary to allow compilation on OSX 10.2
check-in: 3f175c1a user: das tags: trunk
04:23
Darwin: disable ppc64 for fat builds since neither Aqua nor X11 is available for 64 bit at present. check-in: c8007322 user: das tags: trunk
02:36
* unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(), add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to configure (flag can't be present twice, so can't be in both CFLAGS and LDFLAGS during configure), don't use -prebind when deploying on 10.4, define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542). (SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete autoconf macros. Sync with tcl/unix/tcl.m4.
* unix/configure.in: fix obsolete autoconf macros, sync gratuitous formatting/ordering differences with tcl/unix/configure.in.
* unix/Makefile.in: add CFLAGS to wish/tktest link to make executable linking the same as during configure (needed to avoid loosing any linker relevant flags in CFLAGS, in particular flags that can't be in LDFLAGS). Avoid concurrent linking of wish and compiling of tkTestInit.o during parallel make, fix dependencies and flags for building tkMacOSXInit.o (checkstubs, checkexports): dependency and Darwin fixes (dist): add new macosx files.
* macosx/tkMacOSXEvent.c (TkMacOSXProcessEvent): * macosx/tkMacOSXEvent.h: * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): * macosx/tkMacOSXCarbonEvents.c: install standard application event handler, add & call functions to start and stop carbon even timer that runs the tcl event loop periodically during a nested carbon event loop in the toolbox (e.g. during menutracking) to ensure tcl timers etc continue to fire, register app event handler for menu tracking and HI command carbon events, move menu event handling to new handlers for those carbon events, no longer register for/handle appleevent carbon event (now dealt with by standard application event handler), event debugging code dynamically acquires carbon event debugging functions to allow use on Tiger where they are no longer exported from HIToolbox.
* macosx/tkMacOSXFont.c (TkMacOSXUseAntialiasedText): * macosx/tkMacOSXKeyEvent.c (GetKeyboardLayout): * macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: abstract common code to dynamically acquire address of a named symbol (from a loaded dynamic library) into new function TkMacOSXGetNamedSymbol() and macro TkMacOSXInitNamedSymbol.
* macosx/tkMacOSXMenu.c (TkpNewMenu): * macosx/tkMacOSXMenubutton.c (MenuButtonInitControl): * macosx/tkMacOSXMenus.c (TkMacOSXHandleMenuSelect): switch to modern utf8 aware menu manager API, remove obsolete code, add error handling.
* macosx/tkMacOSXMouseEvent.c: define OSX 10.3 or later only constants if necessary to allow compilation on OSX 10.2
* macosx/tkMacOSXWm.c (UpdateSizeHints): remove code that is never executed.
* xlib/xgc.c (XCreateGC): sync with core-8-4-branch change.
* generic/tk.h: add/correct location of version numbers in macosx files.
* generic/tkInt.h: clarify fat compile comment.
* macosx/Wish.pbproj/default.pbxuser (new file): * macosx/Wish.pbproj/jingham.pbxuser: * macosx/Wish.pbproj/project.pbxproj: * macosx/Wish.xcode/default.pbxuser: * macosx/Wish.xcode/project.pbxproj: * macosx/Wish.xcodeproj/default.pbxuser (new file): * macosx/Wish.xcodeproj/project.pbxproj (new file): new/updated projects for Xcode 2.2 on 10.4, Xcode 1.5 on 10.3 & ProjectBuilder on 10.2, with native tktest targets and support for universal (fat) compiles.
* macosx/Tk-Info.plist (removed): * macosx/Wish-Info.plist (removed): * macosx/buildTkConfig.tcl (removed): remove obsolete build files.
* macosx/README: clarification/cleanup, document new Xcode projects and universal (fat) builds via CFLAGS (i.e. ppc and i386 at the same time).
* unix/Makefile.in: * unix/aclocal.m4: * unix/configure.in: * macosx/configure.ac (new file): add support for inclusion of unix/configure.in by macosx/configure.ac, allows generation of a config headers enabled configure script in macosx (required by Xcode projects).
* macosx/GNUmakefile: rename from Makefile to avoid overwriting by configure run in tk/macosx, add support for reusing configure cache, build target fixes.
* generic/tk3d.h: * generic/tkButton.h: * generic/tkCanvas.c: * generic/tkCanvas.h: * generic/tkColor.h: * generic/tkEntry.h: * generic/tkFileFilter.h: * generic/tkFont.c: * generic/tkFont.h: * generic/tkImage.c: * generic/tkImgPhoto.c: * generic/tkInt.h: * generic/tkMenu.c: * generic/tkMenu.h: * generic/tkMenubutton.h: * generic/tkScale.h: * generic/tkScrollbar.h: * generic/tkSelect.h: * generic/tkStubInit.c: * generic/tkStubLib.c: * generic/tkText.h: * generic/tkUndo.h: * macosx/tkMacOSXButton.c: * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDebug.h: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXInt.h: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXSend.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * unix/tkUnixButton.c: * unix/tkUnixMenu.c: * xlib/xgc.c: ensure externally visible symbols not contained in stubs table are declared as MODULE_SCOPE (or as static if not used outside of own source file), #ifdef out a few Xlib and aqua functions that are never called. These changes allow 'make checkstubs' to complete without error on Darwin with gcc 4.
* macosx/tkMacOSXTest.c: * macosx/tkMacOSXPort.h: * win/tkWinTest.c: * generic/tkInt.decls: add functions needed by tktest to internal stubs table, correct signature of TkMacOSXHandleMenuSelect, add XSync to aqua Xlib stubs.
* unix/tkUnixSend.c: * generic/tkText.c: * generic/tkTest.c: #ifdef unix only declarations. (TestmetricsCmd): unify win and mac implementation. (TestsendCmd): move to tkUnixSend.c to avoid access to global var. (TesttextCmd): move to tkText.c to avoid having to put all the internal text functions it uses into the stubs table.
* generic/tkTextDisp.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXXStubs.c: fix gcc 4 warnings.
* macosx/tkMacOSXNotify.c: * macosx/tkMacOSXScrlbr.c: sync with core-8-4-branch.
* generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkStubInit.c: * unix/configure: * unix/tkConfig.h.in: regen.
check-in: 67cb6f9b user: das tags: trunk
2005-11-25
15:58
Fix bits that (should, and now do) refer to tk::IconList_CurSelection check-in: edc9d847 user: dkf tags: trunk
2005-11-22
20:23
Renamed Makefile to GNUmakefile check-in: 90c99bfc user: das tags: trunk
13:22
Bits and pieces relating to [Bug 600313] check-in: 9c53ad94 user: dkf tags: trunk
11:59
Fix [Bug 1151523] the non-embarrasing way! check-in: 124da82f user: dkf tags: trunk
11:16
Plug potential memory leak... check-in: 911c8564 user: dkf tags: trunk
10:57
Fix [Bug 1335485] check-in: 9cfa2372 user: dkf tags: trunk
10:46
Minor formatting alterations check-in: d05288ce user: dkf tags: trunk
2005-11-18
10:18
ANSIfy (might as well finish the job!) check-in: e807393b user: dkf tags: trunk
2005-11-17
16:21
ANSIfy and reduce casting of NULL to promote readability check-in: b6c2c77c user: dkf tags: trunk
10:57
Lots of ANSIfying of function decls. Also a few spots where code has been cleaned up more completely. check-in: 2a0a22ab user: dkf tags: trunk