* external/patchup.prg
* Changed gtcgi force option to be the more portable-style one.
* contrib/hbqt/utils/hbqtui.prg
+ Added error message
; TOFIX: This tool needs serious ruggedizing to be ready for
production environment. It just fails to give _any_
on screen feedback about what's happening, or what
fails. This means that the caller will fail in various
ways depending on how hbqtui failed. It also doesn't
return anything via errorlevel. Pritpal can you look
at it?
* contrib/Makefile
* contrib/makefile.prg
+ Added experimental call out from GNU Make to Harbour
contrib make orchestrator script.
* contrib/hbide/hbide.hbp
* contrib/hbide/hbide.prg
* contrib/hbide/ideactions.prg
+ contrib/hbide/idebrowse.prg
* contrib/hbide/idedocks.prg
* contrib/hbide/ideeditor.prg
* contrib/hbide/ideobject.prg
* contrib/hbxbp/xbpbrowse.prg
+ Implemented: database tables manager ( dbu ).
A work-in-progress but you can have a feel of it.
1. "View"->"Browser Widget"->Select a Table.
2. Hide the widget and repeat process 1, select another table.
3. The widget will now contain both browsers.
NOTE: many surprises may be there, just bear with me,
it is a quick commit. Refinements are scheduled for
this whole week.
* contrib/hbide/toolsutilities.ui
+ Added "Plugin" "Init at startup" slots.
* contrib/hbqt/hbqt_hbslots.cpp
+ Deactivated: one tracelog entry.
* contrib/hbide/hbide.prg
* contrib/hbide/ideactions.prg
* contrib/hbide/idedocks.prg
* contrib/hbide/ideedit.prg
* contrib/hbide/ideeditor.prg
* contrib/hbide/idemisc.prg
* contrib/hbide/ideplugins.prg
* contrib/hbide/ideprojmanager.prg
* contrib/hbide/idethemes.prg
* contrib/hbide/idetools.prg
% Fixed: docking widgets had stopped to be resizable.
+ Enhanced: plugins are now supported in .prg format also.
+ REQUESTed all hbQT and hbXBP classes for scripts to be
completely functional.
+ Added: "Plugins" combo-box and "Init at startup" checkbox in
"Tools & Utilities" dialog below to "Command Line Parameters".
If "Init at startup" checkbox is checked then this plugin
is initialized at startup. Such defined plugins can be placed
on user-defined toolbars and can be executed directly from
there.
"Parameters" editbox can hold the parameters passed to the plugin.
The format of such parameters is like command line but with one
difference that string parameter are enclosed in double quotes and
separated by spaces. For example: "open" 100 100 700 500.
+ Initialized: plugins at the startup which are flagged as such
through "Tools & Utilities" interface. It facilitate to hook
user defined parameters, object tweakings, etc at the startup.
For example, user can setup compiler and or build environment
with hb_setEnv() functions.
+ Top-Toolbar icon "Run as Script". This option allow you to run
source of current editing instance as a script. It is especially
handy to debug isolated dialogs etc on the fly. Below is an
example to test a dialog:
FUNCTION Main()
LOCAL oDlg
LOCAL nT := 10, nL := 10, nW := 300, nH := 200
oDlg := QDialog():new()
oDlg:move( nT, nL )
oDlg:resize( nW, nH )
oDlg:exec()
RETURN NIL
NOTE: no preprocessor is available, so all variable must be self contained.
Preceived, thoughtof, tested, by Antonio Linares, thanks.
* contrib/hbqt/qtwebkit/hbqtwebkit.hbp
+ contrib/hbqt/qtwebkit/hbqtwebkits.hbp
* contrib/hbqt/qtdesigner/hbqtdesigner.hbp
+ contrib/hbqt/qtdesigner/hbqtdesigners.hbp
+ Added working hbmk2 make files, also for Windows static mode.
(BTW, basically a simple copy of existing qt ones)
* utils/hbmk2/hbmk2.prg
* config/postinst.prg
+ Changed the way default .hbc search paths are setup. Now
instead of being speficied by hbmk.cfg, they are hard-coded
into hbmk2: contrib, addons. This makes these
search paths work even whithout 'install' build phase.
Pls note that 'examples' fell out of the std search path list.
- hbmk2 will _no longer_ automatically process .hbc files in
current directory. This concept was causing more trouble
than good, as it turned out. Also removed -nohbc option,
which has now lost its meaning.
; TODO: Rename hbmk.cfg to hbmk.hbc to have a standard
extension.
; TODO: To solve the search path issue on *nix dir structures.
Currently the search paths are:
bin/../contrib/, bin/../addons/
; TODO: Delete -nohbc options from all hbmk2 project files.
; TODO: Delete paths from .hbc references (possibly after
solving the *nix search path arrangement issue)
* package/winuni/mpkg_win_uni_extra_copy.bat
* package/winuni/mpkg_win_uni.bat
* package/winuni/mpkg_win_uni.nsi
* Renamed hbrun-x64-dll.exe -> hbrun-dll-x64.exe
* examples/rddado/rddado.hbc
! Fixed .hbc reference path. Thanks to Itamar for reporting it.
* package/winuni/mpkg_win_uni_extra_copy.bat
* package/winuni/mpkg_win_uni.bat
* package/winuni/mpkg_win_uni.nsi
* package/winuni/mpkg_win_uni.bat
* utils/hbformat/Makefile
* utils/hbi18n/Makefile
* utils/hbtest/Makefile
* config/postinst.prg
* Forcing shared build for hbformat, hbi18n and hbtest.
Simply to save binary sizes on all platforms.
* Disabled extra shared (-dll) version for hbformat, hbi18 and hbtest
because this is now the default mode for these.
* Disabled extra shared (-dll) version for hbmk2.
* Changed distro to always include hbrun x64 shared build, too.
; To sum it up: hbformat, hbi18n, hbtest will now have shared exes
generated and distributed, for hbmk2 only static one, and for hbrun
both. This simplifies build and install, and fully syncs x64 tools
distributed, with 32-bit ones.
* utils/hbrun/Makefile
* utils/hbrun/hbrun.hbp
+ Enabled MT mode for hbrun. Not required, but it's a good way to
start off with experimenting. It could be useful for scripts, too.
* contrib/hbcups/Makefile
* contrib/hbcups/hbcups.hbp
- Disabled for win, wce, dos. It's actually support by
win/mingw and win/cygwin, but it's not very useful plus
enabling it causes much more trouble than benefit at
this point.
* contrib/makefile.prg
* Install .dlls to bin dir.
* contrib/hbide/ideprojmanager.prg
* contrib/hbide/hbide.hbp
- contrib/hbide/resources/hbmk2_plugin_uip.prg
+ contrib/hbide/resources/hbmk2_plugin_ui.prg
* Renamed for consistency.
* contrib/hbide/resources/hbmk2_plugin_ui.prg
* contrib/hbqt/hbmk2_plugin_moc.prg
* Minor cleanup.
* include/hbapicom.h
! Fixed missing HB_EXTERN_BEGIN/END
+ Added HB_EXTERN
* external/patchup.prg
; Patch and log text by Tamas Tevesz:
+ don't let first `map' source be non-flat (would break
tree top search)
+ on errors, also cite line numbers for easier makefile debugging
+ check and enforce destination files to fit in the 8+3 naming
scheme
+ document (mis)features of, and requirements for `URL' + small
clarifications
* contrib/hbqt/utils/hbqtui.prg
* contrib/hbqt/utils/hbqtui.hbp
- Deleted HBQT dependency. It's not needed for this tool.
* contrib/makefile.prg
+ Rearranged build order to satisfy dependencies.
* utils/hbmk2/hbmk2.prg
+ Added internal ${hb_workdynsub} variable to return subdir of
intermediate files built for dynamic libs on platforms where
dynamic libs require different compiler settings.
+ Adjusted the place where plugin event 'pre_c' is called from.
* contrib/xhb/xhb.hbp
! Synced variable list with Makefile.
* contrib/hbqt/hbmk2_plugin_moc.prg
* contrib/hbide/resources/hbmk2_plugin_uip.prg
+ Reworked to properly support -clean
+ Reworked to not try building files when some other
factors (f.e. -stop option) would skip building
their output files.
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
! Fixed unused var warning.
* contrib/hbziparc/hbziparc.hbp
! Added missing reference to hbmzip.hbc.
* contrib/hbnf/ftint86.c
! Added another dummy function required by .prg files.
* contrib/hbxpp/tbrowsex.prg
! Commented function call referencing a non-existent
function (it's a STATIC function in core)
* contrib/makefile.prg
* Changed the way HB_BUILD_NAME is handled.
* Changed the way how target dir is formed.
(delegating more work to hbmk2)
* utils/hbmk2/hbmk2.prg
+ -hbimplib mode now respects -clean option.
* contrib/hbqt/hbmk2_plugin_moc.prg
* contrib/hbide/resources/hbmk2_plugin_uip.prg
+ Will only display tool detection information if -info
option is used.
* contrib/makefile.prg
+ Setting -width=1000 to not break up output.
* contrib/gtalleg/gtallegs/Makefile
* contrib/gtalleg/gtallegs.hbp
! Fixed regression: disabled for pocc again.
* contrib/hbqt/plug_moc.prg
* contrib/hbide/resources/hbmk2_plugin_uip.prg
! Fixed to not build in -clean mode.
* contrib/hbqt/plug_moc.prg
! Fixed to honor 'HB_WITH_QT=no' setting.
* contrib/hbqt/utils/hbqtui.prg
! Fixed to not RTE in various error situations.
+ contrib/hbnf/ftint86.c
* contrib/hbnf/Makefile
* contrib/hbnf/hbnf.hbp
+ Added dummy FT_INT86() function to make the .dll link
properly. Many functions are relying on this call, which
makes them not work and makes their implementation DOS
specific.
* contrib/makefile.prg
! Fixed clean mode to not create a build, too.
+ SETCANCEL( .F. ) (trying to solve not working break key)
+ Don't attempt to build dynlib versions of contribs not
having an .hbc file.
* contrib/hbtip/hbtipssl.hbp
! Fixed typo in hbssl.hbc reference.
* contrib/hbide/resources/hbmk2_plugin_uip.prg
+ Added hbqtui location detection. (HBQTUI_BIN envvar,
Harbour bin dir and PATH)
* contrib/hbqt/hbqt_common.hbm
- contrib/hbqt/plug_moc.prg
+ contrib/hbqt/hbmk2_plugin_moc.prg
+ Renamed. Not sure this will be the final one, anyways keeping
consistency.
+ contrib/makefile.prg
+ Added new control script which is meant to orchestrate
building contribs, both libs and utils, with clean/install
support and option for extra lib/bin addons. It's also
possible to build dynamic version of the libs.
* examples/rddado/adordd.prg
* Cleanups.
* examples/rddado/rddado.hbp
+ Added -w3 option.
* contrib/gtalleg/gtallegs/Makefile
* contrib/gtalleg/gtallegs.hbp
! Disabled static build for everything except msvc and pocc.
* contrib/gtalleg/gtallegs.hbc
! Added libdir for static lib.
+ contrib/gtalleg/tests/test.prg
+ Added simple test app.
* src/rtl/gtwvt/gtwvt.c
+ SETMODE() will now support automatic resizing of font to make
requested dimensions fit on the screen, when HB_GTI_RESIZABLE
is enabled. (Previously in such case SETMODE() returned .F.)
Please test/review it.
* examples/rddado/tests/test.mdb
! Updated with newly generated one. Seems this file "rots" while
left sitting there on SVN, this is probably the 3rd time I'm
doing this, just to make it open. [ or maybe the file format
required by ADO changes constantly with OS updates/upgrades? ]
* examples/rddado/tests/access1.prg
! Deleted debug code leftover.
* Minor cleanups
* examples/rddado/tests/access2.prg
+ Added date column
! Fixed LOCATE command filter argument. It was not working
since the initial committer added it, because the filter
string used Harbour syntax, while it requires ADO (SQL-like)
syntax. RDDADO will make a very basic attempt to help in
that conversion, but f.e. aliased field names (and many
others) will break it. So: use ADO filter syntax until
this gets properly resolved.
* Minor cleanups
* examples/rddado/rddado.hbc
! Added missing libpath option.
* utils/hbmk2/hbmk2.prg
+ Added '-quiet-' option to turn off -quiet switch.
(note that -quiet will also force off -info, so after
-quiet- you also want to use a -info option to reverse
that)
* external/patchup.prg
+ Added patch by Tamas Tevesz:
- if rediffing, patchup will now proceed even if there's no DIFF. this
helps when creating the very first diff.
- new file name defaults to $(component).dif
- if a rediff produces no result (no differences between upstream and
hb), no zero-length .dif will be written, and a possibly
pre-existing diff will be removed.
there's still some room for improvement for patchup to articulate what
it is doing, but hopefully not even the current one is confusing.
+ contrib/hbwin/hbwin.hbp
+ Added hbmk2 build file
* contrib/hbwin/legacycd.c
* contrib/hbwin/wapi_winbase.c
* contrib/hbwin/win_evnt.c
! Fixed msvc cast warnings (when building using hbmk2)
Two of them were long time notorious ones.
* external/png/Makefile
! Fixed one MAP entry. Patch by Tamas Tevesz.
* contrib/hbodbc/todbc.prg
! Attempt to fix sf.net bug #2984474.
- TODBC class seems to have a typo where ROUND() is called with
full number width instead of number of decimals in
in TODBC():LoadData() method
- Added SQL_BIGINT to list of numeric types when doing the
conversion in TODBC():LoadData() method.
; Please review me a test with real ODBC connection, these were
blind fixes, I'm not user of TODBC class.
* src/rtl/achoice.prg
! ACHOICE(): Fixed two navigation bugs (misplacement and RTE)
reported by Abe Buchinger.
Many thanks to Jerry Finuliar for the patches.
* external/libhpdf/Makefile
- external/libhpdf/libhpdf.dif
* external/patchup.prg
+ Applied three patches sent to the list by Tamas Tevesz,
tweaking patchup tool and pcre metadata.
Pls check me, there was one hunk failure which I redid
manually.
+ external/patchup.prg
+ Added new 'patchup' Harbour script written by Tamas Tevesz.
The script serves as a tool to automate downloading,
file renaming, patching and recreating local .dif for
source packages we host locally in external directory.
The tool is also able to automatically recreate .dif file
after making local modifications in these sources,
don't forget to run 'hbrun patchup -rediff' in such case.
[ It replaces prev ren_sfn.prg tool created by me. ]
Please make sure to read the documentation and tool
requirements included in the .prg itself.
Very nice job, thanks a lot Tamas.
; TODO: Updating Makefiles with new metadata.
- config/ren_sfn.prg
- Deleted tool now superceded by patchup.prg
* include/hbdefs.h
+ Added two new abstract types: HB_AREANO, HB_FIELDNO
* src/rdd/wacore.c
* src/rdd/dbcmd.c
* src/rdd/dbcmd53.c
* src/rdd/wafunc.c
+ Using above abstract types as casts to pacify long time
msvc warnings.
+ Using HB_USHORT cast to pacify msvc warnings in hb_rddList()
and hb_rddRegister() (shouldn't these have 'int' parameters?)
* contrib/xhb/xhb.hbp
* Synced with actual file list.
* harbour/include/hbgtinfo.ch
* harbour/include/hbgtcore.h
* harbour/src/rtl/hbgtcore.c
+ added HB_GTI_INKEYFILTER which allows to set/get codeblock used to
filter inkey key codes. This codeblock receives as 1-st parameter
actually processed inside INKEY() function key code. It should return
final inkey code (it can be the same or 0 if key should be ignored.
I.e. this code change key 'a' to 'B' and blocks 'c':
hb_gtInfo( HB_GTI_INKEYFILTER, { | nKey |
SWITCH nKey
CASE ASC( 'a' )
RETURN ASC( 'B' )
CASE ASC( 'c' )
RETURN '0'
ENDSWITCH
RETURN nKey
} )
+ added HB_GTI_INKEYREAD which allows to set/get codeblock executed
just before INKEY() reads key code from the GT typeahead buffer.
If it returns non 0 numeric value then this value is returned instead
as inkey code. Otherwise standard inkey procedure is activated and
key code is read from the GT typeahead buffer.
* harbour/include/hbextern.ch
* harbour/src/rtl/inkey.c
- removed HB_INKEYSETPREBLOCK() and HB_INKEYSETPOSTBLOCK() functions
* harbour/contrib/xhb/Makefile
* harbour/contrib/xhb/xhbgt.c
+ harbour/contrib/xhb/xhbinkey.prg
* harbour/contrib/xhb/hbcompat.ch
* updated emulation of xHarbour hb_SetInkeyBeforeBlock() and
hb_SetInkeyAfterBlock() functions to use new HB_GTI_* functionality.
Incompatibility warning!
In Harbour timeout value passed to inkey() is correctly respected
and not reset internally on each call to inkey after block.
If inkey before block returns non 0 numeric value then it's not
ignored but returned as INKEY() function result without touching
GT typeahead buffer.
* contrib/hbnetio/netiocli.c
* contrib/hbnetio/netiosrv.c
+ Added casts to the points where internal size pointers
are converted to/from 32-bit (long) ones for transmission.
; Please review. Maybe these are useful warnings once 64-bit
support is to be implemented for NETIO interface, but
it doesn't seem very likely (or useful) in the near future.
Maybe it'd be better to use fixed bit type here too to
emphasis this internal "limit"?
* contrib/hbmisc/hbeditc.c
! strcpy() -> hb_strncpy()
! strncpy() -> hb_strncpy()
; NOTE: Could be that I broke it.
! Fixed one type HB_ISIZ -> HB_FOFFSET
* contrib/hbqt/utils/hbqtui.prg
% Minor opt.
- Deleted unnecessary strings from output.
* contrib/hbide/hbide.hbp
+ Changed to generate .uip files dynamically using uip
plugin.
; TODO: If this goes well, delete .uic and .uip files from SVN,
move resources/*.ui to hbide source root dir.
* contrib/hbqt/utils/hbqtui.prg
! Fixed to use GTCGI.
; TOFIX: There is a great deal of screen flickering due to
external call to uic.exe on Windows.
+ contrib/hbide/resources/hbmk2_plugin_uip.prg
+ Added .ui -> .uip plugin.
; NOTE: hbqtui executable needs to be in PATH or
current dir.
* contrib/hbide/ideprojmanager.prg
+ Enabled above plugin.
- contrib/hbide/resources/hbmk2_plugin_hbide.prg
- Deleted empty plugin.
* utils/hbmk2/hbmk2.prg
+ Display RTEs in plugin code by default, suppress by -quiet.
(before it was enabled by -info)
- contrib/hbqt/utils/hbmk.hbm
+ contrib/hbqt/utils/hbqtui.hbp
* Renamed to be more easily started by automated make process.
* contrib/hbqt/utils/hbqtui.prg
! Fixed to accept any pathsep on input
* Changed to use .uip extension for output
! Fixed to use full output name as specified if a non-dir
is specified with -o option
- Deleted -noprefix option, there is no prefix in any case anymore
! Fixed to not include the generator's own SVN ID in generated files
* Changed to not leave .uic file behind by default
! Fixed to use platform EOL in generated files.
% Don't return an array from MAIN() function
; These changes allow to create automated processes to
generate .hbp from .ui.
+ contrib/hbqt/utils/hbmk.hbm
+ Added hbmk2 make file for hbqt utils.
* contrib/hbmisc/hbeditc.c
* Type (and some code) cleanup continued.
Deleted int casts, using HB_BOOL instead of int,
using char instead of int, using hexa notation for
HARDCR instead of high-char in source, etc.
* One strcpy() converted to hb_strncpy().
* contrib/hbide/hbide.hbp
- contrib/hbide/ui_docviewgenerator.prg
- contrib/hbide/ui_docwriter.prg
- contrib/hbide/ui_environ.prg
- contrib/hbide/ui_environments.prg
- contrib/hbide/ui_finddialog.prg
- contrib/hbide/ui_findinfiles.prg
- contrib/hbide/ui_findinfilesex.prg
- contrib/hbide/ui_findsource.prg
- contrib/hbide/ui_funclist.prg
- contrib/hbide/ui_mainwindow.prg
- contrib/hbide/ui_projectpropertiesex.prg
- contrib/hbide/ui_searchreplace.prg
- contrib/hbide/ui_searchreplacepanel.prg
- contrib/hbide/ui_selectionlist.prg
- contrib/hbide/ui_selectproject.prg
- contrib/hbide/ui_setup.prg
- contrib/hbide/ui_shortcuts.prg
- contrib/hbide/ui_skeletons.prg
- contrib/hbide/ui_themes.prg
- contrib/hbide/ui_themesex.prg
- contrib/hbide/ui_toolsutilities.prg
- contrib/hbide/ui_updown.prg
+ contrib/hbide/docviewgenerator.uip
+ contrib/hbide/docwriter.uip
+ contrib/hbide/environ.uip
+ contrib/hbide/environments.uip
+ contrib/hbide/finddialog.uip
+ contrib/hbide/findinfiles.uip
+ contrib/hbide/findinfilesex.uip
+ contrib/hbide/findsource.uip
+ contrib/hbide/funclist.uip
+ contrib/hbide/mainwindow.uip
+ contrib/hbide/projectpropertiesex.uip
+ contrib/hbide/searchreplace.uip
+ contrib/hbide/searchreplacepanel.uip
+ contrib/hbide/selectionlist.uip
+ contrib/hbide/selectproject.uip
+ contrib/hbide/setup.uip
+ contrib/hbide/shortcuts.uip
+ contrib/hbide/skeletons.uip
+ contrib/hbide/themes.uip
+ contrib/hbide/themesex.uip
+ contrib/hbide/toolsutilities.uip
+ contrib/hbide/updown.uip
* Renamed ui_*.prg files to .uip
* src/vm/runner.c
+ Module name will now be filled with the .hrb filename if known,
and default 'pcode.hrb' will only be used if running direct
binary .hrb stream. This means that also PROCFILE() will
return usable results. (f.e. in script run via hbrun)
* contrib/hbmisc/hbeditc.c
% int -> char. Dropped some casts.