summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tkText.c (DeleteIndexRange, TextEditCmd, UpdateDirtyFlag):hobbs2007-12-131-40/+48
| | | | | | | | | * tests/text.test (text-25.10.1,25.11.[12]): Don't require [update idle] to trigger Modified event [Bug 1809538] Modified virtual event should only fire on state change [Bug 1799782] Make sure we delete chars before triggering <<Modified>> [Bug 1737288] FossilOrigin-Name: 9db39c4d552d46928c3efd1f15c09e7544ed8b03
* fix typos in commentshobbs2007-12-131-4/+4
| | | FossilOrigin-Name: cbe451b4a95b78d7c4e4d744c7262ad5501383d1
* * generic/ttk/ttkTheme.c(StyleElementOptionsCmd):jenglish2007-12-121-9/+9
| | | | | | Use Ttk_GetElement() to find element instead of direct hash table access. FossilOrigin-Name: 09d7f6c0661358bee0bbaafd5154bafc6141e396
* Added code to rebuild the from index after the deletion phase so that thedkf2007-12-111-10/+20
| | | | | | linePtr field is valid for the insertion phase. [Bug 1602537] FossilOrigin-Name: 44205e71b2aa75beb41ed9c1d1ba65752eda3bd5
* * generic/tkIntDecls.h: regen with new genStubs.tcl.das2007-12-105-261/+283
| | | | | | | | | * generic/tkIntPlatDecls.h: [Tcl Bug 1834288] * generic/tkIntXlibDecls.h: * generic/tkPlatDecls.h: * generic/tkStubInit.c: FossilOrigin-Name: e16ea9f7eb74fd810d3a479d835244622e0e3875
* * generic/tk.decls: use new genstubs 'export' command todas2007-12-102-645/+426
| | | | | | | * generic/tkInt.decls: mark exported symbols not in stubs table [FR 1716117]; cleanup formatting. FossilOrigin-Name: 3f6501a25f6999ecbde36837dbcfcb08bdf68a7c
* Improved macrology for statically-initialized layout template tables.jenglish2007-12-027-75/+90
| | | FossilOrigin-Name: 1876a988e448354a9dbe45918ece9fd7aeda3246
* Internal Ttk_Manager API updates (missed from 2007-11-25 commit)jenglish2007-12-022-19/+24
| | | FossilOrigin-Name: 9da56fbd6d5018346c42919390516567710ba9cc
* * generic/tkImgPPM.c (StringReadPPM): Corrected a comparisonkennykb2007-11-261-2/+2
| | | | | | | | | whose sense was reversed that resulted in reading beyond the end of the input buffer on malformed PPM data. [Bug #1822391] * tests/imgPPM.test (imgPPM-4.1): Added test case that exercises [Bug #1822391]. FossilOrigin-Name: c855e45639ae698af47159bcc6ae8ceccf5a0b8e
* Internal Ttk_Manager API updates; Fixed [Bug 1343984];jenglish2007-11-255-65/+116
| | | | | | | | Added [$nb hide] method; [$nb add] on already-managed windows no longer throws an error, can be used to re-add a hidden tab. Updated docs and test suite. FossilOrigin-Name: f37e8950c8ae5dac012cfdb5bf2a9db2df884ea8
* Fixed crash bug in style element createpatthoyts2007-11-191-2/+2
| | | FossilOrigin-Name: fa3581e10250161243924ffa49bd09d6be2f69d6
* * README: Bump version number to 8.5b3.dgp2007-11-191-3/+3
| | | | | | | | | | | | | * generic/tk.h: * library/tk.tcl: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure: FossilOrigin-Name: e279b98efe87b710594ced8f11cf9c0b498cd9ff
* * generic/ttk/ttkElements.c, macosx/ttkMacOSXTheme.c:jenglish2007-11-193-158/+85
| | | | | | | | | | | | | | Add "fill" element: like "background" but only erases parcel. * generic/ttk/ttkFrame.c: Use fill element in Labelframe Label sublayout. Also improved default labelmargins for -labelanchor w*, e*. * generic/ttk/ttkLabel.c: no longer need Labelframe hack. * library/ttk/aquaTheme.tcl: ImageTextElement no longer needed. TextElement no longer needs '-background' option. FossilOrigin-Name: 6b45bb0535c40ab20ce7b9593124dadf95fd21f5
* * generic/ttk/ttkFrame.c: Use sublayout for ttk::labelframe labelsjenglish2007-11-182-38/+61
| | | | | | | | | | instead of single element. * generic/ttk/ttkLabel.c: Default -anchor for text and label elements is now "w" instead of "center". Fixes [Bug 1614540]. * library/ttk/defaults.tcl, library/ttk/*Theme.tcl: Button styles now need explicit "-anchor center". FossilOrigin-Name: c9d33ad05152a83ec440259c0638f37cf352e853
* BUGFIX: Ttk_GetPaddingFromObj() and Ttk_GetBorderFromObj() returned garbagejenglish2007-11-181-1/+2
| | | | | | when passed an empty list. FossilOrigin-Name: cddf8ccb6cc06258df042d70602b162674e7217f
* Tidy up some variable types.patthoyts2007-11-1710-25/+29
| | | FossilOrigin-Name: dd028db17b62cc6010a55648c13919b524417c04
* Only check for -displayof if there are sufficient arguments. This permits ↵patthoyts2007-11-171-5/+7
| | | | | checking strings like -d. FossilOrigin-Name: 9ba3de8465bbd2286a018fca82ed91f473f4944e
* Ttk_ElementSize: Fixed longstanding, subtle bug that caused element paddingjenglish2007-11-086-37/+54
| | | | | | | | to sometimes be counted twice in size computations. Fix ElementSizeProcs affected by previous change. FossilOrigin-Name: d561a619388a1b186c637eea112ad2bde3425827
* + Use null "treearea" element for treeview owner-draw areajenglish2007-11-042-5/+6
| | | | | | | | | instead of "client", to avoid nameclash with Notebook.client element. This was causing sizing anomalies in XP theme, and introduced extraneous padding. + "alt" theme Treeitem.indicator element needs left margin now. FossilOrigin-Name: 3dd197af4c545ad8d19f586f803881f883eda358
* Improve Tk_PhotoPutBlock a bit more. Derived from [Patch 224066]dkf2007-10-311-25/+53
| | | FossilOrigin-Name: 33757ab01bed71dce23affee3ee048fd63463cf1
* Use -fp:strict with msvc8 as -fp:precise fails on amd64 builds. Fixpatthoyts2007-10-312-6/+10
| | | | | | | the two places in Tk that generate errors with msvc8 when using this flag. FossilOrigin-Name: 3304fda806bdf09c71b80c5338ec6ffde3080ab5
* * generic/tk.h: Bump version number to 8.5b2.1 to distinguishdgp2007-10-301-2/+2
| | | | | | | | | | | | * library/tk.tcl: CVS development snapshots from the 8.5b2 * unix/configure.in: release. * unix/tk.spec: * win/configure.in: * unix/configure: autoconf (2.59) * win/configure: FossilOrigin-Name: 6882cbb7aaf44747d3031522828643d307ebdddd
* Rename enumermation for somewhat simpler-to-read code. [Bug 1677613]dkf2007-10-301-3/+3
| | | FossilOrigin-Name: d8817c8b6726acbc178f28a57aea4c4f635ae719
* * generic/ttk/ttkWidget.c: Split up RedisplayWidget()jenglish2007-10-301-63/+56
| | | | | | | | | | | | | | | to factor out double-buffering related code. * macosx/ttkMacOSXAquaTheme.c: Use SetThemeBackGround/ kThemeBrushModelessDialogBackground{Active|Inactive} instead of ApplyThemeBackground/kThemeBackgroundWindowHeader (advice from DAS). * library/ttk/aquaTheme.tcl: Use darker shade for inactive and disabled text, to match typical values of most kThemeXXXTextColorInactive values. FossilOrigin-Name: 389670a8faeee2533174cebfb106f6fdf465d536
* * README: Bump version number to 8.5b2.dgp2007-10-261-3/+3
| | | | | | | | | | | | | * generic/tk.h: * library/tk.tcl: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure: FossilOrigin-Name: 3c194ab8b403258351db8fe7933ee2f81b5aa615
* ttk::notebook: reworked [$nb insert] logic (fixes multiple bugs; see #1817596)jenglish2007-10-251-32/+34
| | | FossilOrigin-Name: 12a800daa1ab921297f0bcceb293bbc9313ff3d5
* * generic/tkPlace.c: Prevent segfault in place geometry manager.dgp2007-10-251-4/+42
| | | | | | Thanks to Colin McDonald. [Bug 1818491] FossilOrigin-Name: d7e8968bd21b3e7a28ea4f35e7eaa591d27185eb
* Move widget layout registration from TtkElements_Init()jenglish2007-10-2512-271/+230
| | | | | | | to widget *_Init() routines. Renaming/consistency: s/...ElementGeometry()/...ElementSize()/ FossilOrigin-Name: 05eaff8c5983b921fdf93a2f1415a3fff3453cbb
* permit wm manage of any widget (esp: ttk::frame)patthoyts2007-10-241-2/+2
| | | FossilOrigin-Name: 975ab43a97cccf3c719b82e95690991f934bba0b
* * library/ttk/combobox.tcl: ttk::combobox overhaul;jenglish2007-10-221-5/+4
| | | | | | | | | | fixes [#1814778, #1780286, #1609168, #1349586] * library/ttk/aquaTheme.tcl: Factored out aqua-specific combobox -postposition adjustments. * generic/ttk/ttkTrack.c: Detect [grab]s and unpress pressed element; combobox workaround no longer needed. FossilOrigin-Name: a69eecbfd75ce2846f24ea14b21342a866ae5a7d
* * generic/tkFont.c (Tk{Create,Delete}NamedFont): allow NULL interp.das2007-10-211-8/+11
| | | FossilOrigin-Name: 4290f766f5f96df75a76635f216176b8357be42a
* * generic/tkFocus.c, generic/tkFrame.c, generic/tkInt.h:hobbs2007-10-153-5/+163
| | | | | | | | | | * macosx/tkMacOSXButton.c, macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXWm.c, unix/tkUnixWm.c, win/tkWinWm.c: * doc/wm.n, tests/wm.test: TIP #125 implementation [Bug 998125] Adds [wm manage|forget] for dockable frames. Finished X11 and Windows code, needs OS X completion. FossilOrigin-Name: 64f2c3cc7b49703bd34d9a17d043dc7c4d4ce995
* generic/ttk/ttkTreeview.c: Store pointer to column table entryjenglish2007-10-152-73/+39
| | | | | | | | | instead of column index in columnNames hash table. This avoids the need for the evil PTR2INT and INT2PTR macros, and simplifies things a bit. FossilOrigin-Name: ef1e19618baabc504f69cc33f565c6117d8645bd
* * generic/tkArgv.c: Fix gcc warnings about 'cast to/fromdas2007-10-1512-58/+107
| | | | | | | | | | | | | | | | | | | | | * generic/tkCanvUtil.c: pointer from/to integer of different * generic/tkCanvas.c: size' on 64-bit platforms by casting * generic/tkCursor.c: to intermediate types * generic/tkInt.h: intptr_t/uintptr_t via new PTR2INT(), * generic/tkListbox.c: INT2PTR(), PTR2UINT() and UINT2PTR() * generic/tkObj.c: macros. * generic/tkStyle.c: * generic/tkTextIndex.c: * generic/tkUtil.c: * generic/ttk/ttkTheme.h: * generic/ttk/ttkTreeview.c: * unix/tkUnixMenu.c: * unix/configure.in: * unix/configure: autoconf-2.59 * unix/tkConfig.h.in: autoheader-2.59 FossilOrigin-Name: a5a2868bd786806ab6e48d4de625258a70129d94
* * generic/tkTextDisp.c (CharUndisplayProc): fix textDisp.test crash.das2007-10-121-21/+23
| | | FossilOrigin-Name: 7a48c5caab12df775da5f95d688e1977711f0db4
* Make Ttk_GetImage safe if called with NULL interp. Added some testspatthoyts2007-10-091-2/+4
| | | | | | that crash on Windows without this fix. FossilOrigin-Name: fb96f8c88ef2cf1d01b5d1b3a39ac4242efa1bf9
* * generic/tk.h: Bump version number to 8.5b1.1 to distinguishdgp2007-10-021-2/+2
| | | | | | | | | | | | * library/tk.tcl: CVS development snapshots from the 8.5b1 * unix/configure.in: release. Updated LOCALES. * unix/tk.spec: * win/configure.in: * unix/configure: autoconf (2.59) * win/configure: FossilOrigin-Name: 75ae2ea83c2429737ea254e2441be646b56db3b4
* Only call callbacks that are not NULL. [Bug 1791052]dkf2007-09-201-3/+8
| | | FossilOrigin-Name: d67cb76fb6dd789b52001cf7752f3938f24a3ecf
* fix 'make checkstubs' complaint about Tk_PkgInitStubsCheckdas2007-09-201-1/+3
| | | FossilOrigin-Name: 7f239cb5ee1e6f7afbd0269287ac412b0354195e
* * README: Bump version number to 8.5b1.dgp2007-09-191-4/+4
| | | | | | | | | | * generic/tk.h: Merge from core-stabilizer-branch. * library/tk.tcl: Stabilizing toward 8.5b1 release now done * unix/configure.in: on the HEAD. core-stabilizer-branch is * unix/tk.spec: now suspended. * win/configure.in: FossilOrigin-Name: d2539be7e0f05658c9b17b88d51bc886ef039786
* Replace isdigit call with an internal implementation to avoid libc linkage ↵patthoyts2007-09-191-2/+11
| | | | | on windows FossilOrigin-Name: f8ff31e6d1a9d6e709fab64205adada8bb117d2d
* * generic/tkStubLib.c: Remove C library calls from Tk_InitStubs()dgp2007-09-181-2/+8
| | | | | | | * win/makefile.vc: so that we don't need the C library linked in to libtkStub. FossilOrigin-Name: 1e706b7a6876565ae1691762d2f579c2299a2345
* fix warningsdas2007-09-181-3/+3
| | | FossilOrigin-Name: 714a48504342076a053f85df1dd4c86d8c5938d2
* Yet another step in the tidying up of the GIF code.dkf2007-09-181-138/+169
| | | FossilOrigin-Name: 8d114a1ee37e8173c54980ae823c1b83d8a7ad67
* * generic/tkConsole.c: Revised callers of Tcl_InitStubs() to accountdgp2007-09-175-11/+75
| | | | | | | | | | | | | | * generic/tkMain.c: for restored compatible support for the call * generic/tkWindow.c: Tcl_InitStubs(interp, TCL_VERSION, 1). Also revised Tcl_PkgRequire() call for Tcl so that, for example, a Tk library built against Tcl 8.5.1 headers will not refuse to [load] into a Tcl 8.5.0 interpreter. [Tcl Bug 1578344]. * generic/tk.h: Revised Tk_InitStubs() to restore Tk 8.4 * generic/tkStubLib.c: source compatibility with callers of * generic/tkWindow.c: Tk_InitStubs(interp, TK_VERSION, 1). FossilOrigin-Name: f9329db97048998b94a7d240b96f069ee4a29144
* Missed one PkgRequire Tcl revisiondgp2007-09-111-2/+2
| | | FossilOrigin-Name: 05962b126b8854b260c9916e31a1f4dec45b6160
* * generic/tkImgGIF.c: Fixed a buffer overrun that got triggered byrmax2007-09-111-2/+2
| | | | | | | | | multi-frame interlaced GIFs that contain subsequent frames that are smaller than the first one. * tests/imgPhoto.test: Added a test for the above. FossilOrigin-Name: 865f831b965f75ae2d7730227cc01da78e4bf5d9
* * generic/tkConsole.c: Revised calls to Tcl_InitStubs() anddgp2007-09-113-6/+6
| | | | | | | | | | | * generic/tkMain.c: [package require Tcl] so that Tk Says What * generic/tkWindow.c: It Means using the new facilties of [package] * library/tk.tcl: in Tcl 8.5 about what version(s) of Tcl it * unix/Makefile.in: is willing to work with. [Bug 1578344]. * win/Makefile.in: * win/makefile.vc: FossilOrigin-Name: 010ab6d6a465c23f11326eef0b83e3f1c06f8354
* * generic/tkConsole.c: Revise all Tcl_InitStubs() calls to restoredgp2007-09-103-6/+6
| | | | | | | | | * generic/tkMain.c: the traditional practice that a Tk shared * generic/tkWindow.c: library may [load] into a Tcl 8.5 interp at any patchlevel. This practice also matches the compile time checks of TCL_MAJOR_VERSION and TCL_MINOR_VERSION in tk.h. [Bug 1723622] FossilOrigin-Name: a906ff915174d5038962baa5a44599ccc74193d8
* Assorted minor cleanups.dkf2007-09-085-92/+125
| | | FossilOrigin-Name: 0f99ca37c21ca0c804eca626d4d63714d8f1950a