summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* Added two missing header files from the cococa backport branch.cocoa_full_merge_review_8_5andreask2012-09-122-0/+800
|
* Review branch for merge of Tk-Cocoa into Tk 8.5 main branchKevin Walzer2012-09-1264-23091/+11935
|
* Change XSetDashes signature and many others to match Xorg, needed for Cygwinjan.nijtmans2012-06-055-20/+24
|\
| * Change XSetDashes signature and many others to match Xorg, needed for Cygwin. jan.nijtmans2012-06-015-20/+22
| | | | | | Add .PHONY targets, and various quoting issues (Makefile.in)
| * Change XFillRectangle(s)/XDrawLines(s) signature to match Xorg, needed for ↵jan.nijtmans2012-05-291-5/+7
| | | | | | | | | | Cygwin. Generate same pkgIndex.tcl file for win32 and cygwin, one that is equally useable for both.
* | [Bug 3486474]: Inconsistent color scalingjan.nijtmans2012-02-151-1/+1
|\ \ | |/
| * proposed fix for bug-3486474jan.nijtmans2012-02-101-1/+1
| |
* | Implementation for Carbon.dgp2011-10-171-5/+19
| |
* | Correct some README bitrot.dgp2011-06-101-9/+3
| |
* | Purge RCS Keywords.dgp2011-06-0856-113/+2
|\ \ | |/
| * Purge RCS Keywords.dgp2011-06-0849-98/+0
| |
| * * macosx/tkMacOSXHLEvents.c (ScriptHandler): fix "do script" appledas2009-08-241-49/+27
| | | | | | | | | | | | event handler issues on recent Mac OS X releases by using AE coercion to 'utf8' for text data and to 'fsrf' for alias data. (reported by Youness Alaoui on tcl-mac)
| * * generic/tkImgPhoto.c: fix leaks discovered with the Mac OS Xdas2009-02-061-1/+7
| | | | | | | | | | * generic/tkMenu.c: Instruments.app Leaks tool. * macosx/tkMacOSXWm.c:
| * whitespacedas2009-02-061-2/+2
| |
| * adjust copyright yeardas2009-01-081-3/+3
| |
| * Fix potential use of uninitialized variable flagged by clang static analyzerdas2008-12-071-3/+4
| |
| * Fix leaks flagged by clang static analyzerdas2008-12-071-1/+25
| |
| * TkpDisplayButton: use computed borderWidthdas2008-12-071-2/+2
| |
| * MenuDefProc: avoid crash with non-Tk menusdas2008-12-071-6/+3
| |
| * * macosx/tkMacOSXCarbonEvents.c: fix debug carbon event tracing;das2008-06-191-44/+37
| | | | | | | | | | (InstallStandardApplicationEventHandler): replace needless use of TkMacOSXInitNamedDebugSymbol() by standard TkMacOSXInitNamedSymbol().
| * * macosx/tkMacOSXDebug.c: revert 2007-11-09 commit makingdas2008-06-192-5/+6
| | | | | | | | | | * macosx/tkMacOSXDebug.h: TkMacOSXInitNamedDebugSymbol() available outside of debug builds.
| * * macosx/tkMacOSXEmbed.c (TkpMakeWindow): fix bug with missingdas2008-06-192-18/+50
| | | | | | | | | | | | * macosx/tkMacOSXSubwindows.c (XMapWindow): focus on first map by only sending VisibilityNotify events once windows are mapped (rather than when they are created).
| * * macosx/tkMacOSXWindowEvent.c (TkMacOSXProcessWindowEvent): fixdas2008-06-191-2/+2
| | | | | | | | return value.
| * * macosx/tkMacOSXXStubs.c: sync with core-8-5-branch.das2008-06-121-2/+2
| |
| * fix copyright yeardas2008-02-271-4/+4
| |
| * * macosx/tkMacOSXDraw.c: workaround leak in Carbon SetPortPenPixPat()das2008-02-271-12/+26
| | | | | | | | API [Bug 1863346]; avoid repeated PixPat allocation/deallocation.
| * * macosx/Wish-Info.plist.in: add CFBundleLocalizations key, listingdas2008-02-021-1/+5
| | | | | | | | | | | | | | | | | | * unix/configure.in (Darwin): all library/msgs locales. * unix/configure.in (Darwin): correct Info.plist year substitution in non-framework builds. * unix/configure: autoconf-2.13
| * * macosx/tkMacOSXWm.c (ApplyMasterOverrideChanges): Revert 2007-10-26das2007-12-183-35/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | change to window class of transient toplevels that are not also overrideredirect. [Bug 1845899] * macosx/tkMacOSXWm.c (ApplyMasterOverrideChanges): Implement more * macosx/tkMacOSXMouseEvent.c (BringWindowForward): X11-like transient * macosx/tkMacOSXSubwindows.c (XDestroyWindow): behaviour by adding transient windows to a window group owned by the master window, this ensures transients always remain in front of and are collapsed with the master; bring master to front when selecting transient windows; restore default window group of transients if master destroyed. [Bug 1845899]
| * * macosx/tkMacOSXPrivate.h: fix Panther build.das2007-12-181-1/+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-0923-775/+2124
| |
| * fix DEF_MENUBUTTON_FONTdas2007-10-301-2/+2
| |
| * * macosx/tkMacOSXWm.c (ApplyMasterOverrideChanges): fix window class ofdas2007-10-261-24/+27
| | | | | | | | transient toplevels that are not also overrideredirect. [Bug 1816252]
| * * macosx/tkMacOSXDialog.c: sync with HEAD.das2007-10-261-12/+13
| |
| * * macosx/tkMacOSXWm.c (TkMacOSXGrowToplevel): manually constrain resizedas2007-10-111-2/+13
| | | | | | | | | | limitBounds to maxBounds, works around SectRect() mis-feature (return zero rect if input rect has zero height/width). [Bug 1810818]
| * cleanupdas2007-09-111-11/+7
| |
| * * macosx/tkMacOSXDialog.c (Tk_ChooseColorObjCmd): correct setting ofdas2007-08-271-35/+27
| | | | | | | | | | interp result [Bug 1782105]; fix -initialcolor overwriting last color selection; style cleanup.
| * move macros for Debugging.h to private headerdas2007-08-232-4/+11
| |
| * * macosx/tkMacOSXDialog.c (NavServicesGetFile): reset interp result ondas2007-07-251-1/+2
| | | | | | | | nav dialog cancel. [Bug 1743786]
| * * macosx/tkMacOSXWindowEvent.c (Tk_MacOSXIsAppInFront): use process mgrdas2007-07-092-105/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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-041-3/+2
| | | | | | | | | | of image data for images coming from XGetImage, introduced 2007-06-23. (das)
| * * macosx/tkMacOSXColor.c: add debug messages for unknown pixel values.das2007-07-022-4/+8
| | | | | | | | | | * macosx/tkMacOSXDraw.c (TkMacOSXRestoreDrawingContext): don't restore port state if it wasn't altered by TkMacOSXSetupDrawingContext().
| * * macosx/tkMacOSXScrlbr.c: correct int <-> dobule conversion issuesdas2007-06-2929-1008/+1013
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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:
| * * macosx/tkMacOSXXStubs.c (XCreateImage, DestroyImage): correct XImagedas2007-06-232-126/+236
| | | | | | | | | | | | | | | | 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.
| * * macosx/tkMacOSXColor.c: fix issues with TK_{IF,ELSE,ENDIF} macros;das2007-06-0913-377/+384
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-061-2/+18
| |
| * * macosx/tkMacOSXMouseEvent.c (GenerateMouseWheelEvent): enabledas2007-06-0610-261/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * * macosx/tkMacOSXMenu.c: add error checking; whitespace cleanup.das2007-06-0412-51/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-021-1/+2
| | | | | | | | | | posted menus that are not part of the menubar or attached to a menubutton (fixes bug reported on tcl-mac by Linus Nyberg).