Tcl Source Code

All files named "win/tclWinNotify.c"
Login

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

History for win/tclWinNotify.c

2024-04-23
16:06
Hmm, something is broken. Leaving this here but this commit is definitely wrong somehow file: [e0dfae6671] check-in: [b356268e32] user: dkf branch: tidy-indentation, size: 16109
2024-03-20
13:49
Few more spacing/formatting tweaks file: [d3ba0835cc] check-in: [3bdb40e1f2] user: jan.nijtmans branch: main, size: 16087
13:14
(backport) more spacing/formatting tweaks. For now, macosx/unix/win only. file: [da9f1a17cd] check-in: [dc8a99efff] user: jan.nijtmans branch: core-8-branch, size: 15962
2024-03-19
16:12
Backport fix for [bda99f2393]: gets stdin problem when non-blocking - Windows (cherry-pick): Fix indentation/brace usage style issues file: [5d73609329] check-in: [770221ff54] user: jan.nijtmans branch: core-8-branch, size: 15986
14:56
Fix indentation/brace usage style issues file: [b9d3ec0272] check-in: [1fbff64078] user: dkf branch: main, size: 16093
2024-01-30
17:07
Tweaking indentation of code; really unimportant... file: [01b98df222] check-in: [bb72806960] user: dkf branch: dkf-indent-tweak, size: 16095
2023-04-14
09:12
Merge 9.0 file: [9028d1cb6b] check-in: [f041e13465] user: jan.nijtmans branch: tip-626, size: 16089
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: [6d579c262d] check-in: [d65da06a77] user: pooryorick branch: main, size: 16095
13:30
Correct spelling errors in comments and documentation, but also a non-comment corrections in history.tcl and tcltest.test. file: [8d0ca6233d] check-in: [aca8de0aeb] user: pooryorick branch: core-8-branch, size: 15988
09:35
Correct spelling errors in comments and documentation, but also non-comment corrections in history.tcl and tcltest.test. file: [5fb9ada925] check-in: [ee3df4e647] user: pooryorick branch: core-8-6-branch, size: 15700
2023-03-08
20:53
Merge 9.0 file: [787de6487f] check-in: [16bec8e036] user: jan.nijtmans branch: tip-626, size: 16088
15:01
More -Wconversion warning fixes file: [b2654569a9] check-in: [837dbec7cc] user: jan.nijtmans branch: main, size: 16094
2023-03-05
20:46
Merge 9.0 file: [8d1e9f24f5] check-in: [fef53bf657] user: jan.nijtmans branch: tip-626, size: 16001
2021-09-21
08:36
Experiment: Make Tcl_Time a long long in stead of a struct file: [3bb8a2ece7] check-in: [7d007b4694] user: jan.nijtmans branch: tcl-time-64bit, size: 15539
2021-08-23
14:54
Merge 8.7 file: [3b0a834809] check-in: [30412ad14a] user: jan.nijtmans branch: main, size: 16025
13:00
Make everything compile warning-free when TCL_THREADS=0 file: [7a48957521] check-in: [2abafeca96] user: jan.nijtmans branch: core-8-branch, size: 15987
2021-08-20
12:48
Merge 8.7 file: [23c264385b] check-in: [e30f179c8f] user: jan.nijtmans branch: main, size: 16012
2021-08-17
16:16
tip#511 proposed implementation file: [329da65f64] check-in: [0d5d82595a] user: jan.nijtmans branch: tip-511, size: 15974
2021-04-08
14:26
Merge 8.7 file: [8064749d97] check-in: [652f6ffee1] user: jan.nijtmans branch: main, size: 15059
12:29
Remove TclpCreateFileHandler/TclpDeleteFileHandler on windows. The linker should complain when even trying to create something calling those functions. file: [054fca3fcb] check-in: [1d3e2e4aa0] user: jan.nijtmans branch: core-8-branch, size: 15021
2021-04-03
13:53
Clean up the notifier code to not spread the hooks quite so widely file: [1ee5d2d1f3] check-in: [a263b27340] user: dkf branch: main, size: 16200
2021-03-30
08:22
Refactoring, ahoy file: [c46e906c78] check-in: [7365fa0cf2] user: dkf branch: dkf/notifier-cleanup, size: 16162
2020-12-08
15:42
Merge 8.7 file: [d687a22c79] check-in: [71493b571b] user: jan.nijtmans branch: main, size: 15773
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: [f999c37563] check-in: [4254aa305b] user: jan.nijtmans branch: core-8-branch, size: 15740
2020-07-21
07:54
Merge 8.7 file: [614d9bd970] check-in: [b23af47e56] user: jan.nijtmans branch: trunk, size: 15774
2020-07-20
14:58
Merge 8.6 file: [16ba679913] check-in: [2f045a43d6] user: jan.nijtmans branch: core-8-branch, size: 15741
2020-03-31
07:09
Internal API simplifications: Don't use types like HINSTANCE/HMODULE any more, just void*. Has effect only on Win32 and Cygwin. file: [401b15f475] check-in: [3ec419f7df] user: jan.nijtmans branch: trunk, size: 15774
2020-03-25
10:11
Simplify platform/internal stubs. Not to be merged soon, still highly experimental!!!! file: [6deaf46933] check-in: [f9b8d0eda5] user: jan.nijtmans branch: stub-simplification, size: 15768
2019-09-19
15:24
Merge 8.6 file: [f5aadd00b7] check-in: [6b92f77a0a] user: jan.nijtmans branch: core-8-branch, size: 15741
11:36
Don't build the Tcl library in Unicode mode any more. Just tclAppInit.c (and cat32 on Windows) file: [99130cca8d] check-in: [31d001f4a3] user: jan.nijtmans branch: implicit-unicode, size: 15699
07:44
Merge 8.6. Missing cast in Tcl_WinTCharToUtf() macro (when compiling without -DUNICODE) file: [8ff6e9ef48] check-in: [d43bb90300] user: jan.nijtmans branch: core-8-branch, size: 15738
2019-09-18
15:11
TCHAR -> WCHAR converions (and corresponding Win32 API call changes), since we are impicitly compiling with -DUNICODE file: [ffb19a4dc6] check-in: [d05832de38] user: jan.nijtmans branch: core-8-6-branch, size: 15692
2019-07-25
08:36
Eliminate more usage of C++-specific keywords in C-code. file: [07ea3e0a92] check-in: [89eb41fe4c] user: jan.nijtmans branch: core-8-branch, size: 15730
2019-06-29
13:57
Code cleanup, like TCHAR -> WCHAR and TEXT("xxx") -> L"xxx", since we always compile in UNICODE mode. file: [43ecbb54b4] check-in: [dcb0c6ddcb] user: jan.nijtmans branch: core-8-branch, size: 15725
2019-04-02
19:17
Merge 8.6 file: [99b9a916c8] check-in: [1bcfcb3ac6] user: jan.nijtmans branch: androwish, size: 16287
2019-03-09
21:22
merge 8-5-event-perf-branch file: [468021ca3f] check-in: [697065a8e5] user: sebres branch: sebres-8-6-event-perf-branch, size: 25645
20:07
non-native time scale fixed: do scale time only once (not in cycle, since all other times used in calculation already scaled). file: [8fc4ad00d4] check-in: [f20b5264a3] user: sebres branch: sebres-8-5-event-perf-branch, size: 25517
2018-09-05
12:11
Minor code cleanup. win/tclWinPipe.c: Eliminate some compiler warnings on mingw-w64 win/tclWinNotify.c: Eliminate tsdPtr->timeout variable, since it's only being written to. other files: code cleanup, eliminate unnecessary type casts file: [2632399999] check-in: [35eb0692c1] user: jan.nijtmans branch: core-8-branch, size: 15730
2018-05-31
21:24
merge zipfs file: [98b6493b28] check-in: [fc74365c13] user: jan.nijtmans branch: androwish, size: 16586
2017-07-10
08:53
merge resp. reintegrate sebres-8-5-event-perf-branch to 8.6 file: [8f77cd387a] check-in: [fed961497a] user: sebres branch: sebres-8-6-event-perf-branch, size: 25629
2017-07-03
13:32
Introduced monotonic time as ultimate fix for time-jump issue (fixed for windows and unix now, TIP #302 fully implemented now); Usage of monotonic time instead of adjustment via timeJump/timeJumpEpoch is more precise and effective. New sub-command "clock monotonic" to provide monotonic time facility for tcl-level. file: [3b98b4cace] check-in: [b9371d7b63] user: sebres branch: sebres-8-5-event-perf-branch, size: 25501
13:29
interim commit: trying to resolve time-freezes with new facilities timeJump/timeJumpEpoch file: [984fcac4b4] check-in: [ec9fea1726] user: sebres branch: sebres-8-5-event-perf-branch, size: 26825
13:29
interim commit: trying to resolve time-freezes with new facilities timeJump/timeJumpEpoch file: [33dd0a891a] check-in: [5210febb78] user: sebres branch: sebres-8-5-event-perf-branch, size: 26942
13:29
call TclWinResetTimerResolution at end of sleep resp. wait for event (no calibration thread anymore) file: [e8fa13b544] check-in: [224662ba67] user: sebres branch: sebres-8-5-event-perf-branch, size: 26093
13:29
win: calibration cycle completely rewritten (no calibration thread needed, soft drifts within 250ms intervals, fewer discrepancy and fewer virtual time gradation, etc). todo: implement resetting timer-resolution to original value (without calibration thread now). file: [3b11cbaf2c] check-in: [e4ba9947f0] user: sebres branch: sebres-8-5-event-perf-branch, size: 25584
13:25
code review + better usage of the waiting tolerance (fewer CPU-greedy now, avoid busy-wait if the rest of wait-time too small and can be neglected); TMR_RES_TOLERANCE can be defined to use wait-tolerance on *nix platforms (currently windows only as relation resp. deviation between default timer resolution 15.600 in exact milliseconds, means 15600/15000 + small overhead); Decreasing of TMR_RES_TOLERANCE (up to 0) makes tcl more "RTS" resp. NRT-capable (very precise wait-intervals, but more CPU-hungry). file: [c58442152d] check-in: [db1b878a22] user: sebres branch: sebres-8-5-event-perf-branch, size: 25588
13:25
[win32] use timer resolution handling in Tcl_Sleep also; file: [0ac96c664d] check-in: [608055d821] user: sebres branch: sebres-8-5-event-perf-branch, size: 25500
13:25
Use auto-reset event object (system automatically resets the event state to nonsignaled after wake-up), avoids unwanted reset if wake-up for some other reasons (timeout/aio/message). file: [31d80dd5eb] check-in: [c98b99372f] user: sebres branch: sebres-8-5-event-perf-branch, size: 24098
13:25
dynamic increase of timer resolution corresponding wait-time; non-blocking wait for event - if block-time set outside an event source traversal, use it as timeout, so can return with result 0 (no events); file: [e77bc9180a] check-in: [3aa1cefdf7] user: sebres branch: sebres-8-5-event-perf-branch, size: 24127
13:23
[performance] large performance increase by event servicing cycles (3x - 5x faster now); [win] prevent listen using PeekMessage twice, and no wait anymore for too short timeouts (because windows can wait too long), compare 0µs with up-to 100µs overhead within MsgWaitForMultipleObjectsEx; [bad behavior] process idle events only as long as no other events available (now TclPeekEventQueued will be used to check new events are available in service idle cycle); [enhancement] new option "noidletasks" for command "update", so "update noidle" means "process all events but not idle"; file: [7182d0b25b] check-in: [0dd0a029f5] user: sebres branch: sebres-8-5-event-perf-branch, size: 15717
2017-01-06
11:55
Merge zipfs file: [4f6fbecac9] check-in: [ab145ad122] user: jan.nijtmans branch: androwish, size: 15796
2016-09-26
15:38
Merge core-8-6-branch. upstream androwish modifications. file: [e9600ddabc] check-in: [88fd04e92c] user: jan.nijtmans branch: androwish, size: 15895
09:35
[3328635] Latest patch from Christian Werner file: [36850d1a15] check-in: [965d56c3af] user: jan.nijtmans branch: tkt3328635-posix-monotonic-clock, size: 16103
2016-04-01
12:00
merge trunk file: [fb6cf3b675] check-in: [925fddfb82] user: jan.nijtmans branch: novem, size: 15829
2016-03-30
20:03
The following patch against a stock tcl 8.6.5 source tree tries to

implement most of TIP #302 for UN*X and WIN32/64:

* use clock_gettime(CLOCK_MONOTONIC) for relative timing (UN*X)
when available (tested at runtime)
* use PTHREAD_CONDATTR_SETCLOCK et.al. for pthread_cond (UN*X)
when available (tested at runtime)
* use GetTickCount64() for relative timing (WIN64)
* use GetTickCount() for relative timing (WIN32 for WINNT<6.0)
* configure (UN*X) detects availabilty of clock_gettime() and
pthread_condattr_setclock() plus adds optional -lrt to LIBS
* configure (WIN32) adds command line option --with-tickcount
to turn on GetTickCount*() usage

Trade-off: implementation eliminates virtualized time, unfortunately.

Best regards,

Christian Werner

--- missing merge ---

diff -ur tcl8.6.5-orig/win/configure.in tcl8.6.5/win/configure.in

--- tcl8.6.5-orig/win/configure.in 2016-02-29 20:13:09.000000000 +0100

+++ tcl8.6.5/win/configure.in 2016-03-25 06:47:47.712516747 +0100

@@ -142,6 +142,15 @@

])
AC_DEFINE(HAVE_ZLIB, 1, [Is there an installed zlib?])

+AC_ARG_WITH(tickcount,

+ AC_HELP_STRING([--with-tickcount],

+ [use GetTickCount for timers, turns off interp time limits]),

+ [tcl_ok=$withval], [tcl_ok=no])

+AC_MSG_RESULT([$tcl_ok])

+if test $tcl_ok = yes; then

+ AC_DEFINE(WIN32_USE_TICKCOUNT, 1, [Use GetTickCount for timers?])

+fi

+

AC_CHECK_TYPE([intptr_t], [ AC_DEFINE([HAVE_INTPTR_T], 1, [Do we have the intptr_t type?])], [ AC_CACHE_CHECK([for pointer-size signed integer type], tcl_cv_intptr_t, [
file: [eec1ec6c6e] check-in: [6fa1088680] user: oehhar branch: tip-302, size: 16615
12:57
merge trunk file: [b33b694683] check-in: [a919e9ea58] user: jan.nijtmans branch: notifier, size: 15848
2016-03-29
12:07
merge trunk file: [5a73621049] check-in: [ad2fb188b8] user: dgp branch: novem, size: 15602
10:17
Eliminate AT_FORK_INIT_VALUE/RESET_ATFORK_MUTEX macro's, since other values than the default are not supported anyway. This results in the elimination of (empty functions anyway) AtForkPrepare/AtForkParent. Also improve consistancy in some variable names. No change of functionality. file: [48dddee10e] check-in: [255b94edcb] user: jan.nijtmans branch: trunk, size: 15621
2016-03-21
14:22
(experiment) Use TclpMasterLock() in stead of a separate notifierInitMutex. One less mutex to be worried about. file: [8d1c32eed2] check-in: [2aa18b39c4] user: jan.nijtmans branch: notifier, size: 15848
2012-08-20
06:49
remove unnecessary struct names, which only pollute the "struct" namespace for te compiler. file: [dcfc9b5fa9] check-in: [db442914c7] user: jan.nijtmans branch: jn-no-struct-names, size: 15602
2011-10-07
11:58
Fix gcc warnings (discovered with latest mingw, based on gcc 4.6.1) file: [b009563e41] check-in: [72e8ccc7aa] user: jan.nijtmans branch: core-8-4-branch, size: 14538
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: [6e7cfcafa2] check-in: [c64f310d38] user: dgp branch: trunk, size: 15621
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: [0123ff55d1] check-in: [79367df0f0] user: dgp branch: core-8-5-branch, size: 15533
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: [0754202162] check-in: [90b4acd7bd] user: dgp branch: core-8-4-branch, size: 14531
2010-11-23
14:27
Jumps of win/ files. Fixed missing patches to configure. Jumped configure.in and tcl.m4. Also @578 file: [44d2ea7737] check-in: [1c930c462b] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 15701
2010-11-22
16:07
Next @380. OO Stacktraces broken. file: [375bc81c2d] check-in: [1713113dd4] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 15684
2010-11-18
17:15
Next, @134 file: [ce6e9df5d6] check-in: [7fc03e57d1] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 15696
2010-06-07
17:36
rebranch from HEAD file: [fad32901de] check-in: [f3af08f468] user: rmax branch: rmax-ipv6-branch, size: 15699
2010-05-21
12:18
installData.tcl: Make sure that copyDir only receives normalized paths. tclPlatDecls.h: Fix <tchar.h> inclusion for CYGWIN. tclPathObj.c: Fix Tcl_SetStringObj usage for CYGWIN. *.c: Fix various minor other gcc warnings, like signed<->unsigned mismatch. file: [c142759d9c] check-in: [624625fe98] user: nijtmans branch: core-8-5-branch, size: 15616
2010-05-14
13:31
merge file: [403c525c43] check-in: [384f57f831] user: dgp branch: dgp-refactor, size: 15699
2010-05-11
14:47
Unnecessary type casts, See Tcl [Patch #2997087] Don't duplicate CYGWIN timezone #define from tclPort.h in tclWinPort.h file: [0aae6b64e4] check-in: [b231748527] user: nijtmans branch: trunk, size: 15699
2010-05-07
01:16
merge file: [40f0d9dabb] check-in: [b5733b6f5e] user: dgp branch: dgp-refactor, size: 15724
2010-05-04
11:05
TCHAR-related fixes, making those files compile fine when TCHAR != char Please see comments in [Freq 2965056] (2965056-1.patch). file: [cdf2b6bbfa] check-in: [2f92eaadea] user: nijtmans branch: trunk, size: 15724
2009-11-19
16:51
merge updates from HEAD file: [2b6ef5c0d4] check-in: [7aa1b44845] user: dgp branch: dgp-refactor, size: 15689
2009-11-18
21:59
Eliminate various gcc warnings (in -Wextra mode) file: [eb34b47f38] check-in: [8780faf488] user: nijtmans branch: trunk, size: 15689
2008-11-10
02:18
merge updates from HEAD file: [e367f5819c] check-in: [4a9c1325dc] user: dgp branch: dgp-refactor, size: 15682
2008-10-26
18:34
Style improvements - invoking callbacks without visual junk. file: [6729c0f87e] check-in: [a1a8afc25d] user: dkf branch: trunk, size: 15677
2008-07-29
20:13
merge updates from (near) HEAD file: [7103881e7e] check-in: [f51e3a3c72] user: dgp branch: dgp-refactor, size: 15694
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: [50a814cfff] check-in: [7ade6e690e] user: nijtmans branch: trunk, size: 15694
2008-06-16
03:17
merge updates from HEAD file: [6dc5b6a2ee] check-in: [1f1de75ebf] user: dgp branch: dgp-refactor, size: 15682
2008-06-13
05:45
TIP 285 Implementation file: [2fc97121e0] check-in: [505c316922] user: mistachkin branch: trunk, size: 15684
2008-04-18
13:02
merge updates from HEAD file: [3a38caf47e] check-in: [db78c97753] user: dgp branch: dgp-refactor, size: 15673
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: [c9a5ec5e1a] check-in: [79cb766dcc] user: das branch: trunk, size: 15669
2005-12-02
18:42
merge updates from HEAD file: [bb12fd7fd0] check-in: [1059d34b2b] user: dgp branch: dgp-refactor, size: 15603
2005-11-04
00:06
ANSIfy file: [d10f5f42ed] check-in: [eeb132b4ae] user: dkf branch: trunk, size: 15599
2005-08-02
18:14
merge updates from HEAD file: [46130b657c] check-in: [10feab7c07] user: dgp branch: kennykb-numerics-branch, size: 15629
2005-07-26
04:11
Merge updates from HEAD file: [277c75a87f] check-in: [8351a734a6] user: dgp branch: dgp-refactor, size: 15629
2005-07-24
22:56
Getting more systematic about style file: [f6004d6a89] check-in: [83d72c558c] user: dkf branch: trunk, size: 15625
2005-06-13
01:45
*** MERGE WITH HEAD *** (tag msofer-wcodes-20050611)
file: [3dd1c061dd] check-in: [d666b09ed5] user: msofer branch: msofer-wcodes-branch, size: 15525
2005-05-10
18:33
Merged kennykb-numerics-branch back to the head; TIPs 132 and 232 file: [572a468c89] check-in: [1cc2336920] user: kennykb branch: trunk, size: 15522
2005-05-05
17:55
Merged with HEAD file: [f6b1a540c1] check-in: [b77c9a87c6] user: kennykb branch: kennykb-numerics-branch, size: 15526
2005-04-29
22:39
Merge updates from HEAD file: [cdf1bca955] check-in: [ac63d218d8] user: dgp branch: dgp-refactor, size: 15522
2005-04-26
00:44
* compat/string.h: fixed memchr() protoype for __APPLE__ so that we build on Mac OS X 10.1 again.
* generic/tclNotify.c (TclFinalizeNotifier): fixed notifier not being finalized in unthreaded core (was testing for notifier initialization in current thread by checking thread id != 0 but thread id is always 0 in untreaded core).
* win/tclWinNotify.c (Tcl_WaitForEvent): * unix/tclUnixNotfy.c (Tcl_WaitForEvent): don't call ScaleTimeProc for zero wait times (as specified in TIP 233).
* unix/Makefile.in: added @PLAT_SRCS@ to SRCS and split out NOTIFY_SRCS from UNIX_SRCS for parity with UNIX_OBJS & NOTIFY_OBJS.
* unix/tcl.m4 (Darwin): added configure checks for recently added linker flags -single_module and -search_paths_first to allow building with older tools (and on Mac OS X 10.1), use -single_module in SHLIB_LD and not just T{CL,K}_SHLIB_LD_EXTRAS, added unexporting from Tk of symbols from libtclstub to avoid duplicate symbol warnings, added PLAT_SRCS definition for Mac OS X, defined MODULE_SCOPE to __private_extern__. (SC_MISSING_POSIX_HEADERS): added caching of dirent.h check.
* unix/configure: autoconf-2.59
file: [53b0a1ef01] check-in: [20a693c229] user: das branch: trunk, size: 15518
2005-02-02
15:53
sync with head, add TclStrToD (TIP #132) file: [5f165919cd] check-in: [82ce6a0c40] user: kennykb branch: kennykb-numerics-branch, size: 15475
2005-01-24
21:43
merge updates from HEAD file: [9d6e8c6281] check-in: [3e37b6975d] user: dgp branch: dgp-refactor, size: 15471
2005-01-21
22:24
* generic/tclStubInit.c: Regenerated the stubs support code from * generic/tclDecls.h: the modified tcl.decls (TIP #233, see below).
* doc/GetTime.3: Implemented TIP #233, i.e. the * generic/tcl.decls: 'Virtualization of Tcl's Sense of Time'. * generic/tcl.h: Declared, implemented, and documented the * generic/tclInt.h: specified new API functions. Moved the * unix/tclUnixEvent.c: native (OS) access to time information * unix/tclUnixNotfy.c: into standard handler functions. Inserted * unix/tclUnixTime.c: hooks calling on the handlers where native * win/tclWinNotify.c: access was done before, and where scaling * win/tclWinTime.c: between domains (real/virtual) is required.
file: [1044796033] check-in: [8e9949daa2] user: andreas_kupries branch: trunk, size: 15479
2004-04-09
20:57
Merge updates from HEAD file: [b2b4c3cc64] check-in: [5b5c8133e5] user: dgp branch: dgp-refactor, size: 14832
2004-04-06
22:25
Patch 922727 committed. Implements three changes:
* generic/tclInt.h: Reworked the Tcl header files into a clean * unix/tclUnixPort.h: hierarchy where tcl.h < tclPort.h < tclInt.h * win/tclWinInt.h: and every C source file should #include * win/tclWinPort.h: at most one of those files to satisfy its declaration needs. tclWinInt.h and tclWinPort.h also better organized so that tclWinPort.h includes the Windows implementation of cross-platform declarations, while tclWinInt.h makes declarations that are available on Windows only.
* generic/tclBinary.c (TCL_NO_MATH): Deleted the generic/tclMath.h * generic/tclMath.h (removed): header file. The internal Tcl * macosx/Makefile (PRIVATE_HEADERS): header, tclInt.h, has a * win/tcl.dsp: #include <math.h> directly, and file external to Tcl needing libm should do the same.
* win/Makefile.in (WIN_OBJS): Deleted the win/tclWinMtherr.c file. * win/makefile.bc (TCLOBJS): It's a vestige from matherr() days * win/makefile.vc (TCLOBJS): gone by. * win/tcl.dsp: * win/tclWinMtherr.c (removed):
file: [6ad3ad643c] check-in: [2e5b18c85c] user: dgp branch: trunk, size: 14828
2004-03-26
22:28
Merge updates from HEAD. file: [a884d5bbb5] check-in: [6e8d2d7ba1] user: dgp branch: dgp-refactor, size: 14835
2004-03-16
03:40
* win/tclWinNotify.c: Fixed a mistake where the return value of MsgWaitForMultipleObjectsEx for "a message is in the queue" wasn't accurate. I removed the check on the case result==(WAIT_OBJECT_0 + 1) This was having the error of falling into GetMessage and waiting there by accident, which wasn't alertable through Tcl_AlertNotifier. I'll do some more study on this and try to find-out why. file: [2b9fc782d3] check-in: [7d7363280b] user: davygrvy branch: trunk, size: 14836
2004-03-04
17:26
merge updates from HEAD file: [14fe6c64c8] check-in: [90bbbc469a] user: dgp branch: dgp-refactor, size: 14873
2004-03-03
10:44
* win/tclWinNotify.c (Tcl_WaitForEvent) : Allows an idling notifier to service "Asynchronous Procedure Calls" from its wait state. Only useful for extension authors who decide they might want to try "completion routines" with WriteFileEx(), as an example. From experience, I recommend that "completion ports" should be used instead as the execution of the callbacks are more managable. file: [cdf5f3079e] check-in: [cc0704a50f] user: davygrvy branch: trunk, size: 14874
2004-02-07
05:47
Merge updates from HEAD

Note that this branch currently does not fully support the new {expand} syntax. Updates to TclEvalScriptTokens and TclCompileScriptTokens are still to come. file: [580aa73cad] check-in: [beeeb45bbf] user: dgp branch: dgp-refactor, size: 14612

2003-12-24
04:18
All uses of 'panic' (the macro) changed to 'Tcl_Panic' (the function). The #define of panic in tcl.h clearly states it is deprecated in the comments. [Patch 865264] file: [b798b5298b] check-in: [524a53e3b3] user: davygrvy branch: trunk, size: 14613
2003-03-21
03:24
* generic/tclInt.h (tclOriginalNotifier): * generic/tclStubInit.c (tclOriginalNotifier): * mac/tclMacNotify.c (Tcl_SetTimer,Tcl_WaitForEvent): * unix/tclUnixNotfy.c (Tcl_SetTimer,Tcl_WaitForEvent, Tcl_CreateFileHandler,Tcl_DeleteFileHandler): * win/tclWinNotify.c (Tcl_SetTimer,Tcl_WaitForEvent): Some linkers apparently use a different representation for a pointer to a function within the same compilation unit and a pointer to a function in a different compilation unit. This causes checks like those in the original notifier procedures to fall into infinite loops. The fix is to store pointers to the original notifier procedures in a struct defined in the same compilation unit as the stubs tables, and compare against those values. [Bug 707174]
file: [c49b420b60] check-in: [02b5df7fe1] user: dgp branch: core-8-4-branch, size: 14608
03:23
* generic/tclInt.h (tclOriginalNotifier): * generic/tclStubInit.c (tclOriginalNotifier): * mac/tclMacNotify.c (Tcl_SetTimer,Tcl_WaitForEvent): * unix/tclUnixNotfy.c (Tcl_SetTimer,Tcl_WaitForEvent, Tcl_CreateFileHandler,Tcl_DeleteFileHandler): * win/tclWinNotify.c (Tcl_SetTimer,Tcl_WaitForEvent): Some linkers apparently use a different representation for a pointer to a function within the same compilation unit and a pointer to a function in a different compilation unit. This causes checks like those in the original notifier procedures to fall into infinite loops. The fix is to store pointers to the original notifier procedures in a struct defined in the same compilation unit as the stubs tables, and compare against those values. [Bug 707174]
file: [12a2e8094d] check-in: [2128edd984] user: dgp branch: trunk, size: 14604
2003-01-16
19:01
* win/tclWin32Dll.c (squelch_warnings): Squelch compiler warnings from SEH ASM code. * win/tclWinChan.c (squelch_warnings): Squelch compiler warnings from SEH ASM code. * win/tclWinDde.c: Add casts to avoid compiler warnings. Pass pointer to DWORD instead of int to avoid compiler warnings. * win/tclWinFCmd.c (squelch_warnings): Add casts and fixup decls to avoid compiler warnings. Squelch compiler warnings from SEH ASM code. * win/tclWinFile.c: Add casts and fixup decls to avoid compiler warnings. Remove unused variable. * win/tclWinNotify.c: Declare as DWORD instead of int to avoid compiler warning. * win/tclWinReg.c: Add casts to avoid compiler warning. Fix assignment in if expression bug. * win/tclWinSerial.c: Add casts to avoid compiler warnings. Remove unused variable. * win/tclWinSock.c: Add casts and fixup decls to avoid compiler warnings.
file: [219051fcea] check-in: [bba93619da] user: mdejong branch: trunk, size: 14521
2002-10-15
20:15
match up to fixes in 8.4 file: [7b755f145f] check-in: [d98846ad1a] user: hobbs branch: core-8-3-1-branch, size: 13324
2002-03-18
22:30
* generic/tclCompile.c (TclCompileTokens): Modified imported bugfix to use a heap variable for the message buffer instead of placing it on the stack.
* Updated "mod-8-3-1-branch" to head of "core-8-3-1-branch" to get the newest fixes for tcl 8.3.4 into this branch.
file: [a59fb476ac] check-in: [d631cf3e55] user: andreas_kupries branch: mod-8-3-4-branch, size: 13309
2002-02-25
23:36
* win/tclWinNotify.c (Tcl_FinalizeNotifier): backported fix for [Bug #217982] which also affected Tkinter [Python Bug #216289]
file: [b5475f82a1] check-in: [64e9d26bcd] user: hobbs branch: core-8-3-1-branch, size: 13295
2002-02-05
02:21
Merging with the current TOT. Very few conflicts, mostly in the generated files. file: [40f34c712d] check-in: [f469a31a06] user: wolfsuit branch: macosx-8-4-branch, size: 14524
2001-12-14
10:32
* win/tclWinNotify.c (Tcl_FinalizeNotifier): Stop Tcl on Windows from crashing when shutdown from a non-Tcl thread. Fixes Bug #217982 [orig. 5804] reported by Hugh Vu and Gene Leache. I'm not convinced that the shutdown process is right even with this, but it was definitely wrong without...
file: [10a0e8099f] check-in: [8ef3055eae] user: dkf branch: trunk, size: 14516
2001-11-21
02:36
added TIP#73 patch #483500 from Kevin Kenny. This deprecates TclpGetTime in favor of new Tcl_GetTime. file: [24813073df] check-in: [ad0e26f63b] user: hobbs branch: trunk, size: 13990
2001-09-20
18:50
* win/makefile.vc: updated IA64 compile settings
* win/tclWinInit.c: added extra processor definitions. (mstacy)
* win/tclWinSock.c (SocketThread): corrected pointer cast for _WIN64.
* win/tclWinNotify.c: removed unnecessary winsock include (it is already in from tclWinPort.h).
* win/tclWinPort.h: changed winsock.h include to winsock2.h. Reverses change from 2000-11-16, but is necessary for WIN64. Extensions should comply with defined OS words, or use #ifndef.
file: [28491629a1] check-in: [1aa58c2d9a] user: hobbs branch: core-8-3-1-branch, size: 12768
18:34
removed unnecessary winsock.h include file: [e345cac07c] check-in: [c2e845d9d9] user: hobbs branch: trunk, size: 13990
2001-04-03
22:54
see backport log in ChangeLog for specific file backports from 8.4aCVS file: [f4e6aeed45] check-in: [6defc375da] user: hobbs branch: core-8-3-1-branch, size: 12789
2000-11-21
21:33
Applied the patch for TIP #7 from Kevin Kenny. See http://www.cs.man.ac.uk/fellowsd-bin/TIP/7.html file: [67ac707f89] check-in: [3d13d2887f] user: andreas_kupries branch: trunk, size: 14021
2000-08-08
19:03
Deleted: Created branch tclpro-1-5-0-synthetic check-in: [e979569c4f] user: cvs2fossil branch: tclpro-1-5-0-synthetic, size: 0
2000-06-13
20:30
* win/tclWinDde.c: * win/tclWinInit.c: * win/tclWinNotify.c: * win/tclWinPipe.c: * win/tclWinReg.c: * win/tclWinThrd.c: Applied patch from [Bug 5794]. file: [417675b1d0] check-in: [84806aadba] user: ericm branch: trunk, size: 12875
1999-07-02
22:08
Fix missing declaration of tclStubs file: [373452b6c5] check-in: [c3d96ae985] user: redman branch: trunk, size: 12891
06:05
Added hook points to the notifier file: [5dcdfc6ac7] check-in: [2575337b01] user: welch branch: trunk, size: 12864
1999-04-21
00:42
Deleted: Added comments for 4/19 and 4/20 check-in: [6c6fc5d7b2] user: redman branch: scriptics-tclpro-1-2-old, size: 0
1999-04-16
00:46
merged tcl 8.1 branch back into the main trunk file: [6d1ed4c776] check-in: [f3b32fb71c] user: stanton branch: trunk, size: 12406
1999-03-24
04:25
* tests/winNotify.test: * mac/tclMacNotify.c: * win/tclWinNotify.c: * unix/tclUnixNotfy.c: * generic/tclNotify.c: Added a new Tcl_ServiceModeHook interface that is invoked whenever the service mode changes. This is needed to allow the Windows notifier to create a communication window the first time Tcl is about to enter an external modal event loop instead of at startup time. This will avoid the various problems that people have been seeing where the system hangs when tclsh is running outside of the event loop. [Bug: 783]

* generic/tclInt.h: * generic/tcl.decls: Renamed TclpAlertNotifier back to Tcl_AlertNotifier since it is part of the public notifier driver API. file: [23698ed105] check-in: [1b663177f8] user: stanton branch: core-8-1-branch-old, size: 12410

1999-03-11
19:28
Deleted: Add documentation for Tcl_GetVersion() check-in: [940e47cf48] user: redman branch: scriptics-tclpro-1-2, size: 0
01:50
* generic/tcl.h: * generic/tcl.decls: Changed Tcl_ReleaseType from an enum to macros so it can be used in .rc files. Added Tcl_GetString.

* mac/tclMacNotify.c: * generic/tclNotify.c: * generic/tclInt.h: * win/tclWinNotify.c: * generic/tcl.h: Renamed Tcl_AlertNotifier to TclpAlertNotifier.

* generic/tclInt.decls: Added TclWinAddProcess to make it possible for expect to use Tcl_WaitForPid(). This patch is from Gordon Chaffee.

* mac/tclMacPort.h: * win/tclWinInit.c: * unix/tclUnixPort.h: * generic/tclAsync.c: Added TclpAsyncMark to fix bug in async handling on Windows where async events don't wake up the event loop. This patch comes from Gordon Chaffee.

* generic/tcl.decls: Fixed declarations of reserved slots. file: [bbd00cc2c8] check-in: [37d1a96b18] user: stanton branch: core-8-1-branch-old, size: 9935

1998-12-24
00:13
Removed function decls that were never used. file: [e80f49e2f3] check-in: [765a95551f] user: rjohnson branch: core-8-1-branch-old, size: 9936
1998-12-12
01:36
Minor change to Lock Declarations to use TCL_DECLARE_MUTEX macro, published in tcl.h. file: [e52c8f2793] check-in: [c778c9ef5e] user: lfb branch: core-8-1-branch-old, size: 9931
1998-09-24
23:58
merging changes from 8.0.3 into 8.1a2 file: [9e5f781659] check-in: [1c3c1ab19f] user: stanton branch: core-8-1-branch-old, size: 9934
1998-09-21
23:39
Added contents of Tcl 8.1a2 file: [943b4f9e19] check-in: [8c56dc8868] user: stanton branch: core-8-1-branch-old, size: 9909
1998-09-14
18:39
Replaced SCCS strings, fixed binary files file: [06708c496e] check-in: [196f92fd17] user: stanton branch: trunk, size: 7208
1998-03-26
14:56
Added: Initial revision file: [c68d6b8ea0] check-in: [f86c34e38d] user: rjohnson branch: trunk, size: 7187