Commit Graph
21 Commits
Author SHA1 Message Date
Zoltan Varga a457e88362 Remove glib dependencies from the embed samples. Fixes #660117. 2011-01-04 16:38:33 +01:00
Paolo Molaro 9e1f34dd2d Wed Feb 24 15:47:16 CET 2010 Paolo Molaro <[email protected]>
* confiure.in, data/mono-2.pc.in, data/Makefile.am,
	samples/embed/*: increase the API version.


svn path=/trunk/mono/; revision=152356
2010-02-24 15:19:21 +00:00
Martin Baulig 1cbad8abc3 Create .gitignore's.
svn path=/trunk/mono/; revision=128265
2009-02-28 14:36:50 +00:00
Alp Toker c09ffbf3c7 2007-11-10 Alp Toker <[email protected]>
* samples/embed/teste.c: Add a newline at the end of this printf()


svn path=/trunk/mono/; revision=89397
2007-11-10 02:11:19 +00:00
Jonathan Chambers 8e3893279b 2007-03-13 Jonathan Chambers <[email protected]>
* *.vcproj:	Move to msvc directory.
	* *.bat:	Move to msvc directory.
	* libgc/misc.c: Use correct string type for GetModuleHandle. 


svn path=/trunk/mono/; revision=74203
2007-03-13 20:00:05 +00:00
Jonathan Chambers 337b6aedc7 2007-03-13 Jonathan Chambers <[email protected]>
*.vcproj: Fix Release build target, add define to remove CRT warnings, 
	structure output folders a bit better, begin WIN64 port.
	*.bat: Use output from current VS target for executable.
	* icall.c: Fix environ access on windows.
	* gc.h: Fix Win64 typedef.


svn path=/trunk/mono/; revision=74191
2007-03-13 18:08:42 +00:00
Miguel de Icaza 8e24faadcb Add a pre-generated windows configuration file
svn path=/trunk/mono/; revision=68847
2006-12-01 20:53:25 +00:00
Zoltan Varga ef542a769d 2006-08-31 Zoltan Varga <[email protected]>
* samples/embed/test-invoke.vcproj samples/embed/teste.vcproj: Fix include paths for newer glib versions.

svn path=/trunk/mono/; revision=64632
2006-08-31 16:06:33 +00:00
Miguel de Icaza c4b5bae7d1 2005-11-09 Miguel de Icaza <[email protected]>
* assembly.c (mono_set_dirs): New API entry point to set the
	assembly and the config directory in one call

A more robust framework for relocation and a public API for embedders to use.


svn path=/trunk/mono/; revision=52816
2005-11-10 02:24:50 +00:00
Miguel de Icaza c6f96ae004 Update sample to load the Mono configuration file
svn path=/trunk/mono/; revision=50597
2005-09-23 17:42:03 +00:00
Sebastien Pouliot 15d731b20a Project files for embedded samples
svn path=/trunk/mono/; revision=45050
2005-05-26 14:59:06 +00:00
Sebastien Pouliot f165dd9a47 Allow compilation using VS.NET
svn path=/trunk/mono/; revision=42352
2005-03-29 18:35:21 +00:00
Paolo Molaro 11f7e37369 Cleanup examples (removed extra thread execution).
svn path=/trunk/mono/; revision=38700
2005-01-11 14:58:27 +00:00
Paolo Molaro e9969921c0 More embedding samples.
svn path=/trunk/mono/; revision=30034
2004-06-21 13:32:25 +00:00
Paolo Molaro 0e43f1677e Test with metadata-related API sample usage.
svn path=/trunk/mono/; revision=29943
2004-06-19 15:10:45 +00:00
Bernie Solomon db0a332144 2003-12-22 Bernie Solomon <[email protected]>
* samples/embed/testi.c: interpreter embedding example

svn path=/trunk/mono/; revision=21443
2003-12-23 03:49:13 +00:00
Gonzalo Paniagua Javier 1a453b2403 Fixed compilation of sample
svn path=/trunk/mono/; revision=15093
2003-06-04 04:14:52 +00:00
Dick Porter 9b5c149aec Run all managed code in a subthread. Re-enable GC threaded finalisation.
Fixes bugs 34263 and 31333.

(All tests still behave the same way - 4 fails)

2003-01-23  Dick Porter  <[email protected]>

	* threads.c (start_wrapper): Create a Thread object if needed, so
	the Main() thread can do the class initialisation in a subthread
	that has been set up to allow managed code execution.

	Pass the thread ID instead of the MonoThread pointer to the thread
	start and attach callbacks.  This change is required, because the
	jit thread start callback must be called _before_ the Thread
	object can be created.

	(mono_thread_init): Removed much object creation code that is no
	longer needed.  No managed code is called from here now.

	* object.c (mono_runtime_exec_managed_code): Create a subthread
	for Main, and call back to the runtime to use it.
	Set the exit code when Main exits.

	* gc.c: Make sure domain finalisation happens in a subthread.
	Re-enable threaded GC, fixing bug 31333 (again).

	* environment.c: System.Environment internall calls (so far just
	ExitCode is here, the others are still in icall.c)

	* appdomain.c (mono_runtime_cleanup): All threads running managed
	code should have finished before mono_runtime_cleanup() is
	reached, so no need to clean up threads.


2003-01-23  Dick Porter  <[email protected]>

	* mono.c: Use mono_runtime_exec_managed_code() to run all managed
	code in a subthread.

	* jit.c: Changed thread start and attach callbacks to pass the
	thread ID, not the MonoThread pointer.  Arrange that managed code
	execution will fail an assertion in the main thread, just to be
	sure.


2003-01-23  Dick Porter  <[email protected]>

	* interp.c: Use mono_runtime_exec_managed_code() to run all
	managed code in a subthread.

svn path=/trunk/mono/; revision=10838
2003-01-23 17:46:26 +00:00
Miguel de Icaza b30ff30988 Update sample
svn path=/trunk/mono/; revision=8008
2002-10-05 19:50:44 +00:00
Miguel de Icaza a567b08ca0 sample fix
svn path=/trunk/mono/; revision=5990
2002-07-21 21:50:27 +00:00
Paolo Molaro b51a4fac45 Mono embedding sample.
svn path=/trunk/mono/; revision=5938
2002-07-19 17:24:56 +00:00