summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tkWindow.c (TkCloseDisplay): Added to centralize where ahobbs2002-04-121-107/+100
| | | | | | | | | | display was closed. This handles freeing memory associated with a display and closing it. (DeleteWindowsExitProc): actually close displays. This would also ideally be done in Tk_DestroyWindow when the last window on the display has been closed, but that still has unresolved order of cleanup problems. (Tk_DestroyWindow): added TkFocusFree call.
* * unix/tkUnixEvent.c (TkpCloseDisplay): call TkSendCleanup andhobbs2002-04-121-26/+25
| | | | TkWmCleanup.
* unix/tkUnixSend.c (TkSendCleanup): free send-related resourceshobbs2002-04-121-1/+34
|
* * generic/tkStubInit.c:hobbs2002-04-124-4/+76
| | | | | | | | * generic/tkIntPlatDecls.h: * generic/tkIntDecls.h: * generic/tkInt.decls: added TkFocusFree, TkClipCleanup and TkGCCleanup generic private procs, and TkWmCleanup, TkSendCleanup and TkFreeXId unix private procs.
* * generic/tkInt.h:hobbs2002-04-122-10/+54
| | | | | | * unix/tkUnixXId.c (TkFreeXId): frees XID resources. Made idCleanupScheduled a Tcl_TimerToken (was int) in TkDisplay structure to allow us to delete the timer scheduled for it.
* generic/tkFocus.c (TkFocusFree): frees TkMainInfo datahobbs2002-04-121-1/+37
|
* generic/tkClipboard.c (TkClipCleanup): frees TkDisplay datahobbs2002-04-121-1/+39
|
* * generic/tkGC.c (TkGCCleanup): frees TkDisplay datahobbs2002-04-121-2/+58
|
* * unix/tkUnixWm.c (TkWmStackorderToplevel): ensure childrenhobbs2002-04-121-50/+96
| | | | | | | | | | structure is freed. (ConfigureEvent, ComputeReparentGeometry): Add extra wm tracing info (TkWmRestackToplevel): initialize changes to 0 to prevent UMR. Use WaitForConfigureNotify on all windows. This part still requires fixing as it is the root of the 2 second raise delay on some window managers (those that use extra wrapper windows of their own).
* * unix/tkUnixSelect.c (SelRcvIncrProc): added missing Tcl_Releasehobbs2002-04-121-1/+2
| | | | of interp
* remove eof whitespacehobbs2002-04-121-14/+1
|
* * generic/tkGet.c (FreeUidThreadExitProc): free thread-specifichobbs2002-04-121-1/+30
| | | | resources on thread exit
* see ChangeLoghobbs2002-04-121-0/+46
|
* * unix/tkUnixFont.c (FontPkgCleanup): cleanup thread specific fonthobbs2002-04-121-1/+41
| | | | resources on thread exit.
* * mac/tkMacXStubs.c (TkpOpenDisplay): memset the initial displayhobbs2002-04-121-1/+3
| | | | structures to 0.
* * generic/tkOption.c (OptionThreadExitProc): freed tsd optionhobbs2002-04-121-1/+38
| | | | | stacks on thread exit. (Tk_GetOption): free mem used to get Tk_Uid
* generic/tkMenu.c (ConfigureMenu): freed saved options in all error caseshobbs2002-04-121-9/+14
|
* * win/tkWinX.c (Tk_SetCaretPos): remove WM_IME_STARTCOMPOSITIONhobbs2002-04-121-37/+118
| | | | | | | | | | | and place the IME position within Tk_SetCaretPos. Cache results in Tk_SetCaretPos to reduce unnecessary repositioning. Also call DestroyCaret if we receive WM_KILLFOCUS. (TkpOpenDisplay): ZeroMemory the initial display structures. (TkWinGetUnicodeEncoding): Added so that Windows only needs to cache this value one, and then free it in TkWinXCleanup. (HandleIMEComposition): add support for Win98 and ATOK13 IME. (yamamoto)
* * win/tkWinInt.h: declaration for TkWinGetUnicodeEncodinghobbs2002-04-124-13/+17
| | | | | | | * win/tkWinDialog.c (GetFileNameW): use TkWinGetUnicodeEncoding * win/tkWinInit.c (TkpDisplayWarning): use TkWinGetUnicodeEncoding * win/tkWinFont.c: use TkWinGetUnicodeEncoding instead of static unicodeEncoding.
* * generic/tkConsole.c (ConsoleCmd): correct return that shouldhobbs2002-04-121-2/+2
| | | | have just set result code.
* * generic/tkImgPhoto.c: Added PhotoFormatThreadExitProc to cleanhobbs2002-04-121-116/+171
| | | | up on thread exit. (Tk_PhotoPutBlock) slight code updates
* * win/configure:hobbs2002-04-122-3/+3
| | | | | | | * win/tcl.m4: Enabled COFF as well as CV style debug info with --enable-symbols to allow Dr. Watson users to see function info. More info on debugging levels can be obtained at: http://msdn.microsoft.com/library/en-us/dnvc60/html/gendepdebug.asp
* * generic/tkPanedWindow.c (DestroyPanedWindow, ConfigureSlaves):hobbs2002-04-121-3/+7
| | | | fix mem leaks in not freeing slave info
* fixed copyright noticehobbs2002-04-101-2/+4
|
* * doc/wm.n:mdejong2002-04-106-11/+21
| | | | | | | | | * mac/tkMacWm.c: * tests/wm.test: * unix/tkUnixWm.c: * win/tkWinWm.c: Update wm stackorder usage message to make it clear that either 1 or 3 arguments are required. [Bug 540013]
* 2002-04-08 Daniel Steffen <das@users.sourceforge.net>das2002-04-085-3529/+3522
| | | | | | | | | | | | * mac/tkMacProjects.sea.hqx: added tkPanedWindow.c to projects * mac/tkMacAppInit.c: fixes to MSL stdin/stdout hookup to the TkConsole when using shared MSL libraries; fix for crashing bug on exit: writing to stdin/sterr when console has already been destroyed. (both fixes need support in MSL, see 'CW Pro6 changes' in tcl/mac/tcltkMacBuildSupport.sea.hqx) * mac/tkMacDialog.c: fixes to Navigation Services Dialog filter. * mac/tkMacDraw.c: add panic for overwide TkImages that would crash Tk on mac otherwise.
* * win/tkWinButton.c (TkpDisplayButton):hobbs2002-04-055-24/+76
| | | | | | * generic/tkTextMark.c (TkTextInsertDisplayProc): * generic/tkCanvText.c (DisplayCanvText): * generic/tkEntry.c (DisplayEntry): added Tk_SetCaretPos calls.
* * win/Makefile.in: changed gdb and shell targets to properly buildhobbs2002-04-051-3/+3
| | | | all binaries before running (otherwise an error often occured).
* * unix/tkUnixWm.c (CreateWrapper): Removed redundat setting ofhobbs2002-04-051-4/+1
| | | | inputContext to null.
* * unix/tkUnixEvent.c:hobbs2002-04-052-73/+98
| | | | | | * generic/tkWindow.c: moved OpenIM over to tkUnixEvent.c. Removed setting inputContext to null in Tk_MakeWindowExist as it was redundant.
* * generic/tkInt.h: added TK_XIM_SPOT #define (default 1).hobbs2002-04-052-15/+60
| | | | | | | | Added XFontSet attribute to TkDisplay when TK_XIM_SPOT is true. * generic/tkEvent.c (Tk_HandleEvent): made sure inputContexts are not getting created on DestroyNotify events (for dead windows). Added over-the-spot support if TK_XIM_SPOT is defined (default). The is the nicer XIM behavior, but uses a bit more memory.
* * win/tkWinX.c: added Tk_SetCaretPos code to position IME windowshobbs2002-04-051-1/+87
| | | | correctly when WM_IME_STARTCOMPOSITION is received.
* * unix/tkUnixKey.c: added Tk_SetCaretPos and code for settinghobbs2002-04-051-2/+55
| | | | XIM caret in TkpGetString.
* * generic/tkStubInit.c:hobbs2002-04-053-3/+18
| | | | | | | | | * generic/tkDecls.h: * generic/tk.decls: added Tk_SetCaretPos declaration. This command allows users to indicate the cursor position and is used by XIM (Unix) or IME (Windows) to place the caret box correctly. It is also part of correct Accessibility style on Windows to make the magnifier jump to the focus point.
* added Tk_SetCaretPos stub (does nothing)hobbs2002-04-051-1/+18
|
* small lint in comments/docs.davygrvy2002-03-291-15/+13
|
* no messagedavygrvy2002-03-291-0/+2
|
* updated to match Tcldavygrvy2002-03-291-6/+29
|
* small cruftdavygrvy2002-03-291-4/+24
|
* no messagedavygrvy2002-03-291-0/+3
|
* Changed topic from "Tcl Built-In Commands" to "Tk Built-In Commands"davygrvy2002-03-291-2/+2
|
* ack! fixed big typo.davygrvy2002-03-291-2/+1
|
* * win/makefile.vc: Tk helpfile is now installing itself into Tcl'sdavygrvy2002-03-291-8/+26
| | | | | contents file as part of the install target and rebuilding the contents table as desired. [Bug 527941]
* no messagedavygrvy2002-03-291-0/+4
|
* fixed double use of $(ldebug)davygrvy2002-03-281-6/+6
|
* * win/.cvsignore (new):davygrvy2002-03-285-73/+521
| | | | | | | | | | | | | * win/lamp.bmp (new): * win/makefile.vc: * win/nmakehlp.c (new): * win/rules.vc: Brought the makefile up-to-date with Tcl's one. This now has support for Win9x issues and the winhelp target now exists. Color scheme can be changed. I'm just imparting a first suggestion using orange :) I'll have to think about the install portion of the helpfile as I'll need to do some tricks to insert tk's contents file into Tcl's using some special winhlp32.exe switches. [Bug 533862 527941]
* no messagedavygrvy2002-03-281-0/+14
|
* * Ran 'autoconf' - forgotten when bump to 8.4a5.dgp2002-03-281-1/+1
|
* * unix/tkUnixFont.c: Added inclusion of <arpa/inet.h>. This fixesandreas_kupries2002-03-272-1/+8
| | | | | a GCC/HPUX problem with missing a "htons". See also "tclUnixPort.h" for equivalent code.
* Changed bitmap_bit_order to LSBFirst in XCreateImage (bug 481255)chengyemao2002-03-261-2/+2
|