Commit Graph

16364 Commits

Author SHA1 Message Date
Mindaugas Kavaliauskas
bcd2904445 2011-05-18 16:57 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddads/adsx.c
    ! fixed DBORDERINFO() and ORDNUMBER(), etc. behaviour, for order 
      specified using tag parameter
2011-05-18 13:56:36 +00:00
Viktor Szakats
5b39850f11 2011-05-18 09:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/xhb/tests/dll.prg
    + dll call sample
  * contrib/xhb/hbdll.ch
    ! several fixes to make it work in Harbour and MT apps
2011-05-18 07:50:42 +00:00
Pritpal Bedi
9cfa81238d 2011-05-18 17:53 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idedocks.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
    + Added: some methods used internally to provide hbIDE speed advantage.

  * contrib/hbide/idesaveload.prg
    ! Changed: the default behavior of :lTrimTrailingBlanks to FALSE
      responsible to strip trailing blanks from saved sources.
      Now if this behavior is desired, change the settings from 
      <Setup><hbIDE Setup><General>.

  * contrib/hbide/idethemes.prg
  * contrib/hbqt/qtgui/hbqt_init.cpp
    + Added: Slot "QRect$int" for updateRequest(QRect,int) for QPlainTextEdit.

  * contrib/hbqt/qtgui/qth/HBQPlainTextEdit.qth
  * contrib/hbqt/qtgui/qth/HBQSyntaxHighlighter.qth
    + Added: more methods.

  * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
    ! Fixed: 2 pixel margin around a document text which was causing a 
      major visual glich which selecting text in an editing instance.
      Now it is 0,0 no matter which font and size is used.

  * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.h
  * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp
  * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.h
    + Synchronized: to apply syntax highlighting per page basis.
      Qt applies highlighting to the entire document when supplied 
      which, conceptually, should be onto the page brought forward.

      This has rendered hbIDE extremely fast at startup no matter 
      how many sources are loaded probably making hbIDE the fastest 
      IDE at startup.
2011-05-18 01:12:58 +00:00
Viktor Szakats
97144dd51c 2011-05-18 01:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwvt/gtwvt.c
    ! fixed regression referred to in 2011-05-18 01:06 UTC+0200 Viktor Szakats
      I'm still not exactly sure what's happening (besides I'm tired as hell),
      but now it seems that it's not VK_RETURN override at fault, but composited mode
      on Vista/7 which I enabled recently. Actually copy worked only
      the selection was not visible.
      Now I turn off composited on mark and select and renable when finished.
      I imagine this is not proper solution though I don't have Bill Gates's number 
      to make a support call ATM.
    + reenabled VK_RETURN

  * ChangeLog
    * edited prev entry
2011-05-17 23:53:39 +00:00
Viktor Szakats
3c5ba734e9 2011-05-18 01:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwvt/gtwvt.c
    ! fixed regression in:
        2011-02-26 20:07 UTC+0100 Viktor Szakats / patch by Aleksander Czajczynski
      VK_RETURN event override caused 'Mark and Copy' menu functionality
      to break, it's no longer possible to select an area. Aleksander, 
      I'd appreciate if you could check and fix this.
      For now I commented the VK_RETURN override (it may break some
      fullscreen features)
2011-05-17 23:07:47 +00:00
Viktor Szakats
7c7676babe 2011-05-17 22:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/xhb.hbc
  * contrib/xhb/xhb.hbp
    ! typos
2011-05-17 20:27:52 +00:00
Viktor Szakats
54ec9bfd68 2011-05-17 22:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/xhb.hbc
  * contrib/xhb/xhb.hbp
    + added hbxpp as a dependency for xhb. for dll handling.

  + contrib/xhb/hbdll.ch
    + added header from xhb project, with some basic adaptation.
      fully untested.
2011-05-17 20:26:31 +00:00
Viktor Szakats
9eb560c277 2011-05-17 21:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    ! fixed mingw64 detection regression breaking official mingw64 build on win
2011-05-17 19:58:27 +00:00
Viktor Szakats
c5a73944e2 2011-05-17 19:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbrandom.c
    ! fixed wrong random numbers being generated after:
        2011-03-11 09:42 UTC+0100 Przemyslaw Czerpak
      this is simple revert, Przemek pls recheck/refix original issue.
      Values 0x????FFFF and 0x????0000 were returned from these calls:
         hb_randomInt( 0xFFFFFFFF )
         hb_randomInt( 0xFFFFFFFE )
         hb_randomInt( 0x7FFFFFFF )
      under mingw32 and mingw64 (both win and linux builds)
2011-05-17 17:22:27 +00:00
Viktor Szakats
14d0d4161d 2011-05-17 19:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/harbour.hbx
  * src/rtl/hbrandom.c
    + HB_RAND32() -> <32-bit random number>

    ; TOFIX: random numbers are broken under mingw 4.5.2, only high 16bits are random.
             in all HB_RAND*() functions
2011-05-17 17:03:32 +00:00
Viktor Szakats
9815b01434 2011-05-17 17:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! escape fn passed to upx
2011-05-17 15:49:04 +00:00
Przemyslaw Czerpak
dfbe9dd6ce 2011-05-17 17:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/pp/ppcore.c
    ! do not strip spaces from serialized codeblocks with late macro
      evaluation
2011-05-17 15:33:28 +00:00
Viktor Szakats
9178af03a4 2011-05-17 16:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/compiler/gencc.c
    ! hb_p_pushlong: conditional -gc3 generated code modified to
      evaluate the condition at C compile time rather than .c
      code generation time. This particular fix would pbly only
      affect 16-bit cross builds, which we don't have any ATM.
    ; TOFIX: same in hb_p_pushlonglong
2011-05-17 14:53:36 +00:00
Przemyslaw Czerpak
6b92949b7d 2011-05-17 15:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtxwc/gtxwc.c
  * harbour/src/rtl/gtwvt/gtwvt.c
  * harbour/contrib/xhb/hboutdbg.c
  * harbour/contrib/xhb/xhbfunc.c
    ! use 'hb_cmdargARGVN( 0 )' instead of 'hb_cmdargARGV()[ 0 ]' to avoid
      GPF when no arguments are initialized

  * harbour/contrib/hbwin/hbolesrv.hbc
    * use {allmingw} instead of {mingw} macro for MinGW64 builds

  * harbour/src/codepage/Makefile
  * harbour/src/codepage/uc646_yu.c
  + harbour/src/codepage/uc646yuc.c
  * harbour/include/hbapicdp.h
    + added JUS I.B1.003 - Cyrillic script variant of ISO-646-YU
      for Serbian and Macedonian language

  * harbour/src/codepage/Makefile
  + harbour/src/codepage/cpsr646.c
  + harbour/src/codepage/cpsr646c.c
  * harbour/include/hbcpage.hbx
    + added SR646 and SR646C Harbour codeapges.
      Both code pages uses the same 8-bit representation but different
      unicode values - SR646 uses Latin script and SR646C Cyrillic script.
      It means that it's useless to make any translations between SR646
      and SR646C because both versions uses the same ASCII values but they
      can help in translation to other encodings or CPs, i.e. to convert
      some Serbian text in one of the above CPs to Latin letters in UTF8
      encoding then it's enough to make:
         hb_strToUTF8( <cText>, "SR646" ) -> <cUtf8LatinText>
      and for conversion to UTF8+Cyrillic:
         hb_strToUTF8( <cText>, "SR646C" ) -> <cUtf8CyrillicText>
2011-05-17 13:40:56 +00:00
Viktor Szakats
a8981174ad 2011-05-16 17:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmisc/udpds.prg
    ! replaced previous workaround with one that doesn't need 
      any delay in hb_UDPDS_Stop()
2011-05-16 15:40:17 +00:00
Viktor Szakats
66fdcc3bbb 2011-05-16 09:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/harbour.hbx
  * src/vm/runner.c
    + HB_HRBGETFUNLIST() -> <aArray>: New function posted to the
      list by Francesco Saverio Giudice
      (NOTE: I changed the name a little bit)

  * tests/gfx.prg
    ! fixed console output. Patch by Tamas Tevesz
    * changed rest of ? commands to outstd()
2011-05-16 07:34:46 +00:00
Przemyslaw Czerpak
03eb8b7fd9 2011-05-15 17:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/global.mk
  * harbour/utils/hbmk2/hbmk2.prg
    ! fixed autodetection of mingw-gcc-tdm64
2011-05-15 15:19:50 +00:00
Viktor Szakats
c0545cb722 2011-05-15 12:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbunix/sleep.c
    + missed file
2011-05-15 10:15:26 +00:00
Viktor Szakats
39f6b6bdc0 2011-05-15 12:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/set.c
    * _SET_EOF default set to .T. on *nix to match other plaforms
      (and Clipper I might guess)
      CHECKME!
    * formatting
    ! missing 'break;'. it didn't cause error, anyhow pls check me
      maybe it was intentional (in 'case HB_SET_PRN_CON:' branch)
      CHECKME!

  * contrib/hbunix/hbunix.hbp
  * contrib/hbunix/hbunix.hbx
    + POSIX_SLEEP( <n> ) -> <n>

  * contrib/hbcurl/hbcurl.ch
  * contrib/hbcurl/core.c
    + added changes from latest libcurl version (untested with 
      latest version)

  * utils/hbmk2/hbmk2.prg
    ! fixed symbol names in hbx generation for watcom/{linux|dos|os2}
2011-05-15 10:13:27 +00:00
Viktor Szakats
54d5a3b462 2011-05-13 21:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmisc/udpds.prg
    ! added not very beautiful workaround (how to kill a thread from 
      caller proc?) to RTE in worker thread loop because of closed 
      socket after calling hb_UDPDS_Stop()
2011-05-13 19:20:45 +00:00
Viktor Szakats
f78e9abc5c 2011-05-13 17:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_svc.c
    ! typo in prev
2011-05-13 15:41:52 +00:00
Viktor Szakats
d8ad68659a 2011-05-13 17:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbwin.ch
  * contrib/hbwin/win_svc.c
    + added 4th param to WIN_SERVICEINSTALL() to spec start type
    + added related constants

  * contrib/hbwin/wapi_misc.c
    ! cast for win64
2011-05-13 15:32:40 +00:00
Przemyslaw Czerpak
0889e6b43e 2011-05-13 04:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbstack.h
  * harbour/src/vm/hvm.c
    ! fixed stack preloading in hb_vmRequestReenterExt() when new stack has to be allocated
2011-05-13 02:05:59 +00:00
Viktor Szakats
6050ad83be 2011-05-12 18:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    % avoid duplicate requests for GT in .c stub
2011-05-12 16:46:20 +00:00
Viktor Szakats
4e50824898 2011-05-12 10:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/tcgi.prg
    ! = -> ==
      (it changes behavior, though I consider previous one as buggy)
2011-05-12 08:03:55 +00:00
Viktor Szakats
424968243f 2011-05-12 09:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/pp/ppcore.c
    * hb_xgrab( nSize ) -> hb_xgrab( nSize * sizeof( char ) )
      trying to make flto warning disappear to no avail

  * contrib/hbexpat/unitable.prg
    ! static -> thread static
2011-05-12 07:34:57 +00:00
Viktor Szakats
c181af4e7f 2011-05-11 22:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/wapi_winuser.c
  * contrib/hbwin/hbwin.hbx
    + WAPI_FINDWINDOW( [<cClassName>], [<cWindowName>] ) -> <hHwnd>

  * contrib/hbide/idetags.prg
  * contrib/hbide/idebrowse.prg
    ! fixed code to be _SET_EXACT agnostic
2011-05-11 20:31:47 +00:00
Viktor Szakats
56fb8031a4 2011-05-11 19:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnf/nwsem.prg
  * contrib/hbnf/mouse2.prg
  * contrib/hbnf/tests/nftest.prg
  * examples/gfspell/spell.prg
    ! fixed = operator to :=/==

    ; now Harbour SVN is clean. Except quite a few problems in HBIDE and
      two more known code lines. Pritpal can you fix HBIDE to not use
      ambiguous '=' operator?

  * src/rdd/usrrdd/rdds/logrdd.prg
    * ltrim(str()) -> ntos()
2011-05-11 17:07:32 +00:00
Viktor Szakats
8f26186de1 2011-05-11 18:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnf/rand1.prg
  * contrib/hbnf/mouse1.prg
  * contrib/hbnf/pegs.prg
  * contrib/hbnf/menu1.prg
  * contrib/hbnf/popadder.prg
  * contrib/hbnf/scregion.prg
  * contrib/hbnf/mouse2.prg
  * contrib/hbnf/menutonf.prg
  * contrib/hbnf/pvid.prg
  * contrib/hbnf/datecnfg.prg
  * contrib/hbnf/ntow.prg
  * contrib/hbnf/pending.prg
    ! fixed STATICs for MT
    * marked const STATICs as such
2011-05-11 16:17:29 +00:00
Viktor Szakats
53bf2585ca 2011-05-11 18:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnf/scancode.prg
  * contrib/hbnf/vidmode.prg
  * contrib/hbnf/miltime.prg
  * contrib/hbnf/savearr.prg
  * contrib/hbnf/dispmsg.prg
  * contrib/hbnf/mouse1.prg
  * contrib/hbnf/settime.prg
  * contrib/hbnf/page.prg
  * contrib/hbnf/pegs.prg
  * contrib/hbnf/min2dhm.prg
  * contrib/hbnf/dosver.prg
  * contrib/hbnf/metaph.prg
  * contrib/hbnf/woy.prg
  * contrib/hbnf/setdate.prg
  * contrib/hbnf/linked.prg
  * contrib/hbnf/aredit.prg
  * contrib/hbnf/xbox.prg
  * contrib/hbnf/ftround.prg
  * contrib/hbnf/dectobin.prg
  * contrib/hbnf/aemaxlen.prg
  * contrib/hbnf/nwlstat.prg
  * contrib/hbnf/tempfile.prg
  * contrib/hbnf/scregion.prg
  * contrib/hbnf/mouse2.prg
  * contrib/hbnf/pickday.prg
  * contrib/hbnf/datecnfg.prg
  * contrib/hbnf/easter.prg
  * contrib/hbnf/aeminlen.prg
  * contrib/hbnf/pchr.prg
  * contrib/hbnf/tbwhile.prg
  * contrib/hbnf/calendar.prg
  * contrib/hbnf/elapsed.prg
  * contrib/hbnf/aading.prg
  * examples/hbvpdf/hbvpdf.prg
  * examples/hbvpdf/hbvpdft.prg
  * examples/gtwvw/tests/prog1.prg
  * examples/gtwvw/tests/prog2.prg
  * examples/gtwvw/tests/wvwtest9.prg
  * examples/gtwvw/tests/ebtest7.prg
  * examples/gtwvw/tests/prog0.prg
    ! eliminated most (if not all) ' = ' operators
      some minor compatibility notes added to NF
      (NF being buggy by behaving inconsistently 
      due to _SET_EXACT setting)
2011-05-11 16:05:43 +00:00
Viktor Szakats
5f731939fd 2011-05-11 16:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/harbour.hbx
    + HB_HCLEAR
  * contrib/hbide/hbide.hbp
    * deactivating HB_TR_ALWAYS
2011-05-11 14:25:20 +00:00
Przemyslaw Czerpak
16037cfc6f 2011-05-11 16:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/src/vm/hashes.c
    + add new public C function: HB_BOOL hb_hashClear( PHB_ITEM pHash )
    * do not generate RTE when unexisting key is passed to HB_HDEL()
      now code which makes sth like:
         if xKey $ hValue
            hb_hDel( hValue, xKey )
         endif
      can be reduced to:
         hb_hDel( hValue, xKey )

  * harbour/src/vm/hashfunc.c
    + added new PRG function: HB_HCLEAR( <hValue> ) -> <hValue>
2011-05-11 14:02:04 +00:00
Pritpal Bedi
fedad7bff3 2011-05-11 06:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbpmenubar.prg
    ! Changed: XbpMenubar():visible := FALSE to TRUE. 
      Only XbpMenu() is documented to have this behavior.
2011-05-11 13:57:16 +00:00
Viktor Szakats
d558e2b5ae 2011-05-11 12:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + added experimental -ldflag+=, -dflag+= cmdline options
      and ldflags+= .hbc option. Such flags will be added after
      libs, which may be useful in some situations, f.e. pkg-config
    % only enclose libnames and paths inside single-quotes if
      they contain any non-ascii, non-digig, non-., non-/ chars
    ! fixed .hbx generation on darwin
2011-05-11 10:50:29 +00:00
Viktor Szakats
fa0db205a8 2011-05-11 02:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbtrace.ch
    * added way to disable HB_TR_ALWAYS
      for more: 2011-04-16 23:04 UTC+0200 Viktor Szakats

  * contrib/hbxbp/hbxbp.hbp
  * contrib/hbqt/hbqt_common.hbm
    + disabled HB_TR_ALWAYS permanent messages from SVN builds
    ; TODO: move this logic to hbpre.hbm
2011-05-11 00:52:35 +00:00
Pritpal Bedi
89dd011dd5 2011-05-10 17:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpmenubar.prg
    ! Fixed: many artifacts related with XbpMenu() and MDI 
      handelling. I did not know Xbase++ diverted from uniform 
      arguments behavior for every object for XbpMenu() where 
      :visible instance variable is FALSE by default.
      Thanks Shum for code and looking inside the docs.
2011-05-11 00:07:07 +00:00
Przemyslaw Czerpak
861162111c 2011-05-10 21:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/hashes.c
    ! fixed HB_HMERGE() to work correctly when destination and source hash arrays
      are the same
    ! fixed HB_HASH_INTERSECT in HB_HMERGE()
    % two minor optimizations
2011-05-10 19:43:46 +00:00
Viktor Szakats
2f7eb00368 2011-05-09 22:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/gtwvg.hbp
    * sorted

  * contrib/gtwvg/wvgmle.prg
  * contrib/gtwvg/wvgtreev.prg
  * contrib/gtwvg/wvgcrt.prg
  * contrib/gtwvg/wvgdatar.prg
  * contrib/gtwvg/wvgsysw.prg
  * contrib/gtwvg/wvgmenub.prg
  * contrib/gtwvg/wvgphdlr.prg
  * contrib/gtwvg/wvgstatc.prg
  * contrib/hbnf/acctadj.prg
  * contrib/hbnf/month.prg
  * contrib/hbnf/ftint86.ch
  * contrib/hbide/idethemes.prg
  * contrib/hbide/idetags.prg
    ! IF() -> IIF()
2011-05-09 20:26:14 +00:00
Viktor Szakats
41e5bf2b5d 2011-05-09 21:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/Makefile
  + include/hbstrict.ch
  * contrib/hbpost.hbm
    + added experimental -u+ header to catch some common code style
      problems. currently IF() is caught, but it interferec with std.ch
      hbsix.ch and possibly more, so it's not enabled

  * config/global.mk
  * src/dynlib/2nd/Makefile
  * src/dynlib/Makefile
    * secondary harbour dynlib is now enabled by __HB_BUILD_DYN_2ND=yes
    * renamed secondary harbour dynlib to harbour2*
    + it's now possible (again) to build harbour .dll in ST mode by
      using __HB_BUILD_DYN_ST=yes. if used together with __HB_BUILD_DYN_2ND=yes,
      the secondary dynlib will be MT. (pls note the secondary dynlib 
      is never directly used by hbmk2, so it's there for mere build convenience
      only)

  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbprtf.prg
  * contrib/hbxbp/xbpfiledialog.prg
  * contrib/hbxbp/xbpprintdialog.prg
  * contrib/hbxbp/xbpscrollbar.prg
  * contrib/hbxbp/xbpprinter.prg
  * contrib/hbxbp/xbpdataref.prg
    ! IF() -> IIF() (with the help of hbstrict.ch)

  * contrib/hbformat/hbfmtcls.prg
    ! fixed mistakenly changed '==' to LEFTEQUAL() in prev commit
2011-05-09 19:46:56 +00:00
Viktor Szakats
fab384f35d 2011-05-09 20:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbi18n2.prg
  * utils/hbi18n/hbi18n.prg
  * contrib/hbformat/hbfmtcls.prg
    * changed ' = ' to LEFTEQUAL() macro

  * src/rdd/hbsix/sxini.prg
  * contrib/hbgd/tests/gdtestcl.prg
  * contrib/hbide/idebrowse.prg
    * changed ' = ' to ' Left( ... ) == '

  * contrib/hbct/tests/csetarge.prg
  * contrib/hbct/tests/trig.prg
  * contrib/gtwvg/tests/wvgactivex.prg
  * contrib/xhb/trpccli.prg
  * contrib/xhb/trpc.prg
  * contrib/hbcairo/tests/glyphdbg.prg
  * contrib/hbide/hbqreportsmanager.prg
  * examples/httpsrv/cgifunc.prg
  * examples/httpsrv/session.prg
    * ' = ' -> ' := '

  * contrib/xhb/traceprg.prg
  * contrib/xhb/ttable.prg
  * contrib/hbfbird/tfirebrd.prg
  * contrib/hbtip/tests/base64.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idebrowse.prg
  * examples/terminal/trm_srv.prg
    * ' = ' -> ' == '

  * contrib/xhb/tedit.prg
    * ' = ' -> ' == ' (I'm unsure about this, pls correct if you know the intent)

  * contrib/xhb/hbstruct.prg
    * ' = ' -> ' := '
    * formatted

  * contrib/hbtip/tests/base64.prg
    * File() -> hb_FileExists()

  ; TOFIX:
      - it's impossible for me to decide what the intent is in these files with ' = ' operator,
        please fix them:
          * contrib/hbide/idetags.prg
          * contrib/xhb/tcgi.prg
      - these also need to be fixed:
          * contrib/hbwin/legacy.prg:298:      xRet := ( ::OleValue = xArg ) /* NOTE: Intentionally using '=' operator. */
          * examples/rddado/tests/access2.prg:40:   LOCATE FOR ( 'First = "Lara"' )

      There are a ton more in gtwvw, hbnf, other examples and tests, I left them as is
2011-05-09 18:07:27 +00:00
Viktor Szakats
c85ff7b544 2011-05-09 19:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/memofile.c
    ! enabled EOF char on *nix platforms

  * src/rtl/base64d.c
    * uppercase hex nums to be in sync with base64c.c
2011-05-09 17:06:21 +00:00
Viktor Szakats
074926beaf 2011-05-09 18:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/httpsrv/uhttpd.prg
  * examples/httpsrv/cookie.prg
  * examples/httpsrv/cgifunc.prg
  * examples/httpsrv/session.prg
    * TRUE -> .T.
    * FALSE -> .F.
    * END -> ENDSWITCH
2011-05-09 16:57:32 +00:00
Przemyslaw Czerpak
f778c9be7c 2011-05-09 18:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/memofile.c
    % eliminated two call to hb_fsSeek() and one hb_fsRead() from
      non *nix version of MEMOREAD() function
    ! do not write final EOF character if write failed in MEMOWRIT()
      function
    ; TOFIX: In *nixes support for EOF character in MEMOREAD() and
             MEMOWRITE() is disabled by default - IMHO it's wrong
             because it's not possible to use these functions to exchange
             safely data with CA-Cl*pper applications or even DOS/Windows
             versions of Harbour applications.

  * harbour/src/rtl/hbcom.c
    * replaced infinite waiting for reading/writing from/to serial port
      in *nix builds with loops checking periodically (once per second)
      for HVM events (i.e. thread interrupting).

  * harbour/src/codepage/uc88591b.c
    * converted hex digit to uppercase

  * harbour/contrib/hbwin/win_dlg.c
    + added support for setting default file name in
      WIN_GETOPENFILENAME() and WIN_GETSAVEFILENAME() functions:
         WIN_GETOPENFILENAME( [[@]<nFlags>], [<cTitle>], [<cInitDir>],
                              [<cDefExt>], [<acFilter>], [[@]<nFilterIndex>],
                              [<nBufferSize>], [<cDefName>] )
            -> <cFilePath> |
               <cPath> + e"\0" + <cFile1> [ + e"\0" + <cFileN> ] |
               ""
         WIN_GETSAVEFILENAME( [[@]<nFlags>], [<cTitle>], [<cInitDir>],
                              [<cDefExt>], [<acFilter>], [[@]<nFilterIndex>],
                              [<nBufferSize>], [<cDefName>] )
            -> <cFilePath> |
               <cPath> + e"\0" + <cFile1> [ + e"\0" + <cFileN> ] |
               ""
2011-05-09 16:49:15 +00:00
Viktor Szakats
559144142d 2011-05-09 18:30 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/listbox.prg
    ! corrected minor typo in change:
        2009-02-18 14:18 UTC+0100 Przemyslaw Czerpak
      equality operator stayed '=' in one place. didn't cause
      any user level problem

  * utils/hbmk2/hbmk2.prg
    + avoiding '=' operator to be _SET_EXACT agnostic
    % deleted setting _SET_EXACT
2011-05-09 16:31:39 +00:00
Viktor Szakats
27340d85d2 2011-05-09 15:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/net.c
    ! NETNAME(): fixed potential GPF on linux/watcom builds
    ! HB_USERNAME(): fixed potential GPF on *nix and os2 builds
    ; Pls chk me
2011-05-09 13:55:12 +00:00
Viktor Szakats
a876c981d9 2011-05-09 15:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/wapi_misc.c
    ! trying to make hbwapi_LoadLibrarySystem() really safe
      by using LoadLibraryEx() with special flag. On win7/64 tested
      with 32-bit or 64-bit exe, it still tries to load f.e. winspool.drv
      from the apps own dir, at least as per procmon. GetSystemDirectory()
      will return system32 as the .dll dir, though it is SysWOW64, but
      this seems to be fixed internall by kernel.
      (safety is apparently fully going against MS's will, but anyway, 
      maybe I'm not getting it)

  * contrib/hbwin/wce_simc.c
  * contrib/hbwin/wce_smsc.c
  * contrib/hbwin/hbwin.hbx
  * contrib/hbwin/wce_sim.prg
    ! fixed to always define wce (and compiler) specific .prg level functions
2011-05-09 13:28:15 +00:00
Viktor Szakats
744a7426dd 2011-05-09 13:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbwapi.h
  * contrib/hbwin/wapi_misc.c
    * hbwapi_FileNameAtSystemDir() made static
    + hbwapi_LoadLibrarySystem() public function added
      this is safe version of LoadLibrary() when loading Windows
      system dlls. it will avoid dll hijacking vulnerability.
    ! deleted HB_EXPORT from hbwapi_t*() functions, they are
      public to this lib due to UNICODE setting dependance
    ; TODO: make hbwapi_LoadLibrarySystem() effective also for WinCE, 
            for now it will not add any system path under this platform.

  * contrib/hbwin/axcore.c
  * contrib/hbwin/mapi.c
  * contrib/hbwin/win_prn2.c
  * contrib/hbwin/win_prn3.c
  * contrib/hbwin/wapi_shellapi.c
    ! LoadLibrary() -> hbwapi_LoadLibrarySystem()
      thus fixing dll hijack vulnerability
2011-05-09 11:34:40 +00:00
Viktor Szakats
4e11f6d972 2011-05-09 13:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbwin/wapi_misc.c
  * contrib/hbwin/hbwin.hbp
  * contrib/hbwin/hbwapi.h
  * contrib/hbwin/win_prn3.c
    * hb_tstrlen() -> hbwapi_tstrlen() and made public
    * hb_tstrncat() -> hbwapi_tstrncat() and made public
    + hbwapi_tstrdup()
    + hbwapi_FileNameAtSystemDir() public function
      please review it, I'm notoriously bad with 1 byte over/underruns
2011-05-09 11:14:25 +00:00
Viktor Szakats
228aa05d9d 2011-05-09 12:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/gtwvg.c
  * examples/gtwvw/gtwvw.c
    % LoadLibraryEx() -> LoadLibrary()
2011-05-09 10:33:15 +00:00
Viktor Szakats
9302977cad 2011-05-09 12:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvgwin.c
    ! fixed to use GetModuleHandle() instead of LoadModule() on
      user32.dll and kernel32.dll. safer and faster.
2011-05-09 10:27:07 +00:00