summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Backport from HEAD of [Bug #1822391]:Kevin B Kenny2007-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].
* Backport from HEAD of Aqua changes from 2007-10-12 to 2007-11-09das2007-11-091-2/+2
|
* Backport from HEAD of Aqua changes from 2007-10-12 to 2007-11-09das2007-11-091-2/+2
|
* Backport from HEAD of Aqua changes from 2007-10-12 to 2007-11-09das2007-11-092-13/+24
|
* Backport from HEAD of Aqua changes from 2007-10-12 to 2007-11-09das2007-11-0928-824/+2344
|
* sync with tcl/unix/tcl.m4das2007-11-091-1/+1
|
* Spelling correctionsdgp2007-11-054-10/+10
|
* * library/entry.tcl: don't error with Clear event. [Bug 1509288]hobbs2007-10-302-2/+7
|
* fix DEF_MENUBUTTON_FONTdas2007-10-301-2/+2
|
* * macosx/tkMacOSXWm.c (ApplyMasterOverrideChanges): fix window class ofdas2007-10-262-24/+32
| | | | transient toplevels that are not also overrideredirect. [Bug 1816252]
* * macosx/tkMacOSXDialog.c: sync with HEAD.das2007-10-261-12/+13
|
* * unix/configure.in (Darwin): add support for 64-bit X11.das2007-10-253-78/+126
| | | | * unix/configure: autoconf-2.13
* * generic/tkPlace.c: Prevent segfault in place geometry manager.dgp2007-10-252-4/+48
| | | | Thanks to Colin McDonald. [Bug 1818491]
* Added Hungarian message catalog.dkf2007-10-112-0/+79
|
* * 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]
* * 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:
* *** 8.4.16 TAGGED FOR RELEASE ***core_8_4_16das2007-09-181-0/+6
| | | | * changes: updates for 8.4.16 release.
* Aqua changes for 8.4.16das2007-09-181-1/+29
|
* update changes for 8.4.16 releasedgp2007-09-181-1/+13
|
* * 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
* * 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.
* cleanupdas2007-09-111-11/+7
|
* * 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
* Fix for AMD64 symbols buildspatthoyts2007-09-113-15/+25
|
* Backported the BASE_NO_TK_ICON patch to assist in creating tclkitspatthoyts2007-09-042-1/+15
| | | | and/or basekits with corrent resources.
* * tests/wm.test: -transparentcolor added to windows wm attributes testspatthoyts2007-09-042-4/+8
|
* * macosx/tkMacOSXDialog.c (Tk_ChooseColorObjCmd): correct setting ofdas2007-08-272-35/+33
| | | | | interp result [Bug 1782105]; fix -initialcolor overwriting last color selection; style cleanup.
* move macros for Debugging.h to private headerdas2007-08-232-4/+11
|
* * 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
* * macosx/tkMacOSXDialog.c (NavServicesGetFile): reset interp result ondas2007-07-252-1/+7
| | | | nav dialog cancel. [Bug 1743786]
* * 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.
* * macosx/tkMacOSXDraw.c (TkPutImage): handle non-native XImage byte anddas2007-07-091-49/+26
| | | | bit orders; reverse bits via xBitReverseTable instead of InvertByte().
* * 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)
* typodas2007-07-021-2/+2
|
* * 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().
* * xlib/xgc.c (XCreateGC): correct black and white pixel values used todas2007-07-021-3/+5
| | | | initialize GC foregrund and background fields.
* * 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:
* * xlib/ximage.c: bitmaps created from the static .bmpdas2007-06-291-1/+3
| | | | arrays always have LSBFirst bit order.
* * 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.
* * 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.
* * win/tkWinWm.c (WmIconphotoCmd): fix wm iconphoto RGBA issues.hobbs2007-06-102-4/+18
| | | | [Bug 1467997] (janssen)
* * 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]
* * 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:
* * macosx/tkMacOSXInt.h: use native debug message API when available.das2007-06-062-2/+20
|
* * 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.
* * 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
* Fix [Bug 1731348]dkf2007-06-052-3/+9
|
* * 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:
* * 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).
* * 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: