Commit Graph

463 Commits

Author SHA1 Message Date
paulc 9d403bce44 Better handling of quoted strings, added parameter to force quoting.
Added convenience method to retrieve an unquoted string.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2361 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-24 13:42:06 +00:00
marian 56ce66f169 Fixed bug: stop parse window list when a property was found.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2346 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-17 14:23:05 +00:00
marian 0536ff4af7 Now a channel can be answered without making it the active one.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2325 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-11 09:30:19 +00:00
paulc 95e005df49 Operations on an invalid socket cannot be retried.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2311 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-09 23:42:27 +00:00
paulc fae10b7ecd Added abstract Cipher class for encryption related tasks.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2290 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-28 11:36:28 +00:00
paulc 90711d6097 Fixed deadlock when mutex lock count is negative so it aborts out properly.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2287 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-24 13:46:17 +00:00
marian 2ff025e436 Fixed bug: avoid using negative array index.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2286 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-24 12:47:57 +00:00
paulc f863fa716a Constified the internal empty object.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2284 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-22 16:15:20 +00:00
paulc 6e24d52c38 Added static empty instances of ObjList and NamedList.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2280 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-22 13:32:25 +00:00
paulc 60c12fd42e Warn about missing HOME for user files only in client mode.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2267 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-19 16:28:54 +00:00
paulc 6dfd29ed8c Avoid creating the user data directory when just showing usage help.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2260 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-14 21:32:45 +00:00
paulc 97c6ccf207 Added API and command line parameter to change user data directory at runtime.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2259 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-14 20:15:33 +00:00
paulc e23d5cfcda Added a copyParams version that copies all parameters of a NamedList.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2258 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-14 10:15:01 +00:00
marian 3cdaf88017 Fixed sync engine.start with client init.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2253 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-06 13:51:16 +00:00
paulc 2fdb637ec6 Abandon unkillable pthreads instead of forcingly destroying them.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2252 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-06 13:42:27 +00:00
marian 08d0671e90 Removed xmpp.iq message handler from client.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2250 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-06 10:23:58 +00:00
paulc 3f42f160c2 Added client methods for adding or updating multiple table rows from a single parameter list.
Added method to postpone processing of message copies to the UI thread.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2242 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-29 08:22:20 +00:00
marian b2dae7cb22 Added methods used to insert a table row.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2241 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-27 16:39:42 +00:00
paulc 77abc29abe Exponential backoff delay on child respawn, allow system to breathe if Yate keeps crashing or locking up.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2231 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-21 14:43:23 +00:00
paulc e78154d454 Do not exit a soft cancelled thread while trying to acquire a mutex.
Immediately fail the wait of a non mandatory locking if thread is cancelled.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2230 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-20 10:12:00 +00:00
paulc c2570903f4 Moved locked mutex verification to catch all synchronous thread exits.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2229 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-20 06:57:23 +00:00
paulc a04d82e731 Detect as early as possible if a thread is going to exit holding mutexes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2228 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-19 21:15:39 +00:00
marian b3158176d4 Use a protocol list instead of array. Init logic static lists when the client is start running.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2221 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-19 09:55:08 +00:00
marian a97fbedce9 Moved some data from Client to ClientLogic where it belongs.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2220 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-19 08:58:42 +00:00
marian 0ebbf48285 Fixed wrong spelling.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2213 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-18 14:53:42 +00:00
marian 96e346e045 Added spaces in ternary expressions and between operators and operands.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2212 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-18 14:41:30 +00:00
marian 47f4f104c7 Added methods to update (set/add/delete) one or more table row(s) in one operation. Use them where appropriate.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2208 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-18 10:08:02 +00:00
paulc d9bf89c7d3 Make files written by Yate non-executable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2207 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-17 17:08:27 +00:00
paulc 2a36be841a Added methods index() to find index of objects in a list.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2206 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-17 12:22:24 +00:00
marian 74ce0a148a Put a NUL after vsnprintf() buffer (needed only for Windows).
git-svn-id: http://yate.null.ro/svn/yate/trunk@2203 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-16 15:25:26 +00:00
paulc c3135a1b52 Added a static helper method to complete one item, use it where applicable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2202 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-16 13:30:04 +00:00
marian ea4a20a465 Added exiting flag to know when the client GUI application exited the main loop. Drop client channels when before exiting. Don't process proxy thread if the client is exiting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2196 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-11 15:01:01 +00:00
marian 68acb14679 Fixed bug: check pointer before using it!
git-svn-id: http://yate.null.ro/svn/yate/trunk@2195 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-11 09:46:58 +00:00
marian ad5e5d7f3c Added engine.start handler used to notify logics (synchronize engine start with client initialize).
git-svn-id: http://yate.null.ro/svn/yate/trunk@2190 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-08 16:17:00 +00:00
marian c7620ef2e6 Fixed thread sleep time to avoid sleeping 0ms when requested a positive value less then 1000us (Windows only).
git-svn-id: http://yate.null.ro/svn/yate/trunk@2182 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-04 13:30:17 +00:00
marian 386437d97d Fixed bug that was preventing nameless DurationUpdate removal from logic.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2176 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-02 10:38:52 +00:00
marian 62008f0340 Moved some inline virtual methods from header to source file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2175 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-02 10:13:07 +00:00
paulc 9edee27ba6 Added back replacement counter incrementation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2173 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-29 18:46:04 +00:00
paulc 01ab8214bb Removed the very unsafe recursive param replacing, it was never used.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2172 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-29 11:46:26 +00:00
paulc 18086c3444 Fixed caller number in outgoing calls.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2169 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-21 14:47:55 +00:00
marian d59d6d7385 Added option to get a control's rich text. Adjusted method call to match the new list of parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2158 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-14 15:04:55 +00:00
marian fd88bf6b79 Added IM route/execute handlers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2157 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-14 09:58:19 +00:00
paulc 300a9d816e Added the basic IM related messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2147 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-06 17:21:44 +00:00
paulc 380b59f1f6 Merged branches/marian/client up to rev. 2134.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2135 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-04 02:06:00 +00:00
paulc 9b65c8c398 Allow overriding the user config dir name at compile time.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2102 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-25 18:00:04 +00:00
paulc 4e80bf9d0c Config file missing warning can be disabled, use it to silence notices about files that are genuinely missing from a fresh install.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2098 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-25 09:09:12 +00:00
paulc 43b9cf0f81 Added capability to route to "line/..." no matter what protocol it uses.
Added driver method to query the existence of a line, use it in routing.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2073 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-16 09:48:49 +00:00
paulc fbd1c99baf Added method to check if a socket handle is valid for select()ing it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2057 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-10 17:47:49 +00:00
marian a4ac7e7c93 Added channel data to keep the last connected peer id.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2052 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-04 07:51:44 +00:00
marian 6184ff5849 Fixed bug: String descendants are now calling the parent's changed() method to allow the String to update its data.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2049 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-02 14:49:21 +00:00