e8f66dd82d
2009-08-12 23:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h * added workaround for different CRITICAL_SECTION definitions in some compiler header files
Przemyslaw Czerpak
2009-08-12 21:47:19 +00:00
cbe96a11fd
2009-08-12 18:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/olecore.c ! fixed memory leak in PutParams() ! fixed parameters order in PutParams() ! fixed possible GPF due calling VariantClear() without VariantInit() for C stack VARIANT item. ! fixed reverted #if condition - VT_[U]I8 was not supported + implemented passing parameters by reference Not tested at all - I do not have Windows and I'm not familiar with OLE code/servers. I hope that Windows users can test it and it Windows developers can update this code if necessary.
Przemyslaw Czerpak
2009-08-12 16:26:37 +00:00
d1a2ed4e8a
2009-08-12 14:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/wce/mingwarm.cf * config/win/mingw.cf - Deleted ranlib usage. I've tested with mingw 3.4.2, 4.4.0 and mingwarm 4.4.1, and the runlib command made no difference. If someone knows the reason why was it there, pls shout.
Viktor Szakats
2009-08-12 13:01:23 +00:00
cebe0c72ed
2009-08-12 14:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/rules.cf ! Changed CC_RULE and CPP_RULE to have CC_OUT option _before_ CC_IN. Quick check didn't reveal any problems with this accross our supported compiler, but I may be wrong, so pls check me, I didn't test this change thoroughly. This change fixes CC_OUT for bcc, where it was ignored before. If this is breaks other compilers, bcc specific CC_RULE should be added to win/bcc.cf.
Viktor Szakats
2009-08-12 12:49:09 +00:00
df59bad4d3
2009-08-12 14:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * updated list of system libraries used in to create harbour*.dll in MinGW builds
Przemyslaw Czerpak
2009-08-12 12:36:44 +00:00
664e217382
2009-08-12 13:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/global.cf * config/instsh.cf % Deleted last CMDPREF from nt install rule. % Commented CMDPREF assigment. No longer needed.
Viktor Szakats
2009-08-12 11:30:15 +00:00
d37a57b51b
2009-08-12 13:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/global.cf * Changed so that HB_INSTALL_PREFIX gets set to the source tree instead of a foreign location. This is what our make_gnu.bat did so far. The $(realpath) trick might be helpful to speedup some self-detection code, f.e. HB_BIN_COMPILE.
Viktor Szakats
2009-08-12 11:27:11 +00:00
3d21b2394d
2009-08-12 12:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/gtcrs/Makefile * source/rtl/gttrm/Makefile * source/rtl/gtsln/Makefile * config/global.cf ! Hopefully fixed GPM detection with pure (no starter script) GNU Make invocations. It needs to be done centrally, as it's used in multiple modules, plus it has external lib dependency. ; TODO: Streamline macro usage regarding external dependencies. There is currently HAS*, HAVE*, HB_HAVE*, HB_WITHOUT* plus some other variations. We should probably stick to HB_BUILD_WITH_* for user level control, and HB_HAS_* for internal detection logic.
Viktor Szakats
2009-08-12 10:38:12 +00:00
6c465556bc
2009-08-12 11:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/instsh.cf ! Fixed '-' prefix usage in non-*nix shells, so now make process won't fail because of install rule error. (this was a problem introduced in recent days) Maybe it will be needed to tweak that because an install failure might signal a real problem as soon as package creation gets implemented inside/under GNU Make.
Viktor Szakats
2009-08-12 09:38:12 +00:00
53a38f1e4a
2009-08-12 09:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/global.cf ! Fixed to not indent one define/endef block. I've actually even warned for this in comment, but ignored it by mistake yesterday, and broke compiler autodetection.
Viktor Szakats
2009-08-12 07:45:44 +00:00
20a5e7c24b
2009-08-12 00:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/xcstr.prg % fixed fatal for performance code used to serialize hash arrays in ValToPrg() functions. I know that xHarbour does not have native support for hash array iteration in FOR EACH statements so it's necessary to make some hacks but even there serialization can be quite easy done by simple FOR/NEXT loop and function calls to access given keys and values. Please remember that sending :keys or :values messages to hash arrays is very expensive in both languages because each time new array is created with copy of all key or values items. In the old code :values message was send inside a loop so to serialize hash array with 1000 items it was created 1000 arrays with 1000 items inside each of them. It means 1000000 unnecessary item copy calls. Modern computers are very fast but such code can kill the performance on any hardware. It's also classic example when forcing FOR EACH usage in all places can give code thousands times slower then code using simple FOR/NEXT. % few minor optimizations
Przemyslaw Czerpak
2009-08-11 22:16:01 +00:00
7055dd0667
2009-08-12 00:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) - tests/bldtest/bldtest.hbp + tests/bldtest/Makefile ! Restored GNU Make file. Maybe we should move this file to somewhere else, perhaps inside /config to better serve its purpose.
Viktor Szakats
2009-08-11 22:08:41 +00:00
4765bee3fc
2009-08-11 15:35 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br> * harbour/contrib/xhb/xcstr.prg ! fixed ValToPrgExp() to not use indexed strings
Antonio Carlos Pantaglione
2009-08-11 18:29:58 +00:00
6ca00081a7
2009-08-11 17:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/global.cf * config/dir.cf - Deleted PM option. No longer needed.
Viktor Szakats
2009-08-11 15:47:07 +00:00
a62097883b
2009-08-11 17:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + tests/hbpptest/hbpptest.hbp + tests/bldtest/bldtest.hbp + tests/multifnc/multifnc.hbp + Added hbmk2 make files (quite simple ones) for these tests. Better make them independent of the core make system. This way they also work outside the source distribution, f.e. when shipped inside a binary distro.
Viktor Szakats
2009-08-11 15:42:56 +00:00
f36085472c
2009-08-11 17:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/trpccli.prg ! fixed typo in function name. Harbour has hb_inetPeriodCallback() not hb_inetSetPeriodCallback()
Przemyslaw Czerpak
2009-08-11 15:20:09 +00:00
b7f36c8b71
2009-08-11 17:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * Makefile % Using := instead of =
Viktor Szakats
2009-08-11 15:14:37 +00:00
8d70968dda
2009-08-11 16:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/globsh.cf * config/win/bcc.cf + Added NOTEs about Windows NT family command-line length limits. It's 2047 for NT/2000 and 8191 for XP and upper. Seemingly also on Vista or Windows 7. Probably memory is still too expensive at MS ;) or, they want us to switch to PowerShell?
Viktor Szakats
2009-08-11 14:48:04 +00:00
a7e3211114
2009-08-11 16:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/bin.cf % Using := instead of = for 'BIN_NAME'.
Viktor Szakats
2009-08-11 14:13:33 +00:00
91f9cb925a
2009-08-11 15:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * ChangeLog + Added [WORKS] to prev entry.
Viktor Szakats
2009-08-11 13:47:20 +00:00
5a9ef20780
2009-08-11 15:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/os2/watcom.cf ! fixed FOR command in WINNT->OS2 cross builds. Please test if it works - I cannot without real Windows cmd.exe
Przemyslaw Czerpak
2009-08-11 13:25:32 +00:00
37b13801d9
2009-08-11 15:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/none.cf * config/lib.cf * config/bin.cf * config/dir.cf * config/dirsh.cf + Added $(MKFLAGS) to all internal $(MK) calls. + Initializing $(MKFLAGS) to --no-print-directory, which suppresses "Entering directory"/"Leaving directory" GNU Make messages. They can be useful for debugging, but for normal operation IMO they just add up to unnecessary clutter. Please tell if you think otherwise. Despite docs say it's enabled when using -C (change dir) option, I've only seen it enabled on win/dos platforms, so for other platforms (at least *nixes) this won't change behavior. + Added '@' prefix for $(MK) calls, so recursive GNU Make invocations won't be shown anymore on screen. Again, please tell if this isn't good, I'll also evaluate things this way and see whether to keep it. For sure on *nixes the GNU Make output is extremely short and clean now for a simple incremental make session. Sometimes though it's useful information when someone posts a log snippet. * Indentation.
Viktor Szakats
2009-08-11 13:05:39 +00:00
142f82e9f5
2009-08-11 14:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/fstemp.c * enabled mkstemps() in *BSD and Darwin builds * enabled large file support and use mkstemp64() and mkstemps64() when available - please test with different *nixes
Przemyslaw Czerpak
2009-08-11 12:17:01 +00:00
8431cb71b6
2009-08-11 14:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/wce/poccarm.cf * config/win/xcc.cf * config/win/pocc.cf * Minor cosmeric change in some LDFLAGS/LD_OUT flags.
Viktor Szakats
2009-08-11 12:06:00 +00:00
ce46f48e8c
2009-08-11 13:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/darwin/gcc.cf % Using custom LD_OUT instead of overriding while LD_RULE.
Viktor Szakats
2009-08-11 12:00:07 +00:00
9c6cc63383
2009-08-11 13:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * source/pp/Makefile % := -> =
Viktor Szakats
2009-08-11 11:25:32 +00:00
b5d78f6c44
2009-08-11 13:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/fstemp.c * enabled mkstmp() in SunOS builds (is it supported by MacOSX?) + added optional support for mkstemps() - it's disabled by default
Przemyslaw Czerpak
2009-08-11 11:15:54 +00:00
61e4133d46
2009-08-11 12:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbcurl/hbcurl.c ! Silenced recently reintrod warning.
Viktor Szakats
2009-08-11 10:51:14 +00:00
30e2eeccb8
2009-08-11 12:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/darwin/gcc.cf ! Fixed double $(LINKLIBS) spec in LD_RULE. May have been intentional so after commit I'll test it on darwin.
Viktor Szakats
2009-08-11 10:28:34 +00:00
a15a77cdf1
2009-08-11 12:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/bsd/gcc.cf * config/wce/msvcarm.cf * config/wce/mingwarm.cf * config/wce/poccarm.cf * config/darwin/gcc.cf * config/hpux/gcc.cf * config/dos/djgpp.cf * config/win/icc.cf * config/win/cygwin.cf * config/win/msvc.cf * config/win/xcc.cf * config/win/mingw.cf * config/win/pocc.cf * config/win/bcc.cf * config/linux/gcc.cf * config/linux/icc.cf * config/linux/sunpro.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/sunos/sunpro.cf ; Cleaned LINKPATHS usage. % Using := instead of = assignment operator. ! Fixed spillage of external LINKPATHS content with some compilers. * Non-libpath related variable content moved to LDFLAGS. ; TODO: Rename 'LINKPATHS' to 'LIBPATHS'.
Viktor Szakats
2009-08-11 10:24:06 +00:00
99d8396f79
2009-08-11 12:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/fstemp.c ! Fixed regression in hb_fsCreateTemp() after 2009-08-07 11:55 UTC+0200 where temp files couldn't be opened, instead a lot of temp filenames were created.
Viktor Szakats
2009-08-11 10:02:00 +00:00
169048432d
2009-08-11 11:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbtpathy/telepath.prg ! fixed tp_inkey() to not freeze when called without parameter
Przemyslaw Czerpak
2009-08-11 09:14:53 +00:00
3d0b0e9e1b
2009-08-11 09:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/bsd/gcc.cf * config/wce/msvcarm.cf * config/wce/mingwarm.cf * config/wce/poccarm.cf * config/hpux/gcc.cf * config/darwin/gcc.cf * config/dos/watcom.cf * config/dos/djgpp.cf * config/win/watcom.cf * config/win/icc.cf * config/win/cygwin.cf * config/win/msvc.cf * config/win/xcc.cf * config/win/mingw.cf * config/win/pocc.cf * config/win/bcc.cf * config/linux/watcom.cf * config/linux/gcc.cf * config/linux/icc.cf * config/linux/sunpro.cf * config/os2/watcom.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/sunos/sunpro.cf % CFLAGS and CPPFLAGS initialized using := operator. ! Fixed not initializing CFLAGS/CPPFLAGS at all for some compilers. This may cause spilling of unwanted switches into our make system. (watcom.cf) * Few remaining indentations left from previous round (sunpro.cf). * Some other minor cleanups along the way (xcc.cf).
Viktor Szakats
2009-08-11 07:57:13 +00:00
a209784591
2009-08-11 09:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/bsd/gcc.cf * config/wce/msvcarm.cf * config/wce/mingwarm.cf * config/wce/poccarm.cf * config/darwin/gcc.cf * config/hpux/gcc.cf * config/dos/watcom.cf * config/dos/djgpp.cf * config/win/watcom.cf * config/win/icc.cf * config/win/cygwin.cf * config/win/msvc.cf * config/win/xcc.cf * config/win/mingw.cf * config/win/pocc.cf * config/win/bcc.cf * config/linux/watcom.cf * config/linux/gcc.cf * config/linux/icc.cf * config/linux/sunpro.cf * config/os2/watcom.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/sunos/sunpro.cf % Mofified so that HB_USER_AFLAGS is passed directly to AR_RULE, rather than being passed through ARFLAGS. It's also done this way for other HB_USER_* flags. ! Fixed os2/gcc ignoring HB_USER_AFLAGS. Please test. % ARFLAGS assignments now use := operator.
Viktor Szakats
2009-08-11 07:42:53 +00:00
fbc4171839
2009-08-11 09:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/bsd/gcc.cf % Started using := for CFLAGS/CPPFLAGS.
Viktor Szakats
2009-08-11 07:28:06 +00:00
3662fb456b
2009-08-11 09:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/global.cf ! Fixed little typo in config display section.
Viktor Szakats
2009-08-11 07:16:32 +00:00
1db461e6ef
2009-08-11 01:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * include/hbatomic.h ! Suppressed recent bcc warnings. Thanks to Grigory Filatov for the fix.
Viktor Szakats
2009-08-10 23:58:19 +00:00
8f8f068644
2009-08-11 00:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/bsd/gcc.cf * config/wce/msvcarm.cf * config/wce/mingwarm.cf * config/wce/poccarm.cf * config/darwin/gcc.cf * config/hpux/gcc.cf * config/dos/watcom.cf * config/dos/djgpp.cf * config/win/watcom.cf * config/win/icc.cf * config/win/cygwin.cf * config/win/msvc.cf * config/win/xcc.cf * config/win/mingw.cf * config/win/pocc.cf * config/win/bcc.cf * config/linux/watcom.cf * config/linux/gcc.cf * config/linux/icc.cf * config/linux/sunpro.cf * config/instsh.cf * config/dirsh.cf * config/os2/watcom.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/sunos/sunpro.cf % Removed spaces before $(foreach) parameters. A space is automatically added by GNU Make, so it's not needed. May save a little bytes here and there and command look more tidy (source looks a little bit clumsier though).
Viktor Szakats
2009-08-10 22:56:37 +00:00
97e239dc73
2009-08-11 00:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * source/rdd/Makefile * config/global.cf * config/bin.cf * Simple rename of two internal vars: HB_DB_DRIVERS -> HB_RDD_LIBS HB_DB_DIRS -> HB_RDD_DIRS + Added some names to non-standard build configuration setting collection.
Viktor Szakats
2009-08-10 22:45:34 +00:00
b41df4d1ad
2009-08-11 00:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/bin.cf * Minor formatting to liblist template.
Viktor Szakats
2009-08-10 22:41:41 +00:00
98f2456d09
2009-08-11 00:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/bin.cf + Harbour binary core liblists are now formed centrally. Four variations are generated: HB_LIBS_ST_RDD HB_LIBS_MT_RDD HB_LIBS_ST_NORDD HB_LIBS_MT_NORDD Binaries can choose by using: 'LIBS = $(HB_LIBS_*)'. Important to use '='. This step also fixes potential problems with former liblists, where it was easy to make a local mistakes and some libs which needed more complicated logic, or which were just rarely used simply weren't added. Now all liblists are guaranteed to have proper order and content. HB_GT_LIBS and HB_DB_DRIVERS are automatically added centrally, so no need to add them manually in each compiler specific .cf.
Viktor Szakats
2009-08-10 22:37:31 +00:00
525f08b7dc
2009-08-10 23:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/Makefile * harbour/config/os2/watcom.cf * added workarounds for problems with OS2 builds - please test
Przemyslaw Czerpak
2009-08-10 21:16:27 +00:00
5423959870
2009-08-10 22:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/wce/mingwarm.cf * config/win/mingw.cf * config/linux/global.cf % Using := instead of = in few more places.
Viktor Szakats
2009-08-10 20:48:17 +00:00
874ac6f40d
2009-08-10 22:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/wce/mingwarm.cf * config/win/xcc.cf * config/win/mingw.cf * config/win/pocc.cf % Deleted system libs not needed for core Harbour.
Viktor Szakats
2009-08-10 20:43:58 +00:00
74be952745
2009-08-10 22:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbtpathy/telepath.prg * contrib/hbtpathy/tpcommon.c + TP_CRC16() reimplemented in .prg after reading Przemek's e-mail.
Viktor Szakats
2009-08-10 20:35:03 +00:00
9b836cc7df
2009-08-10 22:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbtpathy/tpcommon.c + __TP_CRC16() rewritten using core checksum function. The trick was to swap bytes of the hb_crcct() result.
Viktor Szakats
2009-08-10 20:32:12 +00:00
5b95d0cf48
2009-08-10 21:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg + Reorganized core Harbour lib handling. The goal is to allow linkers to resolve references by themselves, either by clever ordering and adding libs multiple times if needed. I took the methods used in Makefiles as guiding line. % Removed -Wl,--start-group / -Wl,--end-group lib grouping. It doesn't seem to be necessary anymore. ! Fixed "hbrtl" lib reference with some targets in -xhb mode. ; NOTE: Please test, I didn't test all possible combinations only mingw and recent Harbour. (no xhb, no hb10x) ; NOTE: Regressions are possible regarding lib selection or ordering and also GT selection. ; TODO: If this works out okay, we can delete similar grouping options from .cf files. At the same time, core liblists could be moved to central place to ease maintenance and guarantee correctness.
Viktor Szakats
2009-08-10 20:12:08 +00:00
26fe21ed3a
2009-08-10 17:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/none.cf * config/global.cf * config/instsh.cf * config/dirsh.cf * Prefixed all Harbour initiated screen messages with '! '.
Viktor Szakats
2009-08-10 15:44:31 +00:00
f0459c8187
2009-08-10 17:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbtpathy/telepath.prg ! Fixed forming default COM port names on Windows NT systems. (I didn't test Win9x, but I assume they work like DOS regarding this aspect).
Viktor Szakats
2009-08-10 15:27:05 +00:00
51118c6d90
2009-08-10 15:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
Viktor Szakats
2009-08-10 13:59:29 +00:00
e046ee2db2
2009-08-10 15:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * tests/hbpptest/Makefile * tests/Makefile * utils/hbformat/Makefile * utils/hbtest/Makefile * Trying to lessen the number of combinations + sync core lib lists in Makefiles. These are currently used combinations in Harbour: --- hbextern hbdebug hbdebug hbdebug hbdebug hbdebug hbvm hbvm hbvm hbvm hbvmmt hbrtl hbrtl hbrtl hbrtl hbrtl hblang hblang hblang hblang hblang hbcpage hbcpage hbcpage hbcpage hbcpage hbrdd hbrdd hbnulrdd hbrdd hbnulrdd hbrtl hbrtl hbrtl hbrtl hbrtl hbvm hbvm hbvm hbvm hbvmmt hbmacro hbmacro hbmacro hbmacro hbmacro hbcplr hbcplr hbpp hbpp hbpp hbpp hbcommon hbcommon hbcommon hbcommon hbcommon hbpcre ---
Viktor Szakats
2009-08-10 13:29:32 +00:00
4edfe04c2c
2009-08-10 14:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * tests/hbpptest/Makefile * tests/Makefile * tests/multifnc/Makefile * Makefile * external/Makefile * source/Makefile * utils/hbformat/Makefile * utils/hbmk2/Makefile * utils/hbtest/Makefile * utils/hbi18n/Makefile * utils/Makefile * utils/hbrun/Makefile % Started replacing TABs with spaces in simple variable assigments. TABs are only required when specifiying a rule command.
Viktor Szakats
2009-08-10 12:27:18 +00:00
e8608381a8
2009-08-10 12:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg ! Added missing core gt names from GUI/non-GUI detection code.
Viktor Szakats
2009-08-10 10:05:26 +00:00
226a542fa9
2009-08-10 11:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/globsh.cf % Deleted hack with unknown purpose when forming $(MK) variable: '$(subst \~,~,$(MAKE))' -> $(MAKE) Please shout if you know the purpose, all I could find out is that it was added in this change: Fri Jun 11 17:11:09 1999 Gonzalo A. Diethelm but there is no specific description of this change, besides making MAKE work on non-bash systems.
Viktor Szakats
2009-08-10 09:54:29 +00:00
0d7c2153a9
2009-08-10 11:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/linux/sunpro.cf ! fixed list of linked system libraries to be Linux compatible
Przemyslaw Czerpak
2009-08-10 09:48:16 +00:00
272b5e9512
2009-08-10 11:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) - bin/hbmk.bat - Deleted. Probably no one uses it.
Viktor Szakats
2009-08-10 09:25:22 +00:00
ff6e21f3f5
2009-08-10 11:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbatomic.h % added architecture independent support for atomic operations and spinlocks in all SunOS builds
Przemyslaw Czerpak
2009-08-10 09:07:48 +00:00
321446d700
2009-08-10 03:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * make_gnu_os2.cmd * make_gnu.bat * make_gnu.sh * config/global.cf + Moved emptying of CLIPPER/HARBOUR envvars to GNU Make level. + Emptying CLIPPERCMD/HARBOURCMD envvars before calling Harbour compiler.
Viktor Szakats
2009-08-10 02:03:22 +00:00
2faf4f310f
2009-08-10 03:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/global.cf * config/lib.cf * config/bin.cf * config/test.cf ! Inclusion of compiler specific rules now happens from [lib|bin|test].cf. This way it plays well with scenarios where global.cf is directly included in Makefiles. It should also be slightly more efficient.
Viktor Szakats
2009-08-10 01:10:55 +00:00
135cfb8a6e
2009-08-10 02:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/globsh.cf * config/bsd/gcc.cf * config/wce/msvcarm.cf * config/wce/mingwarm.cf * config/wce/poccarm.cf * config/darwin/gcc.cf * config/hpux/gcc.cf * config/dos/djgpp.cf * config/win/cygwin.cf * config/win/mingw.cf * config/linux/gcc.cf * config/linux/icc.cf * config/linux/sunpro.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/sunos/sunpro.cf % Using ':=' instead of '=' where possible. (incomplete. pass two) The rest is really the core and need deeper examination of ordering and variable dependency. There is probably more room for improvement.
Viktor Szakats
2009-08-10 00:47:30 +00:00
f5194be5a0
2009-08-09 17:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt.ch + Added more constants. * contrib/hbxbp/xbpbrowse.prg ! Column display protocol tweaked to provide a descent view. + Implemented ::sizeCols() instance variable of XbpBrowse() object. This provides for switching off the resizing behavior of the columns.
Pritpal Bedi
2009-08-10 00:17:07 +00:00
f26d14b9a7
2009-08-10 02:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * ChangeLog ! Typos in prev entry.
Viktor Szakats
2009-08-10 00:13:55 +00:00
6fb0c1b07d
missed to paste back ChangeLog entry
Viktor Szakats
2009-08-10 00:11:54 +00:00
ffbe793580
2009-08-10 02:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbtip/sessid.prg * contrib/hbtip/cgi.prg * contrib/hbtip/encoder.prg * contrib/hbtip/mail.prg * contrib/hbtip/sendmail.prg * contrib/hbtip/httpcli.prg * contrib/hbtip/smtpcli.prg * contrib/hbtip/client.prg * contrib/hbtip/ftpcli.prg * contrib/hbtip/popcli.prg + Added TIP_SSL() function to return whether SSL functionality is available or not. % Deleted unnecessary tip.ch header inclusions. + Added TIPCLIENT():INETTIMEOUT() method to set / refresh timeout. % Direct hb_inetTimeout() calls either optimized out (after ::super:open()), or replaced by ::hb_inetTimeout() calls. ! Fixed to also accept pop3s where pops is accepted. + TIPCLIENTPOP() will set default port to 995 in pop3s mode. + TIPCLIENTSMTP() will set default port to 465 in smtps mode. + TIPCLIENTHTTP() will set default port to 443 in https mode. + Some steps towards SMTP STARTTLS authentication. ! Uncommented setting "Content-Length" in TIPMAIL:SETBODY(). gmail rejects attachment without it. It's also needed for internal consistency as TIPMAIL:NEW() sets this data. ! HB_SENDMAIL() fixed to use HB_MEMOREAD() to read attachment. ! HB_SENDMAIL() fixed to load the attachment if it was passed as a content/name pair array. Handling all combinations now. * HB_SENDMAIL() changed to not exit on the first invalid attachment specification, but simply ignore these. Feels more natural that way, but the old behaviour can be restored if there was a reason for it which overlooked. * Formatting. ; TOFIX: hbtip currently has two different facilities to find out the MIME type of a given extension: TIP_FILEMIMETYPE() and HB_SETMIMETYPE(). First one also looks into the content while the second one has a much more extensive extension based detection. There is also a 3rd and separate function which aims to detect whether a type is binary or text. This isn't very efficient this way, unless there is some reasoning behing current logic.
Viktor Szakats
2009-08-10 00:10:46 +00:00
3add3fe6a9
2009-08-09 26:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_slots.cpp * contrib/hbxbp/xbpbrowse.prg + Implemented XbpColumn():type == XBPCOL_TYPE_ICONFILE. Now any image can be viewed as an icon in a column object of XbpBrowse()
Pritpal Bedi
2009-08-09 23:19:55 +00:00
8106523a59
2009-08-09 21:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/global.cf ! Fixed 'sh' HB_SHELL detection. Problem experienced with Cygwin GNU Make, where SHLVL isn't defined on the first level. Now also checking for SHELL=/bin/sh to detect sh shell.
Viktor Szakats
2009-08-09 19:52:17 +00:00
edf24746e1
2009-08-09 19:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * Makefile * tests/Makefile * contrib/hbmisc/Makefile * contrib/hbwin/Makefile * utils/Makefile % Started converting '=' operators to ':=' where applicable. ; TODO: Rest of Makefiles.
Viktor Szakats
2009-08-09 17:56:46 +00:00
54a93f83da
2009-08-09 09:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpbrowse.prg ! Few more tweaks. * contrib/hbxbp/xbptreeview.prg - Commented out experimental CSS implementation. + Made public Harbour extention ::setStyleSheet( cStyleSheet ) method. Now it is possible to fine tune widget's appearnce the way user can imagine. The supplied style sheet will be applied on top of existing one. % TODO: extend ::setStyleSheet() functionality the easiest way.
Pritpal Bedi
2009-08-09 16:43:49 +00:00
5c47bea7ec
2009-08-09 18:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbxbp/tests/demoxbp.prg ! Fixed test.ico reference to avoid QT runtime error message when run from a different dir.
Viktor Szakats
2009-08-09 16:33:11 +00:00
de5fba60fd
2009-08-09 18:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbxbp/tests/demoxbp.prg * contrib/gtwvg/tests/demowvg.prg * contrib/hbtip/tests/dbtohtml.prg ! Fix to test.dbf path. hb_DirBase() was missing. * Changed date format to ANSI.
Viktor Szakats
2009-08-09 16:26:37 +00:00
ef7c07ab59
2009-08-09 17:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbtpathy/telepath.ch * contrib/hbtpathy/tests/testtp.prg * contrib/hbtpathy/tpwin.c * contrib/hbtpathy/tpos2.c * contrib/hbtpathy/tpunix.c * contrib/hbtpathy/tpdos.c * contrib/hbtpathy/telepath.prg + Added self-guards to header. ! Converted all comments to ANSI C. + Added note to header that it's used from C code. ! Put negative macro values into parantheses. ! Fixed bad typo in test program which broke it for all platforms. % Minor optimization to TP_REOPEN(). ! Moved internal structure macros from header to .prg. + Added comment for FILE() usage in TP_OPEN(). ! Fixed to not use FILE() to check for port existance on non-*nix platforms. (maybe this works on OS/2 and it can be readded there, I don't know). ! Using manifest constants instead of literals in few places. ; After these changes, hbtpathy works on Windows platform. (made basic test only)
Viktor Szakats
2009-08-09 15:50:56 +00:00
f477deebe3
2009-08-09 17:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/examples/contribf.hbc * contrib/hbtpathy/Makefile + contrib/hbtpathy/tpdos.c * contrib/hbtpathy/hbtpathy.hbc + Added DOS stubs. This makes it possible to enable this contrib for all existing platforms. Serial support is possible to implement in DOS. % Now all source files are compiled for each platform, platform specific parts are guarded internally, no need to duplicate the logic on the make level.
Viktor Szakats
2009-08-09 15:02:39 +00:00
f08924060b
2009-08-09 16:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbtpathy/tpwin.c * contrib/hbtpathy/tpos2.c * contrib/hbtpathy/tpunix.c * contrib/hbtpathy/telepath.prg * contrib/hbtpathy/tpcommon.c + Renamed all internal functions from P_*() to __TP_*() to comply with rest of Harbour and lessen chance of colliding with other code. It also makes it easier to identify them in code. I won't list this as an incompatibility as we're talking about internal functions, so no user code is supposed to use these. + Added compatibility wrappers for Telepath(y) functions: BIN_AND(), BIN_OR(), BIN_XOR(), BIN_NOT().
Viktor Szakats
2009-08-09 14:51:19 +00:00
838ce1fc5d
2009-08-09 16:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbtpathy/Makefile - contrib/hbtpathy/tplinux.c + contrib/hbtpathy/tpunix.c * contrib/hbtpathy/tpcommon.c * contrib/hbtpathy/tpwin.c * contrib/hbtpathy/tpos2.c * contrib/hbtpathy/telepath.prg * contrib/hbtpathy/hbtpathy.hbc + Enabled for all *nix systems (was only linux and darwin). I don't know if it works on all *nix systems, but it should be our goal. We will see. Please test. % Using HB_CRC32() in core instead of reimplementing it locally. ! P_CTRLCTS() dummy now returns proper type. + P_OUTFREE() implemented for Windows platforms. + P_ISDCD(), P_ISRI(), P_ISDSR(), P_ISCTS() implemented for Windows platforms. (ideas taken from hbwin) Neither of these were tested, but it's a start. + P_INFREE() added for Windows and OS/2. Only clean compilation was tested. + TP_INFREE() added. * Some formatting.
Viktor Szakats
2009-08-09 14:37:15 +00:00
ee451be6a1
2009-08-09 13:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbtpathy/telepath.prg ! Fixed tp_open() to not add numeric port to passed portname. It's now only added to portname if it's not passed and default is used. On darwin, the portname isn't necessarily ending with a number.
Viktor Szakats
2009-08-09 11:38:49 +00:00
57d22736ec
2009-08-09 12:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbtpathy/hbtpathy.hbc ! Added darwin to supported platforms.
Viktor Szakats
2009-08-09 10:54:06 +00:00
3baef883ea
2009-08-09 11:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/rat.c ! HB_RAT() fixed to not ignore nEnd parameter if it's out of bound. In such case it will now return zero ("not found"). Mindaugas, please verify if this is what you proposed.
Viktor Szakats
2009-08-09 09:07:48 +00:00
18da83f277
2009-08-09 10:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/gtwvg/gtwvg.hbc ! Fixed missing incpaths= line.
Viktor Szakats
2009-08-09 08:27:02 +00:00
3e3398e565
2009-08-09 10:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbxbp/tests/demoxbp.prg * Added hb_DirBase() to local file references, to make these work when no run from its own directory. ! Using test.dbf in tests.
Viktor Szakats
2009-08-09 08:16:09 +00:00
64aa7ba9e7
2009-08-08 17:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpbrowse.prg + Implemented ::vScroll | ::hScroll | ::cursorMode Xbase++ documentation suggests that changing these instance variables required ::configure() be called explictly, but I have implemented that the next stablization loop automatically take care of it. Suggestions ?
Pritpal Bedi
2009-08-09 00:09:07 +00:00
85b368ae92
2009-08-09 01:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * INSTALL * config/global.cf * config/rules.cf * config/dos/watcom.cf * config/win/watcom.cf * config/os2/watcom.cf + Added HB_BUILD_UNICODE=yes[|no] option to control UNICODE builds on win/wce platforms.
Viktor Szakats
2009-08-08 23:46:18 +00:00
0cd1b77b32
2009-08-09 01:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/global.cf + Added build presets based on some predefined HB_BUILD_NAME values: HB_BUILD_NAME=.r RELEASE HB_BUILD_NAME=.rx RELEASE C++ HB_BUILD_NAME=.ru RELEASE UNICODE HB_BUILD_NAME=.rux RELEASE UNICODE C++ HB_BUILD_NAME=.d DEBUG HB_BUILD_NAME=.dx DEBUG C++ HB_BUILD_NAME=.du DEBUG UNICODE HB_BUILD_NAME=.dux DEBUG UNICODE C++ ; Initial/experimental commit, names may change yet.
Viktor Szakats
2009-08-08 23:36:24 +00:00
5a04437b11
2009-08-09 01:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_prt.c % Optimized out port name from port structure. 3KB runtime space saving.
Viktor Szakats
2009-08-08 23:09:30 +00:00
036d56d6a4
2009-08-09 01:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_tprt.prg * contrib/hbwin/win_prt.c + Extended max number of ports to Windows platform limit: 256 (from 32). % Changed the way port structure is handled. Now the port name is initalized on port opening, so the redundant static port table initialization could be dropped. This reduces lib footprint in executables. (could still be optimized to also address runtime footprint) % Merged s_PortData and s_PortData2 structures. % Type cleanup. static vars converted to long (from int), DWORD casts added, hb_par/hb_stor functions modified. + ::Init() method extended to handle 6th and 7th params. - Deleted ::Buffer() method which was a wrapper to WIN_PORTBUFFERS().
Viktor Szakats
2009-08-08 23:02:49 +00:00
b6863fd064
2009-08-09 00:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_tprt.prg * contrib/hbwin/win_prt.c + ::Recv() got a new second parameter to return result code. + WIN_PORTFCN() now requires port number to be passed as 1st param. + WIN_PORTERROR() now requires port number to be passed as 1st param. * Renamed function WIN_PORTFCN() to WIN_PORTFUNCLAST() + Fixed last port operation and last error to be stored per port rather than in global vars. This makes it possible to use multiple ports in parallel. - Deleted WIN_PORTBUFFERS() which wasn't MT friendly. + WIN_PORTOPEN() function got enabled 6th and 7th inbuffer/outbuffer parameters. This replaces WIN_PORTBUFFERS() function. + Added WIN_PORTRECV() function which is similar to WIN_PORTREAD() but returns the result directly rather than putting it in a var passed by reference. It accepts lenght parameter and return result code by reference. It's a little bit more effient than WIN_PORTREAD(). % Some if/else branches swapped to make code a little smoother.
Viktor Szakats
2009-08-08 22:30:49 +00:00
172bd79b2c
2009-08-08 16:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_tprt.prg % Simplified ::read() and ::recv().
Viktor Szakats
2009-08-08 14:31:27 +00:00
7c96b4cb9d
2009-08-08 13:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * bin/postinst.bat + Showing error message if HB_BIN_INSTALL is not set.
Viktor Szakats
2009-08-08 11:21:43 +00:00
c1594b69d0
2009-08-07 23:43 UTC+0200 Maurilio Longo (maurilio.longo@libero.it) * config/globsh.cf ! fixed OS/2 section, os2-mkdir needs forward slashes as directory separators, not backslashes. * config/instsh.cf ! fixed OS/2 section, work around for OS/2 shell max line lenght. * config/os2/global.cf * EXE_EXT set to .exe
Maurilio Longo
2009-08-07 21:50:27 +00:00
a13f6d2f51
2009-08-07 12:35 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/appevent.ch * contrib/hbxbp/xbpbrowse.prg ! A thorough rewrite of XbpBrowse() class. The vertical navigation is based on TBrowse() class and hence XbpBrowse() via Qt will probably be the fastest GUI browser in the market in the sense that it has almost negligible memory overhead.
Pritpal Bedi
2009-08-07 20:52:46 +00:00