3 years ago[FicGta01 Audioplugin] Kill arecord to avoid multiple-executions master
Marco Trevisan (Treviño) [Wed, 13 May 2009 18:33:57 +0000] 
[FicGta01 Audioplugin] Kill arecord to avoid multiple-executions

3 years ago[FicGta01 Audioplugin] Add new HandsetAudioRecordState() class
Marco Trevisan (Treviño) [Mon, 11 May 2009 20:51:07 +0000] 
[FicGta01 Audioplugin] Add new HandsetAudioRecordState() class
It allows to load a gsmcapturehandset.state file that can be configured
to record the phone call.
Valid state files are available at [1].

[1] http://projects.openmoko.org/plugins/scmsvn/viewcvs.php/trunk/data/?root=callrec

3 years ago[FicGta01 Audioplugin] Add new getScenario() and scenarioExists() utility functions
Marco Trevisan (Treviño) [Mon, 11 May 2009 20:50:08 +0000] 
[FicGta01 Audioplugin] Add new getScenario() and scenarioExists() utility functions

3 years ago[Dialer] Avoid the dialer to be closed
Marco Trevisan (Treviño) [Wed, 6 May 2009 02:07:52 +0000] 
[Dialer] Avoid the dialer to be closed
It introduces a bug since now it can be closed only by using the
WM close feature, but it gives more usability

3 years ago[FicGta01 Audioplugin] Support the HeadsetAudioState()
Marco Trevisan (Treviño) [Wed, 6 May 2009 01:39:53 +0000] 
[FicGta01 Audioplugin] Support the HeadsetAudioState()
This allows to enable the HeadSet alsa state from the dialer menu

3 years ago[FicGta01] Re-enable the echo suppresion on hangup.
Marco Trevisan (Treviño) [Wed, 6 May 2009 01:16:06 +0000] 
[FicGta01] Re-enable the echo suppresion on hangup.
As Jeorg said in Openmoko ML, it could cause the echo to come back

3 years ago[Core] Change the alsa state on jack in/out
Marco Trevisan (Treviño) [Wed, 6 May 2009 00:57:18 +0000] 
[Core] Change the alsa state on jack in/out
Actually it supports only the alsa state files for standby.
I've to support also the call state files.

3 years ago[ContactView] Add ContactViewAlphabetRibbon().
Marco Trevisan (Treviño) [Tue, 5 May 2009 22:34:32 +0000] 
[ContactView] Add ContactViewAlphabetRibbon().
Alphabet ribbon backported from QtExtended now enabled also for any other
Contact selector in qtopia-x11

3 years ago[AddressBook] Clear the mJumpIndices of ContactsAlphabetRibbon on new Contact
Marco Trevisan (Treviño) [Mon, 4 May 2009 21:35:16 +0000] 
[AddressBook] Clear the mJumpIndices of ContactsAlphabetRibbon on new Contact
Fix backported from QtExtended

3 years ago[AddressBook] Add the ContactsAlphabetRibbon() in the ContactListPane
Marco Trevisan (Treviño) [Mon, 4 May 2009 17:30:18 +0000] 
[AddressBook] Add the ContactsAlphabetRibbon() in the ContactListPane
It allows to browse the contacts by using a right-chars-selector
Backported from QtExtended.

3 years ago[QtopiaPIM] Add another match() function support.
Marco Trevisan (Treviño) [Mon, 4 May 2009 17:29:14 +0000] 
[QtopiaPIM] Add another match() function support.
Backported from QtExtended

3 years ago[Misc] Fixing file permissions
Marco Trevisan (Treviño) [Mon, 4 May 2009 13:47:26 +0000] 
[Misc] Fixing file permissions

3 years ago[Core] [Contacts] [Server] Backport QSmoothList from QtExtended
Marco Trevisan (Treviño) [Mon, 4 May 2009 13:40:58 +0000] 
[Core] [Contacts] [Server] Backport QSmoothList from QtExtended
I've backported the QSmoothList/QSmoothContactListView classes
from QtExtended providing a better finger scrolling.

3 years ago[FicGta02] Add upstream changes
Marco Trevisan (Treviño) [Wed, 3 Dec 2008 23:12:16 +0000] 
[FicGta02] Add upstream changes
 - VolumeChange Support
 - Fixes for Bouncing Registration
 - Pin Management

3 years ago[Modem registration] Fix for modem bouncing
Marco Trevisan (Treviño) [Wed, 3 Dec 2008 22:52:02 +0000] 
[Modem registration] Fix for modem bouncing
This is an upstream change my mwester to fix the issues with the TI
Calypso modem on registration bouncing

3 years ago[PIN manager] Changes to send SIM ready when needed
Marco Trevisan (Treviño) [Wed, 3 Dec 2008 22:51:29 +0000] 
[PIN manager] Changes to send SIM ready when needed
merged from Upstream

3 years ago[USSD] update the QModemCallProvider code
Marco Trevisan (Treviño) [Wed, 3 Dec 2008 22:49:32 +0000] 
[USSD] update the QModemCallProvider code
Btw it is not used by recent changes

3 years ago[QClass] update against automatized changes
Marco Trevisan (Treviño) [Wed, 3 Dec 2008 22:46:41 +0000] 
[QClass] update against automatized changes

3 years ago[Alarm] Set the wakeup interrupt on 10 seconds before than alarm
Marco Trevisan (Treviño) [Wed, 3 Dec 2008 22:41:26 +0000] 
[Alarm] Set the wakeup interrupt on 10 seconds before than alarm
This is a workaround (not confirmed to work) that tries to make sure
that the phone is awake when it should ring for an alarm.

3 years ago[Alarm] upstream fixes
Marco Trevisan (Treviño) [Wed, 3 Dec 2008 22:41:05 +0000] 
[Alarm] upstream fixes

3 years ago[Tuch Dialer] Redial previous dialed number on empty call
Marco Trevisan (Treviño) [Wed, 3 Dec 2008 21:49:37 +0000] 
[Tuch Dialer] Redial previous dialed number on empty call
If it has not dialed a number, and the call button is pressed, then
the previous dialed number is set as the dialing number.

3 years agoSet the environment for compiling with the Toolchain
Marco Trevisan (Treviño) [Wed, 3 Dec 2008 21:46:03 +0000] 
Set the environment for compiling with the Toolchain
My changes for compiling it ;)

3 years ago[PhoneProfile] Add CallVolume to configuration files
Marco Trevisan (Treviño) [Thu, 27 Nov 2008 15:55:55 +0000] 
[PhoneProfile] Add CallVolume to configuration files
Add the CallVolume setting to configuration (set by default at 4).

3 years ago[CallScreen] Use callVolume instead of volume
Marco Trevisan (Treviño) [Thu, 27 Nov 2008 15:50:38 +0000] 
[CallScreen] Use callVolume instead of volume
Update the callscreen volume slider according to the new
QPhoneProfile call volume feature.

3 years ago[QPhoneProfile] add support to callVolume
Marco Trevisan (Treviño) [Thu, 27 Nov 2008 15:46:13 +0000] 
[QPhoneProfile] add support to callVolume
The qtopia phone profile supported only the Volume setting
that is used for the ringtone volume.
To change the modem call volume has been needed a new setting
used only for the modem volume during calls.

The configuration files:
 ~/.config/Trolltech/PhoneProfile.conf
 /opt/Qtopia/etc/default/Trolltech/PhoneProfile.conf
should now contain a new 'CallVolume' value for each profile.

3 years agoMerging again Call Volume slider
Marco Trevisan (Treviño) [Thu, 27 Nov 2008 15:27:12 +0000] 
Merging again Call Volume slider

3 years agoRevert "Merging callscreen Volume control patch"
Marco Trevisan (Treviño) [Thu, 27 Nov 2008 15:24:21 +0000] 
Revert "Merging callscreen Volume control patch"

This reverts commit 5172771286e2c22c4f38b9b59bbd3f9b2eaa5275.

3 years agoMerge default volume change
Marco Trevisan (Treviño) [Thu, 27 Nov 2008 15:20:19 +0000] 
Merge default volume change

3 years agoMerging callscreen Volume control patch
Marco Trevisan (Treviño) [Thu, 27 Nov 2008 14:58:45 +0000] 
Merging callscreen Volume control patch

3 years agoRestart the GSM modem on firmware crash
Marco Trevisan (Treviño) [Wed, 15 Oct 2008 05:58:17 +0000] 
Restart the GSM modem on firmware crash
Sometimes I got the firmware crash error, after some changes I've seen
that after stopping and reloading the GSM hardware (and Qtopia) I was
again able to use my phone.
So this patch tries to get the same: on modem crash it retries to power
up and down the modem (max 3 times, waiting for the user input to restart
it) and then it re-init the modem plugin.

3 years agoAdd Ficgta01ModemHiddenFeatures class
Marco Trevisan (Treviño) [Wed, 15 Oct 2008 04:33:56 +0000] 
Add Ficgta01ModemHiddenFeatures class
I've reworked the enable-echo-suppression-on-dialing-and-accepting.patch
creating a new class that allow to set all the known hidden modem at commands.
All this is based on the informations released in the hardware mailing list:
 - http://lists.openmoko.org/pipermail/hardware/2008-August/000451.html

3 years agoEnable echo suppression on Dialing and on Accepting
Marco Trevisan (Treviño) [Wed, 15 Oct 2008 00:04:41 +0000] 
Enable echo suppression on Dialing and on Accepting
This patch replaces the first echo cancellation implementation using the TI Calypso
"hidden" AT commands as suggested by Micheal Lauer on voice dialout and when accepting
a call. According to some tests, in fact, it seems that the echo suppression is enabled
only after the first AT query.

3 years agoMerge main vendor changes
Marco Trevisan (Treviño) [Tue, 14 Oct 2008 18:03:32 +0000] 
Merge main vendor changes

3 years agoAdd support for USSD requests to the network
Marco Trevisan (3v1n0) [Fri, 26 Sep 2008 06:22:15 +0000] 
Add support for USSD requests to the network
Added basic support for Unstructured Supplementary Service Data (USSD) requests
following the rules stated in 3GPP TS 22.090 document.
This fixes also the dialing of numbers containing '*' or '#' but that don't
match the USSD rules removing also some duplications of the Qtopia code.
I've also moved the parsing of these numbers in qmodemcall, this will allow
to remember these special calls in the dialed numbers (imho it's better, but it
could be easily moved back to gsmkeyactions).
To support the UCS2 codec (and others I figure), I've added a small workaround to
make the modem use always the GSM (using the IRA would have been the same) codec
for placing USSD requests, while it should be able to get them in any format.

3 years ago[contact selector] Optionaly enable the searching in the contact selector as well
Holger Freyther [Sun, 21 Sep 2008 20:15:03 +0000] 
[contact selector] Optionaly enable the searching in the contact selector as well
    https://docs.openmoko.org/trac/ticket/1966

    Thanks to the code duplication we only changed this in the addressbook
    application and thanks to the community the code duplication was spotted
    and we could change the code at one other place.

    This is mostly based on the patch of Treviño, the showEvent was added to
    transfer the focus to the ListView.

3 years ago[qtopia] Trim the text for the contact searching
Holger Freyther [Sun, 21 Sep 2008 19:45:18 +0000] 
[qtopia] Trim the text for the contact searching
    From https://docs.openmoko.org/trac/ticket/1966#comment:13

    The virtual keyboard might add a space. When searching a contact
    Foo you might end up with " Foo" or "Foo " but they both should match
    Foo. So let us trim the space in the QTextEntryProxy (reciever of the
    keyboard input).

3 years ago[dialer] Have a entry to clear the number
Marco Trevisan [Fri, 19 Sep 2008 16:29:19 +0000] 
[dialer] Have a entry to clear the number
   https://docs.openmoko.org/trac/ticket/1997

3 years ago[style] Reduce the size of the links
Marco Trevisan [Fri, 19 Sep 2008 16:16:38 +0000] 
[style] Reduce the size of the links
    https://docs.openmoko.org/trac/ticket/1994 Reduce the size of links in the
    thumbstyle.

3 years ago[PhoneBook] make UCS2 as default text codec
I-Fan, Chen [Thu, 11 Sep 2008 16:03:37 +0000] 
[PhoneBook] make UCS2 as default text codec

3 years ago[dialer] Skip mute action if the profile volume is zero on incoming call.
Guillaume [Thu, 11 Sep 2008 10:44:46 +0000] 
[dialer] Skip mute action if the profile volume is zero on incoming call.
   In fact what it really does is trigger the mute action automatically if the volume is zero.

3 years ago[phonenumber] Wrong matching of itialian phone numbers
Marco Trevisan [Wed, 10 Sep 2008 14:25:24 +0000] 
[phonenumber] Wrong matching of itialian phone numbers
    Btw, the Italian code rules in Qtopia are wrong since here the country
    code is "+39" and the local area code (that starts with 0) could have a
    length from 2 digits to 4 digits (so it can't be decoded easily).

    This is from https://docs.openmoko.org/trac/ticket/1975

3 years ago[Addressbook] Shows a warning when we try to add a group that already exists.
Guillaume [Wed, 10 Sep 2008 02:47:37 +0000] 
[Addressbook] Shows a warning when we try to add a group that already exists.

3 years agoadd checking total used SMS number
erin [Tue, 9 Sep 2008 06:56:00 +0000] 
add checking total used SMS number

3 years ago[addressbook] Allow to show the Findbar to find contacts
Holger Freyther [Sat, 6 Sep 2008 21:00:08 +0000] 
[addressbook] Allow to show the Findbar to find contacts
    - Make showing the findbar configurable and default to
      the current defaults. (Not shown in thumb style mode)
    - Make ContactListPane have the default focus
    - Set the input method hint on the QTextEntryProxy so that
      with a click to focus policy the findbar gets focus and
      the keyboard is shown. So by default most of the screen
      is available for the contacts and only with a click the
      keyboard comes up..

    Put the following into ~/.config/Trolltech/Contacts.conf
    or /opt/Qtopia/etc/default/Trolltech/Contacts.conf
    [default]
    EnableFindBar=1

3 years ago[qtopia] Abuse the QTextEntryProxy to get input itself
Holger Freyther [Sat, 6 Sep 2008 20:58:13 +0000] 
[qtopia] Abuse the QTextEntryProxy to get input itself
    If the text entry proxy gets input itself it should handle it as well. By
    default QTextEntryProxy is setting the focus policy to NoFocus but if a
    consumer of the API is changing that it will continue to work. It will get
    text input the Target and itself.

3 years ago[addressbook] Use QTOPIA_PER_CONTACT_RINGTONE for per contact/group ringtone
Holger Freyther [Fri, 5 Sep 2008 15:15:35 +0000] 
[addressbook] Use QTOPIA_PER_CONTACT_RINGTONE for per contact/group ringtone
    In 4c51f80648b1eaa074922219d7ecb182b5f65b99 Jeremy and me missed the
    ringtone in the addressbook.h this should be fixed now.

3 years ago[addressbook] Don't show the group SetRingTone action in the menu.
Guillaume [Fri, 5 Sep 2008 03:56:56 +0000] 
[addressbook] Don't show the group SetRingTone action in the menu.
  I did it because we have a ticket about this : #1759. Since I am not sure we really want to remove this, I just commented
  the addAction call, so to bring the action back just uncomment those 3 lines.

3 years ago[addressbook] Shows a warning if we try to add a contact when an other contact has...
Guillaume [Fri, 5 Sep 2008 03:20:01 +0000] 
[addressbook] Shows a warning if we try to add a contact when an other contact has the same name.
  I added a mew method : AddressbookWindow::acceptEntry, that we can modify in the future for more condition testing -like
  : adding a contact with the same number than an other-

3 years ago[Messages] Changed 'Back' label to 'Query' or 'Search', to close ticket #1496.
Guillaume [Thu, 4 Sep 2008 08:53:03 +0000] 
[Messages] Changed 'Back' label to 'Query' or 'Search', to close ticket #1496.
  I guess the next thing to do would be to also add a 'cancel' option.

3 years agoAdded preprocessor directives to allow compiling when MEDIA_SERVER is not defined
Guillaume [Thu, 4 Sep 2008 08:38:07 +0000] 
Added preprocessor directives to allow compiling when MEDIA_SERVER is not defined
  At a few places in the code the #ifndef blocs were ommited

3 years ago[buildfix] Make sure the build succeeds and remove the unit tests
Holger Freyther [Fri, 29 Aug 2008 21:51:49 +0000] 
[buildfix] Make sure the build succeeds and remove the unit tests
    Looks like someone at trolltech does not want to cross compile the
    unit tests.

3 years ago[buildfix] Attempt to get qtestlib build for the target of pdutest...
Holger Freyther [Fri, 29 Aug 2008 21:50:49 +0000] 
[buildfix] Attempt to get qtestlib build for the target of pdutest...

3 years ago[ticalypso] Enable noise reduction (command from our mailinglist)
Holger Freyther [Fri, 29 Aug 2008 14:23:13 +0000] 
[ticalypso] Enable noise reduction (command from our mailinglist)
    As discussed on the community mailinglist and pointed out on IRC this
    is supposed to help with the voice quality. Give it a try.

3 years ago[SMS] Add test case for the PDU parsing
Holger Freyther [Wed, 27 Aug 2008 14:17:56 +0000] 
[SMS] Add test case for the PDU parsing
    Add the PDUs from https://docs.openmoko.org/trac/ticket/1728 and some other
    to test that the text and sender can be properly extracted.

    Currently we pass, so if Tick's change regressed some other PDU and we get
    a bug report we can fix it and make sure the other stuff does not break

./pdutest
********* Start testing of TestPDUParsing *********
Config: Using QTest library 4.3.4, Qt 4.3.4
PASS   : TestPDUParsing::initTestCase()
PASS   : TestPDUParsing::testPDUParsing()
PASS   : TestPDUParsing::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of TestPDUParsing *********

3 years ago[ficgta01] Fix phonebook init regression from 9971aa8a69e31057b0f02af43b4c20333a77f13e
Holger Freyther [Tue, 26 Aug 2008 20:23:13 +0000] 
[ficgta01] Fix phonebook init regression from 9971aa8a69e31057b0f02af43b4c20333a77f13e
    When not waiting for RDY, 1 anymore my phone started to show the old
    issue with not querying the addressbook correctly. For some reason somewhen
    early in the init sequence a %CSTAT PHB, 1 comes by and we set
    m_phoneBookIsReady to true.

    To fix this issue and hopefully not regress in another way we keep
    track of the status. So if phonebook goes from 0, 1 to 0 again we set
    m_phoneBookIsReady is to false. This means we wait for the point when both
    SMS and PHB are ready.

3 years ago[SMS] decode semi-octet strings with ALPHANUMBER correct
I-Fan, Chen [Tue, 26 Aug 2008 10:31:55 +0000] 
[SMS] decode semi-octet strings with ALPHANUMBER correct
      fix bug https://docs.openmoko.org/trac/ticket/1728

3 years ago[ficgta01] Fix the No registration bug (#1766)
Holger Freyther [Thu, 21 Aug 2008 13:14:30 +0000] 
[ficgta01] Fix the No registration bug (#1766)
    In 8380a8534e802c152c160e6699634ad9c66b1951 the SIM initialisation was
    postponed until after receiving "%CSTAT RDY, 1" from the modem but
    according to https://docs.openmoko.org/trac/ticket/1766 for some people
    RDY is never sent.

    Postpone initialisation until after SMS and PHB are ready (or if RDY
    comes first use that). That should resolve #1766 and still delay the init
    enough to have listing of the phonebook working.

    The code has an early exit for the case that status is not 1 and for the
    %CSTAT EONS, 1 it might fail but we are not interested in that notification
    anyway and it is doing no harm.

    This is minimally tested.

3 years ago[atchat] Do not add an \r to the wakeup command to avoid many issues
Holger Freyther [Sat, 9 Aug 2008 19:42:40 +0000] 
[atchat] Do not add an \r to the wakeup command to avoid many issues
    - If an \r is needed this has to be added in the register command
      call now.
    - The removal allows to send wakeup commands that will wake the modem
      but will never generate a response. So missed notifications or
      not ignoring commands long enough and relating the "OK" to the wrong
      command can be totally avoided.

Aug  8 17:21:50 om-gta02 user.notice root: AtChat :  T : "ATE0"
Aug  8 17:21:51 om-gta02 user.notice root: AtChat :  T : "AT%CSTAT=1"
Aug  8 17:21:51 om-gta02 user.notice root: AtChat :  F : "OK"  <- OK from ATE0
Aug  8 17:21:51 om-gta02 user.notice root: AtChat :  T : "AT+CSCS?"
Aug  8 17:21:51 om-gta02 user.notice root: AtChat :  F : "OK"  <- OK from AT%CSTAT
Aug  8 17:21:51 om-gta02 user.notice root: AtChat :  T : "AT+CIMI"
Aug  8 17:21:51 om-gta02 user.notice root: AtChat :  F : "+CSCS: "IRA""
Aug  8 17:21:51 om-gta02 user.notice root: AtChat :  F : "OK"   <- OK from AT+CSCS?...

3 years ago[atchat] Write the log message before we possible emit signals...
Holger Freyther [Sat, 9 Aug 2008 18:48:53 +0000] 
[atchat] Write the log message before we possible emit signals...
    In case of %CPI I want to see the log message before the handling
    of that notification.

3 years ago[ti calypso] Change the init sequence to use ^Z and disable echo on startup
Holger Freyther [Sat, 9 Aug 2008 18:43:53 +0000] 
[ti calypso] Change the init sequence to use ^Z and disable echo on startup
    - Read away everything from the serial before we send our first command
    - Send a ^Z and wait for OK
    - Disable echo, QAtChat seems to be more happy with that.

3 years ago[qatchat] Add a paranoia check that we do not send commands while we are waking up
Holger Freyther [Sat, 9 Aug 2008 14:54:45 +0000] 
[qatchat] Add a paranoia check that we do not send commands while we are waking up
    Do not prime any command while our wake up is in progress. This is a paranoia
    mode to be able to find the root cause for issues like the one attached...

Aug  9 02:13:00 om-gta02 user.notice root: AtChat :  T : "^Z"
Aug  9 02:13:01 om-gta02 user.notice root: AtChat :  T : "AT%CTZV=1"
Aug  9 02:13:02 om-gta02 user.notice root: AtChat :  F : "^Z"
Aug  9 02:13:02 om-gta02 user.notice root: AtChat :  F : "OK"
Aug  9 02:13:02 om-gta02 user.notice root: AtChat :  T : "AT%CPI=2"
Aug  9 02:13:02 om-gta02 user.notice root: AtChat :  F : "AT%CTZV=1"
Aug  9 02:13:02 om-gta02 user.notice root: AtChat :  F : "OK"
Aug  9 02:13:02 om-gta02 user.notice root: AtChat :  T : "AT+COPS=0"
Aug  9 02:13:02 om-gta02 user.notice root: AtChat :  F : "AT%CPI=2"
Aug  9 02:13:02 om-gta02 user.notice root: AtChat :  F : "OK"
Aug  9 02:13:02 om-gta02 user.notice root: AtChat :  T : "AT%CSTAT=1"
Aug  9 02:13:02 om-gta02 user.notice root: AtChat :  F : "AT+COPS=0"
Aug  9 02:13:02 om-gta02 user.notice root: AtChat :  F : "ERROR"
Aug  9 02:13:02 om-gta02 user.notice root: AtChat :  T : "AT+CSCS?"
Aug  9 02:13:02 om-gta02 user.notice root: AtChat :  F : "AT%CSTAT=1"
Aug  9 02:13:02 om-gta02 user.notice root: AtChat :  F : "OK"
Aug  9 02:13:02 om-gta02 user.notice root: AtChat :  T : "AT+CIMI"
Aug  9 02:13:02 om-gta02 user.notice root: AtChat :  F : "AT+CSCS?"
Aug  9 02:13:02 om-gta02 user.notice root: AtChat :  F : "+CSCS: "IRA""

3 years ago[ti calypso] Move the init to the write place.
Holger Freyther [Sat, 9 Aug 2008 14:39:20 +0000] 
[ti calypso] Move the init to the write place.
    QSerialIODeviceMultiplexer::chat is just a simple implementation and
    not a good a place to execute more complex commands, it does not take
    echo into account so we might get a "wrong" OK...
    Move that to the vendor plugin that is using a real QAtChat. The only downside
    is that AT+CFUN=0 gets executed after the AT+CBC (invoked from QModemIndicator
    and created in QModemService) but that is fine for our use.

3 years ago[ti calypso] Use 0x1a for the wakeup command.
Holger Freyther [Sat, 9 Aug 2008 14:34:19 +0000] 
[ti calypso] Use 0x1a for the wakeup command.
    This is from mickeyl's ogsmd and is a command that will _never_
    generate a response and will wake the modem up. The last part is
    actually not quite true as an "\r\n" is added which will make the
    modem generate an OK but that is okay as it is ignored by the
    QAtChat. But there is no semantic attached which makes it better
    over ATE0 (which should be send early in the init sequence).

3 years ago[modem] Make sure we call setCurrentOperator at least once
Holger Freyther [Tue, 5 Aug 2008 16:59:48 +0000] 
[modem] Make sure we call setCurrentOperator at least once
    Currently we might or might not call setCurrentOperator (calling
    AT+COPS=0). In tryDoReady we might change to the Ready state
    and if we have no registration yet call doAutoRegister. doAutoRegister
    might not end up calling setCurrentOperator as the AT+CREG=? query
    will say that we are already registered. Make sure that we always
    call setCurrentOperator at least once as this will execute some more
    queries that we will need.

    So even if the TI Calypso seems to auto register, make sure that we
    send AT+COPS=0 to it. This might help with the loss of network registration
    and the failure to find a network again.

AtChat :  T : "AT+CREG=2"
AtChat :  F : "OK"
AtChat :  T : "AT+COPS=3,0"
AtChat :  F : "OK"
AtChat :  T : "AT+CREG?"
AtChat :  F : "+CREG: 2,1,"0240","B53C""
AtChat :  F : "OK"
AtChat :  T : "AT+CSSN=1"
void CellModemManager::registrationStateChanged() reg state 0 1
void CellModemManager::tryDoReady() 2 10 2 1 1
void CellModemManager::doStateChanged(CellModemManager::State) 2 3 QValueSpaceObject(0x342308)
State 3 3 1 <- not call setCurrentOperator because of the above result
void CellModemManager::stopAutoRegisterTimer()
State 3 3 1
void CellModemManager::stopAutoRegisterTimer()

3 years ago[ti calypso] Another attempt at retrying to get the addressbook
Holger Freyther [Tue, 5 Aug 2008 15:00:32 +0000] 
[ti calypso] Another attempt at retrying to get the addressbook
    If we said the phone book is ready but the selection or CPBR? failed there
    are two options. One is that it failed because the phonebook is not
    available or because the SIM/calypso is still upset. Assume that we
    don't ask for non existing phone book's and just restart the query

3 years ago[gsm] Handle failing AT+CFUN? properly (3eb865ecd10867f1ba5040e86dfaff6dcd509c37)
Holger Freyther [Tue, 5 Aug 2008 14:40:17 +0000] 
[gsm] Handle failing AT+CFUN? properly (3eb865ecd10867f1ba5040e86dfaff6dcd509c37)
    This is an extension to the fix in 3eb865ecd10867f1ba5040e86dfaff6dcd509c37.
    The issue was not the ERROR return to AT+CFUN=1 but the failure to report
    the level status properly. Change that by emitting a filaure when AT+CFUN?
    fails and handle this by scheduling a retry for the CFUN.

    This should stop flooding the modem with AT+CFUN requests until a SIM PIN
    was entered but still help the upset modem to slowly get started.

3 years agoRevert "[phonebook] AT+CPBR=? might fail on modem init, force a retry"
Holger Freyther [Tue, 5 Aug 2008 14:10:52 +0000] 
Revert "[phonebook] AT+CPBR=? might fail on modem init, force a retry"

This seems to make things worse...

This reverts commit c017d3b09596d4ea1aa77e960214e4f3f6e558e3.

3 years ago[ti calypso] Reset does not work, at least set it to CFUN=0 and send %CWUP=1
Holger Freyther [Tue, 5 Aug 2008 13:57:44 +0000] 
[ti calypso] Reset does not work, at least set it to CFUN=0 and send %CWUP=1
    %CWUP is supposed to power up parts of the protocol stack, whatever that
    means but it might be helpful.
    Also turn off the modem (setting to a state with minimal functionality).
    This is a defined point for startup, in the case of a restart (due a
    Qtopia crash) this means that the PIN needs to be entered again but that
    looks fine.

3 years ago[ti calypso] Experimental change for modem initialisation
Holger Freyther [Tue, 5 Aug 2008 13:15:00 +0000] 
[ti calypso] Experimental change for modem initialisation
    Sometimes the modem really don't want to talk to us. Attempt to force a
    reset on startup to see what the modem is up to and if it wants to talk
    to us. The idea is that we will reset before doing any other kind of
    initialisation so the rest of the stack should not be affected.

3 years ago[pindialog] Make "Options" go away by setting a dummy menu
Holger Freyther [Tue, 5 Aug 2008 13:09:10 +0000] 
[pindialog] Make "Options" go away by setting a dummy menu
    Set a dummy menu on the lineedit's to make the "Options" entry
    on the contextlabel go away.

3 years ago[pindialog] Wording changes to fit into a line.
Holger Freyther [Tue, 5 Aug 2008 12:37:57 +0000] 
[pindialog] Wording changes to fit into a line.
    - Make the introduction fit into one line
    - add a space for the SIM PUK message

3 years ago[pindialog] Do not recreate the layout all the time
Holger Freyther [Tue, 5 Aug 2008 12:31:16 +0000] 
[pindialog] Do not recreate the layout all the time
    Allocate the PUK Label and Entry as well but do not show it. This avoids
    recreating the QFormLayout all the time.

3 years ago[keyboard] Show the OptionsWindow only when we have something to show
Holger Freyther [Tue, 5 Aug 2008 12:06:49 +0000] 
[keyboard] Show the OptionsWindow only when we have something to show

3 years ago[pindialog] Strip the entered PIN from any whitespace
Holger Freyther [Tue, 5 Aug 2008 11:38:02 +0000] 
[pindialog] Strip the entered PIN from any whitespace
    Our virtual keyboards emits a space to separate two words. If the PIN
    was entered incorrectly the first time, the second entry contained a
    leading whitespace. We simply remove any whitespace at the beginning
    or end of the entry.

3 years ago[pindialog] Show the '*' (asterisk) directly on password entry
Holger Freyther [Tue, 5 Aug 2008 11:37:15 +0000] 
[pindialog] Show the '*' (asterisk) directly on password entry
    This makes our QA team happy.

3 years ago[pindialog] Queue the CellModemManager connection
Holger Freyther [Tue, 5 Aug 2008 11:28:31 +0000] 
[pindialog] Queue the CellModemManager connection
    Delay the showing of the PIN dialog a bit due the queued
    signal and slot connection.

3 years ago[call] Remove the developer "hints" from the error message
Holger Freyther [Tue, 5 Aug 2008 11:00:45 +0000] 
[call] Remove the developer "hints" from the error message
    This is finishing ea42173147759e5ffb0008420de581cfc4805ac2 to remove the
    developer hints as they didn't help at all.

3 years ago[mediaplayer] Remove one category to show the app only once on the illume desktop
Julian_chu [Mon, 4 Aug 2008 21:22:42 +0000] 
[mediaplayer] Remove one category to show the app only once on the illume desktop
    with the xdg menu xml and illume/e-wm the mediaplayer was shown twice
    on the desktop. Change that.

3 years ago[modem] AT+COPS=3,0 might fail on init, increase the retryChat count..
Holger Freyther [Sun, 3 Aug 2008 20:43:50 +0000] 
[modem] AT+COPS=3,0 might fail on init, increase the retryChat count..
    Part of the fix was to call simready at a later point of time
    (after %CSTAT) the other part is to retry the COPS call more often.

    The only users of retryChat are so far the one in this log message. The
    only one we actually use is COPS and we want to retry this more often.

    45 is just a case but this means we will try at least 45 times to
    connect.

src/libraries/qtopiaphonemodem/qmodemcallprovider.cpp:    d->service->retryChat( "AT+CLIP=1" );
src/libraries/qtopiaphonemodem/qmodemcallprovider.cpp:    d->service->retryChat( "AT+COLP=1" );
src/libraries/qtopiaphonemodem/qmodemcallprovider.cpp:    d->service->retryChat( "AT+CCWA=1" );
src/libraries/qtopiaphonemodem/qmodemnetworkregistration.cpp:    d->service->retryChat( "AT+COPS=3,0" );

Aug  2 08:33:16 om-gta02 user.notice root: AtChat :  F : "+CME ERROR: 100"
Aug  2 08:33:17 om-gta02 user.notice root: AtChat :  T : "AT+COPS=3,0"
Aug  2 08:33:17 om-gta02 user.notice root: AtChat :  F : "+CME ERROR: 100"
Aug  2 08:33:17 om-gta02 user.notice root: AtChat :  T : "AT+COPS=3,0"
Aug  2 08:33:17 om-gta02 user.notice root: AtChat :  F : "+CME ERROR: 100"
Aug  2 08:33:18 om-gta02 user.notice root: AtChat :  T : "AT+COPS=3,0"
Aug  2 08:33:18 om-gta02 user.notice root: AtChat :  F : "+CME ERROR: 100"
Aug  2 08:33:18 om-gta02 user.notice root: AtChat :  T : "AT+COPS=3,0"
Aug  2 08:33:18 om-gta02 user.notice root: AtChat :  F : "+CME ERROR: 100"
Aug  2 08:33:19 om-gta02 user.notice root: AtChat :  T : "AT+COPS=3,0"
Aug  2 08:33:19 om-gta02 user.notice root: AtChat :  F : "+CME ERROR: 100"
Aug  2 08:33:19 om-gta02 user.notice root: AtChat :  T : "AT+CPBS=?"

3 years ago[phonebook] AT+CPBR=? might fail on modem init, force a retry
Holger Freyther [Sun, 3 Aug 2008 20:09:47 +0000] 
[phonebook] AT+CPBR=? might fail on modem init, force a retry
    Assume that the phone storage does exist and retry if CPBR=? failed. This
    can happen on modem initialisation. The existing "retry" code does not work
    and instead of issueing 'AT+CPBS="SM";AT+CPBR=?' in one race free command
    the current code will attempt to fixup any damage with reading a wrong
    phonebook because the two commands get executed separately...

    Any other/better solution would require to rewrite this code.

3 years ago[gstreamer] Set the element/pipeline to READY instead of PAUSED to avoid some fd...
Holger Freyther [Sun, 3 Aug 2008 12:41:51 +0000] 
[gstreamer] Set the element/pipeline to READY instead of PAUSED to avoid some fd leaks
    There is still something fishy with the refcounting of GStreamer itself or
    the way it is used. If we set the element to paused the pulse element will use
    two new file descriptors that are never freed.. if we set it to READY we should
    still get our preroll ("speed improvement") without leaking the fd's.

3 years ago[ringtone] Replace the alarm.wav with junggle_btn402.mp3 of freesound.org
Holger Freyther [Sun, 3 Aug 2008 10:42:18 +0000] 
[ringtone] Replace the alarm.wav with junggle_btn402.mp3 of freesound.org
    Repeath the sample four more times and export to wave using audacity. This
    sounds better on a neo as alarm sound.

    http://www.freesound.org/samplesViewSingle.php?id=26777
    This work is licensed under a Creative Commons Sampling Plus 1.0 License.

3 years ago[modem] Allow to postpone "simready" until %CSTAT notifications arrived
Holger Freyther [Sun, 3 Aug 2008 10:34:23 +0000] 
[modem] Allow to postpone "simready" until %CSTAT notifications arrived
    Do not directly send "simready" in QModemPinManager but allow to postpone
    sending this message. For the TI Calypso I want to delay it until the
    modem reports that the SMS and Phonebook is ready. This should help
    with the various failures I see on initialisation with my base card.

    Possible breakage might happen when RDY never gets emitted. I have no
    idea if that is ever going to happen but we will have to find that out
    the hardway.

Aug  2 08:33:19 om-gta02 user.notice root: AtChat :  T : "AT+COPS=3,0"
Aug  2 08:33:19 om-gta02 user.notice root: AtChat :  F : "+CME ERROR: 100"
Aug  2 08:33:19 om-gta02 user.notice root: AtChat :  T : "AT+CPBS=?"
Aug  2 08:33:19 om-gta02 user.notice root: AtChat :  N : "%CSTAT: PHB, 1"
Aug  2 08:33:19 om-gta02 user.notice root: AtChat :  N : "%CSTAT: RDY, 1"
Aug  2 08:33:19 om-gta02 user.notice root: AtChat :  F : "+CPBS: ("EN","BD","FD","DC","LD","RC","LR","MT","AD","SM","SD","MC","LM","AF","ON","UD")"
Aug  2 08:33:19 om-gta02 user.notice root: AtChat :  F : "OK"
Aug  2 08:33:19 om-gta02 user.notice root: AtChat :  T : "AT+CPBS="EN""
Aug  2 08:33:19 om-gta02 user.notice root: AtChat :  F : "OK"
Aug  2 08:33:19 om-gta02 user.notice root: AtChat :  T : "AT+CPBR=?"
Aug  2 08:33:19 om-gta02 user.notice root: AtChat :  F : "+CME ERROR: 100"

3 years ago[bugs] Add some more known bugs
Holger Freyther [Sat, 2 Aug 2008 21:42:10 +0000] 
[bugs] Add some more known bugs

3 years ago[bugs] Remove scroll indicator and mediaserver from the list
Holger Freyther [Sat, 2 Aug 2008 21:33:52 +0000] 
[bugs] Remove scroll indicator and mediaserver from the list
    - Scrollindicator should be resolved due the major changes in the
      Qt/X11 backingstore handling
    - mediaserver. We have exchanged the ringtone and played a bit
      with the GStreamer backend..

3 years ago[predictivekeyoard] Make the whole AcceptWindow optional and do not use it on X11
Holger Freyther [Sat, 2 Aug 2008 16:15:37 +0000] 
[predictivekeyoard] Make the whole AcceptWindow optional and do not use it on X11

3 years ago[predictivekeyboard] Never animate the AcceptWindow on X11
Holger Freyther [Sat, 2 Aug 2008 09:26:41 +0000] 
[predictivekeyboard] Never animate the AcceptWindow on X11
    We are unlikely to have ARGB visuals on the X server and we do not
    know the on screen position of the text input.
    With these two issues it is better to not animate the text on X11.

3 years ago[gstreamer] Fix the refcounting of the bus
Holger Freyther [Fri, 1 Aug 2008 22:39:27 +0000] 
[gstreamer] Fix the refcounting of the bus
    gst_element_get_bus will ref the bus and we need to unref this
    bus somewhere. Do it in the d'tor of the playbin session after
    having deleted the buswatcher.

3 years ago[ringtone] Do not recreate the QSoundControl if it is not needed
Holger Freyther [Fri, 1 Aug 2008 21:49:10 +0000] 
[ringtone] Do not recreate the QSoundControl if it is not needed
    Do not recreate the QSoundControl if the new and old filename is matching.
    This is an improvements and works around a fd leak of gstreamer or the
    Qtopia gstreamer media engine.

3 years ago[ti calypso] Retry +CMGL until it succeeds
Holger Freyther [Fri, 1 Aug 2008 20:46:11 +0000] 
[ti calypso] Retry +CMGL until it succeeds
    On init CMGL might fail and we should retry this. I assume that
    as CPMS succeeded CMGL will succeed sooner or later. Slightly
    delay the next CMGL command execution.

    In the best case we would want to delay the initialisation until
    the SIM is properly initialized. The TI Calypso is telling us
    with "%CSTAT: PHB, 1"  and "%CSTAT: RDY, 1"  that the SIM is ready
    and then we should start the init sequence. But the "simready" post
    is mostly unused by Qtopia...

Aug  2 08:33:08 om-gta02 user.notice root: AtChat :  T : "AT+CMGL=4"
Aug  2 08:33:08 om-gta02 user.notice root: AtChat :  F : "+CMS ERROR: 320"

3 years ago[ficgta] Do not handle NO CARRIER or BUSY... as we have %CPI for that
Holger Freyther [Wed, 30 Jul 2008 12:21:04 +0000] 
[ficgta] Do not handle NO CARRIER or BUSY... as we have %CPI for that
    The callNotification slot would call hangupRemote if the timer
    is still active. We do not want to use timers at all... do not
    connect the slot, so it is not getting called. We want all of the
    call handling feedback to happen in Ficgta01CallProvider::cpiNotification

3 years ago[gsm/ti calypso] Add an option to ignore the result of ATD completely
Holger Freyther [Fri, 25 Jul 2008 19:36:06 +0000] 
[gsm/ti calypso] Add an option to ignore the result of ATD completely
    Currently the code for the neo/freerunner looked at the result
    of the modem command and set the call to connected or local hangup.

    We want to solely rely on the %CPI (we believe they are correct) so
    we do not need to issue a CLCC. This is completely untested and a
    counter measure to the log files I have seen.

    If one attempts to dial the same number twice both ATDNUMBER;
    attempts will return OK. Currently the code will set both calls
    to connected. Something similar applies for the "NO CARRIER" case,
    the call will be set to HangupLocal.

3 years ago[Keyboard] dismiss the PopupWindow when the keyboard is hidden
I-Fan, Chen [Thu, 24 Jul 2008 13:39:02 +0000] 
[Keyboard] dismiss the PopupWindow when the keyboard is hidden

3 years agoMerge branch 'master' of git+ssh://git@git.openmoko.org/var/cache/git/qtopia
I-Fan, Chen [Thu, 24 Jul 2008 13:06:56 +0000] 
Merge branch 'master' of git+ssh://git@git.openmoko.org/var/cache/git/qtopia

3 years ago[callscreen] Attempt to fix a crash we see on the device
Holger Freyther [Thu, 24 Jul 2008 10:22:12 +0000] 
[callscreen] Attempt to fix a crash we see on the device
    Wendy got me a core file and the crash is in stateChanged. So the only places it
    can crash are a failing qobject_cast on the model or item being 0 for some
    reason.

    There is only a small window were we are without a CallItemModel*, a failing
    qobject_cast is unlikely so the other code using qobject_cast was not updated
    to check for that.

    A null item looks more promising though so let us assume that this is the case.

    #0  0x40d6f4ac in ?? ()
    #(gdb) bt
    #0  0x40d6f4ac in ?? ()
    #1  0x0008e978 in CallItemListView::currentChanged ()
    #2  0x0015b1c0 in QListData::shared_null ()
    #Backtrace stopped: frame did not save the PC

3 years ago[Gstreamer plugin] Make the first ringtone playing be instant.
Jeremy Chang [Thu, 24 Jul 2008 09:35:28 +0000] 
[Gstreamer plugin]  Make the first ringtone playing be instant.

    Dut to setting the state from READY to PLAYING, it will take long
    time in gstreamer, that's about 1 and half seconds. we improve this
    by setting the pipeline state to PAUSED at beginning, but this needs
    sound mix function to prevent the audio device blocked.

3 years ago[QEmailSupport] adding a hasEmailSupport Feature
I-Fan, Chen [Thu, 24 Jul 2008 10:03:26 +0000] 
[QEmailSupport]  adding a hasEmailSupport Feature

3 years ago[gsm] Do not handle ATA/AT+CHLD=2 failures as missed calls
Holger Freyther [Wed, 23 Jul 2008 15:22:03 +0000] 
[gsm] Do not handle ATA/AT+CHLD=2 failures as missed calls
    Do not handle an ERROR response on ATA as a missed call. Sometimes we
    manage to bring the modem in a state where it is really upset and only
    responds with ERROR (similar to the CME ERROR: 512 bug. Anyway it is
    wrong to guess. We will properly report missed calls through %CPI, no
    need to guess (until %CPI seems to be unreliable)

3 years ago[option menu] Use QMenu::popup to reposition a visible popupmenu...
Holger Freyther [Wed, 23 Jul 2008 11:59:31 +0000] 
[option menu] Use QMenu::popup to reposition a visible popupmenu...
    We continue to have issues with the popup being shown at the wrong
    position (#1551, #1636 and a couple more).

    This commit might help in the wild. I assume that due the setVisible
    of some QAction's in the menu we would need to handle resize but we
    should show/popup with the right size at the right position anyway..

    This was likely introduced due the delaying of sending certain events
    to only layout once on start etc...

3 years ago[predictivekeyboard] Hide the OptionsWindow when the keyboard gets moved out of screen
Holger Freyther [Wed, 23 Jul 2008 11:24:46 +0000] 
[predictivekeyboard] Hide the OptionsWindow when the keyboard gets moved out of screen
    Illume does not hide the keyboard but moves the window out of screen. Do not
    position the OptionsWindow at the bottom of the screen but hide it when the
    keyboard gets placed out of screen.