summaryrefslogtreecommitdiffstats
path: root/tests/grid.test
Commit message (Collapse)AuthorAgeFilesLines
* Added test grid-23 (currently failing) showing bug [6aea69fccb] - grid ↵fvogel2016-10-301-0/+19
| | | | | configure -in problem FossilOrigin-Name: 68c39776ef7e55fc3f3d6fa6f30d155de4b0f629
* more auditing of error codesdkf2012-07-301-5/+5
| | | FossilOrigin-Name: aae315a30f0b4367d59525a21dfb5139c4440a36
* Purged Tcl_AppendElement from all non-test code.dkf2012-07-291-391/+220
| | | FossilOrigin-Name: f285bf493f65f325822ef97fec75af76204f7704
* Much more cleaning up of result handling.dkf2012-07-231-19/+19
| | | FossilOrigin-Name: 016ad9dac31d39cbc9ded6a6e8e75c11618318a8
* Purge RCS Keywordsdgp2011-06-081-2/+0
|\ | | | | FossilOrigin-Name: b8a1385217cc117d6962c234f0a4d28ff10e089c
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ | | | | | | FossilOrigin-Name: 3f95fbe0ce14948fd409844b915c18ef25d7d0a0
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | | | | | | | | FossilOrigin-Name: a74f32bb6369d3e66e661145c81a98a14ed79b3a
| | * Correction to 1432666 fix.pspjuth2006-04-121-1/+4
| | | | | | | | | FossilOrigin-Name: 4b53d3060c75dc7cbadcb5620162426be8f2b73d
| | * * generic/tkGrid.c: Fixed handling of out of bounds row or column.dgp2006-04-121-1/+52
| | | | | | | | | | | | | | | | | | * tests/grid.test: [Bug 1432666] FossilOrigin-Name: 3e3d4dfb08c1ed417bbf549b750a66c36c2b8f33
| | * * tests/grid.test: fix segfault on empty index listhobbs2006-04-051-1/+24
| | | | | | | | | | | | | | | | | | * generic/tkGrid.c (GridRowColumnConfigureCommand): [Bug 1422430] FossilOrigin-Name: 02f3657948f46623dbb71d54f9972d1a83782878
| | * Fixed a bug in grid geometry calculations forpspjuth2004-02-181-2/+26
| | | | | | | | | | | | | | | | | | a shrinking grid. [Bug 899246] FossilOrigin-Name: 89e1956c6d85331b5d929dab83905a1155d1643a
* | | [Bug 723765]: When a slave was removed from grid,pspjuth2011-04-041-0/+60
|\ \ \ | |/ / | | | | | | | | | the -in option was not remembered. FossilOrigin-Name: f3efdba8d6ea8ed8a181619ae249255db542868a
| * | [Bug 723765]: When a slave was removed from grid,pspjuth2011-04-041-0/+60
| | | | | | | | | | | | | | | the -in option was not remembered. FossilOrigin-Name: 403a6f202c6ef01c80cce0e1d19571f9835a75c3
* | | Give an error if grid and pack are used in the same master. [Patch 2475855]pspjuth2009-08-191-2/+2
| | | | | | | | | FossilOrigin-Name: b4791724570e09eac4ca86c49be39bc2b5783bc0
* | | Added a "knownBug"-marked test to show a problempspjuth2008-08-271-17/+37
| | | | | | | | | | | | | | | | | | identified in the grid implementation. FossilOrigin-Name: 891739098d1d696c747ca97b3fa27fa7cd89d959
* | | Update to tcltest2aniap2008-08-161-681/+825
| | | | | | | | | FossilOrigin-Name: 98ddf864fb77fc2e204dec46b2777d18bab607fa
* | | fix [2021443] inconsistant "wrong # args" messages (for Tk)nijtmans2008-07-231-4/+4
|/ / | | | | FossilOrigin-Name: def570d7bdd7211b4c17c706781050222d16890f
* | *Correct* fix for #1676770:jenglish2007-03-091-1/+3
| | | | | | | | | | | | reset wm geometry . and pack propagate . at end of test. FossilOrigin-Name: e98d07612746d65c50ce38fc96c363c56dca6713
* | test grid-21.7: Remove 'pack propagate . 0' call,jenglish2007-03-081-2/+1
| | | | | | | | | | | | which was causing cascading failures in subsequent tests [Bug 1676770]. FossilOrigin-Name: a710077be243705a0b67d6e89d77fe83e0728df5
* | Fixed grid anchor center problem in labelframes. [Bug 1545765]pspjuth2007-02-251-1/+30
| | | | | | FossilOrigin-Name: 751503f41e14f552eee94e8731888a1addaf1481
* | * generic/tkWindow.c (Tk_NameToWindow): Allow NULL interp topspjuth2006-04-111-1/+71
| | | | | | | | | | | | | | | | | | | | Tk_NameToWindow. This fixes TkGetWindowFromObj which promises to handle NULL but didn't. * generic/tkGrid.c: Fixed handling of out of bounds row or column. * tests/grid.test: [Bug 1432666] FossilOrigin-Name: c8de6c347ea84ee61613417bff1755e253cdc904
* | * tests/grid.test: fix segfault on empty or "all" index listhobbs2006-04-051-1/+31
| | | | | | | | | | | | * generic/tkGrid.c (GridRowColumnConfigureCommand): [Bug 1422430] FossilOrigin-Name: ced1f6ca622b5c644b34a478a014e2f1c65ac4b9
* | Fixed bug in geometry calculations forpspjuth2005-04-031-1/+27
| | | | | | | | | | | | | | widgets that span multiple columns/row. Bug was introduced in 8.5a1 when fixing 792387. [Bug 1175092] FossilOrigin-Name: 40c1accfb3f8c53ee4b2128b3b26cce78cdbbde6
* | Made handling of ^ a bit more consistent inpspjuth2004-11-071-2/+37
| | | | | | | | | | | | | | corner cases. This makes ^ work without any widgets in the same command. [Bug 962589] FossilOrigin-Name: 8a1c41a4d81b4a456b719d22ceb023d0ac01ac6c
* | Fixed a bug in grid geometry calculations forpspjuth2004-02-181-2/+25
| | | | | | | | | | | | a shrinking grid. [Bug 899246] FossilOrigin-Name: 5b7a6b073dd2a91a5437fbd4c10c6dc69be25923
* | Implementation of TIP#146,pspjuth2004-01-091-2/+49
| | | | | | | | | | | | | | "Add Overall Anchoring to the Grid Geometry Manager", adding [grid anchor] subcommand. FossilOrigin-Name: 4f1b8110a375d069ffab8e0afc5f1a19c864c013
* | Fixed a small mistake in previous checkin.pspjuth2003-09-181-1/+7
| | | | | | FossilOrigin-Name: 72daa74f3ed65d55e16c28363d44b9b0e9e2c115
* | Implementation of TIP#147, "Make Grid's Column/Row Configure Easier".pspjuth2003-09-181-2/+59
| | | | | | FossilOrigin-Name: 29c05ff37e49aa6ea3179acabca248ba366d1f5d
* | Reworked a part of grid's geometry computationspspjuth2003-09-161-3/+109
| | | | | | | | | | | | to handle some tricky cases better. [Bug #792387] FossilOrigin-Name: 59c22534361e4939e907d682827a6e5585675ea2
* | * tests/all.tcl: Made better use of a commondgp2003-04-011-6/+3
| | | | | | | | | | | | | | * tests/constraints.tcl: -loadfile to hold definitions * tests/*.test: common to all test files. FossilOrigin-Name: 01af81ecf20f3111d08ac51117da1c5ca09c567d
* | * generic/tkGrid.c (GridStructureProc, ConfigureSlaves):mdejong2003-03-121-1/+9
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check for a NULL masterPtr and slavePtr in the GridStructureProc code to ensure that a Gridder created before some error condition is ignored when it comes to geometry calculations. This approach closely matches the pack implementation. Keep track of a -in argument to a grid command in order to detect the case of an already gridded widget that wants to change some options. The previous implementation could make repeated and unnecessary calls to Tk_ManageGeometry. Replace use of "parent" with "master" in comments throughout the file. * generic/tkPack.c (PackStructureProc): Check for a NULL masterPtr before other checks so that a slave created under certain error conditions is cleaned up properly. Replace use of "parent" with "master" in comments throughout the file. * generic/tkPlace.c (CreateSlave, ConfigureSlave, SlaveStructureProc): Don't call Tk_ManageGeometry in CreateSlave since this was causing incorrect results in some error cases. Rework the ConfigureSlave method so that slave setup is done in one place. The call to Tk_ManageGeometry was added to the one place where a slave is setup. When a slave is configured but the master is not changed, simply goto the scheduleLayout label. Check for a NULL master in SlaveStructureProc for the sake of readability. * tests/grid.test: * tests/pack.test: * tests/place.test: Add test to check that a winfo manager call does not return incorrect results after an error condition is hit. [Patch 693063] FossilOrigin-Name: f1dcb667ca369e764f5ceafaed19d2d2e8480982
* The grid size was not updated properlypspjuth2002-10-101-1/+21
| | | | | | when removing a widget from a grid. [Bug #621241] (forssen) FossilOrigin-Name: c22256a9f4b86817488348cd3edb9f6879867917
* * Converted more files to tcltest and factored out common code.dgp2002-07-131-5/+8
| | | FossilOrigin-Name: d09771c3b3deef776329be024a510a5b648381f6
* Added -uniform option to grid's row/columnconfigure.pspjuth2001-09-301-5/+104
| | | FossilOrigin-Name: d7a6c95b93a04287ed3b3f03fc6722df2ba5b8c9
* Added labelframe widget. TIP#18.pspjuth2001-09-261-1/+36
| | | FossilOrigin-Name: bc61e5ede90133d12d784a905cdf7b2ffb5aef5f
* Pack accepted asymmetric values for -ipadx/y.pspjuth2001-09-231-1/+13
| | | | | | Only -padx/y supports asymmetry. [Bug #462348] FossilOrigin-Name: 7c94d3431a51224f6c45f4ed1d6ddd0163362d04
* Fixed a bug where adjacent 'x' and '^' where not handled properly.pspjuth2001-08-221-1/+29
| | | FossilOrigin-Name: c00303aed74dfe1e60dd700009d3894a66941337
* Objectified grid and pack commands.pspjuth2001-08-211-22/+42
| | | FossilOrigin-Name: 85252bb27aaa1afc09c0f6996b5741a77f11fdf0
* Grid configure rejected initial "x" and "^". [Bug #418664]pspjuth2001-08-181-1/+17
| | | FossilOrigin-Name: 523026ee9302e75ee03c4f5563fef3deb6d18b0d
* Asymmetric padding in "pack" and "grid" geometry managersdrh2001-02-121-20/+50
| | | FossilOrigin-Name: 5f0215af7571f78512d49b470692b68865f4c686
* * tests/grid.test: Added test for [grid propagate . 0] to not toggle.ericm2000-04-171-2/+11
| | | FossilOrigin-Name: 9de73bce9d6984d9391032a3f1cad09d83ccfa7e
* * tests/grid.test: Added a test for the consecutive ^ and multipleericm2000-01-201-1/+17
| | | | | | | | | | | | | | widget case (bug #1386). * generic/tkGrid.c: Fixed interpretation of consecutive ^ characters in grid command. Previously, ^ ^ was interpreted as meaning that there must be a 2-column widget above to extend, neglecting the case where there was actually 2 1-column widgets above. Now, ^ ^ is interpreted as a possible width; the gridder will consume as many ^'s as there are columns in the widget, and leave the rest for the extension of other widgets. (bug #1386). FossilOrigin-Name: c360352e669e2b1a89b4ae382503c8712bcef853
* Removed bad option "-geometry" to toplevelwart1999-11-131-2/+2
| | | FossilOrigin-Name: dcfac06d2f4bc81bfd3165bcd535be191d3b753b
* Added "wm geometry" calls in some tests that were waiting for the user towart1999-11-121-2/+3
| | | | | | | place a window manually. The Tk test suite can now run on twm with no user intervention. FossilOrigin-Name: 8b087c35f7a2789eb1f253365aa0602397f5fc7e
* * Merged 8.1 branch into the main trunkstanton1999-04-161-24/+43
| | | FossilOrigin-Name: 1120dc4257448ed1955333e682de48e2940cc741
* * generic/tkGrid.c: Fixed bug in "grid forget" that failed to cancelscriptics-tclpro-1-2-b1stanton1999-01-061-19/+28
| | | | | | pending idle handlers, resulting in a crash in a few odd cases. FossilOrigin-Name: 065f580bc09c06aa780f311e4fdbbff497b1282b
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
| | | FossilOrigin-Name: fb58b663f313796e8ed3115f92d657f0cae1d575
* Initial revisionrjohnson1998-04-011-0/+1205
FossilOrigin-Name: 2bf55ca9aa942b581137b9f474da5ad9c1480de4