* contrib/hbqt/qtcore/hbqt_pointer.cpp
+ Added: hbqt_par_isDerivedFrom() - protection against a null
pointer passed as an argument. This makes possible to detect
if an object is still active when passed. If not, a RTE is
generated. This covers some more potential user mistakes.
* contrib/hbqt/hbmk2_qt.hbs
! Fixed: to take use of the hbqt_par_isDerivedFrom() completely.
This renders parameter checking with Class TYPE constants
redundant which can be removed alltogether. This also
facilitates usage of subclassing a Qt class.
; TODO: impliment siblings checking inside hbqt_par_isDerivedFrom().
HBQPlainTextEdit() is a sibling of QPlainTextEdit().
* utils/hbmk2/hbmk2.prg
! fixed RTE when logging sign command
! fixed `` operator to strip CRs and convert LFs to space
in stdout output.
* src/rdd/dbcmd.c
! clarified DBCREATE() 4th parameter in comment
* utils/hbmk2/hbmk2.prg
* .hb? input make files are now considered with UTF8 encoding.
+ enabled full UTF8 CP on *nix systems. EXPERIMENTAL.
* debian/copyright
* package/winuni/mpkg_win_uni.nsi
* utils/hbmk2/hbmk2.prg
* contrib/hbpost.hbm
* contrib/hbnetio/utils/hbnetio/modules.hbp
* contrib/hbnetio/utils/hbnetio/netiosrv.prg
* contrib/hbqt/hbqt_common.hbm
* contrib/hbide/ideedit.prg
* contrib/hbide/idemisc.prg
* contrib/hbide/idesaveload.prg
* contrib/hbrun/hbrun.prg
* contrib/hbrun/plugins.prg
* config/postinst.hbs
* COPYING
+ added support for .hb extension for Harbour scripts.
I plan to make a full switch to .hb from .hbs.
* contrib/hbct/getsecrt.prg
* use hb_keyCode() instead of Asc() to form numeric key value.
* contrib/hbtip/encqp.prg
! Quoted-printable encoding/decoding fixed to use FOR/NEXT
loop instead of FOR/EACH and HB_B*() string functions to
operate on binary data regardless of HVM CP.
! Fixed old typo causing no encoding for line-ending whitespaces.
* contrib/hbtip/mail.prg
! Q-encoding fixed to use FOR/NEXT
loop instead of FOR/EACH and HB_B*() string functions to
operate on binary data regardless of HVM CP
* utils/hbmk2/hbmk2.prg
+ added experimental code signing support for win and darwin
using '-sign=<ID> [-signpw=<pw>]' options.
on win, it requires MSVS in path.
* utils/hbmk2/hbmk2.prg
! fixed missed incremental updates in '-inc -head=dep'
mode on win/os2/dos systems when -workdir= was set to
an absolute path. The drive separator colon was confused
with the file/dependency separator colon. Nasty.
* examples/dbu/dbu52.dif
* examples/dbu/dbu53.dif
+ updated for UTF8 HVM CP. Start with "-utf" option to activate.
In -utf mode, tables will also be open using UTF8EX CP.
+ added support for clipboard paste using <Alt+V>
+ link all CPs
! fixed to use hb_ps() instead of MS-DOS/win specific pathsep
* examples/commouse/commouse.prg
+ updated for unicode
* include/hbcompdf.h
* include/hbexprop.h
* include/hbexprb.c
* src/common/funcid.c
* src/common/expropt2.c
+ added compile-time optimization for HB_BCHAR()
and HB_BCODE().
* contrib/hbct/hbct.hbp
* contrib/hbct/hbct.hbx
+ contrib/hbct/ctscan.ch
+ contrib/hbct/kxlat.prg
* contrib/hbct/ctdummy.prg
* contrib/hbct/dummy.c
+ added CT compatiblity functions: SETKXLAT(), GETKXLAT(),
SETKXTAB(), GETKXTAB(). Former two replaces existing
dummy implementations. Check CT documentation for syntax.
NOTES: - KS_PAD[0-9] and KS_PAD_DECIMAL are not supported in
Harbour, because they have no corresponding inkey.ch
value.
- Harbour uses HB_GTI_INKEYFILTER to implement these
functions, and due to this, they will gracefully
fail if the application has already set
HB_GTI_INKEYFILTER to a custom value.
+ added:
HBCT_GETKXLAT( <nOrgKey>[, <nNewKey> ] ) -> <lAccepted>
HBCT_GETKXTAB( <nOrgKey> ) -> <nNewKey>
HBCT_SETKXLAT( <hTrs> ) -> <lAccepted>
HBCT_SETKXTAB() -> <hTrs>
Same as above, but they use standard inkey() values.
; USE AT YOUR OWN RISK. NO GUARANTEES.
* contrib/hbct/showtime.prg
* contrib/hbct/screen2.c
* internal fn renamed: _HB_CTDSPTIME() -> __HBCT_DSPTIME()
* src/rtl/hbregex.c
% deleted unnecessary protection around PCRE_CONFIG_UTF8
macro usage. (it was used unprotected elsewhere in the
code for a long time)
* INSTALL
+ added mingw64 on win64 host example. (same as on win32,
except comment)
* src/rtl/cdpapihb.c
% HB_UTF8TOSTR()/HB_STRTOUTF8() optimized to "fall through"
if the HVM CP is UTF8. Check me.
* utils/hbmk2/hbmk2.prg
! TOFIX removed from two FOR EACH loops, they work on ASCII chars only
! one FOR EACH loop conditionally converted to FOR NEXT to work with all CPs
! one FOR EACH loop converted to FOR NEXT and to work on binary data
! Changed certain function calls to hb_ascii*() prefixed versions
! fixed .hbx generator to work with accented filenames
* harbour/src/rtl/gtstd/gtstd.c
* harbour/src/rtl/gttrm/gttrm.c
* harbour/src/rtl/gtsln/gtsln.c
* harbour/src/rtl/gtpca/gtpca.c
! do not redirect STDERR to screen buffer if default screen
output is not redirected to console/tty device
* utils/hbmk2/hbmk2.prg
+ hbmk2 code made compatible with UTF8 HVM CP
except where FOR EACH is used on strings, which are all
broken with UTF8 now. Marked these with TOFIX.
+ strip UTF8 BOM from .hbm/.hbp/.hbc input files
+ added PROC CLIPINIT (I can't make it work, so commented
for now)
; Switching to UTF8EX creates quite many strange problems
when accepting cmdline arguments, passing them to embedded
compiler, external tools, so it's not yet enabled. Also,
one some platforms _SET_OSCODEPAGE is required (DOS/OS2),
on some not, and detection of these cases and actual value
is not easy (if possible). Tests made only on Windows,
maybe on *nix I'll retry and moving to UTF8 will be done
platform by platform.
; NOTE: I plan to make UTF8 the standard encoding for .hbp/.hbm/.hbc files.
; TOFIX: FOR EACH for UTF8EX CP
; TOFIX: cmdline arguments via Main() parameters, hb_AParams()
and hb_cmdLine() on Windows.
; TODO: Add a way to detect maximum bit width of unicode chars,
for now I hard-coded 16-bit.
* include/hbver.h
* package/harbour.spec
* package/harb_win.mft
* package/harbour-win.spec.in
* package/harbour-wce.spec.in
* package/winuni/mpkg_win_uni.bat
* harbour/debian/changelog
* trunk version bump. 3.1.0dev -> 3.2.0dev
this is to make it easy to create conditional code
for new features and the few incompatibilities after
introducing unicode in Harbour. May be bumped further
when FOR EACH is decided.
* contrib/hbexpat/tests/tohash.prg
+ enabled UTF8EX for testing
* contrib/hbmisc/udpds.prg
+ updated to be CP agnostic
+ changed protocol to use UTF8 through the wire
; NOTE: requires not yet committed HB_BLEFT()
* include/harbour.hbx
* minor
* harbour/include/hbapilng.h
* harbour/src/vm/hvm.c
* harbour/src/rtl/langapi.c
* harbour/include/harbour.hbx
+ added new PRG function:
HB_LANGNEW( <cNewLangId>, <cNewLangCpId>,
<cLangId>, <cLangCpId> ) -> <lOK>
this function dynamically creates new lang module translating
existing one then registers it, i.e.:
request HB_CODEPAGE_DE850
request HB_CODEPAGE_DEISO
request HB_LANG_DE
HB_LANGNEW( "DEISO", "DEISO", "DE", "DE850" )
SET( _SET_LANGUAGE, "DEISO" )
* harbour/src/rtl/cdpapi.c
* changed dynamic buffer for "EN" CP translations and flags
to static one - it allows to use this CP after hb_cdpReleaseAll()
* harbour/src/vm/cmdarg.c
! respect HB_ARGSHIFT( .T. ) in windows version of hb_cmdargProgName()
* harbour/ChangeLog
! fixed some typos in my unicode ChangeLog entry
* harbour/src/rtl/inkey.c
* modified HB_KEYPUT() and HB_KEYINS() to convert strings
into key codes instead of passing them directly to keyboard
buffer like in __KEYBOARD() function.
* harbour/include/hbgtcore.h
* harbour/src/rtl/hbgtcore.c
* modified hb_inkeySetText() (PRG __KEYBOARD() function) to translate
passed string into unicode values
This modification affects also HB_GTI_CLIPBOARDPASTE
* harbour/include/hbgtcore.h
! fixed typo in HB_GTSELF_KEYTRANS() macro.
It should also fix problem with function keys in some GTs,
i.e. ENTER in GTOS2 ALERT() reported by David.
* harbour/src/rtl/filesys.c
* use TEXT() macro
* minor modification in fs_win_get_drive()
* harbour/src/vm/hvm.c
* added protection against potential memory leak if
programmer change type of enumerated item
* utils/hbmk2/hbmk2.prg
+ added experimental framework for -ku:<cp> option. It is
processed by hbmk2 and HVM CP set appropriately before calling
the embedded Harbour compiler. As discussed here:
https://groups.google.com/d/msg/harbour-devel/a1_-DDXVVYM/CE3NspTzHV4J
I couldn't spot or test the effect of this yet.
Accepted <cp> values: "utf8", "cp1250", "cp852", etc...
+ added TODO to switch the internal codepage to UTF8EX.
it should help further in handling filenames with accents.
non-priority.
* src/rtl/menuto.prg
* formatting
* contrib/hbqt/gtqtc/gtqtc.cpp
- delete recently commented lines
* contrib/hbide/idedocks.prg
* contrib/hbide/idedocwriter.prg
* contrib/hbide/ideenviron.prg
* contrib/hbide/idefindreplace.prg
* contrib/hbide/idefunctions.prg
* contrib/hbide/ideharbourhelp.prg
* contrib/hbide/ideprojmanager.prg
* contrib/hbide/idesaveload.prg
* contrib/hbide/idethemes.prg
! Fixed: changes due to HBQT engine which now checks the
object validity by looking at object inheritance. This covers
many cases but not all. For all practical purposes hbIDE is
working ok now but in some extended usage, it again fails.
Looking at the ways if this could be covered under object
inheritance chain, which looks to be dim, so far.
So probably we have to revert back that change but let me
build the hypothesis before reverting.
* contrib/gtwvg/wvgwin.c
! fixed broken compilation in WVG_SendCBMessage() when using mingw 4.7
* doc/howtosvn.txt
+ added some more stuff
* ChangeLog
! removed tabs and added missing markup in latest commit
+ added reference to doc/howtosvn.txt
* contrib/hbqt/hbmk2_qt.hbs
Typo that generated wrong cpp code
*HBQT USERS PLEASE READ*
Please note that this patch introduces parameter checking on hbQt
methods when parameter is a hbQt object.
Up to now you could do some weird (and illegal) things like
passing a QLabel when a QToolbar was expected. These lead to GPF, also
random. Now hbQt checks that the object passed is of the expected type
or of a subclass. If the method expects a QToolbar as parameter now an
error is generated if we pass a QLabel. If the method expects a QWidget,
it is possible to pass a QWidget, a QLabel, or any other hbQt object
derived from QWidget, also user-defined ones.
It may be that this patch breaks old *WRONG* code that just for
casualty was not generating GPF. So if your program starts to report
errors for wrong parameters, please check your code.
Another change is that when a hbQt goes out of scope a disconnect() is
forced immediately in the destructor. This will prevent that
events/signals are activated by Qt for that object while it waits
for harbour GC to delete it. This was common during window closing step
or program end.