profile/ivi/lemolo.git
11 years agocoding style: function open braces on next line.
Gustavo Sverzut Barbieri [Mon, 30 Jul 2012 21:29:47 +0000 (18:29 -0300)]
coding style: function open braces on next line.

We should have the open brace on the next line, after function
declaration. My bad, with Iscaro following the pattern afterwards.

11 years agohistory: remove space after FOREACH.
Gustavo Sverzut Barbieri [Mon, 30 Jul 2012 21:25:56 +0000 (18:25 -0300)]
history: remove space after FOREACH.

11 years agohistory: fix location of history log file.
Gustavo Sverzut Barbieri [Mon, 30 Jul 2012 21:23:53 +0000 (18:23 -0300)]
history: fix location of history log file.

There was a missing "/" in the path, between xdg configuration
directory and the project name.

11 years agohistory: be quiet if there was no previous history log.
Gustavo Sverzut Barbieri [Mon, 30 Jul 2012 21:22:55 +0000 (18:22 -0300)]
history: be quiet if there was no previous history log.

this is not an error, then we should not report it as such. Just
create the data and return quietly.

11 years agocommand line: different api based on modem type.
Gustavo Sverzut Barbieri [Mon, 30 Jul 2012 16:58:00 +0000 (13:58 -0300)]
command line: different api based on modem type.

if HFP modem type is used, then reduce the amount of required
interfaces.

11 years agoallow choosing modem type from command line.
Gustavo Sverzut Barbieri [Fri, 27 Jul 2012 21:13:30 +0000 (18:13 -0300)]
allow choosing modem type from command line.

similar to modem API, allow choosing modem type from command
line. Defaults to hardware and hfp.

11 years agocommand line option to list every known ofono modem api.
Gustavo Sverzut Barbieri [Fri, 27 Jul 2012 20:54:32 +0000 (17:54 -0300)]
command line option to list every known ofono modem api.

11 years agoimprove command line argument usability.
Gustavo Sverzut Barbieri [Fri, 27 Jul 2012 20:48:14 +0000 (17:48 -0300)]
improve command line argument usability.

Instead of giving a mask, give a string and let the program convert it
into the mask. Much better.

11 years agoforce warning compile flags.
Gustavo Sverzut Barbieri [Fri, 27 Jul 2012 20:23:52 +0000 (17:23 -0300)]
force warning compile flags.

By default use: -Wall -Wextra -Wshadow -fvisibility=hidden

11 years agominor: fix -Wunused-parameter (-Wextra) warnings.
Gustavo Sverzut Barbieri [Fri, 27 Jul 2012 20:16:11 +0000 (17:16 -0300)]
minor: fix -Wunused-parameter (-Wextra) warnings.

11 years agominor: fix -Wshadow warning regarding "time"
Gustavo Sverzut Barbieri [Fri, 27 Jul 2012 20:15:30 +0000 (17:15 -0300)]
minor: fix -Wshadow warning regarding "time"

11 years agoAdding an UI for history log.
Guilherme Iscaro [Thu, 26 Jul 2012 12:36:59 +0000 (09:36 -0300)]
Adding an UI for history log.

11 years agoAdding history infrastructure.
Guilherme Iscaro [Mon, 23 Jul 2012 20:14:39 +0000 (17:14 -0300)]
Adding history infrastructure.

11 years agoAdding support for multiple changed, disconnected and connected callbacks.
Guilherme Iscaro [Fri, 20 Jul 2012 13:24:38 +0000 (10:24 -0300)]
Adding support for multiple changed, disconnected and connected callbacks.

11 years agoallow returning to call screen from other screens.
Gustavo Sverzut Barbieri [Sat, 21 Jul 2012 20:49:54 +0000 (17:49 -0300)]
allow returning to call screen from other screens.

this is useful while in active call and click "add-call", then you
want to go back.

11 years agoshow "add call" when there is no secondary (held) call.
Gustavo Sverzut Barbieri [Sat, 21 Jul 2012 14:54:03 +0000 (11:54 -0300)]
show "add call" when there is no secondary (held) call.

11 years agocall screen should show "Hold and Answer" only if there is no secondary call
Gustavo Sverzut Barbieri [Sat, 21 Jul 2012 14:20:47 +0000 (11:20 -0300)]
call screen should show "Hold and Answer" only if there is no secondary call

12 years agofix readme to say ofono not connman.
Gustavo Sverzut Barbieri [Tue, 17 Jul 2012 21:33:25 +0000 (18:33 -0300)]
fix readme to say ofono not connman.

12 years agocosmetic changes to make ofono debug more uniform
Gustavo Sverzut Barbieri [Sun, 15 Jul 2012 07:49:46 +0000 (04:49 -0300)]
cosmetic changes to make ofono debug more uniform

12 years agofix leaks reported by valgrind.
Gustavo Sverzut Barbieri [Sun, 15 Jul 2012 07:42:35 +0000 (04:42 -0300)]
fix leaks reported by valgrind.

forgot to free the callback context after it was dispatched to user.

12 years agoalways format phone numbers.
Gustavo Sverzut Barbieri [Sun, 15 Jul 2012 07:37:00 +0000 (04:37 -0300)]
always format phone numbers.

12 years agokeypad: restore last number on empty dial.
Gustavo Sverzut Barbieri [Sun, 15 Jul 2012 07:20:59 +0000 (04:20 -0300)]
keypad: restore last number on empty dial.

if there is no number do not disable dial, instead let dial fill with
the last known number.

12 years agokeypad: proper action on fast press/release.
Gustavo Sverzut Barbieri [Sun, 15 Jul 2012 07:09:37 +0000 (04:09 -0300)]
keypad: proper action on fast press/release.

dialing repeated numbers lead to Edje detecting double and triple
click, these are reported as "up" and "clicked" without a "down". Then
artificially inject "down".

12 years agocallscreen: improve held display.
Gustavo Sverzut Barbieri [Sun, 15 Jul 2012 06:39:36 +0000 (03:39 -0300)]
callscreen: improve held display.

 - if ctx->calls.active is held, then do not show it twice.
 - held call is higher priority than waiting and incoming to use as default.

12 years agorc: on Dial() make the keypad visible, even if on callscreen.
Gustavo Sverzut Barbieri [Sun, 15 Jul 2012 06:27:18 +0000 (03:27 -0300)]
rc: on Dial() make the keypad visible, even if on callscreen.

12 years agocallscreen: activate window on incoming calls.
Gustavo Sverzut Barbieri [Sun, 15 Jul 2012 06:24:31 +0000 (03:24 -0300)]
callscreen: activate window on incoming calls.

12 years agokeypad: "+" is only allowed as the first number.
Gustavo Sverzut Barbieri [Sun, 15 Jul 2012 06:16:09 +0000 (03:16 -0300)]
keypad: "+" is only allowed as the first number.

12 years agocallscreen: improve multiparty details look and feel.
Gustavo Sverzut Barbieri [Sun, 15 Jul 2012 06:10:55 +0000 (03:10 -0300)]
callscreen: improve multiparty details look and feel.

instead of a boring list and buttons use a scroller with a box of
layouts for each item.

12 years agocallscreen: finish handling of multiparty, includes detailed view.
Gustavo Sverzut Barbieri [Fri, 13 Jul 2012 23:13:33 +0000 (20:13 -0300)]
callscreen: finish handling of multiparty, includes detailed view.

detailed view will allow to see the conference participants and hangup
them individually or enter a private chat.

list item and scroller theme is missing.

12 years agoofono: private chat
Gustavo Sverzut Barbieri [Fri, 13 Jul 2012 23:11:23 +0000 (20:11 -0300)]
ofono: private chat

12 years agodon't mix hangup and multiparty hangup.
Gustavo Sverzut Barbieri [Fri, 13 Jul 2012 22:57:03 +0000 (19:57 -0300)]
don't mix hangup and multiparty hangup.

we need simple hangup to do it for multiparty participants.

12 years agocreate multiparty.
Gustavo Sverzut Barbieri [Wed, 11 Jul 2012 23:39:06 +0000 (20:39 -0300)]
create multiparty.

they have an icon on the left, but there is no action for them at the
moment.

12 years agoofono: add multiparty getter.
Gustavo Sverzut Barbieri [Wed, 11 Jul 2012 23:18:47 +0000 (20:18 -0300)]
ofono: add multiparty getter.

12 years agosupport waiting and held calls.
Gustavo Sverzut Barbieri [Wed, 11 Jul 2012 21:53:29 +0000 (18:53 -0300)]
support waiting and held calls.

12 years agoofono: cover more voice call manager api.
Gustavo Sverzut Barbieri [Wed, 11 Jul 2012 20:12:59 +0000 (17:12 -0300)]
ofono: cover more voice call manager api.

 - Transfer
 - SwapCalls
 - ReleaseAndAnswer
 - HoldAndAnswer
 - HangupAll

12 years agokeypad: disable actions when there is no number.
Gustavo Sverzut Barbieri [Wed, 11 Jul 2012 18:46:55 +0000 (15:46 -0300)]
keypad: disable actions when there is no number.

12 years agobugfix: action blocker should only cover the button area.
Gustavo Sverzut Barbieri [Wed, 11 Jul 2012 18:46:08 +0000 (15:46 -0300)]
bugfix: action blocker should only cover the button area.

12 years agoadd missing 'api' keyword to some theme programs.
Gustavo Sverzut Barbieri [Wed, 11 Jul 2012 18:40:32 +0000 (15:40 -0300)]
add missing 'api' keyword to some theme programs.

12 years agorename vars and prepare callscreen to receive multiple calls.
Gustavo Sverzut Barbieri [Wed, 11 Jul 2012 18:31:09 +0000 (15:31 -0300)]
rename vars and prepare callscreen to receive multiple calls.

12 years agodocument theme parts, signals and messages.
Gustavo Sverzut Barbieri [Wed, 11 Jul 2012 17:18:49 +0000 (14:18 -0300)]
document theme parts, signals and messages.

also mark them as 'api' for easier lookup/grep.

12 years agosplit theme into multiple files.
Gustavo Sverzut Barbieri [Wed, 11 Jul 2012 16:05:32 +0000 (13:05 -0300)]
split theme into multiple files.

easier to grep and search, avoid crossing unwanted boundaries :-)

12 years agodo not show elapsed time when dialing.
Gustavo Sverzut Barbieri [Wed, 11 Jul 2012 15:51:28 +0000 (12:51 -0300)]
do not show elapsed time when dialing.

it's unknown, so let's not use it.

12 years agoadd tabs to main layout and placeholder contacts and history.
Gustavo Sverzut Barbieri [Wed, 11 Jul 2012 15:49:10 +0000 (12:49 -0300)]
add tabs to main layout and placeholder contacts and history.

12 years agoAdding calls check, we must be in a call to update those properties.
Guilherme Iscaro [Wed, 11 Jul 2012 13:52:08 +0000 (10:52 -0300)]
Adding calls check, we must be in a call to update those properties.

12 years agoshow and update elapsed call time.
Gustavo Sverzut Barbieri [Tue, 10 Jul 2012 23:38:56 +0000 (20:38 -0300)]
show and update elapsed call time.

12 years agoofono parses start time.
Gustavo Sverzut Barbieri [Tue, 10 Jul 2012 23:37:54 +0000 (20:37 -0300)]
ofono parses start time.

time is relative to loop time, which should be monotonic.

12 years agocallscreen: volume, mute, speaker and contacts.
Gustavo Sverzut Barbieri [Tue, 10 Jul 2012 22:11:19 +0000 (19:11 -0300)]
callscreen: volume, mute, speaker and contacts.

volume was implemented using hardware keys, no visual feedback.

mute was implemented as a toggle action.

speaker and contacts were marked as placeholders.

12 years agoofono should notify when properties changed.
Gustavo Sverzut Barbieri [Tue, 10 Jul 2012 22:05:47 +0000 (19:05 -0300)]
ofono should notify when properties changed.

12 years agoadd missing getter for volume and mute.
Gustavo Sverzut Barbieri [Tue, 10 Jul 2012 21:32:32 +0000 (18:32 -0300)]
add missing getter for volume and mute.

12 years agofix log of unsigned char value for volume.
Gustavo Sverzut Barbieri [Tue, 10 Jul 2012 21:31:52 +0000 (18:31 -0300)]
fix log of unsigned char value for volume.

12 years agosend DTMF tones from call screen keypad.
Gustavo Sverzut Barbieri [Tue, 10 Jul 2012 20:50:06 +0000 (17:50 -0300)]
send DTMF tones from call screen keypad.

12 years agoadd keypad and actions to callscreen theme - no backend yet.
Gustavo Sverzut Barbieri [Tue, 10 Jul 2012 20:33:48 +0000 (17:33 -0300)]
add keypad and actions to callscreen theme - no backend yet.

12 years agotheme call screen.
Gustavo Sverzut Barbieri [Tue, 10 Jul 2012 17:42:55 +0000 (14:42 -0300)]
theme call screen.

12 years agoimage was actually jpeg, not png.
Gustavo Sverzut Barbieri [Tue, 10 Jul 2012 15:07:27 +0000 (12:07 -0300)]
image was actually jpeg, not png.

12 years agotheme: proper design for keypad.
Gustavo Sverzut Barbieri [Fri, 6 Jul 2012 21:55:39 +0000 (18:55 -0300)]
theme: proper design for keypad.

12 years agowindow at 720x1280, Tizen's default.
Gustavo Sverzut Barbieri [Fri, 6 Jul 2012 21:54:39 +0000 (18:54 -0300)]
window at 720x1280, Tizen's default.

12 years agorename 'signal' to 'sig' to avoid warnings with -Wshadow on some GCC.
Gustavo Sverzut Barbieri [Fri, 6 Jul 2012 17:13:42 +0000 (14:13 -0300)]
rename 'signal' to 'sig' to avoid warnings with -Wshadow on some GCC.

12 years agoAdding multiparty infrastructure.
Guilherme Iscaro [Tue, 3 Jul 2012 18:48:32 +0000 (15:48 -0300)]
Adding multiparty infrastructure.

12 years agoAlways unref DBusMessage in _bus_object_message_send().
Guilherme Iscaro [Mon, 2 Jul 2012 13:36:15 +0000 (10:36 -0300)]
Always unref DBusMessage in _bus_object_message_send().

12 years agoSending DTMF codes done.
Guilherme Iscaro [Thu, 28 Jun 2012 19:36:50 +0000 (16:36 -0300)]
Sending DTMF codes done.

12 years agoCall-Volume API implemented.
Guilherme Iscaro [Thu, 28 Jun 2012 14:53:25 +0000 (11:53 -0300)]
Call-Volume API implemented.

12 years agoInitial Commit, basic infrastructure.
Gustavo Sverzut Barbieri [Mon, 25 Jun 2012 23:13:37 +0000 (20:13 -0300)]
Initial Commit, basic infrastructure.

The phone basics work without handling of DTMF (SendTones), the theme
is pretty barebones at this point.

Supported API:
        - VoiceCall:
                - Methods: Hangup, Answer
                - Signals: PropertyChanged, DisconnectReason
        - VoiceCallManager:
                - Methods: GetCalls, Dial
                - Signals: CallAdded, CallRemoved
        - Manager:
                - Methods: GetModems
                - Signals: ModemAdded, ModemRemoved, PropertyChanged

It's fully hot-pluggable: the daemon, modems and calls can enter and
exit at anytime.

It's remote controllable using DBus. Right now just Activate and Dial
are implemented so other applications can bring up the dialer window
and request a number to be dialed. This is also used to guarantee a
single instance of the application.