Commit Graph

4188 Commits

Author SHA1 Message Date
Pritpal Bedi
7f6a0de6de 2010-15-18 14:30 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idetags.prg
    + Implemented: Context-menu option "Goto Function" looks 
        for the function/method in the current source first,
        and if found, jumps to that, otherwise it rellies on 
        tagging. It implies that functions in current source 
        are always can be reached with "Goto Function" option
        which operates on word under cursor.
2010-05-18 21:35:15 +00:00
Pritpal Bedi
3854243a55 2010-15-18 13:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/ideprojmanager.prg
    % Fixed: tab order in "Projects Properties" dialog.
      Thanks to Maniero for reporting.
2010-05-18 20:02:35 +00:00
Przemyslaw Czerpak
7bc8a8c506 2010-05-18 18:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/win_svc.c
    ! fixed compilation with compilers which disable winsvc.h
      if WIN32_LEAN_AND_MEAN is set, i.e. POCC and XCC
2010-05-18 16:54:37 +00:00
Pritpal Bedi
db0dce4566 2010-15-17 23:59 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h
    + Finalized: all the three modes of selection programatically.
        ::toggleStreamSelection()    No Key
        ::toggleColumnSelection()    No Key
        ::toggleLineSelection()   == F11
        ::clearSelection()        == Sh+F11
      If a selection mode is initiated by above three methods,
      it can only be exited by calling the same method again.
      During such selection process all other keys than navigable 
      keys will remain disabled. Mouse-move will also not work.
      Mouch click will work. If Column selection mode is ON,
      caret will not show up. Toolbar icon will not respond to 
      change such action. Once exited, previous normal behavior
      for stream and column selection will be available.

      Please test.
2010-05-18 07:09:40 +00:00
Pritpal Bedi
171fd5fa66 2010-15-17 19:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/ideshortcuts.prg
    + Prepared to handle three modes of selections programatically.
      F11 Line Selection is broken currently.
2010-05-18 02:07:33 +00:00
Przemyslaw Czerpak
8c8aadfc3b 2010-05-18 02:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbvm.h
  * harbour/src/vm/hvm.c
    + added new C function hb_vmIsActive()

  * harbour/src/rtl/memvarhb.prg
    ! fixed procedure returning value
    ! store only simple variables in HB_MVSAVE() just like __MSAVE()
      Possible extension: add option to store also NIL, arrays, hashes
      and maybe object variables.
    ! restore variables in HB_MVRESTORE() as private ones just like
      __MVRESTORE()

  * harbour/contrib/hbwin/oleinit.c
  * harbour/contrib/hbwin/olecore.c
    * updated to compile and link in WinCE builds. Now code using OLE
      can be linked with MinGWCE builds without any errors but I have
      no idea if it works. Can someone check it?
2010-05-18 00:42:51 +00:00
Pritpal Bedi
53d0cb6e67 2010-15-17 17:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/doc/en/class_hbqplaintextedit.txt
  * contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h
  * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp
  * contrib/hbqt/qtgui/THBQPlainTextEdit.prg
  * contrib/hbqt/qth/HBQPlainTextEdit.qth

  * contrib/hbide/idedocwriter.prg
    % Guarded against inserting help if "readonly" flag is ON.

  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/ideshortcuts.prg
    + Added: navigational methods plus methods pertaining to 
        line operations into public API. Naviagable methods are :
        ::up(), ::down(), ::pageUp(), ::pageDown(), ::goTop(), 
        ::goBottom(), ::right(), ::left(), ::end(), ::home(),
        ::panEnd(), ::panHome(). 
        //
        These methods can be used in combination with selection modes.
        
    + Grouped: public methods list by category which is displayed
        under visually distinguished colors. Now it is easy to find 
        a method of interest easily. Before it was a literal mess.
2010-05-18 00:38:40 +00:00
Viktor Szakats
e4196785d1 2010-05-17 20:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
  * src/rtl/Makefile
  + src/rtl/memvarhb.prg
    + Added:
        HB_MVSAVE( <cFileName>, [<cMask>], [<lIncludeMask>] )
        HB_MVRESTORE( <cFileName>, [<lAdditive>], [<cMask>], [<lIncludeMask>] )

      They serve the same purpose with same interface
      and similar behavior to __MVSAVE()/__MVRESTORE()
      (and __MSAVE()/__MRESTORE(), and 'SAVE TO' command),
      only that they support longer than 10 char variable names.
      It is not possible to add such support in Clipper-style
      .mem files, so these functions will create an incompatible
      file format with default '.hbv' extension.

    ; TOFIX: __MVRESTORE() restores variables as PRIVATEs
             while HB_MVRESTORE() as PUBLIC.
    ; NOTE: GETLIST exclusion is solved with simple trick,
            as I couldn't find how it's solved in __MVSAVE().
    ; Consider this experimental solution to the problem.

  * contrib/hbmysql/tmysql.prg
    % STOD( "" ) -> STOD()

  * contrib/hbide/ideprojmanager.prg
    ! -hbexec -> -hbexe

  * src/rtl/typefile.prg
    ! __TYPEFILE(): Fixed both RTEs to be Clipper compatible.
2010-05-17 18:49:23 +00:00
Pritpal Bedi
7eded4f427 2010-15-17 07:33 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
    ! Fixed: misbehavior of "Del" key.

  * contrib/hbide/ideeditor.prg
    % Changed: hb_fGetAttr( cFile, nAttr) tested agains 
        hb_bitAnd( nAttr, FC_READONLY ) == FC_READONLY

  * contrib/hbide/ideshortcuts.prg
    % Changed: Public Method ::toggleSelectionMode() to ::toggleColumnSelectionMode()
2010-05-17 14:39:41 +00:00
Pritpal Bedi
f093d0a28b 2010-15-16 23:02 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideobject.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idesources.prg
    + Implemented: "new" source opens a file save dialog to provide
        a valid name with extention. Syntax highlighting will be based on that.
    + Implemented: "new" project opens a Select Path dialog to 
        designate the project location. The path obtained as such is 
        posted in the "Project Location field of "Project Properties".
2010-05-17 06:09:28 +00:00
Pritpal Bedi
1a264692f1 2010-15-16 21:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/resources/tabreadonly.png
    ! Changed: to reflect clearly visible readonly status.

  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
    + Implemented: <MainMenu><Edit><Switch ReadOnly Mode> plus 
        file's "readonly" attribute obtained by hb_fGetAttr() == 33
        ( please correct me if it is not OK on all systems ).
        
        "Switch ReadOnly Mode" toggles the readonly status of the 
        current source in focus only if on disk attribute is normal.
        ReadOnly status is permanent if disk attribute equals 33 and 
        cannot be toggled.

        While in readonly mode, cut/paste/alter operation are suspened,
        only copy operation is supported. Copy can be performed with
        mouse and keyboard both and all three modes are available.
2010-05-17 04:33:03 +00:00
Viktor Szakats
967945e86e 2010-05-17 00:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/sddfb/sddfb.hbi
    ! Sync with recent fix in contrib/hbfbird/hbfbird.hbi.

  * src/vm/memvars.c
    * Minor typo in comment.
    * Formatting.
2010-05-16 23:01:55 +00:00
Pritpal Bedi
df85a620e5 2010-15-16 15:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h
  * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp
  * contrib/hbide/ideedit.prg
    ! More fluency and refinements in selection process spanning 
      across all three modes.
2010-05-16 22:44:11 +00:00
Viktor Szakats
dc9e6e1604 2010-05-16 23:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* debian/rules
  - doc/man/hbmk.1
  + doc/man/hbmk2.1
    ! Renamed to hbmk2 to be in sync with name of the tool.

  * Makefile
    ! Fixed to always descend into utils directory,
      because (in 'install' mode) hbrun and hbmk2 needs
      to be built regardless of HB_BUILD_PARTS setting.

  * contrib/hbfbird/hbfbird.hbi
    ! Fixed to set output libname. This is needed because
      we can't rely on input filename due to mingw trick.

  * config/global.mk
    + Show HB_BUILD_IMPLIB setting. Now there is nothing
      hackish in it, so it can be fully supported setting.

  * config/postinst.prg
    % Minor optimizations in hbmk2 invocation lines.
      (removed unnecessary spaces, using envvar macros,
      deleted unnecessary double quotes)
    ! Fixed (in two places) to only invoke hbmk2 if
      HB_HOST_BIN_DIR envvar is set.
    ! NSIS invocation command made more friendly to cross
      platform environment by using native pathsep.
    + Will now echo the external commands issued to stdout.
2010-05-16 21:41:13 +00:00
Viktor Szakats
7bcb7dd307 2010-05-16 19:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.prg
    + Added new experimental envvar:
         HB_BUILD_ADDONS=prj1.hbp prj2.hbp prjn.hbp
      Harbour build process will initiate the build of the passed 
      .hbp files at 'install' phase.
    % Simplification to other hbmk2 invocation commands.

  * contrib/hbwin/win_svc.c
    ! Fixed to set running status only if entry function 
      is valid and able to reenter HVM.
    + Added trace message when entry function cannot be found.
2010-05-16 17:06:07 +00:00
Pritpal Bedi
bf43b397be 2010-15-16 05:47 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h
  * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp
  * contrib/hbide/ideedit.prg
    ! Fixed: Ctrl+X: cut() was faultering.
2010-05-16 12:52:16 +00:00
Viktor Szakats
1276155cea 2010-05-16 11:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_svc.c
    ! Fixed callback definitions to be the ones required by Windows.
    ! Fixed main service entry callback to use TCHAR rather than simple char.
    + Added support to pass service launch parameters to Harbour entry
      function.

  * contrib/hbwin/tests/testsvc.prg
    + Added code to demonstrate parameter passing feature.
2010-05-16 09:13:16 +00:00
Pritpal Bedi
2cbd3c05ad 2010-15-15 18:31 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/qtgui/HBQPlainTextEdit.cpp
    ! Just to recompile hbqtgui.lib

  * contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h
  * contrib/hbide/ideedit.prg
    ! Fixed: more artifacts about selection/copy operations.
2010-05-16 01:38:02 +00:00
Viktor Szakats
cd2bf669a6 2010-05-16 01:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/tests/testsvc.prg
    ! Minor adjustment.
2010-05-15 23:28:28 +00:00
Pritpal Bedi
1457fbc221 2010-15-15 16:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbide/ideedit.prg
    ! Fixed more artifacts about reverse selection/copy operations.
2010-05-15 23:07:00 +00:00
Viktor Szakats
5f14347dd5 2010-05-16 00:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/Makefile
  - contrib/hbwin/win_srv.c
  + contrib/hbwin/win_svc.c
  - contrib/hbwin/tests/testsrv.prg
  + contrib/hbwin/tests/testsvc.prg
    * Renamed files ('svc' slightly better describes services
      than 'srv' which can be 'server').
2010-05-15 22:58:07 +00:00
Viktor Szakats
d288ba1031 2010-05-16 00:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_srv.c
  * contrib/hbwin/tests/testsrv.prg
    * Cleaned list of header files.
    * Synced static string buffer sizes with allowed maximums
      and appropriate macro.
2010-05-15 22:50:20 +00:00
Viktor Szakats
3c73aae543 2010-05-16 00:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_srv.c
    * Renamed more variables.
    * Moved around hb_strfree() calls to fully avoid the possibility
      of freeing string pointers still assigned inside Windows
      structures.
    ! WIN_SERVICESTART() fixed to set last error.

  * contrib/hbwin/tests/testsrv.prg
    ! Fixed to have the default action called
      when started without parameter. Required
      to make it start when started as service.
    + Test service changed to create a file in
      a predictable place (next to .exe) and
      fill that with output. Made sure that file is
      readable by other processes.
    * Cleaned service ID/description.

  ; I've made successful test with current code.
2010-05-15 22:39:41 +00:00
Viktor Szakats
669d479980 2010-05-16 00:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_srv.c
    ! Fixed static variable types and usage.
    ! Fixed wrongly used string types.
    ! Fixed storing temporary pointers to static variables.
      Making a copy of the strings instead.
    % Deleted unnecessary function declarations.
    % Using HB_SIZEOFARRAY() instead of repeating size.
    ! Fixed variable names to reflect type.
    ; These fixed previously found errors.

  * contrib/hbwin/tests/testsrv.prg
    * Replaced ALERT() with '?'.
    ! Fixed to use HB_TR_ALWAYS to avoid Harbour warning.
    % FUNCTION -> PROCEDURE
2010-05-15 22:03:53 +00:00
Pritpal Bedi
52f91ee823 2010-15-15 14:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/ideedit.prg
    ! Fixed: copy with Sh+Left was not working ok when employed backward in stream mode.
2010-05-15 21:27:37 +00:00
Viktor Szakats
7b9478df7e 2010-05-15 22:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* doc/howtosvn.txt
    * More clearing up.

  * contrib/hbwin/win_srv.c
    ! Fixed one TOFIX which was result of s&r on my part.
    ; TOFIX remaining:
      ---
      ../../../win_srv.c: In function 'hbwin_SrvFunction':
      ../../../win_srv.c:102:4: warning: passing argument 1 of 'RegisterServiceCtrlHandlerW' from incompatible pointer type
      f:\devl\mingw-450\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winsvc.h:234:40: note: expected 'LPCWSTR' but argument is of type 'char *'
      ../../../win_srv.c: In function 'HB_FUN_WIN_SERVICESTART':
      ../../../win_srv.c:279:21: warning: assignment from incompatible pointer type
      ../../../win_srv.c:280:21: warning: assignment from incompatible pointer type
      ---
2010-05-15 20:21:32 +00:00
Viktor Szakats
b3a0de3416 2010-05-15 21:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* doc/howtosvn.txt
    + Made it more clear that 'Chr(36)' should be replaced by '$'.

  * ChangeLog
    ! Stripped accented char. Pls keep all files in 7-bit mode.

  * contrib/hbwin/hbwin.ch
  * contrib/hbwin/win_srv.c
  * contrib/hbwin/tests/testsrv.prg
    ! Cleanup fixes:
      ! Fixed missing SVN props (pls see howtosvn.txt and my e-mail today about them)
      ! Fixed SVN header
      ! Stripped accented char.
      ! Deleted <windows.h>.
      ! Tabs converted to spaces.
      ! Fixed indentation and formatting.
      % Optimized code to have less redundancy.
      ! Fixed name of static vars.
      % Made callbacks static.
      ! Fixed hbwin.ch constants to have WIN_ prefix.
      ! Fixed references to unknown functions in test code.
      % Test code reworked to have user selectable modes via cmdline parameter.
      ! Fixed to define all functions also in WinCE mode, but
        with dummy functionality.
      ! Fixed memory potential leak in WIN_SERVICEDELETE().
      ! Added some casts.
      % Variables declarations moved to inner scopes.
    ; TOFIX:
        - UNICODE build problem in hbwin_SrvFunction().
        - possible memory corruption in WIN_SERVICESTART()?
        - 'implicit declaration of function 'Sets_ServiceStatus'' in hbwin_SrvFunction().
        ; All the above are shown as mingw warnings.
2010-05-15 19:31:19 +00:00
Pritpal Bedi
3c79ab6e53 2010-15-15 12:20 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
    ! Fixed: selection with Sh+Left was not working ok.
2010-05-15 19:23:54 +00:00
Pritpal Bedi
515f1b1a11 2010-15-15 12:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/doc/en/class_hbqplaintextedit.txt
  * contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h
  * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp
  * contrib/hbqt/qtgui/THBQPlainTextEdit.prg
  * contrib/hbqt/qth/HBQPlainTextEdit.qth

  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
    ! Fixed: the artifacts reported by Mindaugas and Itamar.
    ! Optimized: C++ code.
    ! Fixed: many other artifacts, i.e., status-bar panel was wrongly 
        reporting selection mode.

    Mindaugas, can you please test again ?
2010-05-15 19:08:54 +00:00
Jose Luis Capel
b8324adfec 2010-05-15 20:02 UTC+0200 José Luis Capel (jlcapel at hotmail . com)
+ contrib/hbwin/win_srv.c
   + contrib/hbwin/tests/testsrv.prg
   * contrib/hbwin/hbwin.ch
   * contrib/hbwin/Makefile
     + Basical support for running a harbour application as a windows server.  
       See tests/testsrv.prg.
2010-05-15 18:25:31 +00:00
Przemyslaw Czerpak
b5bf98ef0f 2010-05-15 20:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/olecore.c
    ! added protection against possible buffer overflow when more then
      32 parameters is passed by reference from foreign code - thank to
      Mindaugas for locating the problem.
2010-05-15 18:02:33 +00:00
Viktor Szakats
948023ab13 2010-05-15 17:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour.spec
  * contrib/Makefile
  + contrib/hbsms
  + contrib/hbsms/tests
  + contrib/hbsms/tests/send.prg
  + contrib/hbsms/tests/hbmk.hbm
  + contrib/hbsms/hbsms.prg
  + contrib/hbsms/hbsms.hbc
  + contrib/hbsms/Makefile
  * utils/hbmk2/examples/contribf.hbc
    + Readded hbsms lib.
    + Modified to use newly added core com functions
      via HBCT .prg level interface. (instead of hbtpathy)
    + Added disclaimer:
        EXPERIMENTAL CODE. USE AT YOUR OWN RISK. NO GUARANTEES.
      The code well may be pure crap, so if you have problem
      with it, supply working patches. Pls note that the
      reader function uses locally implemented timeout
      functionality, which may or may not work at all,
      though you can fix it if you have better idea.
      I've only tested it using Mac OS X 10.6 + old Nokia "S40"
      phone and one bad SMS number to see it kicks off at
      all and that's also the end of my testing possibilities.
2010-05-15 15:47:11 +00:00
Przemyslaw Czerpak
1b39f1e55c 2010-05-15 10:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/hbwinole.h
  * harbour/contrib/hbwin/olecore.c
    + added new C function hb_oleDispInvoke()

  * harbour/contrib/hbwin/axcore.c
    * use hb_oleDispInvoke() - please test if activex controls still work
      correctly
2010-05-15 08:32:36 +00:00
Przemyslaw Czerpak
2bf6bbd4b8 2010-05-15 09:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbcom.c
  * harbour/contrib/hbct/ctcom1.c
  * harbour/contrib/hbct/ctcom2.c
    * removed unused code and added parenthesis to pacify warning

  * harbour/contrib/gtwvg/gtwvg.h
  * harbour/contrib/gtwvg/wvggui.h
  * harbour/contrib/hbwin/win_dlg.c
    * updated included header files
      (it fixes problem with BCC5.5 and POCC/XCC builds)
2010-05-15 07:43:37 +00:00
Viktor Szakats
0f68ed9c65 2010-05-15 09:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbziparc/hbziparc.prg
    ! Fixed regression in HB_ZIPFILE() to make it work in 
      "append" mode even when the .zip didn't exist.
2010-05-15 07:16:49 +00:00
Pritpal Bedi
03c87d0ace 2010-15:14 17:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h
  * contrib/hbide/ideedit.prg
    ! Fixed: "copy" operation on stream selection was returning 
      wrong text.
2010-05-15 00:45:27 +00:00
Pritpal Bedi
2540853f0b 2010-15:14 14:31 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/ideprojmanager.prg
    ! Synchronized to open "Project Tree" if "Open Project..."
      is selected from <MainMenu><Files>.

  * contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h
    % Many artifacts belonging to horizontal scroll while 
      text is selected. Also few aspects are optimized.

    To me it appears as if selection protocol in hbIDE is OK.
    Please post your experiences if something is not upto the 
    expectations.
2010-05-14 21:36:07 +00:00
Pritpal Bedi
0d35f1c42b 2010-15:14 07:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/resources/curlinehilight.png
    ! Some refinement though not sufficient yet.

  * contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbide/ideedit.prg
    ! More optimization and behavioral changes is selected text.
      Still litte more work to be done.

  * contrib/hbide/idesaveload.prg
    ! Reintroduced "settings.ide" .ini like file, placed along 
      hbide.ini", to hold Qt written hbIDE settings. This reversal 
      is triggered by the fact that, under unknown circumstances, 
      Qt just mangles the hbIDE.ini contents to a level that a lot of 
      information it stores is lost. This has happened to me many 
      times after the settings info was made to be retained in 
      hbIDE.ini itself. Please do not change it until I come up 
      with the way to read and write byte arrays per Qt.
      Below is the little snapshot what Qt inserts some info 
      inside existing other text not meant for "idesettings" keyword:

      =================================
      [FIND]
      find_1=setselection
      find_2="imagesfind_3=images/"
      find_4=":/\r\nfind_5=ShowCaretAtCurrentPosition\r\nfind_6=moveExtendsSelection\r\nfind_7=oDlg\r\nfind_8[ MORE LIKE IT ] +
      ,,,,,\r\n \r\n[General]\r\n \r\n"

      [ ALL OTHER SECTIONS BELOW MANGLED AS ABOVE ]

      [General]
      hbidesettings="@ByteArray(  [ PLUS MORE, IT IS CORRECT ]
      =================================
2010-05-14 14:17:07 +00:00
Pritpal Bedi
a62a889596 2010-15:13 19:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
    + Implemented: column selection with mouse honoring vertical scrolling.
      Hopefully I may be able to implement horizontal scrolling too.
2010-05-14 02:06:12 +00:00
Viktor Szakats
7665582530 2010-05-13 10:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/test.prg
    ! Implemented missing function.

  * package/winuni/RELNOTES
    * upx 3.04 -> 3.05

  * contrib/hbct/ctcom1.c
    * Minor formatting.
2010-05-13 08:01:33 +00:00
Viktor Szakats
88a247ea23 2010-05-12 16:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/gtalleg/gtalleg.hbi
  + contrib/hbblat/hbblat.hbi
  + contrib/hbcairo/hbcairo.hbi
  + contrib/hbcurl/hbcurl.hbi
  + contrib/hbfbird/hbfbird.hbi
  + contrib/hbfimage/hbfimage.hbi
  + contrib/hbgd/hbgd.hbi
  + contrib/hbhpdf/hbhpdf.hbi
  + contrib/hbmysql/hbmysql.hbi
  + contrib/hbpgsql/hbpgsql.hbi
  + contrib/hbssl/hbssl.hbi
  + contrib/rddads/rddads.hbi
  + contrib/sddfb/sddfb.hbi
  + contrib/sddmy/sddmy.hbi
  + contrib/sddoci/sddoci.hbi
  + contrib/sddpg/sddpg.hbi
    + Added local import library generation hbmk2 make files
      to each contrib which requires it.

  * config/postinst.prg
    + Changed to use contrib local implib creation hbmk2 scripts to
      create import libraries.
    - Deleted mingw exception for ocilib to use the static library.
      Static lib is definitely better, but if someone would like to
      use it, it should be done locally/manually, just like for any
      other dependency.
    + Solved firebird implib creation hack/exception in contrib
      local .hbi file.
    ; These fix the last "centralization" issues in Harbour make system.
      Still remains documentation problem (everything is in INSTALL),
      and *nix .deb/.rpm centralized solution for contrib dependencies
      and contrib names in general.

  * utils/hbmk2/hbmk2.prg
    + Combining multiple -o options (one with name, one with directory)
      is now supported in -hbimplib mode. This makes it work like in
      other existing modes.
    ! Fixes regarding -o option combining and dir inheritance.
      (beware of regressions here)

  * contrib/gtalleg/gtalleg.hbc
    * Changed to use import library on Windows with an unmodified name
      (containing version).

  * src/rtl/hbcom.c
    ! Fixed one non-ANSI comment.

  * ChangeLog
    + Added two changes missed from prev entry:
      * utils/hbmk2/hbmk2.prg
        + In -hbimplib mode any options are automatically passed to
          import library creation command (so -iflag option is not
          absultely needed)
        - Deleted -mkimplibms option now replaces by generic -iflag
          solution.
    ! Stripped UTF-8 char from a recent entry.
2010-05-12 15:02:01 +00:00
Przemyslaw Czerpak
071313e56e 2010-05-12 14:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbnetio/netiosrv.c
    ! fixed yet another typo located by Aleksander Czajczyki which
      caused internal error (hb_xfree() with NULL pointer)
2010-05-12 12:30:27 +00:00
Przemyslaw Czerpak
604cce1812 2010-05-12 12:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbnetio/netiosrv.c
    ! fixed typo in NETIO_SRVSTATUS() - -2 was always returned
      (modification committed by mistake in my previous commit)
    ! fixed to return .F. by NETIO_SRVSEND{DATA,IETM}() if hb_znetFlush()
      reports error.
      Many thanks for Aleksander Czajczyński for information about problems
      and his extensive tests.
2010-05-12 10:10:54 +00:00
Pritpal Bedi
ad33d13d67 2010-17:24 18:23 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
+ contrib/hbide/resources/curlinehilight.png
    Added missinf icon from prev commit.
2010-05-12 01:24:41 +00:00
Pritpal Bedi
51f3437a79 2010-17:24 07:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/plugins/savebackup.hrb
  * contrib/hbide/plugins/savebackup.prg
    ! Fine tuned to receive correct number of parameters.

  * contrib/hbqt/doc/en/class_hbqplaintextedit.txt
  * contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h
  * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp
  * contrib/hbqt/qtgui/THBQPlainTextEdit.prg
  * contrib/hbqt/qth/HBQPlainTextEdit.qth

  * contrib/hbide/hbide.prg
  * contrib/hbide/idedocks.prg
    + Added Icon: Toggle current Line Highlight in "Lines" toolbar.
      Public API method is ::toggleCurrentLineHilight().

  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/ideenviron.prg
    ! Reverted: line edits font - monospace to GUI.

  * contrib/hbide/ideobject.prg
  * contrib/hbide/ideplugins.prg
    ! tuned to send oIDE and cVer as first and second 
      argument to {plugin}_init( oIde, cVer ).

  * contrib/hbide/ideprojmanager.prg
    ! Reverted: line edits font - monospace to GUI.

  * contrib/hbide/ideshortcuts.prg
    + Public Method - ::toggleCurrentLineHilight().
      Toggles displaying current line in distinct color.

  * contrib/hbide/idethemes.prg
    + Activated: Selection Background slot.
      It facilitates to control the color of selections per theme basis.

    + Prepared to toggle matching braces mode - both vs single.
      "Setup" dialog will contain its place holder.

    % Fixed many other artifacts coming into way, and possibly
      might have broken a few ones, please report.
2010-05-12 00:41:24 +00:00
Przemyslaw Czerpak
9d13008427 2010-05-12 02:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/external/minizip/ioapi.h
    ! fixed FreeBSD and HAIKU builds

  * harbour/src/rtl/fserr.c
    * added translation for EPERM

  * harbour/include/Makefile
  + harbour/include/hbapicom.h
  * harbour/src/rtl/Makefile
  + harbour/src/rtl/hbcom.c
    + added Harbour multiplatform serial port C API (hb_com*() functions).
      implemented code for *nixes, MS-Windows and OS2. DOS is not supported
      yet. Please make test on different platforms.
    ; few notes about this code:
      termios (*nix) based builds:
         - reading LSR is not supported
         - duration in break signal is fixed (at least 0.25 seconds, and not
           more that 0.5 seconds)
         - DTR/DSR hardware flow control is not supported
         - setting error character is not supported
         - discard card is supported only on few platforms
         - checking input/output flow state is not supported
         - if some platforms do not support some termio extensions then
           compile time warnings TODO_* should be generated.
      MS-Windows builds:
         - discard card is not supported
      OS2 builds:
         - checking for input flow state is not supported
         - discard card is not supported
      In all builds not all RS-232 hardware flags/state are available.
      OS2 build supports most of them,

      This code needs to be extensively tested. I wrote it without any
      serious tests. Especially OS2 builds should be verified by OS2
      users. I wrote this port using only documentation which OS2 API
      available in the Internet.

      DOS is not supported yet though it's possible to compile termio code
      for *nixes with DJGPP. Anyhow it would be very nice if we can add
      our own DOS serial port code. I would like to ask if any of you
      has low level serial port code in C for DOS (i.e. used with Clipper)
      and can send it to us so we can use it with Harbour. I have my
      own serial port library for Clipper but it's written in assembler
      and it's much wider then sth what we need so it cannot be easy
      adopted for Harbour.

  * harbour/contrib/hbct/Makefile
  + harbour/contrib/hbct/ctcom1.c
  + harbour/contrib/hbct/ctcom.ch
  + harbour/contrib/hbct/ctcom2.c
    + added CT3 compatible COM_*() functions.
    + added CT3 compatible XMOBLOCK(), XMOCHECK(), ZEROINSERT() and
      ZEROREMOVE() functions.
    + added new CT COM function:
         COM_DEVNAME( <nComPort> [, <cNewName> ] ) -> <cPrevName>
      which can be used to specify device name for given port in modern
      systems which do not give direct hardware access for the process.
    ; few notes about CT3 COM_*() functions in Harbour.
      In COM_OPEN() only 1-st parameter is significant, input/output buffer
      sizes and trap mode parameters are ignored. In modern OS-es such
      functionality is controlled by OS and usually buffered read/write
      is always enabled. The sizes of IO buffers can be used only as
      suggested IO buffer size for OS in some systems. It's possible that
      these additional parameters will be used in DOS builds in the future.
      COM_READ() does not support 2-nd parameter <lNoDelete>. It can be
      implemented but because we do not have direct access to OS buffers
      then we will have to emulate it ourselves what is rather inefficient.
      Anyhow I can implement it if users think it's critical.
      In COM_CRC() I fixed few CT3 bugs so it's not bug compatible with CT3,
      i.e. it works correctly for 8 bit and smaller polynomials instead of
      returning 0 or supports much larger polynomials up to 64bits.
      For 16/17 bit polynomials it gives the same results as CT3 so for most
      common usage it should be binary compatible with CT3.
      In ZEROREMOVE() I fixed decoding some wrong CCITT strings which does
      not have trailing 0 so it returns empty string "" for such corrupted
      data. If someone needs original CT3 behavior for some broken code then
      is can be enabled by HB_CT3_ZEROREMOVE_BUG macro.

      I haven't implemented few functions.
      COM_GETIO(), COM_SETIO(), COM_GETIRQ(), COM_SETIRQ() are not portable
      and can be implemented only for really few platforms, i.e. for DOS
      when/if we add support for serial ports to Harbour DOS builds.
      Similar functionality for all other platforms gives our new function
      COM_DEVNAME().
      COM_KEY(), COM_SKEY() and COM_EVENT() are also not implemented.
      To make them well we should add support for asynchronous events to HVM
      and such extension is still unavailable. Some simulation can be
      implemented using idle tasks but this can be done also by final
      Harbour users so I decided to not make it.

      Please test it - I've never used CT3 COM_*() API with Clipper.

  * harbour/contrib/hbct/dummy.c
    * removed dummy CT3 serial communication functions
    ; such files with dummy functions introduces very serious problems for
      user code because they do not respect original module granularity
      effectively breaking overloading only chosen functions so it breaks
      also some real Clipper code.
2010-05-12 00:27:04 +00:00
Viktor Szakats
0ddac6c7ab 2010-05-11 22:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbziparc/Makefile
  * contrib/hbziparc/hbziparc.prg
    ! Fixed <lOverWrite> support in HB_ZIPFILE().

  * config/postinst.prg
    % Simplified local implib creation logic.
2010-05-11 20:27:03 +00:00
Pritpal Bedi
ba68c8dd98 2010-05-11 07:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
    % Optimized: selections display with proprietory color.
      Now it oply operates within viewport() coordinates.
   
    % Changed: the behavior of matching brace. Now only corresponding
      brace is highlighted instead of both. This is exactly like 
      xMate. Please note that highlighting both braces create 
      confusion and at time I am lost.
2010-05-11 14:36:42 +00:00
Pritpal Bedi
f14fbb60cc 2010-05-10 17:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/ideenviron.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/resources/environments.ui
  * contrib/hbide/resources/environments.uic
    % Tooltips shifted to WhatsThis slot ( Sh+F1 to view ).
    + Applied: monospaced font "Courier" to input fields and text boxes.
2010-05-11 00:13:40 +00:00
Pritpal Bedi
10d32ec705 2010-05-09 20:11 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
  * contrib/hbide/ideplugins.prg
    % Changed: plugins are loaded on first call instead of 
      loading all plugins at startup. Now the overhead is negligible.
2010-05-10 03:14:05 +00:00