Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History for macosx/tkMacOSXInit.c
2023-12-18
| ||
22:19 | Merge 9.0 file: [4fb67fae] check-in: [a41d9d3a] user: jan.nijtmans branch: tip-626, size: 25567 | |
13:27 | Even more TCL_UNUSED usage file: [b41d45d0] check-in: [172fb6dc] user: jan.nijtmans branch: core-8-branch, size: 25550 | |
2023-10-18
| ||
13:42 | Implement applicationSupportsSecureRestorableState for Sonoma security warning, reported in 10b38a7a7c file: [4ff2bc11] check-in: [ed7cfbac] user: kevin_walzer branch: core-8-6-branch, size: 24304 | |
13:42 | Implement applicationSupportsSecureRestorableState for Sonoma security warning, reported in 10b38a7a7c file: [dc4d3987] check-in: [1ec298f0] user: kevin_walzer branch: main, size: 25684 | |
2023-06-08
| ||
16:57 | Add more type-casts, code cleanup (all backported from 8.7) file: [7c8c7214] check-in: [0ba4a8f7] user: jan.nijtmans branch: core-8-6-branch, size: 24181 | |
2023-05-23
| ||
17:25 | [ab95811e07]: Aqua: prevent use-after-free crashes - Apply slightly better patch from Christopher Chavez to avoid use-after-free crashes. file: [f2c0cc11] check-in: [af82c836] user: fvogel branch: main, size: 25561 | |
2023-05-21
| ||
17:52 | [ab95811e07]: Aqua: prevent use-after-free crashes - Apply slightly better patch from Christopher Chavez to avoid use-after-free crashes. file: [5a8d875e] check-in: [f5fb3497] user: fvogel branch: patch-ab95811e07, size: 24164 | |
2023-04-01
| ||
18:25 | Merge 8.7 file: [14ad801c] check-in: [2a92fb6c] user: jan.nijtmans branch: tip-626, size: 25586 | |
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: [35815b9c] check-in: [42cbe254] user: fvogel branch: main, size: 25561 | |
2023-03-28
| ||
20:14 | Fix [ee0847f633]: Aqua: compiler warning in debug builds. file: [60377a1a] check-in: [4527c59b] user: fvogel branch: bug-ee0847f6330, size: 24164 | |
2023-03-12
| ||
21:59 | Even more -1 -> TCL_INDEX_NONE file: [d65ac273] check-in: [ed5525fd] user: jan.nijtmans branch: main, size: 25548 | |
2023-03-04
| ||
21:52 | More serious elimination of -Wconversion C warnings file: [eb6a97d2] check-in: [f717a6ca] user: jan.nijtmans branch: main, size: 25570 | |
2022-11-14
| ||
21:52 | Tk changes for TIP #626 file: [332c0c4b] check-in: [e1480b5b] user: jan.nijtmans branch: tip-626, size: 25511 | |
2022-09-24
| ||
07:00 | Fix systray tests errors by moving the init to the correct function as it was before. file: [d1a800fd] check-in: [b4830762] user: fvogel branch: mac_styles_87, size: 25486 | |
2022-09-20
| ||
05:21 | Merge main file: [5aae4a7e] check-in: [e533d5d4] user: marc_culler branch: mac_styles_87, size: 25485 | |
05:12 | Merge 8.6 file: [2f2b7939] check-in: [f3a2b028] user: marc_culler branch: main, size: 24235 | |
2022-09-19
| ||
03:53 | Document the nsimage image type and make a few minor adjustments. file: [8abade9c] check-in: [b4833fcb] user: marc_culler branch: mac_styles_87, size: 24881 | |
2022-09-16
| ||
22:03 | Merge 8.7 file: [87fe6469] check-in: [3ede9f76] user: jan.nijtmans branch: mac_styles_87, size: 24796 | |
2022-09-15
| ||
04:32 | Almost complete merge with monterey_deprecations. file: [dfee2506] check-in: [cc217379] user: marc_culler branch: mistake, size: 23743 | |
2022-09-14
| ||
16:27 | Apply patch from Christopher Chavez to avoid use-after-free crashes. file: [271ae3aa] check-in: [92567a75] user: marc_culler branch: patch-ab95811e07, size: 24151 | |
2022-09-13
| ||
18:47 | Merge 8.7 file: [97e9dd6b] check-in: [fd5cd0d8] user: jan.nijtmans branch: tip-626, size: 23642 | |
2022-09-10
| ||
21:11 | Merge 8.6 file: [67f59361] check-in: [848dab73] user: jan.nijtmans branch: main, size: 23631 | |
21:10 | Fix [006403a25d]: various comment/documentation fixes file: [d07e2550] check-in: [743531bb] user: jan.nijtmans branch: core-8-6-branch, size: 23547 | |
2022-08-15
| ||
13:34 | Christopher Chavez's CGImage-backed views. file: [5e9e7414] check-in: [a7e2553a] user: marc_culler branch: chavez_cgimage_drawing, size: 23743 | |
2022-06-22
| ||
09:57 | Handle crash in handling "update". More WIP file: [26846031] check-in: [9f9dac4d] user: jan.nijtmans branch: tip-626, size: 23642 | |
2021-12-20
| ||
21:14 | Merge 8.7 file: [a11da5f9] check-in: [87274742] user: jan.nijtmans branch: mac_styles_87, size: 24796 | |
18:46 | Merge 8.6 file: [13be16b5] check-in: [e576070f] user: culler branch: main, size: 23631 | |
03:28 | Remove one more static variable. Now TkWmDeadWindow can clear the drag target if necessary. file: [7630d2be] check-in: [c994c026] user: marc_culler branch: bug-6be8b0b48c, size: 23547 | |
2021-11-30
| ||
20:54 | Merge 8.7 file: [645afa8c] check-in: [db7caa16] user: jan.nijtmans branch: mac_styles_87, size: 24754 | |
2021-11-24
| ||
10:48 | Merge 8.6 file: [9e0a0639] check-in: [addb9323] user: jan.nijtmans branch: main, size: 23589 | |
2021-11-21
| ||
22:30 | Simplify the tracking. Generate Motion events when the pointer is outside the toplevel, so scrollbars work. file: [4cc4cbce] check-in: [ce1ff417] user: marc_culler branch: macos_enter_leave, size: 23505 | |
2021-11-19
| ||
20:34 | Make Enter and Leave events work on macOS. file: [b7421c1e] check-in: [b3980342] user: marc_culler branch: macos_enter_leave, size: 23012 | |
2021-11-16
| ||
10:56 | Add DEF_LABEL_FG for all platforms, not only MacOS. Backport some type-casts from 8.7 file: [ad318420] check-in: [570648c7] user: jan.nijtmans branch: core-8-6-branch, size: 22824 | |
2021-11-02
| ||
08:07 | Merge 8.6 file: [4de65f54] check-in: [15dc12ae] user: jan.nijtmans branch: main, size: 22908 | |
2021-11-01
| ||
12:52 | Merge 8.6 file: [39387e08] check-in: [6165d78c] user: marc_culler branch: main, size: 22910 | |
2021-10-31
| ||
22:19 | If the system claims to be macOS 10.16 then guess the real OS version from the kernel version as reported by uname. file: [526e9357] check-in: [0b4d772f] user: marc_culler branch: macos-10-16, size: 22826 | |
2021-10-28
| ||
21:11 | Merge 8.7 file: [5050f927] check-in: [ff13da83] user: jan.nijtmans branch: mac_styles_87, size: 23474 | |
2021-07-03
| ||
15:15 | Initial commit of macOS implementation for tk_print; does not build yet, must remove some depcrecated API calls file: [10d0d886] check-in: [6ecc4aae] user: kevin_walzer branch: tk_print, size: 22309 | |
2021-06-03
| ||
22:24 | Merge 8.6 file: [e77cf7e9] check-in: [806931a0] user: culler branch: mac_styles, size: 23093 | |
2021-05-20
| ||
13:13 | Merge 8.7 file: [e16704db] check-in: [b5bd3cf9] user: jan.nijtmans branch: mac_styles_87, size: 23447 | |
2021-05-11
| ||
13:17 | eol-spacing file: [8576aa4b] check-in: [285454c4] user: jan.nijtmans branch: core-8-6-branch, size: 22225 | |
2021-05-10
| ||
06:44 | Merge 8.6 file: [38e068e3] check-in: [c91c753d] user: jan.nijtmans branch: main, size: 22282 | |
2021-05-08
| ||
12:46 | Merging fix for 7bb246b072, thanks to M. Wayne Davis for the report file: [eca832f9] check-in: [45044042] user: kevin_walzer branch: main, size: 22296 | |
2021-05-05
| ||
21:57 | Restore processing of Apple Events on app launch file: [fdb4f9f8] check-in: [830e5b70] user: kevin_walzer branch: ae_fix, size: 22234 | |
2021-01-27
| ||
22:17 | Merge main file: [68b9e0da] check-in: [38406502] user: marc_culler branch: mac_styles_87, size: 22959 | |
2021-01-04
| ||
01:52 | Merge 8.6 file: [31a32613] check-in: [7ce184e2] user: marc_culler branch: mac_styles, size: 22598 | |
00:52 | Merge 8.6 file: [c5d9fe43] check-in: [f406e9a4] user: marc_culler branch: main, size: 21791 | |
2021-01-03
| ||
18:11 | Fix [19fb7a38fc]: Set the image name when defaulting to the Tk feather icon because no valid icon was found in Info.plist file: [e7635ab7] check-in: [66d30610] user: marc_culler branch: bug-19fb7a38fc, size: 21730 | |
2020-12-14
| ||
11:31 | Remove unused include/variables file: [c6dd9b30] check-in: [168ce4d9] user: jan.nijtmans branch: main, size: 21751 | |
2020-12-11
| ||
14:11 | Merge 8.7 file: [afba4bdb] check-in: [7615ab5e] user: jan.nijtmans branch: tip_325, size: 21879 | |
2020-12-09
| ||
15:01 | (c) -> © file: [543732bc] check-in: [bd978a76] user: jan.nijtmans branch: main, size: 21689 | |
2020-11-20
| ||
18:35 | merge main file: [a92d3af7] check-in: [2c26b660] user: marc_culler branch: mac_styles_87, size: 22858 | |
18:26 | Merge 8.6 file: [b5d76f05] check-in: [a3683b44] user: marc_culler branch: mac_styles, size: 22558 | |
18:15 | Remove two duplicate lines of code. file: [1bfdbb37] check-in: [cfae3881] user: marc_culler branch: core-8-6-branch, size: 21690 | |
17:45 | Merge 8.6 file: [5717f414] check-in: [b69e0fb8] user: marc_culler branch: mac_styles, size: 22703 | |
2020-11-17
| ||
20:51 | Try initializing menus a bit later and dealing with menu item background color. file: [6f550de0] check-in: [7ef046da] user: culler branch: bug-635167af14, size: 21835 | |
2020-11-01
| ||
17:21 | Remove an incorrect indirection and two unnecessary qualifiers. file: [e6ccb54b] check-in: [fc764409] user: culler branch: 325_suggestions, size: 22365 | |
15:47 | Be straightforward - check if the app is signed and use the result to choose the notification API file: [d17db3b8] check-in: [5168bf5e] user: marc_culler branch: 325_suggestions, size: 22366 | |
2020-10-22
| ||
20:05 | Merge trunk file: [e3aa629f] check-in: [fa48b59f] user: culler branch: mac_styles_87, size: 22832 | |
19:57 | Merge 8.6 file: [fa3e717f] check-in: [7136610c] user: culler branch: mac_styles, size: 22537 | |
2020-10-21
| ||
16:04 | Merge trunk file: [d8ac89fe] check-in: [49f8f7db] user: jan.nijtmans branch: tip_325, size: 21720 | |
2020-10-20
| ||
22:36 | One TCL_UNUSED and some eol-spacing file: [921e1383] check-in: [63999d57] user: jan.nijtmans branch: core-8-6-branch, size: 21692 | |
20:42 | Cherrypick changes to comments. file: [b79bdd3d] check-in: [ca8aac48] user: marc_culler branch: core-8-6-branch, size: 21709 | |
20:30 | Merge 8.6 and edit comments file: [0459242f] check-in: [b3c7aec0] user: marc_culler branch: trunk, size: 21714 | |
17:41 | Avoid platform-specific conditional compilation where possible. file: [5ce580c2] check-in: [4d22e18a] user: marc_culler branch: bug-c2483bfe4b, size: 21590 | |
10:10 | Proposed fix for [c2483bfe4b]: tk fontchooser on macOS can automatically open on startup, can lead to crashes. Which also works for Tcl 8.7 and 9.0 file: [19c8d941] check-in: [0e6cec30] user: jan.nijtmans branch: bug-c2483bfe4b, size: 21638 | |
2020-10-19
| ||
20:28 | Fix the build by removing calls to deprecated Tcl_SetExitProc. This means that [c2483bfe4b] is not fixed for 8.7. file: [6112dcda] check-in: [7681293a] user: marc_culler branch: trunk, size: 19667 | |
2020-10-17
| ||
18:08 | Merge 8.6 file: [55b1203d] check-in: [1fe59f34] user: marc_culler branch: trunk, size: 21543 | |
18:07 | Add cast to fix annoying compiler warning. file: [767205e8] check-in: [208d668a] user: marc_culler branch: core-8-6-branch, size: 21538 | |
17:33 | Merge trunk file: [4196f0f2] check-in: [e3e8095b] user: marc_culler branch: mac_styles_87, size: 22654 | |
17:33 | Merge 8.6 file: [65e5d455] check-in: [1a71c35c] user: marc_culler branch: mac_styles, size: 22354 | |
17:32 | Merge 8.6 file: [75c0a63a] check-in: [1d33ea5b] user: marc_culler branch: trunk, size: 21514 | |
17:31 | Small adjustment to d69b5cec: make sure Tcl_Finalize *always* gets called. file: [2798730a] check-in: [022bc03b] user: marc_culler branch: core-8-6-branch, size: 21509 | |
2020-10-16
| ||
21:56 | merge trunk file: [4f014fb7] check-in: [637b6aed] user: culler branch: mac_styles_87, size: 22210 | |
21:52 | Use TCL_UNUSED in the signal handler file: [8645011d] check-in: [8c5de0d5] user: culler branch: trunk, size: 21070 | |
21:11 | Merge 8.6 file: [cbd89cef] check-in: [3018e86e] user: culler branch: mac_styles, size: 21910 | |
20:45 | Allow opting out of using the custom Tcl_ExitProc by defining USE_SYSTEM_EXIT file: [cfcde2b2] check-in: [297ac295] user: culler branch: bug-c2483bfe4b, size: 21065 | |
13:11 | Do not call Tcl_SetExitProc when the Tk process is part of an exec pipeline. file: [9bcb5b58] check-in: [5961f895] user: marc_culler branch: bug-c2483bfe4b, size: 21010 | |
2020-10-15
| ||
18:37 | Use Tcl_Exit when handling SIGHUP and SIGTERM too. file: [f54818bb] check-in: [ccd3f805] user: marc_culler branch: bug-c2483bfe4b, size: 20642 | |
18:08 | Even simpler - remove out of place calls to Tcl_Finalize file: [d14f1525] check-in: [5974c19a] user: marc_culler branch: bug-c2483bfe4b, size: 20347 | |
17:48 | Simpler, better fix of [c2483bfe4b]: unwanted fontchooser can appear. Uses Tcl_SetExitProc. file: [cf7f4178] check-in: [8d952ead] user: marc_culler branch: bug-c2483bfe4b, size: 20483 | |
06:11 | Merge 8.6. Only activate sampleExitHandler on OSX, so Travis doesn't fool us suggesting the build is broken .... file: [b825f579] check-in: [eada72d5] user: jan.nijtmans branch: bug-c2483bfe4b-XXX, size: 19019 | |
2020-10-12
| ||
15:33 | Merge trunk - marking this branch as a mistake since it broke exit handlers. file: [971a31ea] check-in: [9efc9ff2] user: marc_culler branch: mistake, size: 20163 | |
15:31 | Merge 8.6 -- marking this branch as a mistake since it broke exit handlers. file: [2b7582d4] check-in: [90c03154] user: marc_culler branch: mistake, size: 19871 | |
2020-10-11
| ||
23:17 | Clean up. file: [a41607c9] check-in: [f1fa8c77] user: culler branch: bug-c2483bfe4b-XXX, size: 19026 | |
18:32 | Fix [c2483bfe4b]: Aqua - prevent a fontchooser or colorchooser from appearing when Wish is restarted after being killed with ^C. Guard against crashes in TkSendVirtualEvent. This is a first, failed attempt. file: [254d7f15] check-in: [0bc85505] user: culler branch: bug-c2483bfe4b-XXX, size: 19406 | |
2020-10-02
| ||
02:34 | Initial macOS implementation file: [e66194e6] check-in: [e4e2d611] user: kevin_walzer branch: tip_325, size: 18717 | |
2020-09-22
| ||
20:09 | Merge trunk file: [3e283098] check-in: [45c3f7d7] user: marc_culler branch: mac_styles_87, size: 19829 | |
20:07 | Merge 8.6 file: [659c9846] check-in: [6511dd6c] user: marc_culler branch: mac_styles, size: 19534 | |
19:53 | Fix [aa4be2c1b8]: Aqua test suite hangs. file: [0fb3b392] check-in: [04e6d1db] user: marc_culler branch: core-8-6-branch, size: 18689 | |
2020-09-21
| ||
16:35 | compiler warning file: [c416ce61] check-in: [44281ced] user: dgp branch: mistake, size: 18551 | |
16:34 | Merge trunk file: [aa16e24e] check-in: [f1e6671f] user: marc_culler branch: mac_styles_87, size: 19668 | |
16:29 | Merge 8.6 file: [ae557f93] check-in: [2d419995] user: marc_culler branch: mac_styles, size: 19373 | |
16:24 | Remove an unused variable and an unnecessary include directive. file: [f9cd24c0] check-in: [3fa289fb] user: marc_culler branch: core-8-6-branch, size: 18528 | |
2020-09-20
| ||
04:30 | Don't open a console when running Wish from the command line; further simplification. file: [9ac49e6e] check-in: [54adb482] user: marc_culler branch: mac_console_fix, size: 18568 | |
2020-09-19
| ||
22:32 | Tiny code improvement file: [21b9f8aa] check-in: [8044040d] user: marc_culler branch: mac_console_fix, size: 18869 | |
22:10 | Fix the regression with ScidvsMac; reorganize the code in the rest of TkpInit and edit misleading comments. file: [781b0dd8] check-in: [3c8f2865] user: marc_culler branch: mac_console_fix, size: 18887 | |
18:14 | Remove debugging statement file: [a7f2d352] check-in: [b2b96677] user: kevin_walzer branch: mac_console_fix, size: 18506 | |
17:31 | Restore console file: [ebafe92f] check-in: [a2bfa3a0] user: kevin_walzer branch: mac_console_fix, size: 18536 | |
2020-09-18
| ||
21:26 | Merge trunk file: [c9c7dee6] check-in: [5b98b779] user: marc_culler branch: mistake, size: 19653 | |
20:53 | Fix merge conflict resolution. file: [3367498b] check-in: [70c81ec5] user: marc_culler branch: mistake, size: 20158 | |
20:43 | Fix typo from merge conflict resolution. file: [52a59f88] check-in: [04f06c4a] user: marc_culler branch: mistake, size: 19358 | |
20:31 | Merge 8.6 file: [a9fffe99] check-in: [f2879857] user: marc_culler branch: mistake, size: 19364 | |
2020-09-17
| ||
17:46 | Deal with timing issues for AppleEvents which arrive during the launch process. file: [ffb3b71c] check-in: [6b26456a] user: marc_culler branch: fix_idle, size: 18513 | |
2020-09-15
| ||
20:10 | More aqua initialization issues file: [ce533e78] check-in: [35374243] user: marc_culler branch: fix_idle, size: 18461 | |
2020-09-10
| ||
17:32 | Merge trunk file: [bcee5bd0] check-in: [436bca3c] user: marc_culler branch: mac_styles_87, size: 19613 | |
17:22 | Merge 8.6 file: [e59457e1] check-in: [2603d155] user: marc_culler branch: mac_styles, size: 19280 | |
2020-09-09
| ||
19:25 | Fix [ab1feaea9c]: Aqua initialization issues exposed by Scid vs Mac. file: [a28f3e94] check-in: [db5fbfaf] user: marc_culler branch: bug-ab1feaea9c, size: 18435 | |
2020-09-07
| ||
21:40 | Merge trunk file: [543916bf] check-in: [4edb33dd] user: marc_culler branch: mac_styles_87, size: 18789 | |
20:55 | Merge 8.6 file: [4caf0c89] check-in: [29c0c196] user: marc_culler branch: mac_styles, size: 18456 | |
2020-09-02
| ||
08:29 | Eliminate MODULE_SCOPE wrapper function for TkMacOSXDrawable(). Rename (internal) TkMacOSXDrawableWindow() to TkMacOSXGetNSWindowForDrawable(). Code (type-cast) cleanup file: [e070da4b] check-in: [dbffe62b] user: jan.nijtmans branch: core-8-6-branch, size: 17611 | |
2020-08-27
| ||
12:52 | Fix editing error made while resolving merge conflicts and add TCL_UNUSED where needed. file: [25f1ab8b] check-in: [d7e29fbf] user: culler branch: mac_styles_87, size: 18800 | |
2020-08-26
| ||
21:46 | merge mac_styles file: [b90104cf] check-in: [a37f17b6] user: culler branch: mac_styles_87, size: 19465 | |
2020-08-15
| ||
18:47 | Restore the call to TtkMacOSXInit. file: [d8a6a8b2] check-in: [f1bc99ed] user: culler branch: mac_styles_87, size: 18833 | |
17:30 | Merge trunk file: [58383781] check-in: [22a1de68] user: culler branch: mac_styles_87, size: 18752 | |
13:38 | Merge 8.6 file: [544798bc] check-in: [99e9fc5e] user: culler branch: mac_styles, size: 18460 | |
2020-08-13
| ||
07:50 | Add XOffsetRegion and XkbKeycodeToKeysym to (internal X11) stub table. More use of TCL_UNUSED macro file: [84736fc6] check-in: [9cf95769] user: jan.nijtmans branch: core-8-6-branch, size: 17615 | |
2020-08-06
| ||
21:46 | Arrange that Ttk initializations which depend on the OS Version get run after the NSApplication has been recreated. file: [568bbbe4] check-in: [4c767472] user: culler branch: mac_styles, size: 18253 | |
2020-07-29
| ||
03:22 | Merge 8.6 file: [26ebef2f] check-in: [f9ef3a9d] user: culler branch: mac_styles, size: 18216 | |
2020-07-27
| ||
16:27 | Merge 8.6: fix testing and build issues on the various supported versions of macOS. file: [783a8fd0] check-in: [402a6993] user: culler branch: trunk, size: 17639 | |
2020-07-24
| ||
21:21 | Fix the build for Snow Leopard. Fix the fontchooser demo. file: [16e75e5b] check-in: [cc5a224f] user: culler branch: mac_testing, size: 17355 | |
2020-07-19
| ||
03:07 | Mac styles branch for 8.7 file: [776371d7] check-in: [c2127061] user: marc_culler branch: mac_styles_87, size: 18456 | |
2020-07-16
| ||
18:55 | Fix NSImage; merge mac_styles with new padding file: [a08743c2] check-in: [df45e488] user: culler branch: stylish_idle_curiosity, size: 18176 | |
2020-07-12
| ||
16:46 | Merge 8.6 file: [e5030f44] check-in: [4e1b9382] user: marc_culler branch: mac_styles, size: 18107 | |
2020-06-27
| ||
09:16 | merge core-8-6-branch file: [db56d6cd] check-in: [7ff38900] user: fvogel branch: trunk, size: 17599 | |
2020-06-26
| ||
11:21 | Remove left-over debugging printf file: [06ea5cf1] check-in: [fd3f19d8] user: jan.nijtmans branch: core-8-6-branch, size: 17315 | |
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: [89935ebe] check-in: [55f8cdde] user: culler branch: trunk, size: 17665 | |
21:12 | Aqua: replace [NSApp macMinorVersion] by [NSApp macOSVersion] event though the Big Sur (11.1) beta release identifies itself as 10.16. file: [e24553b5] check-in: [09485205] user: culler branch: core-8-6-branch, size: 17381 | |
2020-06-03
| ||
17:46 | merge mac_styles file: [b38f495b] check-in: [849820de] user: culler branch: stylish_idle_curiosity_0, size: 18091 | |
2020-05-17
| ||
16:51 | Add TkMacOSXScrollerPagingBehaviorObjCmd() by Christopher Chavez. Update ttk/scrollbar.tcl to use it for aqua windowing system. Rearrange ttk/scrollbar.tcl. file: [10199e09] check-in: [e48f0ce6] user: bll branch: rfe-76588c85-8-6, size: 19166 | |
16:43 | Accept RFE [d87dc2e43a] from Chrisopher Chavez: Remove unused Carbon-era macOS function TkMacOSXGetStringObjFromCFString(). file: [369cfcad] check-in: [71024948] user: culler branch: trunk, size: 17498 | |
16:39 | Accept RFE [d87dc2e43a] from Chrisopher Chavez: Remove unused Carbon-era macOS function TkMacOSXGetStringObjFromCFString(). file: [a87d61cb] check-in: [695f33f2] user: culler branch: core-8-6-branch, size: 17214 | |
2020-05-12
| ||
18:12 | Merge 8.6 file: [3b6302ab] check-in: [a0d39d8d] user: culler branch: mac_styles, size: 19056 | |
15:49 | Fix [411359dc3b]: crashes and zombies on Macintosh computers with a TouchBar. file: [c5049399] check-in: [0b6e77ce] user: culler branch: trunk, size: 18463 | |
2020-05-11
| ||
21:24 | Fix [411359dc3b]: Clean up Aqua window destruction in TkWmDeadWindow to prevent crashes and zombies on systems with a Touchbar. file: [52ef1894] check-in: [aae941e2] user: culler branch: bug-411359dc3b, size: 18179 | |
17:19 | Try an undocumented method for clearing the key window. file: [dcd487a8] check-in: [f9e661cb] user: marc_culler branch: pre-bug-411359dc3b, size: 19055 | |
2020-04-15
| ||
20:06 | Add a command ::tk::mac::macOSMinorVersion and use it to disable animation of the ttk::progressbar on newer systems. file: [b475d9b1] check-in: [a15183e8] user: culler branch: mac_styles, size: 19055 | |
2020-03-05
| ||
22:15 | Eliminate many -Wextra warnings file: [94426968] check-in: [ac625e2f] user: jan.nijtmans branch: trunk, size: 18462 | |
2020-01-18
| ||
19:27 | Merge 8.6 file: [8c238d27] check-in: [a59e9c24] user: marc_culler branch: mac_styles, size: 18271 | |
19:07 | A better fix for [bf93d098d7]: Aqua menus can be unresponsive at startup file: [95bb191a] check-in: [b48a8b1a] user: marc_culler branch: trunk, size: 18377 | |
2020-01-17
| ||
22:15 | A better fix for [bf93d098d7]: Aqua menus can be unresponsive at startup file: [4fff851f] check-in: [5f8086ff] user: marc_culler branch: bug-bf93d098d7-redux, size: 18178 | |
2019-11-06
| ||
19:04 | Merge 8.6 file: [b4e923a0] check-in: [ea88fbf4] user: jan.nijtmans branch: mac_buttons, size: 18527 | |
2019-11-03
| ||
15:53 | Rename the system image type as nsimage and add the ability to create from image files or filetypes. file: [2e7251ef] check-in: [f226d4d3] user: culler branch: mac_images, size: 18528 | |
2019-11-01
| ||
17:20 | Access named NSImages provided by macOS via image create system -systemname NAME ?-width NUMBER? ?-height NUMBER? file: [17a4fa1c] check-in: [aded44aa] user: culler branch: mistake, size: 18532 | |
2019-10-25
| ||
17:58 | Aqua: fix IME behavior; make accent menus work; rework Services; deal with non-BMP pastes. file: [f434e942] check-in: [d3ae24b5] user: culler branch: trunk, size: 18634 | |
2019-10-23
| ||
21:52 | Rework and simplify services so the TkService object won't interfere with IME. It didn't need to be a subclass of NSView, or be in the Responder chain. file: [d19b4b96] check-in: [e21c087a] user: culler branch: bug-39de9677aa, size: 18435 | |
2019-10-20
| ||
03:41 | Partial fix for [bf93d098d7]: On macOS Catalina menus can be unresponsive at app startup. file: [15375e2a] check-in: [5a54a60e] user: culler branch: trunk, size: 18822 | |
2019-10-11
| ||
02:52 | Fix bug[bf93d098d7]: Menubar is sometimes unresponsive on app startup file: [ed6ad42e] check-in: [14b2a46f] user: culler branch: bug-bf93d098d7, size: 18623 | |
2019-10-09
| ||
12:05 | Fix merge conflict in previous commit (::tk::mac::registerServiceWidget called twice as result) file: [185da396] check-in: [e1acc2c3] user: jan.nijtmans branch: trunk, size: 18348 | |
12:03 | Merge 8.6 file: [771364c8] check-in: [82fbbed4] user: jan.nijtmans branch: trunk, size: 18469 | |
2019-10-07
| ||
01:55 | tk::mac::RegisterServiceWidget was returning an error when Wish was launched from app bundle; restore to earlier location in app init code file: [15098dea] check-in: [0d390f3c] user: kevin_walzer branch: trunk, size: 18344 | |
01:52 | tk::mac::RegisterServiceWidget was returning an error when Wish was launched from app bundle; restore to earlier location in app init code file: [36fcb905] check-in: [041bcf3b] user: kevin_walzer branch: core-8-6-branch, size: 18149 | |
2019-10-06
| ||
22:51 | Fix crash caused by initializing Mac services multiple times file: [c7c9eb92] check-in: [8ea0dc79] user: culler branch: trunk, size: 18344 | |
22:33 | Some initialization steps can remain outside the if (!initialized) block. file: [45762ad0] check-in: [59882b69] user: culler branch: mac_service_init, size: 18145 | |
2019-10-05
| ||
20:01 | Prevent multiple initializations of Mac Services, which would cause IDLE to crash. file: [9abef9cd] check-in: [7a51eb32] user: culler branch: mac_service_init, size: 18121 | |
2019-09-05
| ||
02:19 | Possible fix for unresponsive menu on Catalina file: [ac28f796] check-in: [3b7a3348] user: kevin_walzer branch: catalina-menu, size: 18219 | |
2019-09-02
| ||
13:19 | Merge in ae_cleanup branch; thanks to Marc Culler for patches to clean up Apple Event processing on app startup file: [72c10d71] check-in: [408af1fa] user: kevin_walzer branch: trunk, size: 18302 | |
2019-09-01
| ||
03:34 | Clean up Apple Event processing after recent changes in window mapping on Mojave file: [f45dec34] check-in: [f2fa81b1] user: kevin_walzer branch: ae_cleanup, size: 18103 | |
2019-06-25
| ||
21:27 | CONST -> const. Eliminate unnecessary type-casts and end-of-line spacing file: [8025dfd8] check-in: [fba3fe56] user: jan.nijtmans branch: core-8-6-branch, size: 16782 | |
2019-06-22
| ||
06:25 | CONST to const; make code compile file: [6a8f9e61] check-in: [841fa91c] user: dkf branch: trunk, size: 16981 | |
2019-06-17
| ||
18:56 | Merge 8.6. Purge end-of-line spaces file: [acd150a6] check-in: [a27f80a5] user: jan.nijtmans branch: trunk, size: 16814 | |
2019-05-18
| ||
13:05 | Finally got timing of initializing NSServices object correct; code cleanup; merge in 8.6 to pick up changes in Tk initialization code file: [deb6863d] check-in: [f126b00e] user: kevin_walzer branch: mac_services, size: 16836 | |
2019-05-17
| ||
03:13 | Code and data type cleanup, thanks to Marc Culler for patch file: [780e10b3] check-in: [a7e34ff9] user: kevin_walzer branch: mac_services, size: 16217 | |
2019-05-16
| ||
19:55 | Fix bug [d1989fb7cf]: In Aqua the root window appears before Tk_Mainloop is called. file: [401138ff] check-in: [a2e1c6c6] user: culler branch: trunk, size: 15291 | |
2019-05-15
| ||
16:55 | fix bug [d1989fb7cf]: Root window appears before Tk_Mainloop is called. file: [70d4a235] check-in: [9e9a9189] user: culler branch: bug-d1989fb7cf, size: 15292 | |
2019-05-12
| ||
00:42 | Merge in core-8-6-branch file: [aa92310e] check-in: [056f4a08] user: kevin_walzer branch: mac_services, size: 16204 | |
2019-05-09
| ||
16:28 | Merge 8.6 file: [90e00a44] check-in: [a0ab8b7e] user: jan.nijtmans branch: trunk, size: 15174 | |
15:21 | Whitespace cleanup, syncronize a little with "trunk" version. file: [5638a0e0] check-in: [84e2b4b3] user: jan.nijtmans branch: core-8-6-branch, size: 15175 | |
2019-04-20
| ||
15:03 | On macOS, edit comments and documentation; fix compiler warnings. file: [a324c526] check-in: [1603d383] user: culler branch: trunk, size: 15179 | |
15:03 | On macOS, edit comments and documentation; fix compiler warnings. file: [e2471c87] check-in: [476cf7ba] user: culler branch: core-8-6-branch, size: 15180 | |
2019-04-19
| ||
21:19 | Test using a semaphore to prevent macOS crashes if drawRect is called during destruction of a widget. file: [47246a1d] check-in: [5574017c] user: culler branch: mac-semaphore, size: 15263 | |
2019-04-17
| ||
14:05 | Mitigate future merge conflict headaches. file: [a3323699] check-in: [764eaf89] user: culler branch: core-8-6-branch, size: 15181 | |
2019-04-16
| ||
13:22 | Source readability run: macosx/* file: [1b829fc8] check-in: [991b8f0e] user: dkf branch: trunk, size: 15180 | |
2019-03-09
| ||
03:16 | Ensure ::tk::mac::GetAppPath is included file: [e5dd0e42] check-in: [16bee760] user: kevin_walzer branch: mac_services, size: 16217 | |
2019-03-08
| ||
03:44 | Remove tkMacOSXLaunch.c from TIP; adds too many extraneous commands. Re-focus on URL and print events, and Services file: [ad74981f] check-in: [53616eef] user: kevin_walzer branch: mac_services, size: 16458 | |
2019-03-01
| ||
16:38 | Clean up implementation file: [cb35f99c] check-in: [50b29316] user: kevin_walzer branch: mac_services, size: 15387 | |
2019-02-27
| ||
04:07 | Update mac_services branch, intend to submit a TIP file: [4016acf3] check-in: [3cb35aab] user: kevin_walzer branch: mac_services, size: 15343 | |
2019-02-23
| ||
04:10 | Fix bug [56a1823c73]: Aqua toplevels can fail to appear on screen. file: [96af0d76] check-in: [a3d50fdc] user: culler branch: trunk, size: 15187 | |
2019-02-18
| ||
18:48 | Fix bug [56a1823c73]: Aqua toplevels can fail to appear on screen. file: [e1b66e7c] check-in: [60edb6d4] user: culler branch: bug-56a1823c73, size: 15188 | |
2019-01-10
| ||
10:07 | Merge 8.6 file: [33a9a7e5] check-in: [371c4059] user: jan.nijtmans branch: trunk, size: 14926 | |
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: [7e9c06a3] check-in: [c707c501] user: jan.nijtmans branch: core-8-6-branch, size: 14927 | |
2018-11-26
| ||
17:30 | Mac code cleanup. Move interfaces for subclasses of AppKit classes to tkMacOSXPrivate.h when possible. Also Utility windows cannot go fullscreen. file: [57c4cb10] check-in: [eace85d8] user: culler branch: trunk, size: 14933 | |
17:27 | Mac code cleanup. Move interfaces for subclasses of AppKit classes to tkMacOSXPrivate.h when possible. Also Utility windows cannot go fullscreen. file: [fd98afc1] check-in: [f7837b29] user: culler branch: core-8-6-branch, size: 14934 | |
2018-11-25
| ||
02:47 | Merge fix for Tk console not accepting keyboard input initially when launched from bundled Wish app on macOS file: [f50b1b9f] check-in: [92026521] user: kevin_walzer branch: trunk, size: 15283 | |
2018-11-24
| ||
16:15 | Workaround for bundled Wish console not accepting keyboard input on Mojave file: [b3f408b3] check-in: [82e0ece2] user: kevin_walzer branch: console-fix, size: 15284 | |
2018-11-15
| ||
23:13 | Improve the behavior of the test image type and fix a live resize bug on Mojave. file: [25b65f40] check-in: [03ba6a26] user: culler branch: trunk, size: 15010 | |
17:09 | Use a better method for making test images on the mac emulate test images on other platforms. file: [e12141fe] check-in: [586ae933] user: culler branch: mac-tests-hang, size: 15011 | |
2018-11-08
| ||
23:01 | Another big round of updates for macOS, fixing bugs old and new including crashes and graphics artifacts. file: [5ad099ce] check-in: [4ca3d49d] user: culler branch: trunk, size: 15086 | |
2018-11-06
| ||
21:21 | Came up with a scheme for making test images behave the way that the tests assume they do. file: [e9ec185e] check-in: [ec9e2280] user: culler branch: mac-nofocus, size: 15087 | |
2018-10-30
| ||
16:21 | Many updates for macOS. Most, but not all, were triggered by changes between OSX 10.13 and 10.14. file: [a92808d3] check-in: [9df14a3a] user: culler branch: trunk, size: 15004 | |
2018-10-28
| ||
18:40 | Adjust some conditional compilation cutoffs to make the build work on OSX 10.9 (Mavericks) file: [6971934b] check-in: [6c6235b3] user: culler branch: mojave-cleanup, size: 15005 | |
2018-10-24
| ||
16:43 | Added a boolean state variable so a displayProc can check if it is being run by drawRect. file: [c56f30ba] check-in: [84088d0f] user: culler branch: mojave-cleanup, size: 15003 | |
2018-10-21
| ||
22:53 | Add a runtime check for the OS version, to decide whether to process idle events in drawRect. file: [31fa3bf2] check-in: [19cad871] user: culler branch: mojave-cleanup, size: 15450 | |
2018-03-05
| ||
12:43 | Modify makefile to add new file file: [d41a2143] check-in: [4e610619] user: kevin_walzer branch: mac_services, size: 15185 | |
2017-12-05
| ||
16:09 | Merge core-8-6-branch into trunk. Fixes [3382424]. Prevents misleading error messages during testing on macOS. file: [cab0e360] check-in: [eceed7e3] user: culler branch: trunk, size: 15029 | |
16:07 | Merge branch bug-3382424 into core-8-6-branch. Prevents misleading error messages during testing on macOS. file: [b49c81f3] check-in: [6628853f] user: culler branch: core-8-6-branch, size: 15030 | |
13:08 | Merge core-8-6-branch into trunk. Fixes issue with custom application icons on MacOS. file: [7b92783d] check-in: [541c0ff4] user: culler branch: trunk, size: 14939 | |
05:40 | On macOS, set a default application icon only when no icon has been declared in an Info.plist file. file: [b161b97e] check-in: [089f26e4] user: culler branch: fix-mac-icon, size: 14940 | |
03:47 | Remove unnecessary calls to set application icon in bundled apps on macOS, prevents custom icon from displaying file: [e30831a9] check-in: [78096dcf] user: kevin_walzer branch: trunk, size: 14457 | |
03:46 | Remove unnecessary calls to set application icon in bundled apps on macOS, prevents custom icon from displaying file: [94ef8a5f] check-in: [0ccde65f] user: kevin_walzer branch: core-8-6-branch, size: 14456 | |
2017-12-03
| ||
18:58 | Remove two debug messages which print to stderr during macOS tests but are not really errors. file: [50237d17] check-in: [b1bebcb9] user: culler branch: bug-3382424, size: 14940 | |
2017-11-27
| ||
22:35 | Merge byebye-leopard into core-8-6-branch. Removes conditional code for OS X 10.5. file: [085e8bab] check-in: [8f691b98] user: culler branch: core-8-6-branch, size: 14850 | |
11:12 | tkWinDialog.c: Change a LoadLibrary() call to GetModuleHandle(), since "shell32.dll" is already linked to Tk. Also various whitespace changes (mainly at line-ends) and comment fixes. Nothing functional. file: [ff56e1d5] check-in: [46834338] user: jan.nijtmans branch: core-8-6-branch, size: 15659 | |
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: [6112c286] check-in: [73c5ff57] user: culler branch: byebye-leopard, size: 14857 | |
2017-11-25
| ||
23:43 | Repair a mistake introduced in checkin [fc16f8a9]. In TkpInit the NSApplication must be created before opening a console. Otherwise apps launched from an icon will crash. file: [43b3bc4e] check-in: [d71d6703] user: culler branch: core-8-6-branch, size: 15666 | |
17:17 | Pass nil for allowedFileTypes rather than an empty array to select all files. file: [3c2458de] check-in: [ad4e0e61] user: culler branch: bug-de4af19626, size: 15589 | |
05:08 | Removed a function which is never called in the current version. file: [70f4208e] check-in: [fc16f8a9] user: culler branch: bug-88f02fa81a, size: 15669 | |
03:49 | Fix name for SetApplicationIcon function that had an incorrect name in the function description file: [372b741e] check-in: [97f12aeb] user: kevin_walzer branch: bug-88f02fa81a, size: 16351 | |
2017-11-24
| ||
20:35 | Simplify and reorganize the initialization code. file: [400bb427] check-in: [accf8fb9] user: culler branch: bug-88f02fa81a, size: 16349 | |
17:21 | Remove calls to TransformProcessType. Avoid activating too early. Prepare for cleanup of TkpInit. Fixes the basic menu bar problem. file: [81235cec] check-in: [ac1af6bd] user: culler branch: bug-88f02fa81a, size: 16716 | |
2017-10-12
| ||
11:55 | remove some end-of-line spacing file: [ac52ce45] check-in: [ed0955b7] user: jan.nijtmans branch: core-8-6-branch, size: 16895 | |
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: [4cde2fb2] check-in: [e5463978] user: kevin_walzer branch: core-8-6-branch, size: 16896 | |
2016-04-19
| ||
17:29 | Merge 8.6.5 release. file: [2a3c4382] check-in: [b0f3fde5] user: dgp branch: little, size: 16499 | |
17:09 | Fork of Tk used in the "Little" project. http://www.mcvoy.com/lm/little/index.html file: [a0575a74] check-in: [78772485] user: dgp branch: little, size: 15920 | |
2016-01-31
| ||
00:54 | Fix build errors on i386 for Cocoa; thanks to Marc Culler for patch file: [bb13983c] check-in: [853d6067] user: kevin_walzer branch: core-8-5-branch, size: 16532 | |
00:53 | Fix build errors on i386 for Cocoa; thanks to Marc Culler for patch file: [f8789d9d] check-in: [8cf39bd2] user: kevin_walzer branch: trunk, size: 16504 | |
2016-01-09
| ||
03:03 | Additional fixes for memory leaks, window flickering on OS X 10.11; thanks to Marc Culler for patch file: [4ca84efd] check-in: [d7abca98] user: kevin_walzer branch: core-8-5-branch, size: 16557 | |
02:58 | Additional fixes for memory leaks, window flickering on OS X 10.11; thanks to Marc Culler for patch file: [f2196bc4] check-in: [43590ff8] user: kevin_walzer branch: trunk, size: 16529 | |
2015-12-17
| ||
15:01 | Fix usage of ZIPFS_IN_TCL in various places, including the win32 configure script file: [176d8b9b] check-in: [6e5ca130] user: jan.nijtmans branch: androwish, size: 16582 | |
2015-12-15
| ||
02:53 | 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: [cae8c174] check-in: [c276c0a9] user: kevin_walzer branch: core-8-5-branch, size: 16605 | |
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: [91f21fd1] check-in: [f04988fb] user: kevin_walzer branch: trunk, size: 16583 | |
2015-12-07
| ||
02:04 | Fix for zombie windows on El Capitan/OS X 10.11; thanks to Marc Culler for patch file: [b76a3fc1] check-in: [36ad13aa] user: kevin_walzer branch: core-8-5-branch, size: 15872 | |
02:02 | Fix for zombie windows on El Capitan/OS X 10.11; thanks to Marc Culler for patch file: [4027314a] check-in: [946e9467] user: kevin_walzer branch: trunk, size: 15851 | |
2015-03-21
| ||
00:50 | Remove garbage collections calls as GC is no longer supported on OS X; thanks to Marc Culler for patch file: [4b9b8bd5] check-in: [43647410] user: kevin_walzer branch: core-8-5-branch, size: 15946 | |
00:44 | Remove garbage collections calls as GC is no longer supported on OS X; thanks to Marc Culler for patch file: [6366d5c3] check-in: [812a5d85] user: kevin_walzer branch: trunk, size: 15925 | |
2015-02-02
| ||
09:50 | Remove unnecessary end-of-line spacing file: [9b2370c7] check-in: [aa7e3ad5] user: jan.nijtmans branch: trunk, size: 16021 | |
2015-01-30
| ||
15:33 | Scrolling now working at an acceptable level with HITheme API; Unix scroll bindings driving scrolling in Tk window and Mac scrollbar just has to re-draw itself file: [e17b949d] check-in: [18222e4c] user: kevin_walzer branch: core-8-5-branch, size: 16042 | |
15:27 | Scrolling is now working at an acceptable level; using Unix bindings to drive scrolling in Tk window, and just requiring Mac HITheme scrollbar to re-draw itself file: [464a7593] check-in: [71e2c3fc] user: kevin_walzer branch: trunk, size: 16023 | |
2015-01-26
| ||
04:07 | A bit more progress on scrolling file: [7df316a7] check-in: [a613e37a] user: kevin_walzer branch: hitheme, size: 16022 | |
2015-01-21
| ||
14:08 | Commit of skeletal scrollbar code; does not yet work but need to focus on a single approach file: [9dc80c0e] check-in: [0b6b8d27] user: kevin_walzer branch: hitheme, size: 16383 | |
2015-01-19
| ||
19:53 | Various changes and improvements; less broken now but still a lot of work to do. file: [6abb4ab1] check-in: [57422e0d] user: kevin_walzer branch: hitheme, size: 16373 | |
2015-01-15
| ||
08:03 | Branch to replace NSViews in Cocoa widgets with HITheme implementations to improve drawing performance after removing private API's. file: [353a49f6] check-in: [d047c2a5] user: kevin_walzer branch: hitheme, size: 16148 | |
2015-01-12
| ||
03:18 | Revert changes to Mac scrollbar; native implementation is best that can be done, custom drawing in scrollbar is worse from UI standpoint. file: [258c0f28] check-in: [b25bc3a3] user: kevin_walzer branch: trunk, size: 16147 | |
2014-11-21
| ||
16:15 | Remove unnecessary end-of-line spacing file: [68b1af9a] check-in: [a79b0b94] user: jan.nijtmans branch: trunk, size: 16142 | |
2014-11-18
| ||
14:46 | Remove residual private API calls from Tk/Mac after Mac App Store review flagged them as being present. file: [08327004] check-in: [781a6aff] user: kevin_walzer branch: trunk, size: 16143 | |
14:46 | Remove residual private API calls from Tk/Mac after Mac App Store review flagged them as being present. file: [e4617cc8] check-in: [ca948788] user: kevin_walzer branch: core-8-5-branch, size: 16161 | |
2014-10-21
| ||
15:01 | Fix for Mac crash on Yosemite because of changes in version checking file: [7223ddf5] check-in: [e49c25c7] user: kevin_walzer branch: trunk, size: 16195 | |
15:00 | Fix for Mac crash on Yosemite because of changes in version checking file: [f5b8323b] check-in: [e8a1bb0f] user: kevin_walzer branch: core-8-5-branch, size: 16213 | |
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: [64b03ec8] check-in: [cb8420c1] user: jan.nijtmans branch: trunk, size: 15962 | |
2012-10-23
| ||
09:24 | consistant use of mode: objc for OSX, strip spaces from the end of lines file: [95e27eac] check-in: [f4527071] user: jan.nijtmans branch: trunk, size: 15927 | |
08:52 | remove RCS keywords, use mode: objc consistantly file: [fe3102c7] check-in: [3554d988] user: jan.nijtmans branch: core-8-5-branch, size: 15978 | |
2012-08-09
| ||
06:53 | remove more RCS id's Make TkBackgroundEvalObjv a static function file: [00eb5ad7] check-in: [1108cabd] user: jan.nijtmans branch: tk-cocoa-8-5-backport, size: 15979 | |
2011-07-04
| ||
16:16 | Commit of backport of Tk-Cocoa to 8.5 file: [07c9b194] check-in: [d3143d1c] user: kevin_walzer branch: tk-cocoa-8-5-backport, size: 16000 | |
2011-06-08
| ||
20:24 | Purge RCS Keywords file: [e0b56d11] check-in: [b8a13852] user: dgp branch: trunk, size: 15931 | |
17:44 | Purge RCS Keywords. file: [c513da4c] check-in: [3f95fbe0] user: dgp branch: core-8-5-branch, size: 15502 | |
16:13 | Purge RCS Keywords. file: [6fd69ea8] check-in: [a74f32bb] user: dgp branch: core-8-4-branch, size: 14610 | |
2009-07-06
| ||
20:29 | More marking of files as Objective-C. file: [c496f2dd] check-in: [0f560ce4] user: dkf branch: trunk, size: 16004 | |
2009-06-29
| ||
14:35 | Merge of TkAqua Cocoa port file: [4c5ebf16] check-in: [05bd0a2c] user: das branch: trunk, size: 15973 | |
2009-05-06
| ||
16:36 | avoid panic for CFStrings longer than INT_MAX file: [1b227eac] check-in: [a4e83967] user: das branch: core-8-5-branch, size: 15579 | |
16:36 | avoid panic for CFStrings longer than INT_MAX file: [a6428dfd] check-in: [d2550d4f] user: das branch: trunk, size: 15529 | |
2008-12-15
| ||
16:17 |
TIP #338 IMPLEMENTATION * doc/Tk_Main.c: Removed the last two '#include "tclInt.h"'. * generic/tkMain.c: Tk is now limited to Tcl's public interface. * macosx/tkMacOSXInit.c:file: [3d41d639] check-in: [beef4afb] user: dgp branch: trunk, size: 15512 | |
2008-12-09
| ||
23:53 |
* macosx/tkMacOSXInit.c (TkpInit): unconditionally show Tk console if TK_CONSOLE env var is set.file: [ee03f419] check-in: [c1fcc95a] user: das branch: trunk, size: 15591 | |
2008-06-25
| ||
16:46 | merge updates from 8.5 branch file: [985f30aa] check-in: [3b1a12a1] user: dgp branch: core-stabilizer-branch, size: 15562 | |
2008-06-19
| ||
00:13 |
* macosx/tkMacOSXInit.c: add helper to efficiently convert from * macosx/tkMacOSXPrivate.h: CFString to Tcl_Obj.file: [17cfc018] check-in: [65fc3c5a] user: das branch: core-8-5-branch, size: 15562 | |
00:13 |
* macosx/tkMacOSXInit.c: add helper to efficiently convert from * macosx/tkMacOSXPrivate.h: CFString to Tcl_Obj.file: [502c87f3] check-in: [d3a3896c] user: das branch: trunk, size: 15558 | |
2008-05-03
| ||
21:09 | sync with dkf's 2008-04-27 whitespace&formatting changes on HEAD, to ease branch maintenance. file: [09c14066] check-in: [e14c2620] user: das branch: core-8-5-branch, size: 14509 | |
2008-04-27
| ||
22:38 | Get rid of pre-C89-isms (esp. CONST vs const). file: [3257a075] check-in: [ddfd8bb6] user: dkf branch: trunk, size: 14505 | |
2007-12-13
| ||
15:23 | merge stable branch onto HEAD file: [f912c24f] check-in: [e7868b44] user: dgp branch: trunk, size: 14524 | |
2007-11-09
| ||
06:26 |
Backport from HEAD of Aqua changes from 2007-10-12 to 2007-11-09file: [5dd8851c] check-in: [f3af33f1] user: das branch: core-8-4-branch, size: 14687 | |
2007-09-07
| ||
01:25 | merge updates from HEAD file: [b069fb45] check-in: [07ac4df0] user: dgp branch: core-stabilizer-branch, size: 14528 | |
2007-09-06
| ||
19:33 |
* generic/tkWindow.c (Initialize): Moved common Tk initialization * generic/tkInitScript.h (removed): script out of tkInitScript.h * macosx/tkMacOSXInit.c: and multiple TkpInit() routines and * unix/Makefile.in: into the common Initialize() routine in * unix/tkUnixInit.c: generic code. Also removed constraint on * win/tkWinInit.c: ability to define a custom [tkInit] before calling Tk_Init(). Until now the custom [tkInit] had to be a proc. Now it can be any command. Removal of tkInitScript.h also fixes [Bug 1656283].file: [61b025e8] check-in: [8b6b21d9] user: dgp branch: trunk, size: 14524 | |
2007-07-01
| ||
17:31 | merge updates from HEAD file: [9e59b281] check-in: [9cc0726e] user: dgp branch: core-stabilizer-branch, size: 14697 | |
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: [22b1569d] check-in: [98571053] user: das branch: core-8-4-branch, size: 14485 | |
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: [e7e77d4c] check-in: [dd992cbc] user: das branch: trunk, size: 14693 | |
2007-06-12
| ||
16:22 | merge updates from HEAD file: [ed1d8a64] check-in: [6f34739f] user: dgp branch: core-stabilizer-branch, size: 14693 | |
2007-06-09
| ||
17:10 |
* macosx/tkMacOSXColor.c: fix issues with TK_{IF,ELSE,ENDIF} macros; * macosx/tkMacOSXDraw.c: implement Jaguar equivalent of unavailable * macosx/tkMacOSXEntry.c: kHIToolboxVersion global; panic at startup * macosx/tkMacOSXEvent.c: if MAC_OS_X_VERSION_MIN_REQUIRED constraint * macosx/tkMacOSXInit.c: is not satisfied. * macosx/tkMacOSXInt.h: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXDraw.c (XCopyArea, XCopyPlane, TkPutImage) (TkMacOSXSetupDrawingContext): factor out common code and standardize setup/restore of port, context and clipping; formatting cleanup. * macosx/tkMacOSXWindowEvent.c: add error checking. * macosx/tkMacOSXMenu.c: fix gcc3 warning. * macosx/tkMacOSXScrlbr.c: fix testsuite crash. * macosx/tkMacOSXSubwindows.c: formatting cleanup. * macosx/tkMacOSXRegion.c: fix typos. * macosx/tkMacOSXScale.c:file: [3c655903] check-in: [39cb2ed4] user: das branch: core-8-4-branch, size: 14481 | |
17:09 |
* macosx/tkMacOSXColor.c: fix issues with TK_{IF,ELSE,ENDIF} macros; * macosx/tkMacOSXDraw.c: implement Jaguar equivalent of unavailable * macosx/tkMacOSXEntry.c: kHIToolboxVersion global; panic at startup * macosx/tkMacOSXEvent.c: if MAC_OS_X_VERSION_MIN_REQUIRED constraint * macosx/tkMacOSXInit.c: is not satisfied. * macosx/tkMacOSXInt.h: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXDraw.c (XCopyArea, XCopyPlane, TkPutImage) (TkMacOSXSetupDrawingContext): factor out common code and standardize setup/restore of port, context and clipping; formatting cleanup. * macosx/tkMacOSXWindowEvent.c: add error checking. * macosx/tkMacOSXMenu.c: fix gcc3 warning. * macosx/tkMacOSXScrlbr.c: fix testsuite crash. * macosx/tkMacOSXSubwindows.c: formatting cleanup. * macosx/tkMacOSXRegion.c: fix typos. * macosx/tkMacOSXScale.c: * macosx/tkMacOSXXStubs.c (Tk_GetUserInactiveTime): remove superfluous CFRetain/CFRelease. * macosx/Wish-Release.xcconfig: disable tktest release build stripping. * macosx/Wish.xcodeproj/project.pbxproj: add new Tclsh-Info.plist.in.file: [bf1a1e3b] check-in: [284e8e06] user: das branch: trunk, size: 14689 | |
2007-06-06
| ||
09:56 |
* macosx/tkMacOSXMouseEvent.c (GenerateMouseWheelEvent): enable processing of mousewheel events in background windows. * macosx/tkMacOSXScrlbr.c: modernize checks for active/front window. * macosx/tkMacOSXScale.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXColor.c: factor out verbose #ifdef checks of * macosx/tkMacOSXDraw.c: MAC_OS_X_VERSION_{MAX_ALLOWED,MIN_REQUIRED} * macosx/tkMacOSXEntry.c: and runtime checks of kHIToolboxVersion into * macosx/tkMacOSXEvent.c: new TK_{IF,ELSE,ENDIF}_MAC_OS_X macros. * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXDraw.c: factor out clip clearing in QD ports; * macosx/tkMacOSXEntry.c: formatting cleanup.file: [09ac98bd] check-in: [5f7d5694] user: das branch: core-8-4-branch, size: 13615 | |
09:55 |
* macosx/tkMacOSXMouseEvent.c (GenerateMouseWheelEvent): enable processing of mousewheel events in background windows. * macosx/tkMacOSXScrlbr.c: modernize checks for active/front window. * macosx/tkMacOSXScale.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXColor.c: factor out verbose #ifdef checks of * macosx/tkMacOSXDraw.c: MAC_OS_X_VERSION_{MAX_ALLOWED,MIN_REQUIRED} * macosx/tkMacOSXEntry.c: and runtime checks of kHIToolboxVersion into * macosx/tkMacOSXEvent.c: new TK_{IF,ELSE,ENDIF}_MAC_OS_X macros. * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXDraw.c: factor out clip clearing in QD ports; * macosx/tkMacOSXEntry.c: formatting cleanup. * macosx/Wish.xcodeproj/project.pbxproj: add settings for Fix&Continue.file: [0d211835] check-in: [3cd90b0b] user: das branch: trunk, size: 13823 | |
2007-06-04
| ||
15:19 | merge updates from HEAD file: [c836a483] check-in: [c5226fca] user: dgp branch: core-stabilizer-branch, size: 13913 | |
09:27 |
* macosx/tkMacOSXInit.c: comment formatting fix for Xcode 3.0.file: [4cfbe87c] check-in: [f5c656e7] user: das branch: trunk, size: 13909 | |
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: [879acb3e] check-in: [c91e0ad0] user: das branch: core-8-4-branch, size: 13701 | |
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: [da11e56f] check-in: [d9c03a54] user: das branch: trunk, size: 13913 | |
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: [ccc1051f] check-in: [888addf4] user: hobbs branch: trunk, size: 14174 | |
2007-04-13
| ||
14:51 | Reduce the #ifdef count a lot by adding debug-print macros file: [92ae0d9a] check-in: [825336d2] user: dkf branch: trunk, size: 14166 | |
2006-11-24
| ||
19:04 |
* macosx/tkMacOSXInit.c (TkpInit): only set tcl_interactive 1 if it isn't already defined. Allows embedders to set it to 0 to prevent the console appearing on OS X. [Bug 1487701]file: [89e402c4] check-in: [2efeca71] user: hobbs branch: core-8-4-branch, size: 13988 | |
19:03 |
* macosx/tkMacOSXInit.c (TkpInit): only set tcl_interactive 1 if it isn't already defined. Allows embedders to set it to 0 to prevent the console appearing on OS X. [Bug 1487701]file: [baa201fa] check-in: [9901d3ea] user: hobbs branch: trunk, size: 14174 | |
2006-10-16
| ||
15:35 |
* changes: updates for 8.4.14 release. * macosx/tkMacOSXDraw.c: fix numerous issues in CG and QD drawing procs so that they now match X11 drawing much more closely [Bug 1558051]; use Tiger ellipse drawing API when available; fix comments & whitespace. * macosx/tkMacOSXInit.c: set default linewidth limit for CG antialiasing to 0 as thin horizontal/vertical lines look good now. * generic/tkCanvLine.c (ConfigureLine): on TkAqua, pass outline * generic/tkCanvPoly.c (ConfigurePolygon): linewidth in gc even for * generic/tkRectOval.c (ConfigureRectOval): fills (as it controls AA).file: [8d2ad765] check-in: [d5ad7c09] user: das branch: core-8-4-branch, size: 13778 | |
15:35 |
* changes: updates for 8.5a5 release. * macosx/tkMacOSXDraw.c: fix numerous issues in CG and QD drawing procs so that they now match X11 drawing much more closely [Bug 1558051]; use Tiger ellipse drawing API when available; fix comments & whitespace. * macosx/tkMacOSXInit.c: set default linewidth limit for CG antialiasing to 0 as thin horizontal/vertical lines look good now. * generic/tkCanvLine.c (ConfigureLine): on TkAqua, pass outline * generic/tkCanvPoly.c (ConfigurePolygon): linewidth in gc even for * generic/tkRectOval.c (ConfigureRectOval): fills (as it controls AA).file: [72d86f7b] check-in: [7b1e5388] user: das branch: trunk, size: 13990 | |
2006-08-18
| ||
07:47 |
* unix/tcl.m4 (Darwin): add support for --enable-64bit on x86_64, for universal builds including x86_64, for 64-bit CoreFoundation on Leopard and for use of -mmacosx-version-min instead of MACOSX_DEPLOYMENT_TARGET. * unix/configure.in (Darwin): remove 64-bit arch flags from CFLAGS for combined 32-bit and 64-bit universal builds, as neither TkAqua nor TkX11 can be built for 64-bit at present. * unix/configure: autoconf-2.13 * macosx/README: updates for x86_64 support in Tcl. * macosx/tkMacOSXInit.c (TkpInit): when available, use public TransformProcessType() API instead of CPSEnableForegroundOperation() SPI to notify the window server that we are a GUI application. * macosx/tkMacOSXWm.c (WmAttrGetTitlePath): use HIWindow API on >=Tiger. * macosx/tkMacOSXMouseEvent.c (GenerateToolbarButtonEvent): * macosx/tkMacOSXMenus.c (GenerateEditEvent): * macosx/tkMacOSXMenu.c (MenuSelectEvent): bzero XVirtualEvent structure before use to ensure all fields are initialized. [Bug 1542205]file: [59e0b08e] check-in: [396a316f] user: das branch: core-8-4-branch, size: 13790 | |
07:47 |
* unix/tcl.m4 (Darwin): add support for --enable-64bit on x86_64, for universal builds including x86_64, for 64-bit CoreFoundation on Leopard and for use of -mmacosx-version-min instead of MACOSX_DEPLOYMENT_TARGET. * unix/configure.in (Darwin): remove 64-bit arch flags from CFLAGS for combined 32-bit and 64-bit universal builds, as neither TkAqua nor TkX11 can be built for 64-bit at present. * unix/configure: autoconf-2.59 * unix/tkConfig.h.in: autoheader-2.59 * macosx/Wish.xcodeproj/project.pbxproj: switch native release targets to use DWARF with dSYM, Xcode 3.0 changes. * macosx/README: updates for x86_64 and Xcode 2.3. * macosx/tkMacOSXInit.c (TkpInit): when available, use public TransformProcessType() API instead of CPSEnableForegroundOperation() SPI to notify the window server that we are a GUI application. * macosx/tkMacOSXWm.c (WmAttrGetTitlePath): use HIWindow API on >=Tiger. * macosx/tkMacOSXMouseEvent.c (GenerateToolbarButtonEvent): * macosx/tkMacOSXMenus.c (GenerateEditEvent): * macosx/tkMacOSXMenu.c (MenuSelectEvent): bzero XVirtualEvent structure before use to ensure all fields are initialized. [Bug 1542205]file: [9fcf9539] check-in: [947c1df3] user: das branch: trunk, size: 13990 | |
2006-07-20
| ||
06:26 |
* macosx/tkMacOSXCursor.c (TkMacOSXCursor): * macosx/tkMacOSXDebug.c (TkMacOSXGetNamedDebugSymbol): * macosx/tkMacOSXInit.c (Map): fix signed-with-unsigned comparison and other warnings from gcc4 -Wextra.file: [08ec4704] check-in: [35e728e0] user: das branch: core-8-4-branch, size: 13484 | |
06:24 |
* generic/tkImgGIF.c (ReadImage): * macosx/tkMacOSXCursor.c (TkMacOSXCursor): * macosx/tkMacOSXDebug.c (TkMacOSXGetNamedDebugSymbol): * macosx/tkMacOSXInit.c (Map): * xlib/xgc.c (XCreateGC): fix signed-with-unsigned comparison and other warnings from gcc4 -Wextra.file: [0d248b70] check-in: [694dad4d] user: das branch: trunk, size: 13684 | |
2006-05-12
| ||
18:17 |
* generic/tkCanvWind.c (DisplayWinItem, WinItemRequestProc): ensure canvas window items are unmapped when canvas is unmapped. [Bug 940117] * macosx/tkMacOSXSubwindows.c (TkMacOSXUpdateClipRgn): empty clip region of unmapped windows to prevent any drawing into them or into their children from becoming visible. [Bug 940117] * macosx/tkMacOSXInt.h: revert Jim's attempt of 2005-03-14 to * macosx/tkMacOSXSubwindows.c: fix Bug 940117 as it disables Map/Unmap event propagation to children. [Bug 1480105] * macosx/tkMacOSXDraw.c (TkPutImage): handle tkPictureIsOpen flag, fixes incorrect positioning of images with complex alpha on native buttons; actual alpha blending is still broken in this situation. [Bug 1155596] * macosx/tkMacOSXEvent.c (TkMacOSXProcessCommandEvent): * macosx/tkMacOSXMenus.c (TkMacOSXInitMenus): workaround carbon bug with key shortcut for 'Preferences' app menu item. [Bug 1481503] * macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): only check for HICommand menu item shortcuts in the application menu. * macosx/tkMacOSXInt.h: initialize keyboard layout setup in * macosx/tkMacOSXInit.c: TkpInit() rather than during handling of * macosx/tkMacOSXKeyEvent.c: first key down event. * macosx/tkMacOSXDraw.c: add optional debug code to flash clip * macosx/tkMacOSXSubwindows.c: regions during update or draw.file: [74a0a81c] check-in: [a75d23da] user: das branch: core-8-4-branch, size: 13471 | |
18:17 |
* generic/tkCanvWind.c (DisplayWinItem, WinItemRequestProc): ensure canvas window items are unmapped when canvas is unmapped. [Bug 940117] * macosx/tkMacOSXSubwindows.c (TkMacOSXUpdateClipRgn): empty clip region of unmapped windows to prevent any drawing into them or into their children from becoming visible. [Bug 940117] * macosx/tkMacOSXInt.h: revert Jim's attempt of 2005-03-14 to * macosx/tkMacOSXSubwindows.c: fix Bug 940117 as it disables Map/Unmap event propagation to children. [Bug 1480105] * macosx/tkMacOSXDraw.c (TkPutImage): handle tkPictureIsOpen flag, fixes incorrect positioning of images with complex alpha on native buttons; actual alpha blending is still broken in this situation. [Bug 1155596] * macosx/tkMacOSXEvent.c (TkMacOSXProcessCommandEvent): * macosx/tkMacOSXMenus.c (TkMacOSXInitMenus): workaround carbon bug with key shortcut for 'Preferences' app menu item. [Bug 1481503] * macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): only check for HICommand menu item shortcuts in the application menu. * macosx/tkMacOSXInt.h: initialize keyboard layout setup in * macosx/tkMacOSXInit.c: TkpInit() rather than during handling of * macosx/tkMacOSXKeyEvent.c: first key down event. * macosx/tkMacOSXDraw.c: add optional debug code to flash clip * macosx/tkMacOSXSubwindows.c: regions during update or draw.file: [772383b6] check-in: [bb9d0b13] user: das branch: trunk, size: 13671 | |
2006-04-28
| ||
06:02 |
* macosx/tkMacOSXWm.c (TkWmMapWindow, InitialWindowBounds): fix use of potentially stale window position in initial configure event on first map of a window. [Bug 1476443] (TkMacOSXWindowOffset): use modern GetWindowStructureWidths API. * macosx/tkMacOSXInt.h: * macosx/tkMacOSXMouseEvent.c (TkGenerateButtonEventForXPointer): new internal function to generate button events for current pointer directly, without requiring prior call to XQueryPointer(). * macosx/tkMacOSXMouseEvent.c (XQueryPointer): implement return of window-local pointer position. * macosx/tkMacOSXInt.h: use improvements above to avoid calls to * macosx/tkMacOSXKeyEvent.c: GlobalToLocal() when the current port might * macosx/tkMacOSXMenu.c: not be set correctly. May fix [Bug 1243318] * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * tkAboutDlg.r: update copyright. * macosx/tkMacOSXCarbonEvents.c: sync with HEAD * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDebug.h: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXEvent.h: * macosx/tkMacOSXFont.h: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXSend.c: * macosx/tkMacOSXTest.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c:file: [55055adb] check-in: [7f39d25f] user: das branch: core-8-4-branch, size: 15499 | |
2006-04-11
| ||
10:19 |
* macosx/tkMacOSXFont.c: remove #ifdef'd text measuring codepaths now * macosx/tkMacOSXInit.c: known to be incorrect, cleanup obsolete text * macosx/README: antialiasing control code, document ATSUI text antialiasing changes.file: [2ae4ed95] check-in: [9736cfe7] user: das branch: trunk, size: 15768 | |
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: [bec35886] check-in: [761084f8] user: das branch: core-8-4-branch, size: 15486 | |
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: [9e118eb8] check-in: [bd201bc0] user: das branch: trunk, size: 15770 | |
2006-01-10
| ||
05:38 |
* macosx/tkMacOSXDraw.c: re-added inclusion of tclInt.h to allow access * macosx/tkMacOSXFont.c: to 8.4-internal Tcl_CreateNamespace(). * macosx/tkMacOSXDebug.c: add TkMacOSXGetNamedDebugSymbol() function * macosx/tkMacOSXDebug.h: that finds unexported symbols in loaded libraries by manually walking their symbol table; only to be used for debugging purposes, may break unexpectedly in the future. Needed to get access to private_extern internal debugging functions in HIToolbox. * macosx/tkMacOSXCarbonEvents.c: fix debug event tracing on Tiger. * macosx/tkMacOSXMenu.c: add debug menu printing during reconfigure. * macosx/tkMacOSXInit.c: conditionalize 64bit-unsafe dyld code. * macosx/Makefile: add 'wish8.x' symlink to SYMROOT. * unix/configure: add caching, use AC_CACHE_CHECK instead of * unix/configure.in: AC_CACHE_VAL where possible, consistent message * unix/tcl.m4: quoting, sync relevant tclconfig/tcl.m4 changes and gratuitous formatting differences, fix SC_CONFIG_MANPAGES with default argument, Darwin improvements to SC_LOAD_*CONFIG.file: [fca8eb1a] check-in: [ed949bf5] user: das branch: core-8-4-branch, size: 15503 | |
05:37 |
* macosx/tkMacOSXDebug.c: add TkMacOSXGetNamedDebugSymbol() function * macosx/tkMacOSXDebug.h: that finds unexported symbols in loaded libraries by manually walking their symbol table; only to be used for debugging purposes, may break unexpectedly in the future. Needed to get access to private_extern internal debugging functions in HIToolbox. * macosx/tkMacOSXCarbonEvents.c: fix debug event tracing on Tiger. * macosx/tkMacOSXMenu.c: add debug menu printing during reconfigure. * macosx/tkMacOSXInit.c: conditionalize 64bit-unsafe dyld code. * macosx/GNUmakefile: add 'wish8.x' symlink to SYMROOT. * macosx/Wish.xcode/project.pbxproj: fix copy to tktest resource * macosx/Wish.xcodeproj/project.pbxproj: fork when zerolinked. * macosx/Wish.xcode/default.pbxuser: add widget demo as argument to * macosx/Wish.xcodeproj/default.pbxuser: executables (on by default). * unix/configure: add caching, use AC_CACHE_CHECK instead of * unix/configure.in: AC_CACHE_VAL where possible, consistent message * unix/tcl.m4: quoting, sync relevant tclconfig/tcl.m4 changes and gratuitous formatting differences, fix SC_CONFIG_MANPAGES with default argument, Darwin improvements to SC_LOAD_*CONFIG.file: [52391e92] check-in: [d23f30ce] user: das branch: trunk, size: 15787 | |
2005-12-08
| ||
07:50 |
* macosx/tkMacOSXDraw.c: remove inclusion of tclInt.h and use of tcl * macosx/tkMacOSXFont.c: internals wherever possible in tk/macosx, the * macosx/tkMacOSXInit.c: only remaining tcl internals in TkAqua are * macosx/tkMacOSXNotify.c: TclServiceIdle() in tkMacOSXScrlbr.c and * macosx/tkMacOSXScrlbr.c: Tcl_Get/SetStartupScript() in tkMacOSXInit.c [Bug 1336531].file: [101a0310] check-in: [6b76f56a] user: das branch: core-8-4-branch, size: 15459 | |
07:50 |
* macosx/tkMacOSXDraw.c: remove inclusion of tclInt.h and use of tcl * macosx/tkMacOSXFont.c: internals wherever possible in tk/macosx, the * macosx/tkMacOSXInit.c: only remaining tcl internals in TkAqua are * macosx/tkMacOSXNotify.c: TclServiceIdle() in tkMacOSXScrlbr.c and * macosx/tkMacOSXScrlbr.c: Tcl_Get/SetStartupScript() in tkMacOSXInit.c [Bug 1336531].file: [73a0db15] check-in: [8051a1e4] user: das branch: trunk, size: 15743 | |
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: [8b7c89b8] check-in: [e1543974] user: das branch: core-8-4-branch, size: 15403 | |
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: [db2a292d] check-in: [67cb6f9b] user: das branch: trunk, size: 15685 | |
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: [65d7fb95] check-in: [cb862bdd] user: das branch: core-8-4-branch, size: 14711 | |
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: [3656bfb3] check-in: [2d5bab52] user: das branch: trunk, size: 14993 | |
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: [eed95648] check-in: [f858b664] user: das branch: core-8-4-branch, size: 14683 | |
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: [6f6419fe] check-in: [10965e80] user: das branch: trunk, size: 14966 | |
2005-05-29
| ||
07:00 |
* macosx/tkMacOSXInit.c: * macosx/tkMacOSXNotify.c: fixed warnings.file: [80163300] check-in: [8124f7f5] user: das branch: core-8-4-branch, size: 14641 | |
07:00 |
* macosx/tkMacOSXInit.c: * macosx/tkMacOSXNotify.c: fixed warnings.file: [989e3274] check-in: [e6448289] user: das branch: trunk, size: 14953 | |
2005-05-26
| ||
11:20 |
* macosx/tkMacOSXInit.c (TkpInit): fixed resource file extraction from __tk_rsrc section to work with non-prebound .dylib and .bundle. * macosx/Makefile: corrected EMBEDDED_BUILD check, use separate tcl and tk version vars to properly support tk/x11 framework version overriding, rewrite tkConfig.sh when overriding tk version, corrected Wish.app symlink in tk build dir. * unix/configure.in: corrected framework finalization to softlink stub library to Versions/8.x subdir instead of Versions/Current. * unix/configure: autoconf-2.13file: [d1c834a1] check-in: [f3e78905] user: das branch: core-8-4-branch, size: 14640 | |
11:18 |
* macosx/tkMacOSXInit.c (TkpInit): fixed resource file extraction from __tk_rsrc section to work with non-prebound .dylib and .bundle. * macosx/Makefile: corrected EMBEDDED_BUILD check, use separate tcl and tk version vars to properly support tk/x11 framework version overriding, rewrite tkConfig.sh when overriding tk version, corrected Wish.app symlink in tk build dir. * unix/configure.in: corrected framework finalization to softlink stub library to Versions/8.x subdir instead of Versions/Current. * unix/configure: autoconf-2.59file: [3ac8ab4a] check-in: [3ff02d4a] user: das branch: trunk, size: 14952 | |
2005-05-24
| ||
04:21 |
* macosx/Makefile: * macosx/README: * macosx/Tk-Info.plist.in (new file): * macosx/Wish-Info.plist.in (new file): * unix/Makefile.in: * unix/configure.in: * unix/tcl.m4: * unix/tkUnixInit.c: moved all Darwin framework and TkAqua build support from macosx/Wish.pbproj and macosx/Makefile into the standard unix configure/make buildsystem, the project and macosx/Makefile are no longer required to build Tk.framework and/or TkAqua. TkAqua is now enabled by the --enable-aqua configure option, and static and non-framework builds of TkAqua are now available via the standard configure switches. Tk/X11 can also be built as a framework. The macosx/Makefile now wraps the unix buildsystem and no longer uses the projects, embedded builds are still only available via this Makefile, but for other builds it is not longer required (but its current functionality is still available for backwards compatibility). The projects currently do not call through to the Makefile to build (unlike Tcl.pbproj) so project builds may differ from makefile builds. Due to issues with spaces in pathnames, 'Wish Shell.app' has been renamed to 'Wish.app', the macosx/Makefile installs backwards compatibility symlinks for the old name. * macosx/tkMacOSXInit.c (TkpInit): added support for Tk resource file in non-framework and static builds: the resource file is copied into a __tk_rsrc MachO segment of the library or executable at link time and extracted into a temporary location at initialization. * unix/configure: autoconf-2.13file: [be4161d9] check-in: [96e180a1] user: das branch: core-8-4-branch, size: 14694 | |
02:32 | fix for non-framework TkAqua build file: [37f156dc] check-in: [7f3325f8] user: das branch: trunk, size: 15006 | |
2005-05-23
| ||
20:24 |
* macosx/Makefile: * macosx/README: * macosx/Tk-Info.plist.in (new file): * macosx/Wish-Info.plist.in (new file): * unix/Makefile.in: * unix/configure.in: * unix/tcl.m4: * unix/tkUnixInit.c: moved all Darwin framework and TkAqua build support from macosx/Wish.pbproj and macosx/Makefile into the standard unix configure/make buildsystem, the project and macosx/Makefile are no longer required to build Tk.framework and/or TkAqua. TkAqua is now enabled by the --enable-aqua configure option, and static and non-framework builds of TkAqua are now available via the standard configure switches. Tk/X11 can also be built as a framework. The macosx/Makefile now wraps the unix buildsystem and no longer uses the projects, embedded builds are still only available via this Makefile, but for other builds it is not longer required (but its current functionality is still available for backwards compatibility). The projects currently do not call through to the Makefile to build (unlike Tcl.pbproj) so project builds may differ from makefile builds. Due to issues with spaces in pathnames, 'Wish Shell.app' has been renamed to 'Wish.app', the macosx/Makefile installs backwards compatibility symlinks for the old name. * macosx/tkMacOSXInit.c (TkpInit): added support for Tk resource file in non-framework and static builds: the resource file is copied into a __tk_rsrc MachO segment of the library or executable at link time and extracted into a temporary location at initialization. * unix/configure: autoconf-2.59 * unix/tkConfig.h.in (new file): autoheader-2.59file: [08682fac] check-in: [a9562fc8] user: das branch: trunk, size: 14967 | |
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: [ac1ae326] check-in: [dcd4b7c7] user: das branch: core-8-4-branch, size: 12426 | |
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: [3f6a6329] check-in: [f9a3b027] user: das branch: trunk, size: 12737 | |
2005-03-09
| ||
19:40 | Add a hack to work around some issues with remote debugging with Xcode. Xcode requires that stdin & stdout be closed or you won't be able to interrupt the running program. So I added a check for XCNOSTDIN environment variable in the startup, and I force them closed if it is set. With that, remote debugging works pretty well. file: [66d6c2ac] check-in: [d853b789] user: wolfsuit branch: trunk, size: 12713 | |
2005-01-25
| ||
06:54 |
* macosx/tkMacOSXInit.c (TkpInit): set tcl_interactive to 1 to show console at startup instead of directly calling [console show]. * unix/tcl.m4 (Darwin): fixed bug with static build linking to dynamic library in /usr/lib etc instead of linking to static library earlier in search path. [Tcl Bug 956908] Removed obsolete references to Rhapsody. * unix/configure: autoconf-2.13file: [6e6f6ff6] check-in: [dc471f10] user: das branch: core-8-4-branch, size: 12397 | |
06:54 |
* macosx/tkMacOSXInit.c (TkpInit): set tcl_interactive to 1 to show console at startup instead of directly calling [console show]. * unix/tcl.m4 (Darwin): fixed bug with static build linking to dynamic library in /usr/lib etc instead of linking to static library earlier in search path. [Tcl Bug 956908] Removed obsolete references to Rhapsody. * unix/configure: autoconf-2.57file: [fe41cdb9] check-in: [299ef497] user: das branch: trunk, size: 12446 | |
2004-11-11
| ||
01:26 |
* generic/tkMain.c: * macosx/tkMacOSXAppInit.c (removed): * macosx/Wish.pbproj/project.pbxproj: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: changes to make TkAqua dynamically loadable, enabling [package require Tk] from tclsh. Startup code from tkMacOSXAppInit.c moved into tkMacOSXInit.c, added code that notifies the window server that an unbundled executable is a full GUI application after loading Tk. [Patch 1035348] * doc/wm.n: documented [wm attributes] on Mac OS X. [Bug 606665] * macosx/tkMacOSXWm.c: implemented TIP 222 [wm attributes -alpha] on Mac OS X. [Patch 892194] WmIconbitmapCmd: adopted FSRef changes from [wm atttrs -titlepath]. * macosx/tkMacOSXButton.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXRegion.c: * macosx/tkMacOSXSubwindows.c: synced spacing/formatting with HEAD. * macosx/tkMacOSXMouseEvent.c: endianness fixes. * macosx/Wish.pbproj/project.pbxproj: corrected path to html help inside framework. * macosx/Makefile: prevent parallel make from building several targets at the same time. Ensure that xcodebuild will use Wish.pbproj project even if a .xcode project is also present.file: [0a29a215] check-in: [c98b6fdb] user: das branch: core-8-4-branch, size: 12341 | |
01:24 |
* generic/tkMain.c: * macosx/tkMacOSXAppInit.c (removed): * macosx/Wish.pbproj/project.pbxproj: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: changes to make TkAqua dynamically loadable, enabling [package require Tk] from tclsh. Startup code from tkMacOSXAppInit.c moved into tkMacOSXInit.c, added code that notifies the window server that an unbundled executable is a full GUI application after loading Tk. [Patch 1035348] * doc/wm.n: documented [wm attributes] on Mac OS X. [Bug 606665] * macosx/tkMacOSXWm.c: implemented TIP 222 [wm attributes -alpha] on Mac OS X. [Patch 892194] WmIconbitmapCmd: adopted FSRef changes from [wm atttrs -titlepath]. * macosx/tkMacOSXSubwindows.c: synced spacing/formatting with core-8-4-branch. * generic/tkRectOval.c: * macosx/README: * macosx/tkMacOSXDefault.h: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXWm.c: forward port from core-8-4-branch of Jim's and my changes for CG drawing and [wm attributes] (corresponds to 8.4 changes dating from 09-18, 07-27, 07-24). * macosx/tkMacOSXMouseEvent.c: endianness fixes. * macosx/Wish.pbproj/project.pbxproj: corrected path to html help inside framework. * macosx/Makefile: prevent parallel make from building several targets at the same time.file: [9367cea7] check-in: [2cb92ba5] user: das branch: trunk, size: 12394 | |
2004-07-25
| ||
01:57 | Finish the implementation of the CG version of the X Drawing layer. Add support for returning values for the wm attributes commands, and use FSRef's rather than FSSpec's. file: [e97782cc] check-in: [ca2ae6b8] user: wolfsuit branch: core-8-4-branch, size: 5995 | |
2004-02-16
| ||
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: [f0ecfd34] check-in: [4aed47b8] user: wolfsuit branch: trunk, size: 5992 | |
2003-05-13
| ||
08:41 |
* macosx/tkMacOSXInit.c (TkpInit): use new versioned bundle resource API to get tk runtime library for TK_VERSION. [Bug 736774]file: [95f93312] check-in: [99558556] user: das branch: core-8-4-branch, size: 5942 | |
08:40 |
* macosx/tkMacOSXInit.c (TkpInit): use new versioned bundle resource API to get tk runtime library for TK_VERSION. [Bug 736774]file: [a6b74b10] check-in: [a1685825] user: das branch: trunk, size: 5938 | |
2002-10-16
| ||
19:44 |
* macosx/Wish.pbproj/project.pbxproj: added TEXT document type to plist so that files can be dragged onto Wish Shell. * macosx/tkMacOSXInt.h: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXFont.c: added private proc TkMacOSXUseAntialiasedText() to enable/disable quickdraw text antialiasing where available, default is enabled. Added a linked boolean ::tk::mac::antialiasedtext with write trace to allow control of antialiasing from tcl.file: [0d745a65] check-in: [cdc06cfe] user: das branch: trunk, size: 5924 | |
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: [969f7061] check-in: [6b4c1410] user: das branch: trunk, size: 5875 | |
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: [68a95feb] check-in: [3ee14f2c] user: das branch: macosx-8-4-branch, size: 5879 | |
2002-08-21
| ||
12:28 | whitespace & other cleanup wish startup code cleanup induced by new support in tcl for standard MacOSX tcl package locations renamed Tk_GetFirstTextLayout to private TkFontGetFirstTextLayout file: [e2e43710] check-in: [67ad8b87] user: das branch: macosx-8-4-branch, size: 5982 | |
2002-07-19
| ||
09:22 | Jim's patch for encodings file: [075eebbf] check-in: [2b8127b6] user: vincentdarley branch: macosx-8-4-branch, size: 6106 | |
2002-07-18
| ||
23:45 | encodings, events file: [ca8d7364] check-in: [89cc0ef3] user: vincentdarley branch: macosx-8-4-branch, size: 4217 | |
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: [02df288b] check-in: [32f71d05] user: wolfsuit branch: macosx-8-4-branch, size: 4071 | |
2002-01-22
| ||
01:28 |
* macosx/tkMacOSXInit.c (TkpInit): Move ALL the MacOS X specific initialization code into TkpInit so extension writers don't have to do anything special to initialize Tk. This is patch #495549 file: [f44d4251] check-in: [4dec70a7] user: wolfsuit branch: macosx-8-4-branch, size: 4059 | |
2001-11-11
| ||
17:54 | Move the bundle routines over to Tcl, and use them from there. file: [67ccaa1f] check-in: [bb96d9e8] user: wolfsuit branch: macosx-8-4-branch, size: 3626 | |
2001-10-15
| ||
09:21 | Added: First checkin of support for Tk on Mac OS X. file: [8d75018f] check-in: [1f829a93] user: wolfsuit branch: macosx-8-4-branch, size: 5633 | |