Commit Graph

3441 Commits

Author SHA1 Message Date
Walter Negro
fecaebbc9b * source/rtl/transfrm.c
* More compliant, resolve several hbtest errors.
2002-07-03 21:24:53 +00:00
Walter Negro
f1fc575296 * source/rtl/dates.c
* More compliant for certain strange formats. eg: DD/MMM/YYYY
2002-07-03 21:23:28 +00:00
Walter Negro
0f8d489ef7 * source/rtl/transfrm.c
+ Add @0 function.

    ! Fix minor bug introduce with previous changelog.
      See hbtest: 2044, 2052, 2054.
      eg: Transform( -12, "@( 99" ) Bug: "(2)"  Now: "(*)"

    ! More compliant with Clipper.
      See hbtest: 1898, 1902, 1906, 1971, 2006, 2064, 2070.
      eg: Transform( 100.2, "@" )
              Before: "     100.2"
                 Now: "       100.2"
      eg: Transform(.T. ,"@R X!" )
              Before: "XT"
                 Now: "X!T"
      eg: Transform(1.0 ,"@B" )
              Before: "1.0       "
                 Now: "1.0         "
      eg: Transform("Hello","@S-1")
              Before: ""
                 Now: "Hello"
2002-07-01 22:50:01 +00:00
Walter Negro
6a9ddd0971 * source/rtl/tget.prg
+ Add two protected methods. FirstEditable() and LastEditable().
      Several change for use this methods.

    ! Fix in ParsePict method
      * @D function, overwrite the mask for SET DATE FORMAT
      * @S without lenght parameter or @S0, they don't have effect.

    ! Fix in Untransform method
      * if ::lEdit is false, return ::VarGet() without evaluate
        the buffer contained.
      * Better detection of a negative, minimizing false detections.
      * Improvement in the handling of mask.
      * More compliant in @D, @E, @X, @C, @(, @) functions.
      * In compliant with Clipper, the lenght of number (internal lenght)
        corresponds to the applied picture.
      ! Bug in conversion with date types and with @E function.

    ! Fix in Overstrike and Insert method
      * First it is evaluated if the input character is valid, before
        cleaning the var.

    ! Fix in Input method
      * The minus sign can be writed in any place.
      * Now work with '$' and '*' templates in numeric gets.

    ! Fix in PutMask method
      * More compliant in the handling of some get functions.
      * When edit a get with @B, the number is editing right-justified.

    ! Fix in Backspace method
      * Permit delete a '(' symbol in a non-editable position, when
        this symbol represent a negative number.

    ! Fix in Delete method
      ! When delete a negative symbol '(' or '-', turn the ::minus tu false

    ! Fix in IsBadDate function
      ! Evaluate crrectly a date with @E function.
2002-07-01 05:00:20 +00:00
Walter Negro
d37e409618 * source/rtl/tgetlist.prg
* Detection of modification with direct access to the var get in
      preval, postval and setkey functions.

      Point of control: GetPreValidate(), GetPostValidate(),
                        GUIGetPreValidate(), GUIGetPostValidate(),
                        GetDoSetKey().
2002-07-01 04:34:20 +00:00
Walter Negro
86564e8a2f * source/rtl/transfrm.c
+ Add @) template.

    ! Fix @D with numeric expressions.

    ! Fix bug with @D in string expressions.
      eg: Transform( "1", "@D" )
      This example generate an GPF or strange memory errors.

    ! Better support for mask with initial comma, period or space.

    ! Better support for later mask.

    ! Replace comma, period or the correspondient space with an '*'
      when previous character is '*' too.
      eg: Transform( 99999, "9.999" ) -> Before: "* ***" Now: "*****"
          Transform(    99, "*.***" ) -> Before: "* *99" Now: "***99"
2002-07-01 04:31:04 +00:00
Alexander S.Kresin
d37b82f57a 2002-06-28 10:43 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> 2002-06-28 06:33:29 +00:00
David G. Holm
d1717ce5d1 See ChangeLog entry 2002-06-27 15:25 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2002-06-27 19:25:32 +00:00
Alexander S.Kresin
7656deb731 2002-06-27 22:30 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> 2002-06-27 18:25:19 +00:00
David G. Holm
6d09d81ca2 See ChangeLog entry 2002-06-26 19:20 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2002-06-26 23:19:39 +00:00
Ignacio Ortiz de Zuniga
3e78954408 2002-06-22 18:41 UTC+0100 Ignacio Ortiz <ignacio@ozs.com> 2002-06-26 16:39:32 +00:00
Ignacio Ortiz de Zuniga
8ff8431f74 2002-06-24 12:35 UTC+0100 Ignacio Ortiz <ignacio@ozs.com> 2002-06-24 10:36:17 +00:00
Alexander S.Kresin
1bc2fc0ce2 2002-06-22 20:25 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> 2002-06-22 16:20:33 +00:00
Walter Negro
2cc00f1f69 * source\rtl\tgetlist.prg
+ Add #include tbrowse.ch for TBrowse defines
2002-06-21 20:13:58 +00:00
Walter Negro
7668ffeece * source\rtl\tbcolumn.prg
+ Initial support for SetStyle method, compatible with
      Clipper 5.3.
      See tbrowse.ch for support values.
2002-06-21 19:47:58 +00:00
Walter Negro
e9615e3891 * source/rtl/tbrowse.prg
+ Initial support for SetStyle method, compatible with
      Clipper 5.3.
      See tbrowse.ch for support values.
2002-06-21 19:42:15 +00:00
Walter Negro
e1c51ed9aa * source/rtl/teditor.prg
! Fix call to SET() without setting values.
      METHOD InsertState()
2002-06-21 18:47:12 +00:00
Walter Negro
a68152920f * source/rtl/tgetlist.prg
! Fix call to SET() without setting values.
      METHOD ReadExit()
2002-06-21 14:53:28 +00:00
Walter Negro
2cdf886666 * source\rtl\getsys.prg
! Fix call to SET() without setting values.
      ReadExit() and ReadInsert()
2002-06-21 14:51:20 +00:00
Ignacio Ortiz de Zuniga
6077e98328 20020620-14:28 GMT+1 Ignacio Ortiz <ignacio@fivetech.com> 2002-06-20 12:27:51 +00:00
Walter Negro
7295e200f5 * source/vm/hvm.c
! Fixed support for FOR_NEXT with STEP 0
2002-06-15 16:00:00 +00:00
Walter Negro
854d5f63bd * source/rtl/getsys.prg
! Fix RETURN in Accelerator() and HitTest() functions.
2002-06-14 17:52:39 +00:00
Walter Negro
5dd77773d8 * source/rtl/tgetlist.prg
! Change __GetListActive() for __GetListLast() for support to
      Update() and ReadUpdate().
2002-06-14 16:46:10 +00:00
Walter Negro
1ae34daf65 * source/rtl/tget.prg
+ Add support for SET DELIMITERS
2002-06-14 16:44:59 +00:00
Walter Negro
de1a479a0d * source/rtl/getsys.prg
! Fixed compatibility functions Update() and ReadUpdate().
      Now use __GetListLast() instead of __GetListActive().
      __GetListActive() reference to the active oGetList, beginning and
      concluding with the ReadModal.
      __GetListLast() reference to the last oGetList form the beginning
      of the ReadModal until another ReadModal begins.
    ! Fix bug in Accelerator(), Clipper 5.3 compatibility function.
    * Some cleanup.
2002-06-14 16:40:37 +00:00
Walter Negro
f028d5bd1e * source/rtl/getlist.prg
+ Add __GetListLast() for support to the compatibility functions
      Update() and ReadUpdate()
2002-06-14 16:36:51 +00:00
Alexander S.Kresin
be9855b1c8 2002-06-14 20:25 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> 2002-06-14 16:24:18 +00:00
Alexander S.Kresin
5c961babb7 2002-06-14 14:18 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> 2002-06-14 10:12:04 +00:00
Horacio Dario Roldan Kasimatis
2ea48035de 2002-06-08 16:15 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar>
* include/hbrddcdx.h
   * source/rdd/dbfcdx/dbfcdx2.h
   * source/rdd/dbfcdx/dbfcdx1.c
     + added hb_cdxOrderDestroy, hb_cdxIndexDelTag functions,
       ordDestroy() is working now for dbfcdx rdd.
2002-06-08 19:16:11 +00:00
Walter Negro
5e28f83bca * source/rtl/getsys.prg
! Modification of work for save oGetList active.
      Save oGetList for recursives calls to ReadModal().
      Necessary to support post-evaluation functions
      to the exit of the ReadModal().
      eg: UPDATE()
2002-06-07 14:49:42 +00:00
Walter Negro
17375c8043 * source/rtl/tgetlist.prg
! Modification of work for save oGetList active.
      Save oGetList for recursives calls to ReadModal().
      Necessary to support post-evaluation functions
      to the exit of the ReadModal().
      eg: UPDATE()
2002-06-07 14:48:09 +00:00
Alexander S.Kresin
f20407b08c 2002-06-07 13:53 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> 2002-06-07 09:49:28 +00:00
David G. Holm
6d86c71bae See ChangeLog entry 2002-06-06 14:40 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2002-06-06 18:39:33 +00:00
Walter Negro
881f24ca83 * source/rtl/gtwin/gtwin.c
! Fix, now Shift-Esc return the correct value.
2002-06-06 14:09:14 +00:00
Ron Pinkas
e7f150194c 2002-06-05 20:52 UTC-0800 Ron Pinkas <ron@ronpinkas.com>
* make_b32.bat
    - Commented SET BISON_SIMPLE line as it causes incompatibility with current version of Bison.

  * source/compiler/harbour.sly
  * source/macro/macro.y
    + Added missing ; as per Bison 1.35 warnings.
2002-06-06 03:54:13 +00:00
David G. Holm
3001d59de3 See ChangeLog entry 2002-06-05 18:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2002-06-05 22:00:24 +00:00
Walter Negro
671c94ba12 * source/rtl/tget.prg
! Fix, operation of picture "@Z"
      Reported by Priptal Bedi.
2002-06-05 15:04:23 +00:00
Horacio Dario Roldan Kasimatis
ed2166f700 2002-06-05 10:13 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar>
* source/compiler/gencobj.c
     ! fixed uninitialized pointer.
2002-06-05 13:14:36 +00:00
Horacio Dario Roldan Kasimatis
334ec4a219 2002-06-02 09:30 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar>
* source/rdd/dbfcdx/dbfcdx1.c
     ! fix in locking logic.
     ! fixed bug updating conditionals indexes, reported by Walter Negro
     ! fixed bug in dbgoto, reported by Pritpal Bedi
2002-06-02 12:42:13 +00:00
Antonio Linares
046dad8da2 Fixed AltD() behavior 2002-06-02 09:58:08 +00:00
Walter Negro
fca862ab0c * source/rtl/tbrowse.prg
+ Add two instance variables, nRow and nCol. Existing in Clipper 5.3.
      Only was modified the Hilite and SetPos method, for save in
      this variables, the position of cursor.
2002-05-30 03:43:05 +00:00
Walter Negro
6159d7623d * source/rtl/tget.prg
! Fix picture function in lower case. (eg: @s )
    Reported by Luiz Rafael Culik Guimaraes
2002-05-25 23:55:59 +00:00
David G. Holm
d39666bc6d See ChangeLog entry 2002-05-24 20:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2002-05-25 00:36:53 +00:00
Walter Negro
5ae19d34f7 * source/rtl/achoice.prg
* More compliant with Cli**er.
    ! Fix minor bug when press CTRL_END and the quantity of items
      is smaller to the long of the window.
    Reported by Carlos Vargas.
2002-05-24 19:06:35 +00:00
Walter Negro
5463d86367 * source/rtl/tgetlist.prg
! Corrected minor bug in using Len() on oGet:Buffer,
      where it might be NIL.
    By Ron Pinkas in xHarbour.
2002-05-24 18:58:14 +00:00
Walter Negro
556b34c7e3 * source/rtl/tget.prg
! Fix @R pictures with "-" or "(" characters

    Reported by somebody in Sourceforge
2002-05-24 16:15:38 +00:00
Walter Negro
949a43c853 * source/rtl/achoice.prg
* More compliant with Cli**er.
    *  Support for use acItems directly without internal copy.
          This permit modify acItems and reflect this changes.

    *  Support for use xSelect directly, if its an array,
       without internal copy.
          This permit modify xSelect and reflect this changes.

    *  No call to xUserFunc again when xUserFunc its call with
       nMode = AC_EXCEPT, and xUserFunc return AC_CONT

    *  Always redraw the page when return from xUserFunc.

    *  Support for return AC_REDRAW.
2002-05-24 04:46:42 +00:00
Walter Negro
4641fe9730 * source/rtl/console.c
! Fix print in the same line when the new position is previus
      to the current one.
2002-05-24 04:40:14 +00:00
Ron Pinkas
352d1ea388 2002-05-23 12:46 UTC-0800 Ron Pinkas <ron@ronpinkas.com>
* source/compiler/harbour.slx
    ! Fixed SELF[...] // Self as Array in IF_BELONG_LEFT() ( borrowed from from xHarbour )

  * source/compiler/harbour.sly
    ! Corrected typo in GetVar - included item belonging to GetVarArray ( borrowed from from xHarbour )
    ! Fixed logic of GetA ( borrowed from from xHarbour )
2002-05-23 19:48:48 +00:00
Horacio Dario Roldan Kasimatis
e5d470b3d5 2002-05-23 14:53 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar>
* source/vm/estack.c
    ! All stack hb_stackxxx API functions are now included, no matter
      the build options (HB_STACK_MACROS)
2002-05-23 17:53:27 +00:00