summaryrefslogtreecommitdiffstats
path: root/xlib
Commit message (Collapse)AuthorAgeFilesLines
* Change XChangeWindowAttributes signature and many others to match Xorg, ↵jan.nijtmans2012-06-071-14/+28
|\ | | | | | | needed for Cygwin
| * merge core-8-4-branchbug_3508771jan.nijtmans2012-06-054-30/+28
| |\
| * \ merge core-8-4-branchjan.nijtmans2012-05-291-2/+2
| |\ \
| * \ \ merge core-8-4-branchjan.nijtmans2012-05-051-66/+66
| |\ \ \
| * | | | change signature of all X11 functions to match those of CYGWINjan.nijtmans2012-05-022-17/+34
| | | | |
* | | | | Change XSetDashes signature and many others to match Xorg, needed for Cygwinjan.nijtmans2012-06-052-7/+9
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Change XSetDashes signature and many others to match Xorg, needed for Cygwin. jan.nijtmans2012-06-014-16/+17
| | |_|/ | |/| | | | | | Add .PHONY targets, and various quoting issues (Makefile.in)
| * | | Change XFillRectangle(s)/XDrawLines(s) signature to match Xorg, needed for ↵jan.nijtmans2012-05-291-4/+4
| | |/ | |/| | | | | | | | | | Cygwin. Generate same pkgIndex.tcl file for win32 and cygwin, one that is equally useable for both.
* | | If tk.dll loaded in cygwin, don't use the win32 file dialogsjan.nijtmans2012-05-051-66/+66
|\ \ \ | |/ /
| * | [Bug 2768586]: Only do menu correction on Windows < Win7jan.nijtmans2012-05-051-66/+66
| |/ | | | | If tk.dll loaded in cygwin, don't use the win32 file dialogs
* | disallow colors like xellowjan.nijtmans2012-04-121-2/+7
|\ \ | |/ | | | | cleanup tkInt.decls configure changes for cygwin
| * disallow colors like "xellow"jan.nijtmans2012-04-121-2/+7
| |
* | some more cygwin compatibility improvementsjan.nijtmans2012-04-061-1/+1
|\ \ | |/ | | format tk.decls like tcl8.5/8.6
| * some more cygwin compatibility improvementsjan.nijtmans2012-04-062-1/+1
| |
* | gcc warning: signed-unsigned comparejan.nijtmans2012-04-021-2/+2
|\ \ | |/
| * gcc warning: signed-unsigned comparejan.nijtmans2012-04-021-2/+2
| |
* | rfe-3503317: XParseColor speedupjan.nijtmans2012-03-182-813/+983
|\ \ | |/
| * rfe-3503317: XParseColor speedupjan.nijtmans2012-03-182-813/+983
| |\
| | * test output in Xorg rgb.txt formatrfe_3503317jan.nijtmans2012-03-181-2/+2
| | |
| | * elimination of gray table by using calculations in steadjan.nijtmans2012-03-171-26/+10
| | |
| | * implementation complete, todo: more testingjan.nijtmans2012-03-171-14/+44
| | |
| | * further reduction of color table to 147 entries!jan.nijtmans2012-03-161-672/+266
| | |\ | | |/ | |/|
| * | workaround for _strtoi64 determination on win64 (autoconf-2.13 issue)jan.nijtmans2012-03-151-2/+0
| | |
| * | workaround attempt for win64 problem?????jan.nijtmans2012-03-141-0/+1
| | |
| | * make sure that "burly wood" is not a valid colorjan.nijtmans2012-03-131-3/+15
| | |
| | * rfe-3503317: XParseColor speedupjan.nijtmans2012-03-131-417/+308
| |/
| * missing include <stdlib.h>jan.nijtmans2012-03-131-0/+1
| |
* | Provide fallback for _strtoi64jan.nijtmans2012-02-261-24/+33
|\ \ | |/
| * Provide fallback for _strtoi64jan.nijtmans2012-02-261-53/+67
| |
* | [Bug 3486474]: Inconsistent color scalingjan.nijtmans2012-02-151-15/+24
|\ \ | |/
| * improved, faster implementations of XParseColor and TkParseColorbug_3486474jan.nijtmans2012-02-121-64/+26
| |
| * proposed fix for bug-3486474jan.nijtmans2012-02-101-17/+64
| |
* | [Bug 3380684] XEmptyRegion prototype doesn't match usagejan.nijtmans2011-07-281-2/+2
|\ \ | |/
| * [Bug 3380684] XEmptyRegion prototype doesn't match usagejan.nijtmans2011-07-281-2/+2
| |
* | Purge RCS Keywords.dgp2011-06-086-12/+0
|\ \ | |/
| * Purge RCS Keywords.dgp2011-06-086-12/+0
| |
| * Backport from HEAD of Aqua changes from 2007-10-12 to 2007-11-09das2007-11-091-38/+83
| |
| * typodas2007-07-021-2/+2
| |
| * * xlib/xgc.c (XCreateGC): correct black and white pixel values used todas2007-07-021-3/+5
| | | | | | | | initialize GC foregrund and background fields.
| * * xlib/ximage.c: bitmaps created from the static .bmpdas2007-06-291-1/+3
| | | | | | | | arrays always have LSBFirst bit order.
| * * generic/tkImgPhoto.c (ImgPhotoConfigureInstance, DisposeInstance):das2007-06-231-19/+7
| | | | | | | | | | | | | | | | 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.
| * * macosx/tkMacOSXMenu.c (DrawMenuSeparator): use DrawingContext API.das2007-05-301-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXWindowEvent.c (ClearPort): clip to updateRgn. * macosx/tkMacOSXDebug.c: factor out debug region flashing. * macosx/tkMacOSXDebug.h: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXEvent.c: cleanup whitespace and formatting. * macosx/tkMacOSXFont.c: * macosx/tkMacOSXRegion.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * xlib/xgc.c:
| * * unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),das2005-11-271-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 tk/unix/tcl.m4, sync whitespace with HEAD. * 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 * 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. * 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: sync with HEAD. * macosx/buildTkConfig.tcl (removed): remove obsolete build files. * macosx/README: clarification/cleanup, sync with HEAD, document universal (fat) builds via CFLAGS (i.e. ppc and i386 at the same time). * macosx/Makefile: add support for reusing configure cache, build target fixes. * generic/tkMenu.c: * macosx/tkMacOSXButton.c: * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDebug.h: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXXStubs.c: * macosx/tkMacOSXSubwindows.c: * xlib/xgc.c: declare functions and globals used only in own file as static, #ifdef out a few Xlib and aqua functions that are never called (sync with HEAD). * macosx/tkMacOSXPort.h: * generic/tkInt.decls: correct signature of TkMacOSXHandleMenuSelect, add XSync to aqua Xlib stubs. * generic/tkTest.c: #ifdef unix only declarations. (TestmetricsCmd): unify win and mac implementation. * generic/tkTextDisp.c: * generic/tkTextBTree.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXXStubs.c: fix gcc 4 warnings. * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXTest.c: sync with HEAD. * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkStubInit.c: * unix/configure: regen.
| * * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): check ifdas2005-09-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | process is in front on MouseDown, otherwise request process activation from BringWindowForward() via new isFrontProcess param. * macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): register our event handler on the dispatcher target for all carbon events of interest to TkAqua; this replaces event processing directly from the event queue and thus allows to capture events that are syntesized by Carbon and sent directly to the dispatcher and not to the event queue. * macosx/tkMacOSXEvent.c: remove TkMacOSXCountAndProcessMacEvents(), rename ReceiveAndProcessEvent() to TkMacOSXReceiveAndProcessEvent(). (TkMacOSXReceiveAndProcessEvent): remove tk event processing before sending events to the dispatcher, all events of interest are now processed in our dispatcher target event handler. * macosx/tkMacOSXNotify.c (CarbonEventsCheckProc): dispatch events directly via TkMacOSXReceiveAndProcessEvent(), but dispatch no more than four carbon events at one time to avoid starving other event sources. * macosx/tkMacOSXEvent.c: formatting cleanup, move XSync() to XStubs, * macosx/tkMacOSXEvent.h: removed obsolete kEventClassWish handling. * macosx/tkMacOSXXStubs.c * macosx/tkMacOSXButton.c: conditionalize all debug message printing to * macosx/tkMacOSXCursor.c: stderr via TK_MAC_DEBUG define. * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDebug.h: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * unix/configure.in: define TK_MAC_DEBUG on aqua when symbols enabled. * unix/configure: autoconf-2.13 * library/listbox.tcl: corrected comments. * library/text.tcl: * xlib/xcolors.c: fixed warning
| * Set the default linewidth for new gc's to 1 not 0. Some extensions seemwolfsuit2005-03-251-2/+2
| | | | | | | | to rely on this.
| * * macosx/tkMacOSXDraw.c:das2004-02-231-1/+4
| | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXXStubs.c: * xlib/ximage.c: fixed MacOSX XGetImage/XPutImage and related functions to deal properly with XImages copied from screen. * generic/tkCanvPs.c (TkImageGetColor): MacOSX fix. * generic/tkImgPhoto.c (ImgPhotoDisplay): enabled alpha blending for images with partial transparency on MacOSX. [Bug 809157]
* | merge stable branch onto HEADdgp2007-12-132-2/+2
| |
* | * macosx/tkMacOSXButton.c: sync formatting, whitespace, copyrightdas2007-11-091-1/+2
| | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXDialog.c: with core-8-4-branch. * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXWm.c: * xlib/xgc.c * library/bgerror.tcl: * library/console.tcl: * library/menu.tcl:
* | * xlib/xgc.c: factor out alloc/free of GC clip_mask;das2007-10-121-38/+83
| | | | | | | | | | * macosx/tkMacOSXXStubs.c: manage clip rgn lifetime with new Tkp{Retain,Release}Region().
* | * xlib/xgc.c (XCreateGC): correct black and white pixel values used todas2007-07-021-3/+5
| | | | | | | | initialize GC foregrund and background fields.