Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History for macosx/tkMacOSXDialog.c
2025-02-14
| ||
15:29 | Revert part of [269ce15793561e10]: Backport fix for [080a28104e] and add TK_NO_STDERR processing, but not the solution itself. Github testcases are already broken for 2 weaks, it appears focus-1.12 and focus-1.19 are negatively affected by this file: [5f61f505] check-in: [c4d8503c] user: jan.nijtmans branch: mistake, size: 59569 | |
2025-01-30
| ||
10:33 | Merge 9.0 file: [6b713d56] check-in: [19efdada] user: jan.nijtmans branch: tip-626, size: 60475 | |
2025-01-27
| ||
15:34 | Backport fix for [080a28104e] and add TK_NO_STDERR processing. file: [35b46f86] check-in: [269ce157] user: culler branch: core-8-6-branch, size: 60419 | |
2025-01-22
| ||
02:52 | Add a non-regression test, which turns out to require considerable extra machinery. file: [0b52f9ac] check-in: [e0405ba2] user: culler branch: bug-080a28104e, size: 60388 | |
2025-01-21
| ||
15:47 | Fix [080a28104e]: crash caused by nil UTType when user provides a bogus file type. file: [5660830e] check-in: [ce3d0b20] user: culler branch: bug-080a28104e, size: 59538 | |
2024-12-08
| ||
18:06 | Merge 9.0 file: [fab503fe] check-in: [b7cffc0c] user: jan.nijtmans branch: tip-626, size: 59602 | |
2024-12-05
| ||
07:52 | Remove somewhat more dead code, for macOS < 10.9 file: [3e0153f8] check-in: [d3290ccb] user: jan.nijtmans branch: core-8-branch, size: 59515 | |
2024-11-07
| ||
21:03 | Merge 9.0 file: [d5a56799] check-in: [2ae8dab6] user: jan.nijtmans branch: tip-626, size: 59601 | |
2024-11-05
| ||
12:36 | Revert some *.h changes which should be kept. Formatting. file: [889e36a8] check-in: [136931df] user: jan.nijtmans branch: cgimage_with_crossing, size: 59514 | |
2024-10-25
| ||
21:06 | Merge 9.0 file: [07462dde] check-in: [80c3d5e4] user: jan.nijtmans branch: tip-626, size: 59606 | |
2024-09-07
| ||
17:51 | Use Tk_AllocColorFromObj() in stead of Tk_GetColor() where possible: it's more efficient (see documentation) file: [f60ac4b8] check-in: [3105d36d] user: jan.nijtmans branch: core-8-6-branch, size: 59546 | |
2024-09-02
| ||
09:11 | Fix [0189a9ae39]: Use of Tk_Uid in Tk API file: [bdcb1354] check-in: [fc05409e] user: jan.nijtmans branch: core-8-branch, size: 59519 | |
2024-06-24
| ||
21:50 | Merge 9.0 file: [630a5d97] check-in: [140f00bb] user: jan.nijtmans branch: tip-626, size: 59591 | |
2024-05-09
| ||
21:40 | (c) -> © file: [63ccedca] check-in: [2d448437] user: jan.nijtmans branch: core-8-branch, size: 59504 | |
18:51 | Consistancy in the usage of "Copyright". On MacOS, always use the UTF-8 copyright-sign file: [59615e1d] check-in: [3945d793] user: jan.nijtmans branch: core-8-6-branch, size: 59531 | |
2024-03-25
| ||
21:15 | Merge 9.0 file: [acc1f862] check-in: [60b0b293] user: jan.nijtmans branch: tip-626, size: 59592 | |
2024-03-17
| ||
19:29 | Merge 8.6. Make some functions MODULE_SCOPE or static file: [5feefb1f] check-in: [bd62e6e7] user: jan.nijtmans branch: core-8-branch, size: 59505 | |
2024-03-07
| ||
08:13 | Merge 9.0 file: [12a6f25d] check-in: [3a1c6393] user: jan.nijtmans branch: tip-626, size: 59597 | |
2024-03-06
| ||
16:48 | Use more Tcl_CmdDeleteProc/Tcl_ObjCmdProc in stead of full function signatures file: [f001b3ef] check-in: [cdecd6ad] user: jan.nijtmans branch: core-8-branch, size: 59510 | |
2023-12-18
| ||
22:19 | Merge 9.0 file: [60079e59] check-in: [a41d9d3a] user: jan.nijtmans branch: tip-626, size: 59834 | |
13:27 | Even more TCL_UNUSED usage file: [fdd56d66] check-in: [172fb6dc] user: jan.nijtmans branch: core-8-branch, size: 59747 | |
2023-06-08
| ||
16:57 | Add more type-casts, code cleanup (all backported from 8.7) file: [749a838d] check-in: [0ba4a8f7] user: jan.nijtmans branch: core-8-6-branch, size: 59537 | |
2023-04-16
| ||
21:12 | Merge 8.7 file: [53b62797] check-in: [494435c0] user: jan.nijtmans branch: tip-626, size: 59826 | |
2023-04-15
| ||
23:26 | Handle larger string-lengths in MacOS, when compiling with Tcl 9 headers file: [61e29f19] check-in: [e6066cbe] user: jan.nijtmans branch: main, size: 59739 | |
2023-04-01
| ||
18:25 | Merge 8.7 file: [cde75071] check-in: [2a92fb6c] user: jan.nijtmans branch: tip-626, size: 59816 | |
2023-03-30
| ||
03:45 | Fix [ee0847f633]: Aqua: compiler warning in debug builds. And Fix [2ed289cae0]: Aqua: more format specifiers than arguments in tkToolbarButton file: [c2e0eadc] check-in: [42cbe254] user: fvogel branch: main, size: 59729 | |
2023-03-28
| ||
20:14 | Fix [ee0847f633]: Aqua: compiler warning in debug builds. file: [949a4e36] check-in: [4527c59b] user: fvogel branch: bug-ee0847f6330, size: 59411 | |
2023-03-04
| ||
21:52 | More serious elimination of -Wconversion C warnings file: [829af1d9] check-in: [f717a6ca] user: jan.nijtmans branch: main, size: 59716 | |
2022-11-14
| ||
21:52 | Tk changes for TIP #626 file: [c0378f40] check-in: [e1480b5b] user: jan.nijtmans branch: tip-626, size: 59480 | |
2022-11-03
| ||
22:55 | On MacOS, cdata is not unused! file: [2e89a4dd] check-in: [aa0a0256] user: jan.nijtmans branch: main, size: 59393 | |
12:58 | More usage for Tcl_Size (internal TkEnsemble) file: [db573e26] check-in: [7407584a] user: jan.nijtmans branch: main, size: 59380 | |
2022-10-30
| ||
19:40 | more int -> Tcl_Size (making use of the increased range in Tcl 9.0) file: [e113a0e8] check-in: [d1a47539] user: jan.nijtmans branch: main, size: 59420 | |
2022-09-23
| ||
09:39 | Merge 8.6 file: [605fad4f] check-in: [6e5f5ed0] user: jan.nijtmans branch: main, size: 59399 | |
09:33 | Minor code cleanup (more use of TCL_UNUSED, eol-spacing) file: [36c81b07] check-in: [e507a8ff] user: jan.nijtmans branch: core-8-6-branch, size: 59398 | |
2022-09-20
| ||
04:43 | Merge 8.6 file: [e3cf25fb] check-in: [b2e99e4c] user: marc_culler branch: main, size: 59400 | |
2022-09-15
| ||
15:04 | Attempt to fix the build for 10.14 and 10.15. file: [83395e1e] check-in: [e148bd6f] user: marc_culler branch: monterey_deprecations, size: 59399 | |
2022-09-14
| ||
15:14 | Deal with unavailability of @available. file: [c58e7725] check-in: [173e8c65] user: marc_culler branch: monterey_deprecations, size: 59439 | |
2022-09-13
| ||
21:35 | cleanup file: [a9ab8b8f] check-in: [782e31c5] user: marc_culler branch: monterey_deprecations, size: 59272 | |
18:47 | Merge 8.7 file: [356988f0] check-in: [fd5cd0d8] user: jan.nijtmans branch: tip-626, size: 58798 | |
2022-09-12
| ||
14:48 | Do not skip filename extensions which are undeclared; deal with missing bitmaps. file: [b88f864a] check-in: [c80df696] user: marc_culler branch: monterey_deprecations, size: 59322 | |
05:09 | Address deprecations introduced in macOS Monterey; fix [33de843084] file: [cfa22bc8] check-in: [92ffd344] user: marc_culler branch: monterey_deprecations, size: 59358 | |
2022-09-08
| ||
09:51 | Merge 8.6 file: [6376163b] check-in: [7c8c82c5] user: jan.nijtmans branch: main, size: 58686 | |
09:31 | Fix [e17b6f008]: unixWm-50.4 crashes OSX Aqua file: [1ce08b73] check-in: [6f597288] user: jan.nijtmans branch: core-8-6-branch, size: 58690 | |
2022-09-07
| ||
20:44 | Fix [e17b6f008], and the same in a lot of other potential problematic places file: [542c3382] check-in: [88804991] user: jan.nijtmans branch: bug-e17b6f008, size: 58692 | |
2022-07-05
| ||
20:23 | Merge 8.7 file: [258f7d1b] check-in: [fcdd1d01] user: jan.nijtmans branch: tip-626, size: 58316 | |
2022-06-22
| ||
13:02 | Almost finished file: [907a86ac] check-in: [29247198] user: jan.nijtmans branch: tip-626, size: 58313 | |
10:39 | More WIP file: [02653701] check-in: [5ee8e2de] user: jan.nijtmans branch: tip-626, size: 58241 | |
09:57 | Handle crash in handling "update". More WIP file: [882a230c] check-in: [9f9dac4d] user: jan.nijtmans branch: tip-626, size: 58205 | |
2022-05-12
| ||
22:01 | More alphabetizing Tk options. More type-cast improvements file: [a4d3dcf3] check-in: [b7db31b3] user: jan.nijtmans branch: main, size: 58204 | |
2022-05-11
| ||
10:43 | Merge 8.6 file: [ffa9f1ad] check-in: [96ba102d] user: jan.nijtmans branch: main, size: 58207 | |
10:32 | Follow-up to [88cfdcb304]: Move callbackInfo handling into showOpenSavePanel() file: [2bc3f961] check-in: [f3ab1208] user: jan.nijtmans branch: core-8-6-branch, size: 58210 | |
06:44 | Merge 8.6 file: [d37c74fa] check-in: [e7df6f34] user: jan.nijtmans branch: main, size: 58762 | |
2022-05-10
| ||
16:44 | Proposed fix for [88cfdcb304]: Aqua: use-after-free when file selection dialog dismissed file: [aec70490] check-in: [374c47e0] user: jan.nijtmans branch: bug-88cfdcb304, size: 58756 | |
2022-05-04
| ||
20:11 | Alphabetize some string tables file: [e448ebf5] check-in: [fc19a753] user: jan.nijtmans branch: main, size: 59120 | |
2021-11-02
| ||
19:46 | Merge 8.6 file: [248f92e2] check-in: [231581c8] user: culler branch: main, size: 59120 | |
18:16 | Add missing call to [parent endSheet]. file: [efefb5b3] check-in: [fa412516] user: culler branch: core-8-6-branch, size: 59114 | |
2021-10-31
| ||
14:59 | Try to deal with the non-existent macOS 10.16. file: [2cd8d775] check-in: [43f6d626] user: marc_culler branch: macos-10-16, size: 59084 | |
2021-10-28
| ||
17:33 | Merge 8.6 file: [526ad927] check-in: [d1cc1567] user: culler branch: main, size: 59090 | |
13:33 | One more round - thanks to Ned Deily for testing with IDLE. file: [6a1940c6] check-in: [a0ecaf07] user: culler branch: macosx_filedialog, size: 59084 | |
2021-10-27
| ||
22:54 | Catalina is a special case. file: [a659ee4d] check-in: [32d46acf] user: marc_culler branch: macosx_filedialog, size: 58967 | |
22:09 | The real fix, at least for Big Sur and Monterey. file: [f3e707e9] check-in: [9cb14c79] user: culler branch: macosx_filedialog, size: 58618 | |
18:17 | Some cleanup without resolving other (minor) 12.0 bugs file: [9a792afa] check-in: [b1c4788e] user: culler branch: macosx_filedialog, size: 59819 | |
15:01 | The standalone file dialog needs the same fix as the sheet file: [3b246ed8] check-in: [12dfa018] user: culler branch: macosx_filedialog, size: 59507 | |
13:04 | Fix inequality error that breaks file dialogs on macOS 10.14. file: [518d899b] check-in: [fd15a0c9] user: culler branch: main, size: 59687 | |
13:03 | Fix inequality error that breaks file dialogs on macOS 10.14. file: [fcc130ab] check-in: [cec05eb2] user: culler branch: core-8-6-branch, size: 59681 | |
2021-10-14
| ||
10:03 | Merge 8.6 file: [b596c02f] check-in: [83fd5407] user: jan.nijtmans branch: main, size: 59688 | |
10:00 | Fix [8ebed330ed]: doing some Tk inside of several threads crashes file: [ff90175b] check-in: [b101d484] user: jan.nijtmans branch: core-8-6-branch, size: 59682 | |
2021-10-10
| ||
16:47 | Merge 8.6 file: [265d73eb] check-in: [ddf4da74] user: culler branch: main, size: 59689 | |
16:46 | Fix error generated by the open file dialog on Monterey, caused by Apple reversing course and reverting to [NSApp runModalForWindow]. file: [9436daab] check-in: [a32262e9] user: culler branch: core-8-6-branch, size: 59683 | |
2021-02-02
| ||
16:07 | Merge 8.6 file: [448809da] check-in: [57b384d0] user: jan.nijtmans branch: main, size: 59316 | |
15:40 | More implicit type-casts, for C++ compatibility. file: [307373c4] check-in: [9b1b7861] user: jan.nijtmans branch: core-8-6-branch, size: 59310 | |
2020-12-24
| ||
15:45 | Merge 8.6 file: [1f635752] check-in: [826244d1] user: marc_culler branch: main, size: 59148 | |
15:39 | Fix [6157a8c4ca]: -filetypes does not work on macOS file dialogs file: [cb44a3ec] check-in: [b8336d87] user: marc_culler branch: bug-6157a8c4ca, size: 59142 | |
2020-12-09
| ||
15:01 | (c) -> © file: [1c532e58] check-in: [bd978a76] user: jan.nijtmans branch: main, size: 59086 | |
2020-11-06
| ||
17:44 | Merge 8.6 file: [390388d9] check-in: [28746514] user: culler branch: main, size: 59087 | |
2020-11-05
| ||
19:07 | Test using the real standardAboutPanel as the manual indicates is done file: [88330353] check-in: [f964d976] user: culler branch: mac_about, size: 59080 | |
2020-10-28
| ||
13:22 | MSVC++ 6.0 does't handle C++ comments file: [84d7330b] check-in: [de4e1fb8] user: jan.nijtmans branch: core-8-6-branch, size: 61051 | |
2020-10-27
| ||
12:25 | Merge 8.6 file: [153561c7] check-in: [0b35c1c6] user: jan.nijtmans branch: main, size: 61058 | |
01:25 | Merge 8.6 file: [4ed1c0b2] check-in: [32a9cba0] user: marc_culler branch: trunk, size: 61060 | |
2020-10-25
| ||
20:11 | Adjustment for Sierra. file: [96e1e0ec] check-in: [77a51c32] user: culler branch: bug-5cc72e002c, size: 61053 | |
19:45 | Fix [5cc72e002c]: file dialogs return an empty string on older macOS systems. file: [45109355] check-in: [3f6b7ec4] user: marc_culler branch: bug-5cc72e002c, size: 61068 | |
2020-10-22
| ||
19:52 | Merge 8.6 file: [3ef5af9d] check-in: [ad780b56] user: culler branch: trunk, size: 60096 | |
19:48 | Aqua: small change to showOpenSavePanel which might prevent some API warnings. file: [a5fff463] check-in: [1f5c51bc] user: culler branch: mistake, size: 60089 | |
2020-10-14
| ||
07:50 | Merge 8.7. Fix test-case tk-1.2, which is failing on Travis file: [69072760] check-in: [d60b86e4] user: jan.nijtmans branch: tip_325, size: 60038 | |
2020-10-12
| ||
17:03 | Fix [0e044bb966]: crash on macOS 10.13 in Tk_getSaveFile file: [debc30cc] check-in: [a4820271] user: marc_culler branch: mistake, size: 60498 | |
2020-10-02
| ||
15:16 | Merge 8.6 file: [8fac3e0f] check-in: [4a4da486] user: jan.nijtmans branch: trunk, size: 60050 | |
15:07 | Fix more warnings, related to -Wshadow, now in MacOSX code file: [d510501d] check-in: [fb6b605d] user: jan.nijtmans branch: core-8-6-branch, size: 60043 | |
2020-09-02
| ||
13:28 | Implement TIP #580: Export Tk_GetDoublePixelsFromObj and 5 more file: [2543d8b9] check-in: [cbe72995] user: jan.nijtmans branch: trunk, size: 60050 | |
09:31 | Merge 8.6 file: [7593ac93] check-in: [eb27a56f] user: jan.nijtmans branch: for_tkdnd, size: 60096 | |
09:00 | Merge 8.6 file: [c0f00dd0] check-in: [ca7b45bf] user: jan.nijtmans branch: trunk, size: 60046 | |
08:29 | Eliminate MODULE_SCOPE wrapper function for TkMacOSXDrawable(). Rename (internal) TkMacOSXDrawableWindow() to TkMacOSXGetNSWindowForDrawable(). Code (type-cast) cleanup file: [4e9e7307] check-in: [dbffe62b] user: jan.nijtmans branch: core-8-6-branch, size: 60043 | |
2020-09-01
| ||
19:08 | Rename 3 badly named functions that were exported as stubs; export under both old and new names; edit comments. file: [8780bd07] check-in: [a56fdb8f] user: marc_culler branch: for_tkdnd, size: 59814 | |
02:06 | Suggestions for name cleanup with compatibiltiy for 8.6.11 file: [9736fe13] check-in: [1f4afdb5] user: culler branch: 8-6-11-compatibility, size: 59869 | |
2020-08-28
| ||
16:03 | Maybe 8.7 can be clearer without breaking the API or ABI. file: [1d9d565f] check-in: [0cb49d66] user: marc_culler branch: nicer_stubs, size: 60060 | |
2020-07-14
| ||
11:02 | New TIP #580 implementation. Documentation still missing. file: [1629abe8] check-in: [7fa354b9] user: jan.nijtmans branch: tip-580, size: 60094 | |
2020-07-08
| ||
20:40 | Fix [34214bbdae]: typographical fixes in comments. Thanks to Christopher Chavez. file: [0cd9f7fb] check-in: [612b287e] user: fvogel branch: trunk, size: 60090 | |
20:36 | Fix [34214bbdae]: typographical fixes in comments. Thanks to Christopher Chavez. file: [23063289] check-in: [dcdc31c8] user: fvogel branch: core-8-6-branch, size: 59692 | |
2020-06-25
| ||
21:13 | Aqua: replace [NSApp macMinorVersion] by [NSApp macOSVersion] event though the Big Sur (11.1) beta release identifies itself as 10.16. file: [c118eda9] check-in: [55f8cdde] user: culler branch: trunk, size: 60089 | |
21:12 | Aqua: replace [NSApp macMinorVersion] by [NSApp macOSVersion] event though the Big Sur (11.1) beta release identifies itself as 10.16. file: [735b9337] check-in: [09485205] user: culler branch: core-8-6-branch, size: 59691 | |
2020-05-07
| ||
02:04 | Restore sheets in Mac file dialogs file: [d72cdfbc] check-in: [9a619439] user: kevin_walzer branch: trunk, size: 60088 | |
2020-05-06
| ||
16:59 | Avoid warnings by calling [panel runModal] instead of [NSApp runModalForWindow:panel] file: [655512fc] check-in: [ed6a4287] user: culler branch: catalina-sheets, size: 59690 | |
2020-05-02
| ||
02:36 | Restore sheets to file dialogs on macOS file: [b478b064] check-in: [51bfb084] user: kevin_walzer branch: catalina-sheets, size: 59787 | |
2020-03-17
| ||
08:36 | Another round of type-casts for ckalloc() calls. Makes C++ compilers even more happy. Mainly for MacOS code. file: [9c2f89f9] check-in: [0efa6ec0] user: jan.nijtmans branch: trunk, size: 60217 | |
2020-03-05
| ||
22:15 | Eliminate many -Wextra warnings file: [0456a7c0] check-in: [ac625e2f] user: jan.nijtmans branch: trunk, size: 60085 | |
2020-03-01
| ||
22:11 | Fix many warnings in MacOSX build (caused by -Wextra -Wc++-compat). All harmless. Not finished yet. file: [26dcaa73] check-in: [b8b2f140] user: jan.nijtmans branch: trunk, size: 59974 | |
2019-12-20
| ||
14:58 | more WIP for MaxOS file: [a406a561] check-in: [f94b1b47] user: jan.nijtmans branch: cplusplus, size: 59947 | |
2019-10-02
| ||
20:12 | Add many (mostly MacOS) stub functions, needed for future implementation of XIM. Since the X11 API is now equal for all platforms, many 'hacks' needed in the past can now be completely eliminated. file: [248091dd] check-in: [8c6a8b54] user: jan.nijtmans branch: trunk, size: 59822 | |
2019-08-16
| ||
02:28 | Merge updates for macOS 10.15 Catalina file: [546d0d8d] check-in: [c78ed945] user: kevin_walzer branch: trunk, size: 59824 | |
2019-08-14
| ||
18:09 | Fix typos in variable names for panel objects. file: [36687c68] check-in: [394ed860] user: culler branch: catalina_dialogs, size: 59819 | |
17:27 | Revert color dialog; do not use sheets for NSOpenSavePanels on Catalina; create an explicit NSOpenSavePanelDelegate; remove -prebind on macOS. file: [abbebf35] check-in: [59b1d265] user: culler branch: catalina_dialogs, size: 59834 | |
11:25 | Remove import of Carbon headers file: [481acf6d] check-in: [fd9060a8] user: kevin_walzer branch: catalina_dialogs, size: 60586 | |
04:16 | Begin branch to remove deprecated API calls on Catalina file: [eec81bb9] check-in: [53c14cc2] user: kevin_walzer branch: catalina_dialogs, size: 60612 | |
2019-07-07
| ||
22:00 | Merge trunk file: [7f6e0ca9] check-in: [7de0b19f] user: jan.nijtmans branch: tip-548, size: 60101 | |
2019-05-17
| ||
07:21 | Add missing INT2PTR (doesn't cause warning with Tcl8.x, but does with Tcl 9.0). One None -> NULL change which was still missing. Backported from trunk. file: [bca7d485] check-in: [777211ed] user: jan.nijtmans branch: core-8-6-branch, size: 60292 | |
2019-05-09
| ||
16:28 | Merge 8.6 file: [a6603485] check-in: [a0ab8b7e] user: jan.nijtmans branch: trunk, size: 60297 | |
15:21 | Whitespace cleanup, syncronize a little with "trunk" version. file: [4550c18e] check-in: [84e2b4b3] user: jan.nijtmans branch: core-8-6-branch, size: 60292 | |
2019-04-17
| ||
14:05 | Mitigate future merge conflict headaches. file: [97ad7090] check-in: [764eaf89] user: culler branch: core-8-6-branch, size: 60293 | |
2019-04-16
| ||
13:22 | Source readability run: macosx/* file: [8540dee9] check-in: [991b8f0e] user: dkf branch: trunk, size: 60298 | |
2019-04-02
| ||
19:27 | Merge 8.6 file: [88700505] check-in: [5e12f0c2] user: jan.nijtmans branch: androwish, size: 60311 | |
2019-03-31
| ||
19:54 | Change (internal) signature of TkMenuConfigureEntryDrawOptions/TkActivateMenuEntry such that - if compiled with Tcl 9.0 headers - indexes > 2G can be used. Also, change a lot of Tcl_NewIntObj()/Tcl_NewBooleanObj() calls to Tcl_NewWideIntObj(). file: [ac6ff513] check-in: [5544ad79] user: jan.nijtmans branch: trunk, size: 59770 | |
2019-03-07
| ||
17:16 | Fixed one more None -> NULL compiler warning. file: [99f26fcc] check-in: [6eaf88ea] user: culler branch: trunk, size: 59765 | |
2019-01-10
| ||
08:10 | Fix [9e31fd9449]: X11/X.h and Windows.h have conflicting symbols. *** POTENTIAL INCOMPATIBILITY *** on Windows only: gcc/clang/MSVC will generate new warnings in extensions when the "None" symbol is used incorrectly. Those warnings are all fixed in the core, that's what most of this commit is doing. file: [c158422d] check-in: [c707c501] user: jan.nijtmans branch: core-8-6-branch, size: 59765 | |
2018-12-31
| ||
15:56 | As requested by Christian Werner/François Vogel and others: Undo many None -> 0 changes, in order to reduce the probability of merge conflicts with other branches. Remark: Many usages of "None" in Tk are wrong, "NULL" should be used in many places where pointers are referenced in stead of XID's. Those places are corrected. file: [60dc2e25] check-in: [0e4b26fd] user: jan.nijtmans branch: bug-9e31fd9449-8-6, size: 59772 | |
2018-12-20
| ||
13:09 | Merge 8.6 file: [0c8ca647] check-in: [60c4abff] user: jan.nijtmans branch: androwish, size: 60318 | |
2018-11-26
| ||
17:27 | Mac code cleanup. Move interfaces for subclasses of AppKit classes to tkMacOSXPrivate.h when possible. Also Utility windows cannot go fullscreen. file: [cfb2b0c1] check-in: [f7837b29] user: culler branch: core-8-6-branch, size: 59772 | |
2018-11-08
| ||
21:45 | Restore the list of contributors to the new About dialog. file: [2b9f60d0] check-in: [e44bf12d] user: culler branch: mac-nofocus, size: 59858 | |
04:06 | Tweak title of about dialog file: [201d8907] check-in: [41fb3354] user: kevin_walzer branch: mac-nofocus, size: 58938 | |
03:17 | One more fix for about dialog file: [5bc430d1] check-in: [6dd86c5c] user: kevin_walzer branch: mac-nofocus, size: 58936 | |
03:03 | Replace old about dialog with standard alert that displays correctly on 10.14 file: [bbd188c3] check-in: [f9e5c0e2] user: kevin_walzer branch: mac-nofocus, size: 58997 | |
2018-09-03
| ||
09:18 | merge 8.6 file: [0dabbb1e] check-in: [d8a1d0d9] user: jan.nijtmans branch: androwish, size: 60177 | |
2018-08-21
| ||
19:05 | Fix [66db98f30d] regarding error messages spit by messageboxes in the test suite, while still not regress as described in [98dce84781] (yes and no answers were swapped) file: [1c12dbd4] check-in: [e14009ca] user: fvogel branch: core-8-6-branch, size: 59631 | |
2018-08-19
| ||
16:48 | Fix [66db98f30d] regarding error messages spit by messageboxes in the test suite, while still not regress as described in [98dce84781] (yes and no answers were swapped) file: [3fc8f29c] check-in: [4634437c] user: fvogel branch: bug-66db98f30d, size: 59623 | |
2018-08-15
| ||
16:21 | Fix [98dce84781]: yesno messageBoxes on macOS return wrong values file: [3d2a7f13] check-in: [902c9d17] user: fvogel branch: core-8-6-branch, size: 59631 | |
16:20 | Fix [98dce84781] by partial revert of previous commit. file: [6c92ecad] check-in: [ccf173b5] user: fvogel branch: bug-66db98f30d, size: 59623 | |
2018-08-12
| ||
17:13 | Eliminate all usage of CONST84, and fix a few MacOSX compiler warnings file: [0c979081] check-in: [f72c3f43] user: jan.nijtmans branch: trunk, size: 59631 | |
2018-05-31
| ||
21:25 | merge 8.6 file: [9d5c4b65] check-in: [a7a7676f] user: jan.nijtmans branch: androwish, size: 60169 | |
2018-05-01
| ||
12:48 | Unify further error messages for tk_messageBox options file: [d684e6c1] check-in: [ceca7257] user: fvogel branch: bug-66db98f30d, size: 59623 | |
2017-11-27
| ||
01:19 | Remove all conditional code which requires a minimum deployment target of OSX 10.5. Currently the build fails for 10.5 and it seems pointless to try fixing it now, more than 8 years after Apple declared it obsolete. file: [84b1fb44] check-in: [73c5ff57] user: culler branch: byebye-leopard, size: 59602 | |
2017-11-25
| ||
21:08 | Simultaneously with the previous commit Christian Gollwitzer provided this more complete patch that deals with *.* and compilation problems with gcc. file: [21f53803] check-in: [8473d080] user: culler branch: bug-de4af19626, size: 60914 | |
17:17 | Pass nil for allowedFileTypes rather than an empty array to select all files. file: [a10b0a51] check-in: [ad4e0e61] user: culler branch: bug-de4af19626, size: 58414 | |
2017-11-09
| ||
19:42 | Added some #ifdef __clang__ sections to allow building with gcc on OSX 10.6. Tk now builds and runs on Snow Leopard, but does not support retina displays or filtering in file dialogs, and generates some errors about colorspaces. file: [77b2ed66] check-in: [dd6273eb] user: culler branch: macOS_images, size: 58200 | |
2017-10-12
| ||
12:30 | Fix for colorspace issues and regression in drawing on macOS; thanks to Marc Culler for patches file: [7fe7de0e] check-in: [af9bd122] user: kevin_walzer branch: trunk, size: 57872 | |
11:55 | remove some end-of-line spacing file: [a62591bc] check-in: [ed0955b7] user: jan.nijtmans branch: core-8-6-branch, size: 57873 | |
2017-10-11
| ||
00:44 | Numerous fixes for Tk on macOS 10.13; eliminate memory leaks, override system fullscreen API that confuses window geometry, improve implementation of Tk fullscreen API. Thanks to Marc Culler for patches to address memory leaks. file: [ad745f4d] check-in: [e5463978] user: kevin_walzer branch: core-8-6-branch, size: 57875 | |
2017-08-03
| ||
15:59 | [9eab541213] Fix OSX file dialog handling of -initialdir. Thanks to Christian Gollwitzer. file: [cb88442d] check-in: [018d6a36] user: dgp branch: core-8-6-branch, size: 57884 | |
2017-07-03
| ||
05:50 | Fix last crashing bug for save dialogs on macOS file: [aa78fc6d] check-in: [0456a159] user: kevin_walzer branch: core-8-6-branch, size: 57606 | |
02:59 | Fix for 8afc6c9ebe, crashes in save and open dialogs on macOS; thanks to Marc Simpson for bug report file: [f4e2c63c] check-in: [b58d3cd6] user: kevin_walzer branch: core-8-6-branch, size: 57653 | |
2017-06-05
| ||
01:52 | Fix for 9eab541213, tk_getSave on macOS; thanks to Christian Gollwitzer for patch file: [662bfba1] check-in: [a1d1fbc3] user: kevin_walzer branch: core-8-6-branch, size: 56689 | |
2017-05-18
| ||
09:18 | Cherry-pick All the world was a VAX for OpenBSD. Also fix [84a27b1c67]: Tcl and Tk's tcl.m4 not synced? (configure script not re-generated yet, I'm sure Don will do that in the rc branch) file: [dad1b9ca] check-in: [3439d04a] user: jan.nijtmans branch: core-8-6-branch, size: 56737 | |
2017-05-13
| ||
16:34 | Major reworking of tkMacOSXDialog.c to support -typevariable, improve file filtering, fix for 3588462; thanks to Christian Gollwitzer for patch file: [8d2d09a7] check-in: [8d7d752e] user: kevin_walzer branch: core-8-6-branch, size: 56794 | |
2017-05-08
| ||
11:20 | merge core-8-6-branch file: [5c0480ae] check-in: [f6078459] user: jan.nijtmans branch: trunk, size: 51978 | |
2017-05-06
| ||
15:37 | tk_getSaveFile now correctly displays multiple file types with filtering on macOS file: [ba9f523c] check-in: [efc04f45] user: kevin_walzer branch: core-8-6-branch, size: 51981 | |
02:14 | Add support for file filters in tk_getSaveFile on macOS/Cocoa file: [0c51bff7] check-in: [18a1cca2] user: kevin_walzer branch: core-8-6-branch, size: 51935 | |
2017-05-01
| ||
10:07 | various end-of-line spaces file: [1fe39471] check-in: [9a31e268] user: jan.nijtmans branch: core-8-6-branch, size: 51024 | |
01:53 | tk_getSaveFile now correctly displays file name on macOS when -initialfile flag used; this functionality broke after Tk 8.6.5. The filetypes filter also now works correctly in tk_getOpenFile on macOS; this functionality was mostly broken after the transition to Cocoa. Thanks to Torsten Reincke and Christian Gollwitzer for the bug reports on c.l.t. file: [daecabf3] check-in: [ff60b66f] user: kevin_walzer branch: core-8-6-branch, size: 51028 | |
2016-04-21
| ||
22:03 | Fixed [b362182e45] - Generation of virtual events through Tk_HandleEvent is unsafe file: [d96346b7] check-in: [1795939c] user: fvogel branch: bug-b362182e45, size: 49514 | |
2016-04-19
| ||
17:29 | Merge 8.6.5 release. file: [17733de1] check-in: [b0f3fde5] user: dgp branch: little, size: 49539 | |
17:09 | Fork of Tk used in the "Little" project. http://www.mcvoy.com/lm/little/index.html file: [ffe9c835] check-in: [78772485] user: dgp branch: little, size: 46611 | |
2016-01-23
| ||
19:41 | Better repair of parentIsKey (backported from Tk 8.6). Problem was introduced in (apparently ill-merged) commit [3f634e02ece26dff] file: [4fe02dbf] check-in: [147e1ddb] user: jan.nijtmans branch: core-8-5-branch, size: 36560 | |
18:55 | Repair failure to compile on OSX/Cocoa. file: [ed819725] check-in: [4919b4e5] user: dgp branch: core-8-5-branch, size: 36615 | |
2016-01-12
| ||
09:55 | (cherry-pick) Fix [2049429]: Some options aren't picked up from the options database. file: [3bac55d7] check-in: [09b95886] user: jan.nijtmans branch: core-8-5-branch, size: 36548 | |
09:46 | Bring back DEF_TEXT_SPACING[123], since "0" is not exactly equal to NULL (just to be 100% sure there will not be a behavioral change) file: [db19fc3e] check-in: [45baac3b] user: jan.nijtmans branch: bug-2049429fff, size: 49490 | |
2016-01-11
| ||
10:31 | Merge trunk. ttkButton.c: Invalid use of TK_OPTION_DONT_SET_DEFAULT, should have been TK_OPTION_NULL_OK as in normal button. tkTextTag.c: Use of TK_OPTION_DONT_SET_DEFAULT means that the default value "0" is ignored, so better use NULL. file: [ee4cc247] check-in: [9d6cd6ae] user: jan.nijtmans branch: bug-2049429fff, size: 49481 | |
00:45 | Additional tweaks for dialog file: [390090ec] check-in: [3f634e02] user: kevin_walzer branch: core-8-5-branch, size: 36552 | |
00:44 | Additional tweaks for dialog file: [7c840b74] check-in: [783ce25f] user: kevin_walzer branch: trunk, size: 49494 | |
00:28 | Fix for 63c3542c06, messageboxes in Tk-Cocoa; thanks to Marc Culler for patch file: [3bcfcc46] check-in: [f5ac7533] user: kevin_walzer branch: core-8-5-branch, size: 36185 | |
00:24 | Fix for 63c3542c06, messageboxes in Tk-Cocoa; thanks to Marc Culler for patch file: [2bbcaf32] check-in: [4f738003] user: kevin_walzer branch: trunk, size: 49127 | |
2015-12-15
| ||
02:50 | Fix for some redraw issues on Tk-Cocoa on OS X 10.11; further refinement of memory management; thanks to Marc Culler for patches file: [6239503d] check-in: [f04988fb] user: kevin_walzer branch: trunk, size: 49005 | |
2015-12-07
| ||
15:38 | merge-mark. Remove unnecessary end-of-line spacing file: [e8eaba73] check-in: [c4aef612] user: jan.nijtmans branch: trunk, size: 49072 | |
02:04 | Fix for zombie windows on El Capitan/OS X 10.11; thanks to Marc Culler for patch file: [02d4a148] check-in: [36ad13aa] user: kevin_walzer branch: core-8-5-branch, size: 36063 | |
02:02 | Fix for zombie windows on El Capitan/OS X 10.11; thanks to Marc Culler for patch file: [497cc5fe] check-in: [946e9467] user: kevin_walzer branch: trunk, size: 49075 | |
2015-11-25
| ||
21:09 | merge trunk file: [d0848772] check-in: [6a1a0158] user: jan.nijtmans branch: androwish, size: 49572 | |
03:19 | Remove multiple deprecated internal API calls on OS X; streamline Apple Events implementation; thanks to Marc Culler for extensive patches file: [9eab76c5] check-in: [55ad8ff2] user: kevin_walzer branch: core-8-5-branch, size: 36039 | |
03:13 | Remove multiple deprecated internal API calls on OS X; streamline Apple Events implementation; thanks to Marc Culler for extensive patches file: [010ab7e2] check-in: [21121045] user: kevin_walzer branch: trunk, size: 49051 | |
2015-11-09
| ||
12:18 | re-add "-nativeonly" option to dialog file: [2a0ac214] check-in: [50c6b45c] user: jan.nijtmans branch: androwish, size: 47083 | |
2015-03-21
| ||
04:12 | Additional copyright notices file: [1f5f330f] check-in: [97a36262] user: kevin_walzer branch: core-8-5-branch, size: 32968 | |
04:12 | Additional copyright notices file: [d4525e30] check-in: [915c72b3] user: kevin_walzer branch: trunk, size: 46562 | |
2014-11-20
| ||
02:34 | Back out changes not pertaining to private API; those files should not have been updated. file: [3434908d] check-in: [276923ee] user: kevin_walzer branch: trunk, size: 46416 | |
2014-11-18
| ||
14:57 | Back out changes not pertaining to private API; those files should not have been updated. file: [d3c955a3] check-in: [55bc273d] user: kevin_walzer branch: core-8-5-branch, size: 32818 | |
14:46 | Remove residual private API calls from Tk/Mac after Mac App Store review flagged them as being present. file: [e5fc6a30] check-in: [781a6aff] user: kevin_walzer branch: trunk, size: 48174 | |
2013-01-24
| ||
14:00 | Merge core-8-5-branch Various Tcl_GetIndexFromObj -> Tcl_GetIndexFromObjStruct changes. file: [52607ba1] check-in: [472e3798] user: jan.nijtmans branch: trunk, size: 46415 | |
2013-01-23
| ||
14:54 | make TkBackgroundEvalObjv a static function, and eliminate the use of the deprecated SaveResult API from it. file: [3a5f2d9c] check-in: [625ce391] user: jan.nijtmans branch: core-8-5-branch, size: 32817 | |
2013-01-14
| ||
13:48 | Replace various functions calls, for functions which are small wrappers around other functions, to call the wrapped function directly. file: [de3f8be7] check-in: [cb8420c1] user: jan.nijtmans branch: trunk, size: 46217 | |
2012-10-23
| ||
09:24 | consistant use of mode: objc for OSX, strip spaces from the end of lines file: [213b20f7] check-in: [f4527071] user: jan.nijtmans branch: trunk, size: 46210 | |
08:52 | remove RCS keywords, use mode: objc consistantly file: [59e875b4] check-in: [3554d988] user: jan.nijtmans branch: core-8-5-branch, size: 31371 | |
2012-08-22
| ||
17:56 | Added a forward declaration of TkBackgroundEvalObjv to fix the clash between the implicit declaration done by its use coming before the actual declaration and subsequent compiler error about the differences between them. file: [8d5362c0] check-in: [b4d1a200] user: andreask branch: tk-cocoa-8-5-backport, size: 33377 | |
2012-08-09
| ||
06:53 | remove more RCS id's Make TkBackgroundEvalObjv a static function file: [5efda7a3] check-in: [1108cabd] user: jan.nijtmans branch: tk-cocoa-8-5-backport, size: 33276 | |
2012-07-24
| ||
08:33 | Ttk and Aqua done file: [8c7d33ca] check-in: [8a123a49] user: dkf branch: tk-errorcodes, size: 46211 | |
2012-04-23
| ||
09:18 | merge from main 8.5 branch file: [8606a5a2] check-in: [81e7e6f5] user: dkf branch: tk-cocoa-8-5-backport, size: 31389 | |
2011-11-01
| ||
22:07 | Preparation of Tk-Cocoa backport for 8.5.11 file: [f3c5d56d] check-in: [5b885b83] user: kevin_walzer branch: tk-cocoa-8-5-backport, size: 31360 | |
2011-10-24
| ||
20:19 | TIP 382: Existence and argument validation for -confirmoverwrite on Cocoa. Option is ignored for now. file: [6534e3d5] check-in: [80eaa007] user: dgp branch: trunk, size: 45756 | |
2011-10-17
| ||
20:10 | Implementation for Carbon. file: [96995f37] check-in: [5a1e3c46] user: dgp branch: tip-382, size: 46690 | |
2011-07-04
| ||
16:16 | Commit of backport of Tk-Cocoa to 8.5 file: [e8091976] check-in: [d3143d1c] user: kevin_walzer branch: tk-cocoa-8-5-backport, size: 31168 | |
2011-06-08
| ||
20:24 | Purge RCS Keywords file: [efaf2e20] check-in: [b8a13852] user: dgp branch: trunk, size: 45538 | |
17:44 | Purge RCS Keywords. file: [50d3efcc] check-in: [3f95fbe0] user: dgp branch: core-8-5-branch, size: 46297 | |
16:13 | Purge RCS Keywords. file: [c3d8213c] check-in: [a74f32bb] user: dgp branch: core-8-4-branch, size: 46040 | |
2011-03-12
| ||
17:45 | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to be using useful casts internally. file: [8c087e62] check-in: [142e016e] user: dkf branch: trunk, size: 45618 | |
2010-06-15
| ||
12:40 | Terminate TkEnsemble definition with NULL file: [f81cbb3f] check-in: [207c3431] user: nijtmans branch: trunk, size: 45854 | |
2010-02-05
| ||
22:45 | Make more internal tables "const" tk*Decls.h (regenerated with new genStubs.tcl from Tcl) file: [f1ed716b] check-in: [8aee73fe] user: nijtmans branch: trunk, size: 45811 | |
2009-10-22
| ||
10:27 | Deal with [Patch 2168768], so making the -typevariable option work consistently with global variables (the only way it *can* work...) file: [9a0aa987] check-in: [66960972] user: dkf branch: core-8-5-branch, size: 46376 | |
10:12 | Deal with [Patch 2168768], so making the -typevariable option work consistently with global variables (the only way it *can* work...) file: [38f780cb] check-in: [251fa0e4] user: dkf branch: trunk, size: 45800 | |
2009-07-06
| ||
20:29 | More marking of files as Objective-C. file: [ee6edde6] check-in: [0f560ce4] user: dkf branch: trunk, size: 45720 | |
15:45 | Formatting cleanup, mark files as Objective-C. file: [161b9b9f] check-in: [e03c9f2b] user: dkf branch: trunk, size: 45717 | |
2009-06-29
| ||
14:35 | Merge of TkAqua Cocoa port file: [04920a19] check-in: [05bd0a2c] user: das branch: trunk, size: 45652 | |
2008-12-10
| ||
05:02 | TIP #324 IMPLEMENTATION file: [16ee7d9c] check-in: [7946dc22] user: das branch: trunk, size: 60599 | |
2008-12-07
| ||
16:57 | Fix potential use of uninitialized variable flagged by clang static analyzer file: [3a2afbaa] check-in: [b5a8364c] user: das branch: core-8-4-branch, size: 46119 | |
16:57 | Fix potential use of uninitialized variable flagged by clang static analyzer file: [b0f9f472] check-in: [3d657cb5] user: das branch: core-8-5-branch, size: 46284 | |
16:53 | Fix leaks flagged by clang static analyzer file: [a621d298] check-in: [0546a422] user: das branch: core-8-4-branch, size: 46078 | |
16:48 | Fix leaks flagged by clang static analyzer file: [d36f572e] check-in: [cd7efacd] user: das branch: core-8-5-branch, size: 46246 | |
16:36 | Remove/disable dead code flagged by clang static analyzer file: [25cce2aa] check-in: [0ac08e28] user: das branch: trunk, size: 46288 | |
16:34 | Fix potential use of uninitialized variable flagged by clang static analyzer file: [e2be2397] check-in: [01ac8739] user: das branch: trunk, size: 46359 | |
16:32 | Fix leaks flagged by clang static analyzer file: [b123233b] check-in: [4d3adc5d] user: das branch: trunk, size: 46321 | |
2008-10-17
| ||
23:18 | Add "const" to many internal const tables, so those will be put by the C-compiler in the TEXT segment in stead of the DATA segment. This makes those table sharable in shared libraries. file: [16c397b9] check-in: [da3819db] user: nijtmans branch: trunk, size: 45914 | |
2008-09-02
| ||
16:14 | comments, whitespace file: [cfdda2db] check-in: [0c33d400] user: das branch: core-8-5-branch, size: 45834 | |
16:10 | comments, whitespace file: [5d8eef4e] check-in: [441577ba] user: das branch: trunk, size: 45874 | |
2008-06-25
| ||
16:46 | merge updates from 8.5 branch file: [8f84a50c] check-in: [3b1a12a1] user: dgp branch: core-stabilizer-branch, size: 45833 | |
2008-05-03
| ||
21:33 | revert erroneous CONST->const sync file: [47400bbf] check-in: [2ef184c8] user: das branch: core-8-5-branch, size: 45833 | |
21:09 | sync with dkf's 2008-04-27 whitespace&formatting changes on HEAD, to ease branch maintenance. file: [83cbbd06] check-in: [e14c2620] user: das branch: core-8-5-branch, size: 45833 | |
2008-04-27
| ||
22:38 | Get rid of pre-C89-isms (esp. CONST vs const). file: [cca082c2] check-in: [ddfd8bb6] user: dkf branch: trunk, size: 45873 | |
2007-12-13
| ||
15:23 | merge stable branch onto HEAD file: [2e584fc9] check-in: [e7868b44] user: dgp branch: trunk, size: 45565 | |
2007-11-12
| ||
19:22 | merge updates from HEAD file: [3f11fbdf] check-in: [94778fa5] user: dgp branch: core-stabilizer-branch, size: 45569 | |
2007-11-09
| ||
06:26 |
Backport from HEAD of Aqua changes from 2007-10-12 to 2007-11-09file: [3e4cb09e] check-in: [f3af33f1] user: das branch: core-8-4-branch, size: 45682 | |
06:23 |
* macosx/tkMacOSXButton.c: sync formatting, whitespace, copyright * macosx/tkMacOSXDialog.c: with core-8-4-branch. * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXWm.c: * xlib/xgc.c * library/bgerror.tcl: * library/console.tcl: * library/menu.tcl:file: [769e243b] check-in: [0571a0d3] user: das branch: trunk, size: 45565 | |
2007-11-08
| ||
17:37 | fix warnings file: [f27ebcf8] check-in: [b81d5b52] user: das branch: trunk, size: 45564 | |
2007-10-27
| ||
04:23 | merge updates from HEAD file: [b62faa03] check-in: [ee0325f1] user: dgp branch: core-stabilizer-branch, size: 45601 | |
2007-10-26
| ||
10:37 |
* macosx/tkMacOSXDialog.c: sync with HEAD.file: [eb0a01c3] check-in: [0f956e6f] user: das branch: core-8-4-branch, size: 44088 | |
10:35 | whitespace file: [fa60ba26] check-in: [9c05f749] user: das branch: trunk, size: 45597 | |
07:56 |
* macosx/tkMacOSXDialog.c: TIP#242 cleanup. * library/demos/filebox.tcl: demo TIP#242 -typevariable.file: [19781b62] check-in: [ba920c82] user: das branch: trunk, size: 45628 | |
2007-10-25
| ||
21:44 |
* doc/getOpenFile.n: TIP#242 implementation of -typevariable to * library/tkfbox.tcl: return type of selected file in file dialogs. * library/xmfbox.tcl: [Bug #1156388] * macosx/tkMacOSXDialog.c: * tests/filebox.test: * tests/winDialog.test: * win/tkWinDialog.c:file: [4b6537d3] check-in: [32679bf3] user: hobbs branch: trunk, size: 45791 | |
2007-09-11
| ||
18:32 | merge updates from HEAD file: [611bbc5b] check-in: [647930d4] user: dgp branch: core-stabilizer-branch, size: 43861 | |
05:24 | cleanup file: [b96f9c24] check-in: [72175498] user: das branch: core-8-4-branch, size: 43899 | |
05:24 | cleanup file: [6b3ae36c] check-in: [3c2e9c0b] user: das branch: trunk, size: 43857 | |
2007-09-04
| ||
17:44 | merge updates from HEAD file: [41b672d3] check-in: [2a56b451] user: dgp branch: core-stabilizer-branch, size: 43920 | |
2007-08-27
| ||
06:48 |
* macosx/tkMacOSXDialog.c (Tk_ChooseColorObjCmd): correct setting of interp result [Bug 1782105]; fix -initialcolor overwriting last color selection; style cleanup.file: [293558bf] check-in: [fc6031dc] user: das branch: core-8-4-branch, size: 43958 | |
06:48 |
* macosx/tkMacOSXDialog.c (Tk_ChooseColorObjCmd): correct setting of interp result [Bug 1782105]; fix -initialcolor overwriting last color selection; style cleanup.file: [af4db397] check-in: [d627427e] user: das branch: trunk, size: 43916 | |
2007-07-25
| ||
05:24 |
* macosx/tkMacOSXDialog.c (NavServicesGetFile): reset interp result on nav dialog cancel. [Bug 1743786]file: [85a9b6cd] check-in: [1b80f073] user: das branch: core-8-4-branch, size: 44011 | |
05:24 |
* macosx/tkMacOSXDialog.c (NavServicesGetFile): reset interp result on nav dialog cancel. [Bug 1743786]file: [38b53c0f] check-in: [934c1224] user: das branch: trunk, size: 43969 | |
2007-07-01
| ||
17:31 | merge updates from HEAD file: [c6891426] check-in: [9cc0726e] user: dgp branch: core-stabilizer-branch, size: 43947 | |
2007-06-29
| ||
03:22 |
* macosx/tkMacOSXScrlbr.c: correct int <-> dobule conversion issues that could lead to Carbon getting confused about scrollbar thumb size. * macosx/tkMacOSXDraw.c (XCopyArea, XCopyPlane, TkPutImage) use TkMacOSX{Setup,Restore}DrawingContext() to setup/restore clip & colors. (TkMacOSXSetupDrawingContext, TkMacOSXRestoreDrawingContext): add save and restore of QD port clip region; factor out clip region code common to CG and QD branches; check for port and context validity; handle tkPictureIsOpen flag during QD port setup. (TkScrollWindow): remove unnecessary scroll region manipulation * macosx/tkMacOSXDraw.c: remove second global QD temp region * macosx/tkMacOSXInt.h: (no longer necessary) and rename * macosx/tkMacOSXRegion.c: remaining global QD temp region. * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXDraw.c: make useCGDrawing variable MODULE_SCOPE * macosx/tkMacOSXFont.c: and sync formatting with HEAD. * macosx/tkMacOSXButton.c: reduce reliance on current QD port * macosx/tkMacOSXColor.c: setting and remove unnecessary * macosx/tkMacOSXDebug.c: references to a drawable's QD port, * macosx/tkMacOSXDebug.h: notably replace GetWindowFromPort( * macosx/tkMacOSXDialog.c: TkMacOSXGetDrawablePort()) idiom by new * macosx/tkMacOSXDraw.c: TkMacOSXDrawableWindow() and change * macosx/tkMacOSXKeyEvent.c: TkMacOSXSetColorInPort() to take a port * macosx/tkMacOSXMenu.c: argument. * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXInt.h: factor out macros, declarations * macosx/tkMacOSXPrivate.h (new): and prototypes that are purely internal and private to the 'macosx' sources into a new internal header file that does _not_ get installed into Tk.framework/PrivateHeaders. * macosx/tkMacOSXButton.c: #include new tkMacOSXPrivate.h * macosx/tkMacOSXCarbonEvents.c: instead of tkMacOSXInt.h. * macosx/tkMacOSXClipboard.c: * macosx/tkMacOSXColor.c: * macosx/tkMacOSXCursor.c: * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXRegion.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c:file: [10304e3d] check-in: [98571053] user: das branch: core-8-4-branch, size: 43985 | |
03:20 |
* macosx/tkMacOSXScrlbr.c: correct int <-> dobule conversion issues that could lead to Carbon getting confused about scrollbar thumb size. * macosx/tkMacOSXDraw.c (XCopyArea, XCopyPlane, TkPutImage) use TkMacOSX{Setup,Restore}DrawingContext() to setup/restore clip & colors. (TkMacOSXSetupDrawingContext, TkMacOSXRestoreDrawingContext): add save and restore of QD port clip region; factor out clip region code common to CG and QD branches; check for port and context validity; handle tkPictureIsOpen flag during QD port setup. (TkScrollWindow): remove unnecessary scroll region manipulation * macosx/tkMacOSXDraw.c: remove second global QD temp region * macosx/tkMacOSXInt.h: (no longer necessary) and rename * macosx/tkMacOSXRegion.c: remaining global QD temp region. * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXDraw.c: make useCGDrawing variable MODULE_SCOPE * macosx/tkMacOSXFont.c: and respect it for ATSUI font drawing. * macosx/tkMacOSXButton.c: reduce reliance on current QD port * macosx/tkMacOSXColor.c: setting and remove unnecessary * macosx/tkMacOSXDebug.c: references to a drawable's QD port, * macosx/tkMacOSXDebug.h: notably replace GetWindowFromPort( * macosx/tkMacOSXDialog.c: TkMacOSXGetDrawablePort()) idiom by new * macosx/tkMacOSXDraw.c: TkMacOSXDrawableWindow() and change * macosx/tkMacOSXKeyEvent.c: TkMacOSXSetColorInPort() to take a port * macosx/tkMacOSXMenu.c: argument. * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXInt.h: factor out macros, declarations * macosx/tkMacOSXPrivate.h (new): and prototypes that are purely internal and private to the 'macosx' sources into a new internal header file that does _not_ get installed into Tk.framework/PrivateHeaders. * macosx/tkMacOSXButton.c: #include new tkMacOSXPrivate.h * macosx/tkMacOSXCarbonEvents.c: instead of tkMacOSXInt.h. * macosx/tkMacOSXClipboard.c: * macosx/tkMacOSXColor.c: * macosx/tkMacOSXCursor.c: * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXRegion.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * macosx/ttkMacOSXTheme.c:file: [f7df6a3a] check-in: [dd992cbc] user: das branch: trunk, size: 43943 | |
2007-06-25
| ||
19:12 | merge updates from HEAD file: [ffb00d9a] check-in: [8cf8a457] user: dgp branch: core-stabilizer-branch, size: 43989 | |
2007-06-23
| ||
00:27 |
* macosx/tkMacOSXXStubs.c (XCreateImage, DestroyImage): correct XImage bytes_per_line/bitmap_pad calculations and endianness setting; free image data and XImage structure at destruction; formatting cleanup. * macosx/tkMacOSXDialog.c (NavServicesGetFile): disable app-modal sheet variant of nav dialog on OS versions where it causes problems.file: [3a8977a0] check-in: [8cad11f0] user: das branch: core-8-4-branch, size: 44027 | |
00:26 |
* macosx/tkMacOSXXStubs.c (XCreateImage, DestroyImage): correct XImage bytes_per_line/bitmap_pad calculations and endianness setting; free image data and XImage structure at destruction; formatting cleanup. * macosx/tkMacOSXDialog.c (NavServicesGetFile): disable app-modal sheet variant of nav dialog on OS versions where it causes problems.file: [8706616d] check-in: [df94bff3] user: das branch: trunk, size: 43985 | |
2007-05-09
| ||
12:57 |
* macosx/tkMacOSXWindowEvent.c: ensure window is brought to the front * macosx/tkMacOSXMouseEvent.c: at the start of a window drag (except * macosx/tkMacOSXInt.h: when cmd key is down); formatting and whitespace fixes. * macosx/tkMacOSXDialog.c (Tk_GetSaveFileObjCmd): add -filetypes option processing. * macosx/tkMacOSXEmbed.c (TkpMakeWindow, TkpUseWindow): fix sending of Visibility event for embedded windows (fixes frame-3.9 hang). * macosx/tkMacOSXScrlbr.c (ScrollbarBindProc): fix testsuite * macosx/tkMacOSXSubwindows.c (TkMacOSXUpdateClipRgn): crashes by adding sanity checks. * macosx/tkMacOSXButton.c: fix debug msg typo.file: [4349a984] check-in: [fe12de19] user: das branch: core-8-4-branch, size: 43846 | |
12:55 |
* macosx/tkMacOSXWindowEvent.c: ensure window is brought to the front * macosx/tkMacOSXMouseEvent.c: at the start of a window drag (except * macosx/tkMacOSXInt.h: when cmd key is down); formatting and whitespace fixes. * macosx/tkMacOSXDialog.c (Tk_GetSaveFileObjCmd): add -filetypes option processing (fixes fileDialog-0.1, fileDialog-0.2 failures). * macosx/tkMacOSXEmbed.c (TkpMakeWindow, TkpUseWindow): fix sending of Visibility event for embedded windows (fixes frame-3.9 hang). * macosx/tkMacOSXScrlbr.c (ScrollbarBindProc): fix testsuite * macosx/tkMacOSXSubwindows.c (TkMacOSXUpdateClipRgn): crashes by adding sanity checks. * macosx/Wish.xcodeproj/project.pbxproj: add 'DebugUnthreaded' & * macosx/Wish.xcodeproj/default.pbxuser: 'DebugLeaks' targets and env var settings needed to run the 'leaks' tool. * macosx/tkMacOSXButton.c: fix debug msg typo.file: [d2f24cde] check-in: [e7962b79] user: das branch: trunk, size: 43804 | |
2007-04-29
| ||
02:26 |
* macosx/tkMacOSXCarbonEvents.c: add window event target carbon event * macosx/tkMacOSXEvent.c: handler for all kEventClassWindow and * macosx/tkMacOSXEvent.h: kEventClassMouse events; move all * macosx/tkMacOSXNotify.c: remaining events except for * macosx/tkMacOSXWindowEvent.c: kEventClassKeyboard from dispatcher to application event handler; pass event handler callRef downstream; fix debug event tracing; process all tcl event types in carbon event timer; delay carbon event timer first fire; add TkMacOSXTrackingLoop() to mark enter/exit of event tracking loop during which all tcl events but only carbon update events should be processed by the timer (replaces various calls to Tcl_SetServiceMode()); rename TkMacOSXReceiveAndProcessEvent() to TkMacOSXReceiveAndDispatchEvent(), move it from tkMacOSXEvent.c to tkMacOSXCarbonEvents.c and modify it to dequeue only update events during a tracking loop; add TkMacOSXRunTclEventLoop() to standardize the various ways in use to run the tcl event loop; add handling of kEventClassAppearance events (for ScrollBarVariantChanged event). * macosx/tkMacOSXDialog.c: use new TkMacOSXTrackingLoop() around * macosx/tkMacOSXEvent.c: blocking API that puts up modal dialogs * macosx/tkMacOSXMenu.c: or when entering/exiting menu/control * macosx/tkMacOSXMouseEvent.c: tracking, window dragging and other * macosx/tkMacOSXScale.c: mouse tracking loops. * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXDialog.c: use new TkMacOSXRunTclEventLoop() * macosx/tkMacOSXScale.c: instead of Tcl_DoOneEvent(), * macosx/tkMacOSXScrlbr.c: Tcl_ServiceAll(), TclServiceIdle() * macosx/tkMacOSXWindowEvent.c: and Tcl_GlobalEval("update idletasks"). * macosx/tkMacOSXColor.c: make available as Tk system colors all * macosx/tkMacOSXPort.h: appearance manager brushes, text colors and backgrounds with new and legacy names, as well as the fully transparent color "systemTransparent"; add TkMacOSXSetColorIn{Port,Context}() to directly set an X pixel color value in the current QD port resp. the given CG context without requiring passage through rgb representation (lossy for most system colors); modernize/remove Classic-era code; replace crufty strcmp() elseifs by Tcl_GetIndexFromObjStruct(). * macosx/tkMacOSXButton.c: use new TkMacOSXSetColorInPort() * macosx/tkMacOSXDraw.c: instead of setting rgb color directly * macosx/tkMacOSXMenubutton.c: to allow for non-rgb system colors. * macosx/tkMacOSXCursor.c: implement "none" cursor as on other platforms [Patch 1615427]; add all missing appearance manager cursors. * macosx/tkMacOSXDefault.h: set SELECT_FG_COLORs to None to match aqua L&F; use standard system color names; use new 'menu' system font; correct default scrollbar width. * macosx/tkMacOSXDraw.c: standardize initialization, use and * macosx/tkMacOSXInt.h: emptying of various static temp rgns * macosx/tkMacOSXRegion.c: onto two global RgnHandles; in debug * macosx/tkMacOSXSubwindows.c: builds, verify emptiness of these temp * macosx/tkMacOSXWindowEvent.c: rgns before use. * macosx/tkMacOSXDraw.c: add TkMacOSX{Setup,Restore}DrawingContext() to * macosx/tkMacOSXInt.h: abstract common setup & teardown of drawing environment (for both CG and QD); save/restore QD theme drawing state; handle GC clip region; add TkpClipDrawableToRect() to allow clipped drawing into drawable regardless of GC used; use new system color "systemWindowHeaderBackground" to setup background in themed toplevels; correct implementation of TkMacOSXMakeStippleMap(). * macosx/tkMacOSXEntry.c: use new TkMacOSXSetupDrawingContext() and * macosx/tkMacOSXFont.c: TkMacOSXRestoreDrawingContext() instead of various setup/teardown procs like TkMacOSX{SetUp,Release}CGContext(), TkMacOSXQuarz{Start,End}Draw(), TkMacOSXSetUpGraphicsPort() etc. * macosx/tkMacOSXEmbed.c: add CG context and drawable clip rgn fields * macosx/tkMacOSXInt.h: to MacDrawable struct. * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXDialog.c: make -parent option of tk_getOpenFile et al. use the sheet version of NavServices dialogs; ensure native parent win exists before using StandardSheet API for tk_messageBox [Bug 1677611]; force sheets to behave like app-modal dialogs via WindowModality() API; use more modern ColorPicker API. * macosx/tkAboutDlg.r: use themed movable modal dialog, fix (c) year. * macosx/tkMacOSXEntry.c: take xOff/yOff of MacDrawable into account when computing locations/bounds to ensure correct posititioning when not drawing into intermediate pixmap. * macosx/tkMacOSXFont.c: use appearance manager API to map system font * macosx/tkMacOSXFont.h: names to TkFonts; add "menu" system font for menu item text drawing from MDEF; disable broken QD stippling. * macosx/tkMacOSXMenu.c: large-scale rewrite of custom * macosx/tkMacOSXMenu.r (removed): MDEF and related code that * unix/Makefile.in: restores many longtime-MIA features to working order (e.g. images, custom colors & fonts in menus etc); implement compound menu items; use Appearance Mgr and ThemeText APIs to mimic native MDEF as closely as possible when default "menu" system font is used; remove now obsolete SICN drawing code and resources. * macosx/tkMacOSXCarbonEvents.c: handle additional menu carbon events * macosx/tkMacOSXEvent.c: in order to support <<MenuSelect>> in * macosx/tkMacOSXMenu.c: the menubar and in menus that are not * macosx/tkMacOSXMenus.c: using the custom MDEF [Bug 1620826]; fix early and missing clearing of current Tk active menu entry; fix extraneous sending of <<MenuSelect>> during active menu entry clearing. * macosx/tkMacOSXMouseEvent.c: add support for async window dragging by the window server; set the corresponding window attribute by default. * macosx/tkMacOSXMouseEvent.c: rationalized handling order of non-mousedown events; add TkMacOSXModifierState() to retrieve the current key modifiers in carbon format. * macosx/tkMacOSXScrlbr.c: use appearance manager API to retrieve scrollbar component metrics; add awareness of multiple possibilites for scrollbar arrow position in aqua and handle user changes to arrow position pref; handle difference in metrics of small & large scrollbar variants; handle aqua "jump to here" scrollbar behaviour; correct computation of scroll view size and position; enforce min scrollbar height to avoid scrollbar component overlap; erase scrollbar area outside of standard width; remove broken auto-adjust code; account for window class when leaving space for grow box; remove code to manually draw grow box; use modern API for thumb scroll proc; replace HiliteControl() by modern API; replace control mgr constants with appearance mgr equivalents. * macosx/tkMacOSXSubwindows.c: use SetWindowBounds() API instead of SizeWindow(); invalidate clip regions after X{Map,Unmap}Window as fix for [Bug 940117] made them dependent on mapping state; remove unneeded calls to TkMacOSXInvalClipRgns() and unnecessary setting of QD port; use native-endian pixmap on intel; remove obsolete pixmap pix locking. * macosx/tkMacOSXWindowEvent.c: handle only the first of a batch of kEventAppAvailableWindowBoundsChanged events sent per transaction; handle kEventWindowBoundsChanged event to support live window resizing and centralized sending of location/size changed ConfigureNotify events; ensure HIGrowBox is redrawn after bounds change; constrain window after dragging to ensure titlebar is not inacessible offscreen or under dock/menubar; handle kEventWindowGetRegion and kEventWindowDrawContent for transparent windows to mark resp. paint content region as transparent; handle kEventWindowConstrain for fullscreen windows to ensure bounds match new screen size; enter/exit fullscreen UIMode upon activation/deactivation of fullscreen window. * macosx/tkMacOSXWm.c: use live-resize and async-drag carbon window * macosx/tkMacOSXWm.h: attributes for toplevels by default; implement new [wm attributes] -topmost, -transparent and -fullscreen; refactor WmAttributesCmd() parallelling the tkUnixWm.c implementation, use thus factored proc to set proxy icon from [wm iconbitmap]; dynamically determine default values for toplevel min and max sizes (similar to tkWinWm.c impl): min sizes depend on window class & attributes to ensure visibility of all titlebar widgets and grow box, max sizes depend on maximal window bounds for all active displays; factor out code that puts into effect changes to master or override_redirect; use RepositionWindow() API to determine staggered initial window bounds; correct resize limit calculations, handle gridding and use modern resize API in TkMacOSXGrowToplevel(); remove sending of ConfigureNotify after resize or zoom (now handled by BoundsChanged handler); correct composite carbon window attribute handling, remove currently unusable attributes and add new attributes in [tk::unsupported::MacWindowStyle]; ensure validity of window class and attributes before use; apply changes to window class when handling carbon window attribute changes (if HIWindowChangeClass() API available); add debug build warning message when deprecated window style is used instead of window class; use transparent HIGrowBox for resizable windows; avoid unnecessary calls to window structure width API; use tcl time API in TkpGetMS(); add TkMacOSXEnterExitFullscreen() to enter/exit UIMode with dock and menubar hidden; restrict wmTracing output to debug builds; remove unneeded calls to TkMacOSXInvalClipRgns() and unnecessary setting of QD port; workaround GetWindowStructureWidths() Carbon bug (bogus results for never-mapped floating windows). * macosx/tkMacOSXXStubs.c (TkMacOSXDisplayChanged): add maximal window bounds field to Screen record (in ext_data), computed as the union of available window positioning bounds of all graphics devices (displays). * macosx/tkMacOSXBitmap.c: fix macRoman encoding leak. * macosx/tkMacOSXCursor.c: * macosx/tkMacOSXDebug.c (TkMacOSXCarbonEventToAscii): use static * macosx/tkMacOSXDebug.h: buffer to simplify callers; const fixes. * macosx/tkMacOSXBitmap.c: use more efficient QDSwapPort() instead of * macosx/tkMacOSXButton.c: GetPort()/SetPort()/GetGWorld()/SetGWorld(). * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXXStubs.c: * macosx/tkMacOSXColor.c: use kHIToolboxVersionNumber for runtime OS * macosx/tkMacOSXEntry.c: version check rather than Gestalt() etc. * macosx/tkMacOSXInt.h: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXDraw.c: remove obsolete and now incorrect * macosx/tkMacOSXInt.h: tkMenuCascadeRgn clipping code. * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXHLEvents.c: replace Tcl_GlobalEval() resp. Tcl_Eval() * macosx/tkMacOSXScrlbr.c: by Tcl_EvalEx(). * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInit.c (TkpInit): reorder initialization steps. * macosx/tkMacOSXKeyEvent.c: remove pre-10.2 support. * macosx/tkMacOSXMenus.c: remove now useless call to TkMacOSXHandleTearoffMenu(); use \x.. quoting for non-latin1 macroman literar chars to allow file to be edited as utf-8. * macosx/tkMacOSXScale.c: replace TrackControl() by modern * macosx/tkMacOSXScrlbr.c: HandleControlClick() API (using new TkMacOSXModifierState()). * macosx/tkMacOSXInt.h: move all constant #defines needed to * macosx/tkMacOSXColor.c: support building on older OS X releases * macosx/tkMacOSXEvent.h: to a central location in tkMacOSXInt.h. * macosx/tkMacOSXFont.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXInt.h: add ChkErr() macro to factor out * macosx/tkMacOSXButton.c: Carbon OSStatus return value checking * macosx/tkMacOSXCarbonEvents.c: and TkMacOSXDbgMsg() macro to factour * macosx/tkMacOSXClipboard.c: out debug message output; use these * macosx/tkMacOSXColor.c: macros to replace #ifdef TK_MAC_DEBUG * macosx/tkMacOSXCursor.c: blocks & direct printing to stderr, * macosx/tkMacOSXDebug.c: and to do additional OSStatus return * macosx/tkMacOSXDialog.c: checking, and to standardize OSStatus * macosx/tkMacOSXDraw.c: usage. * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * macosx/tkMacOSXSend.c: remove duplicate/unused declarations. * macosx/tkMacOSXXStubs.c: * macosx/tkMacOSXDebug.c: const fixes. * macosx/tkMacOSXInit.c: * macosx/tkMacOSXTest.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * macosx/Wish-Info.plist.in: add tcl document extensions/mime types and LSMinimumSystemVersion, LSRequiresCarbon & NSAppleScriptEnabled keys. * macosx/tkMacOSXAETE.r: fix whitespace. * macosx/tkMacOSXConfig.c: * macosx/tkMacOSXCursors.r: * macosx/tkMacOSXKeyboard.c: * macosx/tkMacOSXSend.c: * macosx/tkMacOSXXCursors.r: * macosx/README: * macosx/Makefile: fix/add copyright and license refs. * macosx/Tk-Info.plist.in: * macosx/Wish-Info.plist.in: * macosx/tkMacOSX.h:file: [092a1492] check-in: [c91e0ad0] user: das branch: core-8-4-branch, size: 43753 | |
2007-04-23
| ||
21:24 |
* macosx/tkMacOSXCarbonEvents.c: add window event target carbon event * macosx/tkMacOSXEvent.c: handler for all kEventClassWindow and * macosx/tkMacOSXEvent.h: kEventClassMouse events; * macosx/tkMacOSXNotify.c: move all remaining events except for * macosx/tkMacOSXWindowEvent.c: kEventClassKeyboard from dispatcher to application event handler; pass event handler callRef downstream; fix debug event tracing; process all tcl event types in carbon event timer; delay carbon event timer first fire; add TkMacOSXTrackingLoop() to mark enter/exit of event tracking loop during which all tcl events but only carbon update events should be processed by the timer (replaces various calls to Tcl_SetServiceMode()); rename TkMacOSXReceiveAndProcessEvent() to TkMacOSXReceiveAndDispatchEvent(), move it from tkMacOSXEvent.c to tkMacOSXCarbonEvents.c and modify it to dequeue only update events during a tracking loop; add TkMacOSXRunTclEventLoop() to standardize the various ways in use to run the tcl event loop; add handling of kEventClassAppearance events (for ScrollBarVariantChanged event). * macosx/tkMacOSXDialog.c: use new TkMacOSXTrackingLoop() around * macosx/tkMacOSXEvent.c: blocking API that puts up modal dialogs * macosx/tkMacOSXMenu.c: or when entering/exiting menu/control * macosx/tkMacOSXMouseEvent.c: tracking, window dragging and other * macosx/tkMacOSXScale.c: mouse tracking loops. * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXDialog.c: use new TkMacOSXRunTclEventLoop() * macosx/tkMacOSXScale.c: instead of Tcl_DoOneEvent(), * macosx/tkMacOSXScrlbr.c: Tcl_ServiceAll(), TclServiceIdle() * macosx/tkMacOSXWindowEvent.c: and Tcl_GlobalEval("update idletasks"). * macosx/tkMacOSXColor.c: make available as Tk system colors all * macosx/tkMacOSXPort.h: appearance manager brushes, text colors and backgrounds with new and legacy names, as well as the fully transparent color "systemTransparent"; add TkMacOSXSetColorIn{Port,Context}() to directly set an X pixel color value in the current QD port resp. the given CG context without requiring passage through rgb representation (lossy for most system colors); modernize/remove Classic-era code; replace crufty strcmp() elseifs by Tcl_GetIndexFromObjStruct(). * macosx/tkMacOSXButton.c: use new TkMacOSXSetColorInPort() * macosx/tkMacOSXDraw.c: instead of setting rgb color directly * macosx/tkMacOSXMenubutton.c: to allow for non-rgb system colors. * macosx/tkMacOSXCursor.c: implement "none" cursor as on other platforms [Patch 1615427]; add all missing appearance manager cursors. * macosx/tkMacOSXDefault.h: set SELECT_FG_COLORs to None to match aqua L&F; use standard system color names; use new 'menu' system font; correct default scrollbar width. * macosx/tkMacOSXDraw.c: standardize initialization, use and * macosx/tkMacOSXInt.h: emptying of various static temp rgns * macosx/tkMacOSXRegion.c: onto two global RgnHandles; in debug * macosx/tkMacOSXSubwindows.c: builds, verify emptiness of these temp * macosx/tkMacOSXWindowEvent.c: rgns before use. * macosx/tkMacOSXDraw.c: add TkMacOSX{Setup,Restore}DrawingContext() to * macosx/tkMacOSXInt.h: abstract common setup & teardown of drawing environment (for both CG and QD); save/restore QD theme drawing state; handle GC clip region; add TkpClipDrawableToRect() to allow clipped drawing into drawable regardless of GC used; use new system color "systemWindowHeaderBackground" to setup background in themed toplevels; correct implementation of TkMacOSXMakeStippleMap(). * macosx/tkMacOSXEntry.c: use new TkMacOSXSetupDrawingContext() and * macosx/tkMacOSXFont.c: TkMacOSXRestoreDrawingContext() instead of * macosx/ttkMacOSXTheme.c: various setup/teardown procs like TkMacOSX{SetUp,Release}CGContext(), TkMacOSXQuarz{Start,End}Draw(), TkMacOSXSetUpGraphicsPort() etc. * macosx/tkMacOSXEmbed.c: add CG context and drawable clip rgn fields * macosx/tkMacOSXInt.h: to MacDrawable struct. * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXDialog.c: make -parent option of tk_getOpenFile et al. use the sheet version of NavServices dialogs; ensure native parent win exists before using StandardSheet API for tk_messageBox [Bug 1677611]; force sheets to behave like app-modal dialogs via WindowModality() API; use more modern ColorPicker API. * macosx/tkAboutDlg.r: use themed movable modal dialog, fix (c) year. * macosx/tkMacOSXEntry.c: take xOff/yOff of MacDrawable into account * macosx/ttkMacOSXTheme.c: when computing locations/bounds to ensure correct posititioning when not drawing into intermediate pixmap. * macosx/tkMacOSXFont.c: use appearance manager API to map system font * macosx/tkMacOSXFont.h: names to TkFonts; add "menu" system font for menu item text drawing from MDEF; always draw with CG; remove QD dependent stippling algorithm; move most header declarations into the source file (as they were not used anywhere else). * macosx/tkMacOSXMenu.c: large-scale rewrite of custom * macosx/tkMacOSXMenu.r (removed): MDEF and related code that * macosx/Wish.xcode/project.pbxproj: restores many longtime-MIA * macosx/Wish.xcodeproj/project.pbxproj: features to working order * unix/Makefile.in: (e.g. images, custom colors & fonts in menus etc); implement compound menu items; use Appearance Mgr and ThemeText APIs to mimic native MDEF as closely as possible when default "menu" system font is used; remove now obsolete SICN drawing code and resources. * macosx/tkMacOSXCarbonEvents.c: handle additional menu carbon events * macosx/tkMacOSXEvent.c: in order to support <<MenuSelect>> in * macosx/tkMacOSXMenu.c: the menubar and in menus that are not * macosx/tkMacOSXMenus.c: using the custom MDEF [Bug 1620826]; fix early and missing clearing of current Tk active menu entry; fix extraneous sending of <<MenuSelect>> during active menu entry clearing. * macosx/tkMacOSXMouseEvent.c: add support for async window dragging by the window server; set the corresponding window attribute by default. * macosx/tkMacOSXMouseEvent.c: rationalized handling order of non-mousedown events; add TkMacOSXModifierState() to retrieve the current key modifiers in carbon format. * macosx/tkMacOSXScrlbr.c: use appearance manager API to retrieve scrollbar component metrics; add awareness of multiple possibilites for scrollbar arrow position in aqua and handle user changes to arrow position pref; handle difference in metrics of small & large scrollbar variants; handle aqua "jump to here" scrollbar behaviour; correct computation of scroll view size and position; enforce min scrollbar height to avoid scrollbar component overlap; erase scrollbar area outside of standard width; remove broken auto-adjust code; account for window class when leaving space for grow box; remove code to manually draw grow box; use modern API for thumb scroll proc; replace HiliteControl() by modern API; replace control mgr constants with appearance mgr equivalents. * macosx/tkMacOSXSubwindows.c: use SetWindowBounds() API instead of SizeWindow(); invalidate clip regions after X{Map,Unmap}Window as fix for [Bug 940117] made them dependent on mapping state; remove unneeded calls to TkMacOSXInvalClipRgns() and unnecessary setting of QD port; use native-endian pixmap on intel; remove obsolete pixmap pix locking. * macosx/tkMacOSXWindowEvent.c: handle only the first of a batch of kEventAppAvailableWindowBoundsChanged events sent per transaction; handle kEventWindowBoundsChanged event to support live window resizing and centralized sending of location/size changed ConfigureNotify events; ensure HIGrowBox is redrawn after bounds change; constrain window after dragging to ensure titlebar is not inacessible offscreen or under dock/menubar; handle kEventWindowGetRegion and kEventWindowDrawContent for transparent windows to mark resp. paint content region as transparent; handle kEventWindowConstrain for fullscreen windows to ensure bounds match new screen size; enter/exit fullscreen UIMode upon activation/deactivation of fullscreen window. * macosx/tkMacOSXWm.c: use live-resize and async-drag carbon window * macosx/tkMacOSXWm.h: attributes for toplevels by default; implement new [wm attributes] -topmost, -transparent and -fullscreen; refactor WmAttributesCmd() parallelling the tkUnixWm.c implementation, use thus factored proc to set proxy icon from [wm iconbitmap]; dynamically determine default values for toplevel min and max sizes (similar to tkWinWm.c impl): min sizes depend on window class & attributes to ensure visibility of all titlebar widgets and grow box, max sizes depend on maximal window bounds for all active displays; factor out code that puts into effect changes to master or override_redirect; use RepositionWindow() API to determine staggered initial window bounds; correct resize limit calculations, handle gridding and use modern resize API in TkMacOSXGrowToplevel(); remove sending of ConfigureNotify after resize or zoom (now handled by BoundsChanged handler); correct composite carbon window attribute handling, remove currently unusable attributes and add new attributes in [tk::unsupported::MacWindowStyle]; ensure validity of window class and attributes before use; apply changes to window class when handling carbon window attribute changes (if HIWindowChangeClass() API available); add debug build warning message when deprecated window style is used instead of window class; use transparent HIGrowBox for resizable windows; avoid unnecessary calls to window structure width API; use tcl time API in TkpGetMS(); add TkMacOSXEnterExitFullscreen() to enter/exit UIMode with dock and menubar hidden; restrict wmTracing output to debug builds; remove unneeded calls to TkMacOSXInvalClipRgns() and unnecessary setting of QD port; workaround GetWindowStructureWidths() Carbon bug (bogus results for never-mapped floating windows). * macosx/tkMacOSXXStubs.c (TkMacOSXDisplayChanged): add maximal window bounds field to Screen record (in ext_data), computed as the union of available window positioning bounds of all graphics devices (displays). * macosx/tkMacOSXBitmap.c: fix macRoman encoding leak. * macosx/tkMacOSXCursor.c: * macosx/tkMacOSXDebug.c (TkMacOSXCarbonEventToAscii): use static * macosx/tkMacOSXDebug.h: buffer to simplify callers; const fixes. * macosx/tkMacOSXBitmap.c: use more efficient QDSwapPort() instead of * macosx/tkMacOSXButton.c: GetPort()/SetPort()/GetGWorld()/SetGWorld(). * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXXStubs.c: * macosx/tkMacOSXColor.c: use kHIToolboxVersionNumber for runtime OS * macosx/tkMacOSXEntry.c: version check rather than Gestalt() etc. * macosx/tkMacOSXInt.h: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXDraw.c: remove obsolete and now incorrect * macosx/tkMacOSXInt.h: tkMenuCascadeRgn clipping code. * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXHLEvents.c: replace Tcl_GlobalEval() resp. Tcl_Eval() * macosx/tkMacOSXScrlbr.c: by Tcl_EvalEx(). * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInit.c (TkpInit): reorder initialization steps. * macosx/tkMacOSXKeyEvent.c: remove pre-10.2 support. * macosx/tkMacOSXMenus.c: remove now useless call to TkMacOSXHandleTearoffMenu(); use \x.. quoting for non-latin1 macroman literar chars to allow file to be edited as utf-8. * macosx/tkMacOSXScale.c: replace TrackControl() by modern * macosx/tkMacOSXScrlbr.c: HandleControlClick() API (using new TkMacOSXModifierState()). * macosx/tkMacOSXInt.h: move all constant #defines needed to * macosx/tkMacOSXColor.c: support building on older OS X releases * macosx/tkMacOSXEvent.h: to a central location in tkMacOSXInt.h. * macosx/tkMacOSXFont.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXWm.c: * macosx/ttkMacOSXTheme.c: * macosx/tkMacOSXInt.h: add ChkErr() macro to factor out * macosx/tkMacOSXButton.c: Carbon OSStatus return value checking * macosx/tkMacOSXCarbonEvents.c: and TkMacOSXDbgMsg() macro to factour * macosx/tkMacOSXClipboard.c: out debug message output; use these * macosx/tkMacOSXColor.c: macros to replace #ifdef TK_MAC_DEBUG * macosx/tkMacOSXCursor.c: blocks & direct printing to stderr, * macosx/tkMacOSXDebug.c: and to do additional OSStatus return * macosx/tkMacOSXDialog.c: checking, and to standardize OSStatus * macosx/tkMacOSXDraw.c: usage. * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * macosx/tkMacOSXSend.c: remove duplicate/unused declarations * macosx/tkMacOSXXStubs.c: * macosx/tkMacOSXDebug.c: const fixes. * macosx/tkMacOSXInit.c: * macosx/tkMacOSXTest.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * macosx/Wish-Info.plist.in: add tcl document extensions/mime types and LSMinimumSystemVersion, LSRequiresCarbon & NSAppleScriptEnabled keys. * macosx/Wish-Common.xcconfig: add Wish's Info.plist as __info_plist section to tktest; enable more warnings. * macosx/Wish.xcodeproj/project.pbxproj: add 'DebugMemCompile' build configuration that calls configure with --enable-symbols=all; disable configure check for __attribute__((__visibility__("hidden"))) in Debug configuration to restore availability of ZeroLink. * macosx/Wish-Common.xcconfig: fix whitespace. * macosx/Wish-Debug.xcconfig: * macosx/Wish-Release.xcconfig: * macosx/tkMacOSXAETE.r: * macosx/tkMacOSXConfig.c: * macosx/tkMacOSXCursors.r: * macosx/tkMacOSXKeyboard.c: * macosx/tkMacOSXSend.c: * macosx/ttkMacOSXTheme.c: * macosx/tkMacOSXXCursors.r: * macosx/README: * macosx/GNUmakefile: fix/add copyright and license refs. * macosx/Tk-Info.plist.in: * macosx/Wish-Info.plist.in: * macosx/Wish.xcode/project.pbxproj: * macosx/Wish.xcodeproj/project.pbxproj: * macosx/tkMacOSX.h:file: [df005bd7] check-in: [d9c03a54] user: das branch: trunk, size: 43723 | |
2007-04-21
| ||
19:06 |
* macosx/tkMacOSXBitmap.c, macosx/tkMacOSXButton.c: * macosx/tkMacOSXCarbonEvents.c, macosx/tkMacOSXClipboard.c: * macosx/tkMacOSXCursor.c, macosx/tkMacOSXDialog.c: * macosx/tkMacOSXDraw.c, macosx/tkMacOSXEvent.c: * macosx/tkMacOSXFont.c, macosx/tkMacOSXInit.c, macosx/tkMacOSXInt.h: * macosx/tkMacOSXKeyEvent.c, macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c, macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXScale.c, macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: Revert of commits from 2007-04-13 which broke the OS X build.file: [7759666b] check-in: [888addf4] user: hobbs branch: trunk, size: 44047 | |
2007-04-13
| ||
14:51 | Reduce the #ifdef count a lot by adding debug-print macros file: [4531ab95] check-in: [825336d2] user: dkf branch: trunk, size: 42268 | |
2006-12-01
| ||
07:13 |
* macosx/tkMacOSXDialog.c (Tk_MessageBoxObjCmd): fix inability to use buttons with standard Escape key binding as -default button (reported on tcl-mac by Hans-Christoph Steiner).file: [c6815f24] check-in: [1ecb3412] user: das branch: core-8-4-branch, size: 44107 | |
07:13 |
* macosx/tkMacOSXDialog.c (Tk_MessageBoxObjCmd): fix inability to use buttons with standard Escape key binding as -default button (reported on tcl-mac by Hans-Christoph Steiner).file: [3ca498c9] check-in: [cd53cd85] user: das branch: trunk, size: 44045 | |
2006-04-11
| ||
12:05 |
* macosx/tkMacOSXDialog.c (Tk_MessageBoxObjCmd): added standard Escape key binding for msgbox cancel buttons [Patch 1193614], whitespace.file: [35bc005a] check-in: [8d79cf26] user: das branch: trunk, size: 43936 | |
12:05 |
* macosx/tkMacOSXDialog.c (Tk_MessageBoxObjCmd): added standard Escape key binding for msgbox cancel buttons [Patch 1193614], whitespace.file: [d05c7088] check-in: [1912d481] user: das branch: core-8-4-branch, size: 43998 | |
2006-03-28
| ||
02:44 |
* macosx/tkMacOSX.h: Cleaned up & rationalized order of * macosx/tkMacOSXBitmap.c: #includes of tk and carbon headers; * macosx/tkMacOSXButton.c: sync whitespace, comments & minor * macosx/tkMacOSXCarbonEvents.c: changes with HEAD. * macosx/tkMacOSXClipboard.c: * macosx/tkMacOSXColor.c: * macosx/tkMacOSXConfig.c: * macosx/tkMacOSXCursor.c: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEmbed.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXEvent.h: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXFont.h (new file): * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXKeyboard.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXRegion.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXSend.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXTest.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXWm.h: * macosx/tkMacOSXXStubs.c:file: [bb48903c] check-in: [761084f8] user: das branch: core-8-4-branch, size: 51396 | |
2006-03-24
| ||
14:58 |
* generic/tkTextDisp.c: moved #ifdef MAC_OSX_TK code added by * macosx/tkMacOSXColor.c: Patch #638966 into platform specific * macosx/tkMacOSXInt.h: files. * macosx/tkMacOSX.h: cleaned up & rationalized order of * macosx/tkMacOSXBitmap.c: #includes of tk and carbon headers. * macosx/tkMacOSXButton.c: * macosx/tkMacOSXCarbonEvents.c: * macosx/tkMacOSXClipboard.c: * macosx/tkMacOSXColor.c: * macosx/tkMacOSXConfig.c: * macosx/tkMacOSXCursor.c: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEmbed.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXEvent.h: * macosx/tkMacOSXFont.h: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXKeyboard.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXRegion.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXSend.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXWm.h: * macosx/tkMacOSXXStubs.c:file: [f8757cbe] check-in: [bd201bc0] user: das branch: trunk, size: 51322 | |
2005-11-27
| ||
02:36 |
* unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(), add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to configure (flag can't be present twice, so can't be in both CFLAGS and LDFLAGS during configure), don't use -prebind when deploying on 10.4, define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542). (SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete autoconf macros. Sync with tk/unix/tcl.m4, sync whitespace with HEAD. * unix/configure.in: fix obsolete autoconf macros, sync gratuitous formatting/ordering differences with tcl/unix/configure.in. * unix/Makefile.in: add CFLAGS to wish/tktest link to make executable linking the same as during configure (needed to avoid loosing any linker relevant flags in CFLAGS, in particular flags that can't be in LDFLAGS). Avoid concurrent linking of wish and compiling of tkTestInit.o during parallel make, fix dependencies and flags for building tkMacOSXInit.o (checkstubs, checkexports): dependency and Darwin fixes * macosx/tkMacOSXEvent.c (TkMacOSXProcessEvent): * macosx/tkMacOSXEvent.h: * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): * macosx/tkMacOSXCarbonEvents.c: install standard application event handler, add & call functions to start and stop carbon even timer that runs the tcl event loop periodically during a nested carbon event loop in the toolbox (e.g. during menutracking) to ensure tcl timers etc continue to fire, register app event handler for menu tracking and HI command carbon events, move menu event handling to new handlers for those carbon events, no longer register for/handle appleevent carbon event (now dealt with by standard application event handler), event debugging code dynamically acquires carbon event debugging functions to allow use on Tiger where they are no longer exported from HIToolbox. * macosx/tkMacOSXFont.c (TkMacOSXUseAntialiasedText): * macosx/tkMacOSXKeyEvent.c (GetKeyboardLayout): * macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: abstract common code to dynamically acquire address of a named symbol (from a loaded dynamic library) into new function TkMacOSXGetNamedSymbol() and macro TkMacOSXInitNamedSymbol. * macosx/tkMacOSXMenu.c (TkpNewMenu): * macosx/tkMacOSXMenubutton.c (MenuButtonInitControl): * macosx/tkMacOSXMenus.c (TkMacOSXHandleMenuSelect): switch to modern utf8 aware menu manager API, remove obsolete code, add error handling. * macosx/tkMacOSXMouseEvent.c: define OSX 10.3 or later only constants if necessary to allow compilation on OSX 10.2 * macosx/tkMacOSXWm.c (UpdateSizeHints): remove code that is never executed. * generic/tk.h: add/correct location of version numbers in macosx files. * generic/tkInt.h: clarify fat compile comment. * macosx/Wish.pbproj/default.pbxuser (new file): * macosx/Wish.pbproj/jingham.pbxuser: * macosx/Wish.pbproj/project.pbxproj: sync with HEAD. * macosx/buildTkConfig.tcl (removed): remove obsolete build files. * macosx/README: clarification/cleanup, sync with HEAD, document universal (fat) builds via CFLAGS (i.e. ppc and i386 at the same time). * macosx/Makefile: add support for reusing configure cache, build target fixes. * generic/tkMenu.c: * macosx/tkMacOSXButton.c: * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDebug.h: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXXStubs.c: * macosx/tkMacOSXSubwindows.c: * xlib/xgc.c: declare functions and globals used only in own file as static, #ifdef out a few Xlib and aqua functions that are never called (sync with HEAD). * macosx/tkMacOSXPort.h: * generic/tkInt.decls: correct signature of TkMacOSXHandleMenuSelect, add XSync to aqua Xlib stubs. * generic/tkTest.c: #ifdef unix only declarations. (TestmetricsCmd): unify win and mac implementation. * generic/tkTextDisp.c: * generic/tkTextBTree.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXXStubs.c: fix gcc 4 warnings. * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXTest.c: sync with HEAD. * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkStubInit.c: * unix/configure: regen.file: [b745690f] check-in: [e1543974] user: das branch: core-8-4-branch, size: 51461 | |
02:36 |
* unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(), add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to configure (flag can't be present twice, so can't be in both CFLAGS and LDFLAGS during configure), don't use -prebind when deploying on 10.4, define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542). (SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete autoconf macros. Sync with tcl/unix/tcl.m4. * unix/configure.in: fix obsolete autoconf macros, sync gratuitous formatting/ordering differences with tcl/unix/configure.in. * unix/Makefile.in: add CFLAGS to wish/tktest link to make executable linking the same as during configure (needed to avoid loosing any linker relevant flags in CFLAGS, in particular flags that can't be in LDFLAGS). Avoid concurrent linking of wish and compiling of tkTestInit.o during parallel make, fix dependencies and flags for building tkMacOSXInit.o (checkstubs, checkexports): dependency and Darwin fixes (dist): add new macosx files. * macosx/tkMacOSXEvent.c (TkMacOSXProcessEvent): * macosx/tkMacOSXEvent.h: * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): * macosx/tkMacOSXCarbonEvents.c: install standard application event handler, add & call functions to start and stop carbon even timer that runs the tcl event loop periodically during a nested carbon event loop in the toolbox (e.g. during menutracking) to ensure tcl timers etc continue to fire, register app event handler for menu tracking and HI command carbon events, move menu event handling to new handlers for those carbon events, no longer register for/handle appleevent carbon event (now dealt with by standard application event handler), event debugging code dynamically acquires carbon event debugging functions to allow use on Tiger where they are no longer exported from HIToolbox. * macosx/tkMacOSXFont.c (TkMacOSXUseAntialiasedText): * macosx/tkMacOSXKeyEvent.c (GetKeyboardLayout): * macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: abstract common code to dynamically acquire address of a named symbol (from a loaded dynamic library) into new function TkMacOSXGetNamedSymbol() and macro TkMacOSXInitNamedSymbol. * macosx/tkMacOSXMenu.c (TkpNewMenu): * macosx/tkMacOSXMenubutton.c (MenuButtonInitControl): * macosx/tkMacOSXMenus.c (TkMacOSXHandleMenuSelect): switch to modern utf8 aware menu manager API, remove obsolete code, add error handling. * macosx/tkMacOSXMouseEvent.c: define OSX 10.3 or later only constants if necessary to allow compilation on OSX 10.2 * macosx/tkMacOSXWm.c (UpdateSizeHints): remove code that is never executed. * xlib/xgc.c (XCreateGC): sync with core-8-4-branch change. * generic/tk.h: add/correct location of version numbers in macosx files. * generic/tkInt.h: clarify fat compile comment. * macosx/Wish.pbproj/default.pbxuser (new file): * macosx/Wish.pbproj/jingham.pbxuser: * macosx/Wish.pbproj/project.pbxproj: * macosx/Wish.xcode/default.pbxuser: * macosx/Wish.xcode/project.pbxproj: * macosx/Wish.xcodeproj/default.pbxuser (new file): * macosx/Wish.xcodeproj/project.pbxproj (new file): new/updated projects for Xcode 2.2 on 10.4, Xcode 1.5 on 10.3 & ProjectBuilder on 10.2, with native tktest targets and support for universal (fat) compiles. * macosx/Tk-Info.plist (removed): * macosx/Wish-Info.plist (removed): * macosx/buildTkConfig.tcl (removed): remove obsolete build files. * macosx/README: clarification/cleanup, document new Xcode projects and universal (fat) builds via CFLAGS (i.e. ppc and i386 at the same time). * unix/Makefile.in: * unix/aclocal.m4: * unix/configure.in: * macosx/configure.ac (new file): add support for inclusion of unix/configure.in by macosx/configure.ac, allows generation of a config headers enabled configure script in macosx (required by Xcode projects). * macosx/GNUmakefile: rename from Makefile to avoid overwriting by configure run in tk/macosx, add support for reusing configure cache, build target fixes. * generic/tk3d.h: * generic/tkButton.h: * generic/tkCanvas.c: * generic/tkCanvas.h: * generic/tkColor.h: * generic/tkEntry.h: * generic/tkFileFilter.h: * generic/tkFont.c: * generic/tkFont.h: * generic/tkImage.c: * generic/tkImgPhoto.c: * generic/tkInt.h: * generic/tkMenu.c: * generic/tkMenu.h: * generic/tkMenubutton.h: * generic/tkScale.h: * generic/tkScrollbar.h: * generic/tkSelect.h: * generic/tkStubInit.c: * generic/tkStubLib.c: * generic/tkText.h: * generic/tkUndo.h: * macosx/tkMacOSXButton.c: * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDebug.h: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXInt.h: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXSend.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * unix/tkUnixButton.c: * unix/tkUnixMenu.c: * xlib/xgc.c: ensure externally visible symbols not contained in stubs table are declared as MODULE_SCOPE (or as static if not used outside of own source file), #ifdef out a few Xlib and aqua functions that are never called. These changes allow 'make checkstubs' to complete without error on Darwin with gcc 4. * macosx/tkMacOSXTest.c: * macosx/tkMacOSXPort.h: * win/tkWinTest.c: * generic/tkInt.decls: add functions needed by tktest to internal stubs table, correct signature of TkMacOSXHandleMenuSelect, add XSync to aqua Xlib stubs. * unix/tkUnixSend.c: * generic/tkText.c: * generic/tkTest.c: #ifdef unix only declarations. (TestmetricsCmd): unify win and mac implementation. (TestsendCmd): move to tkUnixSend.c to avoid access to global var. (TesttextCmd): move to tkText.c to avoid having to put all the internal text functions it uses into the stubs table. * generic/tkTextDisp.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXXStubs.c: fix gcc 4 warnings. * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXScrlbr.c: sync with core-8-4-branch. * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkStubInit.c: * unix/configure: * unix/tkConfig.h.in: regen.file: [e9d89ca3] check-in: [67cb6f9b] user: das branch: trunk, size: 51388 | |
2005-09-10
| ||
14:54 |
* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): check if process is in front on MouseDown, otherwise request process activation from BringWindowForward() via new isFrontProcess param. * macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): register our event handler on the dispatcher target for all carbon events of interest to TkAqua; this replaces event processing directly from the event queue and thus allows to capture events that are syntesized by Carbon and sent directly to the dispatcher and not to the event queue. * macosx/tkMacOSXEvent.c: remove TkMacOSXCountAndProcessMacEvents(), rename ReceiveAndProcessEvent() to TkMacOSXReceiveAndProcessEvent(). (TkMacOSXReceiveAndProcessEvent): remove tk event processing before sending events to the dispatcher, all events of interest are now processed in our dispatcher target event handler. * macosx/tkMacOSXNotify.c (CarbonEventsCheckProc): dispatch events directly via TkMacOSXReceiveAndProcessEvent(), but dispatch no more than four carbon events at one time to avoid starving other event sources. * macosx/tkMacOSXEvent.c: formatting cleanup, move XSync() to XStubs, * macosx/tkMacOSXEvent.h: removed obsolete kEventClassWish handling. * macosx/tkMacOSXXStubs.c * macosx/tkMacOSXButton.c: conditionalize all debug message printing to * macosx/tkMacOSXCursor.c: stderr via TK_MAC_DEBUG define. * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDebug.h: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * unix/configure.in: define TK_MAC_DEBUG on aqua when symbols enabled. * unix/configure: autoconf-2.13 * library/listbox.tcl: corrected comments. * library/text.tcl: * xlib/xcolors.c: fixed warningfile: [72f796e4] check-in: [cb862bdd] user: das branch: core-8-4-branch, size: 51447 | |
14:53 |
* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): check if process is in front on MouseDown, otherwise request process activation from BringWindowForward() via new isFrontProcess param. * macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): register our event handler on the dispatcher target for all carbon events of interest to TkAqua; this replaces event processing directly from the event queue and thus allows to capture events that are syntesized by Carbon and sent directly to the dispatcher and not to the event queue. * macosx/tkMacOSXEvent.c: remove TkMacOSXCountAndProcessMacEvents(), rename ReceiveAndProcessEvent() to TkMacOSXReceiveAndProcessEvent(). (TkMacOSXReceiveAndProcessEvent): remove tk event processing before sending events to the dispatcher, all events of interest are now processed in our dispatcher target event handler. * macosx/tkMacOSXNotify.c (CarbonEventsCheckProc): dispatch events directly via TkMacOSXReceiveAndProcessEvent(), but dispatch no more than four carbon events at one time to avoid starving other event sources. * macosx/tkMacOSXEvent.c: formatting cleanup, move XSync() to XStubs, * macosx/tkMacOSXEvent.h: removed obsolete kEventClassWish handling. * macosx/tkMacOSXXStubs.c * macosx/tkMacOSXEvent.h: declare macosx internal procs as MODULE_SCOPE. * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXButton.c: conditionalize all debug message printing to * macosx/tkMacOSXCursor.c: stderr via TK_MAC_DEBUG define. * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDebug.h: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * unix/configure.in: define TK_MAC_DEBUG on aqua when symbols enabled. * unix/configure: autoconf-2.59 * unix/tkConfig.h.in: autoheader-2.59 * library/listbox.tcl: synced aqua MouseWheel bindings with * library/scrlbar.tcl: core-8-4-branch. * library/text.tcl: * xlib/xcolors.c: fixed warningfile: [2acdda4f] check-in: [2d5bab52] user: das branch: trunk, size: 51374 | |
2005-08-23
| ||
22:10 |
* macosx/tkMacOSXDialog.c: make dialogs ignore -initialfile "" and -initialdir "" instead of error.file: [c776d9ce] check-in: [9cbd86ce] user: hobbs branch: trunk, size: 51165 | |
22:08 |
* macosx/tkMacOSXDialog.c: make dialogs ignore -initialfile "" and -initialdir "" instead of error.file: [53bba9a2] check-in: [1fbddad6] user: hobbs branch: core-8-4-branch, size: 51512 | |
2005-08-22
| ||
11:55 |
* macosx/tkMacOSXButton.c: * macosx/tkMacOSXDialog.c: fix warnings.file: [536ff5b0] check-in: [4368fe62] user: das branch: core-8-4-branch, size: 51402 | |
11:54 |
* macosx/tkMacOSXButton.c: * macosx/tkMacOSXDialog.c: fix warnings.file: [678d1293] check-in: [058d785d] user: das branch: trunk, size: 51329 | |
2005-08-09
| ||
07:39 |
* macosx/tkMacOSXCarbonEvents.c (new): moved carbon events code into * macosx/tkMacOSXHLEvents.c: new file like on HEAD, * macosx/tkMacOSXInit.c (TkpInit): initialize carbon event handlers * macosx/tkMacOSXInt.h: in TkpInit(), add new source * unix/Makefile.in: file to Makefile.in. * macosx/tkMacOSXCarbonEvents.c (AppEventHandlerProc): handle carbon events sent directly to application event target via the general TkMacOSXProcessEvent() in the same way as events posted to the event loop. Moved existing app event handlers to tkMacOSXWindowEvent.c. (TkMacOSXInitCarbonEvents): register our application event handler for kEventWindowExpanded events to deal with uncollapsing from the dock. * macosx/tkMacOSXEvent.h: made TkMacOSXProcessEvent() non-static, added * macosx/tkMacOSXEvent.c: new interp field to TkMacOSXEvent struct for use by app event handler. * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): retrieve current window, partCode, modifiers and local cursor position from carbon mouse event if possible. Use new static GenerateButtonEvent() taking a MouseEventData struct instead of TkGenerateButtonEvent() to avoid recomputing already known values. Move process activation on MouseDown into BringWindowForward() to allow clicking on window titlebar widgets without activating process. Move code dealing with clicks in window titelbar into separate function HandleWindowTitlebarMouseDown() to avoid code duplication. Avoid repeated calls to TkMacOSXGetXWindow() by storing result in MouseEventData struct. (TkMacOSXButtonKeyState, XQueryPointer): try to get button and modifier state from currently processed carbon event (to avoid unnecessary IPC with the window server), otherwise use modern carbon API to get this info instead of Button() and GetKeys(); only retrieve info caller asks for (via non-NULL ptr passed to XQueryPointer). (ButtonModifiers2State): new static function converting carbon button and modifier state into tk state, allows detection of more than 3 mouse buttons (tk supports up to 5) and of NumLock and Fn modifier keys (NumLock is mapped to Mod3 and Fn to Mod4). * macosx/tkMacOSXWindowEvent.c (TkMacOSXProcessApplicationEvent): handle kEventWindowExpanded event to deal with window uncollapsing from the dock by generating tk Map event, handle kEventAppHidden and kEventAppShown events (moved here from tkMacOSXCarbonEvents.c). * macosx/tkMacOSXSubwindows.c (XUnmapWindow): only hide window when it is not iconified to avoid window flashing on collapse. * macosx/tkMacOSXWm.c: replaced Tk_DoWhenIdle() by Tcl_DoWhenIdle(). (TkMacOSXZoomToplevel): remove call to TrackBox(), now done in HandleWindowTitlebarMouseDown() in tkMacOSXMouseEvent.c. (TkpWmSetState): avoid window flashing on collapse by unmapping after calling CollapseWindow(); only uncollapse window if it is collapsed. * generic/tkInt.decls: changed TkMacOSXZoomToplevel() signature. * generic/tkIntPlatDecls.h: * macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): only call GetMenuItemCommandID() on KeyDown or KeyRepeat events. * macosx/tkMacOSXMenu.c (ReconfigureMacintoshMenu): remove call to obsolete AppendResMenu() API. * macosx/tkMacOSXKeyEvent.c: replaced all direct uses of expensive * macosx/tkMacOSXMenu.c: GetMouse() and TkMacOSXButtonKeyState() * macosx/tkMacOSXMenus.c: APIs by calls to XQueryPointer() * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXDialog.c: replaced use of FrontNonFloatingWindow() * macosx/tkMacOSXKeyEvent.c: by ActiveNonFloatingWindow() as * macosx/tkMacOSXMenu.c: recommended by Carbon docs. * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXDialog.c: fixed warnings * macosx/tkMacOSXTest.c: * macosx/tkMacOSXCarbonEvents.c: added CVS Id line to file header. * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDebug.h: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXEvent.h: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.h: * macosx/tkMacOSXEmbed.c: replaced all uses of panic() with Tcl_Panic() * macosx/tkMacOSXFont.c: (sync with HEAD). * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * macosx/tkMacOSXInt.h: sync with HEAD changes of 2005-03-14. * macosx/tkMacOSXSubwindows.c: * macosx/tclets.r (removed): sync with HEAD. * macosx/tkMacOSXScale.c: * macosx/tkMacOSXPort.h: * library/demos/menu.tcl: removed errant '}'.file: [6f775f52] check-in: [f858b664] user: das branch: core-8-4-branch, size: 51398 | |
07:39 |
* macosx/tkMacOSXCarbonEvents.c (AppEventHandlerProc): handle carbon events sent directly to application event target via the general TkMacOSXProcessEvent() in the same way as events posted to the event loop. Moved existing app event handlers to tkMacOSXWindowEvent.c. (TkMacOSXInitCarbonEvents): register our application event handler for kEventWindowExpanded events to deal with uncollapsing from the dock. * macosx/tkMacOSXEvent.h: made TkMacOSXProcessEvent() non-static, added * macosx/tkMacOSXEvent.c: new interp field to TkMacOSXEvent struct for use by app event handler. * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): retrieve current window, partCode, modifiers and local cursor position from carbon mouse event if possible. Use new static GenerateButtonEvent() taking a MouseEventData struct instead of TkGenerateButtonEvent() to avoid recomputing already known values. Move process activation on MouseDown into BringWindowForward() to allow clicking on window titlebar widgets without activating process. Move code dealing with clicks in window titelbar into separate function HandleWindowTitlebarMouseDown() to avoid code duplication. Avoid repeated calls to TkMacOSXGetXWindow() by storing result in MouseEventData struct. (TkMacOSXButtonKeyState, XQueryPointer): try to get button and modifier state from currently processed carbon event (to avoid unnecessary IPC with the window server), otherwise use modern carbon API to get this info instead of Button() and GetKeys(); only retrieve info caller asks for (via non-NULL ptr passed to XQueryPointer). (ButtonModifiers2State): new static function converting carbon button and modifier state into tk state, allows detection of more than 3 mouse buttons (tk supports up to 5) and of NumLock and Fn modifier keys (NumLock is mapped to Mod3 and Fn to Mod4). * macosx/tkMacOSXWindowEvent.c (TkMacOSXProcessApplicationEvent): handle kEventWindowExpanded event to deal with window uncollapsing from the dock by generating tk Map event, handle kEventAppHidden and kEventAppShown events (moved here from tkMacOSXCarbonEvents.c). * macosx/tkMacOSXSubwindows.c (XUnmapWindow): only hide window when it is not iconified to avoid window flashing on collapse. * macosx/tkMacOSXWm.c: replaced Tk_DoWhenIdle() by Tcl_DoWhenIdle(). (TkMacOSXZoomToplevel): remove call to TrackBox(), now done in HandleWindowTitlebarMouseDown() in tkMacOSXMouseEvent.c. (TkpWmSetState): avoid window flashing on collapse by unmapping after calling CollapseWindow(); only uncollapse window if it is collapsed. * generic/tkInt.decls: changed TkMacOSXZoomToplevel() signature. * generic/tkIntPlatDecls.h: * macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): only call GetMenuItemCommandID() on KeyDown or KeyRepeat events. * macosx/tkMacOSXMenu.c (ReconfigureMacintoshMenu): remove call to obsolete AppendResMenu() API. * macosx/tkMacOSXKeyEvent.c: replaced all direct uses of expensive * macosx/tkMacOSXMenu.c: GetMouse() and TkMacOSXButtonKeyState() * macosx/tkMacOSXMenus.c: APIs by calls to XQueryPointer() * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXDialog.c: replaced use of FrontNonFloatingWindow() * macosx/tkMacOSXKeyEvent.c: by ActiveNonFloatingWindow() as * macosx/tkMacOSXMenu.c: recommended by Carbon docs. * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXDialog.c: fixed warnings * macosx/tkMacOSXTest.c: * macosx/tkMacOSXCarbonEvents.c: added CVS Id line to file header. * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDebug.h: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXEvent.h: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.h: * macosx/tkMacOSXInt.h: declare macosx internal procs as MODULE_SCOPE. * macosx/tkMacOSXCarbonEvents.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXWindowEvent.c * library/bgerror.tcl: sync with core-8-4-branch changes of 2005-07-28. * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXMouseEvent.c: * generic/tkFrame.c: sync with core-8-4-branch changes of 2005-07-27. * generic/tkIntDecls.h: * generic/tkStubInit.c: * generic/tkFrame.c: * win/tkWinDraw.c: * unix/tkUnixDraw.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXInt.h: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXButton.c: sync with core-8-4-branch. * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXScale.c: * library/demos/menu.tcl: removed errant '}'.file: [b78d641d] check-in: [10965e80] user: das branch: trunk, size: 51325 | |
2005-05-14
| ||
20:53 |
* macosx/tkMacOSXInit.c: * macosx/tkMacOSXNotify.c: introduction of new tcl notifier based on CFRunLoop allows replacement of the custom TkAqua notifier by a standard tcl event source. Removes requirement of threaded tcl core for TkAqua, allows to stub-link TkAqua against Tcl by removing use of the unstubbed TclInitNotifier & TclFinalizeNotifier. [Tcl Patch 1202052] * macosx/Wish.pbproj/project.pbxproj: stub-link TkAqua: build with USE_TCL_STUBS and link against libtclstub instead of Tcl.framework, unexport libtclstub symbols from Tk to avoid duplicate symbol warnings when linking with both Tcl and Tk, fixes for gcc4.0 warnings. * macosx/tkMacOSXBitmap.c: * macosx/tkMacOSXButton.c: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyboard.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: fixed gcc 4.0 warnings. * unix/tcl.m4: sync with tcl * unix/configure: autoconf-2.13file: [f67d05a3] check-in: [dcd4b7c7] user: das branch: core-8-4-branch, size: 51390 | |
20:48 |
* macosx/tkMacOSXInit.c: * macosx/tkMacOSXNotify.c: introduction of new tcl notifier based on CFRunLoop allows replacement of the custom TkAqua notifier by a standard tcl event source. Removes requirement of threaded tcl core for TkAqua, allows to stub-link TkAqua against Tcl by removing use of the unstubbed TclInitNotifier & TclFinalizeNotifier. [Tcl Patch 1202052] * macosx/Wish.xcode/project.pbxproj: * macosx/Wish.pbproj/project.pbxproj: stub-link TkAqua: build with USE_TCL_STUBS and link against libtclstub instead of Tcl.framework, unexport libtclstub symbols from Tk to avoid duplicate symbol warnings when linking with both Tcl and Tk, fixes for gcc4.0 warnings. * macosx/Wish.xcode/project.pbxproj: sync with Wish.pbproj changes since 2004-11-19. NOTE: to use this project, need to uncomment the tclConfig.h settings at the top of tcl/unix/configure.in, autoconf and rebuild tcl ! * macosx/tkMacOSXBitmap.c: * macosx/tkMacOSXButton.c: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyboard.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: fixed gcc 4.0 warnings. * unix/tcl.m4: sync with tcl * unix/configure: autoconf-2.59file: [b5908dbb] check-in: [f9a3b027] user: das branch: trunk, size: 51317 | |
2005-02-22
| ||
08:49 |
* macosx/tkMacOSXDialog.c (Tk_GetSaveFileObjCmd, NavServicesGetFile): fixed encoding problems with -initialfile & -filetypes and corrected potential buffer overrun with -initialdir/-initialfile. [Bug 1146057]file: [d67849c9] check-in: [fde487f0] user: das branch: core-8-4-branch, size: 51182 | |
08:48 |
* macosx/tkMacOSXDialog.c (Tk_GetSaveFileObjCmd, NavServicesGetFile): fixed encoding problems with -initialfile & -filetypes and corrected potential buffer overrun with -initialdir/-initialfile. [Bug 1146057]file: [59a7128c] check-in: [11f0a565] user: das branch: trunk, size: 51109 | |
2004-12-20
| ||
10:34 | Corrected handling of MacOS filetypes in tk_*file dialogs file: [b8e2b70b] check-in: [8816a878] user: vincentdarley branch: trunk, size: 52018 | |
2004-05-24
| ||
21:21 | The TIP specified a -detail option, not a -finemessage option. file: [b50dbb03] check-in: [d57b1ee9] user: dkf branch: trunk, size: 52069 | |
18:28 | Turn on the -finemessage option (TIP 152) for Mac OS X. file: [252ff1ec] check-in: [281cd0eb] user: wolfsuit branch: trunk, size: 52090 | |
2004-02-16
| ||
00:42 |
Backport Mac OS X specific fixes from TOT. See ChangeLog for details.
In tk_getOpenFile filters, handle the case where you have a Macintosh file type and the files have no filetype. Fix various formatting nits. file: [9ea364d6] check-in: [834854db] user: wolfsuit branch: core-8-4-branch, size: 52103 | |
00:19 | Fix a bug in tk_getOpenFile - files with no types are rejected when they would pass in Mac OS Classic. Add the tkMacOSXCarbonEvents.c - just a skeleton right now. A bunch of formatting nits fixed. file: [2ff9048d] check-in: [4aed47b8] user: wolfsuit branch: trunk, size: 52099 | |
2004-02-14
| ||
01:26 | Apply patch 112997, and kill a few more places where we were still using Pascal string interfaces. file: [a9cfa4ec] check-in: [6ac7f560] user: wolfsuit branch: trunk, size: 51567 | |
01:08 | Applying Patch 112997, and hunting down a couple more places where we were still using Pascal interfaces. file: [fc0cb398] check-in: [3ee17e34] user: wolfsuit branch: core-8-4-branch, size: 39081 | |
2003-10-23
| ||
23:55 |
2003-10-23 Jim Ingham <[email protected]> * macosx/tkMacOSXDialog.c (NavServicesGetFile): Minor cleanups. (OpenFileFilterProc): Handle FSRef's as well as FSSpec's in the input file. Also convert the FSSpec filename to an C-string before passing to MatchOneFile. [bug 517600] (MatchOneFile): Require the input filename to be a C-string, not a pascal string.file: [dac75471] check-in: [b79543b4] user: wolfsuit branch: trunk, size: 52253 | |
2003-07-18
| ||
11:04 | MacOSX fixes file: [25b997b8] check-in: [466db507] user: vincentdarley branch: trunk, size: 50861 | |
2003-02-25
| ||
16:09 |
* macosx/tkMacOSXHLEvents.c: fixed conversion of apple event parameters to posix style path names. [Bug #621672] (steffen, Benjamin Riefenstahl) * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXWm.c: * macosx/Wish.pbproj/project.pbxproj: * macosx/tkMacOSXUtil.c (removed): * macosx/tkMacOSXUtil.h (removed): removed all references to tkMacOSXUtil.{c,h}, made obsolete by the patch above. [Bug #621672]file: [14b1789c] check-in: [80d818b1] user: das branch: trunk, size: 39719 | |
2003-02-24
| ||
19:27 |
2003-02-24 Benjamin Riefenstahl <[email protected]>
* tkMacOSXDialog.c (NavServicesGetFile): Fix bug with kNavCtlSetSelection - control data should be a pointer not a handle.file: [08ee14be] check-in: [5908c90b] user: wolfsuit branch: trunk, size: 39750 | |
2002-08-31
| ||
06:12 |
Added:
*** macosx-8-4-branch merged into the mainline [tcl patch #602770] *** * generic/tk.decls: * generic/tkInt.decls: added new "aqua" specific entries to the stubs tables. Changed all "unix" entries to "x11" to allow us to distinguish and build both "aqua" on MacOSX and "x11" on MacOSX. * generic/tk.h: added a #ifnded RESOURCE_INCLUDED so that tk.h can be passed to the resource compiler. * generic/tkCmds.c (Tk_TkObjCmd): added [tk windowingsystem] subcommand: returns "x11" when running on X11, "win32" on Windows, "classic" on MacOS9 and "aqua" on MacOSX Aqua (i.e. Carbon) * generic/tkFont.c (TkFontGetFirstTextLayout): new private function returning the first chunk of a Tk_TextLayout, i.e. until the first font change on the first line (or the whole first line if there is no such font change). * generic/tkMain.c: made Tcl_ThreadDataKey static * library/demos/puzzle.tcl: fixed button metrics for aqua * tests/cursor.test: check for presence of arrow cursor instead of heart cursor * xlib/xcolors.c: changed xColors static initialization to more standard C * macosx/Wish.pbproj/jingham.pbxuser (new): * macosx/Wish.pbproj/project.pbxproj (new): project for Apple's ProjectBuilder IDE. * macosx/Makefile (new): simple makefile for building the project from the command line via the ProjectBuilder tool 'pbxbuild'. * macosx/tkMacOSXAppInit.c (new): macosx specific AppInit looking for a AppMain.tcl file in its bundled Resources/Scripts folder. If present, argv[1] is set to that file and the Scripts folder is added to the auto_path. This allows tk apps to embed scripts within their bundle directory structure. * macosx/tkMacOSXInit.c (new): macosx adapted version of tkUnixInit.c: we initialize & cache the Carbon native encoding (e.g. 'macRoman') and try to find the tk script library files inside Tk packaged as a framework. * macosx/tkMacOSXNotify.c (new): new macosx specific merged Carbon/select-based notifier. * macosx/tkMacOSXEvent.c (new): * macosx/tkMacOSXEvent.h (new): * macosx/tkMacOSXKeyEvent.c (new): * macosx/tkMacOSXMouseEvent.c (new): * macosx/tkMacOSXWindowEvent.c (new): new macosx specific event handling functionality. * macosx/tkMacOSX.h (new): * macosx/tkMacOSXBitmap.c (new): * macosx/tkMacOSXButton.c (new): * macosx/tkMacOSXClipboard.c (new): * macosx/tkMacOSXColor.c (new): * macosx/tkMacOSXConfig.c (new): * macosx/tkMacOSXCursor.c (new): * macosx/tkMacOSXDefault.h (new): * macosx/tkMacOSXDialog.c (new): * macosx/tkMacOSXDraw.c (new): * macosx/tkMacOSXEmbed.c (new): * macosx/tkMacOSXFont.c (new): * macosx/tkMacOSXHLEvents.c (new): * macosx/tkMacOSXInt.h (new): * macosx/tkMacOSXKeyboard.c (new): * macosx/tkMacOSXMenu.c (new): * macosx/tkMacOSXMenubutton.c (new): * macosx/tkMacOSXMenus.c (new): * macosx/tkMacOSXPort.h (new): * macosx/tkMacOSXRegion.c (new): * macosx/tkMacOSXScale.c (new): * macosx/tkMacOSXScrlbr.c (new): * macosx/tkMacOSXSubwindows.c (new): * macosx/tkMacOSXTest.c (new): * macosx/tkMacOSXUtil.c (new): * macosx/tkMacOSXUtil.h (new): * macosx/tkMacOSXWm.c (new): * macosx/tkMacOSXWm.h (new): * macosx/tkMacOSXXStubs.c (new): macosx ports of classic mac Tk implementation in tk/mac. * macosx/tkMacOSXSend.c (new): only send to local interp implemented currently. * macosx/tkMacOSXDebug.h (new): * macosx/tkMacOSXDebug.c (new): new macosx specific functions for debugging MacOS events, regions, etc. * macosx/tkAboutDlg.r (new): * macosx/tkMacOSXApplication.r (new): * macosx/tkMacOSXCursors.r (new): * macosx/tkMacOSXLibrary.r (new): * macosx/tkMacOSXMenu.r (new): * macosx/tkMacOSXResource.r (new): * macosx/tkMacOSXXCursors.r (new): * macosx/tclets.r (new): sources for Rez resource compiler. * macosx/Wish.icns (new): Wish application icon. * generic/tk.h: * generic/default.h: * generic/tkBind.c: * generic/tkCmds.c: * generic/tkGrab.c: * generic/tkPointer.c: * generic/tkPort.h: * generic/tkSelect.c: * generic/tkStubLib.c: * generic/tkTest.c: * generic/tkText.c: * generic/tkWindow.c: * unix/tkUnix3d.c: * xlib/xgc.c: * xlib/X11/X.h: * xlib/X11/Xlib.h: * xlib/X11/Xutil.h: added #includes and #ifdefs for macosx * library/bgerror.tcl: * library/button.tcl: * library/console.tcl: * library/dialog.tcl: * library/entry.tcl: * library/listbox.tcl: * library/menu.tcl: * library/msgbox.tcl: * library/scrlbar.tcl: * library/spinbox.tcl: * library/text.tcl: * library/tk.tcl: * library/demos/menu.tcl: * library/demos/menubu.tcl: * library/demos/widget: check [tk windowingsystem] instead of and/or in addition to $tcl_platform(platform). * generic/tkInt.h: * mac/tkMacBitmap.c: * mac/tkMacWm.c: added missing CONSTification * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkPlatDecls.h: * generic/tkStubInit.c: regenfile: [6b958fce] check-in: [6b4c1410] user: das branch: trunk, size: 39746 | |
2002-08-30
| ||
18:18 | various project cleanups & enhancements added macosx/Makefile to facilitate building from cli added [tk windowingsystem] and removed $::tcl_plaform(windowingsystem) changed all runtime library references to the above removed duplicate entries in tk.decls & tkInt.decls CONSTification and other small changes in macosx/ to remove compiler warnings file: [41dd9387] check-in: [3ee14f2c] user: das branch: macosx-8-4-branch, size: 39750 | |
2002-07-22
| ||
04:08 | Set the kNavSupportPackages flag on the tk_getOpenFile dialog so you can choose App packages. file: [881584f6] check-in: [cc070f48] user: wolfsuit branch: macosx-8-4-branch, size: 39718 | |
2002-07-21
| ||
11:11 | encodings, and wm updates file: [d2b44550] check-in: [90b8db63] user: vincentdarley branch: macosx-8-4-branch, size: 39561 | |
2002-07-19
| ||
09:22 | Jim's patch for encodings file: [943e9513] check-in: [2b8127b6] user: vincentdarley branch: macosx-8-4-branch, size: 39380 | |
2002-07-18
| ||
23:45 | encodings, events file: [2974dd0e] check-in: [89cc0ef3] user: vincentdarley branch: macosx-8-4-branch, size: 39267 | |
2002-02-05
| ||
02:25 | Merge with current TOT Added support for the wm stackorder command Fixed crash when selecting Menu items in the Application menu that we didn't put there. Added first bits of the use of CG for low-level drawing. The line-drawing works, the rest doesn't yet. You have to set the file static useCGDrawing to 1 and rebuild to activate this code. file: [a8be6307] check-in: [32f71d05] user: wolfsuit branch: macosx-8-4-branch, size: 39190 | |
2001-10-24
| ||
06:00 |
10/23/2001 Jim Ingham <[email protected]>
Dopey little bug in the dialog for tk_chooseDirectory. There is no file filter for the directory dialog... file: [7c74bfae] check-in: [bac92019] user: wolfsuit branch: macosx-8-4-branch, size: 37679 | |
2001-10-15
| ||
09:21 | Added: First checkin of support for Tk on Mac OS X. file: [f3d83958] check-in: [1f829a93] user: wolfsuit branch: macosx-8-4-branch, size: 37668 | |