Commit f0628e98 authored by Sylvain Berfini's avatar Sylvain Berfini :cow:
Browse files

Fixed typos in doc + improved javadoc

parent e5a7686f
master compat/ios_app_5_3 deleteme feature/18-flexiapiclient-auth-token feature/51-vcard-provisioning-fix feature/AEC3 feature/account_manager_services_devices_list feature/added_event_log_deleted_callback feature/address-refactoring feature/allow-raw-mwi-notification feature/android_vibrate_incoming_call_4.5 feature/audio-conference-package feature/authenticated-remote-provisioning feature/basic_auth feature/client_audio_mixer feature/client_video_mixer feature/conference-info-db feature/conference_media_description feature/cpp_threadsafe feature/csharp_doc feature/encrypted_conference feature/ephemeral_participant feature/exhume_one_to_one_chat_rooms_squashed feature/fec feature/fec_adaptation feature/ics_update_improved feature/keep-configuration-tester-51 feature/key_exchange_protocol_identification feature/ldap_failover feature/lime_status_by_uri feature/linphone-account-integration feature/load-static-ms2-plugins feature/local-recorder feature/media_encryption_settings_on_account feature/medialess feature/moving_rootca_update_script_from_jenkins_to_gitlab_ci feature/nix-flake feature/provisioning_header_for_fam1.4 feature/python-wrapper-tests feature/python_wrapper feature/python_wrapper_5.1 feature/python_wrapper_5.3 feature/remote_provisioning_headers feature/rework_ephemeral feature/rfc_9078 feature/screensharing_clean feature/screensharing_packet_router feature/screensharing_signalling feature/support_sfu feature/swift_push_tests_5_1 feature/swift_push_unit_tests feature/test-new-ccmp-deployment feature/test_improvement feature/timeline feature/to-delete-compile-last-wrapper feature/to_string feature/unitTestInCpp feature/validation_account_sent_through_push feature/vcard-contacts-list feature/video_codec_call_params feature/wrap-account-creator-core-functions fix/ECC-for-desktop fix/addEvent_error fix/add_debug_logs fix/android_metered_active_network_check fix/android_window fix/audio_codec_debug fix/audio_lost fix/audio_routes fix/audio_toggle_conf fix/auth_info_finding fix/avconf-crashes fix/backport_50 fix/broadcast_flexisip fix/bugfixes-from-5.1 fix/bundle_mode_fix fix/call_and_bluetooth fix/call_history_after_core_stop fix/call_recovery_in_multi_account_case fix/call_repair fix/call_resumed_with_video_4_5 fix/cancel_via_header fix/chat_lesage_local_address_no_contact fix/chat_test fix/chatroom_const_params fix/check-tests fix/cmake-builder-restore fix/conf_addr_to_addr fix/conf_memory_leaks fix/conf_unschedule_video fix/conference_called_after_joining_5_3 fix/conference_crash fix/conference_leak fix/conference_method_status fix/conference_with_all_listeners fix/conference_without_advanced_im fix/conference_without_bundle_mode fix/copy_message_id_content_operator fix/crash_calllog fix/crash_csrc_changed fix/crash_decline_call fix/crash_multipart_with_empty_plain_text_content fix/crash_terminate fix/crash_test_ios_of_dns fix/crash_tests fix/database fix/db_friend_list_fix fix/default_options fix/delete_sensitive_logs fix/deprecated_methods fix/device_position_53 fix/didUpdatePushCredentials_debug_investigation fix/doc_upload fix/double_invite fix/dtls_default_path fix/empty_authinfo fix/encrypted_chat_subscription_failed fix/enum_swift_wrapper fix/error_feedback_flexiapi fix/extra_audio_route_logs_master fix/factory_c++_regressions fix/fec-find-payload-type-number fix/fixes-from-5.0.10 fix/flexi_api fix/flexiapi_enabling_core_init fix/flexisip-tester-2.3 fix/flexisip_build fix/fold-and-trim-ics fix/force_shared_lib_python_wrapper fix/force_terminate_duplicated_call fix/friend_lists fix/fs_test_crash fix/gcc_14 fix/group_chat fix/h265-glitches fix/ice-test-not-reliable fix/identity-address-performance fix/identity_address_without_gruu fix/import-from-legacy-db fix/improved_custom_header_test fix/ios_foreground_push_incoming_received fix/ios_reactions_notif fix/ios_registerforpush_on_core_start_5_4 fix/ios_shared_core_reactions fix/itc-misuse fix/java_jni_wrapper fix/jni_weak_global_ref_crash fix/json_static fix/jvm_cpp_wrapper_on_android fix/lime_chat_room_left_notify fix/local-permission-detection fix/log_file_updates fix/longer-random-username-tests fix/made_conference_get_state_public fix/magic_search_clone_crash fix/mandatory_encryption fix/master_push fix/media_server_ip fix/message_not_sent_rework fix/mid-warnings fix/no-longer-use-deprecated-findpythoninterp-cmake-module fix/no_ldap_tester fix/no_unregister_if_remote_push_allowed fix/no_unregister_if_remote_push_allowed_5_0 fix/non_last_call_active fix/notify-stats fix/participant_removed fix/participant_video_no_conf_event_pkg fix/pause-player fix/paused_by_remote_no_rtp_timeout_master fix/pdb_5_3 fix/performance_improvements fix/plugin_timeout fix/prack_auth fix/prevent_notifying_same_presence_notify fix/proxy_cfg_contact fix/push_and_accounts_integration fix/push_config_changes_detection fix/python_build_macos fix/python_const_build_warning fix/qt_crash fix/quickfix_52 fix/recorder_desktop fix/relay_ice_candidates_conference_tests fix/remote_address_without_admin_param fix/remote_conference_handler_crash fix/remote_media_changed_notify fix/rewrite-tone-manager fix/ring-category fix/rtt_message fix/screen_jul fix/sdp_direction fix/select-ip fix/set_ptr_to_null_after_unref fix/setlocale_utf8 fix/sip_address_table_creation_refused_utf8mb6_mariadb5.5 fix/slow-tests fix/small_bug_fixes fix/sound_lost_when_resuming_call_after_entering_background fix/squash_commits fix/srtp_key_length fix/startup_restart fix/stream-deletion fix/stream_append fix/subject_not_changed fix/switch_data_sync_to_short_service fix/terminate_file_upload_background_task_with_core fix/test fix/test_flexiapi_backport fix/test_video_file_stream fix/timestamp_windows fix/toggle_video fix/tone-indications fix/tone-manager-crash fix/tone_manager_leak fix/transcient-video-stretching fix/transfer_state fix/tunnel-crash-rtp-transport fix/tunnel_deadlock fix/tunnel_tester fix/unsubscribe_chatroom_on_account_unregister fix/unsubscribe_upon_core_stop fix/update-check fix/update_calllog_remote_address fix/utf8_conf fix/uuid4-generation fix/video_conf_fixes fix/video_refused fix/videoconf_double fix/vp8-threads fix/webrtc-ice fix/win_crash_search fix/window_build_dec24 fix/window_id_creation fix/windows_cast fix/workaround_for_sip_simple_messages_with_bad_to_header fix/wrong_timestamp fix/zrtp_call hotfix/gh_issues_templates_syntax_error hotfix/lime-db-path hotfix/use-negotiated-extension-ids improve/encrypted_chat_multipart_selection release/4.5 release/5.0 release/5.1 release/5.2 release/5.3 release/5.4 test/ansible test/b2bua test/call_no_routes test/flexisip-release-candidate-2-4 test/flexisip_b2bua_h264 test/lime_double_digest_auth_challenge tmp/pq tmp/workaround_missing_tester_log_message_bug tmp/zrtp_stats_make_visible update/test_certificates 5.5.0-alpha 5.4.5 5.4.4 5.4.3 5.4.2 5.4.1 5.4.0 5.4.0-beta 5.4.0-alpha 5.3.107 5.3.106 5.3.105 5.3.104 5.3.103 5.3.102 5.3.101 5.3.100 5.3.99 5.3.97 5.3.96 5.3.95 5.3.94 5.3.93 5.3.92 5.3.91 5.3.90 5.3.89 5.3.88 5.3.87 5.3.86 5.3.85 5.3.84 5.3.83 5.3.81 5.3.79 5.3.78 5.3.77 5.3.76 5.3.75 5.3.74 5.3.73 5.3.72 5.3.71 5.3.70 5.3.69 5.3.68 5.3.67 5.3.66 5.3.65 5.3.64 5.3.63 5.3.62 5.3.61 5.3.60 5.3.59 5.3.58 5.3.57 5.3.56 5.3.55 5.3.54 5.3.53 5.3.52 5.3.51 5.3.50 5.3.49 5.3.48 5.3.46 5.3.45 5.3.44 5.3.43 5.3.42 5.3.41 5.3.40 5.3.39 5.3.38 5.3.37 5.3.36 5.3.35 5.3.34 5.3.33 5.3.32 5.3.30 5.3.29 5.3.28 5.3.27 5.3.26 5.3.25 5.3.24 5.3.23 5.3.22 5.3.21 5.3.19 5.3.18 5.3.17 5.3.16 5.3.15 5.3.14 5.3.13 5.3.12 5.3.11 5.3.10 5.3.9 5.3.8 5.3.7 5.3.6 5.3.5 5.3.4 5.3.3 5.3.2 5.3.1 5.3.0 5.3.0-beta 5.3.0-alpha 5.2.114 5.2.113 5.2.112 5.2.111 5.2.110 5.2.109 5.2.108 5.2.107 5.2.106 5.2.105 5.2.104 5.2.103 5.2.102 5.2.101 5.2.100 5.2.99 5.2.98 5.2.97 5.2.96 5.2.95 5.2.94 5.2.93 5.2.92 5.2.91 5.2.90 5.2.89 5.2.88 5.2.87 5.2.86 5.2.85 5.2.84 5.2.83 5.2.82 5.2.81 5.2.80 5.2.79 5.2.78 5.2.77 5.2.75 5.2.73 5.2.72 5.2.71 5.2.70 5.2.69 5.2.68 5.2.67 5.2.66 5.2.65 5.2.64 5.2.63 5.2.62 5.2.61 5.2.59 5.2.58 5.2.57 5.2.56 5.2.54 5.2.53 5.2.52 5.2.51 5.2.50 5.2.49 5.2.47 5.2.46 5.2.45 5.2.44 5.2.42 5.2.41 5.2.40 5.2.39 5.2.37 5.2.33 5.2.32 5.2.30 5.2.29 5.2.28 5.2.27 5.2.26 5.2.25 5.2.23 5.2.22 5.2.21 5.2.20 5.2.19 5.2.18 5.2.17 5.2.16 5.2.15 5.2.14 5.2.13 5.2.12 5.2.11 5.2.10 5.2.9 5.2.7 5.2.6 5.2.5 5.2.4 5.2.3 5.2.2 5.2.1 5.2.0 5.2.0-beta 5.2.0-alpha 5.1.73 5.1.72 5.1.71 5.1.70 5.1.68 5.1.67 5.1.66 5.1.65 5.1.64 5.1.63 5.1.62 5.1.61 5.1.59 5.1.58 5.1.57 5.1.56 5.1.55 5.1.54 5.1.53 5.1.52 5.1.51 5.1.50 5.1.49 5.1.48 5.1.46 5.1.45 5.1.44 5.1.43 5.1.42 5.1.41 5.1.38 5.1.37 5.1.36 5.1.35 5.1.34 5.1.33 5.1.32 5.1.31 5.1.30 5.1.28 5.1.24 5.1.23 5.1.22 5.1.21 5.1.20 5.1.19 5.1.17 5.1.16 5.1.15 5.1.14 5.1.13 5.1.12 5.1.11 5.1.10 5.1.9 5.1.8 5.1.7 5.1.6 5.1.5 5.1.4 5.1.3 5.1.2 5.1.1 5.1.0 5.1.0-beta 5.1.0-alpha 5.0.71 5.0.70 5.0.69 5.0.68 5.0.67 5.0.66 5.0.65 5.0.64 5.0.63 5.0.62 5.0.61 5.0.60 5.0.59 5.0.58 5.0.57 5.0.56 5.0.55 5.0.53 5.0.52 5.0.51 5.0.50 5.0.49 5.0.47 5.0.46 5.0.45 5.0.44 5.0.43 5.0.42 5.0.41 5.0.40 5.0.39 5.0.38 5.0.37 5.0.36 5.0.35 5.0.34 5.0.32 5.0.31 5.0.30 5.0.29 5.0.28 5.0.27 5.0.26 5.0.25 5.0.24 5.0.23 5.0.22 5.0.21 5.0.19 5.0.18 5.0.17 5.0.16 5.0.15 5.0.14 5.0.13 5.0.12 5.0.11 5.0.10 5.0.8 5.0.6 5.0.5 5.0.3 5.0.1 5.0.0 5.0.0-beta 5.0.0-alpha 4.5.26 4.5.25 4.5.24 4.5.23 4.5.22 4.5.21 4.5.20 4.5.19 4.5.18 4.5.17 4.5.16 4.5.15 4.5.14 4.5.13 4.5.11 4.5.10 4.5.7 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.5.0-beta 4.0.25
1 merge request!1014Fixed typos in doc + improved javadoc
Showing with 86 additions and 73 deletions
...@@ -90,7 +90,7 @@ typedef struct _LinphoneAuthInfo LinphoneAuthInfo; ...@@ -90,7 +90,7 @@ typedef struct _LinphoneAuthInfo LinphoneAuthInfo;
* A SIP address is made of display name, username, domain name, port, and various * A SIP address is made of display name, username, domain name, port, and various
* uri headers (such as tags). It looks like 'Alice <sip:alice@example.net>'. * uri headers (such as tags). It looks like 'Alice <sip:alice@example.net>'.
* *
* You can create an address using linphone_factory_create_address() or linphone_core_interpret_url(), * You can create an address using linphone_factory_create_address() or linphone_core_interpret_url()
* and both will return a NULL object if it doesn't match the grammar defined by the standard. * and both will return a NULL object if it doesn't match the grammar defined by the standard.
* *
* This object is used in almost every other major objects to identity people (including yourself) & servers. * This object is used in almost every other major objects to identity people (including yourself) & servers.
...@@ -133,7 +133,7 @@ typedef struct _LinphoneConferenceCbs LinphoneConferenceCbs; ...@@ -133,7 +133,7 @@ typedef struct _LinphoneConferenceCbs LinphoneConferenceCbs;
* @brief Identifies a member of a #LinphoneConference or #LinphoneChatRoom. * @brief Identifies a member of a #LinphoneConference or #LinphoneChatRoom.
* *
* A participant is identified by it's SIP address. * A participant is identified by it's SIP address.
* It can have many devices, @see #LinphoneParticipantDevice. * It can have many #LinphoneParticipantDevice.
* @ingroup conference * @ingroup conference
*/ */
typedef struct _LinphoneParticipant LinphoneParticipant; typedef struct _LinphoneParticipant LinphoneParticipant;
...@@ -161,7 +161,7 @@ typedef struct _LinphoneParticipantDevice LinphoneParticipantDevice; ...@@ -161,7 +161,7 @@ typedef struct _LinphoneParticipantDevice LinphoneParticipantDevice;
typedef struct _LinphoneParticipantImdnState LinphoneParticipantImdnState; typedef struct _LinphoneParticipantImdnState LinphoneParticipantImdnState;
/** /**
* @brief This object is only used on server side for group chat rooms. * @brief This object is only used on server side for #LinphoneChatRoom with #LinphoneChatRoomBackendFlexisipChat backend.
* @ingroup conference * @ingroup conference
*/ */
typedef struct _LinphoneParticipantDeviceIdentity LinphoneParticipantDeviceIdentity; typedef struct _LinphoneParticipantDeviceIdentity LinphoneParticipantDeviceIdentity;
...@@ -264,7 +264,7 @@ typedef struct _LinphoneAudioDevice LinphoneAudioDevice; ...@@ -264,7 +264,7 @@ typedef struct _LinphoneAudioDevice LinphoneAudioDevice;
* On the receiving side, either use linphone_chat_message_download_content() to download received files or enable auto-download in the #LinphoneCore using * On the receiving side, either use linphone_chat_message_download_content() to download received files or enable auto-download in the #LinphoneCore using
* linphone_core_set_max_size_for_auto_download_incoming_files(), -1 disabling the feature and 0 always downloading files no matter it's size. * linphone_core_set_max_size_for_auto_download_incoming_files(), -1 disabling the feature and 0 always downloading files no matter it's size.
* *
* Keep in mind a #LinphoneChatMessage created by a 'Basic' #LinphoneChatRoom can only contain one #LinphoneContent, either text or file. * Keep in mind a #LinphoneChatMessage created by a #LinphoneChatRoomBackendBasic #LinphoneChatRoom can only contain one #LinphoneContent, either text or file.
* @ingroup chatroom * @ingroup chatroom
*/ */
typedef struct _LinphoneChatMessage LinphoneChatMessage; typedef struct _LinphoneChatMessage LinphoneChatMessage;
...@@ -280,10 +280,10 @@ typedef struct _LinphoneChatMessageCbs LinphoneChatMessageCbs; ...@@ -280,10 +280,10 @@ typedef struct _LinphoneChatMessageCbs LinphoneChatMessageCbs;
* *
* To create (or find) a #LinphoneChatRoom, you first need a #LinphoneChatRoomParams object. * To create (or find) a #LinphoneChatRoom, you first need a #LinphoneChatRoomParams object.
* A chat room is uniquely identified by it's local and remote SIP addresses, meaning you can * A chat room is uniquely identified by it's local and remote SIP addresses, meaning you can
* only have one chat room between two accounts (unless the backend is 'Flexisip'). * only have one chat room between two accounts (unless the backend is #LinphoneChatRoomBackendFlexisipChat).
* Then you can call linphone_core_search_chat_room() or linphone_core_create_chat_room_6(). * Then you can call linphone_core_search_chat_room() or linphone_core_create_chat_room_6().
* *
* Be careful as a 'Flexisip' backend #LinphoneChatRoom will be created asynchronously, so * Be careful as a #LinphoneChatRoomBackendFlexisipChat backend #LinphoneChatRoom will be created asynchronously, so
* make sure you add a #LinphoneChatRoomCbs to the returned object to be notified * make sure you add a #LinphoneChatRoomCbs to the returned object to be notified
* when it will be in state #LinphoneChatRoomStateCreated. * when it will be in state #LinphoneChatRoomStateCreated.
* *
...@@ -301,8 +301,8 @@ typedef struct _LinphoneChatRoom LinphoneChatRoom; ...@@ -301,8 +301,8 @@ typedef struct _LinphoneChatRoom LinphoneChatRoom;
* Can be created with linphone_core_create_default_chat_room_params(). * Can be created with linphone_core_create_default_chat_room_params().
* You can use linphone_chat_room_params_is_valid() to check if your configuration is valid or not. * You can use linphone_chat_room_params_is_valid() to check if your configuration is valid or not.
* *
* If the #LinphoneChatRoom backend is 'Basic', then no other parameter is required, * If the #LinphoneChatRoom backend is #LinphoneChatRoomBackendBasic, then no other parameter is required,
* but #LinphoneChatMessage sent and received won't benefit from all features a 'FlexisipBackend' can offer * but #LinphoneChatMessage sent and received won't benefit from all features a #LinphoneChatRoomBackendFlexisipChat can offer
* like conversation with multiple participants and a subject, end-to-end encryption, ephemeral messages, etc... * like conversation with multiple participants and a subject, end-to-end encryption, ephemeral messages, etc...
* but this type is the only one that can interoperate with other SIP clients or with non-flexisip SIP proxies. * but this type is the only one that can interoperate with other SIP clients or with non-flexisip SIP proxies.
* @ingroup chatroom * @ingroup chatroom
......
...@@ -207,7 +207,7 @@ LINPHONE_PUBLIC LinphoneCallLog * linphone_call_log_ref(LinphoneCallLog *call_lo ...@@ -207,7 +207,7 @@ LINPHONE_PUBLIC LinphoneCallLog * linphone_call_log_ref(LinphoneCallLog *call_lo
LINPHONE_PUBLIC void linphone_call_log_unref(LinphoneCallLog *call_log); LINPHONE_PUBLIC void linphone_call_log_unref(LinphoneCallLog *call_log);
/** /**
* Creates a fake LinphoneCallLog. * Creates a fake #LinphoneCallLog.
* @param core #LinphoneCore object @notnil * @param core #LinphoneCore object @notnil
* @param from #LinphoneAddress of caller @notnil * @param from #LinphoneAddress of caller @notnil
* @param to #LinphoneAddress of callee @notnil * @param to #LinphoneAddress of callee @notnil
......
...@@ -62,7 +62,7 @@ LINPHONE_PUBLIC void linphone_factory_clean(void); ...@@ -62,7 +62,7 @@ LINPHONE_PUBLIC void linphone_factory_clean(void);
* @param system_context A pointer to a system object required by the core to operate. Currently it is required to * @param system_context A pointer to a system object required by the core to operate. Currently it is required to
* pass an android Context on android, pass NULL on other platforms. @maybenil * pass an android Context on android, pass NULL on other platforms. @maybenil
* @return a #LinphoneCore object @notnil * @return a #LinphoneCore object @notnil
* @see linphone_core_new_with_config_3 * @see linphone_core_new_with_config_3()
*/ */
LINPHONE_PUBLIC LinphoneCore *linphone_factory_create_core_3 ( LINPHONE_PUBLIC LinphoneCore *linphone_factory_create_core_3 (
const LinphoneFactory *factory, const LinphoneFactory *factory,
...@@ -101,7 +101,7 @@ LINPHONE_PUBLIC LinphoneCore *linphone_factory_create_core_3 ( ...@@ -101,7 +101,7 @@ LINPHONE_PUBLIC LinphoneCore *linphone_factory_create_core_3 (
* @param app_group_id Name of iOS App Group that lead to the file system that is shared between an app and its app extensions. @notnil * @param app_group_id Name of iOS App Group that lead to the file system that is shared between an app and its app extensions. @notnil
* @param main_core Indicate if we want to create a "Main Core" or an "Executor Core". * @param main_core Indicate if we want to create a "Main Core" or an "Executor Core".
* @return a #LinphoneCore object @notnil * @return a #LinphoneCore object @notnil
* @see linphone_factory_create_shared_core_with_config * @see linphone_factory_create_shared_core_with_config()
*/ */
LINPHONE_PUBLIC LinphoneCore *linphone_factory_create_shared_core ( LINPHONE_PUBLIC LinphoneCore *linphone_factory_create_shared_core (
const LinphoneFactory *factory, const LinphoneFactory *factory,
...@@ -125,7 +125,7 @@ LINPHONE_PUBLIC LinphoneCore *linphone_factory_create_shared_core ( ...@@ -125,7 +125,7 @@ LINPHONE_PUBLIC LinphoneCore *linphone_factory_create_shared_core (
* @param system_context A pointer to a system object required by the core to operate. Currently it is required to * @param system_context A pointer to a system object required by the core to operate. Currently it is required to
* pass an android Context on android, pass NULL on other platforms. @maybenil * pass an android Context on android, pass NULL on other platforms. @maybenil
* @return a #LinphoneCore object @notnil * @return a #LinphoneCore object @notnil
* @see linphone_factory_create_core_3 * @see linphone_factory_create_core_3()
*/ */
LINPHONE_PUBLIC LinphoneCore *linphone_factory_create_core_with_config_3 ( LINPHONE_PUBLIC LinphoneCore *linphone_factory_create_core_with_config_3 (
const LinphoneFactory *factory, const LinphoneFactory *factory,
...@@ -157,7 +157,7 @@ LINPHONE_PUBLIC LinphoneCore *linphone_factory_create_core_with_config_3 ( ...@@ -157,7 +157,7 @@ LINPHONE_PUBLIC LinphoneCore *linphone_factory_create_core_with_config_3 (
* @param app_group_id Name of iOS App Group that lead to the file system that is shared between an app and its app extensions. @notnil * @param app_group_id Name of iOS App Group that lead to the file system that is shared between an app and its app extensions. @notnil
* @param main_core Indicate if we want to create a "Main Core" or an "Executor Core". * @param main_core Indicate if we want to create a "Main Core" or an "Executor Core".
* @return a #LinphoneCore object @notnil * @return a #LinphoneCore object @notnil
* @see linphone_factory_create_shared_core * @see linphone_factory_create_shared_core()
*/ */
LINPHONE_PUBLIC LinphoneCore *linphone_factory_create_shared_core_with_config ( LINPHONE_PUBLIC LinphoneCore *linphone_factory_create_shared_core_with_config (
const LinphoneFactory *factory, const LinphoneFactory *factory,
...@@ -613,7 +613,7 @@ LINPHONE_PUBLIC const char *linphone_factory_get_download_dir(LinphoneFactory *f ...@@ -613,7 +613,7 @@ LINPHONE_PUBLIC const char *linphone_factory_get_download_dir(LinphoneFactory *f
* to store hard-coded preference such as proxy settings or internal preferences. * to store hard-coded preference such as proxy settings or internal preferences.
* The settings in this factory file always override the one in the normal config file. * The settings in this factory file always override the one in the normal config file.
* It is OPTIONAL, use NULL if unneeded. * It is OPTIONAL, use NULL if unneeded.
* @see linphone_core_new_with_config * @see linphone_core_new_with_config()
* @deprecated 2018-01-10: Use linphone_factory_create_core_3() instead * @deprecated 2018-01-10: Use linphone_factory_create_core_3() instead
* @donotwrap * @donotwrap
*/ */
...@@ -643,7 +643,7 @@ LINPHONE_DEPRECATED LINPHONE_PUBLIC LinphoneCore *linphone_factory_create_core( ...@@ -643,7 +643,7 @@ LINPHONE_DEPRECATED LINPHONE_PUBLIC LinphoneCore *linphone_factory_create_core(
* It is OPTIONAL, use NULL if unneeded. * It is OPTIONAL, use NULL if unneeded.
* @param user_data an application pointer associated with the returned core. * @param user_data an application pointer associated with the returned core.
* @param system_context a pointer to a system object required by the core to operate. Currently it is required to pass an android Context on android, pass NULL on other platforms. * @param system_context a pointer to a system object required by the core to operate. Currently it is required to pass an android Context on android, pass NULL on other platforms.
* @see linphone_core_new_with_config * @see linphone_core_new_with_config()
* @deprecated 2018-01-10: Use linphone_factory_create_core_3() instead * @deprecated 2018-01-10: Use linphone_factory_create_core_3() instead
* @donotwrap * @donotwrap
*/ */
...@@ -666,7 +666,7 @@ LINPHONE_DEPRECATED LINPHONE_PUBLIC LinphoneCore *linphone_factory_create_core_2 ...@@ -666,7 +666,7 @@ LINPHONE_DEPRECATED LINPHONE_PUBLIC LinphoneCore *linphone_factory_create_core_2
* will be taken on it until the destruciton of the core or the unregistration * will be taken on it until the destruciton of the core or the unregistration
* with linphone_core_remove_cbs(). * with linphone_core_remove_cbs().
* @param config a pointer to an LpConfig object holding the configuration of the #LinphoneCore to be instantiated. * @param config a pointer to an LpConfig object holding the configuration of the #LinphoneCore to be instantiated.
* @see linphone_core_new * @see linphone_core_new()
* @deprecated 2018-01-10: Use linphone_factory_create_core_with_config_3() instead * @deprecated 2018-01-10: Use linphone_factory_create_core_with_config_3() instead
* @donotwrap * @donotwrap
*/ */
...@@ -688,7 +688,7 @@ LINPHONE_DEPRECATED LINPHONE_PUBLIC LinphoneCore *linphone_factory_create_core_w ...@@ -688,7 +688,7 @@ LINPHONE_DEPRECATED LINPHONE_PUBLIC LinphoneCore *linphone_factory_create_core_w
* @param config a pointer to an LpConfig object holding the configuration of the #LinphoneCore to be instantiated. * @param config a pointer to an LpConfig object holding the configuration of the #LinphoneCore to be instantiated.
* @param user_data an application pointer associated with the returned core. * @param user_data an application pointer associated with the returned core.
* @param system_context a pointer to a system object required by the core to operate. Currently it is required to pass an android Context on android, pass NULL on other platforms. * @param system_context a pointer to a system object required by the core to operate. Currently it is required to pass an android Context on android, pass NULL on other platforms.
* @see linphone_core_new * @see linphone_core_new()
* @deprecated 2018-01-10: Use linphone_factory_create_core_with_config_3() instead * @deprecated 2018-01-10: Use linphone_factory_create_core_with_config_3() instead
* @donotwrap * @donotwrap
*/ */
......
...@@ -38,7 +38,7 @@ extern "C" { ...@@ -38,7 +38,7 @@ extern "C" {
* It supports custom domain, writing into a file as well as several verbosity levels. * It supports custom domain, writing into a file as well as several verbosity levels.
* The #LinphoneLoggingServiceCbs listener allows you to be notified each time a log is printed. * The #LinphoneLoggingServiceCbs listener allows you to be notified each time a log is printed.
* *
* As the #LoggingService is a singleton, use linphone_logging_service_get() to get it. * As the #LinphoneLoggingService is a singleton, use linphone_logging_service_get() to get it.
*/ */
typedef struct _LinphoneLoggingService LinphoneLoggingService; typedef struct _LinphoneLoggingService LinphoneLoggingService;
......
...@@ -52,9 +52,8 @@ ...@@ -52,9 +52,8 @@
typedef struct _LinphoneProxyConfig LinphoneProxyConfig; typedef struct _LinphoneProxyConfig LinphoneProxyConfig;
/** /**
* @brief The object used to configure an account on a server via XML-RPC. * @brief The object used to configure an account on a server via XML-RPC,
* * see @link https://wiki.linphone.org/xwiki/wiki/public/view/Lib/Features/Override%20account%20creator%20request/
* @see https://wiki.linphone.org/xwiki/wiki/public/view/Lib/Features/Override%20account%20creator%20request/
* @ingroup account_creator * @ingroup account_creator
**/ **/
typedef struct _LinphoneAccountCreator LinphoneAccountCreator; typedef struct _LinphoneAccountCreator LinphoneAccountCreator;
...@@ -271,10 +270,10 @@ typedef struct _LinphoneFriend LinphoneFriend; ...@@ -271,10 +270,10 @@ typedef struct _LinphoneFriend LinphoneFriend;
* @ingroup buddy_list * @ingroup buddy_list
**/ **/
typedef enum _LinphoneFriendCapability { typedef enum _LinphoneFriendCapability {
LinphoneFriendCapabilityNone = 0, /** No capabilities populated */ LinphoneFriendCapabilityNone = 0, /**< No capabilities populated */
LinphoneFriendCapabilityGroupChat = 1 << 0, /** This friend can be invited in a Flexisip backend #LinphoneChatRoom */ LinphoneFriendCapabilityGroupChat = 1 << 0, /**< This friend can be invited in a Flexisip backend #LinphoneChatRoom */
LinphoneFriendCapabilityLimeX3dh = 1 << 1, /** This friend can be invited in a Flexisip backend end-to-end encrypted #LinphoneChatRoom */ LinphoneFriendCapabilityLimeX3dh = 1 << 1, /**< This friend can be invited in a Flexisip backend end-to-end encrypted #LinphoneChatRoom */
LinphoneFriendCapabilityEphemeralMessages = 1 << 2 /** This friend is able to delete ephemeral messages once they have expired */ LinphoneFriendCapabilityEphemeralMessages = 1 << 2 /**< This friend is able to delete ephemeral messages once they have expired */
} LinphoneFriendCapability; } LinphoneFriendCapability;
/** /**
...@@ -296,9 +295,9 @@ typedef struct _LinphoneFriendListCbs LinphoneFriendListCbs; ...@@ -296,9 +295,9 @@ typedef struct _LinphoneFriendListCbs LinphoneFriendListCbs;
* @ingroup buddy_list * @ingroup buddy_list
**/ **/
typedef enum _LinphoneFriendListStatus { typedef enum _LinphoneFriendListStatus {
LinphoneFriendListOK, /** Operation went fine */ LinphoneFriendListOK, /**< Operation went fine */
LinphoneFriendListNonExistentFriend, /** #LinphoneFriend wasn't found in the #LinphoneFriendList */ LinphoneFriendListNonExistentFriend, /**< #LinphoneFriend wasn't found in the #LinphoneFriendList */
LinphoneFriendListInvalidFriend /** #LinphoneFriend is already present in a #LinphoneFriendList */ LinphoneFriendListInvalidFriend /**< #LinphoneFriend is already present in a #LinphoneFriendList */
} LinphoneFriendListStatus; } LinphoneFriendListStatus;
/** /**
...@@ -306,9 +305,9 @@ typedef enum _LinphoneFriendListStatus { ...@@ -306,9 +305,9 @@ typedef enum _LinphoneFriendListStatus {
* @ingroup buddy_list * @ingroup buddy_list
*/ */
typedef enum _LinphoneFriendListSyncStatus { typedef enum _LinphoneFriendListSyncStatus {
LinphoneFriendListSyncStarted, /** Synchronization started */ LinphoneFriendListSyncStarted, /**< Synchronization started */
LinphoneFriendListSyncSuccessful, /** Synchronization finished successfuly */ LinphoneFriendListSyncSuccessful, /**< Synchronization finished successfuly */
LinphoneFriendListSyncFailure /** Synchronization failed */ LinphoneFriendListSyncFailure /**< Synchronization failed */
} LinphoneFriendListSyncStatus; } LinphoneFriendListSyncStatus;
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
...@@ -389,7 +388,7 @@ typedef enum _LinphoneRegistrationState { ...@@ -389,7 +388,7 @@ typedef enum _LinphoneRegistrationState {
* @brief Main object to instanciate and on which to keep a reference. * @brief Main object to instanciate and on which to keep a reference.
* *
* This object is the first object to instanciante, and will allow you to perform all kind of tasks. * This object is the first object to instanciante, and will allow you to perform all kind of tasks.
* To create it, use either #linphone_factory_create_core3() or linphone_factory_create_core_with_config_3(), * To create it, use either linphone_factory_create_core_3() or linphone_factory_create_core_with_config_3(),
* see #LinphoneConfig for more information about factory and default config. * see #LinphoneConfig for more information about factory and default config.
* On some platforms like Android or iOS you will need to give it the Context of your application. * On some platforms like Android or iOS you will need to give it the Context of your application.
* *
...@@ -1134,7 +1133,7 @@ typedef enum _LinphoneUpnpState { ...@@ -1134,7 +1133,7 @@ typedef enum _LinphoneUpnpState {
} LinphoneUpnpState; } LinphoneUpnpState;
/** /**
* @brief The #LinphoneVcard object. * @brief Object storing contact information using vCard 4.0 format.
* @ingroup carddav_vcard * @ingroup carddav_vcard
*/ */
typedef struct _LinphoneVcard LinphoneVcard; typedef struct _LinphoneVcard LinphoneVcard;
......
...@@ -499,10 +499,15 @@ class Translator: ...@@ -499,10 +499,15 @@ class Translator:
while len(line) > width: while len(line) > width:
cutIndex = line.rfind(' ', 0, width) cutIndex = line.rfind(' ', 0, width)
if cutIndex != -1: if cutIndex != -1:
if self.langCode == 'Java':
# Do not break a line in the middle of a { }
while (not line[0:cutIndex].count('{') == line[0:cutIndex].count('}')) and (not line[cutIndex:].count('{') == line[cutIndex:].count('}')):
cutIndex += 1
lines.append(line[0:cutIndex]) lines.append(line[0:cutIndex])
line = line[cutIndex+1:] line = line[cutIndex+1:]
else: else:
cutIndex = width # Don't break http links
cutIndex = len(line) if ('http://' or 'https://') in line else width
lines.append(line[0:cutIndex]) lines.append(line[0:cutIndex])
line = line[cutIndex:] line = line[cutIndex:]
lines.append(line) lines.append(line)
...@@ -557,17 +562,17 @@ class JavaDocTranslator(DoxygenTranslator): ...@@ -557,17 +562,17 @@ class JavaDocTranslator(DoxygenTranslator):
pass pass
def translate_class_reference(self, ref, **kargs): def translate_class_reference(self, ref, **kargs):
if not isinstance(ref.relatedObject, (abstractapi.Class, abstractapi.Enum)): if not isinstance(ref.relatedObject, (abstractapi.Class, abstractapi.Enum, abstractapi.Interface)):
raise ReferenceTranslationError(ref.cname) raise ReferenceTranslationError(ref.cname)
return '{@link ' + Translator.translate_reference(self, ref) + '}' return '{@link ' + Translator.translate_reference(self, ref) + '}'
def _translate_section(self, section): def _translate_section(self, section):
if section.kind == 'see': if section.kind == 'see':
return 'See also: {0}'.format(self._translate_paragraph(section.paragraph)) return 'see: {0}'.format(self._translate_paragraph(section.paragraph))
if section.kind == 'note': if section.kind == 'note':
return 'Note: {0}'.format(self._translate_paragraph(section.paragraph)) return 'note: {0}'.format(self._translate_paragraph(section.paragraph))
if section.kind == 'warning': if section.kind == 'warning':
return 'Warning: {0}'.format(self._translate_paragraph(section.paragraph)) return 'warning: {0}'.format(self._translate_paragraph(section.paragraph))
return '@{0} {1}'.format( return '@{0} {1}'.format(
section.kind, section.kind,
...@@ -582,6 +587,15 @@ class JavaDocTranslator(DoxygenTranslator): ...@@ -582,6 +587,15 @@ class JavaDocTranslator(DoxygenTranslator):
methodName = ref.relatedObject.name.translate(self.nameTranslator) methodName = ref.relatedObject.name.translate(self.nameTranslator)
return '{@link ' + className + '#' + methodName + '}' return '{@link ' + className + '#' + methodName + '}'
def _translate_parameter_list(self, parameterList):
text = ''
for paramDesc in parameterList.parameters:
if self.displaySelfParam or not paramDesc.is_self_parameter():
desc = self._translate_description(paramDesc.desc)
desc = desc[0] if len(desc) > 0 else ''
text += ('@param {0} {1}\n'.format(paramDesc.name.translate(self.nameTranslator), desc))
return text
class SwiftDocTranslator(JavaDocTranslator): class SwiftDocTranslator(JavaDocTranslator):
def __init__(self): def __init__(self):
......
...@@ -40,13 +40,13 @@ import org.linphone.mediastream.Version; ...@@ -40,13 +40,13 @@ import org.linphone.mediastream.Version;
/** /**
{{#briefDoc}} {{#briefDoc}}
{{#lines}} {{#lines}}
* {{{line}}} * {{{line}}}<br/>
{{/lines}} {{/lines}}
{{/briefDoc}} {{/briefDoc}}
{{#detailedDoc}} {{#detailedDoc}}
* * <br/>
{{#lines}} {{#lines}}
* {{{line}}} * {{{line}}}<br/>
{{/lines}} {{/lines}}
{{/detailedDoc}} {{/detailedDoc}}
*/ */
...@@ -57,13 +57,13 @@ public {{#isLinphoneFactory}}abstract class{{/isLinphoneFactory}}{{#isNotLinphon ...@@ -57,13 +57,13 @@ public {{#isLinphoneFactory}}abstract class{{/isLinphoneFactory}}{{#isNotLinphon
/** /**
{{#briefDoc}} {{#briefDoc}}
{{#lines}} {{#lines}}
* {{{line}}} * {{{line}}}<br/>
{{/lines}} {{/lines}}
{{/briefDoc}} {{/briefDoc}}
{{#detailedDoc}} {{#detailedDoc}}
* * <br/>
{{#lines}} {{#lines}}
* {{{line}}} * {{{line}}}<br/>
{{/lines}} {{/lines}}
{{/detailedDoc}} {{/detailedDoc}}
*/ */
...@@ -126,13 +126,13 @@ public {{#isLinphoneFactory}}abstract class{{/isLinphoneFactory}}{{#isNotLinphon ...@@ -126,13 +126,13 @@ public {{#isLinphoneFactory}}abstract class{{/isLinphoneFactory}}{{#isNotLinphon
/** /**
{{#briefDoc}} {{#briefDoc}}
{{#lines}} {{#lines}}
* {{{line}}} * {{{line}}}<br/>
{{/lines}} {{/lines}}
{{/briefDoc}} {{/briefDoc}}
{{#detailedDoc}} {{#detailedDoc}}
* * <br/>
{{#lines}} {{#lines}}
* {{{line}}} * {{{line}}}<br/>
{{/lines}} {{/lines}}
{{/detailedDoc}} {{/detailedDoc}}
*/ */
......
...@@ -28,13 +28,13 @@ import {{import}} ...@@ -28,13 +28,13 @@ import {{import}}
/** /**
{{#briefDoc}} {{#briefDoc}}
{{#lines}} {{#lines}}
* {{{line}}} * {{{line}}}<br/>
{{/lines}} {{/lines}}
{{/briefDoc}} {{/briefDoc}}
{{#detailedDoc}} {{#detailedDoc}}
* * <br/>
{{#lines}} {{#lines}}
* {{{line}}} * {{{line}}}<br/>
{{/lines}} {{/lines}}
{{/detailedDoc}} {{/detailedDoc}}
*/ */
...@@ -43,13 +43,13 @@ public enum {{{className}}} { ...@@ -43,13 +43,13 @@ public enum {{{className}}} {
/** /**
{{#briefDoc}} {{#briefDoc}}
{{#lines}} {{#lines}}
* {{{line}}} * {{{line}}}<br/>
{{/lines}} {{/lines}}
{{/briefDoc}} {{/briefDoc}}
{{#detailedDoc}} {{#detailedDoc}}
* * <br/>
{{#lines}} {{#lines}}
* {{{line}}} * {{{line}}}<br/>
{{/lines}} {{/lines}}
{{/detailedDoc}} {{/detailedDoc}}
*/ */
......
...@@ -26,13 +26,13 @@ import {{import}} ...@@ -26,13 +26,13 @@ import {{import}}
/** /**
{{#briefDoc}} {{#briefDoc}}
{{#lines}} {{#lines}}
* {{{line}}} * {{{line}}}<br/>
{{/lines}} {{/lines}}
{{/briefDoc}} {{/briefDoc}}
* * <br/>
{{#detailedDoc}} {{#detailedDoc}}
{{#lines}} {{#lines}}
* {{{line}}} * {{{line}}}<br/>
{{/lines}} {{/lines}}
{{/detailedDoc}} {{/detailedDoc}}
*/ */
...@@ -43,13 +43,13 @@ static public class {{className}} { ...@@ -43,13 +43,13 @@ static public class {{className}} {
/** /**
{{#briefDoc}} {{#briefDoc}}
{{#lines}} {{#lines}}
* {{{line}}} * {{{line}}}<br/>
{{/lines}} {{/lines}}
{{/briefDoc}} {{/briefDoc}}
* * <br/>
{{#detailedDoc}} {{#detailedDoc}}
{{#lines}} {{#lines}}
* {{{line}}} * {{{line}}}<br/>
{{/lines}} {{/lines}}
{{/detailedDoc}} {{/detailedDoc}}
*/ */
......
...@@ -28,13 +28,13 @@ import {{import}} ...@@ -28,13 +28,13 @@ import {{import}}
/** /**
{{#briefDoc}} {{#briefDoc}}
{{#lines}} {{#lines}}
* {{{line}}} * {{{line}}}<br/>
{{/lines}} {{/lines}}
{{/briefDoc}} {{/briefDoc}}
{{#detailedDoc}} {{#detailedDoc}}
* * <br/>
{{#lines}} {{#lines}}
* {{{line}}} * {{{line}}}<br/>
{{/lines}} {{/lines}}
{{/detailedDoc}} {{/detailedDoc}}
*/ */
...@@ -43,13 +43,13 @@ public interface {{className}} { ...@@ -43,13 +43,13 @@ public interface {{className}} {
/** /**
{{#briefDoc}} {{#briefDoc}}
{{#lines}} {{#lines}}
* {{{line}}} * {{{line}}}<br/>
{{/lines}} {{/lines}}
{{/briefDoc}} {{/briefDoc}}
{{#detailedDoc}} {{#detailedDoc}}
* * <br/>
{{#lines}} {{#lines}}
* {{{line}}} * {{{line}}}<br/>
{{/lines}} {{/lines}}
{{/detailedDoc}} {{/detailedDoc}}
*/ */
......
/** /**
* <a href="http://www.linphone.org">Liblinphone</a> is a high-level open source library that integrates all the SIP voice/video and instant messaging features into a single easy-to-use API.</br> * <a href="http://www.linphone.org">Liblinphone</a> is a high-level open source library that integrates all the SIP voice/video and instant messaging features into a single easy-to-use API.<br/>
* This is the VoIP SDK engine on which Linphone applications are based.</br> * This is the VoIP SDK engine on which Linphone applications are based.<br/>
* </br> * <br/>
* Liblinphone combines our media processing and streaming toolkit (Mediastreamer2) with our user-agent library for SIP signaling (belle-sip).</br> * Liblinphone combines our media processing and streaming toolkit (Mediastreamer2) with our user-agent library for SIP signaling (belle-sip).<br/>
* Liblinphone has support for a variety of languages, each one has its own reference documentation:</br> * Liblinphone has support for a variety of languages, each one has its own reference documentation:<br/>
* <ul> * <ul>
* <li><a href="https://linphone.org/{{directory}}/docs/liblinphone/{{version}}/c">C</a></li> * <li><a href="https://linphone.org/{{directory}}/docs/liblinphone/{{version}}/c">C</a></li>
* <li><a href="https://linphone.org/{{directory}}/docs/liblinphone/{{version}}/c++">C++</a></li> * <li><a href="https://linphone.org/{{directory}}/docs/liblinphone/{{version}}/c++">C++</a></li>
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
* <li>C# (coming soon)</li> * <li>C# (coming soon)</li>
* <li>Python (coming soon)</li> * <li>Python (coming soon)</li>
* </ul> * </ul>
* Liblinphone is distributed under <a href="https://www.gnu.org/licenses/gpl-3.0.html">GPLv3</a>. Please understand the licencing details before using it!</br> * Liblinphone is distributed under <a href="https://www.gnu.org/licenses/gpl-3.0.html">GPLv3</a>. Please understand the licencing details before using it!<br/>
* </br> * <br/>
* For any use of this library beyond the rights granted to you by the GPLv3 license, please <a href="https://www.linphone.org/contact">contact Belledonne Communications</a>.</br> * For any use of this library beyond the rights granted to you by the GPLv3 license, please <a href="https://www.linphone.org/contact">contact Belledonne Communications</a>.<br/>
*/ */
package org.linphone.core; package org.linphone.core;
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment