Gunnar Beutner
|
79bf945868
|
Implement calling Python functions.
|
2013-02-16 07:49:36 +01:00 |
Gunnar Beutner
|
172938b19d
|
Bugfix: Unlock thread mutex while waiting for events.
|
2013-02-16 07:27:45 +01:00 |
Gunnar Beutner
|
d0481ea578
|
Remove support for type hints.
|
2013-02-15 18:35:40 +01:00 |
Gunnar Beutner
|
4998563a74
|
Implemented calling ScriptFunctions from Python.
|
2013-02-15 16:34:33 +01:00 |
Gunnar Beutner
|
a022be9de2
|
Implemented Value::GetType().
|
2013-02-15 14:39:26 +01:00 |
Gunnar Beutner
|
3ee1dbc94c
|
Implement event for registering/unregistering script functions.
Fixes #3704
|
2013-02-15 10:10:41 +01:00 |
Gunnar Beutner
|
2e7e0c6473
|
Make ScriptFunction::GetFunctions() public.
|
2013-02-15 09:59:04 +01:00 |
Gunnar Beutner
|
4e03b916ff
|
Bugfix: Set main EventQueue's owner as early as possible.
|
2013-02-15 09:58:38 +01:00 |
Gunnar Beutner
|
023d17c675
|
Implement per-thread event queues.
|
2013-02-15 06:48:30 +01:00 |
Gunnar Beutner
|
2faca52744
|
Bug fixes for script function calls.
|
2013-02-15 05:04:38 +01:00 |
Gunnar Beutner
|
2485a04694
|
Properly shut down the interpreter when the Script object is being destroyed.
|
2013-02-14 19:00:46 +01:00 |
Gunnar Beutner
|
8e672167dc
|
Added missing lock() call.
|
2013-02-14 18:48:31 +01:00 |
Gunnar Beutner
|
8f2ce8e703
|
Implemented rudimentary function call forwarding for ScriptInterpreter objects.
|
2013-02-14 16:47:36 +01:00 |
Gunnar Beutner
|
d3928a7e69
|
Pass argc and argv to the Python interpreter.
|
2013-02-14 16:18:58 +01:00 |
Gunnar Beutner
|
d4afb4087d
|
Properly shut down instances of the ScriptInterpreter class.
|
2013-02-14 15:39:53 +01:00 |
Gunnar Beutner
|
74b122d430
|
Implemented the 'Script' type.
|
2013-02-14 14:58:26 +01:00 |
Gunnar Beutner
|
7fac5b454e
|
Basic support for other scripting languages.
|
2013-02-14 12:02:02 +01:00 |
Gunnar Beutner
|
099821ce07
|
Windows build fix.
|
2013-02-14 10:59:01 +01:00 |
Gunnar Beutner
|
c91191e701
|
Implement global mutex (for use by scripting languages).
|
2013-02-14 10:55:47 +01:00 |
Gunnar Beutner
|
49576d3a82
|
Use #if rather than #ifdef to check HAVE_* macros.
|
2013-02-14 10:55:15 +01:00 |
Gunnar Beutner
|
9412b2be35
|
Use -fvisibility=hidden when it's available.
|
2013-02-14 10:53:34 +01:00 |
Gunnar Beutner
|
f4d8791424
|
Fixed parameters for pipe2() call.
|
2013-02-13 21:05:58 +01:00 |
Gunnar Beutner
|
1d807d91bc
|
Implemented dictionary support for commands.
|
2013-02-13 20:08:09 +01:00 |
Gunnar Beutner
|
cf094fe4b3
|
Bugfix: the main task fd must not be non-blocking.
|
2013-02-13 15:41:14 +01:00 |
Gunnar Beutner
|
26e2da7a7d
|
Refactor the FD_CLOEXEC/O_NONBLOCK code.
|
2013-02-13 13:03:21 +01:00 |
Gunnar Beutner
|
fac2304ae5
|
Fixed incorrect use of F_SETFL.
|
2013-02-13 12:47:51 +01:00 |
Gunnar Beutner
|
4f2021633b
|
Fixed incorrect use of O_CLOEXEC.
|
2013-02-13 12:39:47 +01:00 |
Gunnar Beutner
|
d076bb0a93
|
Fixed another file descriptor leak.
|
2013-02-13 12:34:25 +01:00 |
Gunnar Beutner
|
d2650df8b6
|
Cleaned up the Process class.
|
2013-02-13 11:48:19 +01:00 |
Gunnar Beutner
|
d6fcc33be4
|
Refactor the Process class. Remove the Windows implementation for now.
|
2013-02-13 11:39:24 +01:00 |
Gunnar Beutner
|
800750c415
|
Build fix.
|
2013-02-13 07:48:08 +01:00 |
Gunnar Beutner
|
b0d8c40d20
|
Process: repeat read() until we get EAGAIN.
|
2013-02-13 07:39:26 +01:00 |
Gunnar Beutner
|
a80872b314
|
Use pipe2() instead of pipe() when possible.
|
2013-02-13 07:33:14 +01:00 |
Gunnar Beutner
|
2893134940
|
Make Application::ProcessEvents() static.
|
2013-02-13 07:25:36 +01:00 |
Gunnar Beutner
|
cf920cd0f2
|
Wait for child processes before getting new tasks from the list.
|
2013-02-11 23:18:26 +01:00 |
Gunnar Beutner
|
2501ff805a
|
Remove Host::OnInitCompleted and clean up the classes' constructors.
Fixes #3678
|
2013-02-11 14:01:52 +01:00 |
Gunnar Beutner
|
f6f771a3f6
|
Remove support for _DEBUG env var.
Fixes #3688
|
2013-02-11 13:46:02 +01:00 |
Gunnar Beutner
|
5fab16a223
|
Fixed uninitialized variable bug.
|
2013-02-11 06:38:30 +01:00 |
Gunnar Beutner
|
a3f03928d7
|
Process: use read() on *NIX.
|
2013-02-11 00:05:11 +01:00 |
Gunnar Beutner
|
bddd9ebf0b
|
Implemented poll() support for Process tasks.
Fixes #3035
|
2013-02-10 23:31:11 +01:00 |
Gunnar Beutner
|
7ce98ed374
|
Use multiple worker threads for Process tasks.
|
2013-02-10 22:29:42 +01:00 |
Gunnar Beutner
|
aa2322abbb
|
Fixed deadlock in Process::WorkerThreadProc.
|
2013-02-10 21:53:08 +01:00 |
Gunnar Beutner
|
67aef452e5
|
Windows build fix.
|
2013-02-10 19:09:35 +01:00 |
Gunnar Beutner
|
bd80f4597e
|
Windows build fix.
|
2013-02-10 18:57:23 +01:00 |
Gunnar Beutner
|
4e9afd7c2c
|
Build fix V2.
|
2013-02-10 17:44:03 +01:00 |
Gunnar Beutner
|
8667bba7e0
|
Build fix for *NIX systems with a non-GNU libc.
|
2013-02-10 17:15:18 +01:00 |
Gunnar Beutner
|
0e7a3c67ec
|
Bugfixes for the Process class.
|
2013-02-10 12:45:39 +01:00 |
Gunnar Beutner
|
fc6df0ecbd
|
Fixed 1 second delay for child processes.
|
2013-02-10 01:35:40 +01:00 |
Gunnar Beutner
|
ee37e0cace
|
Implemented environment-based macros.
|
2013-02-09 23:02:33 +01:00 |
Gunnar Beutner
|
686191103f
|
Fixed spelling mistake.
|
2013-02-09 18:43:11 +01:00 |