Commit Graph

14012 Commits

Author SHA1 Message Date
Viktor Szakats
2f5d29aff5 2010-05-05 08:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/achoice.prg
    ! Added patch by Jerry Finuliar to fine tune cursor
      positioning behavior.

  * contrib/hbmysql/mysql.c
    + Added MYSQL_REAL_ESCAPE_STRING() function.
    ! Fixed some types to be in sync with actual MYSQL implementation
      (int -> unsigned int, int -> unsigned long)
      in MYSQL_ESCAPE_STRING(), MYSQL_ESCAPE_STRING_FROM_FILE(),
      MYSQL_FETCH_ROW() functions.

  * utils/hbmk2/hbmk2.prg
    + Added comment on dbfnsx lib availability in xhb.
2010-05-05 06:06:26 +00:00
Pritpal Bedi
29f66e8c29 2010-05-04 18:54 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
    + Started: basework for different kinds of block copy/paste/move/etc 
      operations. Nothing is final yet but hope it to be ready 
      within a day or two.
2010-05-05 01:51:40 +00:00
Pritpal Bedi
643299a0ed 2010-05-04 06:58 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbptabpage.prg
    ! Fixed to not generate error on right-click on a tab.
2010-05-04 16:33:19 +00:00
Pritpal Bedi
7bad444425 2010-05-04 06:58 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_errorsys.prg
    - Removed: Error trace copied to clipboard, it was unforeseen implementation.
2010-05-04 14:01:53 +00:00
Przemyslaw Czerpak
0ae64fb856 2010-05-04 14:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/thread.c
    ! fixed problem with OS2 GCC builds reported by David.
2010-05-04 12:10:25 +00:00
Pritpal Bedi
483d27c9c1 2010-05-04 02:30 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/qth/HBQPlainTextEdit.qth
  * contrib/hbqt/doc/en/class_hbqplaintextedit.txt
  * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp
  * contrib/hbqt/qtgui/THBQPlainTextEdit.prg

  * contrib/hbqt/hbqt_errorsys.prg
    + Error trace copied to clipboard, requested by Massimo.

  * contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h
 
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/ideshortcuts.prg
    + Implemented: persistent blocks and cut/copy/paste operations 
      across files and locations within the same file.

      Persistance: block remains intact untill another block marking 
      operation is initiated. Any other editing actions can be carried 
      as normal outside of the block boundaries. One block per source is 
      permitted. 

      Keyboard Mappings can be redefined for 
      CTRL+   X.Cut C.Copy V.Paste Z.Undo Y.Redo A.SelectAll
      Those macros will be honored in block cut/copy/paste actions as well.
2010-05-04 09:43:20 +00:00
Pritpal Bedi
aaad9751ff 2010-05-03 18:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbptabpage.prg
    + Started work to make context menu alive.

  * contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/ideshortcuts.prg
  * contrib/hbide/idethemes.prg
    + Implemented: almost all menu/toolbar actions to public API.
      Probably this will allow the user to configure hbIDE to 
      the behavior he is used to.

    + Implemented: close button on the right-hand corner of editing tabs.
      Clicking it closes the current editing instance in focus.

    + Added: more Harbour keywords to color engine, OR, AND, SELF.

    ! Included: some more options in the main menu which were 
      available on toolbars only.

    ! Cleaned some redundant code.
2010-05-04 01:46:12 +00:00
Viktor Szakats
55d6b860b8 2010-05-03 23:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/ideeditor.prg
    % Replaced code with __PLATFORM__* checks with hb_osNewLine() call.
2010-05-03 21:52:40 +00:00
Viktor Szakats
4317fcfce5 2010-05-03 18:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/idemisc.prg
    ! Finally added existance check for .uic files to avoid the
      unending flow of strange error reports (RTE/GPF) (and subsequente
      random guessing) about problems caused by these missing files.
      Now HBIDE will show a clear message and quit instantly in this
      case.
2010-05-03 16:13:28 +00:00
Viktor Szakats
20ef6c2988 2010-05-03 10:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmysql/mysql.ch
  * contrib/hbmysql/tmysql.prg
    * Synced type constant names with MYSQL.
      Kept old names for compatibility, guarded with HB_LEGACY_LEVEL3.

  * contrib/hbmysql/tmysql.prg
    % Minor optimizations.
    ! TMySQLRow:MakePrimaryKeyWhere() and TMySQLTable:MakePrimaryKeyWhere()
      fixed to not create wrong SQL expression when no primary key
      is present.
    ; TOFIX: Handle this case properly in callers of these methods.
2010-05-03 08:11:48 +00:00
Pritpal Bedi
a776467075 2010-05-03 00:38 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbptoolbar.prg
    ! Issued: setWindowaTitle() for main menubar.

  + contrib/hbide/resources/keyboardmappings.png
    + Icon for "keyboard Mappings" menu option.

  * contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideobject.prg
  * contrib/hbide/ideshortcuts.prg
    + Implemented: almost all the docks can be placed on any of the areas.
      Exception is "Output Console" which is only dockable to top or bottom.
    + Main toolbar and statusbar featured to toggle. Statusbar, however is 
      session dependant, i.e., is not saved for next run. 
    ! Many artifacts fixed for Search/Replace engine, all the three variants.
    ! "Exppression" edit fixed to respect "Enter" key press to start searching.
    ! More artifacts I must be forgetting.
2010-05-03 07:49:22 +00:00
Pritpal Bedi
f80d1e5132 2010-05-02 18:11 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
    % Fixed to honor right-to-left selection.
      Now text can be selected in either directions with 
      keyboard and mouse, both.
2010-05-03 01:15:36 +00:00
Pritpal Bedi
105410c2a0 2010-05-02 16:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
    + Implemented: horizontally scrolled text to be selected via mouse.
2010-05-02 23:40:39 +00:00
Pritpal Bedi
3b6b91f441 2010-05-02 16:12 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
    + Implemented: horizontally scrolled text to be copied.
      So now it is identical to xMate in all respects plus 
      selection through mouse as properitory to hbIDE.
2010-05-02 23:15:54 +00:00
Pritpal Bedi
7bbe198d8b 2010-05-02 03:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h

  * contrib/hbide/ideeditor.prg

    + Implemented: much-awaited and extremely-required feature - block copy/paste.
      This implementation closely follows xMate's footsteps and is highly optimized,
      having maximum tasks carried through .prg code. Probably this opens up 
      hbIDE to wider audience. This has been the most difficult feature so far,
      and has consumed an entire week with intensive schedule.

      Here is how it should be used:

      Activation:
        Clicking on the "Toggle Selection Mode" top-toolbar icon.
        It must appear depressed after activation.

      Selection Process:
        Keyboard : Shift + Navigation Keys ( Left, Right, Up, down, PgUp, PgDn, Home, End ).
        Mouse    : Mouse-move while left-button pressed ( Only available for visible text ).
        Copy     : Ctrl+C ( text is also available on the clip-board )
        Paste    : Ctrl+V ( text only copied through Ctrl+C while in "Column Selection" mode ).
        Inserts  : Position cursor at first line and column, 
                   Press Shift+Down arraow upto some ending row,
                   A thin-vertical-line should appear follwoing your cursor path,
                   Start typing any characters,
                   Any other navigation key will end this sesion,
                   Backspace key can be used to deleted previous characters.
                   If block is already selected, visible through color differentiation,
                     typing any charcter(s) will merely fill the selection with it,
        Deletes  : Select the text with Shift+Navigation Keys,
                   Press "Del".

      It is highly possible that some of the artifacts may have gone not exactly like 
      xMate, so please report back. Also note that selections left-to-right are known
      for accuracy, right-to-left may not produce accurate results. Other thing to 
      note is that horizontal scrolling has not been possible, so if your text goes 
      beyond right-edge of the window and you have a need to copy it, then first zoom-in
      to brought it into viewport, then start selection process. Vertical length does
      not matter. However with mouse you can only select a window-full of text.
      xMate does not support column-selection with mouse.
2010-05-02 22:36:56 +00:00
Viktor Szakats
6e251b1d4b 2010-05-02 12:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/darwin/libs.mk
    ! Fixed to include MacPorts and Fink lib paths only if 
      they exist. This fixes potential warnings with latest 
      release of clang.

  * config/linux/libs.mk
    ! Minor in comment.

  * src/rtl/achoice.prg
    ! Added patch by Jerry Finuliar to refix dbu menu hang.
2010-05-02 10:30:19 +00:00
Przemyslaw Czerpak
bfd863c576 2010-04-30 11:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbznet.c
    ! fixed stupid typo which caused that hb_znetFlush() in encrypted
      buffers never returned 0 (the returned value was increased by 4)

  * harbour/contrib/hbnetio/netio.h
  * harbour/contrib/hbnetio/netiocli.c
  * harbour/contrib/hbnetio/netiosrv.c
  * harbour/contrib/hbnetio/readme.txt
    + added support for communication streams/channels which allow to
      send asynchronously data from server to client.
      The following client side functions had been added:
         NETIO_OPENDATASTREAM( <cStreamFuncName> [, <params,...>] )
            -> <nStreamID>
         NETIO_OPENITEMSTREAM( <cStreamFuncName> [, <params,...>] )
            -> <nStreamID>
         NETIO_CLOSESTREAM( <nStreamID>, [<cServer>], [<nPort>] )
            -> <lOK>
         NETIO_GETDATA( <nStreamID>, [<cServer>], [<nPort>] )
            -> <aData> | <cData> | NIL
      The following server side functions had been added:
         NETIO_SRVSTATUS( <pConnectionSocket> [, <nStreamID>] )
            -> <nStatus>
         NETIO_SRVSENDITEM( <pConnectionSocket>, <nStreamID>, <xData> )
            -> <lSent>
         NETIO_SRVSENDDATA( <pConnectionSocket>, <nStreamID>, <cData> )
            -> <lSent>
    + added RT errors to the netio client code. They should help to early
      detect any communication problems
    ! disabled hb_socketSetNoDelay() in client and server code.
      I enabled it for some local tests and by mistake committed to SVN
      and I didn't noticed it. It could cause serious problems in some cases
      i.e. with slow WiFi or WAN connections.

      Warning: server signature changed due to extensions in protocol.
               both client and server side has to be updated and use
               current SVN code.

  + harbour/contrib/hbnetio/tests/netiot03.prg
    + added demonstration/test code for alternative RDD IO API, RPC and
      asynchronous data streams in HBNETIO
2010-04-30 09:39:25 +00:00
Pritpal Bedi
c62dc7fefc 2010-04-29 02:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
    % Improvement to horizontal ruler to respect long lines 
      extending beyond viewport.
2010-04-29 14:39:33 +00:00
Pritpal Bedi
a15faca112 2010-04-29 02:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbplistbox.prg
    % Fixed a nasty bug.

  * contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h

  * contrib/hbqt/hbqt_hbslots.cpp
    
    + Implemented: horizontal ruler in the editor instances at the top 
      of the window. Opinions are welcome about its base and tab colors.
2010-04-29 09:04:36 +00:00
Przemyslaw Czerpak
ee2d00f19a 2010-04-29 10:51 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/strapi.c
  * harbour/include/hbapistr.h
    + added new C function hb_wstrnlen()

  * harbour/include/hbdefs.h
  * harbour/src/common/hbwin.c
    ! fixed possible buffer overflows in hb_mb*() and hb_wc*() functions
    * removed danger hb_mb*() and hb_wc*() functions which were wrongly
      used in core code and corresponding HB_TCHAR_*() macros
    + added hb_mbntowccpy() function and HB_TCHAR_COPYTO() macro
      it always sets trailing 0 after passed buffer just like hb_strncpy()
    + added hb_wcntombcpy() function and HB_TCHAR_COPYFROM() macro
      it always sets trailing 0 after passed buffer just like hb_strncpy()

  * harbour/src/rtl/gtclip.c
    ! fixed wrongly calculated size of string extracted from clipboard
      (when unicode string was in clipboard then number of unicode characters
      were used instead of number of multibyte ones)
    ! added protection against possible memory corruption if some external
      process sets clipboard text without trailing 0
    * changed hb_gt_winapi_[sg]etClipboard() functions parameters to use
      PHB_ITEM as buffer
    Question to windows users: different Win GTs use different encoding
    for the clipboard buffer. Maybe you want to normalize it?

  * harbour/src/vm/cmdarg.c
  * harbour/src/vm/extrap.c
  * harbour/src/common/hbgete.c
  * harbour/src/common/hbffind.c
  * harbour/src/common/hbtrace.c
  * harbour/src/rtl/gtwin/gtwin.c
  * harbour/src/rtl/fstemp.c
  * harbour/src/rtl/filesys.c
  * harbour/src/rtl/gtgui/gtgui.c
  * harbour/src/rtl/gtwvt/gtwvt.c
  * harbour/include/hbgtcore.h
  * harbour/include/hbapistr.h
  * harbour/include/hbwmain.c
  * harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/gtwvg/wvggui.c
  * harbour/contrib/gtwvg/wvgcuig.c
  * harbour/contrib/gtwvg/wvgutils.c
  * harbour/contrib/gtwvg/wvgcore.c
  * harbour/contrib/gtwvg/wvgwing.c
  * harbour/examples/gtwvw/gtwvw.c
    ! fixed possible buffer overflows and GPF traps due to wrongly used
      HB_TCHAR_*() macros and/or corresponding hb_mb*()/hb_wc*() functions
      Seems that some problems were potentially exploited even in non UNICODE
      builds.
2010-04-29 08:51:41 +00:00
Viktor Szakats
66ebe08e09 2010-04-29 09:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/tests/xml1.prg
    ! Formatting.
    % Replaced HHasKey() with '$' operator.
2010-04-29 07:37:29 +00:00
Viktor Szakats
ed13cecdf3 2010-04-29 09:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbver.c
    + Now able to distinguish between XP x64 and Server 2003.
    + Now able to distinguish between Server 2003 and Server 2003 R2
      (borrowed from Peter Rees/xhb, with typo fixed)
    (please test on these platforms)

  * ChangeLog
    + Marked some changes as [DONE].
2010-04-29 07:25:47 +00:00
Viktor Szakats
df8fa6e078 2010-04-29 08:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_osc.c
    + Added WIN_OSISWINXPORLATER(). Following Peter Rees in xhb.

  * contrib/xhb/Makefile
  + contrib/xhb/xwin_reg.c
  + contrib/xhb/xwin_ver.c
  * contrib/hbwin/Makefile
  - contrib/hbwin/legacycr.c
  - contrib/hbwin/legacycv.c
    ! Moved these legacy Windows functions to xhb lib from hbwin
      lib. This way we don't have to delete them after next
      release, plus they provide better compatibility as they are
      now also present in non-win builds (returning dummy values),
      just like in xhb.
    + Added OS_ISWINXP_OR_LATER() function.
2010-04-29 06:46:25 +00:00
Viktor Szakats
6f057ac0f9 2010-04-28 23:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/hbxml.c
    ! REVERTED: 2010-04-05 11:04 UTC+0200
      This means that these heavy leaks are again present
      in this xhb ported code, but at least it won't GPF.

  * contrib/xhb/tests/xml1.prg
    ! Minor to prev.
2010-04-28 21:12:17 +00:00
Viktor Szakats
d385c7d55b 2010-04-28 23:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/xhb/tests/xml1.prg
  + contrib/xhb/tests/test.xml
    + Added xml test code posted to list by "Ivan re".
      (after fix and formatting)
    ; TOFIX: This sample crashes with mingw.
2010-04-28 21:01:20 +00:00
Viktor Szakats
4d1a8cc1a3 2010-04-28 19:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/Makefile
  * src/rtl/getsys.prg
  + src/rtl/getsyshb.prg
    ! Moved HB_GETREADVAR() to separate source file.
    ! HB_GETREADVAR() fixed to use HB_ASCIIUPPER() like
      TGETLIST():GETREADVAR() instead of UPPER().

  * src/rtl/tgetlist.prg
    % TGETLIST():GETREADVAR() now can use HB_GETREADVAR()
      instead of duplicating the code locally.

  * INSTALL
    + Added sort of "disclaimer" note to HB_BUILD_IMPLIB option.

  * include/hbextern.ch
    + Added missing TBREADER().
2010-04-28 17:06:52 +00:00
Pritpal Bedi
eb50c3f64c 2010-04-27 19:06 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbplistbox.prg
    + setItemColorFG( nIndex, aRGB )

  * contrib/hbide/ideeditor.prg
    + Implemented: current function the cursor is navigating 
      highlighted in the Functions List.
2010-04-28 02:02:36 +00:00
Przemyslaw Czerpak
1dc08dcbf2 2010-04-28 01:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/cdpapi.c
  * harbour/src/rtl/cdpapihb.c
    + added support for UTF8 Harbour pseudo CP in UTF8 and U16
      conversion functions
2010-04-27 23:39:18 +00:00
Pritpal Bedi
3f3d3ebcca 2010-04-27 15:58 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideharbourhelp.prg
    + All docks are made to be opened in the same state these 
      were left at the last run.

      TESTED: on multi-monitor every artifact is behaving as expected.
2010-04-27 22:59:50 +00:00
Pritpal Bedi
be6a6d06d0 2010-04-27 10:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/ideactions.prg
  * contrib/hbide/idedocks.prg
    + Left and right Toolbars made floatable, movable and dockable.
      Now these can be placed anywhere user wants.

    % View menubar option is placed next to Edit.
2010-04-27 17:04:22 +00:00
Pritpal Bedi
3975a5ab43 2010-04-27 08:16 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.hbp
    - Removed local addition.
2010-04-27 15:19:34 +00:00
Pritpal Bedi
0ee900e756 2010-04-27 01:33 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/ideeditor.prg
    % Zoom-out/in now tranverse to original font through navigation.
2010-04-27 08:37:09 +00:00
Pritpal Bedi
72f2b7df1d 2010-04-27 01:11 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/resources/environ.ui
  * contrib/hbide/resources/environ.uic
  * contrib/hbide/resources/projectpropertiesex.ui
  * contrib/hbide/resources/projectpropertiesex.uic
  * contrib/hbide/resources/shortcuts.ui
  * contrib/hbide/resources/shortcuts.uic

  * contrib/hbxbp/xbplistbox.prg
    % Fixed nasty bug.

  * contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idedocks.prg
    + Featured: Projects, Editors, Skeletons docking widgets made floatable.
    + Added: Manubar->Setup->Tools & Utilities.
    ! Refined: Manubar->Setup->Encoding - submenus prompts.
    ! Resized: Keyboard Mappings dialog buttons.
    ! Refined: Projects Properties Dialog - General tab.

      These tweaks were proposed by Antonio Maniero.
2010-04-27 08:21:35 +00:00
Pritpal Bedi
f7862dd35a 2010-04-26 18:54 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/ideenviron.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbide/resources/environ.ui
  * contrib/hbide/resources/environ.uic
    + started: dialog to capture build environment settings for different 
      language compilers on line with xMate. Dialog can be seen via 
      Menubar->Projects->Environments. Please note that this menu option
      is subject to change in future. It is just for bird's eyeview.
2010-04-27 02:00:12 +00:00
Viktor Szakats
3e64189ff5 2010-04-26 21:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/dummy.c
    + Added dummy FILEPRINT() synonym for PRINTFILE().
2010-04-26 19:38:20 +00:00
Viktor Szakats
23ab5fb10b 2010-04-26 21:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/minizip/unzip.c
    + Enabled encryption on unzip. For some reason original 
      developers permanently disabled it.
2010-04-26 19:12:45 +00:00
Viktor Szakats
c76bb8f02a 2010-04-26 20:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/Makefile
  * contrib/hbct/dummy.c
  + contrib/hbct/tempfile.prg
    + Added TEMPFILE() implementation.
2010-04-26 18:49:38 +00:00
Przemyslaw Czerpak
13989a2521 2010-04-26 11:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/common/hbtrace.c
    ! fixed potential GPF/memory corruption due to direct passing formatted
      string as format to syslog() function. Please remember to never create
      code like 'printf( str );' if str can contain printf escape characters
      because it may cause any unpredictable results. Always use
      'printf( "%s", str);' in such context.
      BTW It's one of the most common bug used by hackers in buffer/stack
      overflow attacks, i.e. using str with %n conversion specifier.
    % eliminated unnecessary buffer conversion in *nix builds
2010-04-26 09:44:13 +00:00
Viktor Szakats
5d726cf305 2010-04-26 10:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added another envvar to the list of unnececessary ones.

  * contrib/hbcups/hbcups.c
    ! int -> HB_SIZE. Pacifies warning reported by Marco.
2010-04-26 08:36:17 +00:00
Pritpal Bedi
d795fc3c1e 2010-04-26 00:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbp.ch
  * contrib/hbxbp/xbpdataref.prg
  * contrib/hbxbp/xbplistbox.prg
    ! Reworked XbpListBox(). Now it implements most of the 
      methods per Xbase++ documentation.

  * contrib/hbxbp/tests/demoxbp.prg
    ! Implementation of multiple-selections list box.
2010-04-26 07:29:41 +00:00
Pritpal Bedi
4659e930ef 2010-04-25 14:51 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbpsle.prg
    ! Small fix.
  * contrib/hbxbp/xbpmle.prg
    + Implemented almost all Xbase++ methods and slots. Untested.

      Can someone provide a XbpMLE() usage code which exploits its 
      maximum methods ?
2010-04-25 21:57:26 +00:00
Pritpal Bedi
5b8426f4b8 2010-04-25 12:52 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbpwindow.prg
    ! Slots/Methods synchronized.
2010-04-25 19:54:22 +00:00
Pritpal Bedi
ac6698b95d 2010-04-25 01:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
    ! Fix to handle space key when code completion popup is visible.

  * contrib/hbide/ideeditor.prg
    ! Corresponding fix to above one.

  * contrib/hbide/idethemes.prg
    + Added more Harbour keywords to be distinguished in color.
2010-04-25 08:49:55 +00:00
Pritpal Bedi
dd873288b1 2010-04-25 01:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbp3state.prg
  * contrib/hbxbp/xbpappevent.prg
  * contrib/hbxbp/xbpbitmap.prg
  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbpcheckbox.prg
  * contrib/hbxbp/xbpcombobox.prg
  * contrib/hbxbp/xbpdataref.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpfiledialog.prg
  * contrib/hbxbp/xbpfontdialog.prg
  * contrib/hbxbp/xbphtmlviewer.prg
  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbpmle.prg
  * contrib/hbxbp/xbppushbutton.prg
  * contrib/hbxbp/xbpradiobutton.prg
  * contrib/hbxbp/xbprtf.prg
  * contrib/hbxbp/xbpscrollbar.prg
  * contrib/hbxbp/xbpsle.prg
  * contrib/hbxbp/xbpspinbutton.prg
  * contrib/hbxbp/xbpstatusbar.prg
  * contrib/hbxbp/xbptabpage.prg
  * contrib/hbxbp/xbptoolbar.prg
  * contrib/hbxbp/xbptreeview.prg
  * contrib/hbxbp/xbpwindow.prg
    ! Reworked callbacl Slots/Methods which are now INHERITable in 
      the sub-classes derived from Xbp Part.
    ! Slots ae now recognized through the slot identifier string.
    ! Deleted redundant parts and made code more cleaner and uniform in
      method calling conventions.

      This is first round of reforms, more will follow.
2010-04-25 08:45:41 +00:00
Viktor Szakats
c6bef5ae3e 2010-04-24 13:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/achoice.prg
    ! REVERTED: Fixed typo in ACHOICE() K_UP handling, which caused a
      bogus line to appear below the bottom when the height of the
      achoice area was only one line. Pls verify me for regressions.
      [ It did cause regression. So now the original bug is present
      again. ]
      TOFIX: ---
             #include "inkey.ch"
             CLS
             hb_keyPut( K_DOWN )
             hb_keyPut( K_UP ) /* bogus '2' appears out of the area here. */
             AChoice( 0, 0, 0, 0, { "1", "2" } )
             ---
2010-04-24 11:37:11 +00:00
Viktor Szakats
1ae435b74b 2010-04-24 10:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ examples/ps32
  + examples/ps32/ps32.hbp
  + examples/ps32/ps32.hbc
  + examples/ps32/ps32.dif
  + examples/ps32/readme.txt
  + examples/ps32/tests
  + examples/ps32/tests/hbmk.hbm
    + Added necessary files to use PageScript32 with Harbour.
      (it's a payware product, so if anyone has any slight 
      aversion to this, or the small .dif poses even the 
      slightest chance of copyright issue, pls tell and I'll 
      delete the whole stuff.)
      BTW, ideally someone should post this patch to the 
      authors of the library, after all it's their interest 
      to make it work with Harbour. The patch is very simple.
2010-04-24 08:42:59 +00:00
Pritpal Bedi
b3f8077e15 2010-04-23 23:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/idemisc.prg
    ! Fixed to store original filename without case convertion inside .hbp.
      It fixes issue on linux if source file name contains mix case.
2010-04-24 06:08:53 +00:00
Pritpal Bedi
9267535575 2010-04-23 17:12 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/gtwvg/wvgpushb.prg
    ! Fixed an ommitted SETGET keyword causing demowvg/demoxbp defunct.
2010-04-24 00:16:02 +00:00
Viktor Szakats
2c10ee2ab4 2010-04-23 20:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Minor safety fix.
2010-04-23 18:27:26 +00:00
Viktor Szakats
e862e2e3db 2010-04-23 19:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed path normalization to return '.' in case a
      non-empty path becomes an empty one after normalization.
    * Added extra protection to avoid '-I' option with empty 
      parameter.
2010-04-23 17:13:16 +00:00