Commit Graph

13769 Commits

Author SHA1 Message Date
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
Przemyslaw Czerpak
1ec98455d8 2010-03-15 14:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/dbfcdx/dbfcdx1.c
    ! fixed bad copy and past typo which could cause internal error when
      new index using existing order (subindex) was created without ADDITIVE
      clause. Bug reported by Mindaugas - many thanks for the information.
2010-03-15 13:04:33 +00:00
Przemyslaw Czerpak
897dda6c79 2010-03-15 12:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbstack.h
    * minor cleanup

  * harbour/external/bzip2/bzip2.c
    ! fixed to compile on platforms which do not accept "\" as path delimiter
2010-03-15 11:32:16 +00:00
Viktor Szakats
29d0c87141 2010-03-15 09:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/ctnet.c
  * contrib/hbtpathy/tpwin.c
  * contrib/hbnf/getenvrn.c
    ! Fixed to disable some functionality on all WinCE platforms.
      These were WinCE API functions wrongly declared in
      mingwarm/poccarm headers. (thus causing link-time errors
      for final apps trying to use these functions)

  * contrib/hbwin/win_dlg.c
    ! Enabled more functionality for WinCE. mingwarm builds
      will probably crash due to buggy commdlg.h header.

  * src/vm/fm.c
    ! Fixed to redefine ABORT for all wce/msvcarm targets.

  * utils/hbmk2/hbmk2.prg
    ! Minor typo in recently added help item.

  * contrib/gtwvg/gtwvg.h
  * contrib/gtwvg/wvggui.h
  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_prn2.c
  * contrib/hbwin/win_prn3.c
  * contrib/hbwin/win_dlg.c
  * contrib/hbodbc/odbc.c
  * contrib/rddsql/sddodbc/sddodbc.c
    ! Fixed to compile with -DWIN32_LEAN_AND_MEAN.
2010-03-15 09:00:55 +00:00
Viktor Szakats
c6f9de005f 2010-03-14 22:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* bin/postinst.bat
    ! Fixed hbmk2 -lang option.

  * contrib/hbwin/win_prn1.c
    - Deleted comment no more necessary.

  * utils/hbmk2/hbmk2.prg
    + Added -width= option to set output width.
2010-03-14 21:35:41 +00:00
Viktor Szakats
e97a7501d0 2010-03-14 21:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/fm.c
  * src/common/hbwince.c
  * include/hbwince.h
  * include/hbthread.h
  * contrib/hbct/ctnet.c
  * contrib/hbodbc/Makefile
  * contrib/xhb/hbserv.c
  * contrib/hbtpathy/tpwin.c
  * contrib/hbnf/getenvrn.c
  * contrib/rddsql/sddodbc/Makefile
  * contrib/hbwin/olecore.c
  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_dlg.c
  * config/wce/msvcarm.mk
    + Added support for msvcarm 2008.

  * utils/hbmk2/hbmk2.prg
    ! Synced msvcarm dynlib creatino options with Harbour build.
2010-03-14 20:32:31 +00:00
Viktor Szakats
16eeac6fba correction to chglog entry 2010-03-14 11:23:29 +00:00
Viktor Szakats
69ebe57a58 2010-03-14 12:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/wce/msvcarm.mk
  * utils/hbmk2/hbmk2.prg
    ! Added -D_ARM_ required by some MSVC releases.
      This caused compilation errors with some sources.
2010-03-14 11:22:12 +00:00
Viktor Szakats
69c5d5b6e9 2010-03-14 11:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxbp/xbpgra.prg
    ! Fixed to use HB_SYMBOL_UNUSED() instead of wrong "HBXBP_JUST"
      solution, which is a real call with overhead. Std method to 
      suppress unused warnings in Harbour is HB_SYMBOL_UNUSED().
      Or, if some function are plain dummies, it's not necessary 
      to delcare any parameters.
2010-03-14 10:49:03 +00:00
Pritpal Bedi
929dc5712e 2010-03-13 23:23 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbpgra.prg
    + Added one more function.
    - HB_SYMBOL_UNUSED() => HBXBP_JUST()
2010-03-14 07:28:41 +00:00
Pritpal Bedi
3d289790f4 2010-03-13 19:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/gra.ch
  * contrib/hbxbp/Makefile
  * contrib/hbxbp/xbpgeneric.prg
  + contrib/hbxbp/xbpgra.prg
  * contrib/hbxbp/xbppresspace.prg
    + Added Gra*() skeleton functions.
    ! Extended XbpPresSpace() class to cover next round of implementation.

    ; NOTE: I am not been able to find a way to execute Gra*()
            functions on a widget's presentation ( device context )
            space. Qt documentation clearly indicates that this is 
            only possible from withing method QEvent::Paint of 
            concerned widget. And it is correct. Windows itself also
            does not allow to paint from outside of WM_PAINT message.
            However my experiments have led me to the conclusion that
            this is possible if every widget is subclasses and QEvent_Paint
            is method is implemented. This is a very tedious and 
            very error prone job. If anybody come across some sparkling
            idea how this can be achieved in a resonable way, please
            speak out.

            However on other devices, such as, printer and bitmaps these 
            functions will be working. In the first phase I will implement
            it for printing only, later for widgets.
2010-03-14 03:15:55 +00:00
Viktor Szakats
f56b5a7205 2010-03-14 01:39 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/extrap.c
    ! Fixed to do UNICODE to "ANSI" conversion in module listing 
      code for WinCE platform. It'd be nice if a WinCE user 
      could test it.

  * src/rtl/filesys.c
    ! Silenced warning on newer mingwarm compilers about 
      unused function.
2010-03-14 00:41:14 +00:00
Viktor Szakats
f3caf5ad7e 2010-03-13 19:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed autodetection of mingwarm, when Cygwin is also 
      in PATH (it is supposed to be there, as it is a 
      requirement for C compiler).
2010-03-13 18:48:14 +00:00
Viktor Szakats
17c6e80808 2010-03-13 17:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + hbmainstd/hbmainwin lib is now added for mingw family
      to lib list also for static executables. It fixes the GPF
      at startup with Equation Solution mingw64 build. I hope
      it doesn't create any harm for other builds, it remains
      to be tested.
    % Disabled -fomit-frame-pointer for mingw64.

  * utils/hbformat/Makefile
  * utils/hbmk2/Makefile
  * utils/hbi18n/Makefile
  * utils/hbtest/Makefile
  * utils/hbrun/Makefile
  * config/win/mingw.mk
    % "HB_MAIN" logic eliminated from local make files and moved
      to mingw.mk only.
2010-03-13 16:27:08 +00:00
Viktor Szakats
0cae7b71e1 2010-03-13 15:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
  * utils/hbmk2/hbmk2.prg
    + Added autodetection for Equation Solution mingw64 builds.

  * INSTALL
    + Added link to Equation Solution mingw releases.

  * src/vm/itemapi.c
    * Formatting.
2010-03-13 14:07:12 +00:00
Pritpal Bedi
55fd7ac76e 2010-03-13 01:53 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbp.ch
  * contrib/hbxbp/xbpgeneric.prg
    + Implemented Xbase++ functions:
        AppName() -> APPTYPE_PM
        LastAppEvent( mp1, mp2, oXbp, nThreadID ) -> nEvent
        NextAppEvent( mp1, mp2, oXbp ) ->nEvent
        
    ; Please test on real-life scenario. Forward your findings.
      I cannot test them extensively without real-time code.
2010-03-13 09:59:18 +00:00
Pritpal Bedi
0efa452048 2010-03-13 00:13 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/Makefile
  * contrib/hbxbp/xbp.ch
  + contrib/hbxbp/xbpclipboard.prg
    + Implemented: XbpClipBoard() Xbase++ compatible class.
      At present XBPCLPBRD_TEXT and XBPCLPBRD_BITMAP formats are supported.
      XBPCLPBRD_TEXT is tested, please test XBPCLPBRD_BITMAP.
2010-03-13 08:22:18 +00:00
Przemyslaw Czerpak
cac5f29b2a 2010-03-13 09:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/hvmall.c
    * minor cleanup
2010-03-13 08:18:32 +00:00
Przemyslaw Czerpak
12d1e1cc88 2010-03-13 09:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbstack.h
  * harbour/src/vm/estack.c
  * harbour/src/vm/hvmall.c
    * moved static HVM stack declarations from header file to .c files
2010-03-13 08:03:03 +00:00
Viktor Szakats
145b21c110 2010-03-13 03:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/Makefile
  * src/vm/vmmt/Makefile
    ! Fixed GUI mode not working for mingw64 targets.
      [TOMERGE 2.0]
2010-03-13 02:19:10 +00:00
Viktor Szakats
16242fc4b7 2010-03-13 03:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwvt/gtwvt.c
    ! Reverted RegisterClassEx() to RegisterClass() for WinCE.
      Thanks for the information.

  * src/rtl/gtdos/gtdos.c
  * src/rtl/gtwvt/gtwvt.c
  * src/rtl/filesys.c
  * src/rdd/dbcmd.c
  * src/rdd/dbcmd53.c
  * src/rdd/wafunc.c
  * src/rdd/workarea.c
  * src/rdd/dbfcdx/dbfcdx1.c
  * src/rdd/dbffpt/dbffpt1.c
  * src/rdd/ordwldsk.c
  * src/rdd/hbsix/sxord.c
  * src/rdd/hbsix/sxsem.c
  * src/rdd/ordcount.c
  * contrib/hbtpathy/tpwin.c
  * contrib/rddbmcdx/bmdbfcdx.c
  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvggui.c
  * contrib/gtwvg/wvgwing.c
  * contrib/rddads/adsfunc.c
  * contrib/hbwin/axcore.c
  * contrib/hbwin/mapi.c
  * contrib/hbwin/win_dlg.c
    * 'memset( &obj, 0, sizeof( TYPE_OF_OBJ ) )'
      changed to:
      'memset( &obj, 0, sizeof( obj ) )'
      (same meaning but less room for mistake)
    * Variable scope cleanups in few places.

  * bin/hb-mkimp.bat
  * src/vm/itemapi.c
    * Formatting.
2010-03-13 02:07:35 +00:00
Pritpal Bedi
a09639ebf4 2010-03-12 17:20 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/generator/hbqtgen.prg

  * contrib/hbqt/qth/QList.qth
  * contrib/hbqt/qth/QObject.qth
 
  * Re0generated: contrib/hbqt/qtgui/?.cpp 
  * Re-generated: contrib/hbqt/qtcore/?.cpp    

    + Eliminated any occurance of hb_retptr(*) calls.
      Now all objects which are created with "new" or are
      returned as a method call are encapsulated in GC 
      pointer. This is a step closer to find-out the potential
      GPFs.
2010-03-13 01:28:47 +00:00
Przemyslaw Czerpak
d6d7154456 2010-03-13 01:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbstack.h
  * harbour/src/vm/estack.c
    % declare hb_stack TLS pointer in MT HVM as static when HVM is compiled
      with HB_HVM_ALL=yes

  * harbour/src/compiler/hbcomp.c
    ! added protection against multiple freeing the same expression on
      some errors in compiled code. It's necessary after removing reference
      counters which made such protection indirectly. It fixed bug reported
      by Teo.

  * harbour/include/hbsetup.h
    ! check GCC version for hot and cold function attribute macros
2010-03-13 00:26:30 +00:00
Pritpal Bedi
8e50cf7c40 2010-03-12 14:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/doc/en/class_qapplication.txt
  * contrib/hbqt/qtgui/QApplication.cpp
  * contrib/hbqt/qth/QApplication.qth
    - Removed tracelog calls.
2010-03-12 22:30:10 +00:00
Viktor Szakats
d409e83286 2010-03-12 20:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbverdsp.c
    + Show '(UNICODE)' in built options for UNICODE builds.
2010-03-12 19:31:06 +00:00
Viktor Szakats
301c5487dc 2010-03-12 15:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/filesys.c
    ! Fixed non-UNICODE code after recent get/set drive changes.
    % Minor opt.
2010-03-12 15:00:19 +00:00
Viktor Szakats
08886857bc 2010-03-12 14:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnf/fttext.c
    + Added FT_FWRITELN().
    * Converted FT_FWRITEL() to be a wrapper for FT_FWRITELN().

  * contrib/hbxpp/thfuncx.prg
    * Formatting.
2010-03-12 13:08:29 +00:00
Viktor Szakats
3cd5de7df6 2010-03-12 11:39 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Readded -pipe option for gcc (except djgpp) and icc/linux family
      compilers in a more sophisticated way. Now -pipe option is only
      used when hbmk2 controls the output filename, and in such case
      the output filename will always be deleted by hbmk2 if the
      C compiler returned error. This way -pipe can never leave
      faulty or dummy object files on disk, confusing incremental builds
      or just leaving trash behind. BTW, it'd be interesting to
      know why such seemingly buggy behavior hasn't been fixed in gcc
      in the last 6-7 years... (making -pipe option useless for Harbour 
      build process f.e.)
2010-03-12 10:42:29 +00:00
Pritpal Bedi
93e56f88a3 2010-03-12 01:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h
    ! Fixed behavior of book-marks. Now color representation 
      on bookmarked lines is persistent and consistent with 
      corresponding buttons in the statusbar.
2010-03-12 09:08:06 +00:00
Viktor Szakats
805f3b55e8 2010-03-12 02:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbssl/evpmd.c
    ! Disabled md2 support for >= 1.0.0 OpenSSL versions.
      Seems they dropped it.

  * contrib/hbssl/ssl.c
  * contrib/hbssl/x509.c
  * contrib/hbssl/sslctx.c
    ! Disabled some code parts which didn't compile with
      >= 1.0.0 OpenSSL versions. This is not the right fix,
      but I just can't figure what went wrong (or what
      has been changed) in OpenSSL which cases it. There
      is something wrong around 'X509_NAME' symbol.

  * utils/hbmk2/hbmk2.prg
  * config/beos/gcc.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/darwin/gcc.mk
  * config/hpux/gcc.mk
  * config/win/mingw.mk
  * config/win/cygwin.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
    - Deleted '-pipe' option. Efficient, but buggy. It didn't take
      too long to bump into the problem: On build error, the
      .o file is generated with some dummy content, so a second
      build attempt will silently make build errors ignored.

  * contrib/rddsql/sddfb/sddfb.c
    * Minor formatting.
2010-03-12 01:11:58 +00:00
Viktor Szakats
a783c4648f 2010-03-12 00:39 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/filesys.c
    ! Fixed fs_win_get_drive() to return zero (instead of -1) 
      when drive letter wasn't returned by Windows API.
      (it's not clear what is the proper error behavior here)
    ! Fixed fs_win_set_drive() to apply upper limit on input 
      parameter.

  * contrib/rddsql/sddfb/sddfb.c
    * Minor formatting.
2010-03-11 23:40:40 +00:00
Viktor Szakats
b4e4cc655b 2010-03-11 23:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddfb/sddfb.c
    ! Few cleanups in the FB RDDSQL interface (macro and type usage).
    ; It's not an attempt to fix recently reported bugs on the list.
2010-03-11 22:28:22 +00:00
Viktor Szakats
2058bfc53b 2010-03-11 22:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/gtwvg.c
    ! Fixed change: 2010-03-11 13:20 UTC-0800
    * HB_GTI_PALETTE handling code fully synced with gtwvt.c.
2010-03-11 21:27:45 +00:00