From b68e5beb2f692aa9477d01c2e210e4e54b83a49f Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 7 Nov 2016 14:52:06 +0100 Subject: [PATCH] 2016-11-07 14:50 UTC+0100 Viktor Szakats (vszakats users.noreply.github.com) - doc/en/hb_set.txt * doc/en/set.txt * contrib/hbgd/doc/en/hbgd.txt -> contrib/hbgd/doc/en/gdwrp.txt * contrib/hbmisc/doc/en/dates2.txt -> contrib/hbmisc/doc/en/dates.txt * contrib/hbmisc/doc/en/ht_class.txt -> contrib/hbmisc/doc/en/fileread.txt * contrib/hbmisc/doc/en/ht_conv.txt -> contrib/hbmisc/doc/en/nconvert.txt * contrib/hbmisc/doc/en/ht_str.txt -> contrib/hbmisc/doc/en/strfmt.txt * contrib/hbxpp/doc/en/browse.txt -> contrib/hbxpp/doc/en/dbcmdx.txt * contrib/hbziparc/doc/en/hbziparc.txt -> contrib/hbziparc/doc/en/ziparc.txt * contrib/rddads/doc/en/adsfuncs.txt -> contrib/rddads/doc/en/adsfunc.txt * doc/en/array.txt -> doc/en/arrayshb.txt * doc/en/eval.txt -> doc/en/evalhb.txt * doc/en/input.txt -> doc/en/inputall.txt * doc/en/lang.txt -> doc/en/langall.txt * doc/en/nation.txt -> doc/en/natmsg.txt * doc/en/setmode.txt -> doc/en/gx.txt * doc/en/tgetlist.txt -> doc/en/readvar.txt * renames to sync doc filenames with source filename ; Above patches come from 3.4 fork commits below: 2016-11-03 14:01 UTC+0100 Viktor Szakats (vszakats users.noreply.github.com) 2016-11-03 13:48 UTC+0100 Viktor Szakats (vszakats users.noreply.github.com) --- ChangeLog.txt | 25 +++ contrib/hbgd/doc/en/{hbgd.txt => gdwrp.txt} | 0 .../hbmisc/doc/en/{dates2.txt => dates.txt} | 0 .../doc/en/{ht_class.txt => fileread.txt} | 0 .../doc/en/{ht_conv.txt => nconvert.txt} | 0 .../hbmisc/doc/en/{ht_str.txt => strfmt.txt} | 0 .../hbxpp/doc/en/{browse.txt => dbcmdx.txt} | 0 .../doc/en/{hbziparc.txt => ziparc.txt} | 0 .../doc/en/{adsfuncs.txt => adsfunc.txt} | 0 doc/en/{array.txt => arrayshb.txt} | 0 doc/en/{eval.txt => evalhb.txt} | 0 doc/en/{setmode.txt => gx.txt} | 0 doc/en/hb_set.txt | 150 ------------------ doc/en/{input.txt => inputall.txt} | 0 doc/en/{lang.txt => langall.txt} | 0 doc/en/{nation.txt => natmsg.txt} | 0 doc/en/{tgetlist.txt => readvar.txt} | 0 doc/en/set.txt | 143 +++++++++++++++++ 18 files changed, 168 insertions(+), 150 deletions(-) rename contrib/hbgd/doc/en/{hbgd.txt => gdwrp.txt} (100%) rename contrib/hbmisc/doc/en/{dates2.txt => dates.txt} (100%) rename contrib/hbmisc/doc/en/{ht_class.txt => fileread.txt} (100%) rename contrib/hbmisc/doc/en/{ht_conv.txt => nconvert.txt} (100%) rename contrib/hbmisc/doc/en/{ht_str.txt => strfmt.txt} (100%) rename contrib/hbxpp/doc/en/{browse.txt => dbcmdx.txt} (100%) rename contrib/hbziparc/doc/en/{hbziparc.txt => ziparc.txt} (100%) rename contrib/rddads/doc/en/{adsfuncs.txt => adsfunc.txt} (100%) rename doc/en/{array.txt => arrayshb.txt} (100%) rename doc/en/{eval.txt => evalhb.txt} (100%) rename doc/en/{setmode.txt => gx.txt} (100%) delete mode 100644 doc/en/hb_set.txt rename doc/en/{input.txt => inputall.txt} (100%) rename doc/en/{lang.txt => langall.txt} (100%) rename doc/en/{nation.txt => natmsg.txt} (100%) rename doc/en/{tgetlist.txt => readvar.txt} (100%) diff --git a/ChangeLog.txt b/ChangeLog.txt index 9a5fdaa892..6aaeea4ce2 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -10,6 +10,31 @@ * Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment */ +2016-11-07 14:50 UTC+0100 Viktor Szakats (vszakats users.noreply.github.com) + - doc/en/hb_set.txt + * doc/en/set.txt + * contrib/hbgd/doc/en/hbgd.txt -> contrib/hbgd/doc/en/gdwrp.txt + * contrib/hbmisc/doc/en/dates2.txt -> contrib/hbmisc/doc/en/dates.txt + * contrib/hbmisc/doc/en/ht_class.txt -> contrib/hbmisc/doc/en/fileread.txt + * contrib/hbmisc/doc/en/ht_conv.txt -> contrib/hbmisc/doc/en/nconvert.txt + * contrib/hbmisc/doc/en/ht_str.txt -> contrib/hbmisc/doc/en/strfmt.txt + * contrib/hbxpp/doc/en/browse.txt -> contrib/hbxpp/doc/en/dbcmdx.txt + * contrib/hbziparc/doc/en/hbziparc.txt -> contrib/hbziparc/doc/en/ziparc.txt + * contrib/rddads/doc/en/adsfuncs.txt -> contrib/rddads/doc/en/adsfunc.txt + * doc/en/array.txt -> doc/en/arrayshb.txt + * doc/en/eval.txt -> doc/en/evalhb.txt + * doc/en/input.txt -> doc/en/inputall.txt + * doc/en/lang.txt -> doc/en/langall.txt + * doc/en/nation.txt -> doc/en/natmsg.txt + * doc/en/setmode.txt -> doc/en/gx.txt + * doc/en/tgetlist.txt -> doc/en/readvar.txt + * renames to sync doc filenames with source filename + + ; Above patches come from 3.4 fork commits below: + + 2016-11-03 14:01 UTC+0100 Viktor Szakats (vszakats users.noreply.github.com) + 2016-11-03 13:48 UTC+0100 Viktor Szakats (vszakats users.noreply.github.com) + 2016-10-28 12:29 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) * include/hbver.ch + add new HB_VER_* constants from 3.4 diff --git a/contrib/hbgd/doc/en/hbgd.txt b/contrib/hbgd/doc/en/gdwrp.txt similarity index 100% rename from contrib/hbgd/doc/en/hbgd.txt rename to contrib/hbgd/doc/en/gdwrp.txt diff --git a/contrib/hbmisc/doc/en/dates2.txt b/contrib/hbmisc/doc/en/dates.txt similarity index 100% rename from contrib/hbmisc/doc/en/dates2.txt rename to contrib/hbmisc/doc/en/dates.txt diff --git a/contrib/hbmisc/doc/en/ht_class.txt b/contrib/hbmisc/doc/en/fileread.txt similarity index 100% rename from contrib/hbmisc/doc/en/ht_class.txt rename to contrib/hbmisc/doc/en/fileread.txt diff --git a/contrib/hbmisc/doc/en/ht_conv.txt b/contrib/hbmisc/doc/en/nconvert.txt similarity index 100% rename from contrib/hbmisc/doc/en/ht_conv.txt rename to contrib/hbmisc/doc/en/nconvert.txt diff --git a/contrib/hbmisc/doc/en/ht_str.txt b/contrib/hbmisc/doc/en/strfmt.txt similarity index 100% rename from contrib/hbmisc/doc/en/ht_str.txt rename to contrib/hbmisc/doc/en/strfmt.txt diff --git a/contrib/hbxpp/doc/en/browse.txt b/contrib/hbxpp/doc/en/dbcmdx.txt similarity index 100% rename from contrib/hbxpp/doc/en/browse.txt rename to contrib/hbxpp/doc/en/dbcmdx.txt diff --git a/contrib/hbziparc/doc/en/hbziparc.txt b/contrib/hbziparc/doc/en/ziparc.txt similarity index 100% rename from contrib/hbziparc/doc/en/hbziparc.txt rename to contrib/hbziparc/doc/en/ziparc.txt diff --git a/contrib/rddads/doc/en/adsfuncs.txt b/contrib/rddads/doc/en/adsfunc.txt similarity index 100% rename from contrib/rddads/doc/en/adsfuncs.txt rename to contrib/rddads/doc/en/adsfunc.txt diff --git a/doc/en/array.txt b/doc/en/arrayshb.txt similarity index 100% rename from doc/en/array.txt rename to doc/en/arrayshb.txt diff --git a/doc/en/eval.txt b/doc/en/evalhb.txt similarity index 100% rename from doc/en/eval.txt rename to doc/en/evalhb.txt diff --git a/doc/en/setmode.txt b/doc/en/gx.txt similarity index 100% rename from doc/en/setmode.txt rename to doc/en/gx.txt diff --git a/doc/en/hb_set.txt b/doc/en/hb_set.txt deleted file mode 100644 index 5f8f378b3a..0000000000 --- a/doc/en/hb_set.txt +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Copyright 1999 David G. Holm - * Header file for the API - * - * See COPYING.txt for licensing terms. - * - */ - -/* $DOC$ - $TEMPLATE$ - Function - $NAME$ - hb_setListenerAdd() - $CATEGORY$ - C level API - $SUBCATEGORY$ - Environment - $ONELINER$ - - $SYNTAX$ - C Prototype - - #include "hbset.h" - hb_setListenerAdd( PHB_SET_LISTENER_CALLBACK callback ) --> int - $ARGUMENTS$ - - A pointer to a function taking two enum parameters and returning - no value. The first parameter identifies the SET parameter that is - to be changed and the second parameter identifies whether the call - is from before or after the value is changed. The callback function - will be called twice whenever a SET parameter is changed using the - Harbour SET function. The first call takes place before the SET - value is changed and the second one is after the SET parameter has - been changed. - $RETURNS$ - An integer value representing the callback handle, in case the - caller needs to deactivate the callback function. - $DESCRIPTION$ - This function allows a subsystem that needs to track the status - of some SET parameters to be notified whenever a SET parameter gets - changed. - $EXAMPLES$ - void callback_function( HB_set_enum set, HB_set_listener_enum when ) - { - printf("\nCalled for SET parameter %d %s changing.", - set, (when ? "after" : "before")); - } - int handle = hb_setListenerAdd( callback_function ); - $STATUS$ - R - $COMPLIANCE$ - NA - $FILES$ - Library is core - $PLATFORMS$ - All - $SEEALSO$ - hb_setListenerRemove() - $END$ - */ - -/* $DOC$ - $TEMPLATE$ - Function - $NAME$ - hb_setListenerNotify() - $CATEGORY$ - C level API - $SUBCATEGORY$ - Environment - $ONELINER$ - - $SYNTAX$ - C Prototype - - #include "hbset.h" - hb_setListenerNotify( HB_set_enum set, HB_set_listener_enum - when ) --> int - $ARGUMENTS$ - - The number of the SET parameter that is to be or was changed. - - - Set to HB_SET_LISTENER_BEFORE when called before the SET parameter - is to be changed and set to HB_SET_LISTENER_AFTER when called - after the SET parameter has been changed. - $RETURNS$ - - $DESCRIPTION$ - This function notifies all SET listener callback functions. It - must be called any time you change the value of a SET parameter - directly instead of using the Harbour SET function. Both before - and after the change. - $EXAMPLES$ - hb_setListenerNotify( HB_SET_DECIMALS, HB_SET_LISTENER_BEFORE ); - hb_set.HB_SET_DECIMALS = 3; - hb_setListenerNotify( HB_SET_DECIMALS, HB_SET_LISTENER_AFTER ); - $STATUS$ - R - $COMPLIANCE$ - NA - $FILES$ - Library is core - $PLATFORMS$ - All - $SEEALSO$ - hb_setListenerAdd() - $END$ - */ - -/* $DOC$ - $TEMPLATE$ - Function - $NAME$ - hb_setListenerRemove() - $CATEGORY$ - C level API - $SUBCATEGORY$ - Environment - $ONELINER$ - - $SYNTAX$ - C Prototype - - #include "hbset.h" - hb_setListenerRemove( int handle ) --> int - $ARGUMENTS$ - - The handle for the SET listener callback function to be removed. - $RETURNS$ - The handle if the callback function could not be located or the - negative value of the handle if the callback function was removed. - $DESCRIPTION$ - This function removes a SET listener callback function. - $EXAMPLES$ - int handle = hb_setListenerAdd( callback_function ); - ... - hb_setListenerRemove( handle ); - $STATUS$ - R - $COMPLIANCE$ - NA - $FILES$ - Library is core - $PLATFORMS$ - All - $SEEALSO$ - hb_setListenerAdd() - $END$ - */ diff --git a/doc/en/input.txt b/doc/en/inputall.txt similarity index 100% rename from doc/en/input.txt rename to doc/en/inputall.txt diff --git a/doc/en/lang.txt b/doc/en/langall.txt similarity index 100% rename from doc/en/lang.txt rename to doc/en/langall.txt diff --git a/doc/en/nation.txt b/doc/en/natmsg.txt similarity index 100% rename from doc/en/nation.txt rename to doc/en/natmsg.txt diff --git a/doc/en/tgetlist.txt b/doc/en/readvar.txt similarity index 100% rename from doc/en/tgetlist.txt rename to doc/en/readvar.txt diff --git a/doc/en/set.txt b/doc/en/set.txt index 0c3138fdec..892fa9390c 100644 --- a/doc/en/set.txt +++ b/doc/en/set.txt @@ -1434,3 +1434,146 @@ Set() $END$ */ + +/* $DOC$ + $TEMPLATE$ + Function + $NAME$ + hb_setListenerAdd() + $CATEGORY$ + C level API + $SUBCATEGORY$ + Environment + $ONELINER$ + + $SYNTAX$ + C Prototype + + #include "hbset.h" + hb_setListenerAdd( PHB_SET_LISTENER_CALLBACK callback ) --> int + $ARGUMENTS$ + + A pointer to a function taking two enum parameters and returning + no value. The first parameter identifies the SET parameter that is + to be changed and the second parameter identifies whether the call + is from before or after the value is changed. The callback function + will be called twice whenever a SET parameter is changed using the + Harbour SET function. The first call takes place before the SET + value is changed and the second one is after the SET parameter has + been changed. + $RETURNS$ + An integer value representing the callback handle, in case the + caller needs to deactivate the callback function. + $DESCRIPTION$ + This function allows a subsystem that needs to track the status + of some SET parameters to be notified whenever a SET parameter gets + changed. + $EXAMPLES$ + void callback_function( HB_set_enum set, HB_set_listener_enum when ) + { + printf("\nCalled for SET parameter %d %s changing.", + set, (when ? "after" : "before")); + } + int handle = hb_setListenerAdd( callback_function ); + $STATUS$ + R + $COMPLIANCE$ + NA + $FILES$ + Library is core + $PLATFORMS$ + All + $SEEALSO$ + hb_setListenerRemove() + $END$ + */ + +/* $DOC$ + $TEMPLATE$ + Function + $NAME$ + hb_setListenerNotify() + $CATEGORY$ + C level API + $SUBCATEGORY$ + Environment + $ONELINER$ + + $SYNTAX$ + C Prototype + + #include "hbset.h" + hb_setListenerNotify( HB_set_enum set, HB_set_listener_enum + when ) --> int + $ARGUMENTS$ + + The number of the SET parameter that is to be or was changed. + + + Set to HB_SET_LISTENER_BEFORE when called before the SET parameter + is to be changed and set to HB_SET_LISTENER_AFTER when called + after the SET parameter has been changed. + $RETURNS$ + + $DESCRIPTION$ + This function notifies all SET listener callback functions. It + must be called any time you change the value of a SET parameter + directly instead of using the Harbour SET function. Both before + and after the change. + $EXAMPLES$ + hb_setListenerNotify( HB_SET_DECIMALS, HB_SET_LISTENER_BEFORE ); + hb_set.HB_SET_DECIMALS = 3; + hb_setListenerNotify( HB_SET_DECIMALS, HB_SET_LISTENER_AFTER ); + $STATUS$ + R + $COMPLIANCE$ + NA + $FILES$ + Library is core + $PLATFORMS$ + All + $SEEALSO$ + hb_setListenerAdd() + $END$ + */ + +/* $DOC$ + $TEMPLATE$ + Function + $NAME$ + hb_setListenerRemove() + $CATEGORY$ + C level API + $SUBCATEGORY$ + Environment + $ONELINER$ + + $SYNTAX$ + C Prototype + + #include "hbset.h" + hb_setListenerRemove( int handle ) --> int + $ARGUMENTS$ + + The handle for the SET listener callback function to be removed. + $RETURNS$ + The handle if the callback function could not be located or the + negative value of the handle if the callback function was removed. + $DESCRIPTION$ + This function removes a SET listener callback function. + $EXAMPLES$ + int handle = hb_setListenerAdd( callback_function ); + ... + hb_setListenerRemove( handle ); + $STATUS$ + R + $COMPLIANCE$ + NA + $FILES$ + Library is core + $PLATFORMS$ + All + $SEEALSO$ + hb_setListenerAdd() + $END$ + */