Commit Graph

18190 Commits

Author SHA1 Message Date
Viktor Szakats
8c2f741334 2012-11-21 03:35 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbtip/mail.prg
    ! fixed regression in r18462 where casing of class name 
      in a string got accidentally converted to natural.
      Many thanks to Itamar Lins for the find.
2012-11-21 02:42:24 +00:00
Viktor Szakats
9c50617dbe 2012-11-21 01:07 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + implemented theoretically correct solution to extract
      linker output _while_ displaying it. It means that
      missing function hinting feature doesn't require
      a second pass to the linker anymore.
    ; Please test on all platforms.
    ; For those two people interested, it will create output like this:
      ---
      hbmk2: Hint: Add option 'hbct.hbc' for missing function(s): CharMirr()
      hbmk2: Hint: Add option 'hbusb.hbc' for missing function(s): libusb_exit()
      hbmk2: Hint: Add option 'hbsms.hbc' for missing function(s): smsctx_PIN()
      hbmk2: Error: Referenced, missing, but unknown function(s): NOTANYWHERE()
      ---

  * extras/httpsrv/uhttpd.prg
    ! fixed some code for unicode
    % fixed to not call FCLOSE() on a HB_PROCESSOPEN() handle
    * use F_ERROR instead of -1 literal
    * commented code converted to #if 0/#endif guarded one

  * src/rtl/hbprocfn.c
    * formatting

  * tests/fixcase.hb
    * new extension exceptions
2012-11-21 00:16:52 +00:00
Viktor Szakats
ba3ed238e1 2012-11-21 00:14 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/gtwgud.c
  * contrib/gtwvg/gtwvgd.c
  * contrib/gtwvg/wvgcore.c
  * contrib/gtwvg/wvgcuig.c
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgwing.c
  * src/rtl/gtwvt/gtwvt.c
    % deleted extraneous {} block operators
2012-11-20 23:15:36 +00:00
Viktor Szakats
b6f1b15455 2012-11-20 23:45 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/wvgutils.c
    ! fixed to use HB_OS_WIN_CE macro to detect WinCE, not
      some the arbitrary __WINCE__
    ! fixed functions unsupported on WinCE to return the
      same type when as on Windows
2012-11-20 22:48:32 +00:00
Viktor Szakats
fd4c468bcc 2012-11-20 18:19 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/hbexprb.c
    ! corrected indentation
2012-11-20 17:23:41 +00:00
Przemyslaw Czerpak
7c2af71ff9 2012-11-20 17:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/vm/cmdarg.c
    ! fixed buffer overflow
    ! added protection against GPF if hb_cmdargBaseProgName() is called
      and there are no parameters initialized
    * use macros to allocate system memory in MS-Windows builds

  * harbour/src/vm/fm.c
    * changed s_fInitedFM initialization when memory statistic is enabled
      to avoid infinite recursion and GPF is some initialization function
      tries to allocate memory
2012-11-20 16:44:28 +00:00
Viktor Szakats
a07ef040e3 2012-11-20 17:05 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbwin/tests/testsvc.prg
    + added some lines to test parameter passing

  * include/hbdefs.h
    * deprecated HB_TCHAR_*() macros with HB_LEGACY_LEVEL4
      Everyone pls move on to Str API calls and hbwinuni.h 
      macros.

  * include/hbexpra.c
  * include/hbexprb.c
  * include/hbwmain.c
    * applied uncrustify fixes
2012-11-20 16:07:26 +00:00
Viktor Szakats
6367987565 2012-11-20 16:32 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbct/tests/*.prg
  * contrib/hbnetio/tests/*.prg
  * contrib/hbwin/tests/dlg.prg
  * contrib/hbwin/tests/oletst1.prg
  * contrib/hbwin/tests/oletst2.prg
  * contrib/hbwin/tests/oletst3.prg
  * contrib/hbwin/tests/oletst4.prg
  * contrib/hbwin/tests/pdfcreat.prg
  * contrib/hbwin/tests/testdir.prg
  * contrib/hbwin/tests/testole.prg
  * contrib/hbwin/tests/testprn2.prg
  * contrib/hbwin/tests/testprn3.prg
  * contrib/hbwin/tests/testprn4.prg
  * contrib/hbwin/tests/testrpc.prg
  * contrib/hbwin/tests/testwmtx.prg
    + added #require directives
      (only needed when hbrun doesn't have these loaded
      by default)
    ! hbct tests now allow again to run under Clipper
2012-11-20 15:39:43 +00:00
Viktor Szakats
d5b8921e96 2012-11-20 12:57 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbtpathy/hbtpathy.hbp
  * contrib/hbtpathy/telepath.prg
  + contrib/hbtpathy/tp_idle.prg
    ! TP_IDLE() moved to a separate source file to
      make it possible to override it from user code.
      This function is documented as a callback.
2012-11-20 11:59:18 +00:00
Przemyslaw Czerpak
fb225be171 2012-11-20 11:59 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/vm/cmdarg.c
    ! fixed typo in my previous commit
2012-11-20 10:59:34 +00:00
Viktor Szakats
735a76584d 2012-11-20 11:46 UTC+0100 Viktor Szakats (harbour syenar.net)
* tests/fixcase.hb
    * some binaries excluded

  * src/rtl/dbedit.prg
  * src/rtl/getsys.prg
  * src/rtl/tgetlist.prg
    ! fixcase fixes

  * src/vm/cmdarg.c
    ! double ';'
    ! uncrustify fixes
2012-11-20 10:48:25 +00:00
Przemyslaw Czerpak
471223897b 2012-11-20 11:02 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/ChangeLog
    ! restored ChangeLog entry removed by my script in last commit,
      sorry and thanks to Viktor for the info.
    ! cleaned some c&p typos in my last chglog entry
2012-11-20 10:02:53 +00:00
Przemyslaw Czerpak
409c2acaa1 2012-11-20 05:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbdefs.h
  * harbour/src/common/hbwin.c
    + added new C function hb_wctomblen()

  * harbour/include/hbapi.h
  * harbour/src/vm/cmdarg.c
    + added new C functions hb_winmainArgVBuild() and hb_winmainArgVFree()
      These functions are available only in MS-Windows builds and they
      use GetCommandLine() and GetModuleFileName() to build argument list.
    * updated to operate on MS-Windows unicode buffers if possible.

  * harbour/src/vm/hvm.c
    * initialize MS-Windows application startup parameters in hb_vmInit()
    * free MS-Windows application startup parameters in hb_vmQuit()

  * harbour/include/hbwmain.c
    * do not build argument list HB_VM_STARTUP mode - leave this job to
      new functions

  * harbour/src/rtl/teditor.prg
  * harbour/src/rtl/memoedit.prg
    % do eliminated NextKey() calls to avoid unnecessary key polling
      It also fixes key dropping in small typeahead buffers.

  * harbour/src/rtl/dbedit.prg
    % do eliminated NextKey() calls to avoid unnecessary key polling

  * harbour/src/rtl/getsys.prg
  * harbour/src/rtl/tgetlist.prg
    ! fixed active loops (100% CPU usage)

  * harbour/src/rtl/gtsln/gtsln.h
    ! define REAL_UNIX_SYSTEM in AIX builds - thanks to Luiz Rafael Culik
      for the information

  * harbour/src/rtl/achoice.prg
    % replaced Empty( NextKey() ) with NextKey() == 0

  * harbour/src/rtl/gtsln/gtsln.h
    ! define REAL_UNIX_SYSTEM in AIX builds - thanks to Luiz Rafael Culik
      for the information

  * harbour/src/rtl/hbinet.c
    * uese hb_parni()/hb_retni() instead of hb_parnl()/hb_retnl() for int
      values

  * harbour/src/rtl/hbgtcore.c
    ! comment cleanup

  * harbour/contrib/hbwin/win_svc.c
    ! eliminated HB_TCHAR_* macros
2012-11-20 04:06:27 +00:00
Viktor Szakats
8aa4ff9d39 2012-11-20 04:09 UTC+0100 Viktor Szakats (harbour syenar.net)
* ChangeLog
    ! fixed name in recent entries. and configured hbcommit.hb
      locally in yet another env.
2012-11-20 03:11:04 +00:00
Viktor Szakats
f867f7349a 2012-11-20 03:08 UTC+0100 Firstname Lastname (me domain.net)
* contrib/hbgd/gdwrp.c
    * minor cleanup

  * src/rtl/gtsln/Makefile
    * reverted prev for inclusion in gtsln.h itself
2012-11-20 02:09:32 +00:00
Viktor Szakats
d6f541097f 2012-11-20 02:18 UTC+0100 Firstname Lastname (me domain.net)
* ChangeLog
  * doc/howtorep.txt
    * minors to prev
2012-11-20 01:20:06 +00:00
Viktor Szakats
fcb0529a28 2012-11-20 02:09 UTC+0100 Firstname Lastname (me domain.net)
* bin/commit.hb
    ! fixed for *nix systems

  * contrib/hbodbc/tests/testodbc.prg
    + added test for double opening

  * ChangeLog
    % moved copyright notice to end of file
    + added change markup quick reference to header

  * doc/howtorep.txt
    * synced wording with above

  * extras/hbxlsxml/tests/example.prg
    * do not use WITH OBJECT in its current form

  * src/rtl/gtsln/Makefile
    + added option needed for AIX. Reported by Luiz.

  * utils/hbmk2/hbmk2.prg
    * minor change in wording in help
    + added help note about incompatibility of Clipper binary objects/libs

  * tests/fixcase.hb
    % one exception removed
    + some others documented

  * contrib/gtwvg/tests/_activex.prg
  * contrib/gtwvg/tests/_tbrowse.prg
  * contrib/gtwvg/tests/_utils.prg
  * contrib/gtwvg/tests/demowvg.prg
  * contrib/gtwvg/tests/demowvg1.prg
  * contrib/xhb/trpccli.prg
  * utils/hbtest/rt_math.prg
    * rerun after removing one exception permanently,
      another temporarily.
2012-11-20 01:15:47 +00:00
Viktor Szakats
e6cac4e8a3 2012-11-18 13:27 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbodbc/hbodbc.hbx
  * contrib/hbodbc/odbc.c
    - Deleted SQLBINDPARAMETER(). Thus resolving the TOFIX,
      and after reading more about this function, it serves
      to bind stmt parameter to C memory buffers, where those
      bindings remain active for the lifetime of the stmt or
      the next call to this function. Such behavior is not so
      much useful for high level languages, and it'd be quite
      complicated to solve (f.e. by keeping an array or hash
      around, attached to the stmt handle) compared to what 
      it offers. Anyways, if someone feels like giving it a 
      go, pls do.
2012-11-18 12:33:09 +00:00
Viktor Szakats
ca12db1aae 2012-11-18 13:15 UTC+0100 Viktor Szakats (harbour syenar.net)
* bin/commit.hb
    + support HBCOMMIT_USER envvar to configure commmiter
      user / e-mail.

  * ChangeLog
    ! wrong commit e-mail fixed yet again. I start to badly
      miss local branches (a la Git!), as I need to keep
      juggling with 3-4 local sandboxes to separate different
      change sessions.
2012-11-18 12:19:57 +00:00
Viktor Szakats
bc49ced49b 2012-11-18 12:55 UTC+0100 Viktor Szakats (harbour syenar.net)
* website/samples/*.*.html
    % pointed compatibility .js link to the project's cloud server
2012-11-18 11:57:56 +00:00
Viktor Szakats
ceb5386de5 2012-11-18 12:46 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/pp/ppcore.c
  * src/pp/pplib.c
    * some uncrustify formattings applied

  * tests/testbrw.prg
  * website/samples/testbrw.prg.html
    * cleanup

  * website/menu/harbour-menu.js
    ! fixed menu links to work when used under a subdir

  * website/samples/array16.prg.html
  * website/samples/arreval.prg.html
  * website/samples/begin.prg.html
  * website/samples/byref.prg.html
  * website/samples/codebl.prg.html
  * website/samples/codebloc.prg.html
  * website/samples/dates3.prg.html
  * website/samples/foreach.prg.html
  * website/samples/hello.prg.html
  * website/samples/initexit.prg.html
  * website/samples/longdev.prg.html
  * website/samples/mousetst.prg.html
  * website/samples/onidle.prg.html
  * website/samples/osshell.prg.html
  * website/samples/parseini.prg.html
  * website/samples/switch.prg.html
  * website/samples/testbrdb.prg.html
  * website/samples/testbrw.prg.html
  * website/samples/testhtml.prg.html
  * website/samples/testidle.prg.html
  * website/samples/tstmacro.prg.html
    * enabled light mode to disable gutter, so now
      the code can be copy pasted easily
2012-11-18 11:51:17 +00:00
Viktor Szakats
2a9b27f09b 2012-11-18 02:52 UTC+0100 Viktor Szakats (harbour syenar.net)
* package/mpkg_win.nsi
  * package/winuni/mpkg_win_uni.nsi
    * changed to launch README. It needs a hefty trick 
      to open such extensionless filename

  * README
    + minor to welcome section

  - doc/welcome.txt
  * doc/Makefile
    - deleted obsolete welcome message
2012-11-18 01:54:13 +00:00
Viktor Szakats
42dc81fcf7 2012-11-18 02:07 UTC+0100 Viktor Szakats (vszakats syenar.net)
- doc/readme.txt
  + doc/welcome.txt
  * doc/Makefile
  * package/mpkg_win.nsi
  * package/winuni/mpkg_win_uni.nsi
    * making room for "real" readme.txt

  * tests/transtst.prg
    * minor
2012-11-18 01:09:06 +00:00
Viktor Szakats
87f6974b74 2012-11-18 02:02 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbgd/tests/test_out.prg
  * contrib/hbmisc/spd.c
  * contrib/hbmysql/diff-en.txt
  * contrib/hbmysql/diff-es.txt
  * contrib/hbmysql/tmysql.prg
  * contrib/hbnf/tests/datecnfg.prg
  * contrib/xhb/decode.prg
  * contrib/xhb/hbcomprs.prg
  * contrib/xhb/hbcrypt.c
  * contrib/xhb/hblog.prg
  * contrib/xhb/hblognet.prg
  * extras/gfspell/spellc.c
  * src/rdd/usrrdd/rdds/arrayrdd.prg
  * src/rdd/wacore.c
  * tests/server.prg
  * tests/switch.prg
  * tests/testrdd2.prg
  * website/samples/switch.prg.html
    * misc cleanups
2012-11-18 01:03:38 +00:00
Viktor Szakats
29a46a1302 2012-11-17 23:11 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/tests/_wvtcls.prg
  * contrib/gtwvg/tests/demowvg.prg
  * contrib/hbct/doc/en/dattime3.txt
  * contrib/hbct/tests/datetime.prg
  * contrib/hbnf/doc/en/acctadj.txt
  * contrib/hbnf/doc/en/acctmnth.txt
  * contrib/hbnf/doc/en/acctqtr.txt
  * contrib/hbnf/doc/en/acctweek.txt
  * contrib/hbnf/doc/en/acctyear.txt
  * contrib/hbnf/doc/en/dayofyr.txt
  * contrib/hbnf/doc/en/daytobow.txt
  * contrib/hbnf/doc/en/elapsed.txt
  * contrib/hbnf/doc/en/firstday.txt
  * contrib/hbnf/doc/en/lastday.txt
  * contrib/hbnf/doc/en/madd.txt
  * contrib/hbnf/doc/en/month.txt
  * contrib/hbnf/doc/en/qtr.txt
  * contrib/hbnf/doc/en/savearr.txt
  * contrib/hbnf/doc/en/setdate.txt
  * contrib/hbnf/doc/en/wda.txt
  * contrib/hbnf/doc/en/week.txt
  * contrib/hbnf/doc/en/workdays.txt
  * contrib/hbnf/doc/en/woy.txt
  * contrib/hbnf/doc/en/year.txt
  * contrib/hbnf/tests/elapsed.prg
  * contrib/hbnf/tests/savearr.prg
  * contrib/hbnf/tests/setdate.prg
  * contrib/hbnf/tests/wda.prg
  * contrib/hbnf/tests/workdays.prg
  * contrib/hbnf/tests/woy.prg
  * contrib/hbpgsql/tests/dbf2pg.prg
  * contrib/hbsqlit3/hdbcsqlt.prg
  * contrib/rddsql/tests/arrayrdd.prg
  * doc/en/datetime.txt
  * doc/en/math.txt
  * doc/en/string.txt
  * doc/hdr_tpl.txt
  * extras/gtwvw/tests/ebtest7.prg
  * extras/gtwvw/tests/wvwtest9.prg
  * extras/guestbk/inifiles.prg
  * extras/hbvpdf/core.prg
  * extras/httpsrv/cgifunc.prg
  * tests/array16.prg
  * tests/bldtest/bldtest.c
  * tests/byref.prg
  * tests/dates.prg
  * tests/gfx.prg
  * tests/inifiles.prg
  * tests/initexit.prg
  * tests/longdev.prg
  * tests/parseini.ini
  * tests/parseini.prg
  * tests/usrrdd/exarr.prg
  * website/samples/byref.prg.html
  * website/samples/initexit.prg.html
  * website/samples/longdev.prg.html
  * website/samples/mousetst.prg.html
  * website/samples/parseini.ini.html
  * website/samples/parseini.prg.html
    * various cleanups
2012-11-17 22:20:13 +00:00
Viktor Szakats
2da483109d 2012-11-17 20:29 UTC+0100 Viktor Szakats (harbour syenar.net)
* tests/mousetst.prg
  * website/samples/mousetst.prg.html
    * cleanup

  * website/css/shThemeDefault.css
    * another color tweak
2012-11-17 19:30:34 +00:00
Viktor Szakats
092ec7ce6c 2012-11-17 20:24 UTC+0100 Viktor Szakats (harbour syenar.net)
* website/css/shThemeDefault.css
    * color tweak
2012-11-17 19:24:51 +00:00
Viktor Szakats
9bafad9398 2012-11-17 20:10 UTC+0100 Viktor Szakats (harbour syenar.net)
* website/js/shBrushHarbour.js
    + added preprocessor rule from C/C++ script

  * website/css/shThemeDefault.css
    * swapped colors of comments and PP
2012-11-17 19:11:21 +00:00
Viktor Szakats
e9ca3f1b80 2012-11-17 19:55 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/hbjson.c
    ! applied patch supplied by Oscar Hernandez Suarez
      in sf.net #3587899. Test code at
        https://groups.google.com/d/topic/harbour-devel/CyLxxmmJZRY/discussion
    ! fixed formatting
    ; Mindaugas, please review it.
2012-11-17 18:59:04 +00:00
Viktor Szakats
23dbce640c minor mistake in last entry 2012-11-17 18:19:26 +00:00
Viktor Szakats
ef5378231b 2012-11-17 18:50 UTC+0100 Viktor Szakats (harbour syenar.net)
+ website/css/shCore.css
  + website/js
  + website/js/shBrushHarbour.js
  + website/js/shCore.js
    + added components for http://alexgorbatchev.com/SyntaxHighlighter/
      a JS based syntax highlighter by Alex Gorbatchev

  + website/css/shThemeDefault.css
    + added Harbour theme (it's based on the php one)

  * website/menu/harbour-menu.js
    ! fixed wrongly displayed bitmaps when used from
      under a subdir.

  * website/samples/array16.prg.html
  * website/samples/arreval.prg.html
  * website/samples/begin.prg.html
  * website/samples/byref.prg.html
  * website/samples/codebl.prg.html
  * website/samples/codebloc.prg.html
  * website/samples/dates3.prg.html
  * website/samples/foreach.prg.html
  * website/samples/function.cfm.html
  * website/samples/hello.prg.html
  * website/samples/initexit.prg.html
  * website/samples/longdev.prg.html
  * website/samples/mousetst.prg.html
  * website/samples/onidle.prg.html
  * website/samples/osshell.prg.html
  * website/samples/parseini.ini.html
  * website/samples/parseini.prg.html
  * website/samples/switch.prg.html
  * website/samples/testbrdb.prg.html
  * website/samples/testbrw.prg.html
  * website/samples/testhtml.prg.html
  * website/samples/testidle.prg.html
  * website/samples/tstmacro.prg.html
    + replaced static syntax highlighting
      with new JS based one. Old system
      used old HTML standard and old unfixed
      copies of tests. See f.e.:
         http://harbour-project.sourceforge.net/samples/testbrw.prg.html
      In new system the code can be copied
      as is from the source to these pages.
      (it'd be even better if a directly link could 
      be used to the source repo on the web)
    + updated all code with fresh copies
      from /tests directory

  * tests/parseini.prg
  * tests/testhtml.prg
    * minor cleanups

  * website/samples/array16.html
  * website/samples/arreval.html
  * website/samples/begin.html
  * website/samples/byref.html
  * website/samples/codebl.html
  * website/samples/codebloc.html
  * website/samples/dates3.html
  * website/samples/foreach.html
  * website/samples/hello.html
  * website/samples/HowToBuildOnLinux.html
  * website/samples/HowToBuildOnWindows.html
  * website/samples/initexit.html
  * website/samples/longdev.html
  * website/samples/mousetst.html
  * website/samples/onidle.html
  * website/samples/osshell.html
  * website/samples/parseini.html
  * website/samples/switch.html
  * website/samples/testbrdb.html
  * website/samples/testbrw.html
  * website/samples/testhtml.html
  * website/samples/testidle.html
  * website/samples/tstmacro.html
    + changed to use absolute paths to refer to
      common page elements
2012-11-17 17:54:21 +00:00
Viktor Szakats
a78ac57942 c2012-11-17 16:29 UTC+0100 Viktor Szakats (vszakats syenar.net)
* website/samples.html
  - website/samples/dosshell.html
  - website/samples/dosshell.prg.html
  - website/samples/screenshots/dosshell_linux.png
  - website/samples/screenshots/dosshell_w32.png
  + website/samples/osshell.html
  + website/samples/osshell.prg.html
  + website/samples/screenshots/osshell_linux.png
  + website/samples/screenshots/osshell_w32.png
  - website/samples/dates4.html
  - website/samples/dates4.prg.html
  - website/samples/testcgi.html
  - website/samples/testcgi.prg.html
  - website/samples/screenshots/testcgi.gif
    * synced files with /tests dir
2012-11-17 15:30:46 +00:00
Viktor Szakats
aa368a8b59 2012-11-17 14:56 UTC+0100 Viktor Szakats (vszakats syenar.net)
* contrib/hbodbc/hbodbc.hbp
  * contrib/hbodbc/odbc.c
  * contrib/hbodbc/todbc.prg
  * contrib/hbodbc/tests/testodbc.prg
    % deleted conditional code dealing with GC pointers
      without memory management. Not necessary after
      finishing memory management implementation in
         2012-11-16 22:32 UTC+0100 Przemyslaw Czerpak
      Thanks!

  * contrib/hbsqlit3/core.c
    ! minor in comment
2012-11-17 13:59:32 +00:00
Viktor Szakats
811450629b 2012-11-17 14:23 UTC+0100 Viktor Szakats (vszakats syenar.net)
* extras/hbdoc/hbdoc.css
  * website/css/styles.css
    % minor optimization

  * extras/hbdoc/hbdoc.css
  * website/css/styles.css
  * website/*.htm
  * website/*.html
  * website/faq/*.html
  * website/menu/*.js
  * website/samples/*.html
    ! svn charset prop set to UTF-8
2012-11-17 13:33:12 +00:00
Viktor Szakats
f72a8d6fcd 2012-11-17 14:12 UTC+0100 Viktor Szakats (vszakats syenar.net)
* doc/en/lang.txt
  * doc/en/var.txt
    ! changed docs for non-existent HB_ISBYREF() to HB_PISBYREF()
    ! deleted 'include/' references
2012-11-17 13:13:33 +00:00
Viktor Szakats
ab5ebeef3d 2012-11-17 13:52 UTC+0100 Viktor Szakats (vszakats syenar.net)
* contrib/hbct/doc/en/charonly.txt
  * contrib/hbct/doc/en/ctmath2.txt
  * doc/en/hashes.txt
  * doc/en/misc.txt
    ! added missing '()' from the end of function names

  * include/harbour.hbx
    ! fixed casing of Dbf()

  * tests/fixcase.hb
    + added exceptions fixed manually last time

  * doc/en/rdddb.txt
  * doc/en/rddmisc.txt
  * tests/newrdd.prg
    * rerun fixcase.hb
2012-11-17 12:53:46 +00:00
Przemyslaw Czerpak
9f4537cda1 2012-11-16 22:32 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/contrib/hbodbc/odbc.c
    ! fixed length of string parameters passed to ODBC functions.
      This code was using hb_parclen() for strings translated to other
      encoding by O_HB_PARSTRDEF() - it's a bug - translation may completely
      change the string length and the final ones can be shorter or longer
      then value returned by hb_parclen(). The last parameter in these macro
      is a pointer to HB_SIZE item which may received the size of converted
      string and this value should be use. If some other code also uses
      similar hb_parclen()/hb_itemGetCLen() for translated string (i.e.
      code using hbwinuni.h macros) then it has to be fixed.
    ! fixed the code to respect manual call to SQLDisconnect() which
      discards associated statement handles
    % eliminated repeated calls to extract handles from pointer items
    ; TOFIX: add protection against calling SQLConnect() with hDbc handle
             which is already in connected state. Possible solutions:
                - forbid such operation
                - execute SQLDisconnect() inside SQLConnect()
    ; TOFIX: hb_parc() pointer is passed as write buffer inside
             SQLBindParameter()
    ; Please make real test. I made this modifications without any real
      test. I do not have access to any ODBC server here.
2012-11-16 21:32:48 +00:00
Viktor Szakats
d8b5bc1788 2012-11-16 18:05 UTC+0100 Viktor Szakats (vszakats syenar.net)
* extras/httpsrv/home/counter.html
  * extras/httpsrv/home/testxmldb.html
    ! restored some .html files that contain JS code
2012-11-16 17:07:24 +00:00
Viktor Szakats
cbe151d887 2012-11-16 18:01 UTC+0100 Viktor Szakats (vszakats syenar.net)
+ tests/fixcase.hb
    + added automatic case fixer. It's ugly code and
      has some hard-coded exception, some of them
      arbitrary, some due to certain strings causing
      mis-matches (f.e. JS code embedded in string,
      or words like "token(s)" and "file(s)")

    ; TODO: interestingly hb_DirScan() won't return
            extensionless files, when using hb_osFileMask()
            (as opposed to Directory()). This was a good
            side-effect in this particular case though.
2012-11-16 17:03:14 +00:00
Viktor Szakats
e89c2b43ce 2012-11-16 17:50 UTC+0100 Viktor Szakats (vszakats syenar.net)
* extras/hbvpdf/hbvpdf.hbx
    ! two more corrections

  * contrib/gtwvg/tests/_dyndlgs.prg
  * contrib/hbct/doc/en/finan.txt
  * contrib/hbct/readme.txt
  * contrib/hbct/tests/asciisum.prg
  * contrib/hbct/tests/trig.prg
  * contrib/hbfoxpro/dll.prg
  * contrib/hbhttpd/core.prg
  * contrib/hbhttpd/widgets.prg
  * contrib/hbmisc/fcomma.prg
  * contrib/hbmlzo/tests/test.prg
  * contrib/hbmxml/tests/custom.prg
  * contrib/hbmzip/readme.txt
  * contrib/hbnf/nwuid.prg
  * contrib/hbnf/vidcur.prg
  * contrib/hbtip/client.prg
  * contrib/hbwin/tests/olesrv1.prg
  * contrib/hbwin/tests/testprn.prg
  * contrib/xhb/cstruct.prg
  * contrib/xhb/hjwindow.prg
  * contrib/xhb/hterrsys.prg
  * contrib/xhb/htjlist.prg
  * contrib/xhb/htmutil.prg
  * contrib/xhb/tests/decode.prg
  * contrib/xhb/xhberr.prg
  * doc/cmdline.txt
  * doc/en/objfunc.txt
  * doc/en/set.txt
  * doc/en/string.txt
  * doc/pragma.txt
  * extras/gfspell/spell.prg
  * extras/gtwvw/docs/gtwvw.txt
  * extras/gtwvw/tests/wvwtest9.prg
  * extras/hbvpdf/core.prg
  * extras/hbvpdf/fonts.prg
  * extras/hbvpdf/tests/pdf_demo.prg
  * extras/httpsrv/cgifunc.prg
  * extras/httpsrv/home/counter.html
  * extras/httpsrv/home/testxmldb.html
  * extras/httpsrv/session.prg
  * extras/httpsrv/uhttpd.prg
  * tests/base64.prg
  * tests/boxtest.prg
  * tests/db_brows.prg
  * tests/ddate.prg
  * tests/inherit.prg
  * tests/langmsg.prg
  * tests/mathtest.prg
  * tests/memtst.prg
  * tests/readhrb.prg
  * tests/switch.prg
  * tests/testsha2.prg
  * tests/testwarn.prg
  * tests/tstdbi.prg
  * tests/utf8at.prg
  * utils/hbtest/hbtest.prg
  * utils/hbtest/rt_class.prg
  * utils/hbtest/rt_date.prg
  * utils/hbtest/rt_hvma.prg
  * utils/hbtest/rt_math.prg
  * utils/hbtest/rt_misc.prg
  * utils/hbtest/rt_trans.prg
  * website/news.html
  * website/news1.html
  * website/samples.html
  * website/samples/arreval.html
  * website/samples/codebl.prg.html
  * website/samples/dates3.html
  * website/samples/switch.prg.html
  * website/samples/testcgi.prg.html
  * website/samples/tstmacro.prg.html
    * rerun case fixer script after applying
      some fixes, and this time it run fully
      automatically.
2012-11-16 16:53:48 +00:00
Viktor Szakats
a7ef583443 2012-11-16 17:44 UTC+0100 Viktor Szakats (harbour syenar.net)
* tests/uc16_gen.prg
    ! restored
2012-11-16 16:44:37 +00:00
Viktor Szakats
bfa8bdc68e 2012-11-16 17:42 UTC+0100 Viktor Szakats (harbour syenar.net)
* extras/hbvpdf/hbvpdf.hbx
    ! correction
2012-11-16 16:43:13 +00:00
Viktor Szakats
31135713b8 2012-11-16 16:06 UTC+0100 Viktor Szakats (vszakats syenar.net)
* contrib/gtwvg/class.prg
  * contrib/gtwvg/paint.prg
  * contrib/gtwvg/parthdlr.prg
  * contrib/gtwvg/statbar.prg
  * contrib/gtwvg/tests/_dyndlgs.prg
  * contrib/gtwvg/tests/_modal.prg
  * contrib/gtwvg/tests/_tbrowse.prg
  * contrib/gtwvg/tests/_utils.prg
  * contrib/gtwvg/tests/_wvtcls.prg
  * contrib/gtwvg/tests/_xbp.prg
  * contrib/gtwvg/tests/demowvg.prg
  * contrib/gtwvg/tests/demowvg1.prg
  * contrib/gtwvg/tests/demoxbp.prg
  * contrib/gtwvg/toolbar.prg
  * contrib/gtwvg/wnd.prg
  * contrib/hbamf/issues.txt
  * contrib/hbamf/readme.txt
  * contrib/hbblink/hbblink.ch
  * contrib/hbct/ct.ch
  * contrib/hbct/ctcom.ch
  * contrib/hbct/ctrand.prg
  * contrib/hbct/cttime.prg
  * contrib/hbct/doc/en/addascii.txt
  * contrib/hbct/doc/en/ctmath2.txt
  * contrib/hbct/doc/en/ctstr.txt
  * contrib/hbct/doc/en/dattime2.txt
  * contrib/hbct/doc/en/finan.txt
  * contrib/hbct/doc/en/ftoc.txt
  * contrib/hbct/doc/en/misc1.txt
  * contrib/hbct/doc/en/trig.txt
  * contrib/hbct/fcopy.prg
  * contrib/hbct/getinfo.prg
  * contrib/hbct/getinput.prg
  * contrib/hbct/getsecrt.prg
  * contrib/hbct/keysave.prg
  * contrib/hbct/keysec.prg
  * contrib/hbct/keytime.prg
  * contrib/hbct/readme.txt
  * contrib/hbct/screen3.prg
  * contrib/hbct/scrmark.prg
  * contrib/hbct/showtime.prg
  * contrib/hbct/tempfile.prg
  * contrib/hbformat/utils/hbformat.prg
  * contrib/hbfship/isdb.prg
  * contrib/hbgd/gdimage.prg
  * contrib/hbgd/tests/gdtestcl.prg
  * contrib/hbgd/tests/test_out.prg
  * contrib/hbgd/tests/tostring.prg
  * contrib/hbgt/doc/en/hbgt.txt
  * contrib/hbgt/tests/test.prg
  * contrib/hbhpdf/tests/harupdf.prg
  * contrib/hbhttpd/tests/carts.dbf
  * contrib/hbhttpd/tests/items.dbf
  * contrib/hbhttpd/tests/users.dbf
  * contrib/hbmisc/doc/en/dates2.txt
  * contrib/hbmisc/fcomma.prg
  * contrib/hbmisc/stringp.prg
  * contrib/hbmisc/tests/testhbf.prg
  * contrib/hbmisc/udpds.prg
  * contrib/hbmxml/tests/custom.prg
  * contrib/hbmysql/diff-en.txt
  * contrib/hbmysql/diff-es.txt
  * contrib/hbmysql/tmysql.prg
  * contrib/hbnetio/netiomt.prg
  * contrib/hbnetio/utils/hbnetio/netiomgm.hb
  * contrib/hbnf/adapter.prg
  * contrib/hbnf/aredit.prg
  * contrib/hbnf/clrsel.prg
  * contrib/hbnf/default.prg
  * contrib/hbnf/dispmsg.prg
  * contrib/hbnf/floptst.prg
  * contrib/hbnf/ftint86.ch
  * contrib/hbnf/ftmenuto.ch
  * contrib/hbnf/lastday.prg
  * contrib/hbnf/linked.prg
  * contrib/hbnf/menuto.prg
  * contrib/hbnf/metaph.prg
  * contrib/hbnf/nwsem.prg
  * contrib/hbnf/ontick.prg
  * contrib/hbnf/pegs.prg
  * contrib/hbnf/popadder.prg
  * contrib/hbnf/savesets.prg
  * contrib/hbnf/sinkey.prg
  * contrib/hbnf/tbwhile.prg
  * contrib/hbnf/tempfile.prg
  * contrib/hbnf/vidcur.prg
  * contrib/hbnf/video2.prg
  * contrib/hbnf/woy.prg
  * contrib/hbodbc/tests/testodbc.prg
  * contrib/hbodbc/todbc.prg
  * contrib/hbpgsql/postgres.ch
  * contrib/hbtip/encoder.prg
  * contrib/hbtip/thtml.prg
  * contrib/hbtpathy/tests/testtp.prg
  * contrib/hbwin/tests/dlg.prg
  * contrib/hbwin/tests/olesrv1.prg
  * contrib/hbwin/tests/olesrv3.prg
  * contrib/hbwin/tests/olesrv4.prg
  * contrib/hbwin/tests/oletst4.prg
  * contrib/hbwin/tests/testprn.prg
  * contrib/hbwin/win_tbmp.prg
  * contrib/hbxpp/browdbx.prg
  * contrib/hbxpp/runshell.prg
  * contrib/hbxpp/tthreadx.prg
  * contrib/hbxpp/typefilx.prg
  * contrib/hbxpp/xppop.prg
  * contrib/rddads/doc/en/adsfuncs.txt
  * contrib/rddads/doc/en/readme.txt
  * contrib/rddads/tests/datad.prg
  * contrib/rddsql/readme.txt
  * contrib/xhb/cstruct.prg
  * contrib/xhb/dirrec.prg
  * contrib/xhb/diskhb.prg
  * contrib/xhb/hbcompat.ch
  * contrib/xhb/hbcomprs.prg
  * contrib/xhb/hterrsys.prg
  * contrib/xhb/htjlist.prg
  * contrib/xhb/htmutil.prg
  * contrib/xhb/stream.prg
  * contrib/xhb/tcgi.prg
  * contrib/xhb/thtm.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/txml.prg
  * contrib/xhb/xcstr.prg
  * contrib/xhb/xhberr.prg
  * contrib/xhb/xhbmemo.prg
  * contrib/xhb/xhbtedit.prg
  * contrib/xhb/xhbver.prg
  * doc/cmpopt.txt
  * extras/gfspell/spell.ng
  * extras/gfspell/spell.prg
  * extras/gfspell/words.dbf
  * extras/gtwvw/docs/funclist.txt
  * extras/gtwvw/docs/whatsnew.txt
  * extras/gtwvw/tests/_wvwmous.prg
  * extras/gtwvw/tests/cbtest6.prg
  * extras/gtwvw/tests/drawimg.prg
  * extras/gtwvw/tests/ebtest7.prg
  * extras/gtwvw/tests/inpfocus.prg
  * extras/gtwvw/tests/maximize.prg
  * extras/gtwvw/tests/prog0.prg
  * extras/gtwvw/tests/prog1.prg
  * extras/gtwvw/tests/prog2.prg
  * extras/gtwvw/tests/wvwtest9.prg
  * extras/gtwvw/wvt2wvw.ch
  * extras/guestbk/guestbk.prg
  * extras/hbdoc/tmplates.prg
  * extras/hbvpdf/core.prg
  * extras/httpsrv/cgifunc.prg
  * extras/httpsrv/cookie.prg
  * extras/httpsrv/session.prg
  * extras/httpsrv/uhttpd.prg
  * extras/rddado/adordd.ch
  * extras/rddado/adordd.prg
  * include/set.ch
  * src/debug/debugger.prg
  * src/rdd/dbfuncs.prg
  * src/rdd/dbjoin.prg
  * src/rdd/dblist.prg
  * src/rdd/dbsort.prg
  * src/rdd/dbstrux.prg
  * src/rdd/dbstruxu.prg
  * src/rdd/dbtotal.prg
  * src/rdd/dbupdat.prg
  * src/rdd/hbsix/sxcompat.prg
  * src/rdd/hbsix/sxini.prg
  * src/rdd/hbsix/sxtrig.prg
  * src/rdd/usrrdd/rdds/arrayrdd.prg
  * src/rdd/usrrdd/rdds/logrdd.prg
  * src/rdd/usrrdd/rdds/rlcdx.prg
  * src/rtl/achoice.prg
  * src/rtl/adir.prg
  * src/rtl/alert.prg
  * src/rtl/altd.prg
  * src/rtl/browdb.prg
  * src/rtl/dbedit.prg
  * src/rtl/devoutp.prg
  * src/rtl/dircmd.prg
  * src/rtl/hbi18n2.prg
  * src/rtl/input.prg
  * src/rtl/libname.prg
  * src/rtl/listbox.prg
  * src/rtl/memvarbl.prg
  * src/rtl/radiobhb.prg
  * src/rtl/readkey.prg
  * src/rtl/readvar.prg
  * src/rtl/setfunc.prg
  * src/rtl/setta.prg
  * src/rtl/tbrowse.prg
  * src/rtl/teditor.prg
  * src/rtl/text.prg
  * src/rtl/tget.prg
  * src/rtl/tgetlist.prg
  * src/rtl/tobject.prg
  * src/rtl/typefile.prg
  * src/rtl/valtoexp.prg
  * src/rtl/wait.prg
  * src/vm/harbinit.prg
  * tests/ac_test.prg
  * tests/ac_test2.prg
  * tests/adirtest.prg
  * tests/aliaslck.prg
  * tests/bldtest/bldtest.c
  * tests/clsnv.prg
  * tests/codebl.prg
  * tests/debugtst.prg
  * tests/devtest.prg
  * tests/disptest.prg
  * tests/gtcolors.prg
  * tests/gtkeys.prg
  * tests/gtwin.prg
  * tests/gtxfnt.prg
  * tests/inkeytst.prg
  * tests/linecont.prg
  * tests/mathtest.prg
  * tests/memvar.prg
  * tests/newrdd.prg
  * tests/output.prg
  * tests/readhrb.prg
  * tests/seconds.prg
  * tests/set_test.prg
  * tests/tb1.prg
  * tests/testdyn.prg
  * tests/testdyn1.prg
  * tests/testhrb.prg
  * tests/testhtml.prg
  * tests/testidle.prg
  * tests/testpre.prg
  * tests/testrdd2.prg
  * tests/testsha1.prg
  * tests/teststr.prg
  * tests/ticktime.prg
  * tests/transtst.prg
  * tests/tstcolor.prg
  * tests/tstdbi.prg
  * tests/tstmacro.prg
  * tests/uc16_gen.prg
  * tests/usrrdd/exarr.prg
  * tests/usrrdd/exlog.prg
  * tests/utf8at.prg
  * tests/version.prg
  * tests/videotst.prg
  * tests/vidtest.prg
  * tests/wvtext.prg
  * utils/hbmk2/hbmk2.prg
  * utils/hbtest/hbtest.prg
  * utils/hbtest/rt_class.prg
  * utils/hbtest/rt_date.prg
  * utils/hbtest/rt_hvm.prg
  * utils/hbtest/rt_hvma.prg
  * utils/hbtest/rt_math.prg
  * utils/hbtest/rt_misc.prg
  * utils/hbtest/rt_mt.prg
  * utils/hbtest/rt_str.prg
  * utils/hbtest/rt_stra.prg
  * utils/hbtest/rt_trans.prg
    * run case fixer script on all non-C file
      except some certain files, which I routinely
      skip when formatting.
    * minor manual cleanups along the way
2012-11-16 15:23:20 +00:00
Viktor Szakats
d6352a3cf1 2012-11-16 15:07 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbmisc/stringp.prg
    % use hb_default() instead of local variation named default()
2012-11-16 14:08:34 +00:00
Viktor Szakats
7cafb2d6ff 2012-11-16 14:53 UTC+0100 Viktor Szakats (harbour syenar.net)
+ contrib/xhb/xhbctbit.c
  * contrib/xhb/xhb.hbp
  * contrib/xhb/xhb.hbx
    + implemented NUM*X() function from xhb, which
      are there present in CT lib as extensions. In
      Harbour they are in xhb lib.
      Adapted types, missing functions, some cleanups 
      and uncrustify.
2012-11-16 13:54:48 +00:00
Viktor Szakats
ff386300ed 2012-11-16 14:12 UTC+0100 Viktor Szakats (harbour syenar.net)
* extras/hbvpdf/hbvpdf.hbx
    + camelcased
2012-11-16 13:13:23 +00:00
Viktor Szakats
8138c588af 2012-11-16 14:01 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/gtwvt/gtwvt.c
  * src/rtl/gtwvt/gtwvt.h
    ! made gfx drawing functions work again by disabling
      compositing on the first drawing call

  * contrib/hbodbc/hbodbc.hbp
    + enabled automatic MM after Przemek's changes.
      For me however, both odbcdemo.prg and testodbc.prg
      GPFs on exit. Maybe it's related to SQLDisconnect() 
      calls?

  * contrib/hbodbc/odbc.c
    ! SQLALLOCENV() after my prev change to use ODBC 3 APIs
      to call some weird API to avoid an error.

  * contrib/hbodbc/tests/testodbc.prg
  * contrib/hbodbc/todbc.prg
    * disabled manual memory management hacks on
      prg level

  * contrib/rddsql/hbrddsql.h
  * contrib/sddfb/sddfb.c
    ! uncrustified

  * doc/howtorep.txt
    + added reference to commit.hb

  * contrib/gtwvg/class.prg
  * contrib/gtwvg/gtwvg.hbx
  * contrib/gtwvg/menubar.prg
  * contrib/gtwvg/paint.prg
  * contrib/gtwvg/syswnd.prg
    ! fixed few casing and where it was used

  * extras/gtwvw/gtwvw.hbx
  * extras/gtwvw/wvt2wvw.ch
    ! fixed few casing and where it was used

  * contrib/hbgd/gd.ch
    * minor
2012-11-16 13:07:22 +00:00
Mindaugas Kavaliauskas
9ee2eff21c 2012-11-16 13:52 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddsql/hbrddsql.h
    * added missing constant
2012-11-16 11:52:34 +00:00
Mindaugas Kavaliauskas
cdb403f1f2 2012-11-16 13:35 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/sddfb/sddfb.c
    ! added missing query execution :), multiple field type/value decoding 
      changes, etc.
2012-11-16 11:36:31 +00:00
Przemyslaw Czerpak
7100efa590 2012-11-16 11:35 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/contrib/hbodbc/odbc.c
    * unlock sub-handle pointer items - it can be safely done
      because these items are marked as used inside parent item
      GC mark function.
    ; This code using pointer items is a little bit more complicated
      then it has to be.
      In current code pointer items can keep references only to other
      pointer items in the form which cannot create cyclic reference.
      They also do not have any references to codeblocks, arrays,
      objects, hashes or any other complex items set by user which
      may create indirectly cyclic reference. In such case it's
      possible to eliminate all GC mark functions and use directly
      items allocated by hb_itemNew() without unlocking them with
      hb_gcUnlock(). By default all items allocated by hb_itemNew()
      are locked so GC automatically mark them and their GC memory
      blocks as used.
      It does not cause any speed or memory overhead so I left it
      as example for more complicated cases and as base for some
      potential extensions.
2012-11-16 10:35:21 +00:00