Commit Graph

13 Commits

Author SHA1 Message Date
Viktor Szakats
c429cc56e3 2012-11-09 02:06 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/xhb/xhw32prn.prg
    * missed from prev

  * INSTALL
    * minor

  * src/rtl/base64d.c
    * uncrustify full
2012-11-09 01:09:17 +00:00
Viktor Szakats
0df9af0955 2012-11-06 09:33 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/macro/macrolex.c
  * src/main/harbour.c
  * src/rdd/*.c
  * src/rdd/dbfcdx/dbfcdx1.c
  * src/rdd/dbffpt/dbffpt1.c
  * src/rdd/dbfnsx/dbfnsx1.c
  * src/rdd/dbfntx/dbfntx1.c
  * src/rdd/hbsix/*.c
  * src/rdd/hsx/hsx.c
  * src/rdd/usrrdd/usrrdd.c
  * src/rtl/*.c
  * src/rtl/gt_tpl/gt_tpl.c
  * src/rtl/gtcgi/gtcgi.c
  * src/rtl/gtcrs/gtcrs.c
  * src/rtl/gtcrs/gtcrs.h
  * src/rtl/gtdos/gtdos.c
  * src/rtl/gtgui/gtgui.c
  * src/rtl/gtos2/gtos2.c
  * src/rtl/gtpca/gtpca.c
  * src/rtl/gtsln/gtsln.c
  * src/rtl/gtsln/gtsln.h
  * src/rtl/gtsln/*.c
  * src/rtl/gtstd/gtstd.c
  * src/rtl/gttrm/gttrm.c
  * src/rtl/gtwin/gtwin.c
  * src/rtl/gtwvt/gtwvt.c
  * src/rtl/gtwvt/gtwvt.h
  * src/rtl/gtxwc/gtxwc.c
  * src/rtl/gtxwc/gtxwc.h
  * src/vm/*.c
  * src/vm/maindllp/dllext.c
  * src/vm/maindllp/dllpcode.c
    * manually applied a selection of uncrustify fixes, 
      plus some manual cleanups.
      (mostly whitespace, generated code unchanged)

  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvggui.c
  * contrib/hbct/ctwin.c
  * contrib/rddads/ads1.c
  * contrib/sddfb/sddfb.c
  * contrib/sddoci/sddoci.c
  * contrib/sddodbc/sddodbc.c
  * contrib/sddsqlt3/sddsqlt3.c
  * contrib/xhb/xhbcopyf.c
  * src/common/hbstr.c
  * src/compiler/*.y*
  * src/macro/macro.y*
    * more formatting cleanups
2012-11-06 08:51:53 +00:00
Viktor Szakats
1b4008723b 2012-01-06 16:13 UTC+0100 Viktor Szakats (harbour syenar.net)
* ChangeLog
  * (whole tree)
    * changed e-mail address
2012-01-06 15:28:23 +00:00
Viktor Szakats
7ad3481808 2011-12-24 03:32 UTC+0100 Viktor Szakats (harbour syenar.hu)
* ChangeLog
  * (whole tree)
    * removed obsolete antispam measure from my e-mail address
2011-12-24 02:47:24 +00:00
Viktor Szakats
c85ff7b544 2011-05-09 19:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/memofile.c
    ! enabled EOF char on *nix platforms

  * src/rtl/base64d.c
    * uppercase hex nums to be in sync with base64c.c
2011-05-09 17:06:21 +00:00
Przemyslaw Czerpak
701acbb116 2011-03-01 02:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
  * harbour/config/dos/watcom.mk
  * harbour/config/win/watcom.mk
  * harbour/config/linux/watcom.mk
  * harbour/config/os2/watcom.mk
    ! fixed to not use -wcd124 and -wcd136 in OpenWatcom C++ builds

   * harbour/config/win/xcc.mk
     ! added -noexpobj as workaround for problems with creating
       shared library
     * removed now unnecessary $(RM) harbour*.dll

  * harbour/src/rtl/base64d.c
    * pacified warning
    % removed unnecessary condition with RTE - decoded string has to
      be shorter then the source one taken from HVM string item so for
      sure it cannot exceed maximum string item size

  * harbour/src/rtl/base64c.c
    * generate RTE if encode string size is too big 
    * eliminated unnecessary INT_MAX string limit
2011-03-01 01:07:16 +00:00
Viktor Szakats
31f4547614 2011-02-11 19:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/base64d.c
    ! Err...
2011-02-11 18:27:27 +00:00
Viktor Szakats
3aea6dfbdc 2011-02-11 19:24 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/base64d.c
    ! Fixed TOFIX to handle too large result. Now it will RTE.
      Please check me.

  * src/rtl/hbrandom.c
    * Formatting.

  * src/rtl/space.c
    * Fixed commented call.
2011-02-11 18:24:49 +00:00
Przemyslaw Czerpak
84c23a8dcc 2011-02-11 14:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/base64d.c
    ! fixed destination buffer size calculation - it was too small
    ! fixed to work with platform/compilers where 'char' is unsigned type.
      Please NEVER use 'char' type in math calculation without explicit
      'signed' or 'unsigned' specifier. On some platforms (i,e. MIPS Linux
      ports or in all OpenWatcom builds) 'char' is unsigned type. I once
      cleaned whole code and fixed all wrong places. I do not want to
      repeat it - sometimes is hard to locate problematic places.
    ! fixed index to ASCII decode table verification - '{' was accepted
      as valid base64 char.
      BTW this code works only on ASCII based machines. It's not the
      one code with such limitation in Harbour SVN anyhow it would be
      good to mark such limitation - maybe someone will want to port
      Harbour to some IBM mainframe machines.
    % removed redundant code
2011-02-11 13:46:16 +00:00
Viktor Szakats
ffaf84caa2 2011-02-11 13:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/base64d.c
    ! Fixed crash when empty or non-string parameter was passed to HB_BASE64DECODE().

  + tests/base64.prg
    + Added base64 test suite. [Tamas]
2011-02-11 12:31:19 +00:00
Viktor Szakats
d09ba62c09 2011-02-11 00:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/base64d.c
    ! HB_BASE64DECODE(): Forgot to return sized buffer in recently 
      added C version of this function.
    ; Please review and/or stree-test this function.
2011-02-10 23:11:16 +00:00
Viktor Szakats
cae0a25d90 2011-02-07 22:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/3rd/zlib/Makefile
    ! Fixed pocc64 related change in 2011-02-01 16:59 UTC+0100 Viktor Szakats
      Which broke zlib in harbour dll on all win platforms.

      Unfortunately pocc64 is broken (6.5 even) due to bugs in the compiler,
      so I _very strongly suggest_ to take out pocc64 from tests,
      but at least not use HB_BUILD_CONTRIB_DYN=yes, when building
      it.

  * src/rtl/base64d.c
    * Copyright header tweak.
2011-02-07 21:46:30 +00:00
Viktor Szakats
3742c1f6f6 2011-01-30 20:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/Makefile
  - src/rtl/base64.prg
  + src/rtl/base64d.c
    + Replaced HB_BASE64DECODE() with an optimized C implementation.
      The core code is borrowed from libb64 project
      (http://sourceforge.net/projects/libb64) and has been places
      to public domain by author Chris Venter.
      I've reformatted the code and made some minor modifications.
      I had used the Harbour license for the whole file.
      This code is 50-100 times faster than old Harbour code doing
      the same job. Please review it, especially the buffer size
      calculation.
      BTW the C code uses a unique trick called 'Duff's device'.
2011-01-30 19:00:54 +00:00