From 6ade6b3dd22c71dfcc5446baa501abc47d15a2a2 Mon Sep 17 00:00:00 2001 From: Svyatoslav Mishyn Date: Wed, 8 Jul 2015 14:37:10 +0300 Subject: docs: add link to Oxford Dictionaries for "tickle" --- Tcl_shipped.html | 5 +++-- jim_tcl.txt | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Tcl_shipped.html b/Tcl_shipped.html index dad3474..64520c1 100644 --- a/Tcl_shipped.html +++ b/Tcl_shipped.html @@ -1187,7 +1187,8 @@ Built-in regexp now support non-greedy repetition (*?, +?, ??)

TCL INTRODUCTION

-

Tcl stands for tool command language and is pronounced tickle. +

Tcl stands for tool command language and is pronounced +tickle. It is actually two things: a language and a library.

First, Tcl is a simple textual language, intended primarily for issuing commands to interactive programs such as text editors, @@ -8241,7 +8242,7 @@ official policies, either expressed or implied, of the Jim Tcl Project.


diff --git a/jim_tcl.txt b/jim_tcl.txt index 13185c8..6dcee2e 100644 --- a/jim_tcl.txt +++ b/jim_tcl.txt @@ -128,7 +128,8 @@ Changes between 0.70 and 0.71 TCL INTRODUCTION ----------------- -Tcl stands for 'tool command language' and is pronounced 'tickle.' +Tcl stands for 'tool command language' and is pronounced +'http://www.oxforddictionaries.com/definition/american_english/tickle[tickle]'. It is actually two things: a language and a library. First, Tcl is a simple textual language, intended primarily for -- cgit v1.1 From 2ad6cd71d62fdafb2eba06bd47882c9f464489e1 Mon Sep 17 00:00:00 2001 From: Svyatoslav Mishyn Date: Wed, 8 Jul 2015 15:21:27 +0300 Subject: jim.c: fix typo "does not exists" => "does not exist" --- jim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jim.c b/jim.c index 5b61a5d..8c72777 100644 --- a/jim.c +++ b/jim.c @@ -4295,7 +4295,7 @@ static int JimValidName(Jim_Interp *interp, const char *type, Jim_Obj *nameObjPt /* This method should be called only by the variable API. * It returns JIM_OK on success (variable already exists), - * JIM_ERR if it does not exists, JIM_DICT_SUGAR if it's not + * JIM_ERR if it does not exist, JIM_DICT_SUGAR if it's not * a variable name, but syntax glue for [dict] i.e. the last * character is ')' */ static int SetVariableFromAny(Jim_Interp *interp, struct Jim_Obj *objPtr) @@ -12438,7 +12438,7 @@ static int Jim_LappendCoreCommand(Jim_Interp *interp, int argc, Jim_Obj *const * } listObjPtr = Jim_GetVariable(interp, argv[1], JIM_UNSHARED); if (!listObjPtr) { - /* Create the list if it does not exists */ + /* Create the list if it does not exist */ listObjPtr = Jim_NewListObj(interp, NULL, 0); if (Jim_SetVariable(interp, argv[1], listObjPtr) != JIM_OK) { Jim_FreeNewObj(interp, listObjPtr); -- cgit v1.1 From e0f1f32f752885fb1c776c254fbe73412fbda682 Mon Sep 17 00:00:00 2001 From: Svyatoslav Mishyn Date: Thu, 9 Jul 2015 08:30:46 +0300 Subject: docs: add desc for "clock {clicks, microseconds, milliseconds}" --- Tcl_shipped.html | 26 +++++++++++++++++++++++++- jim_tcl.txt | 9 +++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/Tcl_shipped.html b/Tcl_shipped.html index 64520c1..71bbbf5 100644 --- a/Tcl_shipped.html +++ b/Tcl_shipped.html @@ -3526,6 +3526,30 @@ be removed in some applications.

+clock clicks +
+
+

+ Returns the current time in ‘clicks’. +

+
+
+clock microseconds +
+
+

+ Returns the current time in microseconds. +

+
+
+clock milliseconds +
+
+

+ Returns the current time in milliseconds. +

+
+
clock format seconds ?-format format?
@@ -8242,7 +8266,7 @@ official policies, either expressed or implied, of the Jim Tcl Project.
diff --git a/jim_tcl.txt b/jim_tcl.txt index 6dcee2e..899e230 100644 --- a/jim_tcl.txt +++ b/jim_tcl.txt @@ -1828,6 +1828,15 @@ clock +*clock seconds*+:: Returns the current time as seconds since the epoch. ++*clock clicks*+:: + Returns the current time in `clicks'. + ++*clock microseconds*+:: + Returns the current time in microseconds. + ++*clock milliseconds*+:: + Returns the current time in milliseconds. + +*clock format* 'seconds' ?*-format* 'format?'+:: Format the given time (seconds since the epoch) according to the given format. See strftime(3) for supported formats. -- cgit v1.1