* contrib/hbide/ideenviron.prg
* Auto Detection: if hbide.exe is accompanied by hbmk2.exe,
and no environment is set, attempt is made to set path
of Harbour installation automatically. I do not know
the logic foe *.nix systems, please fix.
* contrib/rddsql/sqlbase.c
! fixed transfering records between two "array" SQLBASE workareas, when there
is a text/long/clob/memo field
Patch by Ilina Stoilkovska.
* contrib/hbpgsql/postgres.c
! added #include pg_config.h, '#if PG_VERSION_NUM' clauses were not working
+ plain wrappers for bulk data insert functions PQputCopyData, PQputCopyEnd
+ new function PQCOPYFROMWA which copies current workarea with CSV-like
bulk data transfer functions to PostgreSQL database, without the need
of creating temporary files - similar to __dbTrans() and __dbSql()
<lResult> := PQCOPYFROMWA( <pConn>, <cTable>, [<bWhileBlock>],
[<bForBlock>], [<aFieldNames>], [<nCount>],
[<lTrimStrings>], [<nPreBuffer>] )
<nPreBuffer> - default is 1, which turns into 1 * 1400 bytes
(to keep it below typical network MTU of 1500 bytes),
needs testing how libPQ is doing buffering by itself,
and if this is needed?
Patch by Ilina Stoilkovska. Many thanks.
* contrib/hbpgsql/hbpgsql.hbx
+ contrib/hbpgsql/rddcopy.c
+ contrib/hbpgsql/hbpgsql.h
* contrib/hbpgsql/postgres.c
* contrib/hbpgsql/hbpgsql.hbp
+ moved PQ related declarations to separate header. low-level functions made public.
% moved new PQCOPYFROMWA() to separate source to untie the main wrappers from RDD components
* HB_ prefix to PQCOPYFROMWA() name
* minor mods to above
* package/winuni/mpkg_win_uni.bat
* package/winuni/mpkg_win_uni.nsi
- deleted x64 flavor of some exes which don't give any benefit of the 64-bitness
* contrib/hbcuied/cu_object.prg
+ Implemented: two-way saving/loading of screens from PRG sources.
Alt+S - Save / Alt+L - Load, keys are defined.
At startup, if hbCuiEd is invoked with a .prg file name
as first and only parameter, then all screens embedded
in the source are presented for selection, and selected
screen is brought in the designer. On save the actual
indent of the loaded screen is preserved which means
screens can be designed in real-time. If there is a need
screens can be edited in the PRG ( assumed, it follows the
protocols laid down by the designer ). Screens can be
saved with new name. In this case a new function as
"hbcui_" + screen name will be appended to the source
which later can be edited and placed anywhere in the PRG.
Will write a test program to demonstrate its two-way
capabilities in a couple of days.
* utils/hbmk2/hbmk2.prg
+ hbmk2 executable if renamed, copied or symlinked to the
name 'harbour', it will make it behave as classic harbour
executable, or IOW it will switch to hbmk2 -hbraw mode in such
scenario. This makes it possible to continue using 'harbour'
as a command even in distros which don't ship with classic
harbour executable.
* contrib/hbcuied/cu_main.prg
! do not reference SVN source tree at runtime (-icon option is enough)
BTW favicon.ico is for webpages, for apps harb_win.ico is the one
* contrib/hbtip/sendmail.prg
! if hb_SendMail() receives invalid password, mail isn't sent, but
hb_SendMail() returns .T.
Fix from Dmitry Ryzhkov via Pavel Tsarenko.
* contrib/hbcuied/cu_main.prg
! deleted forced GT selection code to let it build on any platform
* contrib/hbcuied/hbcuied.hbp
! -gtwvt guarded for win platform
* contrib/hbcuied/cu_object.prg
+ Implemented: source is generated.
Provide source file name and screen identity and look into
the code it generates. Let me know if that can be refined
anyway.
* contrib/hbcuied/cu_main.prg
* contrib/hbcuied/cu_object.prg
* contrib/hbcuied/cu_utlty.prg
* contrib/hbcuied/hbcuied.ch
* Many more refinements. Try F4 on any object.
* contrib/hbcurl/core.c
! do not include curl/types.h to make it build with 7.21.7 and newer.
Thanks to Guy Roussin for the report.
% version guarded curl/easy.h and curl/types.h so now they
are only used for those very old libcurl versions that
require it
* contrib/hbcuied/hbcuied.hbp
* sync with other exe contrib
* contrib/hbcuied/cu_desgn.prg
* contrib/hbcuied/cu_main.prg
* contrib/hbcuied/cu_menu.prg
* contrib/hbcuied/cu_outpt.prg
* contrib/hbcuied/cu_prpty.prg
* contrib/hbcuied/cu_utlty.prg
* contrib/hbcuied/hbcuied.hbp
- Removed: dependancy on GTWVG.
Now hbCuiEd is portable across any platform.
In SVN it has GTWVT dependancy.
Just tweak the hbcuied.hbp according to your platform.
* Changed: a lot of code cleanup and formatting, much more to come.
+ contrib/hbcuied
+ contrib/hbcuied/cu_achoi.prg
+ contrib/hbcuied/cu_desgn.prg
+ contrib/hbcuied/cu_field.prg
+ contrib/hbcuied/cu_main.prg
+ contrib/hbcuied/cu_menu.prg
+ contrib/hbcuied/cu_outpt.prg
+ contrib/hbcuied/cu_prpty.prg
+ contrib/hbcuied/cu_utlty.prg
+ contrib/hbcuied/hbcuied.ch
+ contrib/hbcuied/hbcuied.hbp
+ Added: initial commit of Harbour's CUI Forms Editor.
NOTE: It is a work-in-progress and hence is subject
to heavy changes. For now you can just play with
it, though, it does not offer anything singnificant.
Only building blocks are set in place.
This code has been pulled out from my application
sources which is a part of much larger reports
object. Hence, it contains some code which
eventually will be stripped out. Also sources
need to be formatted heavily per Harbour standards.
During next several days I will be occupied with
this development. Any suggessions coming in way
will highly benefit this tool.
* contrib/hbide/ideactions.prg
* contrib/hbide/ideedit.prg
* contrib/hbide/ideeditor.prg
* contrib/hbide/idemain.prg
* contrib/hbide/idethemes.prg
+ Added: <Edit><Format><Upper Case Harbour Keywords> option.
When applied to an editing instance, Harbour keywords are
capitalized. It is a useful utility for old sources where
we were lazy on readable importance of our sources.
* contrib/hbtip/sendmail.prg
* contrib/hbtip/httpcli.prg
* contrib/hbtip/smtpcli.prg
* contrib/hbtip/client.prg
* contrib/hbtip/log.prg
* contrib/hbtip/ftpcli.prg
* contrib/hbtip/popcli.prg
+ allowing to pass custom tracelog filename to TIPCLIENT*:New()
% moved tracelog initialization from subclasses to TIPCLIENT class
+ added TIPLOG:Clear() method
- deleted TIPCLIENTFTP:StartCleanLogFile() and
TIPCLIENTFTP:cLogFile because they're not compatible
with the generic logging solution implemented now, ie.
they wouldn't work when using custom tracelog block and
would require additional changes into the wrong direction
to implement fully. In current form, it was also broken,
creating an RTE. For similar functionality a custom codeblock
can be used together with TIPLOG:Clear() method, and this
can be used with all TIPCLIENT* classes.
* minor formatting and renamed bTrace to xTrace
; Thanks to Klas Engwall for raising and walking through these
issues.
; Please test and tell if anything is broken
* package/winuni/mpkg_win_uni.bat
! added workaround for what it seems like a BCC IMPLIB tool
bug (met in the past a few times already), where IMPLIB
will forget to add leading underscore for certain symbols,
leading to unexplained "unresolved external" errors when
trying hbmk2 with -shared option with BCC. The bug is present
in BCC 5.5 and BCC 5.8, no newer versions tested.
The workaround is to convert to .def file first using IMPDEF,
then correct the .def to avoid an IMPLIB pitfall, where it
cannot handle '-' char in library name unless enclosed between
double-quotes (but IMPDEF doesn't add those double quotes).
[ So now winuni pkg builder script requires GNU SED tool.]
Then the corrected .def file can be converted to .lib by
IMPLIB correctly.
[TOMERGE 3.0]
* harbour/src/vm/classes.c
! added missing initialization of onError and destructor flags.
The problem could be exploited when class inherits from more
then one parent classes and onError handler[s] or destructor[s]
were neither defined in the class nor in the first ancestor.
* harbour/contrib/hbwin/olecore.c
+ added helper PRG functions:
__oleInvokeMethod(), __oleInvokePut(), __oleInvokeGet(),
__oleGetNameId()
* contrib/hbct/ctwin.c
! use correct format string for int
* contrib/hbexpat/internal.c
! fix comparison of integers of different signs
* contrib/hbnf/fttext.c
! remove extraneous parentheses
; issues found by Clang
* harbour/src/rtl/hbcomhb.c
* indenting
* harbour/contrib/xhb/xhb.hbp
- harbour/contrib/xhb/xthrow.prg
+ harbour/contrib/xhb/xthrow.c
* rewritten THROW() function in C
* harbour/contrib/hbwin/olecore.c
+ add PRG function __OLEISDISP() which can be used to verify if given
parameter is Harbour OLE pointer item.
* harbour/src/vm/runner.c
* do not execute EXIT procedures inside HB_HRBDO() call.
This modification allows to call HB_HRBDO() more then
once for the same HRB module without activating INIT
and EXIT procedures on each call. EXIT procedures will
be activated when HRB modules is unloaded or on HVM QUIT.
* harbour/contrib/hbwin/axcore.c
! cleaned casting
* contrib/gtwvg/wvgutils.c
- Removed: WVT__GetOpenFileName() and WVT__GetSaveFileName() functions.
* contrib/gtwvg/wvgpaint.prg
* Swapped: Wvg_GetOpenFileName() now calls hbwin/Win_GetOpenFileName()
and Wvg_GetSaveFileName() now calls hbwin/Win_GetSaveFileName().
hbwin implementation is far superior.
* harbour/src/rtl/fserr.c
! moved HB_TRACE() message - it was overwritting OS error code.
* harbour/src/rtl/filesys.c
! removed dup2() function call left by mistake during some modifications
* harbour/include/hbstack.h
* harbour/src/vm/estack.c
+ added internal function hb_stackLockCount()
* harbour/src/vm/hvm.c
* modified hb_vmRequestReenter() to return HB_FALSE instead of GPF
when called from non HVM thread.
* extended hb_vmRequestReenter[Ext]()/hb_vmRequestRestore() to
save and restore HVM stack lock state and lock HVM stack before
successful return.
This extensions is critical for MT applications which need
to safely reenter HVM also from code encapsulated inside unknown
number of hb_vnUnlock()/hb_vnLock() calls.
[TOMERGE 3.0]
* harbour/src/compiler/cmdcheck.c
% removed redundant conditions
* src/3rd/png/pngerror.c
* src/3rd/png/pngwrite.c
* src/3rd/png/pngconf.h
* src/3rd/png/pngwtran.c
* src/3rd/png/pngset.c
* src/3rd/png/pngpread.c
* src/3rd/png/LICENSE
* src/3rd/png/pngrutil.c
* src/3rd/png/png.dif
* src/3rd/png/pnginfo.h
* src/3rd/png/pngstru.h
* src/3rd/png/pngwutil.c
* src/3rd/png/pnglconf.h
* src/3rd/png/pngread.c
* src/3rd/png/pngmem.c
* src/3rd/png/png.c
* src/3rd/png/png.h
* src/3rd/png/pngpriv.h
* src/3rd/png/pngrtran.c
* src/3rd/png/Makefile
* src/3rd/png/pngtrans.c
* update to 1.5.4
* contrib/3rd/sqlite3/sqlite3.c
* contrib/3rd/sqlite3/sqlite3.dif
* contrib/3rd/sqlite3/sqlite3.h
* contrib/3rd/sqlite3/sqlite3.hbp
* update to 3.7.7.1
; Both patch from Tamas Tevesz. Thank you.
; Administrative note: I'm also giving up applying patches,
so I'm looking for devs taking over this task. I'd be
most happy if Tamas could commit directly his own, since
he is doing a great job and the patches almost never require
any touchups, so I'm gladly opening R/W access for direct
commit. Tamas, what do you think?
* package/winuni/RELNOTES
! adjusted hbmk2 cmdline example for building wce apps
(it gets around the problem fixed in hbmk2 below)
[TOMERGE 3.0]
* utils/hbmk2/hbmk2.prg
! fixed to only look for ccprefix/ccpostfix-ed gcc executable
on wce, if ccprefix/ccpostfix is non-empty. This fixes misdetection
of cygwin when -plat=wce is used.
* contrib/hbnf/menutonf.prg
! FT_MenuTo() fixed to default 3rd parameter if non-logical type
is passed. this is original NFLIB bug. Spotted and fix siggested
by Klas Engwall.
* ChangeLog
+ added TOMERGE to previous entry
* src/compiler/cmdcheck.c
! added workaround for what it seems like a clang bug in latest Apple XCode 4.1
'Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn)',
manifesting in this error:
---
/Developer/usr/bin/clang -I. -I../../../../../include -fno-common -W -Wall -O3 -o cmdcheck.o -c ../../../cmdcheck.c
clang: error: unable to execute command: Segmentation fault: 11
clang: error: clang frontend command failed due to signal 1 (use -v to see invocation)
---
The fix simply introduces a new variable to use ptr reference instead of
indexed vector access in one specific loop.
Please review/refix it, I didn't make functional tests.
* contrib/hbide/idemain.prg
+ Implemented: Order of "Functions List" is remembered as per
last setting initiated by the user via context menu. The order
can be "Natural" or "Ascending".
* harbour/contrib/hbwin/olecore.c
! fixed to use Harbour STR API instead of hardcoded ANSI CP for
conversions between Harbour and OLE items.
Patch provided by Phil Krylov with some minor modifications.
* harbour/src/vm/hvm.c
! added protection against self-recursive iterating in code like:
FOR EACH var in @var
[...]
NEXT
Now RTE is generated in such case instead of GPF
* NEWS
+ copied known issues from recent Harbour thread
+ added text redirecting users to ChangeLog for new
featues, changes and possible incompatibilities.
[TOMERGE 3.0]
* debian/changelog
! forgot to bump version in debian packaging
best is to use plain make, apparently debian packaging was
not tested since quite long.
[TOMERGE 3.0]
2011-07-18 01:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* debian/rules
- disabled contrib dynlibs.
[TOMERGE 3.0]