summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Gustavo Sverzut Barbieri [Sun, 5 Aug 2012 18:46:47 +0000 (15:46 -0300)]
improve date formatting.
For dates over a week, show the locale date representation.
This allows us to skip updating those items.
Gustavo Sverzut Barbieri [Sun, 5 Aug 2012 18:20:16 +0000 (15:20 -0300)]
history: try to recover by reusing items stored in log.
if application shutdowns with ongoing calls, they will be stored to
EET, on restart it will try to recover items from log by using line_id
and and start time.
For calls that were not completed, this will not work as Call.StarTime
just exist for active or held calls.
Gustavo Sverzut Barbieri [Sun, 5 Aug 2012 17:57:16 +0000 (14:57 -0300)]
history: use call start time if available
Gustavo Sverzut Barbieri [Sun, 5 Aug 2012 15:28:57 +0000 (12:28 -0300)]
update history times.
some time strings are formatted relatively, they should be updated
timely so they are correct.
Gustavo Sverzut Barbieri [Sun, 5 Aug 2012 14:57:27 +0000 (11:57 -0300)]
just hide held if it was not a conference.
otherwise there are other held calls, and we must keep it visible in
the GUI.
Fixes #7 (Wrong display after remote hangup of call in held conference)
Gustavo Sverzut Barbieri [Sun, 5 Aug 2012 14:38:26 +0000 (11:38 -0300)]
Reset number on dial.
Fixes #6 (No reset of number input after dial)
Gustavo Sverzut Barbieri [Sun, 5 Aug 2012 14:20:25 +0000 (11:20 -0300)]
Hide keypad on hangup.
Whenever the active peer is disconnected (local or remote), we must
hide the keypad.
Fixes #12 (Show keypad + Hangup interaction)
Gustavo Sverzut Barbieri [Sun, 5 Aug 2012 13:40:21 +0000 (10:40 -0300)]
For conferences, just display "Conference" as name.
Before we were joining all participants names/numbers as a name,
making the string unmanageable. Make it a fixed string, user can see
conference participants by clicking the specific button.
Fixes bug #4 (Display of conference participants)
NOTE: need designer review.
Gustavo Sverzut Barbieri [Sat, 4 Aug 2012 22:34:57 +0000 (19:34 -0300)]
multiparty details should support long numbers and names.
if name or number are too long, reduce font size up to 30px and if
it's not enough, add ellipsis (right of name, left of numbers)
Fixes bug #5 (Display of long numbers in conference window)
Gustavo Sverzut Barbieri [Sat, 4 Aug 2012 22:24:47 +0000 (19:24 -0300)]
show multiparty details for held conferences as well.
It's the same thing as regular multiparty details, but there is no
"private chat" action.
Fixes bug #3 (Conference window only for active call).
Gustavo Sverzut Barbieri [Fri, 3 Aug 2012 20:11:33 +0000 (17:11 -0300)]
history: show item selection.
edje group "elm/layout/dialer/history/img" became just an event area,
no visuals in there. This was done so we can change the arrow color
class when item is selected.
added scripts to control selected and missed states.
Gustavo Sverzut Barbieri [Fri, 3 Aug 2012 20:11:00 +0000 (17:11 -0300)]
history: unselect item after the click action is done.
Gustavo Sverzut Barbieri [Fri, 3 Aug 2012 19:40:13 +0000 (16:40 -0300)]
history: improve visibility of items.
* new items get visible
* after initial populate, show the first item
Iscaro [Fri, 3 Aug 2012 18:53:14 +0000 (15:53 -0300)]
Now when you click in a entry on the history log a call will be made.
Gustavo Sverzut Barbieri [Fri, 3 Aug 2012 19:02:00 +0000 (16:02 -0300)]
history: refactor data model.
* remember call direction (incoming or outgoing)
* remember call complete (active or held)
* save calls on exit, even if call was not completed.
* optimize call_info search, use call and pointer comparison
* fix: during runtime, prepend genlist items, as done with call log
* fix: when no call log can be loaded, use the calloc()ed pointer.
Gustavo Sverzut Barbieri [Fri, 3 Aug 2012 17:12:25 +0000 (14:12 -0300)]
multiple improvements to history look and feel.
* history.c, scroller.edc (from multiparty-list.edc): use scroller
theme for genlist similar to multiparty details.
* history.c: history formats line_id using phone_format() function.
* history-bg.edc: smaller buttons for "All" and "Missed", with text
centered (no subtitle).
* history-bg.edc: lists will go up to the scroller (rel1).
* history.edc: list items are bigger (120px), allowing more space
between items. Fixed positioning of time and type parts.
Iscaro [Thu, 2 Aug 2012 17:59:39 +0000 (14:59 -0300)]
Added EET_COMPRESSION_DEFAULT constant in case our target is a Tizen device
Iscaro [Thu, 2 Aug 2012 13:59:28 +0000 (10:59 -0300)]
Adding time contants at date_format().
Iscaro [Wed, 1 Aug 2012 13:30:25 +0000 (10:30 -0300)]
Changing the way that we store the history log.
Guilherme Iscaro [Fri, 27 Jul 2012 11:47:39 +0000 (08:47 -0300)]
Changing default layout of the history UI.
Gustavo Sverzut Barbieri [Mon, 30 Jul 2012 22:00:37 +0000 (19:00 -0300)]
ofono callbacks: do not automatically free callbacks on shutdown.
This will help in two fronts:
- spot leaks with valgrind, since screens that do not release will show there.
- avoid warnings from screens deleting it with their _on_del()
Gustavo Sverzut Barbieri [Mon, 30 Jul 2012 21:56:56 +0000 (18:56 -0300)]
ofono callbacks: rename lists for shorter and better names.
the prefix "ofono_callback_" and suffix "_list" were not helping,
actually they were adding noise which made lines longer and harder to
read. Change to just "cbs_" prefix.
Gustavo Sverzut Barbieri [Mon, 30 Jul 2012 21:42:19 +0000 (18:42 -0300)]
fix volume changed callback dispatch.
it should use modem changed, not call changed. It was a typo in the
list name.
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.
Gustavo Sverzut Barbieri [Mon, 30 Jul 2012 21:25:56 +0000 (18:25 -0300)]
history: remove space after FOREACH.
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.
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.
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.
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.
Gustavo Sverzut Barbieri [Fri, 27 Jul 2012 20:54:32 +0000 (17:54 -0300)]
command line option to list every known ofono modem api.
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.
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
Gustavo Sverzut Barbieri [Fri, 27 Jul 2012 20:16:11 +0000 (17:16 -0300)]
minor: fix -Wunused-parameter (-Wextra) warnings.
Gustavo Sverzut Barbieri [Fri, 27 Jul 2012 20:15:30 +0000 (17:15 -0300)]
minor: fix -Wshadow warning regarding "time"
Guilherme Iscaro [Thu, 26 Jul 2012 12:36:59 +0000 (09:36 -0300)]
Adding an UI for history log.
Guilherme Iscaro [Mon, 23 Jul 2012 20:14:39 +0000 (17:14 -0300)]
Adding history infrastructure.
Guilherme Iscaro [Fri, 20 Jul 2012 13:24:38 +0000 (10:24 -0300)]
Adding support for multiple changed, disconnected and connected callbacks.
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.
Gustavo Sverzut Barbieri [Sat, 21 Jul 2012 14:54:03 +0000 (11:54 -0300)]
show "add call" when there is no secondary (held) 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
Gustavo Sverzut Barbieri [Tue, 17 Jul 2012 21:33:25 +0000 (18:33 -0300)]
fix readme to say ofono not connman.
Gustavo Sverzut Barbieri [Sun, 15 Jul 2012 07:49:46 +0000 (04:49 -0300)]
cosmetic changes to make ofono debug more uniform
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.
Gustavo Sverzut Barbieri [Sun, 15 Jul 2012 07:37:00 +0000 (04:37 -0300)]
always format phone numbers.
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.
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".
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.
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.
Gustavo Sverzut Barbieri [Sun, 15 Jul 2012 06:24:31 +0000 (03:24 -0300)]
callscreen: activate window on incoming calls.
Gustavo Sverzut Barbieri [Sun, 15 Jul 2012 06:16:09 +0000 (03:16 -0300)]
keypad: "+" is only allowed as the first number.
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.
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.
Gustavo Sverzut Barbieri [Fri, 13 Jul 2012 23:11:23 +0000 (20:11 -0300)]
ofono: private chat
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.
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.
Gustavo Sverzut Barbieri [Wed, 11 Jul 2012 23:18:47 +0000 (20:18 -0300)]
ofono: add multiparty getter.
Gustavo Sverzut Barbieri [Wed, 11 Jul 2012 21:53:29 +0000 (18:53 -0300)]
support waiting and held calls.
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
Gustavo Sverzut Barbieri [Wed, 11 Jul 2012 18:46:55 +0000 (15:46 -0300)]
keypad: disable actions when there is no number.
Gustavo Sverzut Barbieri [Wed, 11 Jul 2012 18:46:08 +0000 (15:46 -0300)]
bugfix: action blocker should only cover the button area.
Gustavo Sverzut Barbieri [Wed, 11 Jul 2012 18:40:32 +0000 (15:40 -0300)]
add missing 'api' keyword to some theme programs.
Gustavo Sverzut Barbieri [Wed, 11 Jul 2012 18:31:09 +0000 (15:31 -0300)]
rename vars and prepare callscreen to receive multiple calls.
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.
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 :-)
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.
Gustavo Sverzut Barbieri [Wed, 11 Jul 2012 15:49:10 +0000 (12:49 -0300)]
add tabs to main layout and placeholder contacts and history.
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.
Gustavo Sverzut Barbieri [Tue, 10 Jul 2012 23:38:56 +0000 (20:38 -0300)]
show and update elapsed call 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.
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.
Gustavo Sverzut Barbieri [Tue, 10 Jul 2012 22:05:47 +0000 (19:05 -0300)]
ofono should notify when properties changed.
Gustavo Sverzut Barbieri [Tue, 10 Jul 2012 21:32:32 +0000 (18:32 -0300)]
add missing getter for volume and mute.
Gustavo Sverzut Barbieri [Tue, 10 Jul 2012 21:31:52 +0000 (18:31 -0300)]
fix log of unsigned char value for volume.
Gustavo Sverzut Barbieri [Tue, 10 Jul 2012 20:50:06 +0000 (17:50 -0300)]
send DTMF tones from call screen keypad.
Gustavo Sverzut Barbieri [Tue, 10 Jul 2012 20:33:48 +0000 (17:33 -0300)]
add keypad and actions to callscreen theme - no backend yet.
Gustavo Sverzut Barbieri [Tue, 10 Jul 2012 17:42:55 +0000 (14:42 -0300)]
theme call screen.
Gustavo Sverzut Barbieri [Tue, 10 Jul 2012 15:07:27 +0000 (12:07 -0300)]
image was actually jpeg, not png.
Gustavo Sverzut Barbieri [Fri, 6 Jul 2012 21:55:39 +0000 (18:55 -0300)]
theme: proper design for keypad.
Gustavo Sverzut Barbieri [Fri, 6 Jul 2012 21:54:39 +0000 (18:54 -0300)]
window at 720x1280, Tizen's default.
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.
Guilherme Iscaro [Tue, 3 Jul 2012 18:48:32 +0000 (15:48 -0300)]
Adding multiparty infrastructure.
Guilherme Iscaro [Mon, 2 Jul 2012 13:36:15 +0000 (10:36 -0300)]
Always unref DBusMessage in _bus_object_message_send().
Guilherme Iscaro [Thu, 28 Jun 2012 19:36:50 +0000 (16:36 -0300)]
Sending DTMF codes done.
Guilherme Iscaro [Thu, 28 Jun 2012 14:53:25 +0000 (11:53 -0300)]
Call-Volume API implemented.
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.