messaging-app-0.1+14.04.20140410.1/0000755000015301777760000000000012321542175016637 5ustar pbusernogroup00000000000000messaging-app-0.1+14.04.20140410.1/cmake/0000755000015301777760000000000012321542175017717 5ustar pbusernogroup00000000000000messaging-app-0.1+14.04.20140410.1/cmake/modules/0000755000015301777760000000000012321542175021367 5ustar pbusernogroup00000000000000messaging-app-0.1+14.04.20140410.1/cmake/modules/FindLcov.cmake0000644000015301777760000000172012321541564024076 0ustar pbusernogroup00000000000000# - Find lcov # Will define: # # LCOV_EXECUTABLE - the lcov binary # GENHTML_EXECUTABLE - the genhtml executable # # Copyright (C) 2010 by Johannes Wienke # # This program is free software; you can redistribute it # and/or modify it under the terms of the GNU General # Public License as published by the Free Software Foundation; # either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # INCLUDE(FindPackageHandleStandardArgs) FIND_PROGRAM(LCOV_EXECUTABLE lcov) FIND_PROGRAM(GENHTML_EXECUTABLE genhtml) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Lcov DEFAULT_MSG LCOV_EXECUTABLE GENHTML_EXECUTABLE) # only visible in advanced view MARK_AS_ADVANCED(LCOV_EXECUTABLE GENHTML_EXECUTABLE) messaging-app-0.1+14.04.20140410.1/cmake/modules/EnableCoverageReport.cmake0000644000015301777760000001531112321541564026431 0ustar pbusernogroup00000000000000# - Creates a special coverage build type and target on GCC. # # Defines a function ENABLE_COVERAGE_REPORT which generates the coverage target # for selected targets. Optional arguments to this function are used to filter # unwanted results using globbing expressions. Moreover targets with tests for # the source code can be specified to trigger regenerating the report if the # test has changed # # ENABLE_COVERAGE_REPORT(TARGETS target... [FILTER filter...] [TESTS test targets...]) # # To generate a coverage report first build the project with # CMAKE_BUILD_TYPE=coverage, then call make test and afterwards make coverage. # # The coverage report is based on gcov. Depending on the availability of lcov # a HTML report will be generated and/or an XML report of gcovr is found. # The generated coverage target executes all found solutions. Special targets # exist to create e.g. only the xml report: coverage-xml. # # Copyright (C) 2010 by Johannes Wienke # # This program is free software; you can redistribute it # and/or modify it under the terms of the GNU General # Public License as published by the Free Software Foundation; # either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # INCLUDE(ParseArguments) FIND_PACKAGE(Lcov) FIND_PACKAGE(gcovr) FUNCTION(ENABLE_COVERAGE_REPORT) # argument parsing PARSE_ARGUMENTS(ARG "FILTER;TARGETS;TESTS" "" ${ARGN}) SET(COVERAGE_RAW_FILE "${CMAKE_BINARY_DIR}/coverage.raw.info") SET(COVERAGE_FILTERED_FILE "${CMAKE_BINARY_DIR}/coverage.info") SET(COVERAGE_REPORT_DIR "${CMAKE_BINARY_DIR}/coveragereport") SET(COVERAGE_XML_FILE "${CMAKE_BINARY_DIR}/coverage.xml") SET(COVERAGE_XML_COMMAND_FILE "${CMAKE_BINARY_DIR}/coverage-xml.cmake") # decide if there is any tool to create coverage data SET(TOOL_FOUND FALSE) IF(LCOV_FOUND OR GCOVR_FOUND) SET(TOOL_FOUND TRUE) ENDIF() IF(NOT TOOL_FOUND) MESSAGE(STATUS "Cannot enable coverage targets because neither lcov nor gcovr are found.") ENDIF() STRING(TOLOWER "${CMAKE_BUILD_TYPE}" COVERAGE_BUILD_TYPE) IF(CMAKE_COMPILER_IS_GNUCXX AND TOOL_FOUND AND "${COVERAGE_BUILD_TYPE}" MATCHES "coverage") MESSAGE(STATUS "Coverage support enabled for targets: ${ARG_TARGETS}") # create coverage build type SET(CMAKE_CXX_FLAGS_COVERAGE ${CMAKE_CXX_FLAGS_DEBUG} PARENT_SCOPE) SET(CMAKE_C_FLAGS_COVERAGE ${CMAKE_C_FLAGS_DEBUG} PARENT_SCOPE) SET(CMAKE_CONFIGURATION_TYPES ${CMAKE_CONFIGURATION_TYPES} coverage PARENT_SCOPE) # instrument targets SET_TARGET_PROPERTIES(${ARG_TARGETS} PROPERTIES COMPILE_FLAGS --coverage LINK_FLAGS --coverage) # html report IF (LCOV_FOUND) MESSAGE(STATUS "Enabling HTML coverage report") # set up coverage target ADD_CUSTOM_COMMAND(OUTPUT ${COVERAGE_RAW_FILE} COMMAND ${LCOV_EXECUTABLE} -c -d ${CMAKE_BINARY_DIR} -o ${COVERAGE_RAW_FILE} WORKING_DIRECTORY ${CMAKE_BINARY_DIR} COMMENT "Collecting coverage data" DEPENDS ${ARG_TARGETS} ${ARG_TESTS} VERBATIM) # filter unwanted stuff LIST(LENGTH ARG_FILTER FILTER_LENGTH) IF(${FILTER_LENGTH} GREATER 0) SET(FILTER COMMAND ${LCOV_EXECUTABLE}) FOREACH(F ${ARG_FILTER}) SET(FILTER ${FILTER} -r ${COVERAGE_FILTERED_FILE} ${F}) ENDFOREACH() SET(FILTER ${FILTER} -o ${COVERAGE_FILTERED_FILE}) ELSE() SET(FILTER "") ENDIF() ADD_CUSTOM_COMMAND(OUTPUT ${COVERAGE_FILTERED_FILE} COMMAND ${LCOV_EXECUTABLE} -e ${COVERAGE_RAW_FILE} "${CMAKE_SOURCE_DIR}*" -o ${COVERAGE_FILTERED_FILE} ${FILTER} DEPENDS ${COVERAGE_RAW_FILE} COMMENT "Filtering recorded coverage data for project-relevant entries" VERBATIM) ADD_CUSTOM_COMMAND(OUTPUT ${COVERAGE_REPORT_DIR} COMMAND ${CMAKE_COMMAND} -E make_directory ${COVERAGE_REPORT_DIR} COMMAND ${GENHTML_EXECUTABLE} --legend --show-details -t "${PROJECT_NAME} test coverage" -o ${COVERAGE_REPORT_DIR} ${COVERAGE_FILTERED_FILE} DEPENDS ${COVERAGE_FILTERED_FILE} COMMENT "Generating HTML coverage report in ${COVERAGE_REPORT_DIR}" VERBATIM) ADD_CUSTOM_TARGET(coverage-html DEPENDS ${COVERAGE_REPORT_DIR}) ENDIF() # xml coverage report IF(GCOVR_FOUND) MESSAGE(STATUS "Enabling XML coverage report") # gcovr cannot write directly to a file so the execution needs to # be wrapped in a cmake file that generates the file output FILE(WRITE ${COVERAGE_XML_COMMAND_FILE} "SET(ENV{LANG} en)\n") FILE(APPEND ${COVERAGE_XML_COMMAND_FILE} "EXECUTE_PROCESS(COMMAND \"${GCOVR_EXECUTABLE}\" -x -r \"${CMAKE_SOURCE_DIR}\" OUTPUT_FILE \"${COVERAGE_XML_FILE}\" WORKING_DIRECTORY \"${CMAKE_BINARY_DIR}\")\n") ADD_CUSTOM_COMMAND(OUTPUT ${COVERAGE_XML_FILE} COMMAND ${CMAKE_COMMAND} ARGS -P ${COVERAGE_XML_COMMAND_FILE} COMMENT "Generating coverage XML report" VERBATIM) ADD_CUSTOM_TARGET(coverage-xml DEPENDS ${COVERAGE_XML_FILE}) ENDIF() # provide a global coverage target executing both steps if available SET(GLOBAL_DEPENDS "") IF(LCOV_FOUND) LIST(APPEND GLOBAL_DEPENDS ${COVERAGE_REPORT_DIR}) ENDIF() IF(GCOVR_FOUND) LIST(APPEND GLOBAL_DEPENDS ${COVERAGE_XML_FILE}) ENDIF() IF(LCOV_FOUND OR GCOVR_FOUND) ADD_CUSTOM_TARGET(coverage DEPENDS ${GLOBAL_DEPENDS}) ENDIF() ENDIF() ENDFUNCTION() messaging-app-0.1+14.04.20140410.1/cmake/modules/Findgcovr.cmake0000644000015301777760000000170212321541564024313 0ustar pbusernogroup00000000000000# - Find gcovr scrip # Will define: # # GCOVR_EXECUTABLE - the gcovr script # # Uses: # # GCOVR_ROOT - root to search for the script # # Copyright (C) 2011 by Johannes Wienke # # This program is free software; you can redistribute it # and/or modify it under the terms of the GNU General # Public License as published by the Free Software Foundation; # either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # INCLUDE(FindPackageHandleStandardArgs) FIND_PROGRAM(GCOVR_EXECUTABLE gcovr HINTS ${GCOVR_ROOT} "${GCOVR_ROOT}/bin") FIND_PACKAGE_HANDLE_STANDARD_ARGS(gcovr DEFAULT_MSG GCOVR_EXECUTABLE) # only visible in advanced view MARK_AS_ADVANCED(GCOVR_EXECUTABLE) messaging-app-0.1+14.04.20140410.1/cmake/modules/ParseArguments.cmake0000644000015301777760000000340612321541564025335 0ustar pbusernogroup00000000000000# Parse arguments passed to a function into several lists separated by # upper-case identifiers and options that do not have an associated list e.g.: # # SET(arguments # hello OPTION3 world # LIST3 foo bar # OPTION2 # LIST1 fuz baz # ) # PARSE_ARGUMENTS(ARG "LIST1;LIST2;LIST3" "OPTION1;OPTION2;OPTION3" ${arguments}) # # results in 7 distinct variables: # * ARG_DEFAULT_ARGS: hello;world # * ARG_LIST1: fuz;baz # * ARG_LIST2: # * ARG_LIST3: foo;bar # * ARG_OPTION1: FALSE # * ARG_OPTION2: TRUE # * ARG_OPTION3: TRUE # # taken from http://www.cmake.org/Wiki/CMakeMacroParseArguments MACRO(PARSE_ARGUMENTS prefix arg_names option_names) SET(DEFAULT_ARGS) FOREACH(arg_name ${arg_names}) SET(${prefix}_${arg_name}) ENDFOREACH(arg_name) FOREACH(option ${option_names}) SET(${prefix}_${option} FALSE) ENDFOREACH(option) SET(current_arg_name DEFAULT_ARGS) SET(current_arg_list) FOREACH(arg ${ARGN}) SET(larg_names ${arg_names}) LIST(FIND larg_names "${arg}" is_arg_name) IF (is_arg_name GREATER -1) SET(${prefix}_${current_arg_name} ${current_arg_list}) SET(current_arg_name ${arg}) SET(current_arg_list) ELSE (is_arg_name GREATER -1) SET(loption_names ${option_names}) LIST(FIND loption_names "${arg}" is_option) IF (is_option GREATER -1) SET(${prefix}_${arg} TRUE) ELSE (is_option GREATER -1) SET(current_arg_list ${current_arg_list} ${arg}) ENDIF (is_option GREATER -1) ENDIF (is_arg_name GREATER -1) ENDFOREACH(arg) SET(${prefix}_${current_arg_name} ${current_arg_list}) ENDMACRO(PARSE_ARGUMENTS) messaging-app-0.1+14.04.20140410.1/tests/0000755000015301777760000000000012321542175020001 5ustar pbusernogroup00000000000000messaging-app-0.1+14.04.20140410.1/tests/autopilot/0000755000015301777760000000000012321542175022021 5ustar pbusernogroup00000000000000messaging-app-0.1+14.04.20140410.1/tests/autopilot/messaging_app/0000755000015301777760000000000012321542175024636 5ustar pbusernogroup00000000000000messaging-app-0.1+14.04.20140410.1/tests/autopilot/messaging_app/emulators.py0000644000015301777760000004105512321541573027231 0ustar pbusernogroup00000000000000# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- # Copyright 2013, 2014 Canonical # # This file is part of messaging-app. # # messaging-app is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License version 3, as published # by the Free Software Foundation. """Messaging app autopilot emulators.""" import dbus import logging import os import shutil import subprocess import tempfile import time from autopilot import logging as autopilot_logging from autopilot.input import Keyboard from autopilot.platform import model from ubuntuuitoolkit import emulators as toolkit_emulators logger = logging.getLogger(__name__) class EmulatorException(Exception): """Exception raised when there is an error with the emulator.""" class MainView(toolkit_emulators.MainView): def __init__(self, *args): super(MainView, self).__init__(*args) self.pointing_device = toolkit_emulators.get_pointing_device() self.keyboard = Keyboard.create() self.logger = logging.getLogger(__name__) def get_pagestack(self): """Return PageStack with objectName mainStack""" return self.select_single("PageStack", objectName="mainStack") def get_thread_from_number(self, phone_number): """Return thread from number :parameter phone_number: the phone_number of message thread """ time.sleep(2) # message is not always found on slow emulator for thread in self.select_many('ThreadDelegate'): for item in self.select_many('QQuickItem'): if "phoneNumber" in item.get_properties(): if item.get_properties()['phoneNumber'] == phone_number: return thread raise EmulatorException('Could not find thread with the phone number ' '{}'.format(phone_number)) def get_message(self, text): """Return message from text :parameter text: the text or date of the label in the message """ time.sleep(2) # message is not always found on slow emulator for message in self.select_many('MessageDelegate'): for item in self.select_many('Label'): if "text" in item.get_properties(): if item.get_properties()['text'] == text: return message raise EmulatorException('Could not find message with the text ' '{}'.format(text)) def get_label(self, text): """Return label from text :parameter text: the text of the label to return """ return self.select_single('Label', visible=True, text=text) def get_main_page(self): """Return messages with objectName messagesPage""" return self.wait_select_single("MainPage", objectName="") #messages page def get_messages_page(self): """Return messages with objectName messagesPage""" return self.wait_select_single("Messages", objectName="messagesPage") def get_newmessage_textfield(self): """Return TextField with objectName newPhoneNumberField""" return self.select_single( "TextField", objectName="contactSearchInput", ) def get_multiple_selection_list_view(self): """Return MultipleSelectionListView from the messages page""" page = self.get_messages_page() return page.select_single('MultipleSelectionListView') def get_newmessage_multirecipientinput(self): """Return MultiRecipientInput from the messages page""" return self.select_single( "MultiRecipientInput", objectName="multiRecipient", ) def get_newmessage_textarea(self): """Return TextArea with blank objectName""" return self.select_single('TextArea', objectName='') def get_send_button(self): """Return Button with text Send""" return self.select_single('Button', text='Send') def get_toolbar_back_button(self): """Return toolbar button with objectName back_toolbar_button""" return self.select_single( 'ActionItem', objectName='back_toolbar_button', ) def get_toolbar_select_messages_button(self): """Return toolbar button with objectName selectMessagesButton""" return self.select_single( 'ActionItem', objectName='selectMessagesButton', ) def get_toolbar_add_contact_button(self): """Return toolbar button with objectName addContactButton""" return self.select_single( 'ActionItem', objectName='addContactButton', ) def get_toolbar_contact_profile_button(self): """Return toolbar button with objectName contactProfileButton""" return self.select_single( 'ActionItem', objectName='contactProfileButton', ) def get_toolbar_contact_call_button(self): """Return toolbar button with objectName contactCallButton""" return self.select_single( 'ActionItem', objectName='contactCallButton', ) def get_header(self): """return header object""" return self.select_single('Header', objectName='MainView_Header') def get_dialog_buttons(self, visible=True): """Return DialogButtons :parameter visible: the visible state of the dialog button """ if visible: return self.wait_select_single('DialogButtons', visible=True) else: return self.select_many('DialogButtons', visible=False) def get_visible_cancel_dialog_button(self): """Return dialog Button with text Cancel""" dialog_buttons = self.get_dialog_buttons() return dialog_buttons.select_single('Button', text='Cancel') def get_visible_delete_dialog_button(self): """Return dialog Button with text Delete""" dialog_buttons = self.get_dialog_buttons() return dialog_buttons.select_single('Button', text='Delete') def click_cancel_dialog_button(self): """Click on dialog button cancel""" button = self.get_visible_cancel_dialog_button() self.pointing_device.click_object(button) button.visible.wait_for(False) def click_delete_dialog_button(self): """Click on dialog button delete""" button = self.get_visible_delete_dialog_button() self.pointing_device.click_object(button) button.visible.wait_for(False) def long_press(self, obj): """long press on object because press_duration is not honored on touch see bug #1268782 :parameter obj: the object to long press on """ self.pointing_device.move_to_object(obj) self.pointing_device.press() time.sleep(3) self.pointing_device.release() def type_message(self, message): """Select and type message in new message text area in messages page :parameter message: the message to type """ text_entry = self.get_newmessage_textarea() self.pointing_device.click_object(text_entry) text_entry.focus.wait_for(True) time.sleep(.3) self.keyboard.type(str(message), delay=0.2) self.logger.info( 'typed: "{}" expected: "{}"'.format(text_entry.text, message)) def type_contact_phone_num(self, num_or_contact): """Select and type phone number or contact :parameter num_or_contact: number or contact to type """ text_entry = self.get_newmessage_multirecipientinput() self.pointing_device.click_object(text_entry) text_entry.focus.wait_for(True) time.sleep(.3) self.keyboard.type(str(num_or_contact), delay=0.2) self.keyboard.press_and_release("Enter") self.logger.info( 'typed "{}" expected "{}"'.format( self.get_newmessage_textfield().text, num_or_contact)) def click_send_button(self): """Click the send button on the message page""" button = self.get_send_button() button.enabled.wait_for(True) self.pointing_device.click_object(button) button.enabled.wait_for(False) def click_new_message_button(self): """Click "Compose/ new message" button from toolbar on main page""" toolbar = self.open_toolbar() toolbar.click_button("newMessageButton") toolbar.animating.wait_for(False) def click_select_button(self): """Click select button from toolbar on main page""" toolbar = self.open_toolbar() toolbar.click_button("selectButton") toolbar.animating.wait_for(False) def click_select_messages_button(self): """Click select messages button from toolbar on messages page""" toolbar = self.open_toolbar() toolbar.click_button("selectMessagesButton") toolbar.animating.wait_for(False) def close_osk(self): """Swipe down to close on-screen keyboard""" # killing the maliit-server closes the OSK if model() is not 'Desktop': subprocess.call(["pkill", "maliit-server"]) #wait for server to respawn time.sleep(2) def click_add_button(self): """Click add button from toolbar on messages page""" toolbar = self.open_toolbar() button = toolbar.wait_select_single("ActionItem", text=u"Add") self.pointing_device.click_object(button) toolbar.animating.wait_for(False) def click_call_button(self): """Click call button from toolbar on messages page""" toolbar = self.open_toolbar() button = toolbar.wait_select_single("ActionItem", text=u"Call") self.pointing_device.click_object(button) toolbar.animating.wait_for(False) def click_back_button(self): """Click back button from toolbar on messages page""" toolbar = self.open_toolbar() button = toolbar.wait_select_single("ActionItem", text=u"Back") self.pointing_device.click_object(button) toolbar.animating.wait_for(False) def delete_thread(self, phone_number, direction='right'): """Delete thread containing specified phone number :parameter phone_number: phone number of thread to delete :parameter direction: right or left, the direction to swipe to delete """ thread = self.get_thread_from_number(phone_number) delete = self.swipe_to_delete(thread, direction=direction) delete_button = delete.wait_select_single('QQuickImage', visible=True) self.pointing_device.click_object(delete_button) thread.wait_until_destroyed() def delete_message(self, text, direction='right'): """Deletes message with specified text :parameter text: the text of the message you want to delete :parameter direction: right or left, the direction to swipe to delete """ message = self.get_message(text) delete = self.swipe_to_delete(message, direction=direction) delete_button = delete.wait_select_single('QQuickImage', visible=True) self.pointing_device.click_object(delete_button) message.wait_until_destroyed() def swipe_to_delete(self, obj, direction='right', offset=.1): """Swipe and objet left or right :parameter direction: right or left, the direction to swipe :parameter offset: the ammount of space to offset at start of swipe """ x, y, w, h = obj.globalRect s_rx = x + (w * offset) e_rx = w s_lx = w - (w * offset) e_lx = w * offset sy = y + (h / 2) if (direction == 'right'): self.pointing_device.drag(s_rx, sy, e_rx, sy) # wait for animation time.sleep(.5) return self.wait_select_single('QQuickItem', objectName='confirmRemovalDialog', visible=True) elif (direction == 'left'): self.pointing_device.drag(s_lx, sy, e_lx, sy) # wait for animation time.sleep(.5) return self.wait_select_single('QQuickItem', objectName='confirmRemovalDialog', visible=True) else: raise EmulatorException( 'Invalid direction "{0}" used on swipe to delete function ' 'direction can be right or left'.format(direction) ) def receive_sms(self, sender, text): """Receive an SMS based on sender number and text :parameter sender: phone number the message is from :parameter text: text you want to send in the message """ # prepare and send a Qt GUI script to phonesim, over its private D-BUS # set up by ofono-phonesim-autostart script_dir = tempfile.mkdtemp(prefix="phonesim_script") os.chmod(script_dir, 0o755) with open(os.path.join(script_dir, "sms.js"), "w") as f: f.write("""tabSMS.gbMessage1.leMessageSender.text = "%s"; tabSMS.gbMessage1.leSMSClass.text = "1"; tabSMS.gbMessage1.teSMSText.setPlainText("%s"); tabSMS.gbMessage1.pbSendSMSMessage.click(); """ % (sender, text)) with open("/run/lock/ofono-phonesim-dbus.address") as f: phonesim_bus = f.read().strip() bus = dbus.bus.BusConnection(phonesim_bus) script_proxy = bus.get_object("org.ofono.phonesim", "/") script_proxy.SetPath(script_dir) script_proxy.Run("sms.js") shutil.rmtree(script_dir) class MainPage(toolkit_emulators.UbuntuUIToolkitEmulatorBase): """Autopilot helper for the Main Page.""" def get_thread_count(self): """Return the number of message threads.""" return self.select_single( 'MultipleSelectionListView', objectName='threadList').count @autopilot_logging.log_action(logger.info) def open_thread(self, participants): thread = self.select_single( 'ThreadDelegate', objectName='thread{}'.format(participants)) self.pointing_device.click_object(thread) return self.get_root_instance().wait_select_single(Messages) class Messages(toolkit_emulators.UbuntuUIToolkitEmulatorBase): """Autopilot helper for the Messages Page.""" def get_messages_count(self): """Return the number of meesages.""" return self.select_single( 'MultipleSelectionListView', objectName='messageList').count @autopilot_logging.log_action(logger.info) def select_messages(self, *indexes): """Select messages. :param indexes: The indexes of the messages to select. The most recently received message has the 0 index, and the oldest message has the higher index. """ for index in indexes: message_delegate = self._get_message_delegate(index) self.pointing_device.click_object(message_delegate) def _get_message_delegate(self, index): return self.wait_select_single( 'MessageDelegate', objectName='message{}'.format(index), unread=False) def _long_press_to_select_message(self, message): # XXX We used to leave the pointing device pressed for three seconds, # but that failed some times on Jenkins. So now we are leaving it # pressed until we are in selection mode. The behavior is almost the # same, and if it keeps failing in Jenkins we will get more # information to understand the error. --elopio - 2014-03-24 self.pointing_device.move_to_object(message) self.pointing_device.press() self.selectionMode.wait_for(True) self.pointing_device.release() @autopilot_logging.log_action(logger.info) def delete(self): """Delete the selected messages.""" button = self.select_single( 'Button', objectName='DialogButtons.acceptButton') self.pointing_device.click_object(button) def get_messages(self): """Return a list with the information of the messages. Each item of the returned list is a tuple of (date, text). """ messages = [] # TODO return the messages in the same order that they are displayed. # --elopio - 2014-03-14 for index in range(self.get_messages_count()): message_delegate = self._get_message_delegate(index) date = message_delegate.select_single( 'Label', objectName='messageDate').text text = message_delegate.select_single( 'Label', objectName='messageText').text messages.append((date, text)) return messages messaging-app-0.1+14.04.20140410.1/tests/autopilot/messaging_app/tests/0000755000015301777760000000000012321542175026000 5ustar pbusernogroup00000000000000messaging-app-0.1+14.04.20140410.1/tests/autopilot/messaging_app/tests/test_messaging.py0000644000015301777760000004731012321541573031374 0ustar pbusernogroup00000000000000# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- # Copyright 2012, 2014 Canonical # # This file is part of messaging-app. # # messaging-app is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License version 3, as published # by the Free Software Foundation. """Tests for the Messaging App using ofono-phonesim""" from __future__ import absolute_import import os import subprocess import time from autopilot.matchers import Eventually from testtools.matchers import Equals, HasLength from testtools import skipIf, skip from messaging_app import emulators from messaging_app.tests import MessagingAppTestCase @skipIf(os.uname()[2].endswith('maguro'), 'tests cause Unity crashes on maguro') class BaseMessagingTestCase(MessagingAppTestCase): def setUp(self): # determine whether we are running with phonesim try: out = subprocess.check_output( ['/usr/share/ofono/scripts/list-modems'], stderr=subprocess.PIPE ) have_phonesim = out.startswith('[ /phonesim ]') except subprocess.CalledProcessError: have_phonesim = False self.assertTrue(have_phonesim) # provide clean history self.history = os.path.expanduser( '~/.local/share/history-service/history.sqlite') if os.path.exists(self.history): os.rename(self.history, self.history + '.orig') subprocess.call(['pkill', 'history-daemon']) subprocess.call(['pkill', '-f', 'telephony-service-handler']) # make sure the modem is running on phonesim subprocess.call( ['mc-tool', 'update', 'ofono/ofono/account0', 'string:modem-objpath=/phonesim']) subprocess.call(['mc-tool', 'reconnect', 'ofono/ofono/account0']) super(BaseMessagingTestCase, self).setUp() # no initial messages self.thread_list = self.app.select_single(objectName='threadList') self.assertThat(self.thread_list.visible, Equals(True)) self.assertThat(self.thread_list.count, Equals(0)) def tearDown(self): super(BaseMessagingTestCase, self).tearDown() # restore history try: os.unlink(self.history) except OSError: pass if os.path.exists(self.history + '.orig'): os.rename(self.history + '.orig', self.history) subprocess.call(['pkill', 'history-daemon']) subprocess.call(['pkill', '-f', 'telephony-service-handler']) # restore the original connection subprocess.call( ['mc-tool', 'update', 'ofono/ofono/account0', 'string:modem-objpath=/ril_0']) subprocess.call(['mc-tool', 'reconnect', 'ofono/ofono/account0']) # on desktop, notify-osd may generate persistent popups (like for "SMS # received"), don't make that stay around for the tests subprocess.call(['pkill', '-f', 'notify-osd']) class TestMessaging(BaseMessagingTestCase): """Tests for the communication panel.""" def test_write_new_message_to_group(self): recipient_list = ["123", "321"] self.main_view.click_new_message_button() # type address number for number in recipient_list: self.main_view.type_contact_phone_num(number) self.keyboard.press_and_release("Enter") # check if recipients match multircpt_entry = self.main_view.get_newmessage_multirecipientinput() self.assertThat( multircpt_entry.get_properties()['recipientCount'], Eventually(Equals(len(recipient_list))) ) def test_receive_message(self): """Verify that we can receive a text message""" # receive an sms message self.main_view.receive_sms('0815', 'hello to Ubuntu') # verify that we got the message self.assertThat(self.thread_list.count, Eventually(Equals(1))) # verify number self.thread_list.select_single('Label', text='0815') time.sleep(1) # make it visible to human users for a sec # verify text self.thread_list.select_single('Label', text='hello to Ubuntu') def test_write_new_message(self): """Verify we can write and send a new text message""" self.main_view.click_new_message_button() #verify the thread list page is not visible self.assertThat(self.thread_list.visible, Eventually(Equals(False))) # type contact/number phone_num = 123 self.main_view.type_contact_phone_num(phone_num) # type message message = 'hello from Ubuntu' self.main_view.type_message(message) # send self.main_view.click_send_button() # verify that we get a bubble with our message list_view = self.main_view.get_multiple_selection_list_view() self.assertThat(list_view.count, Eventually(Equals(1))) # verify label text self.main_view.get_message('hello from Ubuntu') # switch back to main page with thread list self.main_view.close_osk() self.main_view.go_back() # verify the main page with the contacts that have sent messages is # visible self.assertThat(self.thread_list.visible, Eventually(Equals(True))) # verify a message in the thread list self.assertThat(self.thread_list.count, Equals(1)) # verify our number self.thread_list.select_single('Label', text='123') # verify our text self.thread_list.select_single('Label', text='hello from Ubuntu') @skip("long press is currently invoking a context menu") def test_deleting_message_long_press(self): """Verify we can delete a message with a long press on the message""" self.main_view.click_new_message_button() self.assertThat(self.thread_list.visible, Eventually(Equals(False))) # type address number phone_num = '555-555-4321' self.main_view.type_contact_phone_num(phone_num) # type message message = 'delete me' self.main_view.type_message(message) # send self.main_view.click_send_button() # verify that we get a bubble with our message list_view = self.main_view.get_multiple_selection_list_view() self.assertThat(list_view.count, Eventually(Equals(1))) bubble = self.main_view.get_message(message) self.main_view.close_osk() # long press on bubble self.main_view.long_press(bubble) # select delete button self.main_view.click_delete_dialog_button() # verify message is deleted bubble.wait_until_destroyed() @skip("long press is currently invoking a context menu") def test_cancel_deleting_message_long_press(self): """Verify we can cancel deleting a message with a long press""" self.main_view.click_new_message_button() self.assertThat(self.thread_list.visible, Eventually(Equals(False))) # type address number phone_num = '5555551234' self.main_view.type_contact_phone_num(phone_num) # type message message = 'do not delete' self.main_view.type_message(message) # send self.main_view.click_send_button() # verify that we get a bubble with our message list_view = self.main_view.get_multiple_selection_list_view() self.assertThat(list_view.count, Eventually(Equals(1))) bubble = self.main_view.get_message(message) self.main_view.close_osk() # long press on bubble and verify cancel button does not delete message self.main_view.long_press(bubble) self.main_view.click_cancel_dialog_button() time.sleep(5) # on a slow machine it might return a false positive #the bubble must exist bubble = self.main_view.get_message(message) def test_open_received_message(self): """Verify we can open a txt message we have received""" number = '5555555678' message = 'open me' # receive message self.main_view.receive_sms(number, message) self.assertThat(self.thread_list.count, Eventually(Equals(1))) # click message thread mess_thread = self.thread_list.wait_select_single('Label', text=number) self.pointing_device.click_object(mess_thread) self.main_view.get_message(message) # send new message self.main_view.type_message('{} 2'.format(message)) self.main_view.click_send_button() # verify both messages are seen in list self.main_view.get_message('{} 2'.format(message)) self.main_view.get_message(message) def test_toolbar_delete_message(self): """Verify we can use the toolbar to delete a message""" self.main_view.click_new_message_button() self.assertThat(self.thread_list.visible, Eventually(Equals(False))) # type address number phone_num = '555-555-4321' self.main_view.type_contact_phone_num(phone_num) # type message message = 'delete me' self.main_view.type_message(message) # send self.main_view.click_send_button() # verify that we get a bubble with our message list_view = self.main_view.get_multiple_selection_list_view() self.assertThat(list_view.count, Eventually(Equals(1))) bubble = self.main_view.get_message(message) self.main_view.close_osk() # press on select button and message then delete self.main_view.click_select_messages_button() self.pointing_device.click_object(bubble) self.main_view.click_delete_dialog_button() #verify messsage is gone bubble.wait_until_destroyed() def test_toolbar_delete_message_without_selecting_a_message(self): """Verify we only delete messages that have been selected""" self.main_view.click_new_message_button() self.assertThat(self.thread_list.visible, Eventually(Equals(False))) # type address number phone_num = '555-555-4321' self.main_view.type_contact_phone_num(phone_num) # type message message = 'dont delete me' self.main_view.type_message(message) # send self.main_view.click_send_button() # verify that we get a bubble with our message list_view = self.main_view.get_multiple_selection_list_view() self.assertThat(list_view.count, Eventually(Equals(1))) self.main_view.get_message(message) self.main_view.close_osk() # press on select button then delete self.main_view.click_select_messages_button() # click the Delete button, but do not wait for it to go away button = self.main_view.get_visible_delete_dialog_button() self.pointing_device.click_object(button) # button should be disabled as no items are selected self.assertThat(button.enabled, Eventually(Equals(False))) #verify messsage is not gone time.sleep(5) # wait 5 seconds, the emulator is slow list_view.select_single("Label", text=message) def test_recieve_text_with_letters_in_phone_number(self): """verify we can receive a text message with letters for a phone #""" number = 'letters' message = 'open me' # receive message self.main_view.receive_sms(number, message) self.assertThat(self.thread_list.count, Eventually(Equals(1))) # click message thread mess_thread = self.thread_list.wait_select_single( 'Label', text='letters@' # phonesim sends text with number as letters@ ) self.pointing_device.click_object(mess_thread) self.main_view.get_message(message) # send new message self.main_view.type_message('{} 2'.format(message)) self.main_view.click_send_button() # verify both messages are seen in list self.main_view.get_message('{} 2'.format(message)) self.main_view.get_message(message) def test_cancel_delete_thread_from_main_view(self): """Verify we can cancel deleting a message thread""" self.main_view.click_new_message_button() #verify the thread list page is not visible self.assertThat(self.thread_list.visible, Eventually(Equals(False))) # type contact/number phone_num = 123 self.main_view.type_contact_phone_num(phone_num) # type message message = 'hello from Ubuntu' self.main_view.type_message(message) # send self.main_view.click_send_button() # verify that we get a bubble with our message list_view = self.main_view.get_multiple_selection_list_view() self.assertThat(list_view.count, Eventually(Equals(1))) # verify label text self.main_view.get_message('hello from Ubuntu') # switch back to main page with thread list self.main_view.close_osk() self.main_view.go_back() # verify the main page with the contacts that have sent messages is # visible self.assertThat(self.thread_list.visible, Eventually(Equals(True))) # verify a message in the thread list self.assertThat(self.thread_list.count, Equals(1)) # verify our number self.thread_list.select_single('Label', text='123') # verify our text self.thread_list.select_single('Label', text='hello from Ubuntu') # use select button in toolbar self.main_view.click_select_button() # click cancel button self.main_view.click_cancel_dialog_button() # wait for slow emulator time.sleep(5) # verify our number was not deleted self.thread_list.select_single('Label', text='123') # verify our text was not deleted self.thread_list.select_single('Label', text='hello from Ubuntu') def test_delete_thread_from_main_view(self): """Verify we can delete a message thread""" self.main_view.click_new_message_button() #verify the thread list page is not visible self.assertThat(self.thread_list.visible, Eventually(Equals(False))) # type contact/number phone_num = 123 self.main_view.type_contact_phone_num(phone_num) # type message message = 'hello from Ubuntu' self.main_view.type_message(message) # send self.main_view.click_send_button() # verify that we get a bubble with our message list_view = self.main_view.get_multiple_selection_list_view() self.assertThat(list_view.count, Eventually(Equals(1))) # verify label text self.main_view.get_message('hello from Ubuntu') # switch back to main page with thread list self.main_view.close_osk() self.main_view.go_back() # verify the main page with the contacts that have sent messages is # visible self.assertThat(self.thread_list.visible, Eventually(Equals(True))) # verify a message in the thread list self.assertThat(self.thread_list.count, Equals(1)) # verify our number mess_thread = self.thread_list.select_single('Label', text='123') # verify our text self.thread_list.select_single('Label', text='hello from Ubuntu') # use select button in toolbar self.main_view.click_select_button() # click thread we want to delete self.pointing_device.click_object(mess_thread) # click cancel button self.main_view.click_delete_dialog_button() # verify our text was deleted mess_thread.wait_until_destroyed() def test_delete_message_thread_swipe_right(self): """Verify we can delete a message thread by swiping right""" # receive an sms message self.main_view.receive_sms('0815', 'hello to Ubuntu') # verify that we got the message self.assertThat(self.thread_list.count, Eventually(Equals(1))) # delete thread by swiping self.main_view.delete_thread('0815') self.assertThat(self.thread_list.count, Eventually(Equals(0))) def test_delete_message_swipe_right(self): """Verify we can delete a message by swiping right""" self.main_view.click_new_message_button() self.assertThat(self.thread_list.visible, Eventually(Equals(False))) # type address number phone_num = '555-555-4321' self.main_view.type_contact_phone_num(phone_num) # type message message = 'delete me okay' self.main_view.type_message(message) # send self.main_view.click_send_button() # verify that we get a bubble with our message list_view = self.main_view.get_multiple_selection_list_view() self.assertThat(list_view.count, Eventually(Equals(1))) self.main_view.get_message(message) #delete message self.main_view.delete_message(message) self.assertThat(list_view.count, Eventually(Equals(0))) def test_delete_message_thread_swipe_left(self): """Verify we can delete a message thread by swiping left""" # receive an sms message self.main_view.receive_sms('0815', 'hello to Ubuntu') # verify that we got the message self.assertThat(self.thread_list.count, Eventually(Equals(1))) # delete thread by swiping self.main_view.delete_thread('0815', direction='left') self.assertThat(self.thread_list.count, Eventually(Equals(0))) def test_delete_message_swipe_left(self): """Verify we can delete a message by swiping left""" self.main_view.click_new_message_button() self.assertThat(self.thread_list.visible, Eventually(Equals(False))) # type address number phone_num = '555-555-4321' self.main_view.type_contact_phone_num(phone_num) # type message message = 'delete me okay' self.main_view.type_message(message) # send self.main_view.click_send_button() # verify that we get a bubble with our message list_view = self.main_view.get_multiple_selection_list_view() self.assertThat(list_view.count, Eventually(Equals(1))) self.main_view.get_message(message) #delete message self.main_view.delete_message(message, direction='left') self.assertThat(list_view.count, Eventually(Equals(0))) class MessagingTestCaseWithExistingThread(BaseMessagingTestCase): def setUp(self): super(MessagingTestCaseWithExistingThread, self).setUp() self.main_page = self.main_view.select_single(emulators.MainPage) self.number = '5555559876' self.messages = self.receive_messages() def receive_messages(self): # send 3 messages. Reversed because on the QML, the one with the # 0 index is the latest received. messages = [] message_indexes = list(reversed(range(3))) for index in message_indexes: message_text = 'test message {}'.format(index) self.main_view.receive_sms( self.number, message_text) time.sleep(1) # Prepend to make sure that the indexes match. messages.insert(0, message_text) # Wait for the thread. self.assertThat( self.main_page.get_thread_count, Eventually(Equals(1))) return messages def test_delete_multiple_messages(self): """Verify we can delete multiple messages""" messages_page = self.main_page.open_thread(self.number) self.main_view.click_select_messages_button() messages_page.select_messages(1, 2) messages_page.delete() remaining_messages = messages_page.get_messages() self.assertThat(remaining_messages, HasLength(1)) _, remaining_message_text = remaining_messages[0] self.assertEqual( remaining_message_text, self.messages[0]) messaging-app-0.1+14.04.20140410.1/tests/autopilot/messaging_app/tests/__init__.py0000644000015301777760000000632612321541564030121 0ustar pbusernogroup00000000000000# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- # Copyright 2012-2014 Canonical # # This file is part of messaging-app. # # messaging-app is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License version 3, as published # by the Free Software Foundation. """Messaging App autopilot tests.""" from autopilot.input import Mouse, Touch, Pointer from autopilot.matchers import Eventually from autopilot.platform import model from autopilot.testcase import AutopilotTestCase from testtools.matchers import Equals from ubuntuuitoolkit import emulators as toolkit_emulators from messaging_app import emulators import os import sys import logging import subprocess logger = logging.getLogger(__name__) # ensure we have an ofono account; we assume that we have these tools, # otherwise we consider this a test failure (missing dependencies) def tp_has_ofono(): mc_tool = subprocess.Popen(['mc-tool', 'list'], stdout=subprocess.PIPE, universal_newlines=True) mc_accounts = mc_tool.communicate()[0] return 'ofono/ofono/account' in mc_accounts if not tp_has_ofono(): subprocess.check_call(['ofono-setup']) if not tp_has_ofono(): sys.stderr.write('ofono-setup failed to create ofono account!\n') sys.exit(1) class MessagingAppTestCase(AutopilotTestCase): """A common test case class that provides several useful methods for Messaging App tests. """ #Don't use keyboard on desktop if model() == 'Desktop': subprocess.call(['/sbin/initctl', 'stop', 'maliit-server']) if model() == 'Desktop': scenarios = [ ('with mouse', dict(input_device_class=Mouse)), ] else: scenarios = [ ('with touch', dict(input_device_class=Touch)), ] local_location = '../../src/messaging-app' def setUp(self): self.pointing_device = Pointer(self.input_device_class.create()) super(MessagingAppTestCase, self).setUp() subprocess.call(['pkill', 'messaging-app']) if os.path.exists(self.local_location): self.launch_test_local() else: self.launch_test_installed() self.assertThat(self.main_view.visible, Eventually(Equals(True))) def launch_test_local(self): self.app = self.launch_test_application( self.local_location, '--test-contacts', app_type='qt', emulator_base=toolkit_emulators.UbuntuUIToolkitEmulatorBase) def launch_test_installed(self): if model() == 'Desktop': self.app = self.launch_test_application( 'messaging-app', '--test-contacts', emulator_base=toolkit_emulators.UbuntuUIToolkitEmulatorBase) else: self.app = self.launch_test_application( 'messaging-app', '--test-contacts', '--desktop_file_hint=' '/usr/share/applications/messaging-app.desktop', app_type='qt', emulator_base=toolkit_emulators.UbuntuUIToolkitEmulatorBase) @property def main_view(self): return self.app.select_single(emulators.MainView) messaging-app-0.1+14.04.20140410.1/tests/autopilot/messaging_app/__init__.py0000644000015301777760000000063112321541564026750 0ustar pbusernogroup00000000000000# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- # Copyright 2012 - 2014 Canonical # # This file is part of messaging-app. # # messaging-app is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License version 3, as published # by the Free Software Foundation. """messaging-app autopilot tests and emulators - top level package.""" messaging-app-0.1+14.04.20140410.1/tests/CMakeLists.txt0000644000015301777760000000046012321541564022542 0ustar pbusernogroup00000000000000set(AUTOPILOT_DIR autopilot/messaging_app) execute_process(COMMAND python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()" OUTPUT_VARIABLE PYTHON_PACKAGE_DIR OUTPUT_STRIP_TRAILING_WHITESPACE) install(DIRECTORY ${AUTOPILOT_DIR} DESTINATION ${PYTHON_PACKAGE_DIR} ) messaging-app-0.1+14.04.20140410.1/COPYING.CC-BY-SA-30000644000015301777760000005333612321541564021142 0ustar pbusernogroup00000000000000Creative Commons Legal Code Attribution-ShareAlike 3.0 Unported CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM ITS USE. License THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. 1. Definitions a. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License. b. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined below) for the purposes of this License. c. "Creative Commons Compatible License" means a license that is listed at http://creativecommons.org/compatiblelicenses that has been approved by Creative Commons as being essentially equivalent to this License, including, at a minimum, because that license: (i) contains terms that have the same purpose, meaning and effect as the License Elements of this License; and, (ii) explicitly permits the relicensing of adaptations of works made available under that license under this License or a Creative Commons jurisdiction license with the same License Elements as this License. d. "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership. e. "License Elements" means the following high-level license attributes as selected by Licensor and indicated in the title of this License: Attribution, ShareAlike. f. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License. g. "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast. h. "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work. i. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation. j. "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images. k. "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium. 2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws. 3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below: a. to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections; b. to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified."; c. to Distribute and Publicly Perform the Work including as incorporated in Collections; and, d. to Distribute and Publicly Perform Adaptations. e. For the avoidance of doubt: i. Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; ii. Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and, iii. Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License. The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved. 4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: a. You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(c), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(c), as requested. b. You may Distribute or Publicly Perform an Adaptation only under the terms of: (i) this License; (ii) a later version of this License with the same License Elements as this License; (iii) a Creative Commons jurisdiction license (either this or a later license version) that contains the same License Elements as this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible License. If you license the Adaptation under one of the licenses mentioned in (iv), you must comply with the terms of that license. If you license the Adaptation under the terms of any of the licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), you must comply with the terms of the Applicable License generally and the following provisions: (I) You must include a copy of, or the URI for, the Applicable License with every copy of each Adaptation You Distribute or Publicly Perform; (II) You may not offer or impose any terms on the Adaptation that restrict the terms of the Applicable License or the ability of the recipient of the Adaptation to exercise the rights granted to that recipient under the terms of the Applicable License; (III) You must keep intact all notices that refer to the Applicable License and to the disclaimer of warranties with every copy of the Work as included in the Adaptation You Distribute or Publicly Perform; (IV) when You Distribute or Publicly Perform the Adaptation, You may not impose any effective technological measures on the Adaptation that restrict the ability of a recipient of the Adaptation from You to exercise the rights granted to that recipient under the terms of the Applicable License. This Section 4(b) applies to the Adaptation as incorporated in a Collection, but this does not require the Collection apart from the Adaptation itself to be made subject to the terms of the Applicable License. c. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Ssection 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4(c) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties. d. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise. 5. Representations, Warranties and Disclaimer UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 7. Termination a. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. b. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above. 8. Miscellaneous a. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. b. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. c. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. d. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent. e. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You. f. The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law. Creative Commons Notice Creative Commons is not a party to this License, and makes no warranty whatsoever in connection with the Work. Creative Commons will not be liable to You or any party on any legal theory for any damages whatsoever, including without limitation any general, special, incidental or consequential damages arising in connection to this license. Notwithstanding the foregoing two (2) sentences, if Creative Commons has expressly identified itself as the Licensor hereunder, it shall have all rights and obligations of Licensor. Except for the limited purpose of indicating to the public that the Work is licensed under the CCPL, Creative Commons does not authorize the use by either party of the trademark "Creative Commons" or any related trademark or logo of Creative Commons without the prior written consent of Creative Commons. Any permitted use will be in compliance with Creative Commons' then-current trademark usage guidelines, as may be published on its website or otherwise made available upon request from time to time. For the avoidance of doubt, this trademark restriction does not form part of the License. Creative Commons may be contacted at http://creativecommons.org/. messaging-app-0.1+14.04.20140410.1/config.h.in0000644000015301777760000000356712321541564020676 0ustar pbusernogroup00000000000000/* * Copyright (C) 2012-2013 Canonical, Ltd. * * Authors: * Olivier Tilloy * * This file is part of messaging-app. * * messaging-app is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 3. * * messaging-app is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ // Qt #include #include #include #include #include inline bool isRunningInstalled() { static bool installed = (QCoreApplication::applicationDirPath() == QDir(("@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@")).canonicalPath()); return installed; } inline QString messagingAppDirectory() { if (isRunningInstalled()) { return QString("@CMAKE_INSTALL_PREFIX@/@MESSAGING_APP_DIR@/"); } else { return QString("@CMAKE_SOURCE_DIR@/src/qml/"); } } inline QString ubuntuPhonePluginPath() { if (isRunningInstalled()) { return QString::null; } else { return QString("@CMAKE_SOURCE_DIR@/"); } } inline bool isMessagingApplicationInstance() { return QCoreApplication::applicationName() == "MessagingApp"; } inline bool isMessagingApplicationRunning() { QDBusReply reply = QDBusConnection::sessionBus().interface()->isServiceRegistered("com.canonical.MessagingApp"); if (reply.isValid()) { return reply.value(); } return false; } messaging-app-0.1+14.04.20140410.1/po/0000755000015301777760000000000012321542175017255 5ustar pbusernogroup00000000000000messaging-app-0.1+14.04.20140410.1/po/messaging-app.pot0000644000015301777760000000422512321541564022540 0ustar pbusernogroup00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-09-13 13:41-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" #: src/qml/dateUtils.js:62 #, qt-format msgid "%1 hour call" msgid_plural "%1 hours call" msgstr[0] "" msgstr[1] "" #: src/qml/dateUtils.js:64 #, qt-format msgid "%1 minute call" msgid_plural "%1 minutes call" msgstr[0] "" msgstr[1] "" #: src/qml/dateUtils.js:66 #, qt-format msgid "%1 second call" msgid_plural "%1 seconds call" msgstr[0] "" msgstr[1] "" #: src/qml/Messages.qml:109 msgid "Add contact" msgstr "" #: src/qml/messaging-app.qml:85 msgid "Add to existing contact" msgstr "" #: src/qml/Messages.qml:133 msgid "Call" msgstr "" #: src/qml/messaging-app.qml:111 msgid "Compose" msgstr "" #: src/qml/Messages.qml:121 msgid "Contact" msgstr "" #: src/qml/messaging-app.qml:87 msgid "Create new contact" msgstr "" #: src/qml/MessageDelegate.qml:39 src/qml/MainPage.qml:49 #: src/qml/Messages.qml:309 src/qml/ThreadDelegate.qml:129 msgid "Delete" msgstr "" #: src/qml/Messages.qml:207 msgid "Enter number" msgstr "" #: src/qml/MainPage.qml:29 msgid "Messages" msgstr "" #: src/messaging-app.desktop.in:3 msgid "Messaging" msgstr "" #: src/messaging-app.desktop.in:4 msgid "Messaging App" msgstr "" #: src/messaging-app.desktop.in:5 msgid "Messaging application" msgstr "" #: src/qml/Messages.qml:37 msgid "New Message" msgstr "" #: src/qml/Messages.qml:100 src/qml/messaging-app.qml:102 msgid "Select" msgstr "" #: src/qml/Messages.qml:188 msgid "To:" msgstr "" #: src/qml/dateUtils.js:41 msgid "Today" msgstr "" #: src/qml/Messages.qml:374 msgid "Write a message..." msgstr "" #: src/qml/dateUtils.js:43 msgid "Yesterday" msgstr "" messaging-app-0.1+14.04.20140410.1/po/CMakeLists.txt0000644000015301777760000000261612321541564022023 0ustar pbusernogroup00000000000000project(messaging-app-translations) # for dh_translations to extract the domain # (regarding syntax consistency, see http://pad.lv/1181187) set (GETTEXT_PACKAGE "messaging-app") include(FindGettext) set(DOMAIN messaging-app) set(POT_FILE ${DOMAIN}.pot) file(GLOB PO_FILES *.po) file(GLOB_RECURSE I18N_SRCS RELATIVE ${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/src/*.desktop.in ${CMAKE_SOURCE_DIR}/src/*.qml ${CMAKE_SOURCE_DIR}/src/*.js ${CMAKE_SOURCE_DIR}/src/*.cpp ) foreach(PO_FILE ${PO_FILES}) get_filename_component(LANG ${PO_FILE} NAME_WE) gettext_process_po_files(${LANG} ALL PO_FILES ${PO_FILE}) set(INSTALL_DIR ${CMAKE_INSTALL_LOCALEDIR}/${LANG}/LC_MESSAGES) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${LANG}.gmo DESTINATION ${INSTALL_DIR} RENAME ${DOMAIN}.mo) endforeach(PO_FILE) find_program(XGETTEXT_EXECUTABLE xgettext) if(XGETTEXT_EXECUTABLE) add_custom_target(${POT_FILE}) add_custom_command(TARGET ${POT_FILE} COMMAND ${XGETTEXT_EXECUTABLE} --c++ --qt --add-comments=TRANSLATORS --keyword=tr --keyword=tr:1,2 -D ${CMAKE_SOURCE_DIR} -s -p ${CMAKE_CURRENT_SOURCE_DIR} -o ${POT_FILE} ${I18N_SRCS} ) foreach(PO_FILE ${PO_FILES}) add_custom_command(TARGET ${POT_FILE} COMMAND ${GETTEXT_MSGMERGE_EXECUTABLE} ${PO_FILE} ${CMAKE_CURRENT_SOURCE_DIR}/${POT_FILE} -o ${PO_FILE} ) endforeach(PO_FILE) endif() messaging-app-0.1+14.04.20140410.1/po/pt_BR.po0000644000015301777760000000436212321541564020631 0ustar pbusernogroup00000000000000# Brazilian Portuguese translation for messaging-app # Copyright (c) 2013 Canonical Ltd 2013 # This file is distributed under the same license as the messaging-app package. # FIRST AUTHOR , 2013. # msgid "" msgstr "" "Project-Id-Version: messaging-app\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-09-13 13:41-0300\n" "PO-Revision-Date: 2013-06-14 21:06+0000\n" "Last-Translator: \n" "Language-Team: Brazilian Portuguese \n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Launchpad-Export-Date: 2013-06-15 06:21+0000\n" "X-Generator: Launchpad (build 16667)\n" #: src/qml/dateUtils.js:62 #, qt-format msgid "%1 hour call" msgid_plural "%1 hours call" msgstr[0] "" msgstr[1] "" #: src/qml/dateUtils.js:64 #, qt-format msgid "%1 minute call" msgid_plural "%1 minutes call" msgstr[0] "" msgstr[1] "" #: src/qml/dateUtils.js:66 #, qt-format msgid "%1 second call" msgid_plural "%1 seconds call" msgstr[0] "" msgstr[1] "" #: src/qml/Messages.qml:109 msgid "Add contact" msgstr "" #: src/qml/messaging-app.qml:85 msgid "Add to existing contact" msgstr "" #: src/qml/Messages.qml:133 msgid "Call" msgstr "" #: src/qml/messaging-app.qml:111 msgid "Compose" msgstr "" #: src/qml/Messages.qml:121 msgid "Contact" msgstr "" #: src/qml/messaging-app.qml:87 msgid "Create new contact" msgstr "" #: src/qml/MessageDelegate.qml:39 src/qml/MainPage.qml:49 #: src/qml/Messages.qml:309 src/qml/ThreadDelegate.qml:129 msgid "Delete" msgstr "" #: src/qml/Messages.qml:207 msgid "Enter number" msgstr "" #: src/qml/MainPage.qml:29 msgid "Messages" msgstr "" #: src/messaging-app.desktop.in:3 msgid "Messaging" msgstr "" #: src/messaging-app.desktop.in:4 msgid "Messaging App" msgstr "" #: src/messaging-app.desktop.in:5 msgid "Messaging application" msgstr "" #: src/qml/Messages.qml:37 msgid "New Message" msgstr "" #: src/qml/Messages.qml:100 src/qml/messaging-app.qml:102 msgid "Select" msgstr "" #: src/qml/Messages.qml:188 msgid "To:" msgstr "" #: src/qml/dateUtils.js:41 msgid "Today" msgstr "" #: src/qml/Messages.qml:374 msgid "Write a message..." msgstr "" #: src/qml/dateUtils.js:43 msgid "Yesterday" msgstr "" messaging-app-0.1+14.04.20140410.1/COPYING.GPL-30000644000015301777760000010451312321541564020460 0ustar pbusernogroup00000000000000 GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . messaging-app-0.1+14.04.20140410.1/CMakeLists.txt0000644000015301777760000000501212321541564021376 0ustar pbusernogroup00000000000000project(messaging-app) cmake_minimum_required(VERSION 2.8) set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules) # Standard install paths include(GNUInstallDirs) # Check for include files include(CheckIncludeFileCXX) include(CheckIncludeFile) include(EnableCoverageReport) ##################################################################### # Enable code coverage calculation with gcov/gcovr/lcov # Usage: # * Switch build type to coverage (use ccmake or cmake-gui) # * Invoke make, make test, make coverage # * Find html report in subdir coveragereport # * Find xml report feasible for jenkins in coverage.xml ##################################################################### IF(CMAKE_BUILD_TYPE MATCHES [cC][oO][vV][eE][rR][aA][gG][eE]) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ftest-coverage -fprofile-arcs" ) SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ftest-coverage -fprofile-arcs" ) SET(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -coverage" ) SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -coverage" ) ENABLE_COVERAGE_REPORT(TARGETS ${MESSAGING_APP}) ENDIF(CMAKE_BUILD_TYPE MATCHES [cC][oO][vV][eE][rR][aA][gG][eE]) set(MESSAGING_APP_DIR ${CMAKE_INSTALL_DATADIR}/messaging-app) # Instruct CMake to run moc automatically when needed. set(CMAKE_AUTOMOC ON) configure_file(config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h @ONLY) find_package(Qt5Core) #find_package(Qt5Contacts) find_package(Qt5DBus) #find_package(Qt5Gui) #find_package(Qt5Multimedia) find_package(Qt5Qml) find_package(Qt5Quick) find_package(Qt5Test) execute_process( COMMAND qmake -query QT_INSTALL_QML OUTPUT_VARIABLE QT_INSTALL_QML OUTPUT_STRIP_TRAILING_WHITESPACE ) find_package(PkgConfig REQUIRED) #pkg_check_modules(TP_QT5 REQUIRED TelepathyQt5) #pkg_check_modules(TPL_QT5 REQUIRED TelepathyLoggerQt5) #pkg_check_modules(QTGLIB REQUIRED QtGLib-2.0) #pkg_check_modules(GLIB REQUIRED glib-2.0) #pkg_check_modules(NOTIFY REQUIRED libnotify) #pkg_check_modules(MESSAGING_MENU REQUIRED messaging-menu) # Check if the messaging menu has the message header #set(CMAKE_REQUIRED_INCLUDES ${MESSAGING_MENU_INCLUDE_DIRS}) #check_include_file("messaging-menu-message.h" HAVE_MESSAGING_MENU_MESSAGE) if (HAVE_MESSAGING_MENU_MESSAGE) add_definitions(-DHAVE_MESSAGING_MENU_MESSAGE) endif (HAVE_MESSAGING_MENU_MESSAGE) add_definitions(-DQT_NO_KEYWORDS) include_directories( ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ) enable_testing() add_subdirectory(src) add_subdirectory(tests) add_subdirectory(po) messaging-app-0.1+14.04.20140410.1/src/0000755000015301777760000000000012321542175017426 5ustar pbusernogroup00000000000000messaging-app-0.1+14.04.20140410.1/src/messagingapplication.h0000644000015301777760000000243512321541564024005 0ustar pbusernogroup00000000000000/* * Copyright (C) 2012-2013 Canonical, Ltd. * * This file is part of messaging-app. * * messaging-app is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 3. * * messaging-app is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #ifndef MESSAGINGAPPLICATION_H #define MESSAGINGAPPLICATION_H #include #include #include class MessagingApplication : public QGuiApplication { Q_OBJECT public: MessagingApplication(int &argc, char **argv); virtual ~MessagingApplication(); bool setup(); public Q_SLOTS: void activateWindow(); void parseArgument(const QString &arg); private Q_SLOTS: void onViewStatusChanged(QQuickView::Status status); void onApplicationReady(); private: QQuickView *m_view; QString m_arg; bool m_applicationIsReady; }; #endif // MESSAGINGAPPLICATION_H messaging-app-0.1+14.04.20140410.1/src/messaging-app.desktop.in0000644000015301777760000000067212321541564024167 0ustar pbusernogroup00000000000000[Desktop Entry] Type=Application Name=tr("Messaging") GenericName=tr("Messaging App") Comment=tr("Messaging application") Exec=messaging-app %u Terminal=false Icon=messages-app MimeType=x-scheme-handler/contact;x-scheme-handler/call X-Ubuntu-Touch=true X-Ubuntu-StageHint=SideStage X-Ubuntu-Gettext-Domain=messaging-app X-Ubuntu-Single-Instance=true X-Screenshot=@CMAKE_INSTALL_PREFIX@/@MESSAGING_APP_DIR@/assets/messaging-app-screenshot.png messaging-app-0.1+14.04.20140410.1/src/messaging-app.url-dispatcher0000644000015301777760000000004212321541564025026 0ustar pbusernogroup00000000000000[ { "protocol": "message" } ] messaging-app-0.1+14.04.20140410.1/src/messagingapplication.cpp0000644000015301777760000001402112321541573024332 0ustar pbusernogroup00000000000000/* * Copyright (C) 2012 Canonical, Ltd. * * This file is part of messaging-app. * * messaging-app is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 3. * * messaging-app is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #include "messagingapplication.h" #include #include #include #include #include #include #include #include #include #include #include #include #include "config.h" #include static void printUsage(const QStringList& arguments) { qDebug() << "usage:" << arguments.at(0).toUtf8().constData() << "[message:///PHONE_NUMBER]" << "[--fullscreen]" << "[--help]" << "[-testability]"; } //this is necessary to work on desktop //On desktop use: export MESSAGING_APP_ICON_THEME=ubuntu-mobile static void installIconPath() { QByteArray iconTheme = qgetenv("MESSAGING_APP_ICON_THEME"); if (!iconTheme.isEmpty()) { QIcon::setThemeName(iconTheme); } } MessagingApplication::MessagingApplication(int &argc, char **argv) : QGuiApplication(argc, argv), m_view(0), m_applicationIsReady(false) { setApplicationName("MessagingApp"); } bool MessagingApplication::setup() { installIconPath(); static QList validSchemes; bool fullScreen = false; if (validSchemes.isEmpty()) { validSchemes << "message"; } QStringList arguments = this->arguments(); if (arguments.contains("--help")) { printUsage(arguments); return false; } if (arguments.contains("--fullscreen")) { arguments.removeAll("--fullscreen"); fullScreen = true; } // The testability driver is only loaded by QApplication but not by QGuiApplication. // However, QApplication depends on QWidget which would add some unneeded overhead => Let's load the testability driver on our own. if (arguments.contains("-testability") || qgetenv("QT_LOAD_TESTABILITY") == "1") { arguments.removeAll("-testability"); QLibrary testLib(QLatin1String("qttestability")); if (testLib.load()) { typedef void (*TasInitialize)(void); TasInitialize initFunction = (TasInitialize)testLib.resolve("qt_testability_init"); if (initFunction) { initFunction(); } else { qCritical("Library qttestability resolve failed!"); } } else { qCritical("Library qttestability load failed!"); } } /* Ubuntu APP Manager gathers info on the list of running applications from the .desktop file specified on the command line with the desktop_file_hint switch, and will also pass a stage hint So app will be launched like this: /usr/bin/messaging-app --desktop_file_hint=/usr/share/applications/messaging-app.desktop --stage_hint=main_stage So remove whatever --arg still there before continue parsing */ for (int i = arguments.count() - 1; i >=0; --i) { if (arguments[i].startsWith("--")) { arguments.removeAt(i); } } if (arguments.size() == 2) { QUrl uri(arguments.at(1)); if (validSchemes.contains(uri.scheme())) { m_arg = arguments.at(1); } } m_view = new QQuickView(); QObject::connect(m_view, SIGNAL(statusChanged(QQuickView::Status)), this, SLOT(onViewStatusChanged(QQuickView::Status))); QObject::connect(m_view->engine(), SIGNAL(quit()), SLOT(quit())); m_view->setResizeMode(QQuickView::SizeRootObjectToView); m_view->setTitle("Messaging"); m_view->rootContext()->setContextProperty("application", this); m_view->engine()->setBaseUrl(QUrl::fromLocalFile(messagingAppDirectory())); // check if there is a contacts backend override QString contactsBackend = qgetenv("QTCONTACTS_MANAGER_OVERRIDE"); if (!contactsBackend.isEmpty()) { qDebug() << "Overriding the contacts backend, using:" << contactsBackend; m_view->rootContext()->setContextProperty("QTCONTACTS_MANAGER_OVERRIDE", contactsBackend); } QString pluginPath = ubuntuPhonePluginPath(); if (!pluginPath.isNull()) { m_view->engine()->addImportPath(pluginPath); } m_view->setSource(QUrl::fromLocalFile("messaging-app.qml")); if (fullScreen) { m_view->showFullScreen(); } else { m_view->show(); } return true; } MessagingApplication::~MessagingApplication() { if (m_view) { delete m_view; } } void MessagingApplication::onViewStatusChanged(QQuickView::Status status) { if (status != QQuickView::Ready) { return; } onApplicationReady(); } void MessagingApplication::onApplicationReady() { m_applicationIsReady = true; parseArgument(m_arg); m_arg.clear(); } void MessagingApplication::parseArgument(const QString &arg) { if (arg.isEmpty()) { return; } QUrl url(arg); QString scheme = url.scheme(); // Remove the first "/" QString value = url.path().right(url.path().length() -1); QQuickItem *mainView = m_view->rootObject(); if (!mainView) { return; } if (scheme == "message") { if (!value.isEmpty()) { QMetaObject::invokeMethod(mainView, "startChat", Q_ARG(QVariant, value)); } else { QMetaObject::invokeMethod(mainView, "startNewMessage"); } } } void MessagingApplication::activateWindow() { if (m_view) { m_view->raise(); m_view->requestActivate(); } } messaging-app-0.1+14.04.20140410.1/src/main.cpp0000644000015301777760000000241712321541564021063 0ustar pbusernogroup00000000000000/* * Copyright (C) 2012-2013 Canonical, Ltd. * * Authors: * Olivier Tilloy * * This file is part of messaging-app. * * messaging-app is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 3. * * messaging-app is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ // Qt #include #include #include #include // libc #include #include #include // local #include "messagingapplication.h" #include "config.h" // Temporarily disable the telepathy folks backend // as it doesn’t play well with QtFolks. int main(int argc, char** argv) { QGuiApplication::setApplicationName("Messaging App"); MessagingApplication application(argc, argv); if (!application.setup()) { return 0; } return application.exec(); } messaging-app-0.1+14.04.20140410.1/src/CMakeLists.txt0000644000015301777760000000217012321541564022167 0ustar pbusernogroup00000000000000set(MESSAGING_APP messaging-app) set(messaging_app_HDRS messagingapplication.h ) set(messaging_app_SRCS messagingapplication.cpp main.cpp ) add_executable(${MESSAGING_APP} ${messaging_app_SRCS} ) qt5_use_modules(${MESSAGING_APP} Core DBus Gui Qml Quick) include_directories( ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ) install(TARGETS ${MESSAGING_APP} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} ) # Handle i18n in the desktop file set(DESKTOP_FILE ${MESSAGING_APP}.desktop) file(REMOVE ${CMAKE_CURRENT_BINARY_DIR}/${DESKTOP_FILE}) file(STRINGS ${DESKTOP_FILE}.in DESKTOP_FILE_CONTENTS) foreach(LINE ${DESKTOP_FILE_CONTENTS}) string(REGEX REPLACE "tr\\\(\"(.*)\"\\\)" "\\1" LINE "${LINE}") string(CONFIGURE "${LINE}" LINE) file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/${DESKTOP_FILE} "${LINE}\n") endforeach(LINE) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${DESKTOP_FILE} DESTINATION ${CMAKE_INSTALL_DATADIR}/applications ) install(FILES "messaging-app.url-dispatcher" DESTINATION ${CMAKE_INSTALL_DATADIR}/url-dispatcher/urls ) add_subdirectory(qml) messaging-app-0.1+14.04.20140410.1/src/qml/0000755000015301777760000000000012321542175020217 5ustar pbusernogroup00000000000000messaging-app-0.1+14.04.20140410.1/src/qml/dateUtils.js0000644000015301777760000000430312321541564022514 0ustar pbusernogroup00000000000000/* * Copyright 2012-2013 Canonical Ltd. * * This file is part of messaging-app. * * messaging-app is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 3. * * messaging-app is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ function areSameDay(date1, date2) { return date1.getFullYear() == date2.getFullYear() && date1.getMonth() == date2.getMonth() && date1.getDate() == date2.getDate() } function formatLogDate(timestamp) { var today = new Date() var date = new Date(timestamp) if (areSameDay(today, date)) { return Qt.formatTime(timestamp, Qt.DefaultLocaleShortDate) } else { return Qt.formatDateTime(timestamp, Qt.DefaultLocaleShortDate) } } function friendlyDay(timestamp) { var date = new Date(timestamp); var today = new Date(); var yesterday = new Date(); yesterday.setDate(today.getDate()-1); if (areSameDay(today, date)) { return i18n.tr("Today"); } else if (areSameDay(yesterday, date)) { return i18n.tr("Yesterday"); } else { return Qt.formatDate(date, Qt.DefaultLocaleShortDate); } } function formatFriendlyDate(timestamp) { return Qt.formatTime(timestamp, Qt.DefaultLocaleShortDate) + " - " + friendlyDay(timestamp); } function formatFriendlyCallDuration(duration) { var time = new Date(duration); var text = ""; var hours = time.getHours(); var minutes = time.getMinutes(); var seconds = time.getSeconds(); if (hours > 0) { text = i18n.tr("%1 hour call", "%1 hours call", hours).arg(hours) } else if (minutes > 0) { text = i18n.tr("%1 minute call", "%1 minutes call", minutes).arg(minutes) } else { text = i18n.tr("%1 second call", "%1 seconds call", seconds).arg(seconds) } return text; } messaging-app-0.1+14.04.20140410.1/src/qml/StandardAnimation.qml0000644000015301777760000000137712321541564024343 0ustar pbusernogroup00000000000000/* * Copyright 2012-2013 Canonical Ltd. * * This file is part of messaging-app. * * messaging-app is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 3. * * messaging-app is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ import QtQuick 2.0 NumberAnimation { duration: 300 easing.type: Easing.InOutQuad } messaging-app-0.1+14.04.20140410.1/src/qml/assets/0000755000015301777760000000000012321542175021521 5ustar pbusernogroup00000000000000messaging-app-0.1+14.04.20140410.1/src/qml/assets/contact_defaulticon@27.png0000644000015301777760000002337112321541564026517 0ustar pbusernogroup00000000000000PNG  IHDRlltEXtSoftwareAdobe ImageReadyqe<#iTXtXML:com.adobe.xmp Ys#lIDATxt]ےGnjII\Z^OX?x#7]J% We8Y"{RS_f"*'gKW6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#EvF;_#"!cQ֖REl]| 򞪞<jIͨTʢ]OG>^3b׊1as_{mRel6|!:pJ39b)B6K)X+E>A+ee^P` +;?z3c/emEoo}kX-h.YEKGV&SvD>;8c+e!8OApٕRVf*[;|h™OozC2M)+ Y0^cM) *\;#[,eyr/= Jʾdøum;\ѝUWa63eY0CE)yʶ6o4Xl 0GZۯ)ePmZNhv˥R mgM)]i7v0vWloUWWX,">e^}4=&\ʶWl좔`¥,c `4K1km0#/R6gLVԥf|`dJ)s`tgZvXc6Yʒ2ѭZ^S6kLVRl]UK[XUK6YSjim+/VnC )2ƭ2˵_l[m1SVȏV[̔2[\m1S)eSP̔2)(fJ3 ` R0,KY?d&W̚RR0,Kry0bl)fL5)L 3[bLA1kJ-1o>54 z.r_TS{#V&S>y$G+e.dR0B֔27$`!,eP!,evP!kJY:c&SȚR/ǸL5,w?e&SȚRW&WȚRW^`B,VL bys{WZȚR VZRL!kJY){ј$F!,e+HG~F!kJYqINj=F!,e0#Km5;6C}Nfr쐱ӭr̫+ޟ5,`(Gz'3e2CɬUX,rom]y9X)La<9+erߑǍ1eege'l~l.+P˿:)eXg5%=9R4vR ܙ'Rv7_)+W=0Sr|߯곊'~?18?#ߍlJY|@Sr߫}y=P.\.2r~[GIKY5e{#_3h9PkU}]}LY\[#|"rXCGߌ|#/BWdi2eṱ=];qOT)_D9e!K)kY\WGvG/&p %\y#/vqȥQOc#r{yp5ٯCU^7g [)-\;7T)(gJ9QXxK+JI=S$M_"k)_?b|dqF*el]URrCd[d{|>+%mpFm:ʲ>jM ϖ9^~h)fGzq͌R.(hYGru8P~+ϕ4p̖g/+7xm~eˋOSR)hqψuVʮP֕x3-R+.m>IENDB`messaging-app-0.1+14.04.20140410.1/src/qml/assets/conversation_incoming@18.png0000644000015301777760000001004512321541564027076 0ustar pbusernogroup00000000000000PNG  IHDRei{TutEXtSoftwareAdobe ImageReadyqe<$iTXtXML:com.adobe.xmp F IDATxo[gc'vmN Ҵ .= jBl   PQФmKbys3K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ntu.History 0.1 import Ubuntu.Telephony 0.1 import "dateUtils.js" as DateUtils import "3rd_party/ba-linkify.js" as BaLinkify ListItem.Empty { id: messageDelegate property bool incoming: false property string textColor: incoming ? "#333333" : "#ffffff" property bool selectionMode: false property bool unread: false anchors.left: parent ? parent.left : undefined anchors.right: parent ? parent.right: undefined height: bubble.height showDivider: false highlightWhenPressed: false signal resend() onPressAndHold: PopupUtils.open(popoverMenuComponent, messageDelegate) Item { Component { id: popoverMenuComponent Popover { id: popover Column { id: containerLayout anchors { left: parent.left top: parent.top right: parent.right } ListItem.Standard { text: i18n.tr("Copy") onClicked: { Clipboard.push(textMessage); PopupUtils.close(popover) } } } } } } Item { Component { id: popoverComponent Popover { id: popover Column { id: containerLayout anchors { left: parent.left top: parent.top right: parent.right } ListItem.Standard { text: i18n.tr("Try again") enabled: telepathyHelper.connected onClicked: { resend() PopupUtils.close(popover) } } ListItem.Standard { text: i18n.tr("Cancel") onClicked: { eventModel.removeEvent(accountId, threadId, eventId, type) PopupUtils.close(popover) } } } } } } Icon { id: selectionIndicator visible: selectionMode name: "select" height: units.gu(3) width: units.gu(3) anchors.right: incoming ? undefined : bubble.left anchors.left: incoming ? bubble.right : undefined anchors.verticalCenter: bubble.verticalCenter anchors.leftMargin: incoming ? units.gu(2) : 0 anchors.rightMargin: incoming ? 0 : units.gu(2) color: selected ? "white" : "grey" } ActivityIndicator { id: indicator height: units.gu(3) width: units.gu(3) anchors.right: bubble.left anchors.left: undefined anchors.verticalCenter: bubble.verticalCenter anchors.leftMargin: 0 anchors.rightMargin: units.gu(1) visible: running && !selectionMode // if temporarily failed or unknown status, then show the spinner running: (textMessageStatus == HistoryThreadModel.MessageStatusUnknown || textMessageStatus == HistoryThreadModel.MessageStatusTemporarilyFailed) && !incoming } // FIXME: this is just a temporary workaround while we dont have the final design UbuntuShape { id: warningButton color: "yellow" height: units.gu(3) width: units.gu(3) anchors.right: bubble.left anchors.left: undefined anchors.verticalCenter: bubble.verticalCenter anchors.leftMargin: 0 anchors.rightMargin: units.gu(1) visible: (textMessageStatus == HistoryThreadModel.MessageStatusPermanentlyFailed) && !incoming && !selectionMode MouseArea { anchors.fill: parent onClicked: PopupUtils.open(popoverComponent, warningButton) } Label { text: "!" color: "black" anchors.centerIn: parent } } onItemRemoved: { eventModel.removeEvent(accountId, threadId, eventId, type) } BorderImage { id: bubble anchors.left: incoming ? parent.left : undefined anchors.leftMargin: units.gu(1) anchors.right: incoming ? undefined : parent.right anchors.rightMargin: units.gu(1) anchors.top: parent.top function selectBubble() { var fileName = "assets/conversation_"; if (incoming) { fileName += "incoming.sci"; } else { fileName += "outgoing.sci"; } return fileName; } source: selectBubble() height: messageContents.height + units.gu(4) Item { id: messageContents anchors { top: parent.top topMargin: units.gu(2) left: parent.left leftMargin: incoming ? units.gu(3) : units.gu(2) right: parent.right rightMargin: units.gu(3) } height: childrenRect.height // TODO: to be used only on multiparty chat Label { id: senderName anchors.top: parent.top height: text == "" ? 0 : paintedHeight fontSize: "large" color: textColor text: "" } Label { id: date objectName: 'messageDate' anchors.top: senderName.bottom height: paintedHeight fontSize: "x-small" color: textColor text: { if (indicator.visible) i18n.tr("Sending...") else if (warningButton.visible) i18n.tr("Failed") else DateUtils.friendlyDay(timestamp) + " " + Qt.formatDateTime(timestamp, "hh:mm AP") } } Label { id: messageText objectName: 'messageText' anchors.top: date.bottom anchors.topMargin: units.gu(1) anchors.left: parent.left anchors.right: parent.right height: paintedHeight wrapMode: Text.WrapAtWordBoundaryOrAnywhere fontSize: "medium" color: textColor opacity: incoming ? 1 : 0.9 text: parseText(textMessage) onLinkActivated: Qt.openUrlExternally(link) function parseText(text) { var phoneExp = /(\+?([0-9]+[ ]?)?\(?([0-9]+)\)?[-. ]?([0-9]+)[-. ]?([0-9]+)[-. ]?([0-9]+))/img; // remove html tags text = text.replace(//g,'>'); // replace line breaks text = text.replace(/(\n)+/g, '
'); // check for links text = BaLinkify.linkify(text); // linkify phone numbers return text.replace(phoneExp, '$1'); } } } } } messaging-app-0.1+14.04.20140410.1/src/qml/ThreadDelegate.qml0000644000015301777760000001337412321541564023605 0ustar pbusernogroup00000000000000/* * Copyright 2012-2013 Canonical Ltd. * * This file is part of messaging-app. * * messaging-app is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 3. * * messaging-app is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ import QtQuick 2.0 import Ubuntu.Components 0.1 import Ubuntu.Components.ListItems 0.1 as ListItem import Ubuntu.Components.Popups 0.1 import Ubuntu.Telephony 0.1 import Ubuntu.Contacts 0.1 import QtContacts 5.0 ListItem.Empty { id: delegate property bool groupChat: participants.length > 1 property string groupChatLabel: { var firstRecipient if (unknownContact) { firstRecipient = delegateHelper.phoneNumber } else { firstRecipient = delegateHelper.alias } if (participants.length > 1) return firstRecipient + " +" + String(participants.length-1) return firstRecipient } property bool unknownContact: delegateHelper.isUnknown property bool selectionMode: false anchors.left: parent.left anchors.right: parent.right height: units.gu(10) // FIXME: the selected state should be handled by the UITK Item { id: selection anchors { top: parent.top bottom: parent.bottom right: parent.right } width: visible ? units.gu(6) : 0 opacity: selectionMode ? 1.0 : 0.0 visible: opacity > 0.0 Behavior on width { UbuntuNumberAnimation { } } Behavior on opacity { UbuntuNumberAnimation { } } Rectangle { id: selectionIndicator anchors.fill: parent color: "black" opacity: 0.2 } Icon { anchors.centerIn: selectionIndicator name: "select" height: units.gu(3) width: units.gu(3) color: selected ? "white" : "grey" Behavior on color { ColorAnimation { duration: 100 } } } } UbuntuShape { id: avatar height: units.gu(6) width: units.gu(6) radius: "medium" anchors { left: parent.left leftMargin: units.gu(2) verticalCenter: parent.verticalCenter } image: Image { property bool defaultAvatar: unknownContact || delegateHelper.avatar === "" anchors.fill: parent fillMode: Image.PreserveAspectCrop source: defaultAvatar ? Qt.resolvedUrl("assets/contact_defaulticon.png") : delegateHelper.avatar asynchronous: true sourceSize.width: defaultAvatar ? undefined : width * 1.5 sourceSize.height: defaultAvatar ? undefined : height * 1.5 } } Label { id: contactName anchors { top: avatar.top left: avatar.right leftMargin: units.gu(2) } fontSize: "medium" text: groupChat ? groupChatLabel : unknownContact ? delegateHelper.phoneNumber : delegateHelper.alias } Label { id: time anchors { verticalCenter: contactName.verticalCenter right: selection.left rightMargin: units.gu(3) } fontSize: "x-small" color: "white" text: Qt.formatDateTime(eventTimestamp,"hh:mm AP") } Label { id: phoneType anchors { top: contactName.bottom left: contactName.left } text: delegateHelper.phoneNumberSubTypeLabel color: "gray" fontSize: "x-small" } Label { id: latestMessage height: units.gu(3) anchors { top: phoneType.bottom topMargin: units.gu(0.5) left: phoneType.left right: selection.left rightMargin: units.gu(3) } elide: Text.ElideRight maximumLineCount: 2 fontSize: "small" wrapMode: Text.WordWrap text: eventTextMessage == undefined ? "" : eventTextMessage opacity: 0.2 } onItemRemoved: { threadModel.removeThread(accountId, threadId, type) } Item { id: delegateHelper property alias phoneNumber: watcherInternal.phoneNumber property alias alias: watcherInternal.alias property alias avatar: watcherInternal.avatar property alias contactId: watcherInternal.contactId property alias subTypes: phoneDetail.subTypes property alias contexts: phoneDetail.contexts property alias isUnknown: watcherInternal.isUnknown property string phoneNumberSubTypeLabel: "" function updateSubTypeLabel() { phoneNumberSubTypeLabel = isUnknown ? "" : phoneTypeModel.get(phoneTypeModel.getTypeIndex(phoneDetail)).label } onSubTypesChanged: updateSubTypeLabel(); onContextsChanged: updateSubTypeLabel(); onIsUnknownChanged: updateSubTypeLabel(); ContactWatcher { id: watcherInternal phoneNumber: participants[0] } PhoneNumber { id: phoneDetail contexts: watcherInternal.phoneNumberContexts subTypes: watcherInternal.phoneNumberSubTypes } ContactDetailPhoneNumberTypeModel { id: phoneTypeModel } } } messaging-app-0.1+14.04.20140410.1/src/qml/Messages.qml0000644000015301777760000004353112321541573022510 0ustar pbusernogroup00000000000000/* * Copyright 2012, 2013, 2014 Canonical Ltd. * * This file is part of messaging-app. * * messaging-app is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 3. * * messaging-app is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ import QtQuick 2.0 import QtQuick.Window 2.0 import QtContacts 5.0 import Ubuntu.Components 0.1 import Ubuntu.Components.ListItems 0.1 as ListItem import Ubuntu.Components.Popups 0.1 import Ubuntu.History 0.1 import Ubuntu.Telephony 0.1 import Ubuntu.Contacts 0.1 import QtContacts 5.0 Page { id: messages objectName: "messagesPage" property string threadId: "" // FIXME: we should get the account ID properly when dealing with multiple accounts property string accountId: telepathyHelper.accountIds[0] property variant participants: [] property bool groupChat: participants.length > 1 property bool keyboardFocus: true property alias selectionMode: messageList.isInSelectionMode // FIXME: MainView should provide if the view is in portait or landscape property int orientationAngle: Screen.angleBetween(Screen.primaryOrientation, Screen.orientation) property bool landscape: orientationAngle == 90 || orientationAngle == 270 property bool pendingMessage: false flickable: null title: { if (landscape) { return "" } if (participants.length > 0) { var firstRecipient = "" if (contactWatcher.isUnknown) { firstRecipient = contactWatcher.phoneNumber } else { firstRecipient = contactWatcher.alias } if (participants.length == 1) { return firstRecipient } else { var numOther = participants.length-1 return firstRecipient + " +" + i18n.tr("%1 other", "%1 others", numOther).arg(numOther) } } return i18n.tr("New Message") } tools: messagesToolbar onSelectionModeChanged: messagesToolbar.opened = false Component.onCompleted: { threadId = getCurrentThreadId() } function getCurrentThreadId() { if (participants.length == 0) return "" return eventModel.threadIdForParticipants(accountId, HistoryThreadModel.EventTypeText, participants, HistoryThreadModel.MatchPhoneNumber) } function markMessageAsRead(accountId, threadId, eventId, type) { return eventModel.markEventAsRead(accountId, threadId, eventId, type); } Component { id: participantsPopover Popover { id: popover Column { id: containerLayout anchors { left: parent.left top: parent.top right: parent.right } Repeater { model: participants Item { height: childrenRect.height width: popover.width ListItem.Standard { id: listItem text: contactWatcher.isUnknown ? contactWatcher.phoneNumber : contactWatcher.alias } ContactWatcher { id: contactWatcher phoneNumber: modelData } } } } } } Item { id: headerContent visible: groupChat anchors.fill: parent Label { text: messages.title fontSize: "x-large" font.weight: Font.Light verticalAlignment: Text.AlignVCenter elide: Text.ElideRight anchors { left: parent.left leftMargin: units.gu(1) top: parent.top bottom: parent.bottom right: participantsButton.left } } Icon { id: participantsButton name: "navigation-menu" width: visible ? units.gu(6) : 0 height: units.gu(6) visible: groupChat anchors { verticalCenter: parent.verticalCenter right: parent.right } MouseArea { anchors.fill: parent onClicked: PopupUtils.open(participantsPopover, participantsButton) } } } Binding { target: messages.header property: "contents" value: groupChat ? headerContent : null when: messages.header && !landscape && messages.active } Component { id: newContactDialog Dialog { id: dialogue title: i18n.tr("Save contact") text: i18n.tr("How do you want to save the contact?") Button { text: i18n.tr("Add to existing contact") color: UbuntuColors.orange onClicked: { PopupUtils.open(addPhoneNumberToContactSheet) PopupUtils.close(dialogue) } } Button { text: i18n.tr("Create new contact") color: UbuntuColors.orange onClicked: { Qt.openUrlExternally("addressbook:///create?phone=" + encodeURIComponent(contactWatcher.phoneNumber)); PopupUtils.close(dialogue) } } Button { text: i18n.tr("Cancel") color: UbuntuColors.warmGrey onClicked: { PopupUtils.close(dialogue) } } } } ContactWatcher { id: contactWatcher phoneNumber: participants.length > 0 ? participants[0] : "" } onParticipantsChanged: { threadId = getCurrentThreadId() } Component { id: addPhoneNumberToContactSheet DefaultSheet { // FIXME: workaround to set the contact list // background to black Rectangle { anchors.fill: parent anchors.margins: -units.gu(1) color: "#221e1c" } id: sheet title: i18n.tr("Add to contact") doneButton: false modal: true contentsHeight: parent.height contentsWidth: parent.width ContactListView { anchors.fill: parent onContactClicked: { Qt.openUrlExternally("addressbook:///addphone?id=" + encodeURIComponent(contact.contactId) + "&phone=" + encodeURIComponent(contactWatcher.phoneNumber)) PopupUtils.close(sheet) } } onDoneClicked: PopupUtils.close(sheet) } } Component { id: addContactToConversationSheet DefaultSheet { // FIXME: workaround to set the contact list // background to black Rectangle { anchors.fill: parent anchors.margins: -units.gu(1) color: "#221e1c" } id: sheet title: i18n.tr("Add Contact") doneButton: false modal: true contentsHeight: parent.height contentsWidth: parent.width ContactListView { anchors.fill: parent detailToPick: ContactDetail.PhoneNumber onContactClicked: { // FIXME: search for favorite number multiRecipient.addRecipient(contact.phoneNumber.number) multiRecipient.forceActiveFocus() PopupUtils.close(sheet) } onDetailClicked: { multiRecipient.addRecipient(detail.number) PopupUtils.close(sheet) multiRecipient.forceActiveFocus() } } onDoneClicked: PopupUtils.close(sheet) } } ToolbarItems { id: messagesToolbar ToolbarButton { objectName: "selectMessagesButton" visible: messageList.count !== 0 action: Action { iconSource: "image://theme/select" text: i18n.tr("Select") onTriggered: messageList.startSelection() } } ToolbarButton { visible: contactWatcher.isUnknown && participants.length == 1 objectName: "addContactButton" action: Action { iconSource: "image://theme/new-contact" text: i18n.tr("Add") onTriggered: { PopupUtils.open(newContactDialog) messagesToolbar.opened = false } } } ToolbarButton { visible: !contactWatcher.isUnknown && participants.length == 1 objectName: "contactProfileButton" action: Action { iconSource: "image://theme/contact" text: i18n.tr("Contact") onTriggered: { Qt.openUrlExternally("addressbook:///contact?id=" + encodeURIComponent(contactWatcher.contactId)) messagesToolbar.opened = false } } } ToolbarButton { visible: participants.length == 1 objectName: "contactCallButton" action: Action { iconSource: "image://theme/call-start" text: i18n.tr("Call") onTriggered: { Qt.openUrlExternally("tel:///" + encodeURIComponent(contactWatcher.phoneNumber)) messagesToolbar.opened = false } } } locked: selectionMode } HistoryEventModel { id: eventModel type: HistoryThreadModel.EventTypeText filter: HistoryIntersectionFilter { HistoryFilter { filterProperty: "threadId" filterValue: threadId } HistoryFilter { filterProperty: "accountId" filterValue: accountId } } sort: HistorySort { sortField: "timestamp" sortOrder: HistorySort.DescendingOrder } } SortProxyModel { id: sortProxy sourceModel: eventModel sortRole: HistoryEventModel.TimestampRole ascending: false } Icon { id: addIcon visible: multiRecipient.visible height: units.gu(3) width: units.gu(3) anchors { right: parent.right rightMargin: units.gu(2) top: parent.top topMargin: units.gu(1) } name: "new-contact" color: "white" MouseArea { anchors.fill: parent onClicked: { var item = keyboard.recursiveFindFocusedItem(messages) if (item) { item.focus = false } PopupUtils.open(addContactToConversationSheet) } } } MultiRecipientInput { id: multiRecipient objectName: "multiRecipient" visible: participants.length == 0 enabled: visible anchors { top: parent.top topMargin: units.gu(1) left: parent.left right: addIcon.left } } MultipleSelectionListView { id: messageList objectName: "messageList" clip: true acceptAction.text: i18n.tr("Delete") acceptAction.enabled: selectedItems.count > 0 anchors { top: multiRecipient.bottom left: parent.left right: parent.right bottom: bottomPanel.top } // TODO: workaround to add some extra space at the bottom and top header: Item { height: units.gu(2) } footer: Item { height: units.gu(2) } listModel: threadId !== "" ? sortProxy : null verticalLayoutDirection: ListView.BottomToTop spacing: units.gu(2) highlightFollowsCurrentItem: false listDelegate: MessageDelegate { id: messageDelegate objectName: "message%1".arg(index) incoming: senderId != "self" selected: messageList.isSelected(messageDelegate) unread: newEvent removable: !messages.selectionMode selectionMode: messages.selectionMode confirmRemoval: true onClicked: { if (messageList.isInSelectionMode) { if (!messageList.selectItem(messageDelegate)) { messageList.deselectItem(messageDelegate) } } } Component.onCompleted: { if (newEvent) { messages.markMessageAsRead(accountId, threadId, eventId, type); } } onResend: { // resend this message and remove the old one eventModel.removeEvent(accountId, threadId, eventId, type) chatManager.sendMessage(messages.participants, textMessage, accountId) } } onSelectionDone: { for (var i=0; i < items.count; i++) { var event = items.get(i).model eventModel.removeEvent(event.accountId, event.threadId, event.eventId, event.type) } } onCountChanged: { if (messages.pendingMessage) { messageList.contentY = 0 messages.pendingMessage = false } } } Item { id: bottomPanel anchors.bottom: keyboard.top anchors.bottomMargin: selectionMode ? 0 : units.gu(2) anchors.left: parent.left anchors.right: parent.right height: selectionMode ? 0 : textEntry.height + attachButton.height + units.gu(4) visible: !selectionMode clip: true Behavior on height { UbuntuNumberAnimation { } } ListItem.ThinDivider { anchors.top: parent.top } TextArea { id: textEntry anchors.bottomMargin: units.gu(2) anchors.bottom: attachButton.top anchors.left: parent.left anchors.leftMargin: units.gu(2) anchors.right: parent.right anchors.rightMargin: units.gu(2) height: units.gu(5) autoSize: true placeholderText: i18n.tr("Write a message...") focus: false font.family: "Ubuntu" InverseMouseArea { anchors.fill: parent visible: textEntry.activeFocus onClicked: { textEntry.focus = false; } } Component.onCompleted: { if (messages.keyboardFocus && participants.length != 0) { textEntry.forceActiveFocus() } } } Button { id: attachButton anchors.left: parent.left anchors.leftMargin: units.gu(2) anchors.bottom: parent.bottom text: "Attach" width: units.gu(17) color: "gray" visible: false } Button { anchors.right: parent.right anchors.rightMargin: units.gu(2) anchors.bottom: parent.bottom text: "Send" width: units.gu(17) enabled: (textEntry.text != "" || textEntry.inputMethodComposing) && telepathyHelper.connected && (participants.length > 0 || multiRecipient.recipientCount > 0 ) onClicked: { // make sure we flush everything we have prepared in the OSK preedit Qt.inputMethod.commit(); if (textEntry.text == "") { return } if (participants.length == 0 && multiRecipient.recipientCount > 0) { participants = multiRecipient.recipients } if (messages.accountId == "") { // FIXME: handle dual sim messages.accountId = telepathyHelper.accountIds[0] } if (messages.threadId == "") { // create the new thread and get the threadId messages.threadId = eventModel.threadIdForParticipants(messages.accountId, HistoryThreadModel.EventTypeText, participants, HistoryThreadModel.MatchPhoneNumber, true) } messages.pendingMessage = true chatManager.sendMessage(participants, textEntry.text, messages.accountId) textEntry.text = "" } } } KeyboardRectangle { id: keyboard } Scrollbar { flickableItem: messageList align: Qt.AlignTrailing } } messaging-app-0.1+14.04.20140410.1/src/qml/messaging-app.qml0000644000015301777760000000537112321541573023474 0ustar pbusernogroup00000000000000/* * Copyright 2012-2013 Canonical Ltd. * * This file is part of messaging-app. * * messaging-app is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 3. * * messaging-app is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ import QtQuick 2.0 import Ubuntu.Components 0.1 import Ubuntu.Components.ListItems 0.1 as ListItem import Ubuntu.Components.Popups 0.1 import Ubuntu.Telephony 0.1 MainView { id: mainView automaticOrientation: true width: units.gu(40) height: units.gu(71) property string newPhoneNumber Component.onCompleted: { Theme.name = "Ubuntu.Components.Themes.SuruGradient" mainStack.push(Qt.resolvedUrl("MainPage.qml")) } signal applicationReady function emptyStack() { while (mainStack.depth !== 1 && mainStack.depth !== 0) { mainStack.pop() } } function startNewMessage() { var properties = {} emptyStack() mainStack.push(Qt.resolvedUrl("Messages.qml"), properties) } function startChat(phoneNumber) { var properties = {} var participants = [phoneNumber] properties["participants"] = participants emptyStack() if (phoneNumber === "") { return; } mainStack.push(Qt.resolvedUrl("Messages.qml"), properties) } Connections { target: UriHandler onOpened: { for (var i = 0; i < uris.length; ++i) { application.parseArgument(uris[i]) } } } Component { id: newcontactPopover Popover { id: popover Column { id: containerLayout anchors { left: parent.left top: parent.top right: parent.right } ListItem.Standard { text: i18n.tr("Add to existing contact") } ListItem.Standard { text: i18n.tr("Create new contact") onClicked: { Qt.openUrlExternally("addressbook:///create?phone=" + encodeURIComponent(newPhoneNumber)) popover.hide() } } } } } PageStack { id: mainStack objectName: "mainStack" anchors.fill: parent } } messaging-app-0.1+14.04.20140410.1/src/qml/3rd_party/0000755000015301777760000000000012321542175022126 5ustar pbusernogroup00000000000000messaging-app-0.1+14.04.20140410.1/src/qml/3rd_party/ba-linkify.js0000644000015301777760000001574712321541573024530 0ustar pbusernogroup00000000000000/*! * JavaScript Linkify - v0.3 - 6/27/2009 * http://benalman.com/projects/javascript-linkify/ * * Copyright (c) 2009 "Cowboy" Ben Alman * Dual licensed under the MIT and GPL licenses. * http://benalman.com/about/license/ * * Some regexps adapted from http://userscripts.org/scripts/review/7122 */ // Script: JavaScript Linkify: Process links in text! // // *Version: 0.3, Last updated: 6/27/2009* // // Project Home - http://benalman.com/projects/javascript-linkify/ // GitHub - http://github.com/cowboy/javascript-linkify/ // Source - http://github.com/cowboy/javascript-linkify/raw/master/ba-linkify.js // (Minified) - http://github.com/cowboy/javascript-linkify/raw/master/ba-linkify.min.js (2.8kb) // // About: License // // Copyright (c) 2009 "Cowboy" Ben Alman, // Dual licensed under the MIT and GPL licenses. // http://benalman.com/about/license/ // // About: Examples // // This working example, complete with fully commented code, illustrates one way // in which this code can be used. // // Linkify - http://benalman.com/code/projects/javascript-linkify/examples/linkify/ // // About: Support and Testing // // Information about what browsers this code has been tested in. // // Browsers Tested - Internet Explorer 6-8, Firefox 2-3.7, Safari 3-4, Chrome, Opera 9.6-10. // // About: Release History // // 0.3 - (6/27/2009) Initial release // Function: linkify // // Turn text into linkified html. // // Usage: // // > var html = linkify( text [, options ] ); // // Arguments: // // text - (String) Non-HTML text containing links to be parsed. // options - (Object) An optional object containing linkify parse options. // // Options: // // callback (Function) - If specified, this will be called once for each link- // or non-link-chunk with two arguments, text and href. If the chunk is // non-link, href will be omitted. If unspecified, the default linkification // callback is used. // punct_regexp (RegExp) - A RegExp that will be used to trim trailing // punctuation from links, instead of the default. If set to null, trailing // punctuation will not be trimmed. // // Returns: // // (String) An HTML string containing links. var SCHEME = "[a-z\\d.-]+://", IPV4 = "(?:(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])\\.){3}(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])", HOSTNAME = "(?:(?:[^\\s!@#$%^&*()_=+[\\]{}\\\\|;:'\",.<>/?]+)\\.)+", TLD = "(?:ac|ad|aero|ae|af|ag|ai|al|am|an|ao|aq|arpa|ar|asia|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|biz|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|cat|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|coop|com|co|cr|cu|cv|cx|cy|cz|de|dj|dk|dm|do|dz|ec|edu|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gov|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|info|int|in|io|iq|ir|is|it|je|jm|jobs|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mil|mk|ml|mm|mn|mobi|mo|mp|mq|mr|ms|mt|museum|mu|mv|mw|mx|my|mz|name|na|nc|net|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|org|pa|pe|pf|pg|ph|pk|pl|pm|pn|pro|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sy|sz|tc|td|tel|tf|tg|th|tj|tk|tl|tm|tn|to|tp|travel|tr|tt|tv|tw|tz|ua|ug|uk|um|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|xn--0zwm56d|xn--11b5bs3a9aj6g|xn--80akhbyknj4f|xn--9t4b11yi5a|xn--deba0ad|xn--g6w251d|xn--hgbk6aj7f53bba|xn--hlcj6aya9esc7a|xn--jxalpdlp|xn--kgbechtv|xn--zckzah|ye|yt|yu|za|zm|zw)", HOST_OR_IP = "(?:" + HOSTNAME + TLD + "|" + IPV4 + ")", PATH = "(?:[;/][^#?<>\\s]*)?", QUERY_FRAG = "(?:\\?[^#<>\\s]*)?(?:#[^<>\\s]*)?", URI1 = "\\b" + SCHEME + "[^<>\\s]+", URI2 = "\\b" + HOST_OR_IP + PATH + QUERY_FRAG + "(?!\\w)", MAILTO = "mailto:", EMAIL = "(?:" + MAILTO + ")?[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@" + HOST_OR_IP + QUERY_FRAG + "(?!\\w)", URI_RE = new RegExp( "(?:" + URI1 + "|" + URI2 + "|" + EMAIL + ")", "ig" ), SCHEME_RE = new RegExp( "^" + SCHEME, "i" ), quotes = { "'": "`", '>': '<', ')': '(', ']': '[', '}': '{', '»': '«', '›': '‹' }, default_options = { callback: function( text, href ) { return href ? '' + text + '' : text; }, punct_regexp: /(?:[!?.,:;'"]|(?:&|&)(?:lt|gt|quot|apos|raquo|laquo|rsaquo|lsaquo);)$/ }; function linkify( txt, options ) { options = options || {}; // Temp variables. var arr, i, link, href, // Output HTML. html = '', // Store text / link parts, in order, for re-combination. parts = [], // Used for keeping track of indices in the text. idx_prev, idx_last, idx, link_last, // Used for trimming trailing punctuation and quotes from links. matches_begin, matches_end, quote_begin, quote_end; // Initialize options. for ( i in default_options ) { if ( options[ i ] === undefined ) { options[ i ] = default_options[ i ]; } } // Find links. while ( arr = URI_RE.exec( txt ) ) { link = arr[0]; idx_last = URI_RE.lastIndex; idx = idx_last - link.length; // Not a link if preceded by certain characters. if ( /[\/:]/.test( txt.charAt( idx - 1 ) ) ) { continue; } // Trim trailing punctuation. do { // If no changes are made, we don't want to loop forever! link_last = link; quote_end = link.substr( -1 ) quote_begin = quotes[ quote_end ]; // Ending quote character? if ( quote_begin ) { matches_begin = link.match( new RegExp( '\\' + quote_begin + '(?!$)', 'g' ) ); matches_end = link.match( new RegExp( '\\' + quote_end, 'g' ) ); // If quotes are unbalanced, remove trailing quote character. if ( ( matches_begin ? matches_begin.length : 0 ) < ( matches_end ? matches_end.length : 0 ) ) { link = link.substr( 0, link.length - 1 ); idx_last--; } } // Ending non-quote punctuation character? if ( options.punct_regexp ) { link = link.replace( options.punct_regexp, function(a){ idx_last -= a.length; return ''; }); } } while ( link.length && link !== link_last ); href = link; // Add appropriate protocol to naked links. if ( !SCHEME_RE.test( href ) ) { href = ( href.indexOf( '@' ) !== -1 ? ( !href.indexOf( MAILTO ) ? '' : MAILTO ) : !href.indexOf( 'irc.' ) ? 'irc://' : !href.indexOf( 'ftp.' ) ? 'ftp://' : 'http://' ) + href; } // Push preceding non-link text onto the array. if ( idx_prev != idx ) { parts.push([ txt.slice( idx_prev, idx ) ]); idx_prev = idx_last; } // Push massaged link onto the array parts.push([ link, href ]); }; // Push remaining non-link text onto the array. parts.push([ txt.substr( idx_prev ) ]); // Process the array items. for ( i = 0; i < parts.length; i++ ) { html += options.callback.apply( this, parts[i] ); } // In case of catastrophic failure, return the original text; return html || txt; }; messaging-app-0.1+14.04.20140410.1/src/qml/CMakeLists.txt0000644000015301777760000000067612321541573022771 0ustar pbusernogroup00000000000000file(GLOB QML_JS_FILES *.qml *.js) #set(QML_DIRS # ) add_custom_target(messaging_app_QMlFiles ALL SOURCES ${QML_JS_FILES}) set(ASSETS_DIR assets) set(3RD_PARTY_DIR 3rd_party) install(FILES ${QML_JS_FILES} DESTINATION ${MESSAGING_APP_DIR}) #install(DIRECTORY ${QML_DIRS} DESTINATION ${MESSAGING_APP_DIR}) install(DIRECTORY ${ASSETS_DIR} DESTINATION ${MESSAGING_APP_DIR}) install(DIRECTORY ${3RD_PARTY_DIR} DESTINATION ${MESSAGING_APP_DIR}) messaging-app-0.1+14.04.20140410.1/src/qml/MultiRecipientInput.qml0000644000015301777760000002457312321541564024723 0ustar pbusernogroup00000000000000/* * Copyright 2012-2013 Canonical Ltd. * * This file is part of messaging-app. * * messaging-app is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 3. * * messaging-app is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ import QtQuick 2.0 import Ubuntu.Components 0.1 import Ubuntu.Contacts 0.1 import Ubuntu.Telephony 0.1 import QtContacts 5.0 FocusScope { id: multiRecipientWidget property bool expanded: true property int recipientCount: recipientModel.count-2 property int selectedIndex: -1 property variant recipients: [] property string searchString: "" signal clearSearch() height: !visible ? 0 : expanded ? contactFlow.height : units.gu(4) z: 1 onExpandedChanged: { if(!expanded) selectedIndex = -1 } onActiveFocusChanged: { expanded = activeFocus } function addRecipient(phoneNumber) { for (var i = 0; i 0) { if (selectedIndex != -1) { recipientModel.remove(selectedIndex) selectedIndex = -1 } else { recipientModel.remove(recipientCount) } } else { if (selectedIndex != -1) { recipientModel.remove(selectedIndex) selectedIndex = -1 if (event.key === Qt.Key_Backspace) event.accepted = true } } } } } Component { id: numberRecipientsDelegate Label { height: units.gu(4) verticalAlignment: Text.AlignVCenter color: recipientCount == 0 ? Theme.palette.normal.backgroundText : Theme.palette.normal.foregroundText text: { if (recipientCount > 1) { return "+"+ String(recipientCount-1) } else if (recipientCount == 0) { return i18n.tr("Add contacts...") } else { return "" } } } } spacing: units.gu(1) Repeater { id: rpt model: recipientModel delegate: Loader { sourceComponent: { if (searchItem) if (expanded) searchDelegate else numberRecipientsDelegate else if (expanderItem) expanderDelegate else contactDelegate } Binding { target: item property: "phoneNumber" value: phoneNumber when: (phoneNumber && status == Loader.Ready) } Binding { target: item property: "index" value: index when: (index && status == Loader.Ready) } } } } ContactSearchListView { id: contactSearch property string searchTerm: { if(multiRecipientWidget.searchString !== "" && multiRecipientWidget.expanded) { return multiRecipientWidget.searchString } return "some value that won't match" } clip: false anchors { top: multiRecipientWidget.bottom left: parent.left right: parent.right leftMargin: units.gu(2) bottomMargin: units.gu(2) rightMargin: units.gu(2) } states: [ State { name: "empty" when: contactSearch.count == 0 PropertyChanges { target: contactSearch height: 0 } } ] Behavior on height { UbuntuNumberAnimation { } } filter: UnionFilter { DetailFilter { detail: ContactDetail.Name field: Name.FirstName value: contactSearch.searchTerm matchFlags: DetailFilter.MatchContains } DetailFilter { detail: ContactDetail.Name field: Name.LastName value: contactSearch.searchTerm matchFlags: DetailFilter.MatchContains } DetailFilter { detail: ContactDetail.PhoneNumber field: PhoneNumber.Number value: contactSearch.searchTerm matchFlags: DetailFilter.MatchPhoneNumber } DetailFilter { detail: ContactDetail.PhoneNumber field: PhoneNumber.Number value: contactSearch.searchTerm matchFlags: DetailFilter.MatchContains } } onDetailClicked: { multiRecipientWidget.addRecipient(detail.number) multiRecipientWidget.clearSearch() } } Rectangle { anchors.fill: contactSearch anchors.leftMargin: -units.gu(2) anchors.rightMargin: -units.gu(2) color: "black" opacity: 0.6 z: -1 } } messaging-app-0.1+14.04.20140410.1/src/qml/KeyboardRectangle.qml0000644000015301777760000000334312321541564024323 0ustar pbusernogroup00000000000000/* * Copyright 2012-2013 Canonical Ltd. * * This file is part of messaging-app. * * messaging-app is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 3. * * messaging-app is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ import QtQuick 2.0 Item { id: keyboardRect anchors.left: parent.left anchors.right: parent.right anchors.bottom: parent.bottom height: Qt.inputMethod.visible ? Qt.inputMethod.keyboardRectangle.height : 0 Behavior on height { StandardAnimation { } } function recursiveFindFocusedItem(parent) { if (parent.activeFocus) { return parent; } for (var i in parent.children) { var child = parent.children[i]; if (child.activeFocus) { return child; } var item = recursiveFindFocusedItem(child); if (item != null) { return item; } } return null; } Connections { target: Qt.inputMethod onVisibleChanged: { if (!Qt.inputMethod.visible) { var focusedItem = recursiveFindFocusedItem(keyboardRect.parent); if (focusedItem != null) { focusedItem.focus = false; } } } } } messaging-app-0.1+14.04.20140410.1/src/qml/MainPage.qml0000644000015301777760000001105312321541573022414 0ustar pbusernogroup00000000000000/* * Copyright 2012, 2013, 2014 Canonical Ltd. * * This file is part of messaging-app. * * messaging-app is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 3. * * messaging-app is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ import QtQuick 2.0 import Ubuntu.Components 0.1 import Ubuntu.Components.ListItems 0.1 as ListItem import Ubuntu.History 0.1 import Ubuntu.Contacts 0.1 import "dateUtils.js" as DateUtils Page { id: mainPage tools: threadList.isInSelectionMode ? selectionToolbar : regularToolbar title: i18n.tr("Messages") property alias threadCount: threadList.count function startSelection() { threadList.startSelection() } ToolbarItems { id: regularToolbar ToolbarButton { visible: mainStack.currentPage.threadCount !== 0 objectName: "selectButton" text: i18n.tr("Select") iconSource: "image://theme/select" onTriggered: mainStack.currentPage.startSelection() } ToolbarButton { objectName: "newMessageButton" action: Action { iconSource: "image://theme/compose" text: i18n.tr("Compose") onTriggered: mainView.startNewMessage() } } } ToolbarItems { id: selectionToolbar locked: true opened: false } SortProxyModel { id: sortProxy sortRole: HistoryThreadModel.LastEventTimestampRole sourceModel: threadModel ascending: false } HistoryThreadModel { id: threadModel type: HistoryThreadModel.EventTypeText sort: HistorySort { sortField: "lastEventTimestamp" sortOrder: HistorySort.DescendingOrder } } MultipleSelectionListView { id: threadList objectName: "threadList" anchors.fill: parent listModel: sortProxy acceptAction.text: i18n.tr("Delete") acceptAction.enabled: selectedItems.count > 0 section.property: "eventDate" section.delegate: Item { anchors.left: parent.left anchors.right: parent.right height: units.gu(5) Label { anchors.left: parent.left anchors.leftMargin: units.gu(2) anchors.verticalCenter: parent.verticalCenter fontSize: "medium" elide: Text.ElideRight color: "gray" opacity: 0.6 text: DateUtils.friendlyDay(Qt.formatDate(section, "yyyy/MM/dd")); verticalAlignment: Text.AlignVCenter } ListItem.ThinDivider { anchors.bottom: parent.bottom } } listDelegate: ThreadDelegate { id: threadDelegate objectName: "thread%1".arg(participants) selectionMode: threadList.isInSelectionMode selected: threadList.isSelected(threadDelegate) removable: !selectionMode confirmRemoval: true onClicked: { if (threadList.isInSelectionMode) { if (!threadList.selectItem(threadDelegate)) { threadList.deselectItem(threadDelegate) } } else { var properties = {} properties["threadId"] = threadId properties["accountId"] = accountId properties["participants"] = participants properties["keyboardFocus"] = false mainStack.push(Qt.resolvedUrl("Messages.qml"), properties) } } onPressAndHold: { threadList.startSelection() threadList.selectItem(threadDelegate) } } onSelectionDone: { for (var i=0; i < items.count; i++) { var thread = items.get(i).model threadModel.removeThread(thread.accountId, thread.threadId, thread.type) } } } Scrollbar { flickableItem: threadList align: Qt.AlignTrailing } }