Commit Graph

84 Commits

Author SHA1 Message Date
Walter Negro
bdf054fdb4 2002-10-14 17:10 UTC-0300 Walter Negro <anegro@overnet.com.ar>
* source/rtl/tget.prg
    ! fixed get (value and display) involving negative with decimal
      number whose value is less than 1, in some pictures.
2002-10-14 20:17:00 +00:00
Luiz Rafael Culik
162d6ad324 See changelog 2002-10-05 23:00 UTC-0300 2002-10-06 02:07:53 +00:00
Andi Jahja
08b8e26b76 Andi Jahja <andijahja@harbour-id.net> 2002-09-29 05:18:29 +00:00
Luiz Rafael Culik
680df7c56c See changelog 2002-09-07 00:30 UTC-0300 2002-09-07 03:32:23 +00:00
Luiz Rafael Culik
b34c220cd5 See changelog 2002-07-31 11:20 UTC-0300 2002-08-31 14:29:27 +00:00
Walter Negro
96fb006796 * source/rtl/tget.prg
! Fix initialization ::lEdit in New method.

    Bug and solution reported by Jose F. Gimenez
2002-07-17 12:04:04 +00:00
Walter Negro
294547aa42 * source/rtl/tget.prg
! Fix and more compliant in Untransform(), PutMask() and KillFocus()
      methods.
2002-07-14 16:46:45 +00:00
Walter Negro
bb6992bbbe * source/rtl/tget.prg
! Fix minor bug in PutMask() method.

      Reported by Luiz Rafael Culik from brazilian user
2002-07-08 04:41:12 +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
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
Walter Negro
1ae34daf65 * source/rtl/tget.prg
+ Add support for SET DELIMITERS
2002-06-14 16:44:59 +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
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
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
74005606c4 * source/rtl/tget.prg
Fix, it was always written in the position 1 the first number
    of a numeric field although the cursor was moved to write in
    another position.
2002-05-22 21:22:14 +00:00
Walter Negro
9e0e7cf909 * source/rtl/tget.prg
! Fix minor bug in PutMask( )
2002-04-30 04:06:28 +00:00
Walter Negro
0c82e16f4a * source/rtl/tget.prg
! Fix bug in DeleteAll method. Change DTOC() for CTOD().

     * Bug fixed, reported by Lorenzo Fiorini.
2002-04-17 14:54:45 +00:00
Walter Negro
571c7b904a * source/rtl/tget.prg
! Fix minor bug with initial spaces in PICTURE
2002-03-25 21:43:24 +00:00
Walter Negro
acd9311599 * source/rtl/tget.prg
! Fix bug in picture "999,999.99" and "999.999,99".
     ! Fix bug in picture with initial spaces.
2002-03-25 15:31:30 +00:00
Walter Negro
3a493f9383 * source/rtl/tget.prg
* Fix ::unTransform() for numeric Get with complex Picture.
2002-03-22 14:57:38 +00:00
Walter Negro
6a69db12af * source/rtl/tget.prg
* Fix bug with PICTURE "@S"
    * Fix some bugs.
    * Formatting indentation.
2002-03-20 14:27:21 +00:00
Luiz Rafael Culik
297744b44e See changelog 2002-03-18 12:16 UTC-0300
* source/rtl/listbox.org
    source/rtl/radiobtn.prg
    source/rtl/radiogpr.prg
    source/rtl/checkbox.prg
    source/rtl/tget.prg
    source/rtl/pushbtn.prg
    source/rtl/tbrowse.prg
    source/rtl/getsys.prg
    source/rtl/tgetsys.prg
    * Added the missing Clip53 Methods and Functions
    % minor fix to Clip53 classes
2002-03-18 15:23:59 +00:00
Walter Negro
6863bc0d4c * METHOD _Delete()
* modification to be more Clip*r compliant and behaviour.
      * changes in the logic of the function.
        before, the function only erased the character under the cursor.
        now it drags the other characters.
        dragging is limited by the non editable characters.
    * METHOD Insert()
     * modification to be more Clip*r compliant and behaviour.
      * changes in the logic of the function.
        now insert a character and displaces to the right the rest of
        the characters until the first non editable character.
2002-03-02 22:41:07 +00:00
Walter Negro
1c3e9b14ca 2002-02-21 06:00 UTC-0300 Walter Negro <anegro@overnet.com.ar>
METHOD ::ParsePict() - The change is because if ::Original it is not
          numeric, it would generate an error.

METHOD ::Undo() - Delete assignment to ::buffer because
          ::VarPut( ::Original, .t. ) makes this assignment.

METHOD ::VarPut() - Delete ::nDispLen := NIL line, because
          ::Picture() makes this assignment.
                      - Revert changes of Ignacio Ortiz because the
          problem was with ::nDispLen and not with empty cPicture.

METHOD ::Block() - Delete ::nDispLen := NIL line, because
          ::Picture() makes this assignment.

METHOD ::Picture() - Add ::nDispLen := NIL line, reset the variable.
          Only ::ParsePict() can load a value that can differ of
          nMaxLen.

METHOD ::KillFocus() - Change position of lines, hasfocus should be
          before the call to Putmask.
          This makes that in numeric fields, points or comas are not
          shown before the numbers.
2002-02-21 06:01:09 +00:00
Ignacio Ortiz de Zuniga
ba600ee2d7 2002-02-19 17:45 UTC+0100 Ignacio Ortiz <ignacio@fivetech.com> 2002-02-19 16:46:09 +00:00
Ignacio Ortiz de Zuniga
6bbcf0da2a 2002-02-19 10:40 UTC+0100 Ignacio Ortiz <ignacio@fivetech.com> 2002-02-19 09:42:01 +00:00
Ignacio Ortiz de Zuniga
cb0e182947 2002-02-11 12:15 UTC+0100 Ignacio Ortiz <ignacio@fivetech.com> 2002-02-11 11:15:18 +00:00
Ignacio Ortiz de Zuniga
cb61c1420a 2002-02-04 16:45 UTC+0100 Ignacio Ortiz <ignacio@fivetech.com> 2002-02-04 15:46:14 +00:00
Ignacio Ortiz de Zuniga
eb0be876d2 2002-02-04 13:50 UTC+0100 Ignacio Ortiz <ignacio@fivetech.com> 2002-02-04 13:00:57 +00:00
Ignacio Ortiz de Zuniga
244ff053a1 2002-01-28 12:36 UTC+0100 Ignacio Ortiz <ignacio@fivetech.com> 2002-01-28 11:36:55 +00:00
Ignacio Ortiz de Zuniga
6a446f2277 Picture "@Z 9999" fixed 2002-01-09 10:02:59 +00:00
Viktor Szakats
38c54411c4 2001-12-17 17:02 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu> 2001-12-17 16:01:45 +00:00
Viktor Szakats
869067ee70 2001-09-10 23:53 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu> 2001-09-10 22:04:29 +00:00
Ignacio Ortiz de Zuniga
47d02bac11 2001-08-30 19:00 GMT+1 Ignacio Ortiz <ignacio@fivetech.com> 2001-08-30 17:03:43 +00:00
Ignacio Ortiz de Zuniga
646f1951b1 *** empty log message *** 2001-08-30 11:15:07 +00:00
Luiz Rafael Culik
1867ce0fa5 See changelog 2001-07-20 20:00 GMT -3 2001-07-20 22:45:46 +00:00
Viktor Szakats
a3d23ec650 2001-07-02 23:42 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu> 2001-07-02 21:45:19 +00:00
David G. Holm
861202c3ec See ChangeLog entry 2001-06-07 11:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2001-06-07 15:25:54 +00:00
David G. Holm
f468640ed6 See ChangeLog entry 2001-05-21 14:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2001-05-21 18:32:17 +00:00
Ron Pinkas
c0a23acbcf 2001-04-16 14:40 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.c
     + Added all GET Methods definitions (still need Exported Vars ) - Thanks to Luiz.
     + Added TBCOLUMN definitions - Thanks to Luiz.

   * source/rtl/tget.prg
     ! Correted :ToDecPos to return SELF as in Clipper (after verifying there was NO Low-Level Code conflict).
2001-04-16 21:34:14 +00:00
Brian Hays
470825af55 2001-02-16 23:40 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2001-02-17 07:26:49 +00:00
Ignacio Ortiz de Zuniga
238c57c500 + minus sing support fixed. 2001-02-13 10:28:38 +00:00
Antonio Linares
b81936bd25 some minor fixes to let the debugger inspect a GetNew() object 2001-02-08 10:23:51 +00:00
Ron Pinkas
b48cfdc92e 2000-12-04 19:40 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/rtl/tget.prg
     ! Corrected 2 bugs when New Method called without any parameters.
2000-12-05 03:44:14 +00:00
Ryszard Glab
92e1ff661f ChangeLog 2000-11-04 13:35 UTC+0100 2000-11-04 12:39:40 +00:00
Ron Pinkas
3a7b8b8893 2000-11-02 20:35 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.sly
     + Added rule to accept Get and GetA as FunCall

   * source/compiler/harbour.y
     + Added support for pseudo function _GET_()
   * source/compiler/harbour.l
     + Added _GET_(...) => __GET(...)/__GETA(...) logic from harbour.sly

   * source/macro/macro.slx
     * Corrected YY_DECL #define (Thanks John)

   * source/rtl/tget.prg
   * include/hbextern.ch
     - Removed no longer needed _GET_()
2000-11-03 23:42:27 +00:00
Ron Pinkas
8608b9ce33 2000-11-02 15:45 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/rtl/tget.prg
   * include/hbextern.ch
     + Re-added _GET_() until support of __GET() and __GETA() added to harbour.y
2000-11-02 23:49:19 +00:00
Ron Pinkas
c3cde2a777 2000-11-02 15:20 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.sly
     + Added support for extended parameters to __GET() and __GETA()
     ! Corrected 2nd parameter of __GETA() to reflect only the Base Array Name.

   * source/rtl/tget.prg
     ! Added support for :SubScript in __GETA()

   * include/hbextern.ch
     - Removed _GET_
     + Added __GETA
2000-11-02 23:18:49 +00:00
Ron Pinkas
ee24175dc0 2000-11-01 17:25 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.sly
     ! Optimized _GET_ support.
     + Added support for GET of ObjectData and ObjectData ArrayIndex.

   * source/rtl/tget.prg
     + Added method ParsePict() and logic to support dynamic modification of the picture by altering :Picture as in Clipper.

   * tests/testread.prg
     + Added line to demonstrate GET of ObjectData and dynamic modification of a PICTURE clause.
2000-11-02 01:28:51 +00:00