Commit Graph

15897 Commits

Author SHA1 Message Date
Viktor Szakats
92bff9aba7 2011-02-16 21:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ package/harb_win.rc
  + package/harb_win.mft
  * contrib/hbrun/hbrun.hbp
    + Stirring the sh*t-bucket of nice Windows features!
      Added extremely useful manifest file and versioninfo,
      currently used with hbrun.
      Let's see how different win/wce builds fall apart!
      (note: if there will be too much problem, I'll just 
      delete it, as it most pbly isn't worth the extra 
      work required for maintaining these files)
2011-02-16 20:51:03 +00:00
Viktor Szakats
5cd5127ae3 2011-02-16 13:17 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddads/ads.ch
    + Added TOFIX regarding COMMIT cmd.

  * contrib/hbtip/cgi.prg
    ! Fixed TOFIX where *nix specific temp dir was hard-wired into
      multiplatform code. Pls test it.
2011-02-16 12:17:48 +00:00
Viktor Szakats
628b7e2e8d 2011-02-16 10:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddads/ads.ch
    ! Restored deleted ADS commands.

  * contrib/hbtip/cgi.prg
    * Updated from file sent to the list by Lorenzo.
      I had to fix a problem which made it obvious that the 
      file was never even compiled in Harbour SVN tree, so 
      please review it. This change also makes this class 
      incompatible with previous version.

  * doc/en/rdd.txt
  * doc/en/terminal.txt
    ! Two typos. (sent to users's list by Alain Aupeix)
2011-02-16 09:28:01 +00:00
Przemyslaw Czerpak
cdde182682 2011-02-15 20:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbthread.h
  * harbour/src/vm/hvm.c
  * harbour/src/vm/thread.c
    * on main thread exit unlock all main thread PRG mutexes before other
      thread terminates and EXIT functions are executed.
    * wake-up all thread waiting on subscribe operation when main thread
      is terminated.
2011-02-15 19:55:35 +00:00
Mindaugas Kavaliauskas
a49d885865 2011-02-15 17:31 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddads/ads.ch
    * deleted ADS specific commands with general names
2011-02-15 15:32:42 +00:00
Przemyslaw Czerpak
6685b34dcb 2011-02-15 13:39 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/compiler/gencc.c
    * added workaround for C compilers which cannot compile very long
      strings. This hack is not enabled by default and can be enabled
      by __HB_CSTRING_SIZE_MAX[=<maxsize>] macro (by default <maxsize>
      is 4KB).
2011-02-15 12:39:12 +00:00
Viktor Szakats
709be07f83 2011-02-15 09:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbmk2_qt.hbs
    * Whitespace.

  * include/harbour.hbx
  * src/rtl/hbdoc.prg
  * tests/stripdoc.hbs
    * Added __HBDOC_FILTEROUT( <cFile> ) -> <cFile> internal
      function to strip all NG doc content from a file and
      return the stripped file.

  * contrib/hbide/idedocwriter.prg
    + Use core __HBDOC_TOSOURCE() to generate NG doc source.
      (just build tested)
    ; TOFIX: idedocwriter.prg and ideharbourhelp.prg
             still makes direct reference to NG doc physical
             format. Pls change these to use __HBDOC_* functions.
2011-02-15 08:21:47 +00:00
Pritpal Bedi
695f465b23 2011-02-14 15:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idemain.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idebrowse.prg
    + Added: slots to use once RDDAds is linked with hbIDE.
      ( As per __HBDYNLOAD__RDDADS__ ).
  * contrib/hbide/ideharbourhelp.prg
    + Implemented: to honor .hbd files.
      .hbd files are looked into Harbour's root path and if 
      found, are used by "Documentation Viewer" other 
      standard .txt files are processed in /doc OR /doc/en 
      folders anywhere under the root folder.
      HBGD seems to be missing from .hbd compilation.
2011-02-15 00:02:46 +00:00
Przemyslaw Czerpak
a3d538cae5 2011-02-15 00:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapicls.h
  * harbour/src/vm/classes.c
    + added new C function
         HB_SIZE hb_clsGetVarIndex( HB_USHORT uiClass, PHB_DYNS pVarSym );
      which can be used as hack to speedup accessing some object instance
      variables
2011-02-14 23:48:59 +00:00
Viktor Szakats
dffcf7871f 2011-02-15 00:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/idemain.prg
    + Minor to prev. Now possible to build hbide with RDDADS
      if 'set HB_DYNLOAD_RDDADS=yes' is used prior to build.
      It's not supported, endorsed or even planned for this release,
      IOW don't send me reports if it doesn't work.
2011-02-14 23:12:09 +00:00
Viktor Szakats
edaa95b858 2011-02-14 23:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/hbide.hbp
  * contrib/hbide/idemain.prg
    - Disabled RDDADS dynamic load. It requires further work
      and brainstorm, which in turn requires interested contributors.
      Delayed to the future, after stable release.
2011-02-14 22:57:56 +00:00
Mindaugas Kavaliauskas
517e64cf64 2011-02-14 23:30 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/src/vm/classes.c
    ! fixed typo
2011-02-14 21:30:49 +00:00
Przemyslaw Czerpak
11654224c1 2011-02-14 19:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbclass.ch
    + added some class(y) compatible commands for delegated messages

  * harbour/include/hboo.ch
  * harbour/src/vm/classes.c
  * harbour/src/rtl/tclass.prg
    * native support for delegated messages - work in progress

  * harbour/src/rtl/hbsocket.c
    ! fixed error checking to eliminate possible error code overload

  * harbour/ChangeLog
    * marked old TODO as [DONE]
2011-02-14 18:48:59 +00:00
Viktor Szakats
b01f715d34 2011-02-14 18:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbrun/hbrun.prg
    + Changed to use hbwin functions to register/unregister hbrun 
      as .hbs runner. (was regedt32 external call)
2011-02-14 17:31:26 +00:00
Viktor Szakats
f9dbe711f3 2011-02-14 17:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbfilehi.prg
    ! Silly cut&paste typo causing major problem in some cases
      in HB_PATHNORMALIZE(). (in 2011-02-11 12:04 UTC+0100 Viktor Szakats)
      Thanks Teo for reporting the darwin/gcc problem it caused.
2011-02-14 16:20:26 +00:00
Viktor Szakats
5d8d2dfd97 2011-02-14 16:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtip/utils.c
  * contrib/hbtip/hbtip.hbx
    + Applied update from Lorenzo:
      - removed text/plain logic in magic search since this breaks css and js mimes
      - removed magic check for pkzip (today many formats like ooxml and odf are zips)
      - added extension mime for css, js, ods, xlsx, zip
      - added TIP_JSONSPECIALCHARS()
    * Formatting, cleaned error calls, variables names and scopes (also in TIP_HTMLSPECIALCHARS())
    * TIP_JSONSPECIALCHARS(), TIP_HTMLSPECIALCHARS(): Changed to not RTE
      when empty string is passed. Empty string will return empty string.
2011-02-14 15:27:45 +00:00
Viktor Szakats
0ad77a1373 2011-02-14 14:39 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbwin.hbx
  * contrib/hbwin/win_regc.c
  * contrib/hbwin/win_reg.prg
  * contrib/hbwin/tests/testreg.prg
    + Added WIN_REGDELETE() high-level function.
    + Added WIN_REGDELETEKEY() Windows API (non-1-to-1) wrapper.
    + Added WIN_REGDELETEVALUE() Windows API (non-1-to-1) wrapper.

  * contrib/hbqt/hbmk2_qt.hbs
  * contrib/hbqt/qtgui/hbqtgui.h
  * contrib/hbqt/qtcore/hbqtcore.h
    + Cast HBQT_TYPE_ constants to unsigned int.
2011-02-14 13:40:18 +00:00
Viktor Szakats
3132ce4ed2 2011-02-14 12:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/idemain.prg
  * contrib/hbide/hbide.hbp
    + Loading rddads lib dynamically in HBIDE.
      One will need rddads-21.dll built for this and places in the 
      same dir as hbide (that's where it's generated). You can 
      build rddads-21.dll using HB_BUILD_CONTRIB_DYN=yes.
    ; TOFIX: Get the dynamic lib name right for non-win platforms.
             Pbly some core functions will be needed for that.
2011-02-14 11:59:39 +00:00
Viktor Szakats
9e9fc9ea21 2011-02-14 12:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbmk2_qt.hbs
    * Adapted to hbdoc changes: no more manual padding necessary.

  * contrib/hbct/doc/en/color.txt
  * contrib/hbmisc/doc/en/ht_str.txt
  * contrib/hbmisc/doc/en/ht_dbf.txt
  * contrib/hbmisc/doc/en/ht_class.txt
  * contrib/hbmisc/doc/en/ht_doc.txt
  * doc/en/hashes.txt
  * doc/en/rddord.txt
  * doc/en/rddmisc.txt
  * doc/en/nation.txt
  * doc/en/var.txt
  * doc/en/harbext.txt
  * doc/en/browse.txt
  * doc/en/menu.txt
  * doc/en/file.txt
  * doc/en/tclass.txt
  * doc/en/set.txt
  * doc/en/readme.txt
    ! Fixed misalignments.
2011-02-14 11:05:47 +00:00
Viktor Szakats
6be6a26381 2011-02-14 11:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbdoc.prg
    * Minor fix to not add padding when content line is empty.

  * doc/en/1stread.txt
  * contrib/hbnf/doc/en/numlock.txt
  * contrib/hbnf/doc/en/mouse1.txt
  * contrib/hbnf/doc/en/mkdir.txt
  * contrib/hbnf/doc/en/menu1.txt
  * contrib/hbnf/doc/en/byteor.txt
  * contrib/hbnf/doc/en/mouse2.txt
  * contrib/hbnf/doc/en/clrsel.txt
  * contrib/hbnf/doc/en/rmdir.txt
  * contrib/hbnf/doc/en/scancode.txt
    ! Fixed unaligned content lines.

  * doc/en/*.txt
    ! Restored.
2011-02-14 10:28:37 +00:00
Pritpal Bedi
59ada440b1 2011-02-14 01:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* doc/en/1stread.txt
  * doc/en/array.txt
  * doc/en/browse.txt
  * doc/en/cmdline.txt
  * doc/en/compiler.txt
  * doc/en/datetime.txt
  * doc/en/dbstrux.txt
  * doc/en/file.txt
  * doc/en/garbage.txt
  * doc/en/gnulice.txt
  * doc/en/harbext.txt
  * doc/en/hashes.txt
  * doc/en/hb_api.txt
  * doc/en/hb_apier.txt
  * doc/en/hb_apifs.txt
  * doc/en/hb_apigt.txt
  * doc/en/hb_apiit.txt
  * doc/en/hb_apiln.txt
  * doc/en/hb_compa.txt
  * doc/en/hvm.txt
  * doc/en/idle.txt
  * doc/en/input.txt
  * doc/en/license.txt
  * doc/en/macro.txt
  * doc/en/menu.txt
  * doc/en/misc.txt
  * doc/en/rdddb.txt
  * doc/en/rddord.txt
  * doc/en/readme.txt
  * doc/en/set.txt
  * doc/en/strotype.txt
  * doc/en/terminal.txt
  * doc/en/var.txt
    ! Formatted: to start contents at column 9 which was the 
      existing layout for majority of files in doc/en.
      Some contribs are using column 8 as the base.
      hbQT can be fixed at the generator level. hbCT needs 
      rework to base at column 9. To shift to column 9 is 
      simple than shift to column 8. 
      QUESTION: which way should we go?
2011-02-14 09:54:12 +00:00
Viktor Szakats
73bdced7d3 2011-02-14 10:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbdoc.prg
    + Added logic to detect in which column the actual 
      content starts and read it accordingly.
      It uses the first content line as a base, so if 
      that one is wrong, the content will be read wrongly 
      and such NG sources should be fixed manually.
    * On output it will always start content in column 8 (base 1).

  * contrib/hbmysql/mysql.c
    ! MYSQL_REAL_ESCAPE_STRING() fixed taking wrong params.
      Reported by Bacco, thanks!

  * contrib/hbrun/pullext.prg
  * contrib/hbrun/hbrun.prg
  * contrib/hbrun/plugins.prg
  * contrib/hbrun/headers.prg
    * Formatting.
2011-02-14 09:21:22 +00:00
Viktor Szakats
8ac1677385 2011-02-14 01:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbdoc.prg
  * tests/hbdocext.prg
  * tests/hbdoctst.prg
    * Using new core filename handling functions instead of local copies.
2011-02-14 00:05:23 +00:00
Viktor Szakats
1c61148f95 2011-02-14 00:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetio/netioeng.prg
  * contrib/hbrun/hbrun.prg
  * contrib/hbrun/hbrun.hbp
    + netio plugin now supports accepting cmdline parameters
    ! fixed domain handling
    + new 'about' netio command
    + selecting wrong domain will display available options
    * minor tweaks
    + Enabled -head=dep
2011-02-13 23:01:53 +00:00
Viktor Szakats
3d43725e29 2011-02-13 22:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbrun/hbrun.prg
  * contrib/hbrun/hbrun.hbp
  + contrib/hbrun/plugins.prg
    + Added plugin support.
    + Added hbnetio management console to hbrun, as plugin.
      Use: "netio.<command> <params>" format to access it.
      Or enter netio command domain with ".netio" and use
      regular netio commands. Exit netio command domain with
      "." command.

  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
  * contrib/hbplist
    - Stdalone hbnetio management console is not built or
      included in distro anymore. Use hbrun.

  * contrib/hbrun/hbrun.prg
  * contrib/hbrun/hbrun.hbp
  + contrib/hbrun/headers.prg
    * Moved headers to separate file.

  * contrib/hbrun/pullext.prg
    * Minor.

  * contrib/hbnetio/utils/hbnetio/netioeng.prg
  * contrib/hbnetio/utils/hbnetio/netiocon.prg
    * Renamed entry function for console plugin.
2011-02-13 21:45:06 +00:00
Viktor Szakats
dd6e295f82 2011-02-13 19:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbnetio/utils/hbnetio/netioeng.prg
  * contrib/hbnetio/utils/hbnetio/hbnetio.hbp
  * contrib/hbnetio/utils/hbnetio/hbnetioc.hbp
  * contrib/hbnetio/utils/hbnetio/netiocon.prg
  * contrib/hbnetio/utils/hbnetio/netiocmd.prg
    + netio management client-side command handling moved to 
      a separate module and rewritten to act as a command 
      handler plugin. This makes it possible to move the 
      whole logic inside console hosts, f.e. hbrun.
2011-02-13 18:21:48 +00:00
Viktor Szakats
0703b5799d 2011-02-13 13:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
  * src/dynlib/Makefile
  + src/dynlib/2nd
  + src/dynlib/2nd/Makefile
    * Changed so that _HB_BUILD_DYN_ST=yes now creates a separate,
      secondary dll in ST mode, called harbourst/harbours.
2011-02-13 12:47:03 +00:00
Viktor Szakats
aaa0d62317 2011-02-13 09:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmzip/3rd/minizip/minizip.dif
  * contrib/hbmzip/3rd/minizip/ioapi.h
    * Shot in the dark for OS/2. Pls make tests.
2011-02-13 08:24:21 +00:00
Pritpal Bedi
0b562ede5b 2011-02-12 16:53 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* doc/en/gnulice.txt
  * doc/en/setmode.txt
    ! Corrected: NF confirmant mis-alignments.
  * contrib/hbide/ideharbourhelp.prg
    ! Fixed: a bug in retreival of values agains blank data.
      Pointed out by Alain Aupeix.
2011-02-13 00:58:59 +00:00
Pritpal Bedi
7744752ad3 2011-02-12 13:03 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/hbpprocess.prg
    ! Reworked: how command line parameters are passed to the appln.
  * contrib/hbide/idebrowse.prg
    ! Fixed: Goto() usage was broken in ideDBU ( result of strict 
      parameter checking introduced lately ).
  * contrib/hbide/ideharbourhelp.prg
    ! Tried: yet another time to cover case sensitivity in 
      "Document Viewer".
  * contrib/hbide/idetools.prg
    ! Tweaked: to pass application parameters for new protocol.
2011-02-12 21:08:54 +00:00
Pritpal Bedi
b1aa6936e2 2011-02-12 12:59 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* src/rtl/browse.prg
    ! Reversed some of the changes in previous commit.
      Still I am trying to understand how a record can be 
      edited without RLock() ( only for lAppend == TRUE, it is OK ).
2011-02-12 21:02:59 +00:00
Przemyslaw Czerpak
3e1909f6bc 2011-02-12 19:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbsocket.c
     * added HB_HAS_GETHOSTBYADDR to control access to gethostbyname()
       function
     * added alternative implementation of hb_socketGetHostName()
       function when gethostbyname() is not available
2011-02-12 18:02:31 +00:00
Pritpal Bedi
a5f9f1e748 2011-02-11 15:38 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_init.cpp
  * contrib/hbqt/qtgui/hbqt_init.cpp
  * contrib/hbqt/qtnetwork/hbqt_init.cpp
    ! Fixed: to return GC Collectible pointers instead of raw ones.
      TODO: add 3 more classes which are required to handle 
            Qt events. These methods will not work until then.
2011-02-11 23:43:07 +00:00
Pritpal Bedi
d44521122c 2011-02-11 15:36 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QBitmap.qth
  * contrib/hbqt/qtgui/qth/QColor.qth
  * contrib/hbqt/qtgui/qth/QComboBox.qth
    % Cleaned: constructor functions were left in <Proto> section,
      a result of an earlier version. Thanks Francessco to point it out.
2011-02-11 23:39:39 +00:00
Pritpal Bedi
fd375eb577 2011-02-11 14:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* src/rtl/browse.prg
    % Optimized. On some RDD some points were a killer.
2011-02-11 22:30:12 +00:00
Pritpal Bedi
0872abbdb8 2011-02-11 13:52 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/dbstruct.ui
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idehome.prg
    ! Fixed: "Welcom" tab - tooltip and links were broken sometimes.
    + Added: "ideBrowse" - "Structure" dialog - <Copy Struct> button.
      Click results in structure of the current table structure 
      be pasted on the clipboard under this format:
      .   LOCAL aStruct := { { "Name", "C", 20, 0 },;
                             { "Code", "C",  8, 0 } }
    % Tried to fix "nix" dependant path cases. Hopefully 
      "Documents Viewer" be avialble on "nixes".
2011-02-11 22:04:59 +00:00
Viktor Szakats
5ea4695a2e 2011-02-11 21:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqt.h
    ! Fixed type param sign in prev.
2011-02-11 20:58:06 +00:00
Viktor Szakats
69d2cfd4a7 2011-02-11 21:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqt.h
    + Added int hbqt_IsObjectType( int iParam, int iType ).
      [Francesco Perillo - with some of my mods]
2011-02-11 20:34:11 +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
Viktor Szakats
d03611893a 2011-02-11 15:45 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqt.h
    + Added hbqt_errRT_ARG() to raise argument RTE in wrapper methods.
2011-02-11 14:45:35 +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
1165d92e5e 2011-02-11 12:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed regression in 2011-02-10 23:45 UTC+0100 Viktor Szakats,
      in making .hbmk dir hidden when converting from custom DirBuild() 
      to core hb_DirBuild(). Due to typo the dir was not made hidden.
    ! Fixed to make .hbmk hidden regardless of casing (f.e. on MS-DOS).
2011-02-11 11:22:20 +00:00
Viktor Szakats
a12d2503d0 2011-02-11 12:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbfilehi.prg
    ! Fixed HB_PATHNORMALIZE() recent change to strip double pathseps.
      It was slashing ending pathsep too, which caused hbmk2 env detection
      to die and not find libs.
      NOTE: HB_PATHNORMALIZE() got very inefficient after this addition,
            so if I may chose to restore stable versions from hbmk2 code.
    ; There are at least two remaining bugs in recent changes.
2011-02-11 11:05:24 +00:00
Viktor Szakats
af945f7b1f 2011-02-11 07:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Readded REQUEST HB_FSETATTR. It was used in conditional 
      code, so it was not linked on *nix builds, causing 
      failure to run postinst.hbs.

  * src/rtl/hbrandom.c
    * Minor formatting.
2011-02-11 06:48:27 +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
bf35e61a95 2011-02-10 23:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    % PathMakeAbsolute() converted to macro.
2011-02-10 22:56:45 +00:00
Viktor Szakats
14ad15149a 2011-02-10 23:45 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Changed to use core filename functions.
      (except hb_PathMakeAbsolute() to hb_PathJoin())

  * contrib/hbqt/hbmk2_qt.hbs
    * Changed hbmk2_*() API calls to Harbour core functions.
      If you have hbmk2 plugins, pls make these API changes:
         hbmk2_cwd()                    -> hb_cwd()
         hbmk2_PathMakeAbsolute( r, a ) -> hb_PathJoin( a, r )
         hbmk2_PathNormalize( ... )     -> hb_PathNormalize( ... )
         hbmk2_PathMakeRelative( ... )  -> hb_PathRelativize( ... )
         hbmk2_DirAddPathSep( ... )     -> hb_DirSepAdd( ... )
         hbmk2_DirDelPathSep( ... )     -> hb_DirSepDel( ... )
         hbmk2_DirBuild( ... )          -> hb_DirBuild( ... )
         hbmk2_DirUnbuild( ... )        -> hb_DirUnbuild( ... )
         hbmk2_FNameDirGet( ... )       -> hb_FNameDir( ... )
         hbmk2_FNameNameGet( ... )      -> hb_FNameName( ... )
         hbmk2_FNameNameExtGet( ... )   -> hb_FNameNameExt( ... )
         hbmk2_FNameExtGet( ... )       -> hb_FNameExt( ... )
         hbmk2_FNameExtDef( ... )       -> hb_FNameExtSetDef( ... )
         hbmk2_FNameExtSet( ... )       -> hb_FNameExtSet( ... )

  * contrib/hbide/idesaveload.prg
    ! Missed to change one function to core version in
      2011-02-10 13:33 UTC+0100.
2011-02-10 22:47:42 +00:00
Viktor Szakats
6714063f6b 2011-02-10 21:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* package/harbour.spec
    * Deleted reference to harbourmt.
    ; QUESTION: Is this line right?
         Provides:       %{name} harbour lib%{name}.so
        [ %{name} is also 'harbour', so 'harbour' is there twice ]
2011-02-10 21:04:15 +00:00