summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tkCmds.c (Tk_TkObjCmd):hobbs2002-06-153-9/+17
| | | | | | | * unix/tkUnixKey.c (TkpGetString): * generic/tkEvent.c (Tk_HandleEvent): * generic/tkInt.h: changed useInputMethods boolean from int to a bit in the flags variable (TK_DISPLAY_USE_IM)
* * generic/tkInt.h:hobbs2002-06-152-11/+17
| | | | | | | * generic/tkCmds.c (Tk_WmObjCmd): * unix/tkUnixWm.c (Tk_WmCmd): * win/tkWinWm.c (Tk_WmCmd): changed wmTracing from being an int to just a bit in the flags variable (TK_DISPLAY_WM_TRACING)
* changed TK_USE_XIM_SPOT to TK_DISPLAY_XIM_SPOT for clarityhobbs2002-06-151-2/+2
|
* * generic/tkEvent.c (Tk_HandleEvent):hobbs2002-06-152-34/+40
| | | | | | | | | * unix/tkUnixEvent.c (OpenIM): * unix/tkUnixKey.c (TkpGetString): * generic/tkInt.h: added TK_USE_XIM_SPOT flag bit for TkDisplay and used this to allow a runtime check to see if over-the-spot XIM is possible. If not it will try and fallback to the old-style input context, which handles things like dead keys input.
* * generic/tk.decls: added TIP #84 implementation that adds ahobbs2002-06-156-6/+78
| | | | | | | | | * generic/tkDecls.h: Tk_CollapseMotionEvents API which controls * generic/tkEvent.c: Tk's collapsing of incoming motion events * generic/tkInt.h: on its windows. The default remains to do * generic/tkStubInit.c: collapsing. Added a flags parameter to the * generic/tkWindow.c: internal display structure to support this * doc/QWinEvent.3: and be used in the future for other bits.
* * generic/tkBind.c (TkXErrorHandler): Declare staticmdejong2002-06-141-1/+3
| | | | function to avoid compiler error with VC++.
* * generic/tkBind.c (ExpandPercents): Cast argument tomdejong2002-06-141-2/+2
| | | | Tk_GetAtomName in order to avoid compiler warning.
* TIP #47 "Modifying Tk to Allow Writing X Window managers"jenglish2002-06-1414-74/+300
| | | | | | | | (patch from Neil McKay). * Add CirculateRequest, Create, MapRequest, ResizeRequest, and ConfigureRequest event types; * Split TK_TOPLEVEL flag into TK_TOPLEVEL, TK_HAS_WRAPPER, TK_WIN_MANAGED, and TK_TOP_HIERARCHY.
* regendkf2002-06-142-14/+14
|
* Changed some _Old and _OLD to more descriptive terms.dkf2002-06-143-14/+14
|
* TIP#98 implementation; improved photo image copy and GIF frame accessdkf2002-06-149-211/+479
|
* * generic/tkInt.decls: Add unix decl for TkpWmSetState.mdejong2002-05-273-3/+16
| | | | | | | | | | | * generic/tkIntPlatDecls.h: Regen. * generic/tkStubInit.c: Regen. * tests/wm.test: Test state changes between iconic, normal, and withdrawn both before and after initial mapping. * unix/tkUnixWm.c (Tk_WmCmd, TkpWmSetState): Move state change code into TkpWmSetState to more closely match the Win32 implementation. No functional changes.
* When creating a radiobutton with -value "" it was not drawn properlypspjuth2002-05-261-1/+11
| | | | if the -variable was created by the radiobutton. [Bug #548765]
* Negative coordinates were rounded badly causing a 1 pixelpspjuth2002-05-261-3/+3
| | | | displacement. [Bug #556526]
* * generic/tkTextDisp.c (DisplayLineBackground):hobbs2002-04-231-1/+20
| | | | | | * unix/tkUnix3d.c (Tk_3DHorizontalBevel): * unix/tkUnixFont.c (Tk_DrawChars): applied fixes to not overrun the X window 16-bit size limit. [Patch #541999] (bonfield)
* Fix for Bug 223739 to get rid of floating point equality test.dkf2002-04-221-5/+17
| | | | Sorry for delaying this fix for months; I hadn't noticed that it had been reviewed!
* * 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.
* * 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-121-3/+4
| | | | | | * 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
|
* * generic/tkGet.c (FreeUidThreadExitProc): free thread-specifichobbs2002-04-121-1/+30
| | | | resources on thread exit
* * 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
|
* * 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
* * generic/tkPanedWindow.c (DestroyPanedWindow, ConfigureSlaves):hobbs2002-04-121-3/+7
| | | | fix mem leaks in not freeing slave info
* * win/tkWinButton.c (TkpDisplayButton):hobbs2002-04-053-23/+32
| | | | | | * generic/tkTextMark.c (TkTextInsertDisplayProc): * generic/tkCanvText.c (DisplayCanvText): * generic/tkEntry.c (DisplayEntry): added Tk_SetCaretPos calls.
* * unix/tkUnixEvent.c:hobbs2002-04-051-71/+2
| | | | | | * 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.
* * 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.
* * Updates to handle change in type of part2 argument ofdgp2002-03-208-26/+26
| | | | Tcl_VarTraceProc typedef. [TIP 27] [Patch 532644].
* * generic/tkOldConfig.c (Tk_ConfigureValue): prevent leavinghobbs2002-03-201-1/+7
| | | | interp->result as NULL.
* Bumped patchlevel; might need changing in the future, but it makes lifedkf2002-03-061-3/+3
| | | | easier for now.
* * generic/tkWindow.c (Tk_MainWindow, Tk_GetNumMainWindows):hobbs2002-02-271-5/+23
| | | | | protect against being called before Tcl stubs are init'ed. [Bug #220916] (porter)
* * generic/tkText.c (ConfigureText): reenable the blinking cursorhobbs2002-02-261-1/+11
| | | | on state change where necessary. [Bug #503772]
* * tests/listbox.test:hobbs2002-02-261-80/+100
| | | | | * generic/tkListbox.c: corrected error handling when setting to an invalid listvar value. [Bug #503613]
* * generic/tkPanedWindow.c (PanedWindowWidgetObjCmd): fixed returnshobbs2002-02-221-12/+17
| | | | | that should have been breaks instead. Corrected .pw configure handling for insufficient args. [Patch #521436] (boudaillier)
* TIP #41 implementation, panedwindow [Patch #512503] (melski)hobbs2002-02-223-2/+2787
|
* * generic/tkOption.c (ReadOptionFile): fixed Tcl_Seek casting tohobbs2002-02-221-3/+3
| | | | remove warnings (we expect no option files with be > 2GB).
* Minor fixes as part of TIP#72 (and one just noticed in passing)dkf2002-02-193-8/+8
|
* tkImgGIF.c was not following the Tcl C style; fixed...dkf2002-02-191-571/+676
|
* * modified some callers of Tcl routines thatdgp2002-02-081-3/+2
| | | | were restored to return (char *) pointing into Tcl_DStrings.
* Clean-up bogus for loop in [image inuse] subcommand. [Bug #485803]ericm2002-02-031-7/+3
|
* * generic/tkCmds.c (Tk_TkObjCmd): don't use 'bool' as an arg as ithobbs2002-02-021-4/+4
| | | | conflicts with the C99 spec. [Bug #511956] (ingham)
* Final part of TIP#14 support (photo image transparency access); the C APIdkf2002-02-011-112/+251
| | | | stuff has been in there for ages for some reason...
* Correct and test for logic error when cloning menus. Bug 508988uid382262002-01-311-2/+2
|
* * The POTENTIAL INCOMPATIBILITY in the changingdgp2002-01-312-5/+5
| | | | | interface of Tk_ParseArgv can now be removed by the -DUSE_NON_CONST compiler flag.
* * generic/tkFileFilter.c:das2002-01-271-10/+10
| | | | | | * mac/tkMacInit.c: * mac/tkMacKeyboard.c: * mac/tkMacMenus.c: TIP 27 CONSTification induced changes