Commit Graph

106 Commits

Author SHA1 Message Date
Viktor Szakats
2e2b735224 2005-09-20 10:16 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* source/rtl/tget.prg
     ! One previous fix reverted because it broke numeric data entry.
       Solved from caller side for the meantime. TOFIX added.
2005-09-20 08:16:39 +00:00
Viktor Szakats
282c6ee70f 2005-06-09 18:09 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* source/rtl/tget.prg
     ! :displat fixed (again) to always call VarGet block
       to be CA-Cl*pper compatible.

   * config/w32/global.cf
     ! Fixed to properly create the obj directories when compiling
       using GCC under XP. This broke in the near past.

   * source/pp/ppcore.c
     ! Fixed two compiler warnings.
     ; Please review one of them if you made the change, since
       I'm not sure what the intention was, here's the code snippet:

       ...
       lenreal = IsMacroVar( *ptri, com_or_tra ); /* THIS LINE IS NOW COMMENTED OUT */
       *ptri +=1;
       lenreal = getExpReal( expreal+2, ptri, FALSE, maxlenreal, FALSE );
       ...

   * source/codepage/cdphu852.c
     ! HU sorting order fixed to be more compatible with CA-Cl*pper.
       (Still missing some non-852 chars though)

   * source/common/hbver.c
     ! Fixed forming NT version number (5.01.2600 -> 5.1.2600)

   * source/compiler/hbusage.c
     + Copyright year updated.

   * harbour/source/rtl/idle.c
     * Cleaned up a platform dependent code part.
2005-06-09 16:04:09 +00:00
Ryszard Glab
dd39f3c21e 2004-08-03 11:10 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* source/rtl/tget.prg
      * GetNew() no longer evaluates passed set/get codeblock
2004-08-03 09:02:09 +00:00
David Arturo Macias Corona
67467989f0 2004-07-17 04:14 UTC-0500 David Arturo Macias Corona <dmacias@mail.udg.mx>
* source/rtl/tget.prg
    + Added DATA CapRow and DATA CapCol values
2004-07-17 09:34:07 +00:00
Ryszard Glab
4ff4ff3d11 2004-05-14 16:05 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* include/hbexpra.c
   * source/compiler/expropta.c
   * source/compiler/harbour.c
   * source/macro/macroa.c
   * source/rtl/tget.prg
   * source/rtl/tgetint.prg
      * fixed to be more Clipper compatible

   * source/rtl/persist.prg
      * fixed to not use xBase extensions
2004-05-14 13:58:47 +00:00
Ryszard Glab
f130138204 2004-05-13 11:00 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* source/rtl/transform.c
      * TRANSFORM(1.23,"999.") correctly returns "  1." now
      instead of empty string

   * source/rtl/tget.prg
      * fixed to correctly display buffer when negative value
      and '0' was pressed in the position next to decimal
      point
      e.g. -1230. was displayed as -123-.
      * fixed support for '9999.' picture
2004-05-13 08:50:28 +00:00
Ryszard Glab
b8d0f3a098 2004-05-11 15:10 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* CVSROOT/avail
      * restored write access to the entire repository for
      all developers

   * doc/codestyl.txt
      * small corrections (use 3 spaces instead of Tab)

   * include/hbcomp.h
   * source/compiler/cmdcheck.c
   * source/compiler/harbour.c
   * source/compiler/hbusage.c
      + added posibility to specify the output PPO file with -p
      e.g.
      -pppo/myfile.ppo
      (thanks to Larry Sevilla)

   * source/rtl/tget.prg
      * fixed positioning of cursor when the first pressed key
      was a digit during editing of numeric value

   * source/compiler/hbfix.c
   * source/rdd/dbcmd.c
   * source/rdd/dbf1.c
   * source/rdd/dbfcdx/dbfcdx1.c
   * source/rdd/dbffpt/dbffpt1.c
   * source/rdd/dbfntx/dbfntx1.c
   * source/rtl/dates.c
   * source/rtl/filesys.c
   * source/rtl/inkey.c
   * source/rtl/isprint.c
   * source/rtl/math.c
   * source/rtl/philes.c
   * source/vm/classes.c
   * source/vm/hvm.c
      * removed '//' comments
2004-05-11 13:28:15 +00:00
Viktor Szakats
bb1effbe18 2004-02-15 04:20 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* source/rtl/tget.prg
     ! :display() fixed to always evaluate the get block before
       displaying like in C52.

   * include/hbapifs.h
     + HB_FFIND structure extended for future changes.
2004-02-15 03:16:47 +00:00
Viktor Szakats
1722254d81 2004-02-13 21:56 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* souce/rtl/gtapi.c
     ! hb_gtSetColorStr() removed one suspicious assigment which
       showed incompatible with CA-Cl*pper, whete CLR_UNSELECTED
       was made equal to CLR_ENHANCED if missing from the color string.
     * Using CLR_ constants instead of literals.

   * source/rtl/tget.prg
     ! :ColorSpec() method unselected color defaulting fixed.

   * source/compiler/hbusage.c
     * Bumped year to 2004.
2004-02-13 21:25:43 +00:00
Luis Krause
41de14b021 2004-01-26 8:30 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> 2004-01-26 16:39:39 +00:00
Luis Krause
a360e087d0 *** empty log message *** 2003-09-17 18:02:49 +00:00
Antonio Linares
15e5225119 fix on Method Picture() provided by Lorenzo Fiorini 2003-06-09 09:26:37 +00:00
Antonio Linares
d518f96901 fixed behavior when pressing "." or "," on a non decimals number 2003-05-31 15:56:02 +00:00
Antonio Linares
4cf5ef4edf Some fixes for PICTURE "9" 2003-05-31 13:45:49 +00:00
Antonio Linares
5637128445 minor fix 2003-05-15 10:41:23 +00:00
Antonio Linares
9f4200509f Some changes borrowed from xHarbour 2003-05-15 07:33:16 +00:00
Antonio Linares
cfac79dbbd numbers editing bug (side effect from previous change) fixed 2003-04-28 21:01:12 +00:00
Antonio Linares
aaf066188c PICTURE "#" allows "." keystroke 2003-04-23 21:11:50 +00:00
Antonio Linares
b9b06f6ec5 Class TGet Data Pos behavior modified to make it Clipper compatible 2003-04-19 10:00:24 +00:00
Walter Negro
3c76b95b42 2002-12-17 12:40 UTC-0300 Walter Negro <anegro@overnet.com.ar>
* source/tget.prg
    ! Fix, UpdateBuffer() should not actualize the variable if the value
      was not modified.
2002-12-17 15:48:35 +00:00
Walter Negro
48d1623b1e 2002-10-31 16:40 UTC-0300 Walter Negro <anegro@overnet.com.ar>
* source/rtl/tget.prg
    ! Fix ::DeleteEnd() method.
      It didn't erase the last character.
      Reported by Luiz Rafael Culik.
2002-10-31 19:42:02 +00:00
Walter Negro
0ab6da878f * source/rtl/tget.prg
! Fix ::Changed property to conform UPDATE() behaviour with that Clipper.

  Fixed by Andi Jahja in xHarbour
2002-10-22 02:26:19 +00:00
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