Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch tip-560 Excluding Merge-Ins
This is equivalent to a diff from 2145f868 to 78e1d3cc
2022-09-20
| ||
17:12 | Fix [b07ecc2ebf]: Remove obsolete doc/tk4.0.ps check-in: acf63a5c user: fvogel tags: trunk, main | |
14:39 | Merge 8.7 check-in: f90b7c8e user: jan.nijtmans tags: tip-167 | |
14:35 | Merge trunk Leaf check-in: 78e1d3cc user: jan.nijtmans tags: tip-560 | |
14:34 | Merge 8.7 Leaf check-in: 06f3c805 user: jan.nijtmans tags: tip-556 | |
14:30 | typo Tk_SetWindowMenuBar -> Tk_SetWindowMenubar. (TIP #606 and documentation was correct) check-in: 2145f868 user: jan.nijtmans tags: trunk, main | |
13:06 | Rebase to latest trunk. Compile against Tcl's tip-558 branch check-in: c10dd93f user: jan.nijtmans tags: tip-560 | |
05:12 | Merge 8.6 check-in: f3a2b028 user: marc_culler tags: trunk, main | |
Changes to .github/workflows/linux-with-tcl8-build.yml.
︙ | |||
28 29 30 31 32 33 34 | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | - + | uses: actions/checkout@v3 with: path: tk - name: Checkout Tcl uses: actions/checkout@v3 with: repository: tcltk/tcl |
︙ | |||
131 132 133 134 135 136 137 | 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 | - + | uses: actions/checkout@v3 with: path: tk - name: Checkout Tcl uses: actions/checkout@v3 with: repository: tcltk/tcl |
︙ |
Changes to .github/workflows/onefiledist.yml.
︙ | |||
17 18 19 20 21 22 23 | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | - + | uses: actions/checkout@v3 with: path: tk - name: Checkout Tcl 8.7 uses: actions/checkout@v3 with: repository: tcltk/tcl |
︙ | |||
81 82 83 84 85 86 87 | 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | - + | uses: actions/checkout@v3 with: path: tk - name: Checkout Tcl 8.7 uses: actions/checkout@v3 with: repository: tcltk/tcl |
︙ | |||
169 170 171 172 173 174 175 | 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 | - + | uses: actions/checkout@v3 with: path: tk - name: Checkout Tcl 8.7 uses: actions/checkout@v3 with: repository: tcltk/tcl |
︙ |
Changes to .github/workflows/win-build.yml.
︙ | |||
17 18 19 20 21 22 23 | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | - + | uses: actions/checkout@v3 with: path: tk - name: Checkout uses: actions/checkout@v3 with: repository: tcltk/tcl |
︙ |
Changes to doc/option.n.
︙ | |||
11 12 13 14 15 16 17 | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | - + | '\" Note: do not modify the .SH NAME line immediately below! .SH NAME option \- Add/retrieve window options to/from the option database .SH SYNOPSIS .nf \fBoption add \fIpattern value \fR?\fIpriority\fR? \fBoption clear\fR |
︙ | |||
46 47 48 49 50 51 52 | 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | - + + + + + | specified for \fIwindow\fR under \fIname\fR and \fIclass\fR. If several entries in the option database match \fIwindow\fR, \fIname\fR, and \fIclass\fR, then the command returns whichever was created with highest \fIpriority\fR level. If there are several matching entries at the same priority level, then it returns whichever entry was most recently entered into the option database. If there are |
︙ |
Changes to generic/tkCursor.c.
︙ | |||
814 815 816 817 818 819 820 821 822 823 824 825 826 827 | 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 | + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | * Here is the real code: */ Tcl_InitHashTable(&dispPtr->cursorIdTable, TCL_ONE_WORD_KEYS); dispPtr->cursorInit = 1; } /* *---------------------------------------------------------------------- * * TkParseCursorObjCmd -- * * Implements [tk::ParseCursor]. Parses a cursor and returns either the * empty string if the cursor (named in the first argument) is valid, or * an error if the cursor is not actually a cursor. The cursor is not * actually stored anywhere afterwards. * * Results: * A Tcl result code. * * Side effects: * Sets the interpreter result and error code on error. * *---------------------------------------------------------------------- */ int TkParseCursorObjCmd( ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) { Tk_Window tkwin = clientData; Tk_Cursor cursor; Tcl_Obj *cursorObj; if (objc != 2) { Tcl_WrongNumArgs(interp, 1, objv, "cursor"); return TCL_ERROR; } cursorObj = objv[1]; /* * Type poke so that we don't need to do memory management if something * else has done it for us. In theory this could be a problem if the main * display couldn't have the cursor that this object describes... but that * never actually happens. */ if (cursorObj->typePtr == &tkCursorObjType) { return TCL_OK; } /* * Not already a cursor. Engage the parser (and clean up destructively * afterwards). */ cursor = Tk_AllocCursorFromObj(interp, tkwin, cursorObj); if (!cursor) { return TCL_ERROR; } Tk_FreeCursorFromObj(tkwin, cursorObj); return TCL_OK; } /* *---------------------------------------------------------------------- * * TkDebugCursor -- * * This function returns debugging information about a cursor. |
︙ |
Changes to generic/tkInt.h.
︙ | |||
190 191 192 193 194 195 196 | 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 | - + | * Tk_AllocPreserveFromObj or Tk_Preserve). If * this count is 0, then this structure is no * longer valid and it isn't present in a hash * table: it is being kept around only because * there are objects referring to it. The * structure is freed when resourceRefCount * and objRefCount are both 0. */ |
︙ | |||
1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 | 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 | + - + | /* * Unsupported commands. */ MODULE_SCOPE int TkUnsupported1ObjCmd(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]); MODULE_SCOPE Tcl_ObjCmdProc TkParseCursorObjCmd; /* * For Tktest. */ |
︙ |
Changes to generic/tkOption.c.
︙ | |||
675 676 677 678 679 680 681 | 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 | - - + + + + | break; } case OPTION_GET: { Tk_Window window; Tk_Uid value; |
︙ |
Changes to generic/tkWindow.c.
︙ | |||
190 191 192 193 194 195 196 197 198 199 200 201 202 203 | 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 | + | {"tk_messageBox", Tk_MessageBoxObjCmd, PASSMAINWINDOW}, #endif /* * Misc. */ {"::tk::ParseCursor", TkParseCursorObjCmd, PASSMAINWINDOW|ISSAFE}, #ifdef MAC_OSX_TK {"::tk::unsupported::MacWindowStyle", TkUnsupported1ObjCmd, PASSMAINWINDOW|ISSAFE}, #endif {NULL, NULL, 0} }; |
︙ |
Added library/oocfg.tcl.