summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Backport from HEAD of [Bug #1822391]:kennykb2007-11-263-3/+27
| | | | | | | | | | * generic/tkImgPPM.c (StringReadPPM): Corrected a comparison whose sense was reversed that resulted in reading beyond the end of the input buffer on malformed PPM data. [Bug #1822391] * tests/imgPPM.test (imgPPM-4.1): Added test case that exercises [Bug #1822391]. FossilOrigin-Name: d7902b20d936053d91698cb8e3eac5f57828a7c6
* Backport from HEAD of Aqua changes from 2007-10-12 to 2007-11-09das2007-11-091-2/+2
| | | FossilOrigin-Name: 6bef6474e0fc02eb3e8cc6b3f39b23661df2ec93
* Backport from HEAD of Aqua changes from 2007-10-12 to 2007-11-09das2007-11-091-2/+2
| | | FossilOrigin-Name: 8417f42478638776642818e8836cc3ecef7326b2
* Backport from HEAD of Aqua changes from 2007-10-12 to 2007-11-09das2007-11-092-13/+24
| | | FossilOrigin-Name: a3911de6f3e67a675c63e39104908be271903a92
* Backport from HEAD of Aqua changes from 2007-10-12 to 2007-11-09das2007-11-0928-824/+2344
| | | FossilOrigin-Name: f3af33f1617bb95c8c7819e1ad7b5bf8df20df55
* sync with tcl/unix/tcl.m4das2007-11-091-1/+1
| | | FossilOrigin-Name: 7c5103344a5f47e7aa3e3b131ffcd6c728977b5f
* Spelling correctionsdgp2007-11-054-10/+10
| | | FossilOrigin-Name: 5787fbefbb6f7d46a569604f481c7af61810d263
* * library/entry.tcl: don't error with Clear event. [Bug 1509288]hobbs2007-10-302-2/+7
| | | FossilOrigin-Name: 4ece99c5dd4d58d4d0be9221322aea6bd264a5b3
* fix DEF_MENUBUTTON_FONTdas2007-10-301-2/+2
| | | FossilOrigin-Name: ed7f40a745a23990bb9ab87f2cda042f3f45e2a4
* * macosx/tkMacOSXWm.c (ApplyMasterOverrideChanges): fix window class ofdas2007-10-262-24/+32
| | | | | | transient toplevels that are not also overrideredirect. [Bug 1816252] FossilOrigin-Name: 1f3a06680b08848d59383e21f65b040020cf5266
* * macosx/tkMacOSXDialog.c: sync with HEAD.das2007-10-261-12/+13
| | | FossilOrigin-Name: 0f956e6fefc9dfea894cdc0719546c776428da5d
* * unix/configure.in (Darwin): add support for 64-bit X11.das2007-10-253-78/+126
| | | | | | * unix/configure: autoconf-2.13 FossilOrigin-Name: cdddd3263c5cf0d2af1c6565de329178436bd980
* * generic/tkPlace.c: Prevent segfault in place geometry manager.dgp2007-10-252-4/+48
| | | | | | Thanks to Colin McDonald. [Bug 1818491] FossilOrigin-Name: 5db44042b42f960c69bbe7cb73b1a63be04604ed
* Added Hungarian message catalog.dkf2007-10-112-0/+79
| | | FossilOrigin-Name: b8fbfd9bf07a345b8fbf70e1d4edec648679899a
* * macosx/tkMacOSXWm.c (TkMacOSXGrowToplevel): manually constrain resizedas2007-10-112-2/+19
| | | | | | | limitBounds to maxBounds, works around SectRect() mis-feature (return zero rect if input rect has zero height/width). [Bug 1810818] FossilOrigin-Name: d9f7cee6d56cdb9144b77e9323246629fd6316a8
* * README: Bump version number to 8.4.17dgp2007-10-028-25/+55
| | | | | | | | | | | | * generic/tk.h: * unix/configure.in: Removed "es_ES" entry in LOCALES * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.13 * win/configure: FossilOrigin-Name: 123c8cd52f85edce0ed2324fa41fddb39b08cf10
* *** 8.4.16 TAGGED FOR RELEASE ***core-8-4-16das2007-09-181-0/+6
| | | | | | * changes: updates for 8.4.16 release. FossilOrigin-Name: 6374b774b40fd533d031fb223de7a98f441ade8b
* Aqua changes for 8.4.16das2007-09-181-1/+29
| | | FossilOrigin-Name: 9c7ced4c270ad852a365f5a0ab777246906c9bf7
* update changes for 8.4.16 releasedgp2007-09-181-1/+13
| | | FossilOrigin-Name: 3b0b59931ae91b98c608e75c684906757d972e59
* * unix/tcl.m4 (SunOS-5.1x): replace direct use of '/usr/ccs/bin/ld'das2007-09-153-128/+144
| | | | | | | in SHLIB_LD by 'cc' compiler driver. * unix/configure: autoconf-2.13 FossilOrigin-Name: 624e44158fc0738ff97bef1a91a7bffc964a12f1
* * generic/tkImgGIF.c: Fixed a buffer overrun that got triggered byrmax2007-09-113-3/+23
| | | | | | | | | multi-frame interlaced GIFs that contain subsequent frames that are smaller than the first one. * tests/imgPhoto.test: Added a test for the above. FossilOrigin-Name: 8c92a336d05efa1b4aed740e93f262aeb7abd050
* cleanupdas2007-09-111-11/+7
| | | FossilOrigin-Name: 72175498d4fd22a1370b54646c32c4c21e64a99a
* * unix/configure.in: backport of TK_INCLUDE_SPEC addition.das2007-09-114-5/+24
| | | | | | | * unix/tkConfig.sh.in: [Bug 777203] * unix/configure: autoconf-2.13 FossilOrigin-Name: 5e72c6ba8ed1f888f343ac2aa67edf669f13934e
* Fix for AMD64 symbols buildspatthoyts2007-09-113-15/+25
| | | FossilOrigin-Name: 62a5aafa6d96fbe2ec65f389d7b80c0b0495661d
* Backported the BASE_NO_TK_ICON patch to assist in creating tclkitspatthoyts2007-09-042-1/+15
| | | | | | and/or basekits with corrent resources. FossilOrigin-Name: 7f01ef7a7be66fe8ab2679c3b395b9c776c88b14
* * tests/wm.test: -transparentcolor added to windows wm attributes testspatthoyts2007-09-042-4/+8
| | | FossilOrigin-Name: c30f93f7b799b8a73e026d9caf55d998f411e402
* * macosx/tkMacOSXDialog.c (Tk_ChooseColorObjCmd): correct setting ofdas2007-08-272-35/+33
| | | | | | | interp result [Bug 1782105]; fix -initialcolor overwriting last color selection; style cleanup. FossilOrigin-Name: fc6031dcd392b203eabb8bc43a0bebb0b6d0428a
* move macros for Debugging.h to private headerdas2007-08-232-4/+11
| | | FossilOrigin-Name: 0ae1014ce3a8b91d0a7a64d912e951ac4fbd4e03
* * unix/Makefile.in: add support for compile flags specific todas2007-08-074-13/+31
| | | | | | | | | | | object files linked directly into executables. * unix/configure.in (Darwin): only use -seg1addr flag when prebinding; use -mdynamic-no-pic flag for object files linked directly into exes. * unix/configure: autoconf-2.13 FossilOrigin-Name: c440291ec0a2ec19d0eacc17aad90f53ea331dd7
* * macosx/tkMacOSXDialog.c (NavServicesGetFile): reset interp result ondas2007-07-252-1/+7
| | | | | | nav dialog cancel. [Bug 1743786] FossilOrigin-Name: 1b80f0734bad710279163aa68fd8b975a3ceab77
* * macosx/tkMacOSXWindowEvent.c (Tk_MacOSXIsAppInFront): use process mgrdas2007-07-093-105/+163
| | | | | | | | | | | | | | | * macosx/tkMacOSXMouseEvent.c: to determine if app is in front instead of relying on activate/deactivate events (which may arrive after this info is needed, e.g. during window drag/click activation); replace other process mgr use to get this info with calls to Tk_MacOSXIsAppInFront(). * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): correct window click activation, titlebar click handling and background window dragging/growing in the presence of grabs or window-/app-modal windows; fix window click activation bringing all other app windows to front. FossilOrigin-Name: 82f3a4d34d337778b2a26b28807d7596e3a9c1df
* * macosx/tkMacOSXDraw.c (TkPutImage): handle non-native XImage byte anddas2007-07-091-49/+26
| | | | | | bit orders; reverse bits via xBitReverseTable instead of InvertByte(). FossilOrigin-Name: d51495fc15934e1ff7c7f3b8e82277436dcc892a
* * macosx/tkMacOSXXStubs.c (DestroyImage): Fixed crash in releasehobbs2007-07-042-3/+8
| | | | | | | of image data for images coming from XGetImage, introduced 2007-06-23. (das) FossilOrigin-Name: 70a77fa4dd864423cd8d1f568961ff46bda5eb84
* typodas2007-07-021-2/+2
| | | FossilOrigin-Name: 8bd8888246ae8fe64ceeefb691e8d9eee0aab208
* * macosx/tkMacOSXColor.c: add debug messages for unknown pixel values.das2007-07-023-4/+18
| | | | | | | * macosx/tkMacOSXDraw.c (TkMacOSXRestoreDrawingContext): don't restore port state if it wasn't altered by TkMacOSXSetupDrawingContext(). FossilOrigin-Name: dfaf8e60106571c0ae051da543daabad07f25a47
* * xlib/xgc.c (XCreateGC): correct black and white pixel values used todas2007-07-021-3/+5
| | | | | | initialize GC foregrund and background fields. FossilOrigin-Name: abc378cab7d3630a451f5f6529a94d611261e9a7
* * macosx/tkMacOSXScrlbr.c: correct int <-> dobule conversion issuesdas2007-06-2930-1008/+1086
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that could lead to Carbon getting confused about scrollbar thumb size. * macosx/tkMacOSXDraw.c (XCopyArea, XCopyPlane, TkPutImage) use TkMacOSX{Setup,Restore}DrawingContext() to setup/restore clip & colors. (TkMacOSXSetupDrawingContext, TkMacOSXRestoreDrawingContext): add save and restore of QD port clip region; factor out clip region code common to CG and QD branches; check for port and context validity; handle tkPictureIsOpen flag during QD port setup. (TkScrollWindow): remove unnecessary scroll region manipulation * macosx/tkMacOSXDraw.c: remove second global QD temp region * macosx/tkMacOSXInt.h: (no longer necessary) and rename * macosx/tkMacOSXRegion.c: remaining global QD temp region. * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXDraw.c: make useCGDrawing variable MODULE_SCOPE * macosx/tkMacOSXFont.c: and sync formatting with HEAD. * macosx/tkMacOSXButton.c: reduce reliance on current QD port * macosx/tkMacOSXColor.c: setting and remove unnecessary * macosx/tkMacOSXDebug.c: references to a drawable's QD port, * macosx/tkMacOSXDebug.h: notably replace GetWindowFromPort( * macosx/tkMacOSXDialog.c: TkMacOSXGetDrawablePort()) idiom by new * macosx/tkMacOSXDraw.c: TkMacOSXDrawableWindow() and change * macosx/tkMacOSXKeyEvent.c: TkMacOSXSetColorInPort() to take a port * macosx/tkMacOSXMenu.c: argument. * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXInt.h: factor out macros, declarations * macosx/tkMacOSXPrivate.h (new): and prototypes that are purely internal and private to the 'macosx' sources into a new internal header file that does _not_ get installed into Tk.framework/PrivateHeaders. * macosx/tkMacOSXButton.c: #include new tkMacOSXPrivate.h * macosx/tkMacOSXCarbonEvents.c: instead of tkMacOSXInt.h. * macosx/tkMacOSXClipboard.c: * macosx/tkMacOSXColor.c: * macosx/tkMacOSXCursor.c: * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXRegion.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: FossilOrigin-Name: 98571053aff75093d3f2522e005412f507b86c23
* * xlib/ximage.c: bitmaps created from the static .bmpdas2007-06-291-1/+3
| | | | | | arrays always have LSBFirst bit order. FossilOrigin-Name: d1c90f4bee55776e8c59ff5a94a50ea7c4770ac4
* * macosx/tkMacOSXXStubs.c (XCreateImage, DestroyImage): correct XImagedas2007-06-233-127/+253
| | | | | | | | | | bytes_per_line/bitmap_pad calculations and endianness setting; free image data and XImage structure at destruction; formatting cleanup. * macosx/tkMacOSXDialog.c (NavServicesGetFile): disable app-modal sheet variant of nav dialog on OS versions where it causes problems. FossilOrigin-Name: 8cad11f0e61fe7b7430665a2e034b285a6428fb3
* * generic/tkImgPhoto.c (ImgPhotoConfigureInstance, DisposeInstance):das2007-06-232-39/+19
| | | | | | | | | | use XDestroyImage instead of XFree to destroy XImage; replace runtime endianness determination by compile-time check for WORDS_BIGENDIAN. * xlib/ximage.c (XCreateBitmapFromData): use XCreateImage and XDestroyImage instead of creating XImage structure manually. FossilOrigin-Name: 457bc0415be5be7326b6dcae64f24335daae71f0
* * win/tkWinWm.c (WmIconphotoCmd): fix wm iconphoto RGBA issues.hobbs2007-06-102-4/+18
| | | | | | [Bug 1467997] (janssen) FossilOrigin-Name: e569cf9657ddd388d2476a7306e17a356059895e
* * win/tkWinMenu.c (TkWinHandleMenuEvent): improve handling tohobbs2007-06-092-16/+25
| | | | | | | allow for unicode char menu indices and not use CharUpper on Tcl utf strings. [Bug #1734223] FossilOrigin-Name: bc778567f20dda339bf6bdc195a3857e021bccfb
* * macosx/tkMacOSXColor.c: fix issues with TK_{IF,ELSE,ENDIF} macros;das2007-06-0914-377/+405
| | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXDraw.c: implement Jaguar equivalent of unavailable * macosx/tkMacOSXEntry.c: kHIToolboxVersion global; panic at startup * macosx/tkMacOSXEvent.c: if MAC_OS_X_VERSION_MIN_REQUIRED constraint * macosx/tkMacOSXInit.c: is not satisfied. * macosx/tkMacOSXInt.h: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXDraw.c (XCopyArea, XCopyPlane, TkPutImage) (TkMacOSXSetupDrawingContext): factor out common code and standardize setup/restore of port, context and clipping; formatting cleanup. * macosx/tkMacOSXWindowEvent.c: add error checking. * macosx/tkMacOSXMenu.c: fix gcc3 warning. * macosx/tkMacOSXScrlbr.c: fix testsuite crash. * macosx/tkMacOSXSubwindows.c: formatting cleanup. * macosx/tkMacOSXRegion.c: fix typos. * macosx/tkMacOSXScale.c: FossilOrigin-Name: 39cb2ed4eadbfc948f0d66b2b80a8dd4fb8b79cd
* * macosx/tkMacOSXInt.h: use native debug message API when available.das2007-06-062-2/+20
| | | FossilOrigin-Name: b9538c17b580b73bd3708d796c43045da6e72431
* * macosx/tkMacOSXMouseEvent.c (GenerateMouseWheelEvent): enabledas2007-06-0611-262/+248
| | | | | | | | | | | | | | | | | | | | | processing of mousewheel events in background windows. * macosx/tkMacOSXScrlbr.c: modernize checks for active/front window. * macosx/tkMacOSXScale.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXColor.c: factor out verbose #ifdef checks of * macosx/tkMacOSXDraw.c: MAC_OS_X_VERSION_{MAX_ALLOWED,MIN_REQUIRED} * macosx/tkMacOSXEntry.c: and runtime checks of kHIToolboxVersion into * macosx/tkMacOSXEvent.c: new TK_{IF,ELSE,ENDIF}_MAC_OS_X macros. * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXDraw.c: factor out clip clearing in QD ports; * macosx/tkMacOSXEntry.c: formatting cleanup. FossilOrigin-Name: 5f7d5694f031d9a1bbfbf93d92ea0ad4b6cd8f66
* * unix/configure.in (Darwin): link the Tk and Wish plists into theirdas2007-06-063-190/+181
| | | | | | | | | binaries in all cases; fix 64bit arch removal in fat 32&64bit builds. * unix/tcl.m4 (Darwin): fix CF checks in fat 32&64bit builds. * unix/configure: autoconf-2.13 FossilOrigin-Name: e1282f7acbe7343fe38128738c3ebb28acbcb152
* Fix [Bug 1731348]dkf2007-06-052-3/+9
| | | FossilOrigin-Name: 950a7aa2155887d3ffa9c47c51639e9074028854
* * macosx/tkMacOSXMenu.c: add error checking; whitespace cleanup.das2007-06-0413-51/+91
| | | | | | | | | | | | | | | | * macosx/tkMacOSXDraw.c: sync comment formatting with HEAD. * macosx/tkMacOSXEmbed.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXKeyboard.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXSend.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: FossilOrigin-Name: 41ee17c024473da63a4ab10d3ebf8081a279c6b5
* * macosx/tkMacOSXMenu.c (TkpPostMenu): ensure cascade menus display indas2007-06-022-1/+8
| | | | | | | posted menus that are not part of the menubar or attached to a menubutton (fixes bug reported on tcl-mac by Linus Nyberg). FossilOrigin-Name: 39812812843a42eea62fc7552a3295b3a046f3d1
* * macosx/tkMacOSXWindowEvent.c (GenerateUpdateEvent): complete alldas2007-05-318-293/+236
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pending idle-time redraws before newly posted Expose events are processed; add bounds of redrawn windows to update region to ensure all child windows overdrawn by parents are redrawn. * macosx/tkMacOSXWindowEvent.c: centralize clip and window invalidation * macosx/tkMacOSXSubwindows.c: after location/size changes in the * macosx/tkMacOSXWm.c: BoundsChanged carbon event handler; correct/add window invalidation after window attribute changes. * macosx/tkMacOSXSubwindows.c (XResizeWindow, XMoveResizeWindow, XMoveWindow): factor out common code dealing with embedded and non-toplevel windows; remove unnecessary clip and window invalidation. * macosx/tkMacOSXButton.c (TkpDisplayButton): move clip setup closer to native button drawing calls. * macosx/tkMacOSXWm.c (TkMacOSXIsWindowZoomed, TkMacOSXZoomToplevel): correct handle gridded windows in max size calculations. * macosx/tkMacOSXEvent.c (TkMacOSXFlushWindows): use HIWindowFlush API when available. * macosx/tkMacOSXColor.c: cleanup whitespace and formatting. * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWm.c: FossilOrigin-Name: 841cd7cf50911411a06068e8011f512f7621a106