diff options
author | Jacek Antonelli | 2009-08-29 17:44:38 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-08-29 22:49:51 -0500 |
commit | 6a5aab98892df74f60743f5b789959c9593d6647 (patch) | |
tree | 62da18f8540879ed01e12eeb0ce49375474272e4 /linden/indra/newview/llfloaterhtmlhelp.cpp | |
parent | Merge branch 'mac-openal-url' into next (diff) | |
parent | Converted 1.23 XUI files to unix line endings. (diff) | |
download | meta-impy-6a5aab98892df74f60743f5b789959c9593d6647.zip meta-impy-6a5aab98892df74f60743f5b789959c9593d6647.tar.gz meta-impy-6a5aab98892df74f60743f5b789959c9593d6647.tar.bz2 meta-impy-6a5aab98892df74f60743f5b789959c9593d6647.tar.xz |
Merged SL 1.23.4 into Imprudence.
Conflicts:
linden/doc/contributions.txt
linden/indra/CMakeLists.txt
linden/indra/cmake/APR.cmake
linden/indra/cmake/CopyWinLibs.cmake
linden/indra/cmake/OPENAL.cmake
linden/indra/develop.py
linden/indra/llaudio/audioengine.cpp
linden/indra/llcommon/indra_constants.h
linden/indra/llcommon/llversionviewer.h
linden/indra/llcrashlogger/llcrashlogger.cpp
linden/indra/llmedia/llmediaimplgstreamer.cpp
linden/indra/llmedia/llmediaimplgstreamer.h
linden/indra/llmedia/llmediaimplgstreamer_syms.cpp
linden/indra/llmedia/llmediaimplgstreamer_syms.h
linden/indra/llmedia/llmediaimplgstreamer_syms_raw.inc
linden/indra/llmedia/llmediamanager.cpp
linden/indra/llmessage/llassetstorage.cpp
linden/indra/llui/lltexteditor.cpp
linden/indra/llvfs/lldir.cpp
linden/indra/newview/CMakeLists.txt
linden/indra/newview/English.lproj/InfoPlist.strings
linden/indra/newview/Info-Imprudence.plist
linden/indra/newview/app_settings/logcontrol.xml
linden/indra/newview/app_settings/settings.xml
linden/indra/newview/installers/windows/installer_template.nsi
linden/indra/newview/llagent.cpp
linden/indra/newview/llappviewer.cpp
linden/indra/newview/llcallingcard.cpp
linden/indra/newview/llfilepicker.cpp
linden/indra/newview/llfloateractivespeakers.cpp
linden/indra/newview/llfloateravatarpicker.cpp
linden/indra/newview/llfloaterbulkpermission.cpp
linden/indra/newview/llfloaterbulkpermission.h
linden/indra/newview/llfloaterchat.cpp
linden/indra/newview/llfloatergodtools.cpp
linden/indra/newview/llfloaterhtmlhelp.cpp
linden/indra/newview/llfloatertools.cpp
linden/indra/newview/llfloatertools.h
linden/indra/newview/llfloatertopobjects.cpp
linden/indra/newview/llinventorybridge.cpp
linden/indra/newview/llinventoryview.cpp
linden/indra/newview/llnetmap.cpp
linden/indra/newview/llnetmap.h
linden/indra/newview/llpanelland.cpp
linden/indra/newview/llpanellogin.cpp
linden/indra/newview/llpanelobject.cpp
linden/indra/newview/llprefsim.cpp
linden/indra/newview/lltexturecache.cpp
linden/indra/newview/lltoolbrush.cpp
linden/indra/newview/llvieweraudio.cpp
linden/indra/newview/llviewermenu.cpp
linden/indra/newview/llviewermessage.cpp
linden/indra/newview/llviewerparcelmedia.cpp
linden/indra/newview/llvoavatar.cpp
linden/indra/newview/llwebbrowserctrl.cpp
linden/indra/newview/llworldmapview.cpp
linden/indra/newview/pipeline.cpp
linden/indra/newview/res/viewerRes.rc
linden/indra/newview/skins/default/colors_base.xml
linden/indra/newview/skins/default/xui/de/floater_active_speakers.xml
linden/indra/newview/skins/default/xui/de/floater_instant_message_ad_hoc.xml
linden/indra/newview/skins/default/xui/de/floater_instant_message_group.xml
linden/indra/newview/skins/default/xui/de/floater_joystick.xml
linden/indra/newview/skins/default/xui/de/floater_mute_object.xml
linden/indra/newview/skins/default/xui/de/floater_sim_release_message.xml
linden/indra/newview/skins/default/xui/de/panel_media_controls.xml
linden/indra/newview/skins/default/xui/de/panel_preferences_voice.xml
linden/indra/newview/skins/default/xui/de/strings.xml
linden/indra/newview/skins/default/xui/de/teleport_strings.xml
linden/indra/newview/skins/default/xui/en-us/alerts.xml
linden/indra/newview/skins/default/xui/en-us/floater_about_land.xml
linden/indra/newview/skins/default/xui/en-us/floater_avatar_picker.xml
linden/indra/newview/skins/default/xui/en-us/floater_beacons.xml
linden/indra/newview/skins/default/xui/en-us/floater_bulk_perms.xml
linden/indra/newview/skins/default/xui/en-us/floater_buy_land.xml
linden/indra/newview/skins/default/xui/en-us/floater_chatterbox.xml
linden/indra/newview/skins/default/xui/en-us/floater_inventory_view_finder.xml
linden/indra/newview/skins/default/xui/en-us/floater_media_browser.xml
linden/indra/newview/skins/default/xui/en-us/floater_mini_map.xml
linden/indra/newview/skins/default/xui/en-us/floater_tools.xml
linden/indra/newview/skins/default/xui/en-us/menu_login.xml
linden/indra/newview/skins/default/xui/en-us/menu_mini_map.xml
linden/indra/newview/skins/default/xui/en-us/menu_pie_attachment.xml
linden/indra/newview/skins/default/xui/en-us/menu_pie_avatar.xml
linden/indra/newview/skins/default/xui/en-us/menu_pie_object.xml
linden/indra/newview/skins/default/xui/en-us/menu_pie_self.xml
linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml
linden/indra/newview/skins/default/xui/en-us/notify.xml
linden/indra/newview/skins/default/xui/en-us/panel_bars.xml
linden/indra/newview/skins/default/xui/en-us/panel_groups.xml
linden/indra/newview/skins/default/xui/en-us/panel_media_controls.xml
linden/indra/newview/skins/default/xui/en-us/panel_mini_map.xml
linden/indra/newview/skins/default/xui/en-us/panel_preferences_im.xml
linden/indra/newview/skins/default/xui/en-us/panel_preferences_input.xml
linden/indra/newview/skins/default/xui/en-us/panel_preferences_voice.xml
linden/indra/newview/skins/default/xui/en-us/strings.xml
linden/indra/newview/skins/default/xui/es/alerts.xml
linden/indra/newview/skins/default/xui/es/floater_about.xml
linden/indra/newview/skins/default/xui/es/floater_about_land.xml
linden/indra/newview/skins/default/xui/es/floater_animation_preview.xml
linden/indra/newview/skins/default/xui/es/floater_auction.xml
linden/indra/newview/skins/default/xui/es/floater_avatar_picker.xml
linden/indra/newview/skins/default/xui/es/floater_avatar_textures.xml
linden/indra/newview/skins/default/xui/es/floater_build_options.xml
linden/indra/newview/skins/default/xui/es/floater_bumps.xml
linden/indra/newview/skins/default/xui/es/floater_buy_contents.xml
linden/indra/newview/skins/default/xui/es/floater_buy_currency.xml
linden/indra/newview/skins/default/xui/es/floater_buy_land.xml
linden/indra/newview/skins/default/xui/es/floater_buy_object.xml
linden/indra/newview/skins/default/xui/es/floater_chat_history.xml
linden/indra/newview/skins/default/xui/es/floater_choose_group.xml
linden/indra/newview/skins/default/xui/es/floater_clothing.xml
linden/indra/newview/skins/default/xui/es/floater_color_picker.xml
linden/indra/newview/skins/default/xui/es/floater_critical.xml
linden/indra/newview/skins/default/xui/es/floater_customize.xml
linden/indra/newview/skins/default/xui/es/floater_directory.xml
linden/indra/newview/skins/default/xui/es/floater_gesture.xml
linden/indra/newview/skins/default/xui/es/floater_group_info.xml
linden/indra/newview/skins/default/xui/es/floater_html.xml
linden/indra/newview/skins/default/xui/es/floater_im.xml
linden/indra/newview/skins/default/xui/es/floater_image_preview.xml
linden/indra/newview/skins/default/xui/es/floater_import.xml
linden/indra/newview/skins/default/xui/es/floater_instant_message.xml
linden/indra/newview/skins/default/xui/es/floater_inventory.xml
linden/indra/newview/skins/default/xui/es/floater_inventory_item_properties.xml
linden/indra/newview/skins/default/xui/es/floater_inventory_view_finder.xml
linden/indra/newview/skins/default/xui/es/floater_land_holdings.xml
linden/indra/newview/skins/default/xui/es/floater_live_lsleditor.xml
linden/indra/newview/skins/default/xui/es/floater_moveview.xml
linden/indra/newview/skins/default/xui/es/floater_mute.xml
linden/indra/newview/skins/default/xui/es/floater_name_description.xml
linden/indra/newview/skins/default/xui/es/floater_new_im.xml
linden/indra/newview/skins/default/xui/es/floater_new_outfit_dialog.xml
linden/indra/newview/skins/default/xui/es/floater_openobject.xml
linden/indra/newview/skins/default/xui/es/floater_pay.xml
linden/indra/newview/skins/default/xui/es/floater_pay_object.xml
linden/indra/newview/skins/default/xui/es/floater_postcard.xml
linden/indra/newview/skins/default/xui/es/floater_preferences.xml
linden/indra/newview/skins/default/xui/es/floater_preview_animation.xml
linden/indra/newview/skins/default/xui/es/floater_preview_embedded_texture.xml
linden/indra/newview/skins/default/xui/es/floater_preview_gesture.xml
linden/indra/newview/skins/default/xui/es/floater_preview_notecard.xml
linden/indra/newview/skins/default/xui/es/floater_preview_notecard_keep_discard.xml
linden/indra/newview/skins/default/xui/es/floater_preview_sound.xml
linden/indra/newview/skins/default/xui/es/floater_preview_texture.xml
linden/indra/newview/skins/default/xui/es/floater_preview_texture_keep_discard.xml
linden/indra/newview/skins/default/xui/es/floater_price_for_listing.xml
linden/indra/newview/skins/default/xui/es/floater_profile.xml
linden/indra/newview/skins/default/xui/es/floater_report_abuse.xml
linden/indra/newview/skins/default/xui/es/floater_script_debug.xml
linden/indra/newview/skins/default/xui/es/floater_script_ed_panel.xml
linden/indra/newview/skins/default/xui/es/floater_script_preview.xml
linden/indra/newview/skins/default/xui/es/floater_script_queue.xml
linden/indra/newview/skins/default/xui/es/floater_script_search.xml
linden/indra/newview/skins/default/xui/es/floater_sell_land.xml
linden/indra/newview/skins/default/xui/es/floater_settings_debug.xml
linden/indra/newview/skins/default/xui/es/floater_snapshot.xml
linden/indra/newview/skins/default/xui/es/floater_sound_preview.xml
linden/indra/newview/skins/default/xui/es/floater_telehub.xml
linden/indra/newview/skins/default/xui/es/floater_texture_ctrl.xml
linden/indra/newview/skins/default/xui/es/floater_tools.xml
linden/indra/newview/skins/default/xui/es/floater_top_objects.xml
linden/indra/newview/skins/default/xui/es/floater_tos.xml
linden/indra/newview/skins/default/xui/es/floater_wearable_save_as.xml
linden/indra/newview/skins/default/xui/es/floater_world_map.xml
linden/indra/newview/skins/default/xui/es/menu_inventory.xml
linden/indra/newview/skins/default/xui/es/menu_pie_attachment.xml
linden/indra/newview/skins/default/xui/es/menu_pie_avatar.xml
linden/indra/newview/skins/default/xui/es/menu_pie_land.xml
linden/indra/newview/skins/default/xui/es/menu_pie_object.xml
linden/indra/newview/skins/default/xui/es/menu_pie_self.xml
linden/indra/newview/skins/default/xui/es/menu_viewer.xml
linden/indra/newview/skins/default/xui/es/notify.xml
linden/indra/newview/skins/default/xui/es/panel_avatar.xml
linden/indra/newview/skins/default/xui/es/panel_avatar_classified.xml
linden/indra/newview/skins/default/xui/es/panel_avatar_pick.xml
linden/indra/newview/skins/default/xui/es/panel_chat_bar.xml
linden/indra/newview/skins/default/xui/es/panel_classified.xml
linden/indra/newview/skins/default/xui/es/panel_event.xml
linden/indra/newview/skins/default/xui/es/panel_group.xml
linden/indra/newview/skins/default/xui/es/panel_group_finder.xml
linden/indra/newview/skins/default/xui/es/panel_group_general.xml
linden/indra/newview/skins/default/xui/es/panel_group_invite.xml
linden/indra/newview/skins/default/xui/es/panel_group_land_money.xml
linden/indra/newview/skins/default/xui/es/panel_group_notices.xml
linden/indra/newview/skins/default/xui/es/panel_group_roles.xml
linden/indra/newview/skins/default/xui/es/panel_group_voting.xml
linden/indra/newview/skins/default/xui/es/panel_land_covenant.xml
linden/indra/newview/skins/default/xui/es/panel_login.xml
linden/indra/newview/skins/default/xui/es/panel_overlaybar.xml
linden/indra/newview/skins/default/xui/es/panel_place.xml
linden/indra/newview/skins/default/xui/es/panel_place_small.xml
linden/indra/newview/skins/default/xui/es/panel_preferences_audio.xml
linden/indra/newview/skins/default/xui/es/panel_preferences_chat.xml
linden/indra/newview/skins/default/xui/es/panel_preferences_general.xml
linden/indra/newview/skins/default/xui/es/panel_preferences_graphics1.xml
linden/indra/newview/skins/default/xui/es/panel_preferences_im.xml
linden/indra/newview/skins/default/xui/es/panel_preferences_input.xml
linden/indra/newview/skins/default/xui/es/panel_preferences_network.xml
linden/indra/newview/skins/default/xui/es/panel_preferences_popups.xml
linden/indra/newview/skins/default/xui/es/panel_region_covenant.xml
linden/indra/newview/skins/default/xui/es/panel_region_debug.xml
linden/indra/newview/skins/default/xui/es/panel_region_estate.xml
linden/indra/newview/skins/default/xui/es/panel_region_general.xml
linden/indra/newview/skins/default/xui/es/panel_region_terrain.xml
linden/indra/newview/skins/default/xui/es/panel_region_texture.xml
linden/indra/newview/skins/default/xui/es/panel_scrolling_param.xml
linden/indra/newview/skins/default/xui/es/panel_status_bar.xml
linden/indra/newview/skins/default/xui/es/panel_toolbar.xml
linden/indra/newview/skins/default/xui/es/panel_top_pick.xml
linden/indra/newview/skins/default/xui/fr/alerts.xml
linden/indra/newview/skins/default/xui/fr/floater_about.xml
linden/indra/newview/skins/default/xui/fr/floater_about_land.xml
linden/indra/newview/skins/default/xui/fr/floater_avatar_picker.xml
linden/indra/newview/skins/default/xui/fr/floater_avatar_textures.xml
linden/indra/newview/skins/default/xui/fr/floater_beacons.xml
linden/indra/newview/skins/default/xui/fr/floater_buy_contents.xml
linden/indra/newview/skins/default/xui/fr/floater_buy_currency.xml
linden/indra/newview/skins/default/xui/fr/floater_buy_land.xml
linden/indra/newview/skins/default/xui/fr/floater_chat_history.xml
linden/indra/newview/skins/default/xui/fr/floater_clothing.xml
linden/indra/newview/skins/default/xui/fr/floater_customize.xml
linden/indra/newview/skins/default/xui/fr/floater_directory.xml
linden/indra/newview/skins/default/xui/fr/floater_god_tools.xml
linden/indra/newview/skins/default/xui/fr/floater_group_info.xml
linden/indra/newview/skins/default/xui/fr/floater_html.xml
linden/indra/newview/skins/default/xui/fr/floater_im.xml
linden/indra/newview/skins/default/xui/fr/floater_instant_message.xml
linden/indra/newview/skins/default/xui/fr/floater_instant_message_group.xml
linden/indra/newview/skins/default/xui/fr/floater_inventory.xml
linden/indra/newview/skins/default/xui/fr/floater_inventory_view_finder.xml
linden/indra/newview/skins/default/xui/fr/floater_joystick.xml
linden/indra/newview/skins/default/xui/fr/floater_land_holdings.xml
linden/indra/newview/skins/default/xui/fr/floater_live_lsleditor.xml
linden/indra/newview/skins/default/xui/fr/floater_media_browser.xml
linden/indra/newview/skins/default/xui/fr/floater_mem_leaking.xml
linden/indra/newview/skins/default/xui/fr/floater_name_description.xml
linden/indra/newview/skins/default/xui/fr/floater_preview_gesture.xml
linden/indra/newview/skins/default/xui/fr/floater_profile.xml
linden/indra/newview/skins/default/xui/fr/floater_report_abuse.xml
linden/indra/newview/skins/default/xui/fr/floater_script_search.xml
linden/indra/newview/skins/default/xui/fr/floater_sell_land.xml
linden/indra/newview/skins/default/xui/fr/floater_snapshot.xml
linden/indra/newview/skins/default/xui/fr/floater_sound_preview.xml
linden/indra/newview/skins/default/xui/fr/floater_tools.xml
linden/indra/newview/skins/default/xui/fr/floater_top_objects.xml
linden/indra/newview/skins/default/xui/fr/floater_world_map.xml
linden/indra/newview/skins/default/xui/fr/menu_inventory.xml
linden/indra/newview/skins/default/xui/fr/menu_login.xml
linden/indra/newview/skins/default/xui/fr/menu_pie_attachment.xml
linden/indra/newview/skins/default/xui/fr/menu_pie_avatar.xml
linden/indra/newview/skins/default/xui/fr/menu_pie_object.xml
linden/indra/newview/skins/default/xui/fr/menu_viewer.xml
linden/indra/newview/skins/default/xui/fr/notify.xml
linden/indra/newview/skins/default/xui/fr/panel_audio.xml
linden/indra/newview/skins/default/xui/fr/panel_avatar.xml
linden/indra/newview/skins/default/xui/fr/panel_avatar_classified.xml
linden/indra/newview/skins/default/xui/fr/panel_classified.xml
linden/indra/newview/skins/default/xui/fr/panel_event.xml
linden/indra/newview/skins/default/xui/fr/panel_friends.xml
linden/indra/newview/skins/default/xui/fr/panel_group_general.xml
linden/indra/newview/skins/default/xui/fr/panel_group_invite.xml
linden/indra/newview/skins/default/xui/fr/panel_group_land_money.xml
linden/indra/newview/skins/default/xui/fr/panel_group_roles.xml
linden/indra/newview/skins/default/xui/fr/panel_login.xml
linden/indra/newview/skins/default/xui/fr/panel_media_controls.xml
linden/indra/newview/skins/default/xui/fr/panel_media_remote_expanded.xml
linden/indra/newview/skins/default/xui/fr/panel_overlaybar.xml
linden/indra/newview/skins/default/xui/fr/panel_place.xml
linden/indra/newview/skins/default/xui/fr/panel_place_small.xml
linden/indra/newview/skins/default/xui/fr/panel_preferences_audio.xml
linden/indra/newview/skins/default/xui/fr/panel_preferences_general.xml
linden/indra/newview/skins/default/xui/fr/panel_preferences_im.xml
linden/indra/newview/skins/default/xui/fr/panel_preferences_input.xml
linden/indra/newview/skins/default/xui/fr/panel_preferences_network.xml
linden/indra/newview/skins/default/xui/fr/panel_preferences_voice.xml
linden/indra/newview/skins/default/xui/fr/panel_region_covenant.xml
linden/indra/newview/skins/default/xui/fr/panel_region_debug.xml
linden/indra/newview/skins/default/xui/fr/panel_region_general.xml
linden/indra/newview/skins/default/xui/fr/panel_voice_controls.xml
linden/indra/newview/skins/default/xui/fr/role_actions.xml
linden/indra/newview/skins/default/xui/fr/strings.xml
linden/indra/newview/skins/default/xui/fr/teleport_strings.xml
linden/indra/newview/skins/default/xui/ja/floater_active_speakers.xml
linden/indra/newview/skins/default/xui/ja/floater_html.xml
linden/indra/newview/skins/default/xui/ja/floater_instant_message_ad_hoc.xml
linden/indra/newview/skins/default/xui/ja/floater_instant_message_group.xml
linden/indra/newview/skins/default/xui/ja/floater_joystick.xml
linden/indra/newview/skins/default/xui/ja/floater_media_browser.xml
linden/indra/newview/skins/default/xui/ja/floater_windlight_options.xml
linden/indra/newview/skins/default/xui/ja/menu_login.xml
linden/indra/newview/skins/default/xui/ja/panel_friends.xml
linden/indra/newview/skins/default/xui/ja/panel_media_controls.xml
linden/indra/newview/skins/default/xui/ja/panel_media_remote_expanded.xml
linden/indra/newview/skins/default/xui/ja/panel_preferences_voice.xml
linden/indra/newview/skins/default/xui/ja/panel_speaker_controls.xml
linden/indra/newview/skins/default/xui/ja/strings.xml
linden/indra/newview/skins/default/xui/ja/teleport_strings.xml
linden/indra/newview/skins/default/xui/ko/panel_media_controls.xml
linden/indra/newview/skins/default/xui/pt/alerts.xml
linden/indra/newview/skins/default/xui/pt/floater_about.xml
linden/indra/newview/skins/default/xui/pt/floater_about_land.xml
linden/indra/newview/skins/default/xui/pt/floater_active_speakers.xml
linden/indra/newview/skins/default/xui/pt/floater_animation_preview.xml
linden/indra/newview/skins/default/xui/pt/floater_auction.xml
linden/indra/newview/skins/default/xui/pt/floater_avatar_picker.xml
linden/indra/newview/skins/default/xui/pt/floater_avatar_textures.xml
linden/indra/newview/skins/default/xui/pt/floater_beacons.xml
linden/indra/newview/skins/default/xui/pt/floater_build_options.xml
linden/indra/newview/skins/default/xui/pt/floater_bumps.xml
linden/indra/newview/skins/default/xui/pt/floater_buy_contents.xml
linden/indra/newview/skins/default/xui/pt/floater_buy_currency.xml
linden/indra/newview/skins/default/xui/pt/floater_buy_land.xml
linden/indra/newview/skins/default/xui/pt/floater_buy_object.xml
linden/indra/newview/skins/default/xui/pt/floater_chat_history.xml
linden/indra/newview/skins/default/xui/pt/floater_clothing.xml
linden/indra/newview/skins/default/xui/pt/floater_color_picker.xml
linden/indra/newview/skins/default/xui/pt/floater_critical.xml
linden/indra/newview/skins/default/xui/pt/floater_customize.xml
linden/indra/newview/skins/default/xui/pt/floater_day_cycle_options.xml
linden/indra/newview/skins/default/xui/pt/floater_directory.xml
linden/indra/newview/skins/default/xui/pt/floater_env_settings.xml
linden/indra/newview/skins/default/xui/pt/floater_gesture.xml
linden/indra/newview/skins/default/xui/pt/floater_god_tools.xml
linden/indra/newview/skins/default/xui/pt/floater_group_info.xml
linden/indra/newview/skins/default/xui/pt/floater_im.xml
linden/indra/newview/skins/default/xui/pt/floater_image_preview.xml
linden/indra/newview/skins/default/xui/pt/floater_inspect.xml
linden/indra/newview/skins/default/xui/pt/floater_instant_message.xml
linden/indra/newview/skins/default/xui/pt/floater_instant_message_ad_hoc.xml
linden/indra/newview/skins/default/xui/pt/floater_instant_message_group.xml
linden/indra/newview/skins/default/xui/pt/floater_inventory.xml
linden/indra/newview/skins/default/xui/pt/floater_inventory_item_properties.xml
linden/indra/newview/skins/default/xui/pt/floater_inventory_view_finder.xml
linden/indra/newview/skins/default/xui/pt/floater_joystick.xml
linden/indra/newview/skins/default/xui/pt/floater_lagmeter.xml
linden/indra/newview/skins/default/xui/pt/floater_land_holdings.xml
linden/indra/newview/skins/default/xui/pt/floater_landmark_ctrl.xml
linden/indra/newview/skins/default/xui/pt/floater_live_lsleditor.xml
linden/indra/newview/skins/default/xui/pt/floater_lsl_guide.xml
linden/indra/newview/skins/default/xui/pt/floater_media_browser.xml
linden/indra/newview/skins/default/xui/pt/floater_moveview.xml
linden/indra/newview/skins/default/xui/pt/floater_mute.xml
linden/indra/newview/skins/default/xui/pt/floater_mute_object.xml
linden/indra/newview/skins/default/xui/pt/floater_name_description.xml
linden/indra/newview/skins/default/xui/pt/floater_new_outfit_dialog.xml
linden/indra/newview/skins/default/xui/pt/floater_openobject.xml
linden/indra/newview/skins/default/xui/pt/floater_pay.xml
linden/indra/newview/skins/default/xui/pt/floater_postcard.xml
linden/indra/newview/skins/default/xui/pt/floater_preferences.xml
linden/indra/newview/skins/default/xui/pt/floater_preview_animation.xml
linden/indra/newview/skins/default/xui/pt/floater_preview_classified.xml
linden/indra/newview/skins/default/xui/pt/floater_preview_event.xml
linden/indra/newview/skins/default/xui/pt/floater_preview_gesture.xml
linden/indra/newview/skins/default/xui/pt/floater_preview_notecard_keep_discard.xml
linden/indra/newview/skins/default/xui/pt/floater_preview_sound.xml
linden/indra/newview/skins/default/xui/pt/floater_preview_url.xml
linden/indra/newview/skins/default/xui/pt/floater_price_for_listing.xml
linden/indra/newview/skins/default/xui/pt/floater_profile.xml
linden/indra/newview/skins/default/xui/pt/floater_report_abuse.xml
linden/indra/newview/skins/default/xui/pt/floater_script_debug.xml
linden/indra/newview/skins/default/xui/pt/floater_script_queue.xml
linden/indra/newview/skins/default/xui/pt/floater_script_search.xml
linden/indra/newview/skins/default/xui/pt/floater_sell_land.xml
linden/indra/newview/skins/default/xui/pt/floater_settings_debug.xml
linden/indra/newview/skins/default/xui/pt/floater_sim_release_message.xml
linden/indra/newview/skins/default/xui/pt/floater_snapshot.xml
linden/indra/newview/skins/default/xui/pt/floater_sound_preview.xml
linden/indra/newview/skins/default/xui/pt/floater_telehub.xml
linden/indra/newview/skins/default/xui/pt/floater_texture_ctrl.xml
linden/indra/newview/skins/default/xui/pt/floater_tools.xml
linden/indra/newview/skins/default/xui/pt/floater_top_objects.xml
linden/indra/newview/skins/default/xui/pt/floater_tos.xml
linden/indra/newview/skins/default/xui/pt/floater_url_entry.xml
linden/indra/newview/skins/default/xui/pt/floater_water.xml
linden/indra/newview/skins/default/xui/pt/floater_wearable_save_as.xml
linden/indra/newview/skins/default/xui/pt/floater_windlight_options.xml
linden/indra/newview/skins/default/xui/pt/floater_world_map.xml
linden/indra/newview/skins/default/xui/pt/menu_inventory.xml
linden/indra/newview/skins/default/xui/pt/menu_pie_attachment.xml
linden/indra/newview/skins/default/xui/pt/menu_pie_avatar.xml
linden/indra/newview/skins/default/xui/pt/menu_pie_land.xml
linden/indra/newview/skins/default/xui/pt/menu_pie_object.xml
linden/indra/newview/skins/default/xui/pt/menu_viewer.xml
linden/indra/newview/skins/default/xui/pt/notify.xml
linden/indra/newview/skins/default/xui/pt/panel_account_details.xml
linden/indra/newview/skins/default/xui/pt/panel_account_planning.xml
linden/indra/newview/skins/default/xui/pt/panel_account_transactions.xml
linden/indra/newview/skins/default/xui/pt/panel_audio_device.xml
linden/indra/newview/skins/default/xui/pt/panel_avatar.xml
linden/indra/newview/skins/default/xui/pt/panel_avatar_classified.xml
linden/indra/newview/skins/default/xui/pt/panel_avatar_pick.xml
linden/indra/newview/skins/default/xui/pt/panel_chat_bar.xml
linden/indra/newview/skins/default/xui/pt/panel_classified.xml
linden/indra/newview/skins/default/xui/pt/panel_event.xml
linden/indra/newview/skins/default/xui/pt/panel_friends.xml
linden/indra/newview/skins/default/xui/pt/panel_group.xml
linden/indra/newview/skins/default/xui/pt/panel_group_finder.xml
linden/indra/newview/skins/default/xui/pt/panel_group_general.xml
linden/indra/newview/skins/default/xui/pt/panel_group_invite.xml
linden/indra/newview/skins/default/xui/pt/panel_group_land_money.xml
linden/indra/newview/skins/default/xui/pt/panel_group_notices.xml
linden/indra/newview/skins/default/xui/pt/panel_group_roles.xml
linden/indra/newview/skins/default/xui/pt/panel_group_voting.xml
linden/indra/newview/skins/default/xui/pt/panel_land_covenant.xml
linden/indra/newview/skins/default/xui/pt/panel_login.xml
linden/indra/newview/skins/default/xui/pt/panel_overlaybar.xml
linden/indra/newview/skins/default/xui/pt/panel_place.xml
linden/indra/newview/skins/default/xui/pt/panel_place_small.xml
linden/indra/newview/skins/default/xui/pt/panel_preferences_audio.xml
linden/indra/newview/skins/default/xui/pt/panel_preferences_chat.xml
linden/indra/newview/skins/default/xui/pt/panel_preferences_general.xml
linden/indra/newview/skins/default/xui/pt/panel_preferences_graphics1.xml
linden/indra/newview/skins/default/xui/pt/panel_preferences_im.xml
linden/indra/newview/skins/default/xui/pt/panel_preferences_input.xml
linden/indra/newview/skins/default/xui/pt/panel_preferences_network.xml
linden/indra/newview/skins/default/xui/pt/panel_preferences_popups.xml
linden/indra/newview/skins/default/xui/pt/panel_preferences_voice.xml
linden/indra/newview/skins/default/xui/pt/panel_preferences_web.xml
linden/indra/newview/skins/default/xui/pt/panel_region_covenant.xml
linden/indra/newview/skins/default/xui/pt/panel_region_debug.xml
linden/indra/newview/skins/default/xui/pt/panel_region_estate.xml
linden/indra/newview/skins/default/xui/pt/panel_region_general.xml
linden/indra/newview/skins/default/xui/pt/panel_region_terrain.xml
linden/indra/newview/skins/default/xui/pt/panel_region_texture.xml
linden/indra/newview/skins/default/xui/pt/panel_scrolling_param.xml
linden/indra/newview/skins/default/xui/pt/panel_speaker_controls.xml
linden/indra/newview/skins/default/xui/pt/panel_status_bar.xml
linden/indra/newview/skins/default/xui/pt/panel_toolbar.xml
linden/indra/newview/skins/default/xui/pt/panel_top_pick.xml
linden/indra/newview/skins/default/xui/pt/panel_voice_controls.xml
linden/indra/newview/skins/default/xui/pt/panel_voice_enable.xml
linden/indra/newview/skins/default/xui/pt/panel_voice_options.xml
linden/indra/newview/skins/default/xui/pt/strings.xml
linden/indra/newview/skins/default/xui/pt/teleport_strings.xml
linden/indra/newview/skins/default/xui/zh/floater_env_settings.xml
linden/indra/newview/skins/default/xui/zh/floater_instant_message_ad_hoc.xml
linden/indra/newview/skins/default/xui/zh/floater_lagmeter.xml
linden/indra/newview/skins/default/xui/zh/floater_landmark_ctrl.xml
linden/indra/newview/skins/default/xui/zh/floater_post_process.xml
linden/indra/newview/skins/default/xui/zh/floater_settings_debug.xml
linden/indra/newview/skins/default/xui/zh/floater_windlight_options.xml
linden/indra/newview/skins/default/xui/zh/menu_pie_attachment.xml
linden/indra/newview/skins/default/xui/zh/menu_pie_avatar.xml
linden/indra/newview/skins/default/xui/zh/menu_pie_land.xml
linden/indra/newview/skins/default/xui/zh/menu_pie_object.xml
linden/indra/newview/skins/default/xui/zh/menu_viewer.xml
linden/indra/newview/skins/default/xui/zh/panel_avatar.xml
linden/indra/newview/skins/default/xui/zh/panel_friends.xml
linden/indra/newview/skins/default/xui/zh/panel_group_general.xml
linden/indra/newview/skins/default/xui/zh/panel_group_invite.xml
linden/indra/newview/skins/default/xui/zh/panel_group_land_money.xml
linden/indra/newview/skins/default/xui/zh/panel_group_notices.xml
linden/indra/newview/skins/default/xui/zh/panel_group_roles.xml
linden/indra/newview/skins/default/xui/zh/panel_preferences_audio.xml
linden/indra/newview/skins/default/xui/zh/panel_preferences_im.xml
linden/indra/newview/skins/default/xui/zh/panel_region_covenant.xml
linden/indra/newview/skins/default/xui/zh/panel_speaker_controls.xml
linden/indra/newview/skins/default/xui/zh/panel_voice_options.xml
linden/indra/newview/skins/default/xui/zh/strings.xml
linden/indra/newview/skins/silver/colors_base.xml
linden/indra/newview/skins/silver/xui/en-us/floater_about_land.xml
linden/indra/newview/skins/silver/xui/en-us/floater_directory.xml
linden/indra/newview/skins/silver/xui/en-us/floater_tools.xml
linden/indra/newview/skins/silver/xui/en-us/panel_media_controls.xml
linden/indra/newview/viewer_manifest.py
linden/install.xml
Diffstat (limited to 'linden/indra/newview/llfloaterhtmlhelp.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterhtmlhelp.cpp | 326 |
1 files changed, 265 insertions, 61 deletions
diff --git a/linden/indra/newview/llfloaterhtmlhelp.cpp b/linden/indra/newview/llfloaterhtmlhelp.cpp index 4a00a48..9f07e0f 100644 --- a/linden/indra/newview/llfloaterhtmlhelp.cpp +++ b/linden/indra/newview/llfloaterhtmlhelp.cpp | |||
@@ -17,7 +17,8 @@ | |||
17 | * There are special exceptions to the terms and conditions of the GPL as | 17 | * There are special exceptions to the terms and conditions of the GPL as |
18 | * it is applied to this Source Code. View the full text of the exception | 18 | * it is applied to this Source Code. View the full text of the exception |
19 | * in the file doc/FLOSS-exception.txt in this software distribution, or | 19 | * in the file doc/FLOSS-exception.txt in this software distribution, or |
20 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception | 20 | * online at |
21 | * http://secondlifegrid.net/programs/open_source/licensing/flossexception | ||
21 | * | 22 | * |
22 | * By copying, modifying or distributing this software, you acknowledge | 23 | * By copying, modifying or distributing this software, you acknowledge |
23 | * that you have read and understood your obligations described above, | 24 | * that you have read and understood your obligations described above, |
@@ -32,7 +33,10 @@ | |||
32 | #include "llviewerprecompiledheaders.h" | 33 | #include "llviewerprecompiledheaders.h" |
33 | 34 | ||
34 | #include "llfloaterhtmlhelp.h" | 35 | #include "llfloaterhtmlhelp.h" |
36 | #include "llfloaterhtml.h" | ||
35 | 37 | ||
38 | #include "llchat.h" | ||
39 | #include "llfloaterchat.h" | ||
36 | #include "llparcel.h" | 40 | #include "llparcel.h" |
37 | #include "lluictrlfactory.h" | 41 | #include "lluictrlfactory.h" |
38 | #include "llwebbrowserctrl.h" | 42 | #include "llwebbrowserctrl.h" |
@@ -40,6 +44,7 @@ | |||
40 | #include "llviewercontrol.h" | 44 | #include "llviewercontrol.h" |
41 | #include "llviewerparcelmgr.h" | 45 | #include "llviewerparcelmgr.h" |
42 | #include "llweb.h" | 46 | #include "llweb.h" |
47 | #include "lltrans.h" | ||
43 | #include "llui.h" | 48 | #include "llui.h" |
44 | #include "roles_constants.h" | 49 | #include "roles_constants.h" |
45 | 50 | ||
@@ -49,13 +54,6 @@ | |||
49 | #include "llviewerparcelmedia.h" | 54 | #include "llviewerparcelmedia.h" |
50 | #include "llcombobox.h" | 55 | #include "llcombobox.h" |
51 | 56 | ||
52 | #include "llchat.h" | ||
53 | #include "lllineeditor.h" | ||
54 | #include "llfloaterchat.h" | ||
55 | #include "lltrans.h" | ||
56 | |||
57 | // static | ||
58 | LLFloaterMediaBrowser* LLFloaterMediaBrowser::sInstance = NULL; | ||
59 | 57 | ||
60 | LLFloaterMediaBrowser::LLFloaterMediaBrowser(const LLSD& media_data) | 58 | LLFloaterMediaBrowser::LLFloaterMediaBrowser(const LLSD& media_data) |
61 | { | 59 | { |
@@ -64,9 +62,7 @@ LLFloaterMediaBrowser::LLFloaterMediaBrowser(const LLSD& media_data) | |||
64 | 62 | ||
65 | void LLFloaterMediaBrowser::draw() | 63 | void LLFloaterMediaBrowser::draw() |
66 | { | 64 | { |
67 | BOOL url_exists = !mAddressCombo->getValue().asString().empty(); | 65 | childSetEnabled("go", !mAddressCombo->getValue().asString().empty()); |
68 | childSetEnabled("go", url_exists); | ||
69 | childSetEnabled("set_home", url_exists); | ||
70 | LLParcel* parcel = LLViewerParcelMgr::getInstance()->getAgentParcel(); | 66 | LLParcel* parcel = LLViewerParcelMgr::getInstance()->getAgentParcel(); |
71 | if(parcel) | 67 | if(parcel) |
72 | { | 68 | { |
@@ -92,8 +88,6 @@ BOOL LLFloaterMediaBrowser::postBuild() | |||
92 | childSetAction("close", onClickClose, this); | 88 | childSetAction("close", onClickClose, this); |
93 | childSetAction("open_browser", onClickOpenWebBrowser, this); | 89 | childSetAction("open_browser", onClickOpenWebBrowser, this); |
94 | childSetAction("assign", onClickAssign, this); | 90 | childSetAction("assign", onClickAssign, this); |
95 | childSetAction("home", onClickHome, this); | ||
96 | childSetAction("set_home", onClickSetHome, this); | ||
97 | 91 | ||
98 | buildURLHistory(); | 92 | buildURLHistory(); |
99 | return TRUE; | 93 | return TRUE; |
@@ -124,7 +118,7 @@ void LLFloaterMediaBrowser::buildURLHistory() | |||
124 | 118 | ||
125 | void LLFloaterMediaBrowser::onClose(bool app_quitting) | 119 | void LLFloaterMediaBrowser::onClose(bool app_quitting) |
126 | { | 120 | { |
127 | //setVisible(FALSE) | 121 | //setVisible(FALSE); |
128 | destroy(); | 122 | destroy(); |
129 | } | 123 | } |
130 | 124 | ||
@@ -156,55 +150,14 @@ void LLFloaterMediaBrowser::onLocationChange( const EventType& eventIn ) | |||
156 | childSetEnabled("back", mBrowser->canNavigateBack()); | 150 | childSetEnabled("back", mBrowser->canNavigateBack()); |
157 | childSetEnabled("forward", mBrowser->canNavigateForward()); | 151 | childSetEnabled("forward", mBrowser->canNavigateForward()); |
158 | childSetEnabled("reload", TRUE); | 152 | childSetEnabled("reload", TRUE); |
159 | gSavedSettings.setString("BrowserLastVisited", truncated_url); | ||
160 | } | 153 | } |
161 | 154 | ||
162 | LLFloaterMediaBrowser* LLFloaterMediaBrowser::showInstance(const LLSD& media_url) | 155 | LLFloaterMediaBrowser* LLFloaterMediaBrowser::showInstance(const LLSD& media_url) |
163 | { | 156 | { |
164 | LLFloaterMediaBrowser* sInstance = LLUISingleton<LLFloaterMediaBrowser, VisibilityPolicy<LLFloater> >::showInstance(media_url); | 157 | LLFloaterMediaBrowser* floaterp = LLUISingleton<LLFloaterMediaBrowser, VisibilityPolicy<LLFloater> >::showInstance(media_url); |
165 | |||
166 | sInstance->openMedia(media_url.asString()); | ||
167 | return sInstance; | ||
168 | } | ||
169 | |||
170 | //static | ||
171 | void LLFloaterMediaBrowser::toggle() | ||
172 | { | ||
173 | bool visible = LLFloaterMediaBrowser::instanceVisible(); | ||
174 | LLFloaterMediaBrowser* self = sInstance->getInstance(); | ||
175 | |||
176 | if(visible && self) | ||
177 | { | ||
178 | self->close(); | ||
179 | } | ||
180 | else | ||
181 | { | ||
182 | //Show home url if new session, last visited if not | ||
183 | std::string last_url = gSavedSettings.getString("BrowserLastVisited"); | ||
184 | if(last_url.empty()) | ||
185 | last_url = gSavedSettings.getString("BrowserHome"); | ||
186 | showInstance(last_url); | ||
187 | } | ||
188 | } | ||
189 | 158 | ||
190 | //static | 159 | floaterp->openMedia(media_url.asString()); |
191 | void LLFloaterMediaBrowser::helpF1() | 160 | return floaterp; |
192 | { | ||
193 | std::string url = gSavedSettings.getString("HelpSupportURL"); | ||
194 | std::string* url_copy = new std::string(url); | ||
195 | |||
196 | gViewerWindow->alertXml("ClickOpenF1Help", onClickF1HelpLoadURL, url_copy); | ||
197 | } | ||
198 | |||
199 | // static | ||
200 | void LLFloaterMediaBrowser::onClickF1HelpLoadURL(S32 option, void* userdata) | ||
201 | { | ||
202 | std::string* urlp = (std::string*)userdata; | ||
203 | if (0 == option) | ||
204 | { | ||
205 | showInstance(urlp->c_str()); | ||
206 | } | ||
207 | delete urlp; | ||
208 | } | 161 | } |
209 | 162 | ||
210 | //static | 163 | //static |
@@ -285,8 +238,211 @@ void LLFloaterMediaBrowser::onClickAssign(void* user_data) | |||
285 | LLViewerParcelMgr::getInstance()->sendParcelPropertiesUpdate( parcel, true ); | 238 | LLViewerParcelMgr::getInstance()->sendParcelPropertiesUpdate( parcel, true ); |
286 | // now check for video | 239 | // now check for video |
287 | LLViewerParcelMedia::update( parcel ); | 240 | LLViewerParcelMedia::update( parcel ); |
241 | |||
242 | |||
288 | } | 243 | } |
289 | 244 | ||
245 | void LLFloaterMediaBrowser::openMedia(const std::string& media_url) | ||
246 | { | ||
247 | mBrowser->setHomePageUrl(media_url); | ||
248 | mBrowser->navigateTo(media_url); | ||
249 | } | ||
250 | |||
251 | LLViewerHtmlHelp gViewerHtmlHelp; | ||
252 | |||
253 | class LLFloaterHtmlHelp : | ||
254 | public LLFloater, | ||
255 | public LLWebBrowserCtrlObserver | ||
256 | { | ||
257 | public: | ||
258 | LLFloaterHtmlHelp(std::string start_url, std::string title); | ||
259 | virtual ~LLFloaterHtmlHelp(); | ||
260 | |||
261 | virtual void onClose( bool app_quitting ); | ||
262 | virtual void draw(); | ||
263 | |||
264 | static void show(std::string url, std::string title); | ||
265 | static void onClickBack( void* data ); | ||
266 | static void onClickHome( void* data ); | ||
267 | static void onClickForward( void* data ); | ||
268 | static void onClickClose( void* data ); | ||
269 | |||
270 | // browser observer impls | ||
271 | virtual void onStatusTextChange( const EventType& eventIn ); | ||
272 | virtual void onLocationChange( const EventType& eventIn ); | ||
273 | |||
274 | // used for some stats logging - will be removed at some point | ||
275 | static BOOL sFloaterOpened; | ||
276 | |||
277 | static bool onClickF1HelpLoadURL(const LLSD& notification, const LLSD& response); | ||
278 | |||
279 | protected: | ||
280 | LLWebBrowserCtrl* mWebBrowser; | ||
281 | static LLFloaterHtmlHelp* sInstance; | ||
282 | LLButton* mBackButton; | ||
283 | LLButton* mForwardButton; | ||
284 | LLButton* mCloseButton; | ||
285 | LLTextBox* mStatusText; | ||
286 | std::string mStatusTextContents; | ||
287 | std::string mCurrentUrl; | ||
288 | std::string mSupportUrl; | ||
289 | }; | ||
290 | |||
291 | LLFloaterHtmlHelp* LLFloaterHtmlHelp::sInstance = 0; | ||
292 | |||
293 | BOOL LLFloaterHtmlHelp::sFloaterOpened = FALSE; | ||
294 | |||
295 | //////////////////////////////////////////////////////////////////////////////// | ||
296 | // | ||
297 | LLFloaterHtmlHelp::LLFloaterHtmlHelp(std::string start_url, std::string title) | ||
298 | : LLFloater( std::string("HTML Help") ), | ||
299 | mWebBrowser( 0 ), | ||
300 | mStatusTextContents( LLStringUtil::null ), | ||
301 | mCurrentUrl( LLStringUtil::null ) | ||
302 | { | ||
303 | sInstance = this; | ||
304 | |||
305 | // create floater from its XML definition | ||
306 | LLUICtrlFactory::getInstance()->buildFloater( this, "floater_html_help.xml" ); | ||
307 | |||
308 | childSetAction("back_btn", onClickBack, this); | ||
309 | childSetAction("home_btn", onClickHome, this); | ||
310 | childSetAction("forward_btn", onClickForward, this); | ||
311 | |||
312 | if (!title.empty()) | ||
313 | { | ||
314 | setTitle(title); | ||
315 | } | ||
316 | |||
317 | mWebBrowser = getChild<LLWebBrowserCtrl>("html_help_browser" ); | ||
318 | if ( mWebBrowser ) | ||
319 | { | ||
320 | // observe browser control events | ||
321 | mWebBrowser->addObserver( this ); | ||
322 | |||
323 | if (start_url != "") | ||
324 | { | ||
325 | mWebBrowser->navigateTo( start_url ); | ||
326 | } | ||
327 | else | ||
328 | { | ||
329 | // if the last page we were at before the client was closed is valid, go there and | ||
330 | // override what is in the XML file | ||
331 | // (not when the window was closed - it's only ever hidden - not closed) | ||
332 | std::string lastPageUrl = gSavedSettings.getString( "HtmlHelpLastPage" ); | ||
333 | if ( lastPageUrl != "" ) | ||
334 | { | ||
335 | mWebBrowser->navigateTo( lastPageUrl ); | ||
336 | }; | ||
337 | } | ||
338 | }; | ||
339 | } | ||
340 | |||
341 | //////////////////////////////////////////////////////////////////////////////// | ||
342 | // | ||
343 | LLFloaterHtmlHelp::~LLFloaterHtmlHelp() | ||
344 | { | ||
345 | // stop observing browser events | ||
346 | if ( mWebBrowser ) | ||
347 | { | ||
348 | mWebBrowser->remObserver( this ); | ||
349 | }; | ||
350 | |||
351 | // save position of floater | ||
352 | gSavedSettings.setRect( "HtmlHelpRect", getRect() ); | ||
353 | |||
354 | // save the location we were at when SL closed | ||
355 | gSavedSettings.setString( "HtmlHelpLastPage", mCurrentUrl ); | ||
356 | |||
357 | sInstance = 0; | ||
358 | } | ||
359 | |||
360 | //////////////////////////////////////////////////////////////////////////////// | ||
361 | // virtual | ||
362 | void LLFloaterHtmlHelp::draw() | ||
363 | { | ||
364 | // enable/disable buttons depending on state | ||
365 | if ( mWebBrowser ) | ||
366 | { | ||
367 | bool enable_back = mWebBrowser->canNavigateBack(); | ||
368 | childSetEnabled( "back_btn", enable_back ); | ||
369 | |||
370 | bool enable_forward = mWebBrowser->canNavigateForward(); | ||
371 | childSetEnabled( "forward_btn", enable_forward ); | ||
372 | }; | ||
373 | |||
374 | LLFloater::draw(); | ||
375 | } | ||
376 | |||
377 | //////////////////////////////////////////////////////////////////////////////// | ||
378 | // | ||
379 | void LLFloaterHtmlHelp::show(std::string url, std::string title) | ||
380 | { | ||
381 | LLFloaterHtml* floater_html = LLFloaterHtml::getInstance(); | ||
382 | floater_html->setVisible(FALSE); | ||
383 | |||
384 | if (url.empty()) | ||
385 | { | ||
386 | url = floater_html->getSupportUrl(); | ||
387 | } | ||
388 | |||
389 | if (gSavedSettings.getBOOL("UseExternalBrowser")) | ||
390 | { | ||
391 | LLSD payload; | ||
392 | payload["url"] = url; | ||
393 | |||
394 | LLNotifications::instance().add("ClickOpenF1Help", LLSD(), payload, onClickF1HelpLoadURL); | ||
395 | } | ||
396 | else | ||
397 | { | ||
398 | // don't wait, just do it | ||
399 | LLWeb::loadURL(url); | ||
400 | } | ||
401 | } | ||
402 | |||
403 | // static | ||
404 | bool LLFloaterHtmlHelp::onClickF1HelpLoadURL(const LLSD& notification, const LLSD& response) | ||
405 | { | ||
406 | S32 option = LLNotification::getSelectedOption(notification, response); | ||
407 | if (option == 0) | ||
408 | { | ||
409 | LLWeb::loadURL(notification["payload"]["url"].asString()); | ||
410 | } | ||
411 | return false; | ||
412 | } | ||
413 | |||
414 | //////////////////////////////////////////////////////////////////////////////// | ||
415 | // | ||
416 | void LLFloaterHtmlHelp::onClose( bool app_quitting ) | ||
417 | { | ||
418 | setVisible( false ); | ||
419 | } | ||
420 | |||
421 | //////////////////////////////////////////////////////////////////////////////// | ||
422 | // | ||
423 | void LLFloaterHtmlHelp::onClickClose( void* data ) | ||
424 | { | ||
425 | LLFloaterHtmlHelp* self = ( LLFloaterHtmlHelp* )data; | ||
426 | |||
427 | self->setVisible( false ); | ||
428 | } | ||
429 | |||
430 | //////////////////////////////////////////////////////////////////////////////// | ||
431 | // | ||
432 | void LLFloaterHtmlHelp::onClickBack( void* data ) | ||
433 | { | ||
434 | LLFloaterHtmlHelp* self = ( LLFloaterHtmlHelp* )data; | ||
435 | if ( self ) | ||
436 | { | ||
437 | if ( self->mWebBrowser ) | ||
438 | { | ||
439 | self->mWebBrowser->navigateBack(); | ||
440 | }; | ||
441 | }; | ||
442 | } | ||
443 | |||
444 | //////////////////////////////////////////////////////////////////////////////// | ||
445 | // | ||
290 | void LLFloaterMediaBrowser::onClickHome(void* user_data) | 446 | void LLFloaterMediaBrowser::onClickHome(void* user_data) |
291 | { | 447 | { |
292 | LLFloaterMediaBrowser* self = (LLFloaterMediaBrowser*)user_data; | 448 | LLFloaterMediaBrowser* self = (LLFloaterMediaBrowser*)user_data; |
@@ -315,8 +471,56 @@ void LLFloaterMediaBrowser::onClickSetHome(void* user_data) | |||
315 | } | 471 | } |
316 | } | 472 | } |
317 | 473 | ||
318 | void LLFloaterMediaBrowser::openMedia(const std::string& media_url) | 474 | //////////////////////////////////////////////////////////////////////////////// |
475 | // | ||
476 | void LLFloaterHtmlHelp::onClickForward( void* data ) | ||
319 | { | 477 | { |
320 | mBrowser->setHomePageUrl(media_url); | 478 | LLFloaterHtmlHelp* self = ( LLFloaterHtmlHelp* )data; |
321 | mBrowser->navigateTo(media_url); | 479 | if ( self ) |
480 | { | ||
481 | if ( self->mWebBrowser ) | ||
482 | { | ||
483 | self->mWebBrowser->navigateForward(); | ||
484 | }; | ||
485 | }; | ||
486 | } | ||
487 | |||
488 | //////////////////////////////////////////////////////////////////////////////// | ||
489 | // | ||
490 | void LLFloaterHtmlHelp::onStatusTextChange( const EventType& eventIn ) | ||
491 | { | ||
492 | mStatusTextContents = std::string( eventIn.getStringValue() ); | ||
493 | |||
494 | childSetText("status_text", mStatusTextContents); | ||
495 | } | ||
496 | |||
497 | //////////////////////////////////////////////////////////////////////////////// | ||
498 | // | ||
499 | void LLFloaterHtmlHelp::onLocationChange( const EventType& eventIn ) | ||
500 | { | ||
501 | llinfos << "MOZ> Location changed to " << eventIn.getStringValue() << llendl; | ||
502 | mCurrentUrl = std::string( eventIn.getStringValue() ); | ||
503 | } | ||
504 | |||
505 | //////////////////////////////////////////////////////////////////////////////// | ||
506 | // | ||
507 | LLViewerHtmlHelp::LLViewerHtmlHelp() | ||
508 | { | ||
509 | LLUI::setHtmlHelp(this); | ||
510 | } | ||
511 | |||
512 | LLViewerHtmlHelp::~LLViewerHtmlHelp() | ||
513 | { | ||
514 | LLUI::setHtmlHelp(NULL); | ||
515 | } | ||
516 | |||
517 | void LLViewerHtmlHelp::show() | ||
518 | { | ||
519 | LLFloaterHtmlHelp::show("", ""); | ||
520 | } | ||
521 | |||
522 | void LLViewerHtmlHelp::show(std::string url) | ||
523 | { | ||
524 | std::string title; // empty | ||
525 | LLFloaterHtmlHelp::show(url, title); | ||
322 | } | 526 | } |