Commit b0256c5e authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Merge branch 'jbonjean'

parents 617f5c9f 6e8baecb
......@@ -9,7 +9,6 @@
*.m4
*.Tpo
Makefile.in
*.spec
/config.*
*.swp
*.so
......
......@@ -67,7 +67,7 @@ typedef struct {
gchar * accountID;
account_state_t state;
gchar * protocol_state_description;
guint * protocol_state_code;
guint protocol_state_code;
GHashTable * properties;
GPtrArray * credential_information;
} account_t;
......
......@@ -1099,7 +1099,7 @@ sflphone_fill_codec_list()
for(pl=codecs; *codecs; codecs++)
{
details = (gchar **)dbus_codec_details(atoi(*codecs));
if(codec_list_get_by_payload(atoi(*codecs))!=NULL){
if(codec_list_get_by_payload((gconstpointer) atoi(*codecs))!=NULL){
// does nothing - the codec is already in the list, so is active.
}
else{
......@@ -1169,7 +1169,7 @@ void sflphone_fill_conference_list(void)
c = g_new0(conference_obj_t, 1);
conf_id = (gchar*)(*conferences);
conference_details = dbus_get_conference_details(conf_id);
conference_details = (GHashTable*) dbus_get_conference_details(conf_id);
create_new_call_from_details (conf_id, conference_details, &c);
c->_confID = g_strdup(conf_id);
......
......@@ -165,7 +165,7 @@ void create_history_entry_from_serialized_form (gchar *timestamp, gchar *details
// details is in serialized form, i e: calltype%to%from%callid
if ((ptr = strtok(details, delim)) != NULL) {
if ((ptr = g_strsplit(details, delim,0)) != NULL) {
do {
switch (token)
{
......@@ -188,7 +188,7 @@ void create_history_entry_from_serialized_form (gchar *timestamp, gchar *details
break;
}
token ++;
} while ((ptr = strtok(NULL, delim)) != NULL);
} while ((ptr = g_strsplit(NULL, delim, 0)) != NULL);
}
if (g_strcasecmp (peer_name, "empty") == 0)
......
......@@ -103,7 +103,7 @@ codec_list_get_by_name( const gchar* name)
}
codec_t*
codec_list_get_by_payload( const int payload)
codec_list_get_by_payload(gconstpointer payload)
{
GList * c = g_queue_find_custom(codecQueue, payload, is_payload_codecstruct);
if(c)
......
......@@ -117,6 +117,6 @@ void codec_list_move_codec_down(guint index);
*/
void codec_list_update_to_daemon();
codec_t* codec_list_get_by_payload( const int payload);
codec_t* codec_list_get_by_payload(gconstpointer payload);
#endif
......@@ -710,7 +710,7 @@ GtkWidget * create_advanced_tab(account_t **a)
GtkTreeIter current_local_address_iter = iter;
gchar ** iface_list = NULL;
iface_list = dbus_get_all_ip_interface();
iface_list = (gchar **)dbus_get_all_ip_interface();
gchar ** iface = NULL;
if (iface_list != NULL) {
......
......@@ -396,11 +396,11 @@ codec_active_toggled(GtkCellRendererToggle *renderer UNUSED, gchar *path, gpoint
// codec_list_get_by_name(name);
if ((g_strcasecmp(name,"speex")==0) && (g_strcasecmp(srate,"8 kHz")==0))
codec = codec_list_get_by_payload(110);
codec = codec_list_get_by_payload((gconstpointer) 110);
else if ((g_strcasecmp(name,"speex")==0) && (g_strcasecmp(srate,"16 kHz")==0))
codec = codec_list_get_by_payload(111);
codec = codec_list_get_by_payload((gconstpointer) 111);
else if ((g_strcasecmp(name,"speex")==0) && (g_strcasecmp(srate,"32 kHz")==0))
codec = codec_list_get_by_payload(112);
codec = codec_list_get_by_payload((gconstpointer) 112);
else
codec = codec_list_get_by_name(name);
......
......@@ -70,7 +70,6 @@ xhdrid:
cp /tmp/id $$f; \
done
prefix = /usr/local
install:
mkdir -p $(DESTDIR)$(prefix)/lib
cp -L $$(find . -name '*.a') $(DESTDIR)$(prefix)/lib
......
......@@ -3668,7 +3668,7 @@ std::vector<std::string> SIPVoIPLink::getAllIpInterface (void)
_debug ("Local interface %s\n", tmpAddr);
}
return ifaceList;
return ifaceList;
}
......
sflphone-client-gnome (0.9.7~karmic) karmic; urgency=low
** 0.9.6 **
* Documentation on echo test
* [redmine_down] codec names not displayed in total
* [redmine_down] crash when hanging up a dialing call because tries to
add it to history whereas no starttime
* [#1927] alternate every time screen changed to call history
* [#1886] clean code
* [#1886] debug messages when loading history removed
* [redmine_down] sflphone-kde icons
* [#1855] Update language files
* [#1502] Update version number
* [redmine_down] setHistory at close
* [#redmine_down] Handle PJ_DECLINE_SC as failure
* [#1923] Fix segmentation fault when adding a new account
* [#1923] Check on iterator before setting the config
* [#1904] Added mnemonic to tabs in sflphone-client-gnome.
* [#1905] The daemon was not sending the currentSelectedCodec signal
on dbus when answering a call.
* [#1922] Default values set to all account details
* [#1886] Spinbox reg expire enables apply, and address book is not
visible when disabled
* [#1905] Bug fix for segmentation fault caused by an empty string,
* [#1910] Warnings in test directory
* [#1919] Error fixed
* [#1855] Update russian translation - Hussein Abdallah
* [#1910] Remove files
* [#1919] fixed
* [#1777] Code indentation
* [#1918] fixed
* [#1917] fixed
* [#1910] Remove warnings compilation in src
* [#1886] removed AccountListModel in configskeleton
* [#1914]
* [#1911] check previous and new port
* [#1910] Remove compilation warnings in src/dbus and src/history
* [#1910] Remove compilation warnings in src/audio
* [1855] Update german translation - Sven Werlen
* [#1909] removed
* [#1906] Done
* [#1904] The registration expire value is now configurable from the
* Cleaned up debug messages.
* [#1886] separated initCallItem in two functions
* [#1886] reversed error in commit
* [#1886] clean debug
* [#1886] changed Name of classes and files
* [#1886] clean
* [#1870] In call_state_cb (dbus.c:126), _time_stop was overridden by
the actual time.
* [#1884] Added some new gpg flags to prevent tty warnings
* [#1886] Clean audio config dialog
* [#1886] No more compile warnings. + 1 comm
* [#1872] Check if the user input is smaller than PJ_MAX_HOSTNAME.
* [#1886]
* [#1785] Fixed build when no new commit
* [#1852] If chosen by the user, the hostname can now be solved and
used
* [#1871] * and # inverted back
* [#1869] Conditional compilation that checks if
* [#1309] removed test in main
* [#1425] Put actions in SFLPhone window class instead of ui view,
made a separate toolbar for screens.
-- SFLphone Automatic Build System <team@sflphone.org> Mon, 27 Jul 2009 09:53:19 -0400
sflphone-client-gnome (0.9.6~rc2-SYSVER) SYSTEM; urgency=low
** 0.9.6~rc2 **
* [#1755] Remove generated file
* [#1753] restore ilbc ...
* [#1866] Methods getSipPort and setSipPort now have an effect on the
* [#1753] make pjsip compile without ilbc. Use ./autogen.sh --disable-
ilbc-codec
* [#1855] Fix error in russian translation
* [#1805] Remove the old flawed signal mechanism which was failing in
* [#1855] Refresh translation
* Spanish translation finished + po README files updated + echo's in
copy-in-clients
* [#1850] Yun made the chinese HK-CN translation
* [#1848] Fix transfer interface bug
* [#1862] At install, kde client installs only french translation file
* [#1841] A new fallback mechanism was added to the internal resolver
in PJSIP.
* Started AccountList model/view
* [#1855] Remove po subdir in Makefile.am
* [#1855] Fix typo error in sflphone-client-gnome
* [#1855] Do not generate Makefile in sflphone-common/po
* [#1855] Copy translation files into both clients dirs
* [#1855] Remove po dir from sflphone-common
* Comments added
* [#1860] mailbox->voicemail...
* make scripts executable
* [#1855] French translation
* [#1855] Chinese zh_HK partially filled...
* [#1859] An unnamed pipe monitored by poll() was added. When we want
to
* [#1855] Sven completed the first part of the german translation
* [#1855] Cantonese manually filled for already translated, almost
equal strings
* [#1855] Merge russian translation
* [#1855] Spanish manually filled for already translated, almost equal
strings
* [#1855] Update german translation in ./lang/de
* [#1858] This problem was fixed by removing a useless line in
* [#1855] merged existing translations in lang/ sflphone.po's
* [#1842] [#1843] An attempt at improving the expected behaviour that
can't
* [#1855] added po folder in gnome client and scripts for copying from
common lang folder to clients
* [#1853] Edit before call does nothing on call history
* Put most language entries possible in common. From 300 to 250
entries. Stays underscores problem. Scripts for copy in clients.
* commit to merge master
* [#1825] Changed "Bad authentification" to "Authentication Failed".
* common po files
* [#1753] Remove ILBC from pjproject
-- SFLphone Automatic Build System <team@sflphone.org> Fri, 17 Jul 2009 19:12:58 -0400
sflphone-client-gnome (0.9.6~rc1-SYSVER) SYSTEM; urgency=low
** 0.9.6~rc1 **
* Update some version number
* [#1792] Creates .sflphone directory with permission 600. Also,
"chmod 600" after
* [#1810] GUI is now notified that the call failed. Also, a segfault
was
* [#1816] Address book search disabled when disabled address book and
enabled it back plus button stays triggered
* codeclistmodel + asynchronous loading of address book +
enable/disable address book
* [#1810] Now checking SDP answer after 200 OK. Still need to
implement full
* [#1794] Can't use the interface during a call
* Updated translation files
* Russian translation integrated
* Codec list model/view started.
* [#1807] Add configure.ac in pjproject-1.0.3
* [#1787] closeRtpSession added in some places where it should have
been
* Use Item class for contacts and accounts
* Comments + clean code
* [#1794] Improved debug messages
* [#1805] Replaced the old and unreliable mecanism that was was
waiting for
* [#1794] Can't use the interface during a call
* [#1787] For those cases where no registered SIP account is
configured
* [#1797] Make pjsip compile
* [#1787] Minor changes. Removed useless commented line. Changed order
of
* [#1777] Code indentation
* [#1797] Update package generation with new pjsip version
* [#1798] Does not hang up when the call is building up
* [#1797] Update .gitignore with new pjsip version
* [#1797] Remove generated files from repo
* [#1797] Main build system now uses pjproject-1.0.3
* [#1797] Add pjproject-1.0.3
* [#1797] Remove pjproject-1.0.2
* [#1796] Computing time optimization (samplerate conversion)
* [#1787] _audiortp->start() moved away from offhold(),
SIPCallAnswered()
* [#1312] Added new states for calls initialized by other clients
* [#1795] Crashes when adding a new account, checking it and applying
* [#1782] Missing icons
* [#1793] KDE client compilation problem
* Fake ringtone files can no longer be set.
* indentation
* [#1312] Able to fetch to differentiate incoming/ringing call state
* [#1784] Use DESTDIR variable in po Makefile - fix language file
installation
* [#1785] Fixed typo
* [#1785] Fixed changelog update
* [#1759] ./autogen.sh --prefix=/usr --with-debug to use optimization
level 0
* [#1773] Changed snapshot naming convention
* [#1773] Removed gpg agent use, added repository cache cleaning
* [#1759] Use optimization level 0 for repository, 2 for packages
* [#1777] Code indentation/formatting
* Translated new features in french
* [#1785] Added missing changelog entry
* [#1781] Window title is SFLPhone
* [#1777] Add code indentation/formatting in the buil system
* [#1774] Can't set voicemail number in KDE account creation wizard
* [#1775] Can't modify account information for account created with
the wizard
* [#1771] Add a "Default" button in context menu to disable chosen
prior account
* [#1705]
* [#1224] Remove generated file from the repo
* [#1224] Remove generated file from the repo
* [#1762] distclean target should remove kconfig generated files
(settings.h, settings.cpp). Rename them?
* [#1761] clear history button should really clear history
* Dialpad works.
* Implemented Dialpad widget instead of building it in main view.
* Removed last occurence of the old config dialog, that made the build
crash.
* [#1755] Do not consider G722 as a dynamic payload elsewhere than in
RTP layer
* [#1753] Remove ilbc Makefile generation
* [#1756] Implement a kde configuration dialog with kconfig xt and
kconfigdialog class
* [#1755] fix audiocodec folder parsing problem
* [#1450] Reinit timestamp comparison in RTP, create session in
newOutgoingCall
* [#1753] Remove milenage third party code from pjsip
* New Config Dialog integrated in GUI.(without codecs)
* [#1753] Remove ILBC codec
* kconfig started, tr2i18n -> i18n, icons folder, accountList changed
* [#1705] Fixed Audio RTP thread creation/start
* [#1714] Fix codec negociation result handling
* [#1678] Fix audiortp payload setting
* [#1678] Put bac putData method in rtp
* [#1669] gtk_file_chooser_get_filename() support UTF-8 by default
* [#1735] Add conditions to sdp update call if call declined
* [#1737] substr of recordings destination folder to remove "file://"
should be done in client rather than in daemon
* [#1731] Enlarge audio stream buffer size
* [#1714] Missing true
* [#1317] Fixed Mandriva timeout
* [#1317] Changed tag convention
* [#1317] Cleaned git-dch
-- SFLphone Automatic Build System <team@sflphone.org> Fri, 10 Jul 2009 15:50:26 -0400
sflphone-client-gnome (0.9.6~beta-SYSVER) SYSTEM; urgency=low
** 0.9.6~beta **
* spec files for mandriva and opensuse updated with buildrequires
libqt4-dev >=4.3
* [#1700] Cannot build on ubuntu 8.10 and a few other distribs
* [#1502] Update version number where applicable
* [#1642] Update client icons
* [#1450] Clean up useless debug and comments in sipvoiplink and
audiortp
* [#1450] Remove Semaphore object in AudioRtp thread deletion
* [#1450] Audio RTP init now synchronized with Sip/SDP
* [#1693] kde client crashes when changing codecs order/activation
* [#1450] Deep refactoring of audiortp
* [#1450] setRtpSessionRemoteIp
* [#1689] getCallList at start
* [#1224] Change path in package files
* [#1450] Audio RTP initialized only once, payload and remote ip set
at runtime
* [#1450] Add setRtpSessionMedia and setRtpSessionRemoteIp address
* [#1642] Make GNOME GUI fresher and younger ;)
* [#1686] Status bar displaying used account
* added sflphone-kde icon so that it compiles
* [#1659] Ending a call causes the daemon to crash
* corrected introspection XMLs, po files...
* [#1211] g722 media descriptor in codecDescriptor
* [#1310] Install sflphoned in $(prefix)/lib/sflphone
* [#1502] Do not install test binaries and dbus utilitaries
* [#1224] hack for pjsip build system!
* [#1224] Remove pjsip binaries from repo
* [#1224] Upgrade to pjsip 1.0.2
* [#1658] About SFLphone (bugs)
* [#1658] About SFLphone
* [#1660] Displaying all dialed numbers in a call
* Tested status bar.
* [#790] Optimize pulse audio streams parameters
* [#1678] Some usefull debug messages for mutex/semaphore deadlock
problem
* [#1669] Add/remove some usefull/unusefull debug
* [#1665] Fix latency related to pulse audio stream openning/closing
* [#1457] Make the menus and panels accessible in french
* [#1457] Improve broken keyboard accessibility in menus and conf
panels
* [#961] Instanciate only once the searchbar icons
* [#961] Restore transfer fonction
* [#961] Filter on the history type OK
* [#961] Fix compilation problems on hardy/intrepid
* [#1157] Commit missing files
* [#790] Reduce number of start/stop streams call on pulse audio
* [#1639] kde client crashes when no account registered
* [#1620] Fix the searchbar
* [#1620] Get back caltree as it was during gtkcritical area
* [#1620] Add history filter reinit function
* [#1335] Add a missing label in address book preferences
* [#1561] Update russian translation - Hussein Abdallah
* [#1605] Fix edit menu french translation
* [#961] Enable to search in the history according to the call type
* [#1449] Searchbar does not work anymore
* [#961] Add popup menu on the entry primary icon for history
* [#1317] Fixed KDE client package dependency
* [#936] speex 32 khz integration completed
* [#936] Use 320 frame size
* [#936] Test using a frame size at 320 smpls
* [#1214] Enable / Disable history
* [#1607] Fix compilation problem for ubuntu 8.10 (libsexy)
* [#1313] Implement processDataEncode processDataDecode in audiortp
* [#1613] codec list order can't be set
* Better handling of localisation + added languages + corrected
warnings + begginning of new config dialog with kconfig + 14px
account leds
* [#1214] Save and load history according to the limit timestamp +
unit tests
* [1609] Fix call number copy/paste feature
* [1607] Restore clear action icon in searchbar
* [#936] Try to decode using 1280 samples
* [#936] Add some debug
* [#936] Add .cpp file
* [#936] Oops Forgot speex 32 khz
* [#1214] Add configuration panel for history + D-Bus calls
* [#1313] Test rtp thread function, frame size, nbbytes, resampling
* [#790] Flush audio data before closing audio streams
* [#1214] History displays local time
* [#1214] Skip empty field on display
* [#1214] Associate an account to an history entry
* [#1342] Get addressbook options sensitive/non-sensitive
* [#1211] Clean up and comments
* [#1211] Get back to 20 ms framesize
* [#1211] Use sendImmediate instead of putData in RTP
* [#1211] Fix nb byte available in RTP
* [#1211] Clear condition on maxNbSamples in RTP
* [#1211] Fix max byte available in RTP session
* [#1211] G722: Use 160 samples per frame instead of 320
* [#1211] Test using a dynamic payload
* [#1211] Test using a dynamic payload type
* [#1211] Rename size variable (nb_samples, nb_bytes)
* [#1211] Test g722 ip-to-ip sending twice the data lenth
* [#1211] Test g722 ip-to-ip
* [#1214] Do not select an history item by default at startup
* [#1214] Remove some compilation warnings
* [#1214] Handle empty field - remove g_print
* [#1214] Add each history item only once
* [#1214] Handle call timestamps properlier
* [#1214] Do not need timestamp files anymore
* [#1214] Use the saved date for history entry
* Clean up
* [#1214] Client doesn't crash if the D-Bus call fails
* [#1214] Client is able to save its history - still some glitches
* [#1211] Forgot 16000 for g722
* [#1211] G722 initialization
* [#1214] Save name/number, successfully load the history if no fields
are empty
* [#1499] Fixed destination directory bug
* [#1214] Restore all the functionalities; peer name/number way more
easy to handle !!
* [#1214] Add callable_object instead of call_t, refactoring
* [#1211] Test with polycom soundstation 16000
* [#1211] Remove C like inline function in g722 codec
* [#1342] Finalize gnome client preference window formating
* [#1214] Retrieve the history when the gnome client startsup
* [#1306] Implement localization for KDE client
* [#1593] enable accounts apply button when account checked/unchecked
* [#1214] Implement the dbus calls on server side
* [#1214] Add serialized/unserialized functions to pass data on DBUS
* [#1342] Formating gnome client configuration windows
* [#1214] Save sucessfully a map of history items
* [#1499] Removed multiple jobs compilation for KDE client (2)
* [#1214] Load history from file into memory, add unit tests
* [#1534] Throws a length_error exception in case URL exceeds
std::string max_size
* [#1499] Removed multiple jobs compilation for KDE client
* [#1565] make account leds smaller
* [1430] Fix dbus debug
* [#1562] crashes when trying to change item of a call of state "OVER"
* [#1116] Fix compilation bug
* [#1317] Added mandriva and opensuse-11 64 bits
* [#1108] Add messges in main window concerning transfer success
failure
* [#1116] Fix compilation problems
* [#1211] g722 Makefile
* [#1108] Client side transferFailed/trasferSucceded signals handling
* [#1211] G722 mostly completed,
* [#1555] make bigger toolbar (24x24)
* [#1551] remove default mailbox number in wizard and disable mailbox
button when first account doesn't have mailbox number
* [#1342] Re-add sflphone manpages
* [#1116] Fix compilation on non-jaunty distros
* [#1317] Fixed opensuse startup sleep
* [#1108] Add a signal in the client to notify successful or failed
transfer
* [#1108] Dbus signals concerning call transfer success/failure
* [#1317] Added opensuse to automatic build system
* [#1223] Fix manpages bug
* [#1060] german translation glitch
* Clean up some gnome client warnings
* [#1547] replace ugly account leds by beautiful icons
* [#1548] add close button that hides windowand just hide on clicking
the cross
* [#1549] put introspec XMLs in the client's source
* [#1312] Implement getCallList D-BUS method
* [#1116] Clear text in history and contacts
* [#1499] KDE integration
* [#1469] Modify header linkers in dbus-c++'s Makefile.am's
* [#1469] Remove examples folder from dbus-c++
* [#1214] History integration in build system; unit test squeleton
* [#1317] Cleaning
* [#1469] Remove configure stuff in dbus-c++
* [#1469] Add unofficial mainline dbus-c++
* [#1469] Remove dbus-c++ from freedesktop
* [#1430] Bring account changed signal/callback back to normal
* [#1060] Update german translation - Sven Werlen
* [#1430] Add marshaller one string define
* [#1430] Send account change signal broadcast using account id
* [#1430] Remove condition on setRegistrationState, cause stun to
crash
* [#1317] Centralized version handling
* [#1317] Fixed version number on sfl-git-dch
* [#1317] Refactoring for new distributions
* [#1215] Fix account order at startup if latency
* [#1088] Restore sip dns srv
* [#1214] Add squeleton for history manager
* [#1430] Add accout id to accout changed method
* [#1430] No connectionStatusNotification (account changed) if no
changes
* [#1538] Add COPYING file
* [#1430] Add audio rtp thread tests
* [#1317] Changed version detection
* [#1538] Document license in libs/stund
* [#1317] Added version files
* [#1538] Apply François patches - debian packages
* [#1317] Updated spec files
* add files
* [#1538] Apply François patches - debian packages
* [#1535] Change program file structure (directory src...)
* [#1317] Updated build system scripts
* [#1317] Cleaning
* [#1317] Copied introspect files to gnome client
* [#1317] Added opensuse to build-system : first-shot
* [#1317] Remove spec files from configure
* [#1317] Added missing prefix
* removed debug for daemon account fix
* [#1430] Add a connection reference which most likely belong to
libdbus
* [#1430] Use shared connection instead of private
* make daemon find the account, added userMatch
* Clean code, add comments...
* [#1317] Fixed packaging rules
* [#1317] Updated autogen
* Updated autogen.sh for pjsip
* [#1526] Set accounts order
* [#1317] Fixed pjsip lib dirs
* [#1317] Updated debian packaging for new pjsip configuration script
* [#1317] Switch to autogenerated guess and sub files
* [#1317] Updated pjsip inclusion in build system
* [#1317] Replaced pjsip guess and sub files
* [#1317] Fixed compilation issues on opensuse 11
* [#1505] account list seem to crash the application when clicking
Apply very fast...
* [#1456] Add a flag to be replaced in the control files
* [#1456] Added version dependancy handling
* put account alias in AccountWidgetItem rather than in the item with
" " before.
* [#1034] The KDE client should start sflphoned if it is not started
* [#1500] Handle options for notifications and display on incoming
call.
* [#1443] Client should not crash when receive an unexpected
stateChanged signal
* [#1403] Do not stop the notification anymore
* [#1456] Added version dependancy handling
* [#1426] Daemon crashes when get alsa plugin
* [#1422] Improved error messages
* commit for merge
* [#1424] Change logo in tray icon and put a different one when
incoming call
* [#1425] first part done, window title...
* [#1413] add manpages creating and installing in build system
* [#1417] The client should start the account creation wizard if
started for the first time (if config file doesn't exist)
* [#1421] Make volume bars horizontal when dialpad is hidden.
* Changed main window title and fixed a mistake in sflphone_const.h
* [#1412] make debian package building work
* changelog changed.
* Changed addAccount method in gnome client.
* Debian and man folders added.
* [#1388] Change project name from sflphone_kde to sflphone-client-kde
* Better handle of kabc check.
* [#1351] Automatic generation of dbus interfaces in makefile
generated by cmake
* [#1307] Implement "edit before call" in history and address book.
* [#1344] change action_call label in call history from "call" to
"call back".
* [#1308] Implement Hook feature in kde client
* Improved build system.
* #1219 : Add address book configuration page
* Better handling of registration to the daemon.
* #1039 : Add tray icon in kde.