Commit Graph

11032 Commits

Author SHA1 Message Date
Pritpal Bedi
a24b9de5bd 2009-06-19 19:23 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/generator/qt45.qtp
  * harbour/contrib/hbqt/hbqt.ch
  * harbour/contrib/hbqt/hbqt.h
  + harbour/contrib/hbqt/hbqt_qfocusevent.cpp
  * harbour/contrib/hbqt/hbqt_qlineedit.cpp
  * harbour/contrib/hbqt/hbqt_slots.cpp
  * harbour/contrib/hbqt/hbqt_slots.h
  * harbour/contrib/hbqt/Makefile_gen
  * harbour/contrib/hbqt/moc_slots.cpp
  + harbour/contrib/hbqt/TQFocusEvent.prg
  * harbour/contrib/hbqt/TQLineEdit.prg
  + harbour/contrib/hbqt/qth/QFocusEvent.qth
    + Added one more class and tweaked others.
    + Added generic event handler ( Code provided by Marcos Gambeta - thanks )
      Event handler code has been optimized to free memory and be reusable.
2009-06-20 02:31:42 +00:00
Viktor Szakats
60243735d5 2009-06-20 04:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/mlcfunc.c
    % Minor optimization to EOL parameter handling.
      Please review.

  * source/rtl/dates.c
    ! Fixed warning with cast.

  * contrib/hbwin/win_misc.c
    + Enabled WIN_LOWORD(), WIN_HIWORD(). Added casts.

  - examples/wxh
    - Deleted empty dir. Will readd when moving wxh lib here.
2009-06-20 02:28:33 +00:00
Przemyslaw Czerpak
e1709d1fff 2009-06-20 03:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/runner.c
    ! fixed possible static function overloading
2009-06-20 01:47:28 +00:00
Viktor Szakats
393d6086f2 2009-06-19 23:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + .hbl files will be created relative to target executable
      directory if it was specified. If not, it will be created 
      relative to .hbm file dir, or hbmk2 launch dir (as before).
2009-06-19 21:07:11 +00:00
Viktor Szakats
66126cd394 2009-06-19 22:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/darwin/gcc.cf
    ! LIBTOOHB_USER_LDFLAGS -> HB_USER_AFLAGS
2009-06-19 20:05:14 +00:00
Viktor Szakats
e883b1facd 2009-06-19 21:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Enabled 'comp' subdir for embedded C compiler storage
      (on Windows / DOS / possibly OS/2).
2009-06-19 19:57:32 +00:00
Viktor Szakats
a45d744067 minor fix 2009-06-19 19:42:26 +00:00
Viktor Szakats
c9c3599fcd Added gsar link:
http://gnuwin32.sourceforge.net/packages/gsar.htm
2009-06-19 19:36:19 +00:00
Viktor Szakats
18366ab92a 2009-06-19 21:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/wvgscrlb.prg
  * contrib/gtwvg/wvgclass.prg
  * contrib/gtwvg/wvgdlg.prg
  * contrib/gtwvg/wvgax.prg
  * contrib/gtwvg/wvgpaint.prg
  * contrib/gtwvg/wvgdarea.prg
  * contrib/gtwvg/wvgmle.prg
  * contrib/gtwvg/wvglistb.prg
  * contrib/gtwvg/wvgtoolb.prg
  * contrib/gtwvg/wvgpushb.prg
  * contrib/gtwvg/wvgsle.prg
  * contrib/gtwvg/wvgtreev.prg
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/tests/demoxbp.prg
  * contrib/gtwvg/tests/demowvg.prg
  * contrib/gtwvg/wvgcrt.prg
  * contrib/gtwvg/wvgwnd.prg
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wvgdatar.prg
  * contrib/gtwvg/wvgradio.prg
  * contrib/gtwvg/wvgsysw.prg
  * contrib/gtwvg/wvgmenub.prg
  * contrib/gtwvg/wvgphdlr.prg
  * contrib/gtwvg/wvgbitmp.prg
  * contrib/gtwvg/wvgcheck.prg
  * contrib/gtwvg/wvgstatb.prg
  * contrib/gtwvg/wvgstatc.prg
  * contrib/gtwvg/wvgtabpg.prg
  * contrib/gtwvg/wvg3stat.prg
    * Renamed WIN_* namespace functions to WVG_* namespace.
      (CamelCase retained)
    ! Fixed WIN_SETBKMODE() being used from hbwin lib in tests.
    % Deleted hbwin lib dependency from tests.
    ; TODO: Rewrite wvgwin.c content to comply with general WAPI
            guidlines and move them to hbwin. All this is optional,
            but it would help reducing redunancy and providing
            better Windows API.
    ; NOTE: Incompatible. Pls use this script to convert your source:
      ---
      gsar -i -o -sWIN_SENDMESSAGE(                -rWVG_SendMessage(                *.prg
      gsar -i -o -sWIN_SENDDLGITEMMESSAGE(         -rWVG_SendDlgItemMessage(         *.prg
      gsar -i -o -sWIN_SETTIMER(                   -rWVG_SetTimer(                   *.prg
      gsar -i -o -sWIN_SETFOCUS(                   -rWVG_SetFocus(                   *.prg
      gsar -i -o -sWIN_SETTEXTCOLOR(               -rWVG_SetTextColor(               *.prg
      gsar -i -o -sWIN_SETBKCOLOR(                 -rWVG_SetBkColor(                 *.prg
      gsar -i -o -sWIN_SETBKMODE(                  -rWVG_SetBkMode(                  *.prg
      gsar -i -o -sWIN_GETSTOCKOBJECT(             -rWVG_GetStockObject(             *.prg
      gsar -i -o -sWIN_DELETEOBJECT(               -rWVG_DeleteObject(               *.prg
      gsar -i -o -sWIN_SELECTOBJECT(               -rWVG_SelectObject(               *.prg
      gsar -i -o -sWIN_LOWORD(                     -rWVG_LOWORD(                     *.prg
      gsar -i -o -sWIN_HIWORD(                     -rWVG_HIWORD(                     *.prg
      gsar -i -o -sWIN_MULDIV(                     -rWVG_MulDiv(                     *.prg
      gsar -i -o -sWIN_GETDIALOGBASEUNITS(         -rWVG_GetDialogBaseUnits(         *.prg
      gsar -i -o -sWIN_SETDLGITEMTEXT(             -rWVG_SetDlgItemText(             *.prg
      gsar -i -o -sWIN_GETDLGITEMTEXT(             -rWVG_GetDlgItemText(             *.prg
      gsar -i -o -sWIN_CHECKDLGBUTTON(             -rWVG_CheckDlgButton(             *.prg
      gsar -i -o -sWIN_ISDLGBUTTONCHECKED(         -rWVG_IsDlgButtonChecked(         *.prg
      gsar -i -o -sWIN_CHECKRADIOBUTTON(           -rWVG_CheckRadioButton(           *.prg
      gsar -i -o -sWIN_GETDLGITEM(                 -rWVG_GetDlgItem(                 *.prg
      gsar -i -o -sWIN_MESSAGEBOX(                 -rWVG_MessageBox(                 *.prg
      gsar -i -o -sWIN_INVALIDATERECT(             -rWVG_InvalidateRect(             *.prg
      gsar -i -o -sWIN_LOADICON(                   -rWVG_LoadIcon(                   *.prg
      gsar -i -o -sWIN_LOADIMAGE(                  -rWVG_LoadImage(                  *.prg
      gsar -i -o -sWIN_GETCLIENTRECT(              -rWVG_GetClientRect(              *.prg
      gsar -i -o -sWIN_DRAWIMAGE(                  -rWVG_DrawImage(                  *.prg
      gsar -i -o -sWIN_GETDC(                      -rWVG_GetDC(                      *.prg
      gsar -i -o -sWIN_RELEASEDC(                  -rWVG_ReleaseDC(                  *.prg
      gsar -i -o -sWIN_CREATEBRUSH(                -rWVG_CreateBrush(                *.prg
      gsar -i -o -sWIN_DRAWTEXT(                   -rWVG_DrawText(                   *.prg
      gsar -i -o -sWIN_GETWINDOWRECT(              -rWVG_GetWindowRect(              *.prg
      gsar -i -o -sWIN_MOVEWINDOW(                 -rWVG_MoveWindow(                 *.prg
      gsar -i -o -sWIN_GETDESKTOPWINDOW(           -rWVG_GetDesktopWindow(           *.prg
      gsar -i -o -sWIN_SETPARENT(                  -rWVG_SetParent(                  *.prg
      gsar -i -o -sWIN_BRINGWINDOWTOTOP(           -rWVG_BringWindowToTop(           *.prg
      gsar -i -o -sWIN_SETFOREGROUNDWINDOW(        -rWVG_SetForeGroundWindow(        *.prg
      gsar -i -o -sWIN_SETWINDOWTEXT(              -rWVG_SetWindowText(              *.prg
      gsar -i -o -sWIN_SETWINDOWLONG(              -rWVG_SetWindowLong(              *.prg
      gsar -i -o -sWIN_ISWINDOW(                   -rWVG_IsWindow(                   *.prg
      gsar -i -o -sWIN_ENABLEWINDOW(               -rWVG_EnableWindow(               *.prg
      gsar -i -o -sWIN_DESTROYWINDOW(              -rWVG_DestroyWindow(              *.prg
      gsar -i -o -sWIN_CLIENTTOSCREEN(             -rWVG_ClientToScreen(             *.prg
      gsar -i -o -sWIN_SCREENTOCLIENT(             -rWVG_ScreenToClient(             *.prg
      gsar -i -o -sWIN_AND(                        -rWVG_And(                        *.prg
      gsar -i -o -sWIN_OR(                         -rWVG_Or(                         *.prg
      gsar -i -o -sWIN_NOT(                        -rWVG_Not(                        *.prg
      gsar -i -o -sWIN_TRACKPOPUPMENU(             -rWVG_TrackPopupMenu(             *.prg
      gsar -i -o -sWIN_CHOOSECOLOR(                -rWVG_ChooseColor(                *.prg
      gsar -i -o -sWIN_FINDWINDOW(                 -rWVG_FindWindow(                 *.prg
      gsar -i -o -sWIN_SLEEP(                      -rWVG_Sleep(                      *.prg
      gsar -i -o -sWIN_SETMENU(                    -rWVG_SetMenu(                    *.prg
      gsar -i -o -sWIN_CREATEMENU(                 -rWVG_CreateMenu(                 *.prg
      gsar -i -o -sWIN_CREATEPOPUPMENU(            -rWVG_CreatePopupMenu(            *.prg
      gsar -i -o -sWIN_APPENDMENU(                 -rWVG_AppendMenu(                 *.prg
      gsar -i -o -sWIN_DELETEMENU(                 -rWVG_DeleteMenu(                 *.prg
      gsar -i -o -sWIN_DESTROYMENU(                -rWVG_DestroyMenu(                *.prg
      gsar -i -o -sWIN_ENABLEMENUITEM(             -rWVG_EnableMenuItem(             *.prg
      gsar -i -o -sWIN_CHECKMENUITEM(              -rWVG_CheckMenuItem(              *.prg
      gsar -i -o -sWIN_DRAWMENUBAR(                -rWVG_DrawMenuBar(                *.prg
      gsar -i -o -sWIN_UPDATEWINDOW(               -rWVG_UpdateWindow(               *.prg
      gsar -i -o -sWIN_SHOWWINDOW(                 -rWVG_ShowWindow(                 *.prg
      gsar -i -o -sWIN_MAKELPARAM(                 -rWVG_MAKELPARAM(                 *.prg
      gsar -i -o -sWIN_CREATEWINDOWEX(             -rWVG_CreateWindowEx(             *.prg
      gsar -i -o -sWIN_SENDMESSAGETEXT(            -rWVG_SendMessageText(            *.prg
      gsar -i -o -sWIN_GETMESSAGETEXT(             -rWVG_GetMessageText(             *.prg
      gsar -i -o -sWIN_SETWNDPROC(                 -rWVG_SetWndProc(                 *.prg
      gsar -i -o -sWIN_DEFWINDOWPROC(              -rWVG_DefWindowProc(              *.prg
      gsar -i -o -sWIN_CALLWINDOWPROC(             -rWVG_CallWindowProc(             *.prg
      gsar -i -o -sWIN_TREEVIEW_SETTEXTCOLOR(      -rWVG_TreeView_SetTextColor(      *.prg
      gsar -i -o -sWIN_TREEVIEW_SETBKCOLOR(        -rWVG_TreeView_SetBkColor(        *.prg
      gsar -i -o -sWIN_TREEVIEW_SETLINECOLOR(      -rWVG_TreeView_SetLineColor(      *.prg
      gsar -i -o -sWIN_TREEVIEW_SELECTITEM(        -rWVG_TreeView_SelectItem(        *.prg
      gsar -i -o -sWIN_TREEVIEW_EXPAND(            -rWVG_TreeView_Expand(            *.prg
      gsar -i -o -sWIN_TVIS_EXPANDED(              -rWVG_TVIs_Expanded(              *.prg
      gsar -i -o -sWIN_LBGETTEXT(                  -rWVG_LBGetText(                  *.prg
      gsar -i -o -sWIN_LBGETCURSEL(                -rWVG_LBGetCurSel(                *.prg
      gsar -i -o -sWIN_LBSETCURSEL(                -rWVG_LBSetCurSel(                *.prg
      gsar -i -o -sWIN_BUTTON_GETCHECK(            -rWVG_Button_GetCheck(            *.prg
      gsar -i -o -sWIN_ISICONIC(                   -rWVG_IsIconic(                   *.prg
      gsar -i -o -sWIN_ISZOOMED(                   -rWVG_IsZoomed(                   *.prg
      gsar -i -o -sWIN_SETDCBRUSHCOLOR(            -rWVG_SetDCBrushColor(            *.prg
      gsar -i -o -sWIN_SETDCPENCOLOR(              -rWVG_SetDCPenColor(              *.prg
      gsar -i -o -sWIN_GETCURRENTOBJECT(           -rWVG_GetCurrentObject(           *.prg
      gsar -i -o -sWIN_GETCURRENTBRUSH(            -rWVG_GetCurrentBrush(            *.prg
      gsar -i -o -sWIN_GETCURRENTFONT(             -rWVG_GetCurrentFont(             *.prg
      gsar -i -o -sWIN_SETWINDOWPOSTOBACK(         -rWVG_SetWindowPosToBack(         *.prg
      gsar -i -o -sWIN_SETWINDOWPOSTOTOP(          -rWVG_SetWindowPosToTop(          *.prg
      gsar -i -o -sWIN_SETWINDOWSIZE(              -rWVG_SetWindowSize(              *.prg
      gsar -i -o -sWIN_SETWINDOWPOSITION(          -rWVG_SetWindowPosition(          *.prg
      gsar -i -o -sWIN_SETWINDOWPOSANDSIZE(        -rWVG_SetWindowPosAndSize(        *.prg
      gsar -i -o -sWIN_SETLAYEREDWINDOWATTRIBUTES( -rWVG_SetLayeredWindowAttributes( *.prg
      gsar -i -o -sWIN_SENDTOOLBARMESSAGE(         -rWVG_SendToolbarMessage(         *.prg
      ---
2009-06-19 19:30:07 +00:00
Viktor Szakats
e5f3723ba0 2009-06-19 20:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbhrb.ch
    ! Minor typo in comment.

  * contrib/gtwvg/Makefile
  * contrib/gtwvg/wvgwin.c
  + contrib/gtwvg/wvgwing.c
    * Moved WVG_* prefixed functions to separate file.
2009-06-19 18:51:26 +00:00
Przemyslaw Czerpak
7abda8c763 2009-06-19 18:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbhrb.ch
  * harbour/source/vm/runner.c
    + added support for HB_HRB_BIND_LAZY flag.
      Lazy binding with public external functions allows to load .hrb files
      with unresolved or cross function references.
2009-06-19 16:38:54 +00:00
April White
0445183365 2009-06-19 10:48 UTC+0600 April White (april users.sourceforge.net)
* contrib\hbblat\blatcls.prg
    * PROCEDURE Check() CLASS HBBlat -> METHOD returning Self
  * contrib\hbgd\gdimage.prg
    * PROCEDURE Destruct() CLASS GDImage -> METHOD returning NIL
  * contrib\xhb\hblog.prg
    * PROCEDURE Open() CLASS HB_Logger -> METHOD returning Self
    * PROCEDURE Close() CLASS HB_Logger -> METHOD returning Self
    * PROCEDURE Log( cMessage, nPriority ) CLASS HB_Logger -> METHOD returning Self
    * PROCEDURE Log( nStyle, cMessage, cName, nPriority ) CLASS HB_LogChannel -> METHOD returning Self
    * PROCEDURE Send( nStyle, cMessage, cName, nPriority ) CLASS HB_LogConsole -> METHOD returning Self
    * PROCEDURE Send( nStyle, cMessage, cName, nPriority ) CLASS HB_LogDebug -> METHOD returning Self
  * contrib\xhb\stream.prg
    * PROCEDURE CopyTo( oTargetStream ) CLASS TStream -> METHOD returning Self
    * PROCEDURE Finalize CLASS TStreamFileReader -> METHOD returning NIL
    * PROCEDURE Finalize CLASS TStreamFileWriter -> METHOD returning NIL
    * PROCEDURE WriteByte( cByte ) CLASS TStreamFileWriter -> METHOD returning Self
  * contrib\xhb\ttable.prg
    * PROCEDURE GET() CLASS HBRecord -> METHOD returning Self
    * PROCEDURE Put() CLASS HBRecord -> METHOD returning Self
    * PROCEDURE DBMove( nDirection ) CLASS HBTable -> METHOD returning Self
    * PROCEDURE READ( lKeepBuffer ) CLASS HBTable -> METHOD returning Self
    * PROCEDURE ReadBlank( lKeepBuffer ) CLASS HBTable -> METHOD returning Self
    * PROCEDURE AddField( f, t, l, d ) CLASS HBTable -> METHOD returning Self
    * PROCEDURE Gentable() CLASS HBTable -> METHOD returning Self
    * PROCEDURE Create() CLASS HBOrder -> METHOD returning Self
2009-06-19 14:53:40 +00:00
April White
5d12fe83f7 2009-06-19 10:16 UTC+0600 April White (april users.sourceforge.net)
* ChangeLog
   * contrib/hbbtree/doc/hb_btree.txt
   * contrib/hbbtree/hb_btree.c
   * contrib/hbbtree/hb_btree.ch
   * contrib/hbbtree/hb_btree.h
   * contrib/hbbtree/tbtree.prg
   * contrib/hbbtree/tests/ctest.c
   * contrib/hbbtree/tests/test.prg
   * contrib/hbbtree/tests/ttest.prg
   * doc/en-EN/set.txt
   * source/compiler/hbusage.c
   * source/rtl/setkey.c
   * tests/setkeys.prg
      * changed my email address
2009-06-19 14:26:20 +00:00
April White
ae479142ed 2009-06-19 09:52 UTC+0600 April White (april users.sourceforge.net)
* contrib/hbblat/blatcls.prg
  * contrib/hbgd/gdimage.prg
  * contrib/xhb/hblog.prg
  * contrib/xhb/stream.prg
  * contrib/xhb/ttable.prg
    * reverted to 'procedure' declaration as methods fail to compile without
      a return value; will address this within the new hbextern
2009-06-19 13:55:32 +00:00
April White
ae54dc1252 2009-06-19 09:20 UTC+0600 April White (april@users.sourceforge.net)
* contrib/hbblat/blatcls.prg
  * contrib/hbgd/gdimage.prg
  * contrib/xhb/hblog.prg
  * contrib/xhb/stream.prg
  * contrib/xhb/ttable.prg
    * Declare class methods indicated as procedure
2009-06-19 13:21:54 +00:00
Viktor Szakats
2ee89d24cf 2009-06-19 15:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/darwin/gcc.cf
    ! Fixed a hard-wired 'cc' to be $(HB_CMP)
2009-06-19 13:18:55 +00:00
Viktor Szakats
cebc3f8997 2009-06-19 15:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-mkdyn.sh
    ! Fixed to not use HB_CCPREFIX for libtool command.

  * utils/hbmk2/hbmk2.prg
    ! Fixed typo in libtool cmd.

  * ChangeLog
    * Items marked DONE.
2009-06-19 13:15:14 +00:00
Viktor Szakats
8a01b5de4c 2009-06-19 15:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/darwin/gcc.cf
    * Changed to use 'gcc' as compiler name like on other platforms 
      and in hbmk2.
      For old Darwin systems it may need to be redefined to 'cc' using 
      export HB_CMP=cc.
2009-06-19 13:03:45 +00:00
Viktor Szakats
2afa463b34 2009-06-19 14:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added basic HB_CCPOSTFIX support.
    + Switched to use libtool (instead of ar) on darwin.
      (to be tested after commit)

  * config/darwin/gcc.cf
    + Added HB_CCPREFIX support.
    + Added HB_CCPOSTFIX support.
    ; Only needed for cc/gcc.

  * config/linux/gcc.cf
    + Added HB_CCPREFIX support.
2009-06-19 12:52:14 +00:00
Viktor Szakats
9500012b64 2009-06-19 14:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/testhrb.prg
  * tests/exthrb.prg
    ! Fixed missing SVN props.

  * ChangeLog
    ! Removed conflict marker from ChangeLog from a recent commit.

    ; NOTE: I'd encourage everyone to check doc/howtosvn.txt
            before committing.

  * doc/howtosvn.txt
    + Added link to svn cmdline tools.
    + Added link to svn online documentation (a complete free book)
    ! Fixed a few svn commands written in uppercase.
2009-06-19 12:25:44 +00:00
Przemyslaw Czerpak
0b660d8efd 2009-06-19 14:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
- harbour/include/hbhrb.ch
  + harbour/include/hbhrb.ch
    * replaced hbhrb.ch with slightly different version and set SVN
      attributes:
         svn:keywords : Author Date Id Revision
         svn:eol-style : native
      Now optional HB_HRBLOAD()/HB_HRBRUN() parameter is bitfield and
      the following predefined values can be used to control function
      bindings in loaded .hrb files:
         HB_HRB_BIND_DEFAULT      - do not overwrite any functions, ignore
                                    public HRB functions if functions with
                                    the same names already exist in HVM
         HB_HRB_BIND_LOCAL        - do not overwrite any functions
                                    but keep local references, so
                                    if module has public function FOO and
                                    this function exists also in HVM
                                    then the function in HRB is converted
                                    to STATIC one
         HB_HRB_BIND_OVERLOAD     - overload all existing public functions
         HB_HRB_BIND_FORCELOCAL   - covert all public functions to
                                    STATIC ones
      Other HB_HRB_* defines will be added in the future

  * harbour/include/hbvm.h
    * declared hb_vmSetFunction() as internal function

  * harbour/source/vm/hvm.c
    * modified hb_vmSetFunction() to update references also in unused
      modules.

  * harbour/source/vm/runner.c
    * removed CanUnload - it was not fully functional. Modules which
      overloads public functions cen be unload just like any other ones
      but unloading does not restore references to overloaded functions.
      Now such references are simply lost and this should be fixed in the
      future.
    + added support for HB_HRB_BIND_FORCELOCAL
    ! fixed <nOptions> parameter decoding in HB_HRBLOAD() to strictly
      follow declaration:
         HB_HRBLOAD( [ <nOptions>, ] <cHrb> [, <xparams,...> ] )
    ! fixed init procedures parameters in HB_HRBLOAD() to no pass <nOptions>
    + added support for <nOptions> to HB_HRBRUN()
         HB_HRBRUN( [ <nOptions>, ] <cHrb> [, <xparams,...> ] ) -> <retVal>
    * changed HB_HRBRUN() return value - now it's the result of executed
      function instead of .T.
    ! fixed public symbol updating to keep valid references to HB_FS_LOCAL
      function
    ! fixed possible memory leak
    % added const to some char * declarations

   TOFIX/TODO: add support for restoring overloaded functions when module
               is unloaded.
2009-06-19 12:09:26 +00:00
Viktor Szakats
1c20b41cc2 2009-06-19 11:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/testhrb.prg
  * tests/Makefile
  * include/Makefile
  * include/hbhrb.ch
  * source/vm/runner.c
    ! Added new files to Makefiles.
    ! Fixed to use hbhrb.ch from .c rather than replicating #defines.
      (also fixed comments to be ANSI)
    ! Added self protection to .ch.
    ! Made .hrb file lowercase in testhrb.prg
    ! Deleted double license header from .ch.

  * utils/hbmk2/hbmk2.prg
    + Added logic to move embedded compilers under a common subdir.
      To stay compatible with 2.0.0beta1 release I didn't yet set
      this, but it will be for final release.
      Probably 'comp', or maybe 'opt'. Sorry for asking for opininons,
      but they're welcome anyway.
2009-06-19 09:33:42 +00:00
Jean-Francois Lefebvre
d7a22185d5 2009-06-19 10:56 UTC+0200 Jean lefebvre (jfl at mafact dot com)
* vm/runner.c
    FIXED ;
    ../../runner.c:413: error: '_HB_SYMB' undeclared (first use in this function)
  + include/hbhrb.ch:  HB_HRBLOAD() mode #define new file
  + tests/testhrb.prg: test program fro new params 
  + tests/exthrb.prg:  test program to be compiled as .HRB using /gh option
2009-06-19 09:00:16 +00:00
Viktor Szakats
ce275c340e 2009-06-19 00:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/vm/runner.c
    * Formatted.
    ; TOFIX:
        ../../runner.c: In function 'hb_hrbLoad':
        ../../runner.c:413: error: '_HB_SYMB' undeclared (first use in this function)
        ../../runner.c:413: error: (Each undeclared identifier is reported only once
        ../../runner.c:413: error: for each function it appears in.)
2009-06-18 22:36:27 +00:00
Viktor Szakats
75ca071bb3 2009-06-19 00:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* .
    ! Deleted "bugtraq:append" (not mentioned in ChangeLog) 
      property added to main Harbour trunk in:
      2009-06-18 21:18 UTC+0200
      JF, pls fix this in your SVN client, otherwise next time 
      it will just reappear. Majority of these extensions and 
      dirs aren't present in Harbour source tree since long.
2009-06-18 22:24:27 +00:00
Viktor Szakats
b9c7b1d25d 2009-06-19 00:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed regression from 2009-06-16 15:03 UTC+0200.
      Thanks Marek.
2009-06-18 22:17:47 +00:00
Viktor Szakats
a375f106a9 2009-06-19 00:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvgcuig.c
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wincallb.c
  * contrib/gtwvg/Makefile
  * contrib/gtwvg/wvgcore.c
    * Reverted to r11403 for Pritpal.
      (now for real)
2009-06-18 22:09:44 +00:00
Jean-Francois Lefebvre
0c36fe41df 2009-06-18 21:18 UTC+0200 Jean lefebvre (jfl at mafact dot com) 2009-06-18 19:25:56 +00:00
Viktor Szakats
390543ea06 2009-06-18 18:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/wvgscrlb.prg
  * contrib/gtwvg/wvgclass.prg
  * contrib/gtwvg/wvgdlg.prg
  * contrib/gtwvg/wvgax.prg
  * contrib/gtwvg/wvgpaint.prg
  * contrib/gtwvg/wvgdarea.prg
  * contrib/gtwvg/wvgmle.prg
  * contrib/gtwvg/wvglistb.prg
  * contrib/gtwvg/wvgtoolb.prg
  * contrib/gtwvg/wvgpushb.prg
  * contrib/gtwvg/wvgsle.prg
  * contrib/gtwvg/wvgtreev.prg
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/tests/demoxbp.prg
  * contrib/gtwvg/tests/demowvg.prg
  * contrib/gtwvg/wvgcrt.prg
  * contrib/gtwvg/wvgwnd.prg
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wvgdatar.prg
  * contrib/gtwvg/wvgradio.prg
  * contrib/gtwvg/wvgsysw.prg
  * contrib/gtwvg/wvgmenub.prg
  * contrib/gtwvg/wvgphdlr.prg
  * contrib/gtwvg/wvgbitmp.prg
  * contrib/gtwvg/wvgcheck.prg
  * contrib/gtwvg/wvgstatb.prg
  * contrib/gtwvg/wvgstatc.prg
  * contrib/gtwvg/wvgtabpg.prg
  * contrib/gtwvg/wvg3stat.prg
    * Reverted to r11403 for Pritpal.
2009-06-18 16:26:30 +00:00
Viktor Szakats
c329dc7499 2009-06-18 18:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added -skip option support to .hbm files.
2009-06-18 16:18:47 +00:00
April White
1050cd8fb2 2009-06-18 16:14 UTC+0600 April White (april@users.sourceforge.net)
* source/rtl/mlcfunc.c
    * detect if parameter is a string vs array
    * allocate memory for the array before resetting the counter
2009-06-18 14:43:17 +00:00
Viktor Szakats
826ad777c2 2009-06-18 14:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/Makefile
  - contrib/hbct/dattime4.c
  - contrib/xpp/datesx.c
  * contrib/xpp/Makefile
    * Delete
2009-06-18 12:24:49 +00:00
Pritpal Bedi
855b6a42c7 2009-06-17 16:33 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvg3stat.prg
  * harbour/contrib/gtwvg/wvgax.prg
  * harbour/contrib/gtwvg/wvgbitmp.prg
  * harbour/contrib/gtwvg/wvgcheck.prg
  * harbour/contrib/gtwvg/wvgclass.prg
  * harbour/contrib/gtwvg/wvgcrt.prg
  * harbour/contrib/gtwvg/wvgdarea.prg
  * harbour/contrib/gtwvg/wvgdatar.prg
  * harbour/contrib/gtwvg/wvgdlg.prg
  * harbour/contrib/gtwvg/wvglistb.prg
  * harbour/contrib/gtwvg/wvgmenub.prg
  * harbour/contrib/gtwvg/wvgmle.prg
  * harbour/contrib/gtwvg/wvgpaint.prg
  * harbour/contrib/gtwvg/wvgphdlr.prg
  * harbour/contrib/gtwvg/wvgpushb.prg
  * harbour/contrib/gtwvg/wvgradio.prg
  * harbour/contrib/gtwvg/wvgscrlb.prg
  * harbour/contrib/gtwvg/wvgsle.prg
  * harbour/contrib/gtwvg/wvgstatb.prg
  * harbour/contrib/gtwvg/wvgstatc.prg
  * harbour/contrib/gtwvg/wvgsysw.prg
  * harbour/contrib/gtwvg/wvgtabpg.prg
  * harbour/contrib/gtwvg/wvgtoolb.prg
  * harbour/contrib/gtwvg/wvgtreev.prg
  * harbour/contrib/gtwvg/wvgutils.c
  * harbour/contrib/gtwvg/wvgwin.c
  * harbour/contrib/gtwvg/wvgwnd.prg
  * harbour/contrib/gtwvg/tests/demowvg.prg
  * harbour/contrib/gtwvg/tests/demoxbp.prg
    - WIN_* Namespace.
    + WDW_* Namespace.
      First pass isolating WIN_* namespace to WDW_ namespace.
      NOTE: This needs change in your sources if you happen to use
      WIN_*() functions. If not you need not to worry.
2009-06-18 07:34:30 +00:00
Viktor Szakats
f221c5324d 2009-06-18 09:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/Makefile
  + contrib/hbct/dattime4.c
  * contrib/hbct/datetime.c
    * Moved STOD() into separate file to avoid linking problems
      when HB_COMPAT_XPP is defined.
    ! Removed HB_COMPAT_XPP protection. No longer needed.
    ! Restored my copyright for STOD().
    * Updated STOD() content with core code.
    ; TOFIX: ? Probably it would be best to remove this function
             from here, otherwise it may just create syncing
             problems. Also from xpp lib. Opinions?

  * contrib/xpp/xpp.ch
    + Now defining HB_COMPAT_XPP. This can be helpful to enable
      some extra XPP feature in our core headers. (unless we find
      a better solution for this)
    + Added NOTE to include this header before Harbour ones.
2009-06-18 07:22:51 +00:00
Viktor Szakats
08e95fb850 2009-06-18 08:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/wvgscrlb.prg
  * contrib/gtwvg/wvgclass.prg
  * contrib/gtwvg/wvgdlg.prg
  * contrib/gtwvg/wvgax.prg
  * contrib/gtwvg/wvgpaint.prg
  * contrib/gtwvg/wvgdarea.prg
  * contrib/gtwvg/wvgmle.prg
  * contrib/gtwvg/wvglistb.prg
  * contrib/gtwvg/wvgtoolb.prg
  * contrib/gtwvg/wvgpushb.prg
  * contrib/gtwvg/wvgsle.prg
  * contrib/gtwvg/wvgtreev.prg
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/tests/demoxbp.prg
  * contrib/gtwvg/tests/demowvg.prg
  * contrib/gtwvg/wvgcrt.prg
  * contrib/gtwvg/wvgwnd.prg
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wvgdatar.prg
  * contrib/gtwvg/wvgradio.prg
  * contrib/gtwvg/wvgsysw.prg
  * contrib/gtwvg/wvgmenub.prg
  * contrib/gtwvg/wvgphdlr.prg
  * contrib/gtwvg/wvgbitmp.prg
  * contrib/gtwvg/wvgcheck.prg
  * contrib/gtwvg/wvgstatb.prg
  * contrib/gtwvg/wvgstatc.prg
  * contrib/gtwvg/wvgtabpg.prg
  * contrib/gtwvg/wvg3stat.prg
    * Reverted to r11403.
2009-06-18 06:53:20 +00:00
Viktor Szakats
30676ed422 2009-06-18 07:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/superlib/hbsuper.dif
    ! Fixed CLIPPER function declarations to HB_FUNC().

  * ChangeLog
    * Item marked as DONE.
2009-06-18 05:39:54 +00:00
Pritpal Bedi
982850ecaa 2009-06-17 16:33 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvg3stat.prg
  * harbour/contrib/gtwvg/wvgax.prg
  * harbour/contrib/gtwvg/wvgbitmp.prg
  * harbour/contrib/gtwvg/wvgcheck.prg
  * harbour/contrib/gtwvg/wvgclass.prg
  * harbour/contrib/gtwvg/wvgcrt.prg
  * harbour/contrib/gtwvg/wvgdarea.prg
  * harbour/contrib/gtwvg/wvgdatar.prg
  * harbour/contrib/gtwvg/wvgdlg.prg
  * harbour/contrib/gtwvg/wvglistb.prg
  * harbour/contrib/gtwvg/wvgmenub.prg
  * harbour/contrib/gtwvg/wvgmle.prg
  * harbour/contrib/gtwvg/wvgpaint.prg
  * harbour/contrib/gtwvg/wvgphdlr.prg
  * harbour/contrib/gtwvg/wvgpushb.prg
  * harbour/contrib/gtwvg/wvgradio.prg
  * harbour/contrib/gtwvg/wvgscrlb.prg
  * harbour/contrib/gtwvg/wvgsle.prg
  * harbour/contrib/gtwvg/wvgstatb.prg
  * harbour/contrib/gtwvg/wvgstatc.prg
  * harbour/contrib/gtwvg/wvgsysw.prg
  * harbour/contrib/gtwvg/wvgtabpg.prg
  * harbour/contrib/gtwvg/wvgtoolb.prg
  * harbour/contrib/gtwvg/wvgtreev.prg
  * harbour/contrib/gtwvg/wvgutils.c
  * harbour/contrib/gtwvg/wvgwin.c
  * harbour/contrib/gtwvg/wvgwnd.prg
  * harbour/contrib/gtwvg/tests/demowvg.prg
  * harbour/contrib/gtwvg/tests/demoxbp.prg
    - WIN_* Namespace.
    + WDW_* Namespace.
      First pass isolating WIN_* namespace to WDW_ namespace.
      NOTE: This needs change in your sources if you happen to use
      WIN_*() functions. If not you need not to worry.
2009-06-17 23:38:37 +00:00
Viktor Szakats
a48321cf39 2009-06-18 00:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
  * source/rtl/mousehb.c
  * source/rdd/rddinfo.c
  * source/rdd/dbdrop.c
  * source/rdd/dbexists.c
  * source/rdd/fieldhb.c
    * Rest of similar to STOD() status functions also 
      protected with ! HB_C52_STRICT.
2009-06-17 22:52:52 +00:00
Viktor Szakats
e601da299c reapplied changes 2009-06-17 22:48:46 +00:00
Viktor Szakats
0f98f116b8 restored with history 2009-06-17 22:48:03 +00:00
Viktor Szakats
c0bd6c42f4 temp delete 2009-06-17 22:46:52 +00:00
Viktor Szakats
41b7534251 2009-06-18 00:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
  * source/rtl/datesx.c
    * STOD() function not protected by HB_COMPAT_XPP anymore.
      Instead it's turned off only in HB_C52_STRICT mode.

  + contrib/xpp/xppextrn.ch
    + Added.

  * contrib/hbwin/win_misc.c
    + Added WIN_HIWORD() and WIN_LOWORD() functions (from GTWVG).
      But commented because of colliding names.
2009-06-17 22:34:21 +00:00
Viktor Szakats
fb75f441ac 2009-06-17 23:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbblat/blatcls.prg
    ! Added type checks for all params.
    % File() -> hb_FileExists()
    * Minor formatting.

  * source/rtl/browdbx.prg
    * Minor formatting in comment.

  * contrib/xpp/Makefile
  + contrib/xpp/dbcmdx.c
  + contrib/xpp/tgetx.prg
  + contrib/xpp/tbcolumx.prg
  + contrib/xpp/dbjoinx.prg
  + contrib/xpp/idlex.c
  + contrib/xpp/typefilx.prg
  + contrib/xpp/philesx.c
  + contrib/xpp/browdbx.prg
  + contrib/xpp/dbdetacx.c
  + contrib/xpp/dblistx.prg
  + contrib/xpp/binnumx.c
  + contrib/xpp/mousex.c
  + contrib/xpp/dbupdatx.prg
  + contrib/xpp/dbfuncsx.prg
  + contrib/xpp/oemansix.c
  + contrib/xpp/tbrowsex.prg
  + contrib/xpp/thfuncx.prg
  + contrib/xpp/dbtotalx.prg
  + contrib/xpp/datesx.c
  + contrib/xpp/tthreadx.prg
  + contrib/xpp/dbstruxx.prg
  + contrib/xpp/dbsortx.prg
    + Made a copy of all Xbase++ related Harbour core components
      into this separate lib. As we're starting to have a larger
      and larger amount of Xbase++ functions, to not pollute core,
      to have a clear separation of components and to allow
      toggling Xbase++ compatibility at user level (instead of
      Harbour level), it's a good time to make this long planned
      first step. This means that now Harbour can be built with
      HB_COMPAT_XPP turned off, yet - with this lib - all Xbase++
      feature can still be used, and this is the recommended way.
      The name of the lib is tentative and in the future it may
      even be moved or renamed. 2.0.0 final version will still
      have HB_COMPAT_XPP enabled in core.
    ; NOTE: Please add new Xbase++ compatibility functions to this lib.
    ; TOFIX: xpp_TBrowse() needs some internal parts from tbrowse.prg,
             so current solution isn't finished.
    ; TOFIX: A few Xbase++ compatibility features are embedded
             into core source. These should be resolved by other
             means. (f.e. compiler time/runtime/hbmk2 switches, but
             for  that we need to move back this lib inside core)
    ; TODO: Decide about the status of STOD() function, which is
            currently an XPP compatibility function, not in Harbour
            namespace, yet it's widely used with same functionality.
2009-06-17 21:13:27 +00:00
Przemyslaw Czerpak
d364d762d9 2009-06-17 14:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/hbmain.c
    * extended -n2 to work also with code without starup procedure but with
      local variables

  * harbour/utils/hbrun/hbrun.prg
    + added -n2 to compiler parameters when .prg file is compiled and
      executed. It allows to use with hbrun .prg files with and without
      startup procedure
2009-06-17 11:56:30 +00:00
Viktor Szakats
c3dcec4713 2009-06-17 13:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/hbinet.c
    ! Typo in 2009-06-13 23:51 UTC+0200 fixed.
      Thanks Lorenzo for the report.
      [already committed.]
2009-06-17 11:09:58 +00:00
Przemyslaw Czerpak
11dc6a48a4 2009-06-17 13:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbinet.c
    ! fixed bad typo introduced in last days probably during some code
      formatting which broke HB_INETRECVLINE() and some other functions
2009-06-17 11:07:49 +00:00
Przemyslaw Czerpak
cbe41c950b 2009-06-17 13:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapierr.h
    * added HB_EXPORT attribute to hb_err*() public functions

  * harbour/source/rdd/wacore.c
    * minor formatting
2009-06-17 10:57:19 +00:00
Viktor Szakats
f068c2f707 2009-06-17 09:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/fcopy.prg
  * contrib/xhb/stream.prg
  * contrib/xhb/traceprg.prg
  * contrib/xhb/hblog.prg
  * contrib/xhb/ttable.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbptoolbar.prg
  * contrib/hbxbp/xbppushbutton.prg
  * contrib/hbnf/tbwhile.prg
  * contrib/rddado/adordd.prg
  * contrib/hbgd/gd.prg
  * contrib/hbtip/thtml.prg
  * contrib/hbtip/popcln.prg
  * contrib/hbtip/sendmail.prg
  * contrib/hbtip/cgi.prg
  * contrib/hbtip/ftpcln.prg
    % File() -> hb_FileExists().
    ; NOTE: I didn't convert in hbblat, because I'm not sure whether wildcards
            are also expected there.
2009-06-17 07:30:31 +00:00
Pritpal Bedi
3d8424928c 2009-06-17 00:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/tests/demoxbp.prg
    ! Commented out <Dialogs> menu option.
      Scheduled to be reactivated once event handlers will be in place.
2009-06-17 07:12:25 +00:00
Pritpal Bedi
a1b4491f19 2009-06-17 00:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/hbxbp.hbc
    ! Removed "hbwin" dependency introduced in prev commit.
2009-06-17 07:05:52 +00:00