Commit Graph

15971 Commits

Author SHA1 Message Date
Viktor Szakats
08de05766e 2011-02-27 18:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtgui/hbqt_init.cpp
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_init.cpp
    + Adding more signal handlers plus some other mods.
      Patch from Francesco (with some minor mods and fixex, pls check)
2011-02-27 17:26:49 +00:00
Viktor Szakats
4f3d14903d 2011-02-27 14:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt.h
  + contrib/hbqt/qtcore/hbqtinit.h
  * contrib/hbqt/qtgui/hbqt_init.cpp
  * contrib/hbqt/qtwebkit/hbqt_init.cpp
  * contrib/hbqt/qtcore/hbqt_init.cpp
  * contrib/hbqt/qtnetwork/hbqt_init.cpp
  * contrib/hbqt/qscintilla/hbqt_init.cpp
  * contrib/hbqt/qtuitools/hbqt_init.cpp
  * contrib/hbqt/qtdesigner/hbqt_init.cpp
    + Added HBQT_SLOT_CALLBACK_OBJ_INT(), HBQT_SLOT_CALLBACK_OBJ_OBJ()
    * Renamed HBQT_SLOT_CALLBACK_OBJ_1() to HBQT_SLOT_CALLBACK_OBJ().
    * Moved these macros to separate header.

  * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp
  * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp
    ! Fixed after prev.
2011-02-27 13:24:11 +00:00
Viktor Szakats
740f28325a 2011-02-27 12:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt.h
    + Added HBQT_SLOT_CALLBACK_OBJ_1() macro to easily create
      slot callbacks passing 1 object.
    ; TODO: Use it.
2011-02-27 11:20:52 +00:00
Viktor Szakats
0d3abd6bdd 2011-02-27 11:17 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    ! Patch from Francesco to recent patch.
2011-02-27 10:18:14 +00:00
Viktor Szakats
1051cca99b 2011-02-27 11:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtgui/hbqt_init.cpp
  * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqt.h
  * contrib/hbqt/qtcore/hbqtcore.hbx
  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_misc.prg
  * contrib/hbqt/qtcore/hbqt_init.cpp
  * contrib/hbqt/qtnetwork/hbqt_init.cpp
    * Changed few raw pointers missed in other commits.
      Some of them commented because the class wrapper is not implemented yet.
    % Deleted unused code.
    * Changed object creation according to patch from Francesco. (with my changes)
2011-02-27 10:07:14 +00:00
Viktor Szakats
db6a89ed95 2011-02-27 09:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtgui/hbqt_init.cpp
  * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqt.h
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_init.cpp
    + Applied (fully manually) Francesco's patch to address inefficiency 
      (to avoid using macro evaluation and calling back to a .prg stub to 
      create objects) in recent raw pointer modification.
      It contains modifications of mine.
    ; TOFIX: Add puller code for internally created objects. Or, even better 
             use pure C++ object creation code, so this is not a problem.
    ; TODO: Delete remains of old method.
2011-02-27 08:26:34 +00:00
Viktor Szakats
1e2862d820 2011-02-27 08:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_hbqevents.cpp
    ! Fixed to convert object name to uppercase when registering an event.
      Francesco's patch with a twist to do less .toUpper() calls.
      Pls test.

  + examples/hbqt_tut
  + examples/hbqt_tut/hbmk.hbm
  + examples/hbqt_tut/win01.prg
  + examples/hbqt_tut/win10.prg
  + examples/hbqt_tut/win20.prg
  + examples/hbqt_tut/win02.prg
  + examples/hbqt_tut/win11.prg
  + examples/hbqt_tut/win21.prg
  + examples/hbqt_tut/win12.prg
  + examples/hbqt_tut/win03.prg
  + examples/hbqt_tut/win13.prg
  + examples/hbqt_tut/win04.prg
  + examples/hbqt_tut/win14.prg
  + examples/hbqt_tut/win05.prg
  + examples/hbqt_tut/win15.prg
  + examples/hbqt_tut/win06.prg
  + examples/hbqt_tut/win07.prg
  + examples/hbqt_tut/win16.prg
  + examples/hbqt_tut/win08.prg
  + examples/hbqt_tut/win17.prg
  + examples/hbqt_tut/win09.prg
  + examples/hbqt_tut/win18.prg
  + examples/hbqt_tut/win19.prg
  + examples/hbqt_tut/prova.ui
  + examples/hbqt_tut/test.jpg
  + examples/hbqt_tut/test.dbf
    + Added HBQT tutorial created by Giovanni Di Maria.
    ! Used hbformat to format them.
    * Renamed a.jpg to test.jpg
    + Added hbmk.hbm
2011-02-27 07:50:30 +00:00
Viktor Szakats
639b62ec1f 2011-02-27 00:24 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_hbqevents.cpp
    ! Fixed recent typo. Thanks Francesco.
2011-02-26 23:24:49 +00:00
Viktor Szakats
eed0e55e34 2011-02-26 23:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to always set -quiet and -info- when --hbdir* or --hbinfo
      options are used.
2011-02-26 22:10:57 +00:00
Viktor Szakats
a13f7b1c0c 2011-02-26 20:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbgtinfo.ch
  * src/rtl/gtwvt/gtwvt.h
  * src/rtl/gtwvt/gtwvt.c
  + tests/wvt_fs.prg
    + Added ability to switch GTWVT screen into fullscreen. See example
      for usage. Patch by Aleksander Czajczynski. Many thanks!
      Pls test.

  * contrib/hbqt/qtcore/hbqt_pointer.cpp
    ! Fixed bug introed in 2011-02-24 18:03 UTC-0800 Pritpal Bedi
      where char array declaration used runtime size value.
      Replaced with hb_strdup(). In previous commit I've also fixed
      an strcpy() usage. strcpy() is strictly forbidden in Harbour
      codebase. Hopefully it fixes MSVC build failure.
2011-02-26 19:09:48 +00:00
Viktor Szakats
d2fe20cb82 2011-02-26 14:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.hbs
    ! Typo.
2011-02-26 13:28:56 +00:00
Viktor Szakats
e0c884fc78 2011-02-26 12:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtgui/hbqtgui.ch
  * contrib/hbqt/qtgui/hbqt_init.cpp
  * contrib/hbqt/qtcore/hbqt_init.cpp
    % Using QT event enums instead of HBQT's .ch.
    % Moved timer event registration to hbqtcore.
2011-02-26 11:22:01 +00:00
Viktor Szakats
290aaf50fe 2011-02-26 10:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp
  * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp
  * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp
    * Changed to use hbqt_create_objectFromEventType2()
      instead of hbqt_create_objectFromEventType().
    ; Please test, it's likely the new function doesn't work 
      properly yet and should be fixed.
2011-02-26 10:00:17 +00:00
Viktor Szakats
5eec02d8ed 2011-02-26 10:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtgui/hbqtgui.ch
  * contrib/hbqt/qtgui/hbqt_init.cpp
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqt.h
  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_misc.prg
  * contrib/hbqt/qtcore/hbqt_init.cpp
    ! Fixed indentation in recent additions.
    + Added new function hbqt_create_objectFromEventType2() which
      is supposed to create the object and fill PPTR in C code
      (without calling back to .prg)
      I didn't make any functional tests so pls do it.
    + Added mechanism to register/unregister event types with
      object names.
    + QTGUI will now register its event types on init.
    + Event filter changed to look for registeres event types
      and create appropriate object dynamically.
    ; TODO: Old code is still there, until the new one gets tested.
            Please do tests.
    ! Fixed to pull required class wrappers for object types
      associated with events.
    ; TOFIX: hbqt_create_object()/HBQT_CREATEQTOBJECT() is wrong
             because it uses macro expansion to call object instantation,
             which means _ALL_ HBQT apps now require to pull and link
             every existing QT symbols to work reliably, which is
             unacceptable for all apps (except HBIDE which pulls all
             these anyway)
             We should move to full C++ wrappers to solve this
             cleanly.
    ; TOFIX: Clean code to never use the unsafe hbqt_create_objectFromEventType().
    ; TOFIX: Just a note: Raw pointers are still used in QLIST f.e.,
             so even the raw pointer problem is not fully solved yet.

  * contrib/hbqt/qtgui/hbqtgui.hbx
  * contrib/hbqt/qtcore/hbqtcore.hbx
    * Regenerated automatically.
    ; !!! FOR HBQT (AND ALL) DEVELOPERS: Please enable HB_REBUILD_EXTERN=yes !!!

  * contrib/hbtip/sendmail.prg
    + Encode .xml attachments in base64. Response to sf.net #3192722
    + Set MIME type for .xml (text/xml)
    ; Pls review this.

  * config/postinst.hbs
    + Create dynlib symlinks only if the dynlib was actually created
      and exists. (different patch from what we've dicussed on the
      list, so pls verify it)
2011-02-26 09:53:15 +00:00
Pritpal Bedi
2871d8cfdd 2011-02-25 18:37 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
    ! Fixed: a regression where raw pointer was supplied 
      instead of Harbour object.
2011-02-26 02:40:15 +00:00
Pritpal Bedi
a68743f09e 2011-02-25 09:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_misc.prg
    ! Fixed: to not rely on another library.
2011-02-25 17:22:21 +00:00
Pritpal Bedi
c59cfbe652 2011-02-24 18:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/tests/testbrow.prg
  * contrib/hbqt/tests/testqaim.prg
  * contrib/hbqt/tests/testres.prg
    ! Adopted: to latest hbQT changes.
2011-02-25 02:43:16 +00:00
Pritpal Bedi
e503422b1c 2011-02-24 18:03 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hbs

  * contrib/hbqt/qtcore/hbqt.h
  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_init.cpp
  * contrib/hbqt/qtcore/hbqt_misc.prg
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqtcore.hbx
  * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp
  * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp
  * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp
  * contrib/hbqt/qtgui/hbqt_init.cpp
  * contrib/hbqt/qtgui/hbqtgui.hbx
  * contrib/hbqt/qtgui/qth/QStandardItemModel.qth
  * contrib/hbqt/qtgui/qth/QTreeWidget.qth
  * contrib/hbqt/qtnetwork/hbqt_init.cpp

  * contrib/hbxbp/xbpappevent.prg
  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbpstatic.prg
  * contrib/hbxbp/xbpstatusbar.prg
  * contrib/hbxbp/xbptabpage.prg
  * contrib/hbxbp/xbptreeview.prg
  * contrib/hbxbp/xbpwindow.prg

  * contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/hbqtoolbar.prg
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idehome.prg
  * contrib/hbide/idemain.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idethemes.prg

    + Eliminated: raw pointers available to PRG code totally.
      Only a couple of places are left which I will look into 
      shortly.

      INCOMPATIBLE: Now any event fired by the Qt itself, 
      either via SIGNAL/SLOTS mechanism or QEvent_* constants, 
      it supplies Harbour object instead of Qt pointer. 

      This is a massive change and hence regression is expected.
      Please report.
2011-02-25 02:13:00 +00:00
Viktor Szakats
a9df1ad291 2011-02-24 22:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fscopy.c
    ! HB_USHORT -> HB_SIZE after recent mod.
2011-02-24 21:41:21 +00:00
Viktor Szakats
ed48efd2f3 2011-02-24 19:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/globsh.mk
    ! make the clean target also remove the newly-created libharbour* symlinks [Tamas]

  * utils/hbmk2/hbmk2.prg
    + Added TODO to eventually delete lib grouping.

  * config/linux/watcom.mk
    - Disabled dynlib creation on linux/watcom, because watcom support
      is broken yet.
2011-02-24 18:34:23 +00:00
Viktor Szakats
76eb4a7412 2011-02-23 10:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/linux/sunpro.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    + adjust dt_soname generation for sun toolchain [Tamas]

  * contrib/hbpost.hbm
    + Added soname support for sunos. Pls test.

  * config/global.mk
    * Minor.
2011-02-23 09:58:51 +00:00
Viktor Szakats
9a27e65b26 2011-02-23 02:09 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbexpat/hbexpat.hbp
    ! Fixed to not disable detection of local copy when 
      HB_BUILD_3RDEXT=no
2011-02-23 01:10:17 +00:00
Viktor Szakats
110230ef33 2011-02-23 00:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    ! Fixed to use cygharbour-21.dll name for cygwin targets.

  * config/bsd/gcc.mk
    + Added -soname option.

  * config/cygwin/gcc.mk
    ! Revert. cygwin doesn't have $(LN) command.

  ; Some useful looking links, for the record:
    - http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html
    - http://www.akkadia.org/drepper/dsohowto.pdf
    - http://abicheck.sourceforge.net/abicheck.html#Documentation
2011-02-22 23:32:36 +00:00
Viktor Szakats
72d11d87b8 2011-02-22 23:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/bsd/pcc.mk
  * config/darwin/icc.mk
  * config/hpux/gcc.mk
  * config/linux/watcom.mk
  * config/linux/icc.mk
  * config/cygwin/gcc.mk
    * $(LN) commands inlined in ($DY) line.
2011-02-22 22:55:04 +00:00
Viktor Szakats
ac2b90b3f1 2011-02-22 23:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/beos/gcc.mk
  * config/linux/sunpro.mk
  * config/sunos/sunpro.mk
    + Added $(LN) commands to these remaining targets.
      Only vxworks is missing them now, but I can't remember 
      how this worked there.
2011-02-22 22:51:29 +00:00
Viktor Szakats
959357134f 2011-02-22 23:45 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/bsd/pcc.mk
  * config/hpux/gcc.mk
  * config/linux/watcom.mk
  * config/linux/icc.mk
    + Added $(LN) calls for targets it was missing from.
      (and which they use multiline dynlib creation block)

  * config/cygwin/gcc.mk
    * Moved $(LN) calls to separate lines to be in sync with 
      rest of platforms with multiline dynlib creation block.
2011-02-22 22:45:53 +00:00
Viktor Szakats
659850bdcc 2011-02-22 23:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/qnx/gcc.mk
  * config/bsd/gcc.mk
  * config/bsd/clang.mk
  * config/linux/clang.mk
  * config/cygwin/gcc.mk
  * config/symbian/gcc.mk
    + Added symlinks for "2.1" versioned dynlib name.
    ; [ Apparently several *nix platforms/compilers don't have symlinks implemented yet at all. ]
2011-02-22 22:39:21 +00:00
Viktor Szakats
ecce8a322c 2011-02-22 23:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/linux/sunpro.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    * massage solaris configs to be more in line with other gccs. [Tamas]
2011-02-22 22:32:27 +00:00
Viktor Szakats
124dbb123a 2011-02-22 22:17 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fscopy.c
    ! Use hb_fsReadLarge()/hb_fsWriteLarge().
    + Added TODO to use hb_fileExtOpen().
    ! Deleted FXO_DEFAULTS after carefully checking there is no
      more "extra" feature of hb_fsExtOpen() enabled in this specific
      scenario.
2011-02-22 21:18:17 +00:00
Viktor Szakats
dcf504288f 2011-02-22 21:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/darwin/clang.mk
    ! Typo after recent mods.
2011-02-22 20:49:49 +00:00
Viktor Szakats
6d12a3f041 2011-02-22 21:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    ! Fixed regression for win/wce systems after recent dynlib changes.
      On these systems the referenced lib name should always contain
      the version number.
2011-02-22 20:38:35 +00:00
Pritpal Bedi
fcd60637d5 2011-02-22 12:26 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/hbpprocess.prg
  * contrib/hbxbp/xbp3state.prg
  * contrib/hbxbp/xbpbitmap.prg
  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbpcheckbox.prg
  * contrib/hbxbp/xbpclipboard.prg
  * contrib/hbxbp/xbpcombobox.prg
  * contrib/hbxbp/xbpdataref.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpfiledialog.prg
  * contrib/hbxbp/xbpfontdialog.prg
  * contrib/hbxbp/xbphtmlviewer.prg
  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbpmle.prg
  * contrib/hbxbp/xbppresspace.prg
  * contrib/hbxbp/xbpprintdialog.prg
  * contrib/hbxbp/xbpprinter.prg
  * contrib/hbxbp/xbppushbutton.prg
  * contrib/hbxbp/xbpradiobutton.prg
  * contrib/hbxbp/xbprtf.prg
  * contrib/hbxbp/xbpscrollbar.prg
  * contrib/hbxbp/xbpsle.prg
  * contrib/hbxbp/xbpspinbutton.prg
  * contrib/hbxbp/xbpstatic.prg
  * contrib/hbxbp/xbpstatusbar.prg
  * contrib/hbxbp/xbpstyle.prg
  * contrib/hbxbp/xbptabpage.prg
  * contrib/hbxbp/xbptoolbar.prg
  * contrib/hbxbp/xbptreeview.prg
    ! Changed: Method :new() => :init() as per Xbase++ compatibility.
2011-02-22 20:31:19 +00:00
Viktor Szakats
f8fd50ecd0 2011-02-22 18:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/vxworks/gcc.mk
  * config/vxworks/diab.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/linux/gcc.mk
    * Cleaned to use new central variables for harbour dynlib links.
    ; TODO: Do the same with rest of *nix targets when adding soname
            and '2.1' style symlinks, when current system proves okay 
            with darwin and linux/gcc targets.
2011-02-22 17:43:15 +00:00
Viktor Szakats
3db8ee700c 2011-02-22 18:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fscopy.c
    * Restored open mode. Still waiting for proper fix.
    * Upped buffer to 65536.

  * config/qnx/gcc.mk
  * config/bsd/gcc.mk
  * config/bsd/clang.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/linux/gcc.mk
  * config/linux/clang.mk
  * config/dyn.mk
  * config/cygwin/gcc.mk
  * config/symbian/gcc.mk
    * Renamed DYN_FILE2/DYN_NAME2 to DYN_FILE/NAME_NVR.
      (NVR for 'versionless')
2011-02-22 17:09:50 +00:00
Viktor Szakats
f7515e28c5 2011-02-22 16:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/linux/gcc.mk
    * Using central macros for dynlib versions.

  * config/dyn.mk
    + Added macros to help creation of .major.minor versioned dynlib links.
2011-02-22 15:25:40 +00:00
Viktor Szakats
30d0951cfd 2011-02-22 16:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/vxworks/gcc.mk
  * config/vxworks/diab.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
    ! LIB_PREF -> DYN_PREF
2011-02-22 15:13:16 +00:00
Viktor Szakats
0367a7f8f4 2011-02-22 16:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    % Deleted two remaining HB_DYNLIB_NAME* variables.
2011-02-22 15:08:35 +00:00
Viktor Szakats
7b2883a9e3 2011-02-22 16:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/dynlib/2nd/Makefile
  * src/dynlib/Makefile
  * config/none.mk
  * config/vxworks/gcc.mk
  * config/vxworks/diab.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/linux/gcc.mk
  * config/dyn.mk
  * config/os2/gcc.mk
    * DYNNAME2 -> DYNNAME
2011-02-22 15:01:39 +00:00
Viktor Szakats
788ed22d93 2011-02-22 15:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/dynlib/2nd/Makefile
  * src/dynlib/Makefile
  * config/none.mk
  * config/dyn.mk
    % Dropped DYNNAME. Now using DYNNAME2 only.
    % Dropped HB_DYNLIB_NAME*. Now using HB_DYNLIB_BASE* only.
    ; TODO: Rename DYNNAME2 to DYNNAME, rename HB_DYNLIB_BASE* to HB_DYNLIB_NAME*.
2011-02-22 14:55:12 +00:00
Mindaugas Kavaliauskas
8054719cd8 2011-02-22 14:20 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/src/rtl/fscopy.c
    * rewrote using hb_fsOpen()/hb_fsCreate() as requested by Viktor
2011-02-22 12:21:22 +00:00
Viktor Szakats
251a3a00ee 2011-02-22 13:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.hbs
  * config/global.mk
  * config/bin.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/linux/gcc.mk
  * config/dyn.mk
  * config/os2/gcc.mk
    * Trying to cleanup the harbour dynlib name situation.
      Here's the plan (which is similar to what's used in contrib area):
         win, wce: harbour-21[-subtype][.dll/.lib]
         dos, os2: harbour[.dll|.???]
         darwin:
            libharbour.2.1.0.dylib
            libharbour.2.1.dylib -> (symlink) [compatibility level]
            libharbour.dylib -> (symlink)
         *nix:
            # libharbour.s?.2.1.0
            # libharbour.s?.2.1 -> (symlink) [soname]
            # libharbour.s? -> (symlink)
    ; It's possible it's broken now. Pls test linux/gcc and darwin.
      'install' was not tested.
    ; TODO: Clean variable usage, there is some redundancy, plus
            some places where current solution is not generic, f.e.
            using HB_VER_*, HB_DYNLIB_BASE vs. HB_DYNLIB_NAME, etc.

  * harbour/src/rtl/fscopy.c
    * Reverted 2011-02-22 12:27 UTC+0200 Mindaugas Kavaliauskas
      which made behavior inconsistent with rest of similar
      functions like FERASE(), FRENAME(), which also don't throw
      RTE if bad parameter is passed, but return FERROR()
      and failure instead.
      Also restored _SET_DEFAULT handling to not create a special case
      compared to __COPYFILE() behavior, ia. some features like
      FXO_SHARELOCK are still enabled while FXO_DEFAULT is not).
      Pls rewrite it using hb_fsOpen()/hb_fsCreate() if that behavior
      bothers you.
2011-02-22 12:13:08 +00:00
Mindaugas Kavaliauskas
899023ede0 2011-02-22 12:27 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/src/rtl/fscopy.c
    * added runtime error for HB_FCOPY() bad param types only
    * made a function HB_FCOPY() a pure file system function 
      does not dependent on _SET_DEFAULT setting
    ; File open mode is not altered a avoid any influence on OS/2 
      behaviour if source and destination files are the same (see 
      ChangeLog entry at 2009-11-24 16:57). I guess, hb_fsExpOpen() 
      still can be changed to hb_fsOpen() with FO_EXCLUSIVE, 
      FO_CREAT, and FO_TRUNC but I'm unable to test it, so, I leave 
      current code.
2011-02-22 10:27:49 +00:00
Viktor Szakats
45bb463f06 2011-02-21 20:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fscopy.c
    * Reverted my recent changes.
    ; Pls read past ChangeLog entries as to why this function
      is implementet the way it is make changes which don't break
      f.e. OS/2. Not throwing an RTE from this function is
      intentional.
    * Added parantheses to recent patch to hb_fsCopy().
2011-02-21 19:17:07 +00:00
Viktor Szakats
056e778977 2011-02-21 18:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fscopy.c
    ! Fixed missing header in prev.
    ! Fixed to check empty value of parameters properly.
2011-02-21 17:25:43 +00:00
Viktor Szakats
743a53e052 2011-02-21 16:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fscopy.c
    ! HB_FCOPY(): RTE when either of the parameters is not string.
    - Deleted FXO_DEFAULTS from open flags, so HB_FCOPY() and hb_fsCopy()
      don't depend on _SET_DEFAULT setting anymore.
2011-02-21 15:41:53 +00:00
Mindaugas Kavaliauskas
60e70eb29b 2011-02-21 16:28 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbwin/axcore.c
    * return NIL instead of runtime error if failed to obtain 
      connection point
    ; Please test
  * harbour/src/rtl/fscopy.c
    * added error check for read operation
2011-02-21 14:29:54 +00:00
Viktor Szakats
79d4a781a4 2011-02-21 13:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/filesys.c
    + fs_win_set_drive(): Setting SEM_FAILCRITICALERRORS before
      SetCurrentDirectory() call to avoid screen msg in some error
      scenarios. Thanks to vbdasc (final patch has two modifications,
      so pls retest it).
    + hb_fsChDir(): Applied similar logic as above.
    * Using FALSE instead of 0 in both function above.

  * contrib/hbssl/evppkey.c
    * Comment.
2011-02-21 13:00:55 +00:00
Viktor Szakats
546706df5f 2011-02-20 22:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbct/tests/numline.prg
  * contrib/hbct/numline.c
    + Added NUMLINE() tests. The results are based on real tests
      with CT3, which differ from what CT3 NG states for 'NUMLINE("")'
    ! NUMLINE(): fixed to handle LF EOLs (like original CT3)
    % NUMLINE(): variable scope plus minor optimization.
    ! NUMLINE(): don't strip const when casting.
    * NUMLINE(): use HB_CHAR_* constant.
    ! NUMLINE(): fixed line counting to be compatible with CT3.
      Supposed to fix sf.net #3029405 bug. Please test and review.
2011-02-20 21:54:15 +00:00
Viktor Szakats
7412a0b97b 2011-02-20 19:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpost.hbm
  * config/linux/gcc.mk
    + Setting -soname on linux systems. Experimental, I don't know a bit about 
      what this value should be or how it's supposed to work, so pls test.
      Once settled one something, it should be extended to all *nix platforms 
      and all linux compilers.
2011-02-20 18:47:21 +00:00
Viktor Szakats
8161fa4af6 2011-02-20 18:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/RELNOTES
    * Updated.

  * package/winuni/mpkg_win_uni.bat
    + Using mingw64 .dlls and .exe for win64. (was msvc64)
      Now mingw64 binaries look fine and they are about the
      same size as mingw32 ones.

  * package/winuni/mpkg_win_uni.nsi
    * Formatting.
2011-02-20 17:02:34 +00:00