Commit Graph

6 Commits

Author SHA1 Message Date
Xavi
150f18ee67 2010-03-30 05:17 UTC+0200 Xavi (jarabal/at/gmail.com)
* harbour/src/rtl/teditor.prg
    ! Fixed typo in K_CTRL_PGDN.

  * harbour/src/rtl/memoedit.prg
    % Adjust nLineLength, SCOREBOAR to present as Clipper.

      PROCEDURE MAIN
         CLEAR SCREEN
         @ 1,0 TO 5,11
         SET SCOREBOARD ON
         MemoEdit( "12345678901", 2, 1, 4, 10, .T. )
      RETURN
2010-03-30 03:18:17 +00:00
Viktor Szakats
2da1437ec6 2010-02-20 04:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbsetup.ch
  * src/common/hbverdsp.c
    - Deleted HB_COMPAT_XPP option. It's no longer used in Harbour.
      From this point all Xbase++ compatibility functions and core
      classes are implemented in 'xpp' contrib library (name
      tentative). Add it to your lib list, if you need Xbase++
      compatible functions. IOW HB_COMPAT_XPP build time option
      got converted to a app link time option.

  * src/rtl/isprint.c
    - Deleted dirty Xbase++ extension of ISPRINTER(). Now it's
      purely Clipper compatible in default build.
      INCOMPATIBLE. For Xbase++ version, use XPP_ISPRINTER()
      (or HB_ISPRINTER() which is the exact same).

  * src/rtl/tobject.prg
  * src/rtl/transfrm.c
  * src/rtl/memoedit.prg
  * include/memoedit.ch
    * Replaced "#ifdef HB_COMPAT_XPP" with "#ifndef HB_CLP_STRICT".
      Which means we've endorsed these extensions in Harbour,
      and they are always enabled except in strict compatibility
      builds.

  * src/rdd/nulsys/nulsys.c
    - Deleted HB_COMPAT_XPP guarded function.

  * contrib/xhb/xhbver.prg
    * Always return .T. for _HB_COMPAT_XPP in version info.

  * include/box.ch
  * contrib/xpp/xpp.ch
    + Added Xbase++ compatibility box.ch constants from core box.ch.
      INCOMPATIBLE if you use B_THIN or B_FAT box style.

  * utils/hbtest/hbtest.prg
  * examples/hbdoc2/tmplates.prg
  * examples/hbdoc2/hbdoc2.prg
    - Deleted parts dealing with HB_COMPAT_XPP option.
2010-02-20 03:51:10 +00:00
Viktor Szakats
8269d61d2c 2010-01-21 16:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/memoedit.prg
    ! Fixed to not return edited memoedit buffer if :Saved
      flag is false. This patch is meant to fix sf.net bug #2936334.
      Again such a huge bug I wonder no one noticed it so far.
      MEMOEDIT() is the remaining last dark corners of Harbour RTL
      (maybe with AChoice()) which is not fully C5.x compatible,
      and it's a heap of patches and hacks to give answer to
      reported problems.
      Eventually some concerned MEMOEDIT() user will have to rework
      it like we did with GET/TBROWSE to give a proper fix to all
      reported issues.
      (F.e. in TEditor() there is a bug where chars are stuffed to
      the wrong position if initially we position cursor after EOL.
      Try by deleting text.txt in attached example.)
      Please test, review, fixme, look also for regressions.
    + Added initial support for ME_PAST Xbase++ event. Please test,
      I didn't make any testing against Xbase++.

  * contrib/hbwin/wapi_wingdi.c
    + WAPI_SELECTOBJECT() got support for HBRUSH.

  * contrib/hbwin/win_prn1.c
    + Added two TOFIX comments to serious security holes and potential
      GPFs to bitmap handling functions. Enough to load a malformed or
      corrupted .bmp file to exploit it.
      Any takers for fixing them?

  * contrib/hbide/idemisc.prg
    * Two STATIC variables prefixed with 's_'
2010-01-21 16:03:31 +00:00
Viktor Szakats
aab5406bdb 2010-01-14 01:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/memoedit.prg
    ! Fixed to set K_ESC as lastkey() if exiting with changed 
      buffer and answering 'yes' to confirmation question.
      Thanks Przemek for reporting it.
    ! Fixed to not save buffer if exiting with <Esc> and 
      SET SCOREBOARD OFF.

  * src/rtl/tget.prg
    % Minor optimization when displaying delim chars.

  * contrib/hbwin/win_prn3.c
    ! Fixed function name in file header comment.
2010-01-14 00:38:13 +00:00
Viktor Szakats
6e4895e9de 2010-01-13 15:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbsetup.ch
    * Disabled HB_LEGACY_LEVEL2 by default.
    * HB_LEGACY_OFF now controls HB_LEGACY_LEVEL3 (was HB_LEGACY_LEVEL2).
    + Added HB_LEGACY_LEVEL4
    ; SVN users notice: This may make your C code INCOMPATIBLE with
      this version, please review required changes (documented in older
      ChangeLog entries) and update your code. Look for HB_LEGACY_LEVEL2
      and INCOMPATIBLE keywords.

  * contrib/hbnetio/utils/netiosrv.prg
  + contrib/hbnetio/utils/modules.hbp
  + contrib/hbnetio/utils/modules
  + contrib/hbnetio/utils/modules/test.prg
    + Added simple command line to server.
    + Added list of possible feature as TODO. Most of these will
      need backend support from hbnetio lib.
    + Added detailed help screen.
    + Added --version option support.
    + Added support for -rpc=file.hrb option. Although for some
      reason (most likely my omission) it doesn't work yet.
    + -DHB_EXTERN will now enable inclusion of all core functions.
    + Added build file for .hrb modules.
    + Added little test module.
    + Added SETCANCEL( .F. ) to avoid irregular shutdown with Ctrl+C.

  * src/rtl/memoedit.prg
    ! Deleted hack which explicitly set lastkey to CTRL_END/W
      when exiting with changes saved. The comment said that
      it was added to make DBU happy, but it doesn't seem to be
      necessary anymore, at least I couldn't spot any problem
      without it. Pls check it.
    ! Fixed MEMOEDIT() not recognizing K_ESC as exit key when
      custom function is used.
      This fixes DBU not recognizing K_ESC as a way to exit
      memo editing. Please review, I'm not MEMOEDIT() user
      and this was such an obvious omission that I wonder
      if there was some real reason for it. Anyhow it was
      wrong before.

  * contrib/hbfimage/fi_wrp.c
  * contrib/hbclipsm/num.c
  * contrib/hbclipsm/numfloor.c
  * contrib/hbclipsm/status.c
  * contrib/hbclipsm/numceil.c
    * Formatting.
2010-01-13 14:11:50 +00:00
Viktor Szakats
1b080a03f9 2009-10-09 16:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- source
  + src
  * src/Makefile
  * src/dynlib/mt/Makefile
  * src/dynlib/Makefile
  * INSTALL
  * Makefile
  * ChangeLog
  * harbour.spec
  * mpkg_tgz.sh
    * Renamed 'source' dir to 'src' to move closer to other FOSS 
      projects. It's also easier to type, plus it has the side 
      effect that some cmdlines will be shorter in the 
      build process.
2009-10-09 14:54:14 +00:00