Commit Graph

13801 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
766cd74186 2010-03-23 15:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbxvm.h
  * harbour/src/vm/hvm.c
    + added hb_xvmPushAliasedFieldExt() and hb_xvmPopAliasedFieldExt()

  * harbour/src/compiler/gencc.c
    % use hb_xvmPushAliasedFieldExt() and hb_xvmPopAliasedFieldExt()
      to optimize code generated for <alias> -> <name> expressions
      in -gc3 mode

  * harbour/include/hbsetup.h
    + added _HB_INLINE_ macro

  * harbour/include/hbatomic.h
    + added HB_SPINLOCK_TRY(l)
    + added support for recursive spin locks

  * harbour/src/vm/fm.c
    * use _HB_INLINE_
2010-03-23 14:20:25 +00:00
Mindaugas Kavaliauskas
ee0a524db2 2010-03-23 12:55 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddsql/hbrddsql.h
  * harbour/contrib/rddsql/sqlbase.c
  * harbour/contrib/rddsql/sddfb/sddfb.c
  * harbour/contrib/rddsql/sddmy/sddmy.c
  * harbour/contrib/rddsql/sddoci/sddoci.c
  * harbour/contrib/rddsql/sddodbc/sddodbc.c
  * harbour/contrib/rddsql/sddpg/sddpg.c
  * harbour/contrib/rddsql/sddsqlt3/sddsqlt3.c
    * moved SDD backed specific data from SQLCONNECTION and SQLAREA
      to a separate SDDCONN and SDDDATA structures. This helps to 
      avoid fake type casting and warinings like "break 
      strict-aliasing rules".
    * 1 -> HB_TRUE
    * formatting, style
    ! connection array is now array of connection pointers. This 
      fixes GPF if many connections are created and connection 
      table has to be reallocated
2010-03-23 10:57:11 +00:00
Viktor Szakats
fa396fec40 2010-03-23 08:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Minor (non-functional) corrections to latest additions.
2010-03-23 07:38:29 +00:00
Viktor Szakats
43c09b2983 2010-03-23 01:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* bin/postinst.prg
    - Deleted hb-mkimp.bat reference. This file is no more.
2010-03-23 00:02:45 +00:00
Viktor Szakats
7260871bdf 2010-03-23 00:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbwin.ch
  * contrib/hbwin/Makefile
  + contrib/hbwin/wapi_mmsystem.c
    + Added WAPI_PLAYSOUND() function.

  * bin/postinst.prg
  * package/winuni/mpkg_win_uni_extra_copy.bat
    - Deleted hacks dealing with sub-contribs inside contribs.
      (this breaks .hbc autofind for sdd* libs and
      won't anymore include sdd tests and .hbc files in
      windows unified distro)

  * contrib/rddsql/sddmy/sddmy.c
  * contrib/rddsql/sddmy/Makefile
  * contrib/rddsql/sddsqlt3/sddsqlt3.c
  * contrib/rddsql/sddsqlt3/Makefile
  * contrib/rddsql/sddpg/sddpg.c
  * contrib/rddsql/sddpg/Makefile
  * contrib/rddsql/sddfb/sddfb.c
  * contrib/rddsql/sddfb/Makefile
  * contrib/rddsql/sddodbc/sddodbc.c
  * contrib/rddsql/sddodbc/Makefile
  * contrib/rddsql/sddoci/sddoci.c
  * contrib/rddsql/sddoci/Makefile
    ! Fixed to use standard method to refer to dependent
      rddsql lib.
2010-03-23 00:00:13 +00:00
Przemyslaw Czerpak
9737bbea64 2010-03-22 14:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/wafunc.c
    ! added protection against possible GPF when wrong array with field
      names is passed to __dbTrans() or relative functions
2010-03-22 13:23:18 +00:00
Przemyslaw Czerpak
5bba5ab926 2010-03-22 12:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbdefs.h
    + added HB_SIZE_MAX macro

  * harbour/src/vm/hvm.c
  * harbour/src/vm/arrays.c
    * use HB_SIZE_MAX instead of ULONG_MAX
2010-03-22 11:54:48 +00:00
Viktor Szakats
556256c6ba 2010-03-22 10:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed implib internal flag handling for msvc targets.
    ! Fixed path format conversion in implib parameters.
    + Added support for filters, macros for implib creation parameters.
2010-03-22 09:59:45 +00:00
Viktor Szakats
506e43ffda 2010-03-22 10:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added -trace support to -mkimplib option.
    * Variables renamed in new code.

  - examples/hbdoc
  - examples/hbmsql
    - Deleted two obsolete components:
      - hbmsql is not available freely anymore and was not tested
        or update since many years. Check hbmysql and hbsqlit3 for
        alternatives.
      - hbdoc was superceded by hbdoc2.
2010-03-22 09:37:36 +00:00
Viktor Szakats
e3933c2f25 2010-03-22 02:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- tests/bnch_win.bat
    - Deleted benchmarking aid.
2010-03-22 01:53:11 +00:00
Viktor Szakats
e808b13bc1 2010-03-22 01:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added undocumented '-mkimplibms' option to allow for users
      to make bcc implib happy for some .dlls (translated to
      -a implib.exe option). Ugly solution, needed because bcc 
      chose not to follow standards.

  * bin/postinst.bat
    + Some adjustments to hbmk2-based implib generation cmdlines.
    + Added exception to use static ocilibs with mingw.

  * bin/postinst.bat
  - bin/hb-mkimp.prg
  * package/winuni/mpkg_win_uni_extra_copy.bat
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
    + Switched HB_BUILD_IMPLIB build option to use hbmk2
      to create implibs instead of local solution (hb-mkimp.prg).
      Note, this means that implibs will now always be
      created dynamically from .dll, even when a package
      offers pre-built .lib for the compiler. This will
      in practice cause a change msvc and pocc compilers.
      This also means that from now on it's enough to have
      the .dll to create implibs.
      It's also easier for users to create implibs using
      hbmk2 any time, so it's possible that HB_BUILD_IMPLIB
      build-time option will be deleted in the future.
    ; Not tested yet.
2010-03-22 00:34:28 +00:00
Viktor Szakats
e41a40e72f 2010-03-22 01:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Finishing touches to -mkimplib option:
      - Automatic "dressing" of target library name with extension, lib prefix.
      - More detailed feedback.

  * bin/postinst.bat
    + Added hb-mkimp.prg replacement logic based on hbmk2.
      (not yet enabled)
2010-03-22 00:04:46 +00:00
Viktor Szakats
504e7698e9 2010-03-22 00:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added experimental -mkimplib= option to "convert" .dll
      files into import libraries. Syntax tentative.
    ; TODO: Support for idiotic -a Borland C implib option.
            If anyone has an idea how to detect when to use
            -a and when not, I will implement it. If not,
            I will most probably drop maintaining -a option
            for bcc and leave it off. This leaves implibs
            working for most .dlls we currently use, but will
            break some (blat, curl, cairo, pq, alleg from
            contrib).

  * config/win/xcc.mk
  * utils/hbmk2/hbmk2.prg
    ! Fixed to use case-correct filenames for xcc tools.

  * bin/hb-mkimp.prg
    + Added msvcia64, msvcarm, xcc support.
    ! Fixed few library specs for msvc*.
    * FS_ERROR -> F_ERROR
    ! Fixed handling spaces inside dll name for msvc*.
    ! Fixed handling non .dll extension for msvc*.
2010-03-21 23:44:16 +00:00
Xavi
3bc818f6e4 2010-03-21 20:30 UTC+0100 Xavi (jarabal/at/gmail.com)
* harbour/src/rtl/teditor.prg
    ! Fixing MemoEdit parameter calculation: nTextBuffRow, nWindowColumn.

      Procedure Main()
         Cls
         // Put 5 in the 5 position and next BS to change.
         ? MemoEdit( "123",,, MaxRow(), MaxCol(),,,,,, 5 )
         Wait
2010-03-21 19:32:50 +00:00
Przemyslaw Czerpak
754d04a1f2 2010-03-21 20:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/macro/macro.y
    + added support for
         <alias> -> &( <exp> )
      in macrocompiler

  * harbour/src/macro/macro.yyc
    * regenerated for new grammar rules
2010-03-21 19:01:46 +00:00
Viktor Szakats
f985d48f95 2010-03-21 12:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-mkimp.prg
    + Finished, tested. This version also adds pocc64 support.
      It also gives proper feedback.

  * INSTALL
  * bin/postinst.bat
  - bin/hb-mkimp.bat
  * package/winuni/mpkg_win_uni_extra_copy.bat
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
    + Switched to use hb-mkimp.prg instead of .bat.
      25KB less of non-portable .bat file in Harbour SVN.
      Remains only ~100 lines of .bat stuff in core parts.
    + Deleted GNU Sed requirement.
    + Lifted Windows NT requirement for implib creation.
    + Lifted NT shell requirement for implib creation.
2010-03-21 11:31:52 +00:00
Viktor Szakats
9d30f3ba4d 2010-03-21 12:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ bin/hb-mkimp.prg
    + Added .prg rewrite for implib generation. This highly
      reduces redundancy, drops WinNT and GNU Sed tool
      requirement, further lowers the amount of non-portable
      batch sources in SVN. It also opens the door to add
      automatic implib generation in tools like hbmk2.
      Not yet tested.

  * bin/postinst.bat
    % Minor cleanup.

  * bin/hb-mkimp.bat
    * Rearrangement.

  * utils/hbmk2/hbmk2.prg
    ! Typo on comment.
2010-03-21 11:01:31 +00:00
Pritpal Bedi
dd856e4f5e 2010-03-20 11:25 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.ch
  * contrib/hbide/hbide.prg
  * contrib/hbide/idefunctions.prg
  * contrib/hbide/idesaveload.prg
    + Implemented: auto-loading the last "Re-tagged" functions
      prototype. It may take some time but it is done at the 
      background, so user will never experience the difference.
      You can start working on any other aspect of hbIDE.
2010-03-20 18:28:56 +00:00
Viktor Szakats
cfe571a6e3 2010-03-20 18:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* bin/postinst.bat
    ! Fixed/cleaned latest modification, removed redundancy.
2010-03-20 17:53:29 +00:00
Pritpal Bedi
a68a05604a 2010-03-20 10:12 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idesources.prg
    + Implemented: auto-save the project's source(s) at "build" time, 
      if some are modified.

      This is implemented by default, no options.
      Regression is possible, please report.
2010-03-20 17:17:14 +00:00
Petr Chornyj
34022516a1 2010-03-20 18:30 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* harbour/ChangeLog
    ! fixed typo my previous commit. Sorry..
2010-03-20 16:35:33 +00:00
Petr Chornyj
e3556ff9c3 2010-03-20 18:00 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* harbour/bin/postinst.bat
    ! fixed to not override hbrun if HB_BUILD_SHARED == "yes"
  * harbour/ChangeLog
    ! fixed date
  * harbour/contrib/hbsqlit3/hbsqlit3.c
    ! fixed usage hb_fsNameConv in SQLITE3_TEMP_DIRECTORY
2010-03-20 16:26:55 +00:00
Pritpal Bedi
5dd6ff8b44 2010-03-20 07:53 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.hbp
    + Added idewizard.prg

  * contrib/hbide/hbide.prg
    ! Postponed destruction of QSplashScreen(),
      always producing GPF on OS2, to take care of by Qt itself.

  * contrib/hbide/idedocks.prg
    ! Fix to *nixs warning 
        QWidget::setLayout: Attempting to set QLayout "" on QDockWidget 
        "dockHelp", which already has a layout 
      and family.

  + contrib/hbide/idewizard.prg
    + Preparations for globalization of hbIDE for Xbase world.
2010-03-20 14:59:17 +00:00
Viktor Szakats
e8c7e2ad14 2010-03-20 14:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_shell.c
    ! Inevitable tweaking for Windows API header / compiler 
      idiocy.
2010-03-20 13:33:10 +00:00
Viktor Szakats
04eb318eca 2010-03-20 13:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbwin.ch
    + Added WIN_LR_* flag constants for WAPI_LOADIMAGE().

  * contrib/hbwin/win_shell.c
  * contrib/hbwin/hbwin.ch
    + WIN_SHELLNOTIFYICON(): Added support for balloon notifications.

  * contrib/hbwin/wapi_commctrl.c
    ! Fixed functions to be defined regardless of _WIN32_IE value
      and to return permanent errors if not.
2010-03-20 12:26:53 +00:00
Przemyslaw Czerpak
bcd9de8158 2010-03-20 13:07 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/wapi_winuser.c
    * cleaned some code to use wapi_par_*() and wapi_ret_*() macros
    + added WAPI_*() functions to create and manipolate menus (HMENU)
    + added WAPI_CREATEACCELERATORTABLE( <aAccels> ) -> <hAccel>
      and WAPI_DESTROYACCELERATORTABLE( <hAccel> )

  * harbour/contrib/hbwin/hbwin.ch
    + added new constant values for WAPI manu functions
      (WIN_MF_* and WIN_TPM_*)

  * harbour/contrib/hbwin/hbwapi.h
    + added few new wapi_par_*() and wapi_ret_*() macros
    ! fixed wapi_ret_UINT() and wapi_ret_DWORD() macros to not make
      conversion which can create negative values
2010-03-20 12:07:46 +00:00
Viktor Szakats
5e706af37a 2010-03-20 10:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbbz2/Makefile
  - contrib/hbbz2/hbbzip2.ch
  + contrib/hbbz2/hbbz2.ch
  - contrib/hbbz2/hbbzip2.c
  + contrib/hbbz2/hbbz2.c
  - contrib/hbbz2/hbbzip2.hbc
  + contrib/hbbz2/hbbz2.hbc
  * contrib/hbbz2/tests/hbmk.hbm
    * Renaming hbbzip2 to hbbz2 (pass 2/2)

  * utils/hbmk2/examples/contribf.hbc
    * Updated.

  - utils/hbmk2/examples/hmg.hbc
  - utils/hbmk2/examples/minigui.hbc
    - Deleted these example since they are now maintained in 
      HMG/MiniGui projects (Thanks!).
2010-03-20 09:50:12 +00:00
Viktor Szakats
32f95811e1 2010-03-20 10:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- contrib/hbbzip2
  + contrib/hbbz2
  * contrib/Makefile
  * contrib/hbbz2/hbbzip2.hbc
    * Renaming hbbzip2 to hbbz2 (pass 1/2)
2010-03-20 09:43:04 +00:00
Viktor Szakats
e36753024f 2010-03-20 10:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* bin/postinst.bat
    ! Fixed recent change. 'HB_BUILD_SHARED=yes' means to create
      _default_ binaries (hbtest.exe, hbrun.exe, etc) in shared
      mode, so the correct behavior here is to _not_ create separate
      shared versions in this case.
      I didn't retest every aspect of this, so it's possible even
      this is wrong and the whole change has to be rethought or reverted.
    ! Fixed indentation after recent change.
      Please do respect formatting when editing files.
2010-03-20 09:39:53 +00:00
Petr Chornyj
20f3a3f0ca 2009-11-28 11:00 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* harbour/bin/postinst.bat 
    * Minor change to respect HB_BUILD_SHARED
2010-03-20 09:03:45 +00:00
Pritpal Bedi
7c95c63369 2010-03-19 22:22 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.ch
  * contrib/hbide/hbide.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idesaveload.prg
    + Reworked command-line parameters.
      Now hbIDE can be invoked with either of the combination,
      .ini .hbp .prg .c .cpp. Following algorithm is followed:
        1 .ini has the precedance over .hbp.
        2 if both are passed then .hbp will be added to the project tree,
          after loading components from .ini. 
        3 if only .hbp is passed, then no attempt is made to save the settings.
        4 if only sources are passed then all will be opened "Main" panel, 
          which will also be the startup panel, no project tree will be 
          displayed.

          c:\harbour\contrib\hbide>hbide.exe hbide.hbp
          c:\harbour\contrib\hbide>hbide.exe idemisc.prg idethemes.prg 
          c:\harbour\contrib\hbide>hbide.exe C:\dev_hbmk\hbide.ini hbide.hbp

      Regression is possible, please inform any incompatibilities.
2010-03-20 05:35:28 +00:00
Viktor Szakats
ed44af9f17 2010-03-19 14:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbverdsp.c
    * Deleted an empty line in build information.

  * contrib/gtwvg/gtwvg.h
  * contrib/gtwvg/wvggui.h
  * contrib/gtwvg/wvgcore.c
    - Deleted local (and unmaintained) hacks to make OLE work.
    * .c source changed to use hbwinole.h instead.

  * contrib/gtwvg/wvgcore.c
    ! Fixed to build properly in mingw C++ mode.
      (build errors found with mingw64 4.5.0)
2010-03-19 13:11:59 +00:00
Pritpal Bedi
08b930d6d7 2010-03-19 01:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/ideskeletons.prg
    ! Meta concept enhanced further.
        <-NAME=PROMPT> ; then NAME will be the meta and string 
      returned by PROMPT dialog will be assigned to <-NAME>
      for next occurances. The assignment is done only with 
      <-PROMPT> meta.

      This feature is especially useful when skeleton is built
      defining a class:

      --- SKELETON ---

      #include "common.ch"
      
      /*------------------------------*/
      
      CLASS <-NAME=PROMPT> INHERIT IdeObject
         
         DATA  oUI
      
         METHOD new( oIde )
         METHOD create( oIde )
         METHOD destroy()
      
         ENDCLASS
      
      /*------------------------------*/
      
      METHOD <-NAME>:new( oIde )
      
         ::oIde := oIde
      
         RETURN Self
      
      /*------------------------------*/
      
      METHOD <-NAME>:create( oIde )
      
         DEFAULT oIde TO ::oIde
         ::oIde := oIde
      
         RETURN Self
      
      /*------------------------------*/  
            


      --- INSERTION ( after input "MyNewClass" in the dialog ) ---

      #include "common.ch"
      
      /*------------------------------*/
      
      CLASS MyNewClass INHERIT IdeObject
         
         DATA  oUI
      
         METHOD new( oIde )
         METHOD create( oIde )
         METHOD destroy()
      
         ENDCLASS
      
      /*------------------------------*/
      
      METHOD MyNewClass:new( oIde )
      
         ::oIde := oIde
      
         RETURN Self
      
      /*------------------------------*/
      
      METHOD MyNewClass:create( oIde )
      
         DEFAULT oIde TO ::oIde
         ::oIde := oIde
      
         RETURN Self
      
      /*------------------------------*/
2010-03-19 08:50:45 +00:00
Pritpal Bedi
09888df291 2010-03-18 21:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.hbp
    ! Deleted .rc entry.
2010-03-19 04:17:03 +00:00
Pritpal Bedi
34835e989f 2010-03-18 20:49 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.hbp
  * contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/ideobject.prg
  + contrib/hbide/ideskeletons.prg
    + Reworked and greatly enhanced "snippets->skeletons" management.
      
      How it works:
      =============
      1. Creating of skelton is as before with same interface.

      2. In addition, the selected text in the current editor 
         can be saved as a skeleton via "Save as Skeleton..."
         option in right-click context menu. A "Name" will be 
         asked via a modal input edit dialog.

      3. A new "Skeletons" tree-view is implemented at the Left-hand 
         docking area which displays all skeletons by name. 

      4. Hovering cursor over the name node shows up the body of 
         skeleton as a tooltip, very handy.

      5. Double-click on the node in tree-view will insert the 
         skeleton text at the current cursor position.

      6. Alternatively, as before, menu can be activated via CTRL+K.

      7. Skeletons body now supports meta data as follows:
         ---
         DO WHILE .T. 
            IF cVar == "<-PROMPT>"
               xVar := <-DtoC( Date() )>
            ENDIF 
            <-CUR>
            EXIT
         ENDDO
         ---

         You can see there are 3 occurances of <-*> token.

         <-PROMPT> will execute an input dialog and the resultant 
         string will be inserted here.

         <-DtoC( Date() )> will evaluate the expression, which in 
         this case, - "03/18/2010" - will be inserted. This means 
         any valid Harbour expression which returns a string 
         can be designated as meta-expression.

         <-CUR> will position the cursor at this place.

         This is what I thought it should behave.
         Please let me know it anything else can make it more productive.
2010-03-19 04:10:35 +00:00
Pritpal Bedi
3540d78691 2010-03-18 15:02 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.ch
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/idethemes.prg
    + Unified hbide.ini and idewindow.ini.
      Now hbIDE uses standards .ini format.

      Please delete your hbide.ini.
2010-03-18 22:05:47 +00:00
Przemyslaw Czerpak
ceed1483be 2010-03-18 16:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbzlib.c
  * harbour/contrib/hbbzip2/hbbzip2.c
    ! fixed typo (reverted return value) in recent modification
2010-03-18 15:13:05 +00:00
Przemyslaw Czerpak
40e7f5faf9 2010-03-18 14:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/axcore.c
    * use hb_parstr_u16() instead of hb_mbtowc(hb_parc(n))

  * harbour/src/rtl/hbzlib.c
    * modified HB_ZUNCOMPRESSLEN(), current syntax is:
         HB_ZUNCOMPRESSLEN( <cCompressedData>, [<@nResult>] )
               -> <nUnCompressedDataLen> or -1 on error

  * harbour/contrib/hbbzip2/hbbzip2.c
    * modified HB_BZ2_UNCOMPRESSLEN(), current syntax is:
         HB_BZ2_UNCOMPRESSLEN( <cCompressedData>, [<@nResult>] )
               -> <nUnCompressedDataLen> or -1 on error
2010-03-18 13:10:17 +00:00
Viktor Szakats
b387963fad 2010-03-18 13:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    ! Fixed Debian bzip2 package name.

  * external/bzip2/Makefile
  * contrib/hbbzip2/hbbzip2.hbc
    * Changed local bzip2 lib name to match regular name used on *nix systems.

  * external/zlib/Makefile
    * Formatting.

  * contrib/hbmzip/Makefile
    ! Minor fix.
2010-03-18 12:30:42 +00:00
Pritpal Bedi
25c8bf590f 2010-03-17 23:50 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbptreeview.prg
    ! Added :tooltipText instance variable to manage tooltips.

  * contrib/hbide/hbide.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/resources/docwriter.ui
  * contrib/hbide/resources/docwriter.uic
    
    ! Reworked "Projects" and "Editors" tree.
      Now the indentation is reduced, visual elements are added,
      long paths are shifted inside tooltips, nodes are sorted.
    ! "Editors" tree now displays the panel icon on which this source
      is hosted. A very handy and useful implementation.

      These tree-views will remain stationary for the rest of hbIDE 
      development cycle, i.e., there will bo no change whatsoever 
      on these components.

    ! Many other artifacts corrected while working with the production 
      projects myself. Probably now you may try, at least, for real-time
      use.

    + Setup a dedicated web-presence of hbIDE
        http://hbide.vouch.info/

      Please remain in tough with these pages as contents will keep on 
      posted with every available spare time.
2010-03-18 07:03:54 +00:00
Viktor Szakats
fc8febf424 2010-03-17 00:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    ! Typo in prev.
2010-03-16 23:38:32 +00:00
Viktor Szakats
09adc56c2a 2010-03-17 00:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added bzip2 information. (not fully complete, it also 
      needs to be added to .spec files like zlib)

  - external/bzip2/bzip2.dif
  - external/bzip2/bzip2.c
  * external/bzip2/cnv_hb2o.bat
  * external/bzip2/cnv_o2hb.bat
  * external/bzip2/Makefile
    - Deleted accindentally included bzip2 tool.

  + contrib/hbbzip2/tests
  + contrib/hbbzip2/tests/hbmk.hbm
  + contrib/hbbzip2/tests/test.prg
    + Added little test code.

  + contrib/hbbzip2/hbbzip2.hbc
    + Added .hbc file.

  * contrib/hbbzip2/hbbzip2.ch
    + Added 'it's also used by C code' comment.
2010-03-16 23:34:33 +00:00
Viktor Szakats
11a131328b 2010-03-16 16:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbbzip2/Makefile
    + Added bzip2 header detection and setup.
    ; TOFIX: Some warnings:
      mingw:
         hbbzip2.c: In function 'hb_bz2Compress':
         hbbzip2.c:96: warning: left shift count >= width of type
         hbbzip2.c: In function 'hb_bz2UncompressedSize':
         hbbzip2.c:138: warning: left shift count >= width of type
         hbbzip2.c: In function 'hb_bz2Uncompress':
         hbbzip2.c:177: warning: left shift count >= width of type
      msvc:
         hbbzip2.c(96) : warning C4293: '<<' : shift count negative or too big, undefined behavior
         hbbzip2.c(138) : warning C4293: '<<' : shift count negative or too big, undefined behavior
         hbbzip2.c(177) : warning C4293: '<<' : shift count negative or too big, undefined behavior
2010-03-16 15:12:21 +00:00
Przemyslaw Czerpak
5d7406d3bb 2010-03-16 13:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/Makefile
  + harbour/contrib/hbbzip2
  + harbour/contrib/hbbzip2/hbbzip2.c
  + harbour/contrib/hbbzip2/hbbzip2.ch
  + harbour/contrib/hbbzip2/Makefile
    + added very simple wrapper to BZIP2 compression
      Now only buffer compression functions.
         HB_BZ2_VERSION() -> <cBZlibVersion>
         HB_BZ2_COMPRESSBOUND( <cData> | <nDataLen> ) -> <nMaxCompressLen>
         HB_BZ2_UNCOMPRESSLEN( <cCompressedData>, [<@nResult>] )
                  -> <nUnCompressedDataLen> or 0 on error
         HB_BZ2_COMPRESS( <cData>, [<nDstBufLen>|<@cBuffer>], [<@nResult>],
                          [<nLevel>] ) -> <cCompressedData> or NIL on Error
         HB_BZ2_UNCOMPRESS( <cCompressedData>, [<nDstBufLen>|<@cBuffer>],
                            [<@nResult>] ) -> <cUnCompressedData> or NIL
                                              on Error
2010-03-16 12:56:23 +00:00
Pritpal Bedi
b4c940fa79 2010-03-16 01:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
+ contrib/hbide/resources/arguments.png
  + contrib/hbide/resources/description.png
  * contrib/hbide/resources/docviewgenerator.ui
  * contrib/hbide/resources/docviewgenerator.uic
  + contrib/hbide/resources/docwriter.png
  + contrib/hbide/resources/docwriter.ui
  + contrib/hbide/resources/docwriter.uic
  + contrib/hbide/resources/editstree.png
  + contrib/hbide/resources/example.png
  + contrib/hbide/resources/helpdoc.png
  + contrib/hbide/resources/load_1.png
  + contrib/hbide/resources/load_2.png
  + contrib/hbide/resources/load_3.png
  + contrib/hbide/resources/panel_8.png
  + contrib/hbide/resources/projtree.png
  * contrib/hbide/resources/tabs.png
  + contrib/hbide/resources/tests.png
  * contrib/hbide/resources/togglelinenumber.png
  + contrib/hbide/resources/unload_1.png
    + Added more images, refind few.

  * contrib/hbqt/hbqt_hbqplaintextedit.cpp
    ! More artifacts corrected.

  * contrib/hbqt/hbqt_hbslots.cpp
  * contrib/hbqt/hbqt_hbslots.h
    + Added more slots.

  * contrib/hbxbp/xbptoolbar.prg
    ! Provided the "objectName" TO main toolbar.

  * contrib/hbide/hbide.hbp
  * contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idedocks.prg
  + contrib/hbide/idedocwriter.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idehome.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideobject.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idestylesheets.prg
  * contrib/hbide/idethemes.prg

    ! Corrected many artifacts, so many that cannot be mensioned precisely.
    + Implemented: basic documentation writer.

    Documentation Writer
    --------------------
      1.  Click on "Documentation Writer" icon on the right-toolbar,
      2.  Open some source in the editor,
      3.  Position cursor somewhere inside a function body,
      4.  Click on "Load from current function" icon on the 
          top-toolbar of "Document Writer" widget,
      5.  Look at the contents, few fields will be auto filled
          with various info from current function,
      6.  Complete the other fields with relevent information,
      7.1 Click on "Save the documentation with current function",
       .2 Look at the function body in the editor,
          The NANFORUM compliant documentation will be inserted
          at the top of function's prototype.
      8.1 Click on "Save written/updated documentation" icon,
          and provide the filename to save on disk,
       .2 Copy such generated .txt in /harbour/doc/en,
       .3 Open "Harbour Document Viewer" and you should be viweing 
          newly written documentation there.
       .4 Such generated file is ready to be uploaded to SVN,
          just send it to the list and group will decide if it needs
          something extra.

     It is a quick way to generate help. You can keep the documentation
     in your sources or can create a tree like Harbour's. I know
     there is a lot more to be done in this tool, but at least group
     can start using it.

     My humble request is: start writing the documentation. I will polish
     this tool in coming week, so be assured that everything which need
     be done will be done. You cooperation is more important than this tool.

     ;TODO: Loading existing doc and merging it back after edits, on disk.
            Loading doc from source file and replacing old with new one.
            And many more, plus, whatever you will demand.
2010-03-16 08:51:56 +00:00
Przemyslaw Czerpak
5e89ea04e5 2010-03-15 23:57 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/wapi_winuser.c
    + added new PRG function:
         WAPI_LoadImage( [<hInstance>], <cName>, [<nType>],
                         [<nWidth>], [<nHeight>], [<nFlags>] ) -> <hImage>

  * harbour/contrib/hbwin/Makefile
  + harbour/contrib/hbwin/win_shell.c
    + added new PRG function:
         WIN_ShellNotifyIcon( [<hWnd>], [<nUID>], [<nMessage>], [<hIcon>],
                              [<cTooltip>], [<lAddDel>] ) -> <lOK>

  * harbour/contrib/hbwin/hbwin.ch
    + added new constants for WAPI_LoadImage() and WIN_ShellNotifyIcon()
2010-03-15 22:57:31 +00:00
Viktor Szakats
5f0aba0845 2010-03-15 21:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * external/Makefile
    - Deleted "HB_EXTERNALLIBS=no" option. Blindly disabling
      all external libs can break the build process.
2010-03-15 20:58:45 +00:00
Przemyslaw Czerpak
4bbd974426 2010-03-15 21:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbthread.h
    ! added workaround for problems with static __thread variables in
      Open64 C compiler
2010-03-15 20:40:14 +00:00
Viktor Szakats
ad7229c78a 2010-03-15 21:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* external/bzip2/Makefile
  * external/bzip2/bzip2.dif
  * external/bzip2/bzip2.c
    + Added patch to make it compile on dos and os2/watcom.
      Thanks to Przemek.
2010-03-15 20:32:35 +00:00
Viktor Szakats
6fb5b677b4 2010-03-15 16:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ external/bzip2/bzip2.dif
    + Added .dif file.
2010-03-15 15:50:00 +00:00