summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* (TkpDisplayButton): lint init. [Bug 1618604]hobbs2006-12-191-2/+2
| | | FossilOrigin-Name: d4bbf4d6adf3cd8916fa6928574e85af3ea28f02
* * doc/cursors.n: Mention "none" in supportedmdejong2006-12-172-1/+3
| | | | | | | | | | | | | | | | | | | | cursor list. Fix comment that incorrectly claims that the Win32 "no" cursor hides the cursor. * tests/cursor.test: Test "none" cursor. * unix/tkUnixCursor.c (CreateCursorFromTableOrFile, TkGetCursorByName): Define a table of Tk cursors that is searched in addition to the X cursor table. A Tk cursor is loaded from a data string and works with the same options as the built in X cursors. This code makes it possible to use "none" as a cursor name under Unix. * win/rc/cursor9a.cur: Added none Win32 cursor. * win/rc/tk_base.rc: Define a built-in Win32 cursor named "none". [Patch 1615427] FossilOrigin-Name: 3d756d41ff0106cee0eaebcf90af4b481627b10f
* * win/Makefile.in, unix/Makefile.in (demo): add 'demo' targethobbs2006-12-131-1/+4
| | | FossilOrigin-Name: 547cea4e08d07e7f40545c53ccaa7b14cc214c11
* * win/tkWinButton.c (InitBoxes): Call Tcl_Panic()mdejong2006-12-122-3/+13
| | | | | | | | | | | | | | if loading of bitmap resources fails. This change generates an error if Tk is unable to find button widget resources instead of silently failing and then drawing widgets incorrectly. win/rc/tk_base.rc: If the user defines BASE_NO_TK_ICON then compile the base resources file without a "tk" icon. This change makes it easier to replace the default tk icon with a custom icon. [Patch 1614362] FossilOrigin-Name: b5a2c05fe383c4ac34ef5c2046b04a60dfc778a4
* TIP 300 IMPLEMENTATIONkennykb2006-12-011-1/+57
| | | FossilOrigin-Name: c2f09fce1e370748b29a5a3709a29153dfd4fc20
* * doc/wm.n, tests/winWm.test:hobbs2006-12-011-27/+80
| | | | | | * win/tkWinWm.c: add -transparentcolor attribute for Windows. FossilOrigin-Name: 2e3c6dc1d40eb58ced539d86cd100513d99e8a86
* * unix/tkUnixMenu.c (DrawMenuUnderline): bound Tcl_UtfAtIndex usagehobbs2006-11-241-3/+3
| | | | | | * tests/menu.test (menu-36.1): [Bug 1599877] FossilOrigin-Name: a2dae84f2aadc32af1fea0e90f03464b2b20ea60
* * win/tkWinMenu.c (TkWinHandleMenuEvent, DrawMenuUnderline):hobbs2006-11-241-24/+34
| | | | | | handle unichar underlining correctly and safely. [Bug 1599877] FossilOrigin-Name: 2081c3f894a293842e0935247df25f8fbdde627d
* Add support for alternate/indeterminate checkbutton state.jenglish2006-11-211-40/+41
| | | | | | | Fix various spacing parameters [#1596020, patch from Tim Baker]. Remove unused uxtheme hooks. FossilOrigin-Name: 717b2844921923dd935e87300698cfdb9e554d41
* Miscellaneous minor changes to re-sync Ttk codebase with Tile CVS:jenglish2006-11-071-2/+2
| | | | | | | | fix comments damaged by overzealous search-and-destroy; removed obsolete [style default] synonym for [ttk::style configure]; removed other dead code. FossilOrigin-Name: b0e5e0ffb2a3a61a7533fa4477fa5751811babbe
* We do not want to require tkInt in all the ttk files so added thepatthoyts2006-11-031-5/+5
| | | | | | | definition of MODULE_SCOPE to ttkTheme.h Ensure everyone gets to see the definition from someplace. FossilOrigin-Name: 45dafadbad52bdd2d728a260bacc12ef03945a84
* #include tkInt.h to ensure MODULE_SCOPE is defineddas2006-11-031-2/+2
| | | FossilOrigin-Name: 8b3c5ec7d1f948c9b1eb96146aa4644020fdd6f1
* Oops. Removing rogue flagpatthoyts2006-11-031-3/+2
| | | FossilOrigin-Name: a7e9998cd8c28e03d16f93657bc1f7944a6ae820
* * generic/ttk/ttkBlink.c, generic/ttk/ttkButton.c:das2006-11-033-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | * generic/ttk/ttkClamTheme.c, generic/ttk/ttkClassicTheme.c: * generic/ttk/ttkDecls.h, generic/ttk/ttkDefaultTheme.c: * generic/ttk/ttkElements.c, generic/ttk/ttkEntry.c: * generic/ttk/ttkFrame.c, generic/ttk/ttkImage.c: * generic/ttk/ttkInit.c, generic/ttk/ttkLabel.c: * generic/ttk/ttkLayout.c, generic/ttk/ttkManager.h: * generic/ttk/ttkNotebook.c, generic/ttk/ttkPanedwindow.c: * generic/ttk/ttkProgress.c, generic/ttk/ttkScale.c: * generic/ttk/ttkScroll.c, generic/ttk/ttkScrollbar.c: * generic/ttk/ttkSeparator.c, generic/ttk/ttkSquare.c: * generic/ttk/ttkStubInit.c, generic/ttk/ttkStubLib.c: * generic/ttk/ttkTheme.c, generic/ttk/ttkTheme.h: * generic/ttk/ttkThemeInt.h, generic/ttk/ttkTrack.c: * generic/ttk/ttkTreeview.c, generic/ttk/ttkWidget.c: * generic/ttk/ttkWidget.h, macosx/ttkMacOSXTheme.c: * win/ttkWinMonitor.c, win/ttkWinTheme.c, win/ttkWinXPTheme.c: ensure all global Ttk symbols have Ttk or ttk prefix; declare all externally visible Ttk symbols not contained in stubs table as MODULE_SCOPE (or as static when possible); so that 'make check{exports,stubs}' once again complete without errors. FossilOrigin-Name: 194ccbce3f908d2343794aca69518cac59d0794e
* Add manifest merging for MSVC8.patthoyts2006-10-311-15/+35
| | | FossilOrigin-Name: ffc0679c245a7261fb492fd28e35327fbe312b03
* Update to support ttk merge.patthoyts2006-10-312-13/+116
| | | FossilOrigin-Name: f5ba36e6f973a6a92cb9e392c5dcb345ea369a37
* * doc/ttk_Geometry.3, doc/ttk_Theme.3, doc/ttk_button.n:hobbs2006-10-316-20/+2031
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/ttk_checkbutton.n, doc/ttk_combobox.n, doc/ttk_dialog.n: * doc/ttk_entry.n, doc/ttk_frame.n, doc/ttk_image.n: * doc/ttk_intro.n, doc/ttk_label.n, doc/ttk_labelframe.n: * doc/ttk_menubutton.n, doc/ttk_notebook.n, doc/ttk_panedwindow.n: * doc/ttk_progressbar.n, doc/ttk_radiobutton.n, doc/ttk_scrollbar.n: * doc/ttk_separator.n, doc/ttk_sizegrip.n, doc/ttk_style.n: * doc/ttk_treeview.n, doc/ttk_widget.n,: * generic/ttk/ttk.decls, generic/ttk/ttkBlink.c: * generic/ttk/ttkButton.c, generic/ttk/ttkCache.c: * generic/ttk/ttkClamTheme.c, generic/ttk/ttkClassicTheme.c: * generic/ttk/ttkDecls.h, generic/ttk/ttkDefaultTheme.c: * generic/ttk/ttkElements.c, generic/ttk/ttkEntry.c: * generic/ttk/ttkFrame.c, generic/ttk/ttkImage.c: * generic/ttk/ttkInit.c, generic/ttk/ttkLabel.c: * generic/ttk/ttkLayout.c, generic/ttk/ttkManager.c: * generic/ttk/ttkManager.h, generic/ttk/ttkNotebook.c: * generic/ttk/ttkPanedwindow.c, generic/ttk/ttkProgress.c: * generic/ttk/ttkScale.c, generic/ttk/ttkScroll.c: * generic/ttk/ttkScrollbar.c, generic/ttk/ttkSeparator.c: * generic/ttk/ttkSquare.c, generic/ttk/ttkState.c: * generic/ttk/ttkStubInit.c, generic/ttk/ttkStubLib.c: * generic/ttk/ttkTagSet.c, generic/ttk/ttkTheme.c: * generic/ttk/ttkTheme.h, generic/ttk/ttkThemeInt.h: * generic/ttk/ttkTrace.c, generic/ttk/ttkTrack.c: * generic/ttk/ttkTreeview.c, generic/ttk/ttkWidget.c: * generic/ttk/ttkWidget.h: * library/demos/ttk_demo.tcl, library/demos/ttk_iconlib.tcl: * library/demos/ttk_repeater.tcl: * library/ttk/altTheme.tcl, library/ttk/aquaTheme.tcl: * library/ttk/button.tcl, library/ttk/clamTheme.tcl: * library/ttk/classicTheme.tcl, library/ttk/combobox.tcl: * library/ttk/cursors.tcl, library/ttk/defaults.tcl: * library/ttk/dialog.tcl, library/ttk/entry.tcl: * library/ttk/fonts.tcl, library/ttk/icons.tcl: * library/ttk/keynav.tcl, library/ttk/menubutton.tcl: * library/ttk/notebook.tcl, library/ttk/panedwindow.tcl: * library/ttk/progress.tcl, library/ttk/scale.tcl: * library/ttk/scrollbar.tcl, library/ttk/sizegrip.tcl: * library/ttk/treeview.tcl, library/ttk/ttk.tcl: * library/ttk/utils.tcl, library/ttk/winTheme.tcl: * library/ttk/xpTheme.tcl: * macosx/ttkMacOSXTheme.c: * tests/ttk/all.tcl, tests/ttk/bwidget.test, tests/ttk/combobox.test: * tests/ttk/entry.test, tests/ttk/image.test: * tests/ttk/labelframe.test, tests/ttk/layout.test: * tests/ttk/misc.test, tests/ttk/notebook.test: * tests/ttk/panedwindow.test, tests/ttk/progressbar.test: * tests/ttk/scrollbar.test, tests/ttk/treetags.test: * tests/ttk/treeview.test, tests/ttk/ttk.test, tests/ttk/validate.test: * win/ttkWinMonitor.c, win/ttkWinTheme.c, win/ttkWinXPTheme.c: First import of Ttk themed Tk widgets as branched from tile 0.7.8 * generic/tkInt.h, generic/tkWindow.c: add Ttk_Init call, copy tk classic widgets to ::tk namespace. * library/tk.tcl: add source of ttk/ttk.tcl, define $::ttk::library. * unix/Makefile.in, win/Makefile.in: add Ttk build bits * win/configure, win/configure.in: check for uxtheme.h (XP theme). FossilOrigin-Name: 7c7e532bde391eb8b36b9e412978dd5ab8facee2
* * README: Bump version number to 8.5a6dgp2006-10-232-3/+3
| | | | | | | | | | | | * generic/tk.h: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure: FossilOrigin-Name: bd7a87c3628dec3cc19d98e714bf4ae3d5bb9795
* generic/tkImgBmap.c: Fixed line endings.patthoyts2006-10-193-145/+366
| | | | | | | | win/makefile.vc: Patched up build system to manage win/rules.vc: AMD64 with MSVC8 win/nmakehlp.c: Ensure operation without Platform SDK. FossilOrigin-Name: baa01e99942369cdd9063e7542074d19a3bf73af
* * unix/Makefile.in (install-binaries): Added a second guard to theandreas_kupries2006-09-272-3/+5
| | | | | | | | | | * win/Makefile.in: package index file to prevent older versions of * win/makefile.vc: Tcl from seeing version numbers which may contain a/b information, and then balking on them. This could otherwise happen when Tcl/Tk 8.4 and 8.5 are installed in the same directory, seeing each other. [SF Tk Bug 1566418]. FossilOrigin-Name: 2c942d25d318c26898e816e6c02e0d88759ee56d
* * generic/tkConsole.c: TIP #268 update regarding registered packageandreas_kupries2006-09-225-9/+13
| | | | | | | | | | | | | | | | * generic/tkMain.c: version, now using full patchlevel instead of * generic/tkWindow.c: major.minor * library/tk.tcl: * unix/configure: * unix/Makefile.in: * unix/tcl.m4: * win/configure: * win/Makefile.in: * win/makefile.vc: * win/rules.vc: * win/tcl.m4: FossilOrigin-Name: 9d41acf54154dda8103f6b94602caaa91d6b572c
* * win/tkWinMenu.c (TkpPostMenu): disable menu animation in menushobbs2006-09-211-2/+19
| | | | | | with images to avoid clipping bug. [Bug 1329198] FossilOrigin-Name: 2324d457cbe7482806e46ac1163392083a69a68d
* * generic/tkEntry.c: move hard-coded ALWAYS_SHOW_SELECTIONhobbs2006-09-061-1/+2
| | | | | | | | | | | | | * generic/tkInt.h: control of entry/text selection display * generic/tkText.c: based on focus to the Tcl level, * generic/tkWindow.c: controlled by ::tk::AlwaysShowSelection * library/tk.tcl: (boolean, private). [Bug 1553691] * macosx/tkMacOSXDefault.h: * unix/tkUnixDefault.h: * unix/tkUnixPort.h: * win/tkWinDefault.h: FossilOrigin-Name: 25cf9158b784bb5826fdd96a2adf07ad623480a2
* * win/tkWinKey.c: Add WM_UNICHAR window message support (used byhobbs2006-08-302-2/+51
| | | | | | * win/tkWinX.c: virtual keyboard apps). [Bug 1518677] (petasis) FossilOrigin-Name: 40f945bb376e7be11de2288736eeda94c139188e
* * win/tkWinEmbed.c (TkpGetOtherWindow): [Bug 1212056] do not panichobbs2006-05-291-2/+1
| | | | | | | | * unix/tkUnixEmbed.c (TkpGetOtherWindow): if no window is found - * unix/tkUnixWm.c (Tk_CoordsToWindow, UpdateGeometryInfo): handle it in the caller FossilOrigin-Name: 57cc8021a2c5cdd7fce79026a15434eb1ac89088
* * win/tkWinMenu.c (TkWinMenuKeyObjCmd): get eventPtr after we knowhobbs2006-05-251-3/+3
| | | | | | the window is still alive. [AS bug 45987] [Bug 1236306] FossilOrigin-Name: d179ef579451c43f18a68fc5489da34876111531
* * README: Bump version number to 8.5a4dgp2006-05-042-3/+3
| | | | | | | | | | | | * generic/tk.h: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure: FossilOrigin-Name: 0b0a579d97139661cec75a418beecae14ca8030d
* * generic/tkMenu.c (TkSetWindowMenuBar): remove extra TkMenuInithobbs2006-04-051-70/+104
| | | | | | | | | | | | call that caused finalization panic. [Bug 1456851] * win/tkWinMenu.c (FreeID, TkpNewMenu, MenuExitHandler) (MenuThreadExitHandler, TkpMenuInit, TkpMenuThreadInit): rework Windows menu init/finalization to better respect per-process and per-thread boundaries. [Bug 1456851] (TkWinMenuKeyObjCmd): Do not error when unknown window is passed in. [Bug 1236306] FossilOrigin-Name: 180fe53de32a4acb752084e6d92344d72b3185e0
* * win/tkWinX.c (TkWinXInit): init default keyboard charsethobbs2006-04-051-2/+15
| | | | | | correctly. [Bug 1374119] (pajas) FossilOrigin-Name: b80a6e443852fa4d2d3e7f8f6364e31c63e0f5d5
* * win/tkWinWm.c (WmProc): pass WM_QUERYENDSESSION message to Tk ashobbs2006-04-051-1/+17
| | | | | | WM_SAVE_YOURSELF wm protocol callback. FossilOrigin-Name: a29af09018c58f02a4b4bcc587594f835b8f3d95
* * win/Makefile.in: convert _NATIVE paths to use / to avoid ".\"hobbs2006-03-291-10/+10
| | | | | | path-as-escape issue. FossilOrigin-Name: 545857fa43145a1372188981749ca187e52b03cf
* * unix/tcl.m4, win/tcl.m4: []-quote AC_DEFUN functions.hobbs2006-03-281-12/+12
| | | FossilOrigin-Name: 38cd48e82ae819884cbd8612a0aeae07681914ea
* * generic/tkFont.c: implementation of ATSUI text renderingdas2006-03-221-1/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkInt.h: in TkAqua provided by Benjamin * generic/tkTextDisp.c: Riefenstahl. [Patch 638966] * library/demos/unicodeout.tcl: * macosx/tkMacOSXFont.h (new file): * macosx/tkMacOSXFont.c: * tests/font.test: * unix/tkUnixFont.c: * win/tkWinFont.c: * generic/tkFont.c: moved MODULE_SCOPE declarations of * generic/tkFont.h: font helper procs into header files. * macosx/tkMacOSXButton.c: * macosx/tkMacOSXFont.h: * macosx/tkMacOSXMenubutton.c: * macosx/Wish.xcode/project.pbxproj: add new tkMacOSXFont.h file, * macosx/Wish.xcodeproj/project.pbxproj: turn off dead code stripping as it interferes with -sectcreate (rdar://4486223). * macosx/Wish.xcode/default.pbxuser: add TCLLIBPATH=/Library/Tcl * macosx/Wish.xcodeproj/default.pbxuser: env var setting to tktest. * unix/configure.in: fix detection of symbols build when enabling TkAqua debug code; filter nm output of libtclstub better to avoid error on intel macs [Bug 1415789]. * unix/configure: autoconf-2.59 FossilOrigin-Name: 69379436a2a1cee0a35fbf45186cdb6a053ca4fa
* remove unused variable to allow compilation with VC++ in debug modevincentdarley2005-12-291-2/+2
| | | FossilOrigin-Name: 8a103cb6311903fabbf36dd134c2cb0aba004e69
* * win/tkWinWm.c (WinSetIcon): Don't check resultmdejong2005-12-101-33/+16
| | | | | | | | | of SetClassLong() or SetClassLongPtr() since it was generating an incorrect error and the MSDN docs indicate that the result need not be checked. FossilOrigin-Name: 0c5773d9830a14235ba32678194741fc766cd41e
* * win/configure: Regen.mdejong2005-12-102-0/+6
| | | | | | | | | * win/tcl.m4 (SC_CONFIG_CFLAGS): Define MACHINE for gcc builds. The lack of a definition of this variable in the manifest file was causing a runtime error in wish built with gcc. FossilOrigin-Name: 5b27d5f9e72cecda643a3fa77ec044ce6e619d5e
* * generic/tkInt.decls: move all platform test sources from tk lib intodas2005-12-093-7/+15
| | | | | | | | | | | | | | * generic/tkTest.c: tktest directly, removes requirement to export * macosx/tkMacOSXTest.c: TkplatformtestInit from internal stubs table. * unix/Makefile.in: * win/Makefile.in: * win/makefile.vc: * win/tkWinTest.c: * generic/tkIntPlatDecls.h: * generic/tkStubInit.c: regen. FossilOrigin-Name: 6ef50d0bf4e64b8ac34e6ed5ba3a1ff11c1a0f97
* add tkWinTest.obj to regular Tk obj for TkplatformtestInithobbs2005-12-081-6/+3
| | | FossilOrigin-Name: 15f34d6b75e0bfc2d1edb7c7d3a79322533c6134
* * win/tcl.m4: Add build support for Windows-x64 builds.hobbs2005-12-086-61/+393
| | | | | | | | | | | * win/configure: --enable-64bit now accepts =amd64|ia64 for * win/Makefile.in: Windows 64-bit build variants (default: amd64) * win/makefile.vc: [Bug 1369597] * win/configure.in: Add CE build support (some C code fixes needed) * win/wish.exe.manifest.in (new): manifest must map in MACHINE * win/rc/wish.exe.manifest (removed): and VERSION to be correct. FossilOrigin-Name: a62685ce4168925729398c64d64c775e9d32a603
* More fixes (mostly getting rid of excess spaces)dkf2005-12-0215-949/+1009
| | | FossilOrigin-Name: 36165453405bcc416b1b70c6014274fb196f9fa4
* Fix problems in last commitdkf2005-12-023-186/+188
| | | FossilOrigin-Name: f8a43d444dc8cc1020bb20c36a5b0351a73360ec
* ANSIficationdkf2005-12-0225-5659/+6165
| | | FossilOrigin-Name: 1be88f1039a57d37b1f4567340d02ca39ddb3575
* * win/tkWinWm.c (WmAttributesCmd): set (no)topmost window aspecthobbs2005-12-011-2/+14
| | | | | | before rewrapping. [Bug 1086049] FossilOrigin-Name: 53c4ce1ea8244e29f23341ba808171b9873a3266
* * win/Makefile.in: place TCL_BIN_DIR first in PATH for targets tohobbs2005-12-011-10/+7
| | | | | | get Tcl built dll first. FossilOrigin-Name: 770f90b7aac78e3d559d1ae0b93b0734df525cdc
* * unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),das2005-11-271-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 tcl/unix/tcl.m4. * 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 (dist): add new macosx files. * 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. * xlib/xgc.c (XCreateGC): sync with core-8-4-branch change. * 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: * macosx/Wish.xcode/default.pbxuser: * macosx/Wish.xcode/project.pbxproj: * macosx/Wish.xcodeproj/default.pbxuser (new file): * macosx/Wish.xcodeproj/project.pbxproj (new file): new/updated projects for Xcode 2.2 on 10.4, Xcode 1.5 on 10.3 & ProjectBuilder on 10.2, with native tktest targets and support for universal (fat) compiles. * macosx/Tk-Info.plist (removed): * macosx/Wish-Info.plist (removed): * macosx/buildTkConfig.tcl (removed): remove obsolete build files. * macosx/README: clarification/cleanup, document new Xcode projects and universal (fat) builds via CFLAGS (i.e. ppc and i386 at the same time). * unix/Makefile.in: * unix/aclocal.m4: * unix/configure.in: * macosx/configure.ac (new file): add support for inclusion of unix/configure.in by macosx/configure.ac, allows generation of a config headers enabled configure script in macosx (required by Xcode projects). * macosx/GNUmakefile: rename from Makefile to avoid overwriting by configure run in tk/macosx, add support for reusing configure cache, build target fixes. * generic/tk3d.h: * generic/tkButton.h: * generic/tkCanvas.c: * generic/tkCanvas.h: * generic/tkColor.h: * generic/tkEntry.h: * generic/tkFileFilter.h: * generic/tkFont.c: * generic/tkFont.h: * generic/tkImage.c: * generic/tkImgPhoto.c: * generic/tkInt.h: * generic/tkMenu.c: * generic/tkMenu.h: * generic/tkMenubutton.h: * generic/tkScale.h: * generic/tkScrollbar.h: * generic/tkSelect.h: * generic/tkStubInit.c: * generic/tkStubLib.c: * generic/tkText.h: * generic/tkUndo.h: * macosx/tkMacOSXButton.c: * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDebug.h: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXInt.h: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXSend.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * unix/tkUnixButton.c: * unix/tkUnixMenu.c: * xlib/xgc.c: ensure externally visible symbols not contained in stubs table are declared as MODULE_SCOPE (or as static if not used outside of own source file), #ifdef out a few Xlib and aqua functions that are never called. These changes allow 'make checkstubs' to complete without error on Darwin with gcc 4. * macosx/tkMacOSXTest.c: * macosx/tkMacOSXPort.h: * win/tkWinTest.c: * generic/tkInt.decls: add functions needed by tktest to internal stubs table, correct signature of TkMacOSXHandleMenuSelect, add XSync to aqua Xlib stubs. * unix/tkUnixSend.c: * generic/tkText.c: * generic/tkTest.c: #ifdef unix only declarations. (TestmetricsCmd): unify win and mac implementation. (TestsendCmd): move to tkUnixSend.c to avoid access to global var. (TesttextCmd): move to tkText.c to avoid having to put all the internal text functions it uses into the stubs table. * generic/tkTextDisp.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXXStubs.c: fix gcc 4 warnings. * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXScrlbr.c: sync with core-8-4-branch. * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkStubInit.c: * unix/configure: * unix/tkConfig.h.in: regen. FossilOrigin-Name: 67cb6f9bd1c97c19475232affe5bfc072dabe2bf
* Error fixes in GetFileNameW and GetFileNameAchengyemao2005-11-111-3/+3
| | | FossilOrigin-Name: a0677d9fce1343e129e82c3b4606638f940f0cb2
* Fixes of other issues raised in [Bug 1353022]dkf2005-11-101-5/+7
| | | FossilOrigin-Name: 947af08a8a96a11bda73f1a761e7088813229daa
* Fix [Bug 1353022]dkf2005-11-101-4/+13
| | | FossilOrigin-Name: 0a73d59dfa1a185dc7c7e8e969817579fad21c42
* Factor out external-filename-to-internal code; the same pattern occurred a lot!dkf2005-11-101-199/+145
| | | FossilOrigin-Name: 3bb33a97dbb5d25b64b704ee894fbdd63f7f698c
* Permit building al debug builds as well as release buildspatthoyts2005-10-141-14/+79
| | | FossilOrigin-Name: e37ce17adb3541ae7d872ab7fa3046669f1adcbf