Age | Commit message (Collapse) | Author | Files | Lines |
|
* hieroglyph/vm.c (_hg_vm_eval_file): new function.
(hg_vm_set_ostack): new function.
(hg_vm_set_estack): make it as a private function.
(hg_vm_set_dstack): new function.
(hg_vm_eval): new function.
* lib/hg_init.ps: don't invoke if .loadhistory and .savehistory isn't
available.
* plugins/libedit/libedit-main.c (_libedit_op_loadhistory): moved from
operator.c.
(_libedit_op_statementedit): likewise.
(_libedit_op_savehistory): likewise.
|
|
has to be escaped by '\'.
|
|
check the access attributes.
|
|
* hieroglyph/hglineedit.c (_hg_line_edit__default_get_line):
implemented.
|
|
* hieroglyph/operator.c (_hg_operator_op_file): give a HgLineEdit
for %lineedit.
(_hg_operator_op_readhexstring): implemented.
* hieroglyph/hgstring.c (_hg_string_real_to_string): mask a character
to get a char exactly.
|
|
|
|
the executeonly.
* hieroglyph/hgmem.h (hg_object_is_accessible): new macro.
* hieroglyph/hgmem.c (hg_mem_pool_new): changed the default access
mode.
|
|
* hieroglyph/operator.c (_hg_operator_op_exec): check executeonly flag.
(_hg_operator_op_executeonly): implemented.
(_hg_operator_op_noaccess): use hg_object_inaccessible.
* hieroglyph/vm.c (hg_vm_main): set the same flags from string to file.
* hieroglyph/hgmem.h (hg_object_inexecutable): renamed from
hg_object_unexecutable.
(hg_object_executeonly): new macro.
(hg_object_is_executeonly): new macro.
(hg_object_inaccessible): new macro.
|
|
|
|
.startgc definition.
(_hg_operator_op_private_hg_startgc): removed.
* plugins/Makefile.am (SUBDIRS): added debug subdir.
* plugins/debug/debug-main.c: new file.
* plugins/debug/Makefile.am: new file.
|
|
|
|
* hieroglyph/operator.h (_hg_operator_build_operator): moved from
operator.c.
(BUILD_OP): likewise.
(BUILD_OP_): likewise.
|
|
(_hg_operator_op_readonly): implemented.
|
|
* hieroglyph/operator.c (_hg_operator_op_ln): implemented.
|
|
the own C function.
* hieroglyph/operator.c (_hg_operator_op_identmatrix): implemented.
(_hg_operator_op_matrix): moved into lib/hg_init.ps.
|
|
* hieroglyph/hgfile.c (hg_file_object_flush): changed the behavior for
read mode.
* hieroglyph/operator.c (_hg_operator_op_flushfile): implemented.
|
|
* hieroglyph/operator.c (_hg_operator_op_cvrs): implemented.
* hieroglyph/hgstring.c (hg_string_convert_from_integer): new function.
* hieroglyph/hgvaluenode.c (_hg_value_node_real_to_string): suppressed
the unnecessary zeros.
|
|
a substring.
|
|
|
|
(_hg_operator_op_currentfile): implemented.
(_hg_operator_op_readline): implemented.
|
|
* hieroglyph/hgfile.c (_hg_file_object_real_free): use
hg_file_object_close instead of handling a close process directly.
(hg_file_object_close): new function.
* src/hgspy.c (_hgspy_file_close_cb): new function.
|
|
|
|
* hieroglyph/operator.c (_hg_operator_op_bytesavailable): implemented.
* hieroglyph/hgfile.c (hg_file_object_seek): new function.
(hg_file_object_is_readable): new function.
(hg_file_object_is_writable): new function.
* src/hgspy.c (_hgspy_file_seek_cb): new function.
|
|
|
|
* hieroglyph/hgstring.c (hg_string_ncompare): new function.
(hg_string_copy_as_substring): fixed an index bug.
|
|
|
|
* Makefile.am (EXTRA_DIST): added update-version.
* hieroglyph.pc.in: trivial fix.
|
|
|
|
|
|
|
|
|
|
* examples/pse.c (_pse_plugin_arg_cb): new function.
* hieroglyph/operator.c (_hg_operator_op_file): support new HgLineEdit.
(_hg_operator_op_private_hg_initplugins): new function.
* hieroglyph/vm.c (hg_vm_load_plugin): new function.
(hg_vm_load_plugins_all): new function.
(hg_vm_unload_plugin): new function.
* hieroglyph/hgdevice.c (hg_device_new): support the multiple paths.
* lib/hg_init.ps: initialize the plugins.
* tests/run.sh: support the multiple paths.
|
|
* hieroglyph/hglineedit.[ch]: made a lot of changes to get rid of
the libedit dependency directly.
* hieroglyph/hgplugins.[ch]: new files.
* hieroglyph/hgfile.c (hg_file_object_new): handle an argument
as HgLineEdit.
* .gdbinit: modified for current object structures.
(hgstringprint): implemented.
* plugins/libedit/libedit-main.c (plugin_load): implemented.
(plugin_unload): implemented.
|
|
|
|
|
|
|
|
* plugins/test/Makefile.am: new file.
* plugins/test/test-main.c: new file.
* plugins/libedit/Makefile.am: new file.
* plugins/libedit/libedit-main.c: new file.
|
|
|
|
|
|
|
|
* examples/cairo-xlib.c: likewise.
* examples/Makefile.am: removed the libretto.la dependency.
|
|
|
|
|
|
|
|
|
|
* hieroglyph/hggraphics.[ch]: moved from libretto/lbgraphics.[ch].
|
|
non-null.
|
|
(_hgspy_run_vm): ask if VM is already running.
* hieroglyph/hgstack.[ch]: new files.
* libretto/Makefile.am: removed lbstack.[ch].
* libretto/lbtypes.h: removed LibrettoStack definition.
* libretto/vm.[ch]: modified for LibrettoStack->HgStack transition.
* libretto/scanner.c: likewise.
* libretto/operator.c: likewise.
* libretto/lbstack.[ch]: moved as hieroglyph/hgstack.[ch].
|
|
* devices/cairo/cairo-xlib-main.c (device_close): fixed a memory leak.
|
|
|