[Gambas-devel-svn] SF.net SVN: gambas:[2339] gambas/trunk/main
Brought to you by:
gambas
From: <ga...@us...> - 2009-09-17 20:58:39
|
Revision: 2339 http://gambas.svn.sourceforge.net/gambas/?rev=2339&view=rev Author: gambas Date: 2009-09-17 20:58:27 +0000 (Thu, 17 Sep 2009) Log Message: ----------- [INTERPRETER] * NEW: VarPtr() now works on a string variable. It returns the address of the string. * NEW: TypeOf("") now returns gb.String. "" is equal to NULL yet, but now its string datatype is kept. * NEW: Memory is new instruction like Open that opens a memory stream from a Pointer. * NEW: A Pointer can not be used as a stream directly. You must use the new Memory instruction for that. * NEW: The [...] array constructor now checks the datatype of all its argument to decide the type of the new array. * BUG: The ["key":value] collection constructor now does not leak memory anymore if it fails. * NEW: A new error, "void key", whose code is 64. * NEW: TypeOf(Null) now returns gb.Null and not gb.Object anymore. * BUG: IIf() now returns a Variant only if needed. It uses the same algorithm as the array constructor. [COMPILER] * NEW: Memory is new instruction like Open that opens a memory stream from a Pointer. The syntax is: hStream = Memory pPonter For Read | Write. * NEW: Support for form controls being individually public. * BUG: VarPtr() is compiled correctly again. Modified Paths: -------------- gambas/trunk/main/gbc/gbc_form.c gambas/trunk/main/gbc/gbc_trans.h gambas/trunk/main/gbc/gbc_trans_code.c gambas/trunk/main/gbc/gbc_trans_expr.c gambas/trunk/main/gbc/gbc_trans_subr.c gambas/trunk/main/gbc/gbc_trans_tree.c gambas/trunk/main/gbx/gb_error.c gambas/trunk/main/gbx/gb_error.h gambas/trunk/main/gbx/gbx_c_collection.c gambas/trunk/main/gbx/gbx_exec_loop.c gambas/trunk/main/gbx/gbx_stream.c gambas/trunk/main/gbx/gbx_stream.h gambas/trunk/main/gbx/gbx_stream_memory.c gambas/trunk/main/gbx/gbx_subr.c gambas/trunk/main/gbx/gbx_subr.h gambas/trunk/main/gbx/gbx_subr_conv.c gambas/trunk/main/gbx/gbx_subr_extern.c gambas/trunk/main/gbx/gbx_subr_file.c gambas/trunk/main/gbx/gbx_subr_misc.c gambas/trunk/main/gbx/gbx_subr_test.c gambas/trunk/main/lib/eval/eval_trans_expr.c gambas/trunk/main/share/gb_code.h gambas/trunk/main/share/gb_code_temp.h gambas/trunk/main/share/gb_pcode.h gambas/trunk/main/share/gb_reserved.h gambas/trunk/main/share/gb_reserved_temp.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |