Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Merge 9.0 |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk | main |
Files: | files | file ages | folders |
SHA3-256: |
5ec1eb99f3c58fd95c47b15f66d9e6d0 |
User & Date: | jan.nijtmans 2025-06-26 09:14:58.588 |
Context
2025-06-26
| ||
12:39 | Use (char *)NULL sentinels Leaf check-in: 9e69dcb1 user: jan.nijtmans tags: trunk, main | |
09:14 | Merge 9.0 check-in: 5ec1eb99 user: jan.nijtmans tags: trunk, main | |
09:04 | Add testutils.GUIDE to "make dist" Leaf check-in: e5c6bf79 user: jan.nijtmans tags: core-9-0-branch | |
2025-06-10
| ||
19:16 | Merge-mark check-in: 32baf3bb user: jan.nijtmans tags: trunk, main | |
Changes
Changes to doc/SetOptions.3.
︙ | ︙ | |||
542 543 544 545 546 547 548 | typedef int \fBTk_CustomOptionSetProc\fR( void *\fIclientData\fR, Tcl_Interp *\fIinterp\fR, Tk_Window \fItkwin\fR, Tcl_Obj **\fIvaluePtr\fR, char *\fIrecordPtr\fR, | | | | 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 | typedef int \fBTk_CustomOptionSetProc\fR( void *\fIclientData\fR, Tcl_Interp *\fIinterp\fR, Tk_Window \fItkwin\fR, Tcl_Obj **\fIvaluePtr\fR, char *\fIrecordPtr\fR, Tcl_Size \fIinternalOffset\fR, char *\fIsaveInternalPtr\fR, int \fIflags\fR); typedef Tcl_Obj *\fBTk_CustomOptionGetProc\fR( void *\fIclientData\fR, Tk_Window \fItkwin\fR, char *\fIrecordPtr\fR, Tcl_Size \fIinternalOffset\fR); typedef void \fBTk_CustomOptionRestoreProc\fR( void *\fIclientData\fR, Tk_Window \fItkwin\fR, char *\fIinternalPtr\fR, char *\fIsaveInternalPtr\fR); |
︙ | ︙ |
Changes to generic/tkClipboard.c.
︙ | ︙ | |||
543 544 545 546 547 548 549 | if (tkwin == NULL) { return TCL_ERROR; } result = Tk_ClipboardClear(interp, tkwin); if (result == TCL_OK) { TkSelUpdateClipboard((TkWindow *) tkwin, CLIPBOARD_CLEAR); } | | | 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 | if (tkwin == NULL) { return TCL_ERROR; } result = Tk_ClipboardClear(interp, tkwin); if (result == TCL_OK) { TkSelUpdateClipboard((TkWindow *) tkwin, CLIPBOARD_CLEAR); } return result; } case CLIPBOARD_GET: { Atom target; const char *targetName = NULL; Tcl_DString selBytes; const char *string; static const char *const getOptionStrings[] = { |
︙ | ︙ |
Changes to generic/tkTextDisp.c.
︙ | ︙ | |||
7436 7437 7438 7439 7440 7441 7442 | *xPtr = *xPtr + dInfoPtr->x - dInfoPtr->curXPixelOffset; if ((byteCount == chunkPtr->numBytes-1) && (chunkPtr->nextPtr == NULL)) { /* * Last character in display line. Give it all the space up to the * line. */ | | | | | | 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 | *xPtr = *xPtr + dInfoPtr->x - dInfoPtr->curXPixelOffset; if ((byteCount == chunkPtr->numBytes-1) && (chunkPtr->nextPtr == NULL)) { /* * Last character in display line. Give it all the space up to the * line. */ *charWidthPtr = dInfoPtr->maxX - *xPtr; if (*charWidthPtr > textPtr->charWidth) { *charWidthPtr = textPtr->charWidth; } if (*xPtr > dInfoPtr->maxX) { *xPtr = dInfoPtr->maxX; } *widthPtr = dInfoPtr->maxX - *xPtr; } else { *charWidthPtr = *widthPtr; } |
︙ | ︙ |
Changes to macosx/tkMacOSXClipboard.c.
︙ | ︙ | |||
18 19 20 21 22 23 24 | static NSInteger changeCount = -1; static Tk_Window tkClipboardOwner = NULL; #pragma mark TKApplication(TKClipboard) @implementation TKApplication(TKClipboard) - (void) tkProvidePasteboard: (TkDisplay *) dispPtr | | | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | static NSInteger changeCount = -1; static Tk_Window tkClipboardOwner = NULL; #pragma mark TKApplication(TKClipboard) @implementation TKApplication(TKClipboard) - (void) tkProvidePasteboard: (TkDisplay *) dispPtr pasteboard: (NSPasteboard *) sender provideDataForType: (NSString *) type { NSMutableString *string = [NSMutableString new]; if (dispPtr && dispPtr->clipboardActive && [type isEqualToString:NSStringPboardType]) { for (TkClipboardTarget *targetPtr = dispPtr->clipTargetPtr; targetPtr; targetPtr = targetPtr->nextPtr) { |
︙ | ︙ | |||
255 256 257 258 259 260 261 | NSPasteboard *pb = [NSPasteboard generalPasteboard]; switch (option) { case CLIPBOARD_APPEND: /* * This increments the changeCount so that clipboard managers will be * able to see and manage the clip. */ | | | 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 | NSPasteboard *pb = [NSPasteboard generalPasteboard]; switch (option) { case CLIPBOARD_APPEND: /* * This increments the changeCount so that clipboard managers will be * able to see and manage the clip. */ changeCount = [pb declareTypes:[NSArray arrayWithObject:NSStringPboardType] owner:nil]; [NSApp tkProvidePasteboard: TkGetDisplayList() pasteboard: (NSPasteboard *) pb provideDataForType: (NSString *) NSStringPboardType]; break; case CLIPBOARD_CLEAR: |
︙ | ︙ |
Changes to tests/testutils.tcl.
︙ | ︙ | |||
358 359 360 361 362 363 364 | $name eval [list set argv $cmdArgs] catch {eval [loadTkCommand] $name} } # childTkProcess -- # | | | 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 | $name eval [list set argv $cmdArgs] catch {eval [loadTkCommand] $name} } # childTkProcess -- # # Create a new Tk application in a child process, and enable it to # evaluate scripts on our behalf. # # Suggestion: replace with child interp or thread ? # proc childTkProcess {subcmd args} { variable fd switch -- $subcmd { |
︙ | ︙ |
Changes to unix/Makefile.in.
︙ | ︙ | |||
1774 1775 1776 1777 1778 1779 1780 | $(DIST_INSTALL_DATA) $$i $(DISTDIR)/$$i; \ fi; \ done;) $(INSTALL_DATA_DIR) $(DISTDIR)/doc $(DIST_INSTALL_DATA) $(TOP_DIR)/license.terms $(TOP_DIR)/doc/*.[13n] \ $(TOP_DIR)/doc/man.macros $(DISTDIR)/doc $(INSTALL_DATA_DIR) $(DISTDIR)/tests | | | | 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 | $(DIST_INSTALL_DATA) $$i $(DISTDIR)/$$i; \ fi; \ done;) $(INSTALL_DATA_DIR) $(DISTDIR)/doc $(DIST_INSTALL_DATA) $(TOP_DIR)/license.terms $(TOP_DIR)/doc/*.[13n] \ $(TOP_DIR)/doc/man.macros $(DISTDIR)/doc $(INSTALL_DATA_DIR) $(DISTDIR)/tests $(DIST_INSTALL_DATA) $(TOP_DIR)/license.terms $(TEST_DIR)/testutils.GUIDE \ $(TEST_DIR)/README $(TEST_DIR)/*.{test,tcl,gif,png,ppm,xbm} \ $(TEST_DIR)/option.file* $(DISTDIR)/tests $(INSTALL_DATA_DIR) $(DISTDIR)/tests/ttk $(DIST_INSTALL_DATA) $(TEST_DIR)/ttk/*.{svg,test,tcl} $(DISTDIR)/tests/ttk mkdir -p $(DISTDIR)/.github/workflows cp -p $(TOP_DIR)/.github/workflows/*.yml $(DISTDIR)/.github/workflows alldist: dist |
︙ | ︙ |
Changes to win/tkWinWm.c.
︙ | ︙ | |||
553 554 555 556 557 558 559 | lpIcon->dwNumBytes, isIcon, 0x00030000, 0, 0, 0); /* * It failed, the non-Ex way might work as a fallback. */ if (hIcon == NULL) { | | | 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 | lpIcon->dwNumBytes, isIcon, 0x00030000, 0, 0, 0); /* * It failed, the non-Ex way might work as a fallback. */ if (hIcon == NULL) { hIcon = CreateIconFromResource(lpIcon->lpBits, lpIcon->dwNumBytes, isIcon, 0x00030000); } return hIcon; } /* *---------------------------------------------------------------------- |
︙ | ︙ |