2008-04-06 00:30 UTC+0300 Phil Krylov <phil a t newstar.rinet.ru>
* include/set.ch
* include/hbset.h
* include/std.ch
* source/rdd/dbf1.c
* source/rdd/dblist.prg
* source/rdd/delim1.c
* source/rdd/sdf1.c
* source/rdd/bmdbfcdx/bmdbfcdx1.c
* source/rdd/dbfcdx/dbfcdx1.c
* source/rdd/dbfntx/dbfntx1.c
* source/rtl/errorsys.prg
* source/rtl/set.c
* source/rtl/tlabel.prg
* source/rtl/treport.prg
* source/rtl/txtline.c
* source/vm/hvm.c
* source/vm/memvars.c
* source/vm/runner.c
* tests/mousetst.prg
* tests/regextest.prg
* tests/videotst.prg
* tests/vidtest.prg
+ Added Set( _SET_DEFEXTENSIONS, <logical: .T./.F.> )
Default value is .T. (CA-Cl*pper compatible). If set to .F.,
Harbour runtime/RDD code will never attempt to add a
default extension to the filename arguments. Commands/functions
where this setting makes a difference are:
- SET ALTERNATE TO / Set( _SET_ALTFILE_, ... )
- SET PRINTER TO / Set( _SET_PRINTFILE_, ... )
- Set( _SET_EXTRAFILE, ... )
- SAVE TO / __mvSave()
- RESTORE FROM / __mvRestore()
- LABEL FORM
- REPORT FORM
- COPY TO ... DELIMITED
- COPY TO ... SDF
- LIST / __dbList()
- USE / dbUseArea()
- dbCreate()
- SET INDEX TO / ordListAdd() (not yet implemented)
- __HRBLOAD(), __HRBRUN()
; Notes:
- From now on, it possible to create/load files using the
above functions/commands which have no extension. This
might be desirable in a few platforms and/or situations.
For example on Win32, it's possible to directly print
to a shared Windows printer queue, using these commands:
lOldValue := Set( _SET_DEFEXTENSIONS, .F. )
SET PRINTER TO \\myserver\myprinter
Set( _SET_DEFEXTENSIONS, lOldValue )
Or, it is possible to open a dbf file which have no extension:
dbUseArea(.T., NIL, "dbf_filename_with_no_extension",
"w_DATA", .F., .F.)
- Compiler is (of course) not affected by this setting.
- Preprocessor (PP) lib flavour is not affected by this setting.
(by Viktor Szakats, borrowed from Harbour)
- Removed _SET_GTMODE as it was gtxvt-only functionality, and if somebody
decides to update gtxvt, this should be better implemented via
HB_GTINFO().
* Synched extended SET() #define values with Harbour.
* xHarbour-only SET() extensions start from HB_SET_XHB_BASE (200).
* Synched hb_setGet*() function names with Harbour.
* Changed _SET_EOL to hold a char * like other string Sets instead of
PHB_ITEM.
=========
P.S. A CLEAN build is required!
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers