Commit Graph

16419 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
a3660695ba 2011-05-31 15:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gttrm/gttrm.c
    * gives higher priority for PuTTY terminal autodetection then for
      envvar [HB_]TERM=linux
2011-05-31 13:33:29 +00:00
Pritpal Bedi
8f98d113d5 2011-05-31 00:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/setup.ui
    + Started: few more user-definable elements to manage docking 
      widgets to suit one's preferences.
  * contrib/hbide/mainwindow.ui
  * contrib/hbide/idedocks.prg
    + Enabled: more options for docking widgets.
      Now docks can be placed tabifyied, horizonal to each other,
      vertical to each other and/or tabified within its group.
      Now user can arrange docks in any area with any combination.    
    TODO: control this behavior via <setup>, slots are already added.
2011-05-31 07:08:16 +00:00
Pritpal Bedi
480f6a2d2d 2011-05-30 21:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/docviewgenerator.ui
    ! Changed: behavior of <Index> tab, now width is never more than required.
2011-05-31 04:22:37 +00:00
Pritpal Bedi
3e26943844 2011-05-30 20:36 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp
    ! Optimizations.

  * contrib/hbide/findinfilesex.ui
  * contrib/hbide/themesex.ui
    ! Changed: user interface. Now it is more appealing and slim.

  * contrib/hbide/ideedit.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/idethemes.prg
    ! Changed: to adopt above changes in user-interfaces.
2011-05-31 03:41:00 +00:00
Pritpal Bedi
1d035e5277 2011-05-28 15:18 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp
    ! Fixed: wrong multi-line syntax highlighting in case 
      multi-line comment indicator "/*" is embedded in a string,
      like __run("mdel a:/*.*"). Was a long standing bug in hbIDE.
2011-05-28 22:22:58 +00:00
Viktor Szakats
4646feb272 2011-05-28 20:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbodbc/hbodbc.hbc
  * contrib/sddodbc/sddodbc.hbc
    ! added 3rd party libs for non-darwin unix
2011-05-28 18:09:50 +00:00
Pritpal Bedi
aa9bc10522 2011-05-27 18:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/tests/wvgtbrowser.prg
    + Implemented: highlighting the cell where mouse click occurs.
2011-05-28 01:24:22 +00:00
Pritpal Bedi
fda80bb4af 2011-05-27 17:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/tests/wvgtbrowser.prg
    ! Reworked: scrollbars of TBrowse. Now these are WvgScrollbar()s
      instead of WvtScrollbar()s. WvtScrollbar() are best suited 
      for WvtCrt() protocol not for WvgCrt() protocol. Now these 
      are smooth. This concept is pulled from my applications and 
      slightly adjusted for demowvg.
2011-05-28 00:37:47 +00:00
Viktor Szakats
52952d0073 2011-05-27 23:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/hbdoc2/gentxt.prg
  * examples/hbdoc2/genxml.prg
  * examples/hbdoc2/genhtml.prg
    ! removed extra dot before extension in filename references. 
      it also caused bad links in .html output. Reported by Claudia.
2011-05-27 21:43:25 +00:00
Przemyslaw Czerpak
20b5875721 2011-05-27 19:04 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapicdp.h
  * harbour/src/codepage/Makefile
  + harbour/src/codepage/uc858.c
    + added CP858 - basically it's CP850 but contains EURO SIGN (U+20AC) at position 0xD5
      instead of Turkish dotless-i (U+0131)
2011-05-27 17:04:24 +00:00
Viktor Szakats
0dba5b534b 2011-05-27 08:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/3rd/sqlite3/sqlite3.c
  * contrib/3rd/sqlite3/sqlite3.dif
  * contrib/3rd/sqlite3/sqlite3.h
  * contrib/3rd/sqlite3/sqlite3.hbp
    * update sqlite to 3.7.6.3 [Tamas Tevesz]
2011-05-27 06:15:28 +00:00
Pritpal Bedi
cf353cc71c 2011-05-26 14:25 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/tests/wvgtbrowser.prg
  * contrib/gtwvg/tests/wvgutilities.prg
  * contrib/gtwvg/wvgclass.prg
    + Implemented: scrollbars used along TbrowseWVG() in demowvg
      as requested by Zoran.
2011-05-26 21:28:35 +00:00
Pritpal Bedi
58ff79ad40 2011-05-25 21:13 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idechangelog.prg
    % Advanced: more complete. You can play building the current entry.
2011-05-26 04:15:41 +00:00
Pritpal Bedi
2ebb666312 2011-05-25 21:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ contrib/hbide/changelog.ui
    + Added: miss from prev commit.
2011-05-26 04:02:35 +00:00
Pritpal Bedi
9d6b8b3896 2011-05-25 17:11 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbide.hbp
  * contrib/hbide/hbide.qrc
  * contrib/hbide/ideactions.prg
  + contrib/hbide/idechangelog.prg
  * contrib/hbide/idemain.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideobject.prg
  + contrib/hbide/resources/memo.png
    + Added: <Setup><Manage ChangeLog(s)> option.
      This is announced ChangeLog Manager which simply constructs 
      the changelog entry and inserts at the top of specified
      ChangeLog file. It is a work-in-progress and this is a just 
      initial commit, but can faily understand what I mean.
2011-05-26 00:17:23 +00:00
Pritpal Bedi
9f590145af 2011-05-25 12:48 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/wvgpaint.prg
    ! Fixed: focus was not set to the window from where a modal 
      dialog was being initiated. Thanks Zoran Sibinovic for code example.
2011-05-25 19:51:10 +00:00
Pritpal Bedi
c88ca0b73f 2011-05-25 12:25 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideedit.prg
    ! Fixed: CTRL+Insert was not copying text to the clipboard.
      Reported on SourceForge bug tracker.
2011-05-25 19:27:11 +00:00
Viktor Szakats
60988b7e66 2011-05-25 19:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/xhbtedit.prg
    ! fixed formatting (using hbformat + manual corrections)
2011-05-25 17:43:46 +00:00
Viktor Szakats
07c60e460e 2011-05-25 19:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/xhb/xhbtedit.prg
  * contrib/xhb/xhb.hbp
  * contrib/xhb/xhb.hbx
    + borrowed complete extended TEDITOR() class from xhb. The code 
      looks very unclean and not Clipper compatible, so it will be 
      part of xhb. Contains fixes to make it compile under vanilla 
      Harbour with (default) high warning level. Plus some more 
      basic code cleanups. Class was renamed to XHBEDITOR.
2011-05-25 17:35:52 +00:00
Przemyslaw Czerpak
7d641f303f 2011-05-25 15:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/ChangeLog
    ! removed repeated entry
2011-05-25 13:18:11 +00:00
Przemyslaw Czerpak
9ee5e34250 2011-05-25 15:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/win_prn2.c
    ! fixed typo in variable name in my previous modification
2011-05-25 13:15:21 +00:00
Przemyslaw Czerpak
41310069fa 2011-05-25 15:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/win_prn2.c
    ! fixed typo in variable name in my previous modification
2011-05-25 13:14:17 +00:00
Pritpal Bedi
70de0f3608 2011-05-24 14:13 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/wvgcore.c
    ! Fixed: wrongly handelled WM_CLOSE message in modal/modeless
      dialogs. The fact is reported by  Zoran Sibinovic.
2011-05-24 21:16:33 +00:00
Przemyslaw Czerpak
ff9138a724 2011-05-24 11:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/arc4.c
    ! changed size parameter passed by reference to sysctl() to size_t
    ! fixed WINCE builds
    % enable pid checking only in *nix systems.
      If system does not support fork() or compatible operation
      (i.e. vfork(), clone()) then PID checking is completely useless.

  * harbour/src/rtl/gtwvt/gtwvt.c
    * pacified WINCE warnings

  * harbour/contrib/rddads/adsx.c
    ! fixed potentially uninitialized pTag variable
2011-05-24 10:00:11 +00:00
Viktor Szakats
71005961f9 2011-05-23 11:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/arc4.c
    ! build error on osx
2011-05-23 09:27:27 +00:00
Viktor Szakats
a25f17dcfb 2011-05-22 13:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/vmmt/Makefile
    ! added pbyref.c
2011-05-22 11:56:34 +00:00
Viktor Szakats
15c959fe1c 2011-05-21 14:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/teditor.prg
    ! fixed regression occurred in commit:
        2007-01-10 17:50 UTC+0800 Pritpal Bedi
      reproducible using:
        'memoedit(chr(13)+chr(10)+"abcdef"+space(50),1,1,2,20,,,90,,1,10,0,0)
        and in the edit window, press <down> once and <left> ten times after
        that. As you see, the edit windows shows incorrect data on the screen
        now.'
      Thanks to vbdasc for the report and fix.
2011-05-21 12:55:56 +00:00
Viktor Szakats
464af38648 2011-05-21 13:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/harbour.hbx
  + src/vm/pbyref.c
  * src/vm/Makefile
    + added HB_PISBYREF() (renamed because HB_PARAM* prefix would 
      be new, whereas HB_P*() is already utilized)
      [Przemek]

  * contrib/xhb/xhb.hbx
  * contrib/xhb/xhbfunc.c
    - commented HB_ISBYREF(). it's broken.
2011-05-21 11:14:46 +00:00
Viktor Szakats
5553c16493 2011-05-21 12:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/harbour.hbx
  * src/rtl/hbrandom.c
    * HB_RANDOMMAX() -> HB_RANDOMINTMAX()
    ; TOFIX: now broken under mingw in all places where HB_RANDOMINT()
             is potentially called with larger than HB_RANDOMINTMAX()
             value. This will be impossible f.e. in RANDOM() CT function.

  * src/rtl/hbrandom.c
  * src/rtl/hbrand.c
    + hb_random_block() changed to use ARC4 backend.

  * examples/httpsrv/modules/showcounter.prg
    % hb_ntos()
2011-05-21 10:42:24 +00:00
Przemyslaw Czerpak
7fbc9044fe 2011-05-21 12:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/valtoexp.prg
    ! fixed typo in recent modifications causing RTE in HB_VALTOEXP()

  * harbour/contrib/hbwin/win_prn2.c
    ! allocate dynamic memory for print buffer in WIN_PRINTFILERAW()
      32KB variable on process execution stack is potential source of
      random GPFs in programs using deeper recursive calls and killer
      for MT mode when smaller thread stack is allocated.
    ! fixed potential data lost in WIN_PRINTFILERAW() when not all data
      is transfered in single WritePrinter() call
    ! interrupt printing in WIN_PRINTFILERAW() if WritePrinter() returns
      error

  * harbour/include/harbour.hbx
  * harbour/src/rtl/hbrandom.c
    ! restored my old fix - it was correct and the results over RAND_MAX
      range expected
    + added new PRG function:
         HB_RANDOMMAX() -> <nRAND_MAX>
2011-05-21 10:02:49 +00:00
Pritpal Bedi
1ec0e26192 2011-05-20 17:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idethemes.prg
    + Added: "NOT" as Harbour keyword.

  * contrib/hbide/ideactions.prg
    + Added: Toggle actions for MDI editing area's top and left toolbars.
    ; TODO: to retain these settings for next run.

  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/idemain.prg
    ! Fixed: many artifacts when MDI editing is switched off.
    ! Started: to provide "Stats -> Welcome" a different home.
      A difficult job but seems it has to be done anyway.
    ! Changed: default mimimize to system tray => minimize to task bar.
    ; TODO: should be user definable.
2011-05-21 00:37:39 +00:00
Pritpal Bedi
3f2e77f1d3 2011-05-20 17:26 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/gtwvg.c
    ! Applied: GTWVT fix by Przemek regarding HB_GTI_FONTSIZE.
2011-05-21 00:28:34 +00:00
Przemyslaw Czerpak
6c9f24b811 2011-05-20 17:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtwvt/gtwvt.c
    ! update font metrics after HB_GTI_FONTSIZE also when window is not
      active yet - without it all other calculations are broken

  * harbour/src/codepage/uc1250.c
  * harbour/src/codepage/uc1251.c
    * add some missing codes which are not officially defined but
      MS-Windows uses them - I've just check it reading unicode values
      from some fonts.
      It also look that some fonts have VGA glyphs attached only to control
      values at range 0-31 without their real Unicode representation. It's
      the reason why they are not shown in GTWVT UNICODE builds. Pritpal
      reported such problem recently.
      This can be quite easy resolved by replacing hb_cdpGetU16Disp()
      with hb_cdpGetU16() in gtwvt.c but it may cause that we lost control
      characters in some other fonts. I would like to ask MS-Windows users
      to makes some tests with such modified GTWVT and check if control
      code are well shown with different fonts. If not then we can add
      HB_GTI_* switch to enable/disable control codes to unicode values
      translation.
2011-05-20 15:11:19 +00:00
Viktor Szakats
89cad21d1e 2011-05-20 15:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbexpat/hbexpat.ch
    + added constants for attr array element positions
  * contrib/hbexpat/tests/test.prg
  * contrib/hbexpat/tests/tohash.prg
    + using them

  * contrib/hbmxml/3rd/minixml/mxml.hbp
  * contrib/hbmzip/hbmzip.hbp
    * C std-level related tweaks [Tamas Tevesz]
2011-05-20 13:52:06 +00:00
Pritpal Bedi
503a6c82e1 2011-05-19 16:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idedocks.prg
    ! Fixed: regression where RTE was generated while closing 
      hbIDE after MDI default has been changed to FALSE.
2011-05-19 23:57:21 +00:00
Pritpal Bedi
6383da64df 2011-05-19 16:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
    ! Fixed: syntax highlighting on split window.
      This is activated when used clicks in the window.

    ! Fixed: <Next><Previous> icons on the editing area left-toolbar
      were rendered hidden once a split window was closed.

  * contrib/hbide/idethemes.prg
    ! Changed: .AND. .OR. IN as keywords only instead of operators.
      This facilitates better visual experience in the editor.

  * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp
    + Added: consider a source line as a comment if starts with "*".
2011-05-19 23:48:18 +00:00
Viktor Szakats
7762ed80aa 2011-05-20 00:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/idesaveload.prg
    * turned off MDI mode by default
      reasons:
      - MDI is a concept is off the map these days
      - in MDI mode it's not possible (at least I could not find one)
        or not easily to disable the "stats" window
      - in MDI mode it's not possible to disable the editor related
        toolsbars
      - in MDI mode the window positions are not kept
      - it's very confusing as default state even if above are fixed
      if groups thinks that MDI is the future and it makes 
      HBIDE a much better tool, pls shout.
2011-05-19 22:31:41 +00:00
Viktor Szakats
c176358aca 2011-05-20 00:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/idemain.prg
    % do not force-link _all_ hbqt symbols/components to HBIDE.
      most useful components are already linked because they
      are used by HBIDE, so it should be possible to create
      rich plugins already. pls only add extra components which
      are specifically requested by plugin developers, like f.e.
      I did with hbmk2 plugin/runner support. This will
      keep HBIDE size down and help on startup speed.
      (on win the exe size went down from 5MB to 4.4MB)
2011-05-19 22:19:19 +00:00
Viktor Szakats
8fc97aca43 2011-05-19 20:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/arc4.c
    ! silence warning on bsd [Tamas Tevesz]
2011-05-19 18:30:36 +00:00
Pritpal Bedi
2796724106 2011-05-19 11:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
    ! Fixed: regression on optimization on syantax highlighting.
      Split windows now behave properly.
    ; TOFIX: syntax highlighting in split windows.
2011-05-19 18:27:58 +00:00
Viktor Szakats
9d62cb0891 TOFIX marked DONE 2011-05-19 17:44:18 +00:00
Viktor Szakats
7eb97251b2 2011-05-19 19:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/arc4.c
    ! fixed for watcom/linux and watcom/dos and more [Tamas Tevesz]
2011-05-19 17:33:21 +00:00
Viktor Szakats
275ba9f480 2011-05-19 18:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/valtype.c
  * contrib/xhb/xhb.hbx
  * contrib/xhb/xhbfunc.c
    * HB_ISBYREF() function uncommented and moved from core to xhb lib
  * contrib/xhb/xhb.hbc
    + linking hbfship to better emulate xhb environment
  * contrib/hbfoxpro/misc.prg
    * formatting
2011-05-19 17:00:41 +00:00
Viktor Szakats
b52c7978ed 2011-05-19 17:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/debug/debugger.prg
  * src/rtl/valtoexp.prg
    + __dbgValToStr() support for type "T"
    % RTrim( Str() ) -> Str() and hb_ntos()
    % hb_VALTOEXP() minor optimization
    ! synced string representation of codeblocks and arrays
    * formatting

    ; TODO: to show the address instead of "pointer"?
2011-05-19 15:51:01 +00:00
Pritpal Bedi
9386b75d56 2011-05-19 08:31 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
    ! Fixed: regression in last commit. Now hbIDE opens ok.
    ; TOFIX: split window is broken.
2011-05-19 15:35:24 +00:00
Viktor Szakats
e43c00de24 2011-05-19 17:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/valtoexp.prg
    * formatted HB_CSTR()
  * src/debug/debugger.prg
    ! __dbgCStr() synced with HB_CSTR()
2011-05-19 15:32:49 +00:00
Viktor Szakats
955e90fe59 2011-05-19 17:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/arc4.c
    ! fixed for watcom (getpid)
    ! cast for msvc
    ! fixed for dmc (ms struct missing for win seed)
    ! fixed for bcc (inline disabled for this dead compiler, getpid)
    ! fixed warning for all non-unix, non-win targets

    ; TOFIX: it's also broken for watcom/dos and watcom/linux
             Tamas, can you take a look at it?

  * utils/hbmk2/hbmk2.prg
    + use HB_RAND32()
2011-05-19 15:15:59 +00:00
Viktor Szakats
ef4b9bf234 2011-05-19 16:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/Makefile
  * src/rtl/hbrandom.c
  + src/rtl/hbrand.c
  + src/rtl/arc4.c
  + src/rtl/arc4.h
    + added C level arc4 API. adapted to Harbour by Tamas Tevesz, 
      original authors listed in sources
    * moved HB_RAND32() function to separate source
    * changed HB_RAND32() to use arc4 backend, which means it will 
      now return properly string random numbers
    ; arc4 code may need tweaks on some platforms (android f.e.), 
      pls test
2011-05-19 14:33:28 +00:00
Viktor Szakats
7e3baa6da0 2011-05-19 14:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmzip/mzip.c
    * formatting
2011-05-19 12:55:42 +00:00
Viktor Szakats
9d9bea845c 2011-05-19 14:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmzip/mzip.c
    ! fixed to honor core filename settings and OS codepage
    ! fixed OS/2 to check for wrong filename in hb_zipStoreFile()
      when finding out file attributes.
    ; please review me and beware of regressions both build-time
      and runtime.
2011-05-19 12:50:45 +00:00