Tcl Source Code

All files named ”macosx/tclMacOSXNotify.c”
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for macosx/tclMacOSXNotify.c

2026-06-03
07:45
TIP #752: New timer API without Tcl_Time file: 2a206467d0 check-in: [93da3b18e7] user: jan.nijtmans branch: main, size: 53057
2026-05-17
15:06
More indentation/spacing corrections; no behaviour changes file: bce16f2782 check-in: [7c918d5f96] user: dkf branch: main, size: 53066
2026-04-08
10:20
Simplifications, using TclpGetMicroseconds() file: 6df440955b check-in: [59969f9255] user: jan.nijtmans branch: main, size: 53070
2026-04-07
13:05
Implementation complete. Make deprecated for test purposes only file: c4fbeea1a9 check-in: [62e2ae9810] user: jan.nijtmans branch: new-timer-api, size: 53061
07:30
Use more *2 functions internally file: e0ec51046f check-in: [9515c664c1] user: jan.nijtmans branch: new-timer-api, size: 53361
2026-03-22
12:57
More whitespace fixes file: 1f6bcea81d check-in: [c65a7aa504] user: dkf branch: main, size: 53360
2026-03-11
16:13
Rebase to trunk file: 261a409c14 check-in: [9e296704d1] user: jan.nijtmans branch: new-timer-api, size: 53361
2026-03-09
20:29
Rebase to trunk file: fbe9e0f008 check-in: [02d10b4ec0] user: jan.nijtmans branch: new-timer-api-prepare, size: 53357
2026-03-07
16:10
Fix some indentation file: 4a3807c718 check-in: [e0f9f715e7] user: dkf branch: main, size: 53662
2026-01-30
15:55
More Tcl_Time related clean-up file: bfd046953e check-in: [4000135a77] user: jan.nijtmans branch: new-timer-api-prepare, size: 53361
2026-01-28
11:19
Clean-ups unrelated to new-timer-api itself file: cea1dfaa44 check-in: [e07fdec3c9] user: jan.nijtmans branch: new-timer-api-prepare, size: 53438
2026-01-27
15:23
More progress (still not MacOS) file: 256f8fe87c check-in: [3c99132c81] user: jan.nijtmans branch: new-timer-api, size: 53660
2026-01-26
17:40
More progress in notifier (MacOS not done yet) file: 273640ff7f check-in: [60fbf56c2f] user: jan.nijtmans branch: new-timer-api, size: 53657
17:03
Merge trunk. More simplifications file: 36c6850d8e check-in: [feafdf3af1] user: jan.nijtmans branch: new-timer-api, size: 53666
2025-12-09
12:48
Merge main file: ca69ac7815 check-in: [2fee836011] user: oehhar branch: tip-723-timer-wall-monotonic, size: 53666
2025-12-05
15:41
More 'bool' usage, mainly for the notifier file: 17d99a2422 check-in: [b95ee14f1d] user: jan.nijtmans branch: main, size: 53920
2025-12-03
23:11
Merge 8.6. Backport some formatting from 9.1 file: 8b496e019b check-in: [f12f854bfa] user: jan.nijtmans branch: core-9-0-branch, size: 53797
23:01
Fix [6f1dd8a1be]: tclMacOSXNotify.c: function pointer cast to incompatible type file: 62a26cb4d1 check-in: [9c3bb02ddf] user: jan.nijtmans branch: core-8-6-branch, size: 56295
2025-11-27
15:52
Add missing autoconf stuff file: 8464c9922d check-in: [6f6329a38c] user: jan.nijtmans branch: tip-723-timer-wall-monotonic, size: 53544
2025-11-25
20:59
TIP-723 timer: Add Tcl_SleepMicroSeconds and Tcl_CreateTimerHandlerMicroSeconds file: 7d03637d42 check-in: [b2d5b1b30a] user: oehhar branch: tip-723-timer-wall-monotonic, size: 53546
2025-11-19
17:37
tip-723 timer: remove Tcl_SleepMonotonic, switch Tcl_CreateTimerHandler to monotonic time file: 23c251365f check-in: [b0b96b1913] user: oehhar branch: tip-723-timer-wall-monotonic, size: 53477
2025-11-18
21:02
TIP-723 timer: remove TIP 233, call panic on Tcl_SetTimeProc and Tcl_QueryTimeProc file: 2ae7b9c625 check-in: [4047f6c240] user: oehhar branch: tip-723-timer-wall-monotonic, size: 55347
17:15
Work in progress: adding restrict to OUT arguments file: 6de9f9b5ba check-in: [f9725400dd] user: dkf branch: c11-restrict, size: 53807
2025-11-15
21:56
merge trunk file: 9f2e5277aa check-in: [459669e809] user: dkf branch: c-std-update, size: 54005
18:54
TIP 723: advanced to nearly complete implementation on windows. Unfortunately, Test stall, to investigate. file: b762f2a68f check-in: [3b84406110] user: oehhar branch: tip-723-timer-wall-monotonic, size: 55681
2025-10-27
14:35
More booleans file: 85b6e48ca8 check-in: [c3432ca23e] user: dkf branch: c11-bool, size: 53971
2025-10-24
14:25
merge trunk file: 85d357b274 check-in: [9c127a6a3a] user: dkf branch: c11-bool, size: 53964
2025-10-10
23:15
Fix broken build, introduced [2d7ae66265|here]. More -Wconversion warning fixes file: bf433bd9f1 check-in: [b8506ab1c6] user: jan.nijtmans branch: main, size: 53798
16:24
Apply normal indentation/formattiong rule for sub-blocks file: 0e60424abe check-in: [8e9651234b] user: dkf branch: main, size: 53786
14:11
Tranche 3 of adoption of bool file: 9c427d5df4 check-in: [6e7e183bb2] user: dkf branch: c11-bool, size: 53929
2025-10-06
18:03
Turn initialisation flags into bools file: dbd7a0cbe6 check-in: [85f3db92e2] user: dkf branch: c11-bool, size: 53811
2025-08-17
11:25
More bools and pieces file: 6f7c0c583c check-in: [28a7d957c7] user: dkf branch: c-std-update, size: 53969
2025-08-12
09:06
More booleans. file: 673dad32dc check-in: [8a9080996d] user: dkf branch: c-std-update, size: 53963
2025-07-19
12:31
More moving of variable declarations file: 5b323b8e8e check-in: [c149575323] user: dkf branch: c-std-update, size: 53822
2025-06-20
13:15
Give each TSD struct its own name as well as the standard ThreadSpecificData file: 1b04bbc34a check-in: [8d695d0eb6] user: dkf branch: c-std-update, size: 53812
2025-03-04
16:45
Rebase to 9.1 file: fc8fac1ee4 check-in: [f3e5cd43bf] user: jan.nijtmans branch: tip-626, size: 53775
2025-03-03
09:33
Mostly whitespace fixes, but also a bug in Tcl_SetWideUIntObj file: 9c8af643cc check-in: [16c040e40a] user: dkf branch: main, size: 53763
2025-03-02
20:50
Merge 9.1 file: 7d7354d2e2 check-in: [6f0eac8f6d] user: jan.nijtmans branch: tip-626, size: 53777
15:48
Bunch of whitespace basic fixes. file: f0ae24938a check-in: [809d595b56] user: dkf branch: main, size: 53765
2025-01-20
14:39
Fixes for many many whitespace infelicities file: e4596b1870 check-in: [ba7d219e65] user: dkf branch: whitespace-fix, size: 53786
2024-12-23
11:02
Merge 9.0 file: 522447621b check-in: [23f668c6ab] user: jan.nijtmans branch: tip-626, size: 53775
2024-12-04
20:31
Remove a lot of dead code: macOS < 10.9 is no longer supported file: 2a7fdd5734 check-in: [89dee6b1b8] user: jan.nijtmans branch: main, size: 53763
17:55
Remove a lot of dead code: macOS < 10.9 is no longer supported file: 877bcc74e1 check-in: [dbc6e5ebd3] user: jan.nijtmans branch: core-8-branch, size: 53757
2024-08-31
01:03
Merge [97ad90f3204ed4c0]: Improve bunch of error-messages. file: 28528ccc35 check-in: [24a5fcb743] user: pooryorick branch: unchained, size: 60384
2024-08-29
08:23
Merge [f6c559b364487a9d]: Space before tab is an extremely unlikely to be correct indentation pattern. file: ef16750dfa check-in: [8a11a89576] user: pooryorick branch: unchained, size: 60383
2024-08-28
16:33
Merge [3a60363aa10ef993]: Clean up a lot of whitespace issues. file: 57c1a9c275 check-in: [627781a6db] user: pooryorick branch: unchained, size: 60385
2024-08-27
21:31
Merge [835b1a5566c28af4]: More whitespace cleanup. file: 85b03e9ff3 check-in: [fc7d06c8b8] user: pooryorick branch: unchained, size: 60383
2024-08-26
09:56
Merge [3bdb40e1f2683f5f]: Few more spacing/formatting tweaks. file: d6722079fc check-in: [30d592af71] user: pooryorick branch: unchained, size: 60384
2024-08-22
10:49
Whitespace changes file: 3f9ec1963c check-in: [dea1b5bd08] user: jan.nijtmans branch: core-8-branch, size: 60006
2024-08-18
20:40
Consolidated zipfs changes/Improve bunch of error-messages file: bca7d0db1a check-in: [ad33a7eb2f] user: jan.nijtmans branch: tip-626, size: 60023
2024-08-15
20:23
Improve bunch of error-messages file: 365143bf27 check-in: [3af2efb00f] user: jan.nijtmans branch: core-8-branch, size: 60008
2024-07-20
15:59
Merge trunk [91c2f411e7e71552], TIP #636 (tip-636-tcl9-644), resolve all conflicts including those resulting from conflicting Tcl_Obj interface implementations, and relicense under GNU Affero General Public License. All tests pass. file: 5b7d3a6ece check-in: [d8a3450f12] user: pooryorick branch: unchained, size: 60390
2024-07-08
16:32
Remaining can't -> cannot changes file: 45576253ec check-in: [9f35c75244] user: jan.nijtmans branch: bug-0439e1e1a3, size: 60011
2024-06-07
11:31
Merge 9.0 file: f6879e7ce4 check-in: [84ae5008cc] user: jan.nijtmans branch: tip-626, size: 60022
2024-06-04
15:35
Space before tab is an extremely unlikely to be correct indentation pattern file: 0dd65a322a check-in: [f6c559b364] user: dkf branch: main, size: 60010
2024-05-21
22:06
Merge 9.0 file: e4101a3158 check-in: [e906cead78] user: jan.nijtmans branch: tip-626, size: 60024
2024-05-13
15:41
Clean up a lot of small whitespace issues This is the dullest commit ever. Sorry. file: 4b5631e4be check-in: [3a60363aa1] user: dkf branch: main, size: 60014
2024-05-10
15:40
More whitespace cleanup file: f71fddcfe6 check-in: [835b1a5566] user: dkf branch: main, size: 60012
2024-04-23
16:06
Hmm, something is broken. Leaving this here but this commit is definitely wrong somehow file: 55732a9526 check-in: [b356268e32] user: dkf branch: tidy-indentation, size: 60016
2024-03-20
14:27
Merge 9.0 file: b875ac779b check-in: [4271f3b52a] user: jan.nijtmans branch: tip-626, size: 60025
13:49
Few more spacing/formatting tweaks file: 9f09ca7746 check-in: [3bdb40e1f2] user: jan.nijtmans branch: main, size: 60013
13:14
(backport) more spacing/formatting tweaks. For now, macosx/unix/win only. file: c97550d26b check-in: [dc8a99efff] user: jan.nijtmans branch: core-8-branch, size: 60007
2024-01-30
17:07
Tweaking indentation of code; really unimportant... file: 60f2ebe582 check-in: [bb72806960] user: dkf branch: dkf-indent-tweak, size: 60021
2023-04-14
09:12
Merge 9.0 file: 20ba10b229 check-in: [f041e13465] user: jan.nijtmans branch: tip-626, size: 60031
2023-04-12
14:25
Correct spelling errors in comments and documentation, but also a non-comment corrections in history.tcl and tcltest.test. file: cb4cd7776e check-in: [d65da06a77] user: pooryorick branch: main, size: 60019
13:30
Correct spelling errors in comments and documentation, but also a non-comment corrections in history.tcl and tcltest.test. file: 9a6ac33638 check-in: [aca8de0aeb] user: pooryorick branch: core-8-branch, size: 60057
09:35
Correct spelling errors in comments and documentation, but also non-comment corrections in history.tcl and tcltest.test. file: 99fc8b3a74 check-in: [ee3df4e647] user: pooryorick branch: core-8-6-branch, size: 56287
2023-03-05
20:46
Merge 9.0 file: 8d6da5760e check-in: [fef53bf657] user: jan.nijtmans branch: tip-626, size: 60030
2022-09-02
07:42
Some more (internal) ClientData -> void * changes file: 7e1cf59f99 check-in: [1f524aee1d] user: jan.nijtmans branch: main, size: 60018
2021-09-22
21:46
Various fixes. Not done yet file: 5d447edb44 check-in: [3e61b427fa] user: jan.nijtmans branch: tcl-time-64bit, size: 59717
2021-08-20
12:48
Merge 8.7 file: 45010f0c91 check-in: [e30f179c8f] user: jan.nijtmans branch: main, size: 60062
2021-08-19
08:05
Apply macos-tip511.diff. Resolve conflict with TIP #601 file: c33e0a05f0 check-in: [d8b82ef75f] user: jan.nijtmans branch: tip-511, size: 60056
2021-08-18
14:31
Fix use of TCL_THREADS macro: In Tcl 8.7, this is always defined, but can have value '1' or '0' file: fda1ad9c50 check-in: [ae2c9006bb] user: jan.nijtmans branch: tip-511, size: 59961
2021-08-17
16:16
tip#511 proposed implementation file: 7be908ad86 check-in: [0d5d82595a] user: jan.nijtmans branch: tip-511, size: 59967
2021-04-03
13:53
Clean up the notifier code to not spread the hooks quite so widely file: 867937abd7 check-in: [a263b27340] user: dkf branch: main, size: 56919
2021-03-30
08:22
Refactoring, ahoy file: 16cefeda91 check-in: [7365fa0cf2] user: dkf branch: dkf/notifier-cleanup, size: 56913
2021-01-22
15:04
Merge 8.7. Simplify handling of platform-dependant API's like Tcl_CreateFileHandler file: 60e1f7b0ab check-in: [e15aa5f741] user: jan.nijtmans branch: main, size: 56921
09:24
Change exported symbol from TclMacOSXNotifierAddRunLoopMode -> Tcl_MacOSXNotifierAddRunLoopMode file: 1ea444f265 check-in: [9a45585e63] user: jan.nijtmans branch: bug-1712098, size: 56915
08:57
Rebase to core-8-branch file: e0fee1e0e6 check-in: [2bb14ce2f1] user: jan.nijtmans branch: bug-1712098, size: 56914
2021-01-08
21:07
Merge 8.7 (resolve conflicts) file: fc2cc765af check-in: [5295f674c1] user: dgp branch: main, size: 56917
09:37
Omit -Wdeclaration-after-statement from CFLAGS: No longer needed since we stopped support for MSVC 6++ Change Tcl_WideInt -> long long in various places: Tcl_WideInt could be a 128-bit type, we don't want that everywhere. file: ae8d8d319e check-in: [174a9adac8] user: jan.nijtmans branch: tip-592, size: 56911
2020-12-08
15:42
Merge 8.7 file: 2b5d792e9c check-in: [71493b571b] user: jan.nijtmans branch: main, size: 56919
15:31
Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet file: 3258e2cf6a check-in: [4254aa305b] user: jan.nijtmans branch: core-8-branch, size: 56913
2020-07-23
13:32
Check if reverting from os_unfair_lock to OSSpinLock has any effect. file: c822e293dd check-in: [203b05be5d] user: culler branch: bug-f586089a2b, size: 56299
2020-07-21
07:54
Merge 8.7 file: 12b61ed264 check-in: [b23af47e56] user: jan.nijtmans branch: trunk, size: 56918
2020-07-18
16:26
Merge 8.6 file: a629178d60 check-in: [8673082d4b] user: culler branch: core-8-branch, size: 56912
2020-07-11
16:06
Merge 8.6 file: e56dc1be70 check-in: [9c6bf66e1a] user: jan.nijtmans branch: macOS_hangs, size: 56286
2020-06-28
15:13
MacOSX: add some type-casts, improving C++ compatibility. Make sure that strstr and strtoul() are not configured as invalid: Mac is more strict in exact function signatures. Backported from 8.7 file: 25d93d5541 check-in: [113a7e727d] user: jan.nijtmans branch: core-8-6-branch, size: 54860
2020-06-22
16:12
Use the os_unfair_lock in place of OSSpinLock when the minimum build target is newer than OSX 10.12 file: 61681a78cd check-in: [7c6642e5f3] user: culler branch: macOS_hangs, size: 56063
2020-06-18
20:02
Sometimes the waitTime needs to be positive to avoid missing channel io events. file: a3e6d2174a check-in: [871a455a27] user: culler branch: macOS_hangs, size: 54471
2020-06-07
22:15
Code simplification and cleanup file: 0e34e2d7b8 check-in: [ca8b8183b6] user: culler branch: macOS_hangs, size: 53928
2020-06-06
21:23
Address macOS hangs in Tcl_WaitForEvent. file: 762d425a72 check-in: [7495bd2a44] user: culler branch: macOS_hangs, size: 54423
2020-03-09
16:34
merge 8.7 file: c4e8216594 check-in: [a0ed9240c8] user: dgp branch: trunk, size: 55492
14:40
Bring TCL_UNUSED to macosx sources. file: f689cfde96 check-in: [5cc2745f54] user: dgp branch: core-8-branch, size: 55486
2020-02-28
12:46
Merge 8.7 file: 0edd5c4e6a check-in: [b7af922d61] user: jan.nijtmans branch: trunk, size: 55568
2019-09-03
20:32
Mark more unused parameters file: 0b8d0ec841 check-in: [c07dbdd62a] user: jan.nijtmans branch: cplusplus, size: 55562
2019-08-03
20:25
Merge tip-548 (since using the *WChar* functions leads to less type-casts in c++) Als finish implementaton for MacOSX file: 46fdb774e5 check-in: [3da6c33030] user: jan.nijtmans branch: cplusplus, size: 55497
2019-03-09
21:22
merge 8-5-event-perf-branch file: 005a88f28f check-in: [697065a8e5] user: sebres branch: sebres-8-6-event-perf-branch, size: 54551
19:07
macosx: Tcl_Sleep -> TclpUSleep (provides microseconds sleep, fixed unresolved external "TclpUSleep" bug). file: f10ccaa568 check-in: [f26dfbb645] user: sebres branch: sebres-8-5-event-perf-branch, size: 54233
2018-10-21
21:00
Merge 8.7 file: c75e831cfb check-in: [280d890b3e] user: jan.nijtmans branch: trunk, size: 55402
10:50
Squash warnings in the OSX notifier file: 9a6f6446c2 check-in: [fbe54d6901] user: dkf branch: core-8-branch, size: 55396
2018-09-01
22:01
Change ckalloc and friends to Tcl_Alloc and friends. Add two defines, TCL_IO_FAILURE and TCL_NO_LENGTH (experimental, still open to be renamed following discussion) file: b41a355ed3 check-in: [f13660b5a5] user: jan.nijtmans branch: memory-API, size: 54580
2018-05-31
21:24
merge zipfs file: d16de51bd0 check-in: [fc74365c13] user: jan.nijtmans branch: androwish, size: 60574
2017-03-24
09:33
Add TCL_NORETURN attribute to TclpThreadExit() and Tcl_ExitThread() file: a9e2cccfe1 check-in: [c1557805a9] user: jan.nijtmans branch: trunk, size: 54574
2017-01-06
11:55
Merge zipfs file: 1a9caecfff check-in: [ab145ad122] user: jan.nijtmans branch: androwish, size: 54634
2016-06-30
13:16
Simplify use of "struct" keyword in many places. file: d0c79c8381 check-in: [2e6ea5716f] user: jan.nijtmans branch: trunk, size: 54587
2015-03-10
14:44
Fix or at least improvement for Tcl/Tk Cocoa event loop by forcing Tcl_ServiceAll() event processing: http://core.tcl.tk/tk/tktview/3028676fffffffffffffffffffffffffffffffff file: 886bb44c08 check-in: [d6acbd8534] user: kevin_walzer branch: core-8-5-branch, size: 54300
14:41
Fix or at least improvement for Tcl/Tk Cocoa event loop by forcing Tcl_ServiceAll() event processing: http://core.tcl.tk/tk/tktview/3028676fffffffffffffffffffffffffffffffff file: c699f98468 check-in: [a34070f149] user: kevin_walzer branch: trunk, size: 54616
2013-07-09
09:30
rebase file: 7a63dc4573 check-in: [82fa3f9bb1] user: jan.nijtmans branch: bug-1712098, size: 54513
2013-07-02
06:43
Better (hopefully) fix for Tk bug [http://core.tcl.tk/tk/tktview?name=1712098|1712098], which eliminates the need for TclMacOSXNotifierAddRunLoopMode() alltogether. file: 6b84a86341 check-in: [e2f236a273] user: jan.nijtmans branch: bug-1712098, size: 54637
2013-06-28
12:31
Tk bug [http://core.tcl.tk/tk/tktview?name=1712098|1712098] file: 18740ad7c9 check-in: [15475c0ad5] user: jan.nijtmans branch: bug-1712098, size: 54514
2011-03-12
15:06
Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts in rest of Tcl source code. No ABI change. API change *should* be harmless. file: 9e92b0f904 check-in: [5574bdd262] user: dkf branch: trunk, size: 54510
2011-03-02
20:27
Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause more harm than good. Purged them (except in zlib files). file: 83ad4dac9b check-in: [c64f310d38] user: dgp branch: trunk, size: 54561
16:06
Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause more harm than good. Purged them. file: 8c82932603 check-in: [79367df0f0] user: dgp branch: core-8-5-branch, size: 54195
2011-03-01
15:38
Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause more harm than good. Purged them. file: 7033b39ab1 check-in: [90b4acd7bd] user: dgp branch: core-8-4-branch, size: 35803
2010-11-17
13:58
Moved the OSX build system forward, dropping tailcall, nre, and coroutine references. file: 5c192bf22f check-in: [cd8584fecb] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 54637
2010-03-30
08:45
Merge from HEAD to rmax-ipv6-branch file: 4314858315 check-in: [54b695423d] user: rmax branch: rmax-ipv6-branch, size: 54642
2010-03-25
14:26
merge file: b41177e786 check-in: [ed6d94268d] user: dgp branch: dgp-refactor, size: 54641
14:02
* macosx/tclMacOSXBundle.c, macosx/tclMacOSXFCmd.c: * macosx/tclMacOSXNotify.c: Reduce the level of ifdeffery in the functions of these files to improve readability. They need to be audited for whether complexity can be removed based on the minimum supported version of OSX, but that requires a real expert. file: 20082f6742 check-in: [59d080706b] user: dkf branch: trunk, size: 54637
2009-08-24
19:34
merge updates from HEAD file: 8841e16b34 check-in: [c4dba35b4a] user: dgp branch: dgp-refactor, size: 54536
00:27
* macosx/tclMacOSXNotify.c: fix multiple issues with nested event loops when CoreFoundation notifier is running in embedded mode. (fixes problems in TkAqua Cocoa reported by Youness Alaoui on tcl-mac) file: 284536eb64 check-in: [3c8d3403f3] user: das branch: core-8-5-branch, size: 54275
00:27
* macosx/tclMacOSXNotify.c: fix multiple issues with nested event loops when CoreFoundation notifier is running in embedded mode. (fixes problems in TkAqua Cocoa reported by Youness Alaoui on tcl-mac) file: cde2bcb4f0 check-in: [57c29b5009] user: das branch: trunk, size: 54532
2009-07-22
13:07
merge updates from HEAD file: 91f1fa5ac6 check-in: [c21a7f5e83] user: dgp branch: dgp-refactor, size: 53422
12:00
* macosx/tclMacOSXFCmd.c: CONST -> const * generic/tclGetDate.y: * generic/tclDate.c: * generic/tclLiteral.c: (char *) cast in ckfree call file: dd2cf99b5f check-in: [86068bf4d3] user: nijtmans branch: trunk, size: 53423
2009-05-05
19:31
merge updates from HEAD file: a1ed522559 check-in: [7a89f2e7a1] user: dgp branch: dgp-refactor, size: 53423
2009-04-14
00:55
update Apple copyright notice for 2009-04-10 changes file: c9685c3186 check-in: [957877ba48] user: das branch: core-8-5-branch, size: 53162
00:55
update Apple copyright notice for 2009-04-10 changes file: 34098fe81a check-in: [2c504309bd] user: das branch: trunk, size: 53419
2009-04-11
02:32
merge updates from HEAD file: ca31b38d11 check-in: [d9d712c710] user: dgp branch: dgp-refactor, size: 53428
2009-04-10
22:53
fix warning file: 30f9684246 check-in: [e42f84ee0c] user: das branch: core-8-5-branch, size: 53167
22:53
fix warning file: e4155c7d6b check-in: [51a4b704be] user: das branch: trunk, size: 53424
21:15
merge updates from HEAD file: 395c5b3828 check-in: [fd08f75512] user: dgp branch: dgp-refactor, size: 53407
20:46
* unix/tclUnixChan.c: TclUnixWaitForFile(): use FD_* macros * macosx/tclMacOSXNotify.c: to manipulate select masks (Cassoff). [Bug 1960647] file: 239248d3d1 check-in: [e496f9ef50] user: das branch: core-8-5-branch, size: 53146
20:46
* unix/tclUnixChan.c: TclUnixWaitForFile(): use FD_* macros * macosx/tclMacOSXNotify.c: to manipulate select masks (Cassoff). [Bug 1960647] file: 067332c6a3 check-in: [2001faff8c] user: das branch: trunk, size: 53403
18:09
merge updates from HEAD file: 6fa504a1e5 check-in: [faf6373107] user: dgp branch: dgp-refactor, size: 53810
18:02
* macosx/tclMacOSXNotify.c: revise CoreFoundation notifier to allow * unix/tclUnixChan.c: embedding into applications that * unix/tclUnixEvent.c: already have a CFRunLoop running and want to run the tcl event loop via Tcl_ServiceModeHook(TCL_SERVICE_ALL). * macosx/tclMacOSXNotify.c: add CFRunLoop based Tcl_Sleep() and * unix/tclUnixChan.c: TclUnixWaitForFile() implementations * unix/tclUnixEvent.c: and disable select() based ones in CoreFoundation builds. * unix/tclUnixNotify.c: simplify, sync with tclMacOSXNotify.c. * generic/tclInt.decls: add TclMacOSXNotifierAddRunLoopMode() * generic/tclIntPlatDecls.h: internal API, regen. * generic/tclStubInit.c: file: 46810f0906 check-in: [7a6749806a] user: das branch: core-8-5-branch, size: 53549
18:02
* macosx/tclMacOSXNotify.c: revise CoreFoundation notifier to allow * unix/tclUnixChan.c: embedding into applications that * unix/tclUnixEvent.c: already have a CFRunLoop running and want to run the tcl event loop via Tcl_ServiceModeHook(TCL_SERVICE_ALL). * macosx/tclMacOSXNotify.c: add CFRunLoop based Tcl_Sleep() and * unix/tclUnixChan.c: TclUnixWaitForFile() implementations * unix/tclUnixEvent.c: and disable select() based ones in CoreFoundation builds. * unix/tclUnixNotify.c: simplify, sync with tclMacOSXNotify.c. * generic/tclInt.decls: add TclMacOSXNotifierAddRunLoopMode() * generic/tclIntPlatDecls.h: internal API, regen. * generic/tclStubInit.c: file: 7e1577466d check-in: [ec1a5f8686] user: das branch: trunk, size: 53806
2009-01-09
14:17
merge updates from HEAD file: 3bdf17dfcc check-in: [02f7c5c705] user: dgp branch: dgp-refactor, size: 38107
11:21
Style fixes (unfouling whitespace, sorting comments, removing useless casts, etc.) file: b812dff213 check-in: [cd3c38f00a] user: dkf branch: trunk, size: 38103
2008-11-10
02:18
merge updates from HEAD file: dd323435d8 check-in: [4a9c1325dc] user: dgp branch: dgp-refactor, size: 38411
2008-10-26
18:50
Style improvements - invoking callbacks without visual junk. file: 5ed755fea1 check-in: [4a9936c5ad] user: dkf branch: trunk, size: 38407
2008-07-29
20:13
merge updates from (near) HEAD file: 9b4ec63e8b check-in: [f51e3a3c72] user: dgp branch: dgp-refactor, size: 38418
2008-07-24
21:54
CONSTified 4 functions in the Notifier which all have a Tcl_Time* in it which is supposed to be a constant, but this was not reflected in the API: Tcl_SetTimer Tcl_WaitForEvent Tcl_ConditionWait Tcl_SetMaxBlockTime Introduced a CONST86, so extensions which have their own Notifier (are there any?) can be modified to compile against both Tcl 8.5 and Tcl 8.6. This change complies with TIP #24 file: d6beb5663e check-in: [7ade6e690e] user: nijtmans branch: trunk, size: 38419
2008-04-18
13:02
merge updates from HEAD file: 41e39f9f60 check-in: [db78c97753] user: dgp branch: dgp-refactor, size: 38406
2008-04-16
14:29
* generic/tclInt.h: revise Tcl_SetNotifier() to use a * generic/tclNotify.c: module-scope hooks table instead of * generic/tclStubInit.c: runtime stubs-table modification; * macosx/tclMacOSXNotify.c: ensure all hookable notifier functions * win/tclWinNotify.c: check for hooks; remove hook checks in * unix/tclUnixNotfy.c: notifier API callers. [Patch 1938497] file: 2a65d97979 check-in: [79cb766dcc] user: das branch: trunk, size: 38402
2008-03-13
14:47
merge updates from HEAD file: 0b3ce910a5 check-in: [6aa4ae8390] user: dgp branch: core-stabilizer-branch, size: 37617
14:37
merge updates from HEAD file: 1599229a5b check-in: [d4d838591f] user: dgp branch: dgp-refactor, size: 37617
2008-03-11
23:52
* macosx/tclMacOSXNotify.c: avoid using CoreFoundation after fork() on Darwin 9 even when TclpCreateProcess() uses vfork(). file: 371ff88c95 check-in: [f96de31eec] user: das branch: core-8-4-branch, size: 35883
22:24
* macosx/tclMacOSXNotify.c: avoid using CoreFoundation after fork() on Darwin 9 even when TclpCreateProcess() uses vfork(). file: cfb70ed43f check-in: [bec5e4d2db] user: das branch: trunk, size: 37613
2007-12-13
15:22
merge stable branch onto HEAD file: db036df7be check-in: [d1f7550cd9] user: dgp branch: trunk, size: 37702
2007-09-07
03:15
merge updates from HEAD file: 6e05da26f4 check-in: [2c46d786c6] user: dgp branch: dgp-refactor, size: 37706
2007-09-04
17:43
merge updates from HEAD file: 1c1536b46e check-in: [93ee5fafc4] user: dgp branch: core-stabilizer-branch, size: 37706
2007-08-11
03:12
fix missing preprocessor \ line continuation file: 16d2256d9e check-in: [68b7dad5ed] user: das branch: core-8-4-branch, size: 35972
03:12
fix missing preprocessor \ line continuation file: fce8fd574c check-in: [c3ab19362f] user: das branch: trunk, size: 37702
2007-06-25
19:24
merge updates from HEAD file: fb7528ea5a check-in: [f60fbfd8b3] user: dgp branch: dgp-refactor, size: 37704
18:53
merge updates from HEAD file: 6d7c5e247e check-in: [436f99c1ba] user: dgp branch: core-stabilizer-branch, size: 37704
2007-06-23
00:23
* macosx/tclMacOSXNotify.c (AtForkChild): don't call CoreFoundation APIs after fork() on systems where that would lead to an abort(). file: bf550b4fe4 check-in: [2e4ef48ddd] user: das branch: core-8-4-branch, size: 35970
00:23
* macosx/tclMacOSXNotify.c (AtForkChild): don't call CoreFoundation APIs after fork() on systems where that would lead to an abort(). file: d2930d59a6 check-in: [36af5226c8] user: das branch: trunk, size: 37700
2007-04-29
02:21
* macosx/tclMacOSXNotify.c: fix warnings. * macosx/README: sync whitespace/formatting with HEAD. * macosx/tclMacOSXBundle.c: * macosx/tclMacOSXNotify.c: * macosx/Makefile: fix/add copyright and license refs. * macosx/tclMacOSXBundle.c: * macosx/Tcl-Info.plist.in: file: fbfba7c9b5 check-in: [e6df3a40f5] user: das branch: core-8-4-branch, size: 35441
2007-04-24
04:49
merge updates from HEAD file: d70511b965 check-in: [dd0311d30f] user: dgp branch: dgp-refactor, size: 37174
2007-04-23
20:46
* macosx/Tcl-Common.xcconfig: enable more warnings. * macosx/Tcl.xcodeproj/project.pbxproj: add 'DebugMemCompile' build configuration that calls configure with --enable-symbols=all; override configure check for __attribute__((__visibility__("hidden"))) in Debug configuration to restore availability of ZeroLink. * macosx/tclMacOSXNotify.c: fix warnings. * macosx/tclMacOSXFCmd.c: const fixes. * macosx/Tcl-Common.xcconfig: fix whitespace. * macosx/Tcl-Debug.xcconfig: * macosx/Tcl-Release.xcconfig: * macosx/README: * macosx/GNUmakefile: fix/add copyright and license refs. * macosx/tclMacOSXBundle.c: * macosx/Tcl-Info.plist.in: * macosx/Wish-Info.plist.in: * macosx/Tcl.xcode/project.pbxproj: * macosx/Tcl.xcodeproj/project.pbxproj: file: 08aa426810 check-in: [fc195aae9d] user: das branch: trunk, size: 37171
2007-04-08
14:58
Merge updates from HEAD; may not build file: 030044c04e check-in: [8dc7079178] user: dgp branch: dgp-refactor, size: 37180
2007-03-07
23:44
* macosx/tclMacOSXNotify.c: add spinlock debugging and sanity checks. * unix/tcl.m4 (Darwin): s/CFLAGS/CPPFLAGS/ in macosx-version-min check. * unix/configure: autoconf-2.13 file: eaefbf379a check-in: [fbb83f13b9] user: das branch: core-8-4-branch, size: 35544
23:43
* macosx/tclMacOSXNotify.c: add spinlock debugging and sanity checks. * macosx/Tcl.xcodeproj/project.pbxproj: ensure gcc version used by * macosx/Tcl.xcodeproj/default.pbxuser: Xcode and configure/make are * macosx/Tcl-Common.xcconfig: consistent and independent of gcc_select default and CC env var; fixes for Xcode 3.0. * unix/tcl.m4 (Darwin): s/CFLAGS/CPPFLAGS/ in macosx-version-min check. * unix/configure: autoconf-2.59 file: 2b51f8b348 check-in: [ddc29ff523] user: das branch: trunk, size: 37177
2007-01-19
01:05
* macosx/tclMacOSXNotify.c: accommodate changes to prototypes of OSSpinLock(Un)Lock API. * tests/env.test: add extra system env vars that need to be preserved on some Mac OS X versions for testsuite to work. * unix/tcl.m4: ensure CPPFLAGS env var is used when set. [Bug 1586861] (Darwin): add -isysroot and -mmacosx-version-min flags to CPPFLAGS when present in CFLAGS to avoid discrepancies between what headers configure sees during preprocessing tests and compiling tests. * unix/configure: autoconf-2.13 file: 4742e1f041 check-in: [b9b6ddc349] user: das branch: core-8-4-branch, size: 34652
01:03
* macosx/tclMacOSXFCmd.c (TclMacOSXSetFileAttribute): on some versions of Mac OS X, truncate() fails on resource forks, in that case use open() with O_TRUNC instead. * macosx/tclMacOSXNotify.c: accommodate changes to prototypes of OSSpinLock(Un)Lock API. * macosx/Tcl.xcodeproj/project.pbxproj: ensure HOME and USER env vars * macosx/Tcl.xcodeproj/default.pbxuser: are defined when running testsuite from Xcode. * tests/env.test: add extra system env vars that need to be preserved on some Mac OS X versions for testsuite to work. * unix/Makefile.in: move libtommath defines into configure.in to avoid * unix/configure.in: replicating them across multiple buildsystems. * macosx/Tcl.xcodeproj/project.pbxproj: * unix/tcl.m4: ensure CPPFLAGS env var is used when set. [Bug 1586861] (Darwin): add -isysroot and -mmacosx-version-min flags to CPPFLAGS when present in CFLAGS to avoid discrepancies between what headers configure sees during preprocessing tests and compiling tests. * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59 file: eda4904835 check-in: [54a154124b] user: das branch: trunk, size: 35114
2006-08-29
16:19
merge updates from HEAD file: afed68fee3 check-in: [e1feeec3e7] user: dgp branch: dgp-refactor, size: 34950
2006-08-21
03:50
add support for building without -fconstant-cfstrings, e.g. when MACOSX_DEPLOYMENT_TARGET unset. [Bug 1543715] file: 0ee51574ca check-in: [7ebbaebd22] user: das branch: core-8-4-branch, size: 34484
03:50
add support for building without -fconstant-cfstrings, e.g. when MACOSX_DEPLOYMENT_TARGET unset. [Bug 1543715] file: 765590d869 check-in: [d5ab9428b4] user: das branch: trunk, size: 34947
01:08
* macosx/tclMacOSXNotify.c (Tcl_WaitForEvent): if the run loop is already running (e.g. if Tcl_WaitForEvent was called recursively), re-run it in a custom run loop mode containing only the source for the notifier thread, otherwise wakeups from other sources added to the common run loop modes might get lost; sync panic msg changes from HEAD. * unix/tclUnixNotfy.c (Tcl_WaitForEvent): on 64-bit Darwin, pthread_cond_timedwait() appears to have a bug that causes it to wait forever when passed an absolute time which has already been exceeded by the system time; as a workaround, when given a very brief timeout, just do a poll on that platform. [Bug 1457797] file: 9cc3e35c76 check-in: [346bc651f3] user: das branch: core-8-4-branch, size: 34149
01:08
* macosx/tclMacOSXNotify.c (Tcl_WaitForEvent): if the run loop is already running (e.g. if Tcl_WaitForEvent was called recursively), re-run it in a custom run loop mode containing only the source for the notifier thread, otherwise wakeups from other sources added to the common run loop modes might get lost. * unix/tclUnixNotfy.c (Tcl_WaitForEvent): on 64-bit Darwin, pthread_cond_timedwait() appears to have a bug that causes it to wait forever when passed an absolute time which has already been exceeded by the system time; as a workaround, when given a very brief timeout, just do a poll on that platform. [Bug 1457797] file: 2551903aa0 check-in: [7221913ebc] user: das branch: trunk, size: 34612
2006-08-10
12:15
Various minor object file size efficiency fixes. [Bug 1530474] file: 3cba440f7f check-in: [a09967381c] user: dkf branch: trunk, size: 33847
2006-07-20
06:21
* macosx/tclMacOSXNotify.c (Tcl_InitNotifier, Tcl_WaitForEvent): create notifier thread lazily upon first call to Tcl_WaitForEvent() rather than in Tcl_InitNotifier(). Allows calling exeve() in processes where the event loop has not yet been run (Darwin's execve() fails in processes with more than one thread), in particular allows embedders to call fork() followed by execve(), previously the pthread_atfork() child handler's call to Tcl_InitNotifier() would immediately recreate the notifier thread in the child after a fork. * macosx/tclMacOSXNotify.c (Tcl_InitNotifier): add support for * unix/tclUnixFCmd.c (DoRenameFile, CopyFileAtts): weakly importing * unix/tclUnixInit.c (TclpSetInitialEncodings): symbols not available on OSX 10.2 or 10.3, enables binaires built on later OSX versions to run on earlier ones. * macosx/README: document how to enable weak-linking; cleanup. * unix/tclUnixPort.h: add support for weak-linking; conditionalize AvailabilityMacros.h inclusion; only disable realpath on 10.2 or earlier when threads are enabled. * unix/tclLoadDyld.c (TclpLoadMemoryGetBuffer): change runtime Darwin * unix/tclUnixInit.c (TclpInitPlatform): release check to use global initialized once. * unix/tclUnixFCmd.c (DoRenameFile, TclpObjNormalizePath): add runtime Darwin release check to determine if realpath is threadsafe. * unix/configure.in: add check on Darwin for compiler support of weak * unix/tcl.m4: import and for AvailabilityMacros.h header; move Darwin specific checks & defines that are only relevant to the tcl build out of tcl.m4; restrict framework option to Darwin; cleanup quoting. * unix/configure: autoconf-2.13 * unix/tclLoadDyld.c (TclpLoadMemory): * unix/tclUnixPipe.c (TclpCreateProcess): fix signed-with-unsigned comparison and other warnings from gcc4 -Wextra. file: b8747f5b73 check-in: [fc99321d66] user: das branch: core-8-4-branch, size: 33401
06:18
* macosx/tclMacOSXNotify.c (Tcl_InitNotifier, Tcl_WaitForEvent): create notifier thread lazily upon first call to Tcl_WaitForEvent() rather than in Tcl_InitNotifier(). Allows calling exeve() in processes where the event loop has not yet been run (Darwin's execve() fails in processes with more than one thread), in particular allows embedders to call fork() followed by execve(), previously the pthread_atfork() child handler's call to Tcl_InitNotifier() would immediately recreate the notifier thread in the child after a fork. * macosx/tclMacOSXFCmd.c (TclMacOSXCopyFileAttributes): add support * macosx/tclMacOSXNotify.c (Tcl_InitNotifier): for weakly * unix/tclUnixInit.c (Tcl_GetEncodingNameFromEnvironment): importing symbols not available on OSX 10.2 or 10.3, enables binaires built on later OSX versions to run on earlier ones. * macosx/Tcl.xcodeproj/project.pbxproj: enable weak-linking; turn on extra warnings. * macosx/README: document how to enable weak-linking; cleanup. * unix/tclUnixPort.h: add support for weak-linking; conditionalize AvailabilityMacros.h inclusion; only disable realpath on 10.2 or earlier when threads are enabled. * unix/tclLoadDyld.c (TclpLoadMemoryGetBuffer): change runtime Darwin * unix/tclUnixInit.c (TclpInitPlatform): release check to use global initialized once. * unix/tclUnixFCmd.c (DoRenameFile, TclpObjNormalizePath): add runtime Darwin release check to determine if realpath is threadsafe. * unix/configure.in: add check on Darwin for compiler support of weak * unix/tcl.m4: import and for AvailabilityMacros.h header; move Darwin specific checks & defines that are only relevant to the tcl build out of tcl.m4; restrict framework option to Darwin; cleanup quoting and help messages. * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59 * unix/tclLoadDyld.c (TclpLoadMemory): fix signed-with-unsigned comparison and other warnings from gcc4 -Wextra. file: 65e73fb0e1 check-in: [95ec292536] user: das branch: trunk, size: 33863
2006-06-06
17:10
merge updates from HEAD file: 30582d9666 check-in: [6d4ff70d4d] user: dgp branch: dgp-refactor, size: 31513
2006-05-27
05:23
* macosx/tclMacOSXNotify.c: implemented pthread_atfork() handler that * unix/tcl.m4 (Darwin): recreates CoreFoundation state and notifier thread in the child after a fork(). Note that pthread_atfork() is available starting with Tiger only. Because vfork() is used by the core on Darwin, [exec]/[open] are not affected by this fix, only extensions or embedders that call fork() directly (such as TclX). However, this only makes fork() safe from corefoundation tcl with --disable-threads; as on all platforms, forked children may deadlock in threaded tcl due to the potential for stale locked mutexes in the child. [Patch 923072] * unix/configure: autoconf-2.59 file: b7e2846e02 check-in: [48693e32e0] user: das branch: core-8-4-branch, size: 31047
05:22
* macosx/tclMacOSXNotify.c: implemented pthread_atfork() handler that * unix/tcl.m4 (Darwin): recreates CoreFoundation state and notifier thread in the child after a fork(). Note that pthread_atfork() is available starting with Tiger only. Because vfork() is used by the core on Darwin, [exec]/[open] are not affected by this fix, only extensions or embedders that call fork() directly (such as TclX). However, this only makes fork() safe from corefoundation tcl with --disable-threads; as on all platforms, forked children may deadlock in threaded tcl due to the potential for stale locked mutexes in the child. [Patch 923072] * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59 file: cc8d493197 check-in: [b5827f9228] user: das branch: trunk, size: 31509
2005-12-02
18:42
merge updates from HEAD file: 2ec5fa4c60 check-in: [1059d34b2b] user: dgp branch: dgp-refactor, size: 29316
2005-11-27
02:34
* 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 tk/unix/configure.in. * unix/Makefile.in: add CFLAGS to tclsh/tcltest 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 tclsh and compiling of tclTestInit.o or xtTestInit.o during parallel make. (checkstubs, checkdoc, checkexports): dependency and Darwin fixes * unix/tclLoadDyld.c (TclpDlopen): use NSADDIMAGE_OPTION_WITH_SEARCHING on second NSAddImage only. [Bug 1204237] (TclGuessPackageName): should not be MODULE_SCOPE. (TclpLoadMemory): ppc64 and endian (i386) fixes, add support for loading universal (fat) bundles from memory. * unix/tclUnixPort.h: * unix/tclUnixFCmd.c: add support for new Tiger copyfile() API to enable copying of xattrs & ACLs by [file copy]. * generic/tcl.h: add Darwin specifc configure overrides for TCL_WIDE defines to support fat compiles of ppc and ppc64 at the same time, (replaces Darwin CVS fix by emoy, rdar://3693001). add/correct location of version numbers in macosx files. * generic/tclInt.h: clarify fat compile comment. * unix/tclUnixPort.h: add Darwin specifc configure overrides to support fat compiles, where configure runs only once for multiple architectures (replaces Darwin CVS fix by emoy, rdar://3693001). * macosx/tclMacOSXBundle.c: * macosx/tclMacOSXNotify.c: * unix/tclUnixNotfy.c: * unix/tclUnixPort.h: fix #include order to support compile time override of HAVE_COREFOUNDATION in tclUnixPort.h when building for ppc64 * macosx/Tcl.pbproj/default.pbxuser (new file): * macosx/Tcl.pbproj/jingham.pbxuser: * macosx/Tcl.pbproj/project.pbxproj: sync with HEAD. * macosx/README: clarification/cleanup, sync with HEAD, document universal (fat) builds via CFLAGS (i.e. all of ppc ppc64 i386 at once). * macosx/Makefile: add support for reusing configure cache, build target fixes, remove GENERIC_FLAGS override now handled by tcl.m4. * generic/tclIOUtil.c: * generic/tclRegexp.c: * generic/tclVar.c: declare globals used only in own file as static (sync with HEAD). * generic/rege_dfa.c (getvacant): * generic/regexec.c (cfind): * generic/tclCompExpr.c (CompileSubExpr): * unix/tclUnixChan.c (TclUnixWaitForFile): initialise variables to silence gcc 4 warnings. * generic/regguts.h: only #define NDEBUG if not already #defined. * macosx/tclMacOSXNotify.c: sync whitespace & comments with HEAD * unix/configure: regen. file: 5279f1a646 check-in: [c6e668d19d] user: das branch: core-8-4-branch, size: 28850
02:33
* 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. * unix/configure.in: fix obsolete autoconf macros, sync gratuitous formatting/ordering differences with tk/unix/configure.in. * unix/Makefile.in: add CFLAGS to tclsh/tcltest 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 tclsh and compiling of tclTestInit.o or xtTestInit.o during parallel make. (checkstubs, checkdoc, checkexports): dependency and Darwin fixes (dist): add new macosx files. * unix/tclLoadDyld.c (TclpDlopen): use NSADDIMAGE_OPTION_WITH_SEARCHING on second NSAddImage only. [Bug 1204237] (TclGuessPackageName): should not be MODULE_SCOPE. (TclpLoadMemory): ppc64 and endian (i386) fixes, add support for loading universal (fat) bundles from memory. * unix/tclUnixFCmd.c: * macosx/tclMacOSXFCmd.c: ppc64 and endian (i386) fixes. (TclMacOSXCopyFileAttributes): add support for new Tiger copyfile() API to enable copying of xattrs & ACLs by [file copy]. * generic/tcl.h: add Darwin specifc configure overrides for TCL_WIDE defines to support fat compiles of ppc and ppc64 at the same time, (replaces Darwin CVS fix by emoy, rdar://3693001). add/correct location of version numbers in macosx files. * generic/tclInt.h: clarify fat compile comment. * unix/tclUnixPort.h: add Darwin specifc configure overrides to support fat compiles, where configure runs only once for multiple architectures (replaces Darwin CVS fix by emoy, rdar://3693001). * macosx/tclMacOSXBundle.c: * macosx/tclMacOSXNotify.c: * unix/tclUnixNotfy.c: * unix/tclUnixPort.h: fix #include order to support compile time override of HAVE_COREFOUNDATION in tclUnixPort.h when building for ppc64 * macosx/Tcl.pbproj/default.pbxuser (new file): * macosx/Tcl.pbproj/jingham.pbxuser: * macosx/Tcl.pbproj/project.pbxproj: * macosx/Tcl.xcode/default.pbxuser (new file): * macosx/Tcl.xcode/project.pbxproj (new file): * macosx/Tcl.xcodeproj/default.pbxuser (new file): * macosx/Tcl.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 tcltest targets and support for universal (fat) compiles. * macosx/README: clarification/cleanup, document new Xcode projects and universal (fat) builds via CFLAGS (i.e. all of ppc ppc64 i386 at once). * unix/Makefile.in: * unix/aclocal.m4: * unix/configure.in: * unix/dltest/Makefile.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 tcl/macosx, add support for reusing configure cache, build target fixes, remove GENERIC_FLAGS override now handled by tcl.m4. * generic/tcl.decls: add Tcl_Main declaration as comment to avoid 'checkstubs' target complaining about it missing from stubs. * generic/regex.h: * generic/tclDate.c: * generic/tclEnv.c: * generic/tclGetDate.y: * generic/tclIOUtil.c: * generic/tclObj.c: * generic/tclStubInit.c: * generic/tclStubLib.c: * generic/tclPathObj.c: * generic/tclThreadAlloc.c: * generic/tclThreadStorage.c: * generic/tclTrace.c: * generic/tclVar.c: * generic/tommath.h: * tools/fix_tommath_h.tcl: * unix/tclUnixFCmd.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). These changes allow 'make checkstubs' to complete without error on Darwin with gcc 4. * generic/rege_dfa.c (getvacant): * generic/regexec.c (cfind): * generic/tclCompExpr.c (CompileSubExpr): * generic/tclNamesp.c (NamespaceEnsembleCmd): * unix/tclUnixChan.c (TclUnixWaitForFile): initialise variables to silence gcc 4 warnings. * generic/tclExecute.c (TclExecuteByteCode): fix unused variable warning when NO_WIDE_TYPE is defined. * generic/regguts.h: only #define NDEBUG if not already #defined. * unix/tclUnixNotfy.c: * macosx/tclMacOSXNotify.c: sync whitespace & comments. * unix/tclUnixPort.h: * win/tclWinPort.h: remove declaration of obsolete&unused TclpMutex API. * unix/configure: * unix/tclConfig.h.in: regen. file: 3a2dbd6a28 check-in: [eac3630f72] user: das branch: trunk, size: 29312
2005-11-04
00:06
ANSIfy file: 5ebc1e903c check-in: [eeb132b4ae] user: dkf branch: trunk, size: 29226
2005-08-02
18:14
merge updates from HEAD file: beb3e9b6c5 check-in: [10feab7c07] user: dgp branch: kennykb-numerics-branch, size: 29323
2005-07-26
04:11
Merge updates from HEAD file: fd996ce882 check-in: [8351a734a6] user: dgp branch: dgp-refactor, size: 29323
2005-07-25
20:48
Getting more systematic about style file: 71fb459773 check-in: [b09ad6a0a6] user: dkf branch: trunk, size: 29319
2005-06-13
01:45
Added: *** MERGE WITH HEAD *** (tag msofer-wcodes-20050611) file: 9074c48b36 check-in: [d666b09ed5] user: msofer branch: msofer-wcodes-branch, size: 29726
2005-05-25
15:01
merge updates from HEAD file: 00c220775d check-in: [64d23581aa] user: dgp branch: dgp-refactor, size: 29723
2005-05-21
15:10
Added: Resynchronized with HEAD file: 304d5bbab7 check-in: [96be07d7c8] user: kennykb branch: kennykb-numerics-branch, size: 29727
2005-05-20
02:50
* macosx/tclMacOSXNotify.c (Tcl_InitNotifier): fixed crashing CFRelease of runLoopSource in Tcl_InitNotifier (reported by Zoran): CFRunLoopAddSource doesn't CFRetain, so can only CFRelease the runLoopSource in Tcl_FinalizeNotifier. file: cfd0be0bce check-in: [f2036a6572] user: das branch: core-8-4-branch, size: 29253
02:50
* macosx/tclMacOSXNotify.c (Tcl_InitNotifier): fixed crashing CFRelease of runLoopSource in Tcl_InitNotifier (reported by Zoran): CFRunLoopAddSource doesn't CFRetain, so can only CFRelease the runLoopSource in Tcl_FinalizeNotifier. file: fee3d8aac2 check-in: [6db5952245] user: das branch: trunk, size: 29719
2005-05-19
13:28
* macosx/tclMacOSXNotify.c (Tcl_InitNotifier): fixed crashing CFRelease of runLoopSource in Tcl_InitNotifier (reported by Zoran): CFRunLoopAddSource doesn't CFRetain, so can only CFRelease the runLoopSource in Tcl_FinalizeNotifier. file: f47baa9cf0 check-in: [af276e30b1] user: das branch: core-8-4-branch, size: 29245
13:27
* macosx/tclMacOSXNotify.c (Tcl_InitNotifier): fixed crashing CFRelease of runLoopSource in Tcl_InitNotifier (reported by Zoran): CFRunLoopAddSource doesn't CFRetain, so can only CFRelease the runLoopSource in Tcl_FinalizeNotifier. file: c98d0765bc check-in: [a8c0c897b7] user: das branch: trunk, size: 29711
2005-05-16
19:23
Added: merge updates from HEAD file: 22f195ddce check-in: [03a5891876] user: dgp branch: dgp-refactor, size: 29715
2005-05-14
20:52
Added: * macosx/tclMacOSXBundle.c: * unix/tclUnixInit.c: * unix/tcl.m4 (Darwin): made use of CoreFoundation API configurable and added test of CoreFoundation availablility to allow building on ppc64, replaced HAVE_CFBUNDLE by HAVE_COREFOUNDATION; test for availability of Tiger or later OSSpinLockLock API. * unix/tclUnixNotfy.c: * unix/Makefile.in: * macosx/tclMacOSXNotify.c (new file): when CoreFoundation is available, use new CFRunLoop based notifier: allows easy integration with other event loops on Mac OS X, in particular the TkAqua Carbon event loop is now integrated via a standard tcl event source (instead of TkAqua upon loading having to finalize the exsting notifier and replace it with its custom version). [Patch 1202052] * tests/unixNotfy.test: don't run unthreaded tests on Darwin since notifier may be using threads even in unthreaded core. * unix/tclUnixPort.h: * unix/tcl.m4 (Darwin): test for thread-unsafe realpath durning configure, as Darwin 7 and later realpath is threadsafe. * macosx/tclMacOSXBundle.c: * unix/tclLoadDyld.c: * unix/tclUnixInit.c: fixed gcc 4.0 warnings. * unix/configure: autoconf-2.13 file: bcdd5b91b0 check-in: [c4f7ce27bf] user: das branch: core-8-4-branch, size: 29245
20:46
Added: * generic/tclInt.decls: * generic/tclTest.c: * generic/tclUtil.c: * win/tclWin32Dll.c: fixed link error due to direct access by tclTest.c to the MODULE_SCOPE tclPlatform global: renamed existing TclWinGetPlatform() accessor to TclGetPlatform() and moved it to generic code so that it can be used by on all platforms where MODULE_SCOPE is enforced. * macosx/tclMacOSXBundle.c: * unix/tclUnixInit.c: * unix/tcl.m4 (Darwin): made use of CoreFoundation API configurable and added test of CoreFoundation availablility to allow building on ppc64, replaced HAVE_CFBUNDLE by HAVE_COREFOUNDATION; test for availability of Tiger or later OSSpinLockLock API. * unix/tclUnixNotfy.c: * unix/Makefile.in: * macosx/tclMacOSXNotify.c (new file): when CoreFoundation is available, use new CFRunLoop based notifier: allows easy integration with other event loops on Mac OS X, in particular the TkAqua Carbon event loop is now integrated via a standard tcl event source (instead of TkAqua upon loading having to finalize the exsting notifier and replace it with its custom version). [Patch 1202052] * tests/unixNotfy.test: don't run unthreaded tests on Darwin since notifier may be using threads even in unthreaded core. * unix/tclUnixPort.h: * unix/tcl.m4 (Darwin): test for thread-unsafe realpath durning configure, as Darwin 7 and later realpath is threadsafe. * macosx/Makefile: enable configure caching. * unix/configure.in: wrap tclConfig.h header in #ifndef _TCLCONFIG so that it can be included more than once without warnings from gcc4.0 (as happens e.g. when including both tclInt.h and tclPort.h) * macosx/tclMacOSXBundle.c: * unix/tclUnixChan.c: * unix/tclLoadDyld.c: * unix/tclUnixInit.c: fixed gcc 4.0 warnings. * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59 * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: make genstubs file: e4ec6140cc check-in: [7ff2693241] user: das branch: trunk, size: 29711