marian
25e288711c
Added abstract Compressor class for data (de)compression.
...
git-svn-id: http://voip.null.ro/svn/yate@3423 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-09 10:20:08 +00:00
marian
3aec7db1d8
Removed dangerous (too complex) macro.
...
git-svn-id: http://voip.null.ro/svn/yate@3419 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-06 13:13:00 +00:00
marian
4543a2c55e
Constified static Strings declared in functions to make sure they are safely initialized.
...
git-svn-id: http://voip.null.ro/svn/yate@3418 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-06 12:56:25 +00:00
marian
e60991a22a
Made locally used functions static to avoid namespace pollution.
...
git-svn-id: http://voip.null.ro/svn/yate@3417 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-06 12:20:03 +00:00
paulc
5137a89320
Constified some more Regexps, speeds up URI parsing and fixes compiling in Windows.
...
git-svn-id: http://voip.null.ro/svn/yate@3393 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-21 16:58:26 +00:00
paulc
8c02021eeb
Use static const Regexps wherever possible to speed up code.
...
git-svn-id: http://voip.null.ro/svn/yate@3391 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-17 11:38:46 +00:00
paulc
56a86e22cd
Made the private pointer of Regexp mutable so compile() and matches() can be made const.
...
Part of a patch by Allan Sandfeld Jensen.
git-svn-id: http://voip.null.ro/svn/yate@3390 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-17 11:36:52 +00:00
paulc
98dd09240a
Report the number of threads that are to be cancelled at shutdown.
...
Protect against not cancelling threads if compiling with SOFT_WAITS <= 0.
git-svn-id: http://voip.null.ro/svn/yate@3386 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-16 13:45:54 +00:00
paulc
141bf0e244
Improve shutdown behavior by first soft cancelling all threads and waiting a while for them to exit.
...
Based on a patch by Allan Sandfeld Jensen.
git-svn-id: http://voip.null.ro/svn/yate@3385 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-16 12:23:23 +00:00
paulc
0cdbe20050
Added a broadcast flag to class Message so it can continue dispatching even if one of the handlers returned true.
...
Use the broadcast flag in the messages emitted by the engine.
git-svn-id: http://voip.null.ro/svn/yate@3384 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-16 11:42:52 +00:00
paulc
6b84c12e8c
Added an engine.stop message that modules can use to keep engine running while cleaning up.
...
The engine emits engine.stop every second (but at most 5 times) and shuts down only if the message returned false.
git-svn-id: http://voip.null.ro/svn/yate@3381 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-16 09:05:08 +00:00
paulc
5294671cd4
Engine improvments by Allan Sandfeld Jensen: add the "nodename" parameter to engine generated messages.
...
git-svn-id: http://voip.null.ro/svn/yate@3380 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-16 08:46:47 +00:00
paulc
70b7285b61
Supervisor improvments by Allan Sandfeld Jensen: display child's normal exit code, send SIGABRT to an unresponsive child if -C was used.
...
git-svn-id: http://voip.null.ro/svn/yate@3379 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-16 08:35:42 +00:00
paulc
81ecea7581
Got rid of some long standing conversion warning by providing the proper casts.
...
git-svn-id: http://voip.null.ro/svn/yate@3377 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 18:07:17 +00:00
paulc
1584e08737
Use the sdbm string hashing algorithm from http://www.cse.yorku.ca/~oz/hash.html
...
Patch recommended by Allan Sandfeld Jensen.
git-svn-id: http://voip.null.ro/svn/yate@3372 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 12:29:00 +00:00
paulc
6e23c56d28
Spelling cleanup of a very common error: Retrive -> Retrieve
...
git-svn-id: http://voip.null.ro/svn/yate@3371 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 11:25:10 +00:00
paulc
d9b07638b6
Made a lot of constructors explicit to prevent undesirable automatic conversions.
...
Fixed two undesirable automatic conversions exposed by this change.
git-svn-id: http://voip.null.ro/svn/yate@3366 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-08 15:25:05 +00:00
paulc
b9cdacb68a
Include the node name in the engine status and the default rmanager greeting.
...
git-svn-id: http://voip.null.ro/svn/yate@3352 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-28 17:07:49 +00:00
marian
00bf562482
Added method used to set an element's image.
...
git-svn-id: http://voip.null.ro/svn/yate@3338 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-21 11:43:26 +00:00
marian
eec93babd9
Add existing accounts to menu. Remove an account from menu when deleted.
...
git-svn-id: http://voip.null.ro/svn/yate@3336 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-20 15:15:31 +00:00
marian
ffd01a378c
Added methods used to build and remove menus at runtime.
...
git-svn-id: http://voip.null.ro/svn/yate@3335 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-20 15:14:31 +00:00
marian
9a0c1d2dba
Added client option used to open the account add window on startup if the accounts list is empty. Reset it if the user closes the window before terminating the application.
...
git-svn-id: http://voip.null.ro/svn/yate@3334 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-19 13:26:57 +00:00
marian
94231f9950
Avoid resetting account add/edit window contents if already visible.
...
git-svn-id: http://voip.null.ro/svn/yate@3332 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-19 12:29:04 +00:00
marian
0b7a99032b
Handle 'quit' action in DefaultLogic.
...
git-svn-id: http://voip.null.ro/svn/yate@3331 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-19 11:29:37 +00:00
paulc
16a1bed7d5
Fixed a missing parameter.
...
git-svn-id: http://voip.null.ro/svn/yate@3323 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-13 17:17:42 +00:00
marian
3c1238ca40
Fixed chan.dtmf sending: use the active channel if none specified.
...
git-svn-id: http://voip.null.ro/svn/yate@3318 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-13 13:34:42 +00:00
marian
8ae4a46ef6
DefaultLogic is now waiting for engine start notification to login startup accounts.
...
git-svn-id: http://voip.null.ro/svn/yate@3313 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-12 08:45:40 +00:00
marian
d80a91eb90
Postpone the engine.start message to be processed in the client's thread.
...
git-svn-id: http://voip.null.ro/svn/yate@3312 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-12 08:01:37 +00:00
marian
52ad21d790
Hide account and contact edit windows before exiting.
...
git-svn-id: http://voip.null.ro/svn/yate@3309 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-11 14:45:07 +00:00
marian
26eb5b1917
DefaultLogic is now using an accounts list for accounts and contacts management. Fixed account and contact add/edit bugs. Calls log is now shown using a common table for incoming and outgoing. Fixed DefaultLogic resource.notify and user.roster processing.
...
git-svn-id: http://voip.null.ro/svn/yate@3308 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-11 14:25:41 +00:00
marian
6aa91970b2
Return found configuration section when asked to check or create one.
...
git-svn-id: http://voip.null.ro/svn/yate@3303 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-10 14:02:21 +00:00
marian
dfc47d0649
Use the new version of NamedList::addParam() to avoid adding empty values.
...
git-svn-id: http://voip.null.ro/svn/yate@3282 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-04 11:17:46 +00:00
paulc
114685b22a
Made possible to automatically skip adding an empty value to a NamedList.
...
git-svn-id: http://voip.null.ro/svn/yate@3281 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-04 10:35:52 +00:00
marian
b6958367b2
Make sure the account's resource pointer is always valid.
...
git-svn-id: http://voip.null.ro/svn/yate@3280 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-04 10:22:34 +00:00
paulc
9d0212f010
Added assignment operator for NamedList.
...
git-svn-id: http://voip.null.ro/svn/yate@3278 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-04 10:14:59 +00:00
marian
ab9274e550
The ClientAccountList can now keep an account owning locally stored contacts. Fixed comments.
...
git-svn-id: http://voip.null.ro/svn/yate@3277 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-04 10:00:05 +00:00
marian
41bf946a84
It's now possible to add arbitrary parameters to the call.route message dispatched by an outgoing client channel.
...
git-svn-id: http://voip.null.ro/svn/yate@3251 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-29 08:51:51 +00:00
marian
6272daa183
Added send chat method to contact.
...
git-svn-id: http://voip.null.ro/svn/yate@3218 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-20 08:22:38 +00:00
marian
1e1e9ed5ba
Added extra parameter used to activate the chat window when shown.
...
git-svn-id: http://voip.null.ro/svn/yate@3217 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-20 08:14:22 +00:00
marian
88f6e44001
The client contact is now keeping the resources in descending order of priority.
...
git-svn-id: http://voip.null.ro/svn/yate@3211 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-19 15:07:30 +00:00
marian
c48ee2974d
Added utilities used to build messages sent by the client.
...
git-svn-id: http://voip.null.ro/svn/yate@3208 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-19 12:01:21 +00:00
marian
b39e7a2455
Added user.roster client relay.
...
git-svn-id: http://voip.null.ro/svn/yate@3207 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-19 08:26:22 +00:00
marian
435817559c
Added more status data to client resource.
...
git-svn-id: http://voip.null.ro/svn/yate@3206 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-19 08:02:04 +00:00
marian
0cc5bd1910
Added/changed debug.
...
git-svn-id: http://voip.null.ro/svn/yate@3199 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-16 09:43:11 +00:00
marian
055e8974ec
Set focus to target control after handling a settext action.
...
git-svn-id: http://voip.null.ro/svn/yate@3194 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-14 15:05:28 +00:00
marian
1bf4c6207a
Added 'settext' action handler to default logic.
...
git-svn-id: http://voip.null.ro/svn/yate@3193 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-14 14:32:20 +00:00
marian
6eab2b8c2f
Added support to create/destroy a modal dialog from an UI widget.
...
git-svn-id: http://voip.null.ro/svn/yate@3192 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-14 13:12:25 +00:00
marian
a9028c067d
Lock the debug mutex only if we have something to show.
...
git-svn-id: http://voip.null.ro/svn/yate@3191 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-14 08:59:44 +00:00
paulc
1469b445ca
Added names to codec translator factories to aid in debugging.
...
Try all possible formats when attempting to crate a new chain.
Fixes some missing conversions like speex/32000<->slin.
git-svn-id: http://voip.null.ro/svn/yate@3165 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-02 14:28:27 +00:00
paulc
42d4dded8f
Double the system idle interval when running in client mode, make it adjustable from the config file.
...
git-svn-id: http://voip.null.ro/svn/yate@3163 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-31 09:36:58 +00:00