summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Sync with tcl to enable building with VC8 (VS2005 C compiler)patthoyts2006-06-144-208/+185
| | | FossilOrigin-Name: ee6f1e5a8f27a3931c10695d05278ced25c7fedc
* * generic/tkScale.c: Revised variable writing logic to accountdgp2006-06-142-5/+18
| | | | | | | for [scale]'s design that it deals with its value as a formatted string, and not as a double. [Bug 891141]. FossilOrigin-Name: 536e572bde9a57dfa1f2e0a30e89b132cf074683
* * macosx/tkMacOSXSubwindows.c (TkMacOSXInvalidateWindow): ensure invaliddas2006-06-143-93/+160
| | | | | | | | | | | | clip regions are recreated via TkMacOSXUpdateClipRgn() before they are used; correct call order of TkMacOSXInvalidateWindow() and TkMacOSXInvalClipRgns() throughout. [Bug 1501922] * macosx/tkMacOSXDraw.c (TkPutImage): implement drawing of very wide images in slices of less than 4096 pixels to workaround CopyBits limitation. [Bug 950121] FossilOrigin-Name: 9b237f7f3afd7123f0c26988e0d8532c61489094
* * generic/tkMain.c: Added Tcl_Preserve() call on the masterdgp2006-06-092-1/+9
| | | | | | | interp as crash protection against any Tcl_DeleteInterp() call that might happen. FossilOrigin-Name: f732e26226724ecf99c53cd5ee5731a307c7363f
* * generic/tkInt.h: Thread safety for the data structures ofdgp2006-06-053-321/+461
| | | | | | * generic/tkConsole.c: the wish [console]. [Bug 1188340]. FossilOrigin-Name: 10a79ac1bed99e6824053237f89e440d5572672d
* * generic/tkConsole.c: Added Tcl_RegisterChannel() calls to bumpdgp2006-06-012-2/+17
| | | | | | | the refcount of channels passed to Tcl_SetStdChannel(). This prevents early free-ing of the channels that leads to crashes. [Bug 912571]. FossilOrigin-Name: 7ed05ec2262b88b500f4f4da12e2dd5473602a4c
* * tests/entry.test (entry-22.1):hobbs2006-05-294-26/+56
| | | | | | | | | * tests/listbox.test (listbox-6.15): * generic/tkListbox.c (ListboxInsertSubCmd, ListboxDeleteSubCmd): Ignore Tcl_SetVar2Ex failure of listVarName, similar to entry widget handling. [Bug 1424513] FossilOrigin-Name: 18780b1c4f4abdbd9ed9662513ee984e64ad568b
* sync with tcldas2006-05-272-214/+270
| | | FossilOrigin-Name: d73b3d7d8f4a7009a554472dc9df0f206b3eca02
* * macosx/tkMacOSXButton.c (TkMacOSXDrawControl): correct redrawhobbs2006-05-262-26/+37
| | | | | | for direct transition from disabled to active state. [Bug 706446] FossilOrigin-Name: 95860e096a2587ba290241cdb0b07b63b82930a0
* autoconf-2.13das2006-05-261-1/+1
| | | FossilOrigin-Name: af3a47f71728e2c368839fbf5b2d2faca5d662f1
* sync 2006-05-24 change to tcl HEADdas2006-05-261-1/+1
| | | FossilOrigin-Name: 774cf5d652d615ea9fd5bd54a2e5a5265f9319d1
* see changeshobbs2006-05-251-0/+11
| | | FossilOrigin-Name: 229c00440cb17bc2c1d31c92120436db102bcae4
* * generic/tkMenu.c (DeleteMenuCloneEntries): Modify entry indexhobbs2006-05-251-5/+6
| | | | | | changes to work around VC6 optimization bug. [Bug 1224330] FossilOrigin-Name: d7bde6dca39602d3e5da420cc94316db30fdaaf6
* * generic/tkMessage.c (MessageWidgetObjCmd): Correct msgPtrhobbs2006-05-251-8/+9
| | | | | | preserve/release pairing. [Bug 1485750] (afredd) FossilOrigin-Name: e0ce2033c4f7216eef898d2f52855b705bded75e
* * generic/tkWindow.c (Initialize): Correct mutex (un)lockhobbs2006-05-251-16/+14
| | | | | | pairing. [Bug 1479587] FossilOrigin-Name: 4021b1249e600f12eda7732aa8858ab9711646f8
* fix building on Jaguar: move defines of newer OS constants to top, fix warningsdas2006-05-161-13/+16
| | | FossilOrigin-Name: d55682aa32be7de7421ffc99b0a758b38adc9f6e
* reverted erroneous removal of tclInt.h #includedas2006-05-161-1/+3
| | | FossilOrigin-Name: a46fc0397035029616863ee56b813c401622e9d7
* * macosx/tkMacOSXWindowEvent.c (TkMacOSXGenerateFocusEvent): don't senddas2006-05-163-15/+79
| | | | | | | | | | | | | | | focus events to windows of class help or to overrideredirect windows. [Bug 1472624] * macosx/tkMacOSXWm.c: set overrideredirect windows to not become activated by the window manager and to not receive OS activate events (should make them behave more like on other platforms); use modern window class API for overrideredirect and transient windows; set the default class of overrideredirect windows to 'simple' rather than 'plain' (i.e. no window frame); add missing Panther and Tiger window attributes to [::tk::unsupported::MacWindowStyle]. FossilOrigin-Name: 79e850106c213e8772913d05bd0f143b4bb174f7
* comment typodas2006-05-161-2/+2
| | | FossilOrigin-Name: 75017ad7c156db730410113ff4d3441416bdd6b9
* * generic/tkImgPhoto.c (Tk_PhotoPutBlock, Tk_PhotoPutZoomedBlock):hobbs2006-05-132-19/+35
| | | | | | | Fix opt added 2006-03 that caused slowdown for some common cases. [Bug 1409140] FossilOrigin-Name: 13d8168f40a239dd86506ddf0947e7c6572527e0
* fix whitespace, copyrightdas2006-05-123-5/+10
| | | FossilOrigin-Name: 480e49c0f4ca5022f0166ccba5a74950dd069108
* * generic/tkCanvWind.c (DisplayWinItem, WinItemRequestProc): ensuredas2006-05-129-430/+534
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | canvas window items are unmapped when canvas is unmapped. [Bug 940117] * macosx/tkMacOSXSubwindows.c (TkMacOSXUpdateClipRgn): empty clip region of unmapped windows to prevent any drawing into them or into their children from becoming visible. [Bug 940117] * macosx/tkMacOSXInt.h: revert Jim's attempt of 2005-03-14 to * macosx/tkMacOSXSubwindows.c: fix Bug 940117 as it disables Map/Unmap event propagation to children. [Bug 1480105] * macosx/tkMacOSXDraw.c (TkPutImage): handle tkPictureIsOpen flag, fixes incorrect positioning of images with complex alpha on native buttons; actual alpha blending is still broken in this situation. [Bug 1155596] * macosx/tkMacOSXEvent.c (TkMacOSXProcessCommandEvent): * macosx/tkMacOSXMenus.c (TkMacOSXInitMenus): workaround carbon bug with key shortcut for 'Preferences' app menu item. [Bug 1481503] * macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): only check for HICommand menu item shortcuts in the application menu. * macosx/tkMacOSXInt.h: initialize keyboard layout setup in * macosx/tkMacOSXInit.c: TkpInit() rather than during handling of * macosx/tkMacOSXKeyEvent.c: first key down event. * macosx/tkMacOSXDraw.c: add optional debug code to flash clip * macosx/tkMacOSXSubwindows.c: regions during update or draw. FossilOrigin-Name: a75d23da37089f4892a8bcf58c4e6f5c37adabf9
* * README: Bump version number to 8.4.14dgp2006-05-048-14/+25
| | | | | | | | | | | | * generic/tk.h: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.13 * win/configure: FossilOrigin-Name: 67e7acba427dee71fedbe4b502874fb51de9c1c9
* * macosx/tkMacOSXWm.c (TkWmMapWindow, InitialWindowBounds): fix use ofdas2006-04-2822-206/+287
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | potentially stale window position in initial configure event on first map of a window. [Bug 1476443] (TkMacOSXWindowOffset): use modern GetWindowStructureWidths API. * macosx/tkMacOSXInt.h: * macosx/tkMacOSXMouseEvent.c (TkGenerateButtonEventForXPointer): new internal function to generate button events for current pointer directly, without requiring prior call to XQueryPointer(). * macosx/tkMacOSXMouseEvent.c (XQueryPointer): implement return of window-local pointer position. * macosx/tkMacOSXInt.h: use improvements above to avoid calls to * macosx/tkMacOSXKeyEvent.c: GlobalToLocal() when the current port might * macosx/tkMacOSXMenu.c: not be set correctly. May fix [Bug 1243318] * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * tkAboutDlg.r: update copyright. * macosx/tkMacOSXCarbonEvents.c: sync with HEAD * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDebug.h: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXEvent.h: * macosx/tkMacOSXFont.h: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXSend.c: * macosx/tkMacOSXTest.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: FossilOrigin-Name: 7f39d25fec1969a2fa141c07643cc01c1945f505
* Fix problems caused when XServer returns invalid font names. [Bug 1475865]dkf2006-04-252-2/+25
| | | FossilOrigin-Name: 3719f961f8b88995dfabb4cd9aeb0270e6c7e9ed
* * macosx/tkMacOSXEmbed.c:das2006-04-225-14/+92
| | | | | | | | * macosx/tkMacOSXWm.c: * tests/constraints.tcl: * tests/wm.test: sync with 2006-04-18 commit to HEAD. (darley) FossilOrigin-Name: f19e6c99118ebb086666a56cb1ce92862bd8c4da
* typocore-8-4-13dgp2006-04-171-2/+2
| | | FossilOrigin-Name: 41bf142c834e81a953f3aeb5e5125b5ea725f62f
* Correction to 1432666 fix.pspjuth2006-04-122-7/+5
| | | FossilOrigin-Name: 4b53d3060c75dc7cbadcb5620162426be8f2b73d
* * generic/tkGrid.c: Fixed handling of out of bounds row or column.dgp2006-04-124-9/+174
| | | | | | * tests/grid.test: [Bug 1432666] FossilOrigin-Name: 3e3d4dfb08c1ed417bbf549b750a66c36c2b8f33
* * changes: Updates for next RC.dgp2006-04-122-3/+7
| | | FossilOrigin-Name: 01d88d3e26685ebc17ab844c86185846129ea870
* fix make-html errordas2006-04-121-3/+3
| | | FossilOrigin-Name: 612e1ce7edd4912b3d7bc7bb5d667111590e24b5
* fix to 'embedded' targets & cosmetic fix to 'install' targetsdas2006-04-121-3/+8
| | | | | | CCVS: ---------------------------------------------------------------------- FossilOrigin-Name: 05346d20b59dda087b0bb7e4755644b2d8a9e1ff
* update to latesthobbs2006-04-112-2/+16
| | | FossilOrigin-Name: 137bf1085703580f367ce3e66f1c9379362b75b8
* * generic/tkBind.c (Tk_BindEvent, ChangeScreen): replacehobbs2006-04-111-6/+9
| | | | | | Tcl_GlobalEval with more efficient Tcl_EvalEx. FossilOrigin-Name: 914a04cbe7e225109115b82db9e521ea803315dd
* * win/tkWinEmbed.c (TkpGetOtherWindow): do not panic if no windowhobbs2006-04-114-11/+18
| | | | | | | | * win/tkWinWm.c (UpdateGeometryInfo): is found - handle it in * unix/tkUnixEmbed.c (TkpGetOtherWindow): the caller. [Bug 1212056] * unix/tkUnixWm.c (Tk_CoordsToWindow, UpdateGeometryInfo): FossilOrigin-Name: 81fd3f8746efef4f29e9bef527e860cc8011eadc
* * macosx/tkMacOSXDialog.c (Tk_MessageBoxObjCmd): added standard Escapedas2006-04-113-754/+769
| | | | | | key binding for msgbox cancel buttons [Patch 1193614], whitespace. FossilOrigin-Name: 1912d481d96d9ec59d21272c7f9ff3beaf56581a
* * changes: added latest aqua bug fixes.das2006-04-112-3/+31
| | | | | | | | | | | | | | | * macosx/tkMacOSXCarbonEvents.c: handle kEventCommandUpdateStatus * macosx/tkMacOSXEvent.c: carbon event to dynamically enable the 'Preferences' app menu item when proc [::tk::mac::ShowPreferences] is defined. [Bug 700316] * macosx/tkMacOSXHLEvents.c: call ::tk::mac::* procs for all * macosx/tkMacOSXWindowEvent.c: registered appleevents [FR 1105284], implement print applevent handling, style/whitespace cleanup. * macosx/tkMacOSXDraw.c (TkMacOSXInitCGDrawing): prevent multiple init. FossilOrigin-Name: bcae40073b3f0c5228ebe195ab31a4113f8eb370
* * macosx/tkMacOSXCarbonEvents.c: handle kEventCommandUpdateStatusdas2006-04-112-16/+40
| | | | | | | | * macosx/tkMacOSXEvent.c: carbon event to dynamically enable the 'Preferences' app menu item when proc [::tk::mac::ShowPreferences] is defined. [Bug 700316] FossilOrigin-Name: c4918cd4f70a8b772b12a00c83a7e4933de65dd4
* * macosx/tkMacOSXHLEvents.c: call ::tk::mac::* procs for alldas2006-04-112-104/+213
| | | | | | | * macosx/tkMacOSXWindowEvent.c: registered appleevents [FR 1105284], implement print applevent handling, style/whitespace cleanup. FossilOrigin-Name: 99c5416806eca4a6b9834b6a735e8c3736f23116
* * macosx/tkMacOSXDraw.c (TkMacOSXInitCGDrawing): prevent multiple init.das2006-04-111-7/+7
| | | FossilOrigin-Name: fcd02512038f0b7246dd06954279e47c1c77cc7e
* * macosx/tkMacOSXInt.h: Implemented 'zoomed' window statedas2006-04-115-79/+137
| | | | | | | | * macosx/tkMacOSXWindowEvent.c: handling for TkAqua, via titlebar * macosx/tkMacOSXWm.c: widget clicks as well as [wm state]. * doc/wm.n: [Bug 1073456] FossilOrigin-Name: 52e0c8cba697c657842c1e3fdfb39a43d1d121b5
* typodas2006-04-111-2/+2
| | | FossilOrigin-Name: 72d52fb39587857a06ce9ffb5654d26617d6bf61
* *** 8.4.13 TAGGED FOR RELEASE ***dgp2006-04-102-4/+24
| | | | | | * changes: Updates for next RC. FossilOrigin-Name: e3ebddcddf3761401483ca3c8c224143449d3696
* * macosx/tkMacOSXWm.c (TkSetWMName, TkMacOSXMakeRealWindowExist):das2006-04-102-15/+10
| | | | | | | allow empty name for toplevels, remove bogus initial window name. [Bug 1450800] FossilOrigin-Name: b8d4d844b6248cf2908c447c8cfb8c5da2d647fd
* added ref to bug 934524das2006-04-101-2/+3
| | | FossilOrigin-Name: 32d9dd81672c9f109d592ab87ae569d56178ba18
* * macosx/tkMacOSXWm.c (WmResizableCmd): propagate window attributedas2006-04-092-6/+21
| | | | | | changes to Carbon window manager. [FR 1467004] FossilOrigin-Name: d74d8edcdb6959b3911b861e772476e3cf806471
* * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): fix returndas2006-04-073-73/+123
| | | | | | | | | | | | | | | values, implement window dragging & growing in background (with Command key down) and by fronting clicks, use correct button & modifier state API when application is in background (also in TkMacOSXButtonKeyState). * macosx/tkMacOSXWm.c (TkMacOSXGrowToplevel): ensure QD port is set correctly before using API relying on it. * macosx/tkMacOSXMouseEvent.c: now that [wm attributes -titlepath] works correctly, add OS support for dragging proxy icons and using the titlepath menu. FossilOrigin-Name: 4a4b61c7d7c287e538bceb09e46b2dbd0ccae655
* * macosx/tkMacOSXWm.c (WmAttributesCmd, WmIconbitmapCmd): fix errorsdas2006-04-064-168/+207
| | | | | | | | | | | in setting/removing window proxy icons via [wm attributes -titlepath] and [wm iconbitmap], use HIWindow API on Tiger or later. [Bug 1455241] * unix/tcl.m4: remove TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING define on Darwin. [Tcl Bug 1457515] * unix/configure: autoconf-2.13 FossilOrigin-Name: 8816101c61bf8a0cce79169160c8c28111d71799
* see changeshobbs2006-04-051-4/+28
| | | FossilOrigin-Name: c430f014b0095b7fc6d6fb33c88f73a5199d8620
* * tests/grid.test: fix segfault on empty index listhobbs2006-04-052-27/+55
| | | | | | * generic/tkGrid.c (GridRowColumnConfigureCommand): [Bug 1422430] FossilOrigin-Name: 02f3657948f46623dbb71d54f9972d1a83782878