2012-05-09  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-runtime.h (MELT_VERSION_STRING): Bump to 0.9.6-pre

	* Makefile.in (melt-runtime-params-inc.c): Add melt_header_dir.
	(melt_header_dir): New variable.
	(install-plugin): Install the MELT headers separately.
	(melt_version_string): New variable.
	(melt_source_dir, melt_header_dir, melt_module_dir)
	(melt_installed_module_makefile): Use it.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@187318 138bc75d-0d04-0410-961f-82ee72b054a4

2012-05-09  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-runtime.h (melt_argdescr_length): Handle MELTPAR_MARKGGC ie
	(void*)-1L as null.
	* melt/warmelt-modes.melt (makedoc_genmacro): Add debug.
	(makedoc_genmacro, makedoc_genciterator): Sort correctly.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@187322 138bc75d-0d04-0410-961f-82ee72b054a4

2012-05-09  Basile Starynkevitch  <basile@starynkevitch.net>
	{{Regenerate}}
	* melt/generated/meltrunsup-inc.c: Regenerate.
	* melt/generated/meltrunsup.h: Regenerate.
	* melt/generated/warmelt-base+meltdesc.c: Regenerate.
	* melt/generated/warmelt-base+melttime.h: Regenerate.
	* melt/generated/warmelt-debug+meltdesc.c: Regenerate.
	* melt/generated/warmelt-debug+melttime.h: Regenerate.
	* melt/generated/warmelt-first+meltdesc.c: Regenerate.
	* melt/generated/warmelt-first+melttime.h: Regenerate.
	* melt/generated/warmelt-genobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-genobj+melttime.h: Regenerate.
	* melt/generated/warmelt-macro+meltdesc.c: Regenerate.
	* melt/generated/warmelt-macro+melttime.h: Regenerate.
	* melt/generated/warmelt-modes+01.c: Regenerate.
	* melt/generated/warmelt-modes+02.c: Regenerate.
	* melt/generated/warmelt-modes+meltdesc.c: Regenerate.
	* melt/generated/warmelt-modes+melttime.h: Regenerate.
	* melt/generated/warmelt-modes.c: Regenerate.
	* melt/generated/warmelt-normal+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normal+melttime.h: Regenerate.
	* melt/generated/warmelt-normatch+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normatch+melttime.h: Regenerate.
	* melt/generated/warmelt-outobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-outobj+melttime.h: Regenerate.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@187324 138bc75d-0d04-0410-961f-82ee72b054a4

2012-05-09  Basile Starynkevitch  <basile@starynkevitch.net>
	{{MELT plugin uses MELT version specific paths}}
	* MELT-Plugin-Makefile (LN_S, MELT_RUNTIME_H)
	(melt_version_string, melt_header_dir): New variables.
	(melt_source_dir, melt_module_dir): Use them.
	(install-melt-includes, install-melt-so): Ditto.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@187326 138bc75d-0d04-0410-961f-82ee72b054a4

2012-05-09  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-runtime.h (melt_got_sigchld): New volatile variable.
	(melt_argdescr_length): Better cast.
	(melt_probe_start): Return the pid.
	* melt-runtime.c (melt_got_sigchld): New volatile variable.
	(melt_probe_start): Return the pid.
	(melt_raw_sigchld_signal): New.
	(melt_install_signal_handlers): Use it.
	(meltgc_handle_sigalrm): Count them.
	(meltgc_handle_sigchld): New stub.
	(meltgc_handle_interrupt): Deal with SIGCHLD.

	* melt-predef.list (CLASS_ALARM_HANDLER)
	(CLASS_CHILD_PROCESS_HANDLER): New.

	* melt/warmelt-first.melt (class_alarm_handler)
	(class_child_process_handler): New.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@187332 138bc75d-0d04-0410-961f-82ee72b054a4

2012-05-09  Basile Starynkevitch  <basile@starynkevitch.net>
	{{Regenerate}}

	* melt/generated/meltrunsup.h: Regenerate.
	* melt/generated/warmelt-base+meltdesc.c: Regenerate.
	* melt/generated/warmelt-base+melttime.h: Regenerate.
	* melt/generated/warmelt-base.c: Regenerate.
	* melt/generated/warmelt-debug+meltdesc.c: Regenerate.
	* melt/generated/warmelt-debug+melttime.h: Regenerate.
	* melt/generated/warmelt-debug.c: Regenerate.
	* melt/generated/warmelt-first+01.c: Regenerate.
	* melt/generated/warmelt-first+02.c: Regenerate.
	* melt/generated/warmelt-first+03.c: Regenerate.
	* melt/generated/warmelt-first+meltdesc.c: Regenerate.
	* melt/generated/warmelt-first+melttime.h: Regenerate.
	* melt/generated/warmelt-first.c: Regenerate.
	* melt/generated/warmelt-genobj+04.c: Regenerate.
	* melt/generated/warmelt-genobj+05.c: Regenerate.
	* melt/generated/warmelt-genobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-genobj+melttime.h: Regenerate.
	* melt/generated/warmelt-genobj.c: Regenerate.
	* melt/generated/warmelt-macro+meltdesc.c: Regenerate.
	* melt/generated/warmelt-macro+melttime.h: Regenerate.
	* melt/generated/warmelt-macro.c: Regenerate.
	* melt/generated/warmelt-modes+meltdesc.c: Regenerate.
	* melt/generated/warmelt-modes+melttime.h: Regenerate.
	* melt/generated/warmelt-modes.c: Regenerate.
	* melt/generated/warmelt-normal+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normal+melttime.h: Regenerate.
	* melt/generated/warmelt-normal.c: Regenerate.
	* melt/generated/warmelt-normatch+04.c: Regenerate.
	* melt/generated/warmelt-normatch+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normatch+melttime.h: Regenerate.
	* melt/generated/warmelt-normatch.c: Regenerate.
	* melt/generated/warmelt-outobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-outobj+melttime.h: Regenerate.
	* melt/generated/warmelt-outobj.c: Regenerate.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@187334 138bc75d-0d04-0410-961f-82ee72b054a4

2012-05-09  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt/warmelt-macro.melt (mexpand_defun): Signal error for empty
	body.
	* melt/warmelt-modes.melt (register_alarm_timer)
	(register_child_process_handler, register_input_channel_handler)
	(unregister_alarm_timer, unregister_child_process_handler): New stubs.

	* melt/xtramelt-probe.melt (show_version_probe): Send a
	SETSTATUS_pcd command.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@187335 138bc75d-0d04-0410-961f-82ee72b054a4

2012-05-09  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-runtime.h (melt_relative_time_millisec): New declaration.
	* melt-runtime.c (melt_relative_time_millisec): New function.
	* melt/warmelt-modes.melt: Improve stubs.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@187336 138bc75d-0d04-0410-961f-82ee72b054a4

2012-05-09  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-runtime.h (melt_set_real_timer_millisec): New declaration.
	(melt_longsbucket_nth_key, melt_longsbucket_nth_val): New
	functions.

	* melt-runtime.c (melt_set_real_timer_millisec): New function.

	* melt/warmelt-first.melt (bucketlong_nth_key)
	(bucketlong_nth_val): New primitives.

	* melt/warmelt-base.melt (relative_time_millisec)
	(set_real_timer_millisec): New primitives.

	* melt/warmelt-modes.melt (handle_alarm_signal)
	(register_alarm_handler): New functions.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@187349 138bc75d-0d04-0410-961f-82ee72b054a4