Git Product home page Git Product logo

amora-test's Introduction

Hi there ๐Ÿ‘‹,

I am a ๐Ÿง” Geek; ๐Ÿ‘จโ€๐Ÿ’ป Hacker; ๐Ÿค“ Sysadmin; ๐Ÿง Linuxer; ๐Ÿฅ Debian Developer; ๐Ÿช Perl Coder (don't let GitHub's statistic tell you anything else ๐Ÿ˜‰); PGP/GnuPG User; ๐Ÿฅทโ€โŒจ Command Line Aficionado; โŒจ Mechanical Keyboard and ๐Ÿ–ฒ Trackball Nerd; MSc in Computer Science (with Biology as minor); ๐ŸŽค Podcaster; ๐Ÿ‘จโ€๐Ÿ’ป Blogger; ๐Ÿ—ซ Speaker; ๐Ÿ•ฎ Author; ๐Ÿฆ† 2CV, CX, ๐Ÿ”Œ CityEL, and Campervan Driver; ๐Ÿšด Recumbent and Brompton Bicyclist; Mensa Member; convinced ๐Ÿšญ Non-Smoker and Non-Drinker; born in ๐Ÿ‡ฉ๐Ÿ‡ช Germany; living in Zรผrich, ๐Ÿ‡จ๐Ÿ‡ญ Switzerland; โ€ฆ (Details on https://axel.beckert.ch/.)

Usually โญ starred git repositories are just bookmarks, not endorsements.

Axel Beckert's GitHub Stats

amora-test's People

Contributors

adenilson avatar adereis avatar xtaran avatar

Watchers

 avatar  avatar  avatar

amora-test's Issues

Window decoration displays only for GTK based apps

When the window size is detected to be 1x1, 'find_real_window_down' is
called when taking the screenshot. It browses up to the root window to
detect the real window for GTK apps.

It solves the problem documented in issue 17, but will have different
results when the current in focus app is Xlib/KDE based (the window
decoration is not taken in screenshot).

I think it should be user defined to get (or not) the window decoration.

To do that, we can use 'find_real_window_down' with a parameter (decoration
= true | false) and the function will act accordingly.

It just a matter of taken 1 window (for decoration = true) or 2 windows
(for decoration false) from root window.

Original issue reported on code.google.com by [email protected] on 4 Sep 2007 at 5:38

Amora FreeBSD port

I working in a new FreeBSD port of amora because I have many problems in
compile time and some exclusive features of sdpd in FreeBSD that dont
working of same way that in linux-bluez. 

My solution for this is rewrite the bluetooth part and creating source for
bsd, more precise, bsd.c with special functions for working with FreeBSD.

Original issue reported on code.google.com by [email protected] on 6 Dec 2007 at 6:31

Selected window thumbnail preview

This is a *macro* ticket, since it involves lots of work, and probably will
need to be further divided in smaller tickets.

The basic idea is being able to see in cellphone a thumbnail of current X
window (that's it, the window in focus).

This is a very nice feature, since amora client user could do a slide
presentation without looking for slide projector.

== Server side ==

 * Capture a screenshot of active window

 * Resize it properly to fit cellphone screen

 * Compress it to save bluetooth bandwidth usage (JPEG like is
enough)

 * Send it to cellphone

== Client side ==

 * Receive a stream of bytes representing the image

 * Put it in an Image object

 * Blit it to screen


Probably each step will require a different ticket in order to be executed.

Since I'm no X server wizard, I'm willing to hear comments about the server
side programming.

Original issue reported on code.google.com by [email protected] on 18 Jul 2007 at 2:49

Client screenshot orientation lost when using multiple cellphones

This one only refers to development trunk version of Amora server.

What steps will reproduce the problem?
1. Connect with 1 cellphone and enter in 'start' mode
2. Ask for a screenshot
3. Connect with other cellphone (using 'rotate' screenshot orientation) and
enter in 'start' mode
4. Ask for a screenshot in first cellphone

What is the expected output? What do you see instead?
Screenshot will appear rotated in first cellphone

The problem happens due to server keeping the orientation of screenshot as
one connection parameter.

The solution (when amora server can have several simultaneous clients) is
the client set the screenshot orientation *before* the command that takes
the screenshot.

This a blocker bug, because multiple cellphone support depends on it to
properly work (but I must confess that I was expecting more bugs when we
started to support multiple devices... advantages of mono-threaded designs).
:-)

Original issue reported on code.google.com by [email protected] on 27 Dec 2007 at 8:42

Keymap scheme

Just text description to explain keymap is not enough for a really friendly
application.

The idea is to display an image with a diagram display each cellphone key
function in amora client.

For artwork, check commit r229.

Original issue reported on code.google.com by [email protected] on 16 Oct 2007 at 7:39

Nokia N70 freeze (crash) using AMORA 1.0

Nokia N70 crash after using amora for a while.
To unlock the phone the only way is to remove the battery!

I'm using:

On Ubuntu 7.10:
amora-server_1.0-0_i386.deb

On Nokia N70 (firmware V 5.0638.3.0.1 18-09-06 RM-84):
amora-client-1.0svn.tar.gz
PythonForS60_1_4_1_2ndEdFP3.SIS
PythonScriptShell_1_4_1_2ndEdFP3.SIS

Original issue reported on code.google.com by [email protected] on 17 Jan 2008 at 5:47

Screen rotation does not rotate cursor movements

What steps will reproduce the problem?
1. Under options, select to rotate the screen
2. Try and move the mouse up or down


What is the expected output? What do you see instead?
The movement is not rotated along with the screen - up and down have become
left and right


What version of the product are you using? On what operating system?
Using verion 0.9

Please provide any additional information below.
This is on an RHEL 5 install on an IBM thinkpad T43p.  It's very possible
I've just missed a setting somewhere though.

Original issue reported on code.google.com by [email protected] on 11 Dec 2007 at 2:47

Server modularization

My proposal it to change the current server source code distribution. The
bluetooth.c will deal only bluetooth related code (the unique that will
include bluz-related stuff), x11.c will handle X11 stuff (of course that
can be split in submodules) and so on. In the main.c will remains only the
server setup and the basic initialization logic. Most of the task will be
move code from one side to other side and create abstraction layers.

Benefits:
- Easier to create utests.
- Possible pluggable backends (x11, camera, etc) and frontends (bluetooth,
wi-fi, etc) in the near future.
- Portability.
- Much more.

Original issue reported on code.google.com by [email protected] on 24 Jan 2008 at 3:37

Integrate stopwatch in display

Client source code already has a stopwatch example.

The task is broken in this parts:

 * integrate it with display (when in 'started mode')

 * provide menu options to restart/stop/reset clock


Original issue reported on code.google.com by [email protected] on 18 Jul 2007 at 2:04

server crashes when bluetooth daemon is not active

Do this:
1. Stop bluetooth daemon (sudo /etc/init.d/bluetooth stop)
2. Try to execute amora server (./amora)
3. Crashes...


The next thing to appear in the terminal screen is: Segmentation fault
(core dumped).

Original issue reported on code.google.com by [email protected] on 4 Jul 2007 at 10:46

No text above left and right selection keys

The Options and Exit labels do not appear above the soft selection buttons
once amora is started. They are still functional, though.

The labels should appear even when amora is connected.

This is on Nokia N73 ME.

Original issue reported on code.google.com by [email protected] on 29 Jan 2008 at 7:09

Tamora: Tablet amora

The plan is to create an amora client for internet tablet devices (Nokia 
N800 and N810).

Its going to be written using Python and EFL (Enlightenment Foundation
Library).

What it needs to support is:
 - display animated icons using Edje
 - scan for Bluetooth devices around
 - connect and start to send commands to Amora server
 - transfer screenshot thumbnails over BT sockets
 - being able to display a dynamically loaded screenshot image at run
time 

Further details of it can be found at:
http://groups.google.com/group/amora-devel


Original issue reported on code.google.com by [email protected] on 29 Jan 2008 at 1:52

Cronometer wrapping label

What steps will reproduce the problem?
1. Run mora client and connect it with the server
2. Enter in 'start mode' with stopwatch enabled (default)
2. Let stopwatch run for 100 minutes


What is the expected output? What do you see instead?
Stopwatch will wrap and a set of pixels at end of appear.

This is due to use a fixed amount of pixels to describe the cleaning
rectangle for stopwatch. A solution would check for elapsed time and
increase the cleaning rectangle properly.

Original issue reported on code.google.com by [email protected] on 31 Dec 2007 at 5:30

Freeze when exiting slide mode

Start client and connect with server.
0. Start slide mode
1. Access help option
2. Disconnect

The screen will blank and freeze for 5s.

I think this is related with use of 'appuifw.note' for error conditions
in new help screen.

A quick hack is just change the function call for 'print'.

Original issue reported on code.google.com by [email protected] on 16 Nov 2007 at 7:31

Mouse acceleration

Currently, cellphone client uses a constant delta to increment and
decrement mouse cursor position.

It would be nice if it implemented a dynamic delta based on time
and frequency of cellphone joystick pressing.

The increase in delta should be bigger (up until a given maximum), based
on time.




Original issue reported on code.google.com by [email protected] on 18 Jul 2007 at 2:30

SIS packaging of cellphone client

Downloading python shell plus python library for S60 can be confusing for
new users. It is a good idea to provide an easier way to install amora
client in cellphones.

The purpose of this ticket is to probe how to create a SIS (executable
installer for cellphone) file from original python scripts.

Original issue reported on code.google.com by [email protected] on 18 Jul 2007 at 2:55

Screenshot burst mode

A new feature: the user select a 'burst mode' where the client will
continually ask the server for screenshots.

Its a good way to test energy consumption and also to 'monitore' a give app
in the desktop.

Original issue reported on code.google.com by [email protected] on 17 Nov 2007 at 11:42

Add a timeout to wait to take screenshot when in autoscreen mode

When in slide mode, the user can select an option in menu so that each
click will automatically ask for a screenshot. This is very handy, when you
wish to advance to next slide and take the screenshot of it.

The problem is that the default parameter to wait for screenshot taking
(around 1.0s) can be too few for slower machines (that takes more than 1s
to advance to next slide). The result is a screenshot of a changing slide...

The ideal is to allow the user select the timeout wait value in
configuration screen.

Original issue reported on code.google.com by [email protected] on 17 Nov 2007 at 11:35

Amora client should run from drive 'C'

Currently, there are hardcoded paths in amora client, referencing resources
(images, libraries).

To make amora client run in a cellphone *without* memory card, we shold get
the current path of executable (or alternatively, try to find the main
application source file) and use a relative location for operation.



Original issue reported on code.google.com by [email protected] on 1 Oct 2007 at 1:17

'No bluetooth devices found' with Nokia E61i

What steps will reproduce the problem?
1. Start amorad 1.0 on Linux host
2. Start amora on E61i
3. Select 'Search devices'

What is the expected output? What do you see instead?
Expected: Linux host can be chosen.
Instead: 'No bluetooth devices found. Try again?'

(Bluetooth is running fine. I just sent the Amora installer from the host 
to the E61i using Bluetooth.)

What version of the product are you using? On what operating system?
Version 1.0, Host: Debian Etch, Phone: Nokia E61i



Original issue reported on code.google.com by [email protected] on 15 Jan 2008 at 9:48

Cronometer positioning change

It would be nice to enable submenu options to change the position of
stopwatch (top/left, top/right, bottom/left, bottom/right, not visible) or
maybe in configuration window.

The stopwatch already admits setting the position where the numbers are
draw (the only missing part is to calculate the coordinates taking as input
parameter the screen resolution).


Original issue reported on code.google.com by [email protected] on 31 Dec 2007 at 5:32

There is no way to disable logging on server

By command line, the user can only choose an alternate log filename. IMO
the log shall be disable by default and only be activated when user call
explicitly amora with "-l" command line option.

I'll wait for comments on this before fix this (that will be quite easy
anyway).

Original issue reported on code.google.com by [email protected] on 24 Jan 2008 at 3:22

Heart beat between cellphone <---> PC

Currently amora server cannot identify if cellphone was turned off or even
if the amora client was killed.

The problem is that the server continues waiting for new commands, and
needs to be restarted.

The idea is to implement a heart beat between both devices, so that PC
server can know if cellphone was turned off and the same applies to cellphone.

Maybe we can have some threads here to help this:

client................server

............................. main thread
 s1 <--------------> s1
.............................

............................. extra thread

 s2 <--------------> s2
.............................

Legend
s1: commands socket
s2: heart beat socket

Original issue reported on code.google.com by [email protected] on 18 Jul 2007 at 2:18

Mobile help window

Current help in amora mobile is far from perfect. 

Think in ways to integrate text and images in help windows.

Original issue reported on code.google.com by [email protected] on 18 Jul 2007 at 6:46

Amora server takes screenshot of whole desktop when OpenOffice in in slideshow mode

Start amora server, connect a client. 

1. start a Openoffice presentation slideshow.
2. in Amora client, ask for a screenshot

The screenshot will display whole desktop, but *not* the slide.

I think this is related with the way that Openoffice display the slideshow
in another window.

Of course the user can use create a PDF of slideshow and use a pdf viewer
(Evince, Adobe Acrobat, etc) to see the presentation. But this is blocker
bug for version 1.0 of amora.

Original issue reported on code.google.com by [email protected] on 12 Sep 2007 at 10:51

Amora client crashes if amora server is down

Steps
1. Start amora server
2. Connect and start amora client
3. Kill amora server
4. Try to send any command using client

Client will crash.


I think socket code should have more error checking.


Original issue reported on code.google.com by [email protected] on 13 Jul 2007 at 12:20

Mouse pointer current position is ignored

When the client connects to amora server, the mouse pointer jumps to an
initial fixed/hardcoded position. This is bad because the user lose his
reference and must find in the screen where the pointer is.

The server must get the current pointer coordinates and the start from this
position.

Original issue reported on code.google.com by [email protected] on 30 Jul 2007 at 3:10

User interface improvements

The following items should change to make UI more intuitive:

 - Em 'Help' window, present a 'return' softkey menu option to restore
previous wallpaper state

 - 'About' window should provide navigation options (next, back, return)


Original issue reported on code.google.com by [email protected] on 3 Jan 2008 at 8:41

SIS packaging for S60 2ed.

Packaging for S60 3ed is solved using ensymble, but for 2ed its not defined.

I should research how to create a SIS file (it seems to require py2sis).

Original issue reported on code.google.com by [email protected] on 2 Jan 2008 at 10:54

Amora artwork

We are borrowing art from other OSS projects, which is good. 

But if amora intends to acquire an identity, is of great importance to get
some exclusive:

 * wallpapers: connected state, unconnected state

 * event icons: arrow keys, mouse move, mouse buttons, mouse scrollwheel
and keyboard keys (enter, esc, F5, F, space, delete)

 * cellphone key diagrams: display and explain key map.


Original issue reported on code.google.com by [email protected] on 18 Jul 2007 at 6:24

Add i18n support

The summary says it all. The amora gui should support i18n, so that we
could add different translations.

Original issue reported on code.google.com by [email protected] on 28 Jan 2008 at 6:14

Expensive interaction on server main loop

There are some interactions, as you can see in lcov report, that are very
expensive in server main loop (loop.c). There is a static vector with fixed
size that was being crossed in every select() return. This vector can be
replaced by a linked list with a linked list, sounds reasonable IMO.

There is no visible performance loss at this moment, but this bad
implementation (my fault) must be fixed before become a bottleneck.

Original issue reported on code.google.com by [email protected] on 24 Jan 2008 at 3:17

Amora client cannot detect server down *before* starting mode

Amora client can detect when server is down when in 'start' mode. But the
same is not true if the client has just connected to server and has not
*yet* entered in start mode.

Trying to disconnect just don't change wallpaper to disconnect mode.

Steps
1. Connect client to server (wallpaper will change to connected mode)
2. Kill server
3. Try to disconnect the client

Probably the socket is throwing an exception and stopping the code that
changes the wallpaper to disconnected mode.


Original issue reported on code.google.com by [email protected] on 29 Aug 2007 at 7:31

continuous key input support

What steps will reproduce the problem?
1. Keep pressing 'RIGHT_ARROW' (6 on the phone by default) button continuously.

What is the expected output? What do you see instead?
* On the Linux side, the RIGHT_ARROW is understood just once, it'd be nice
if continuous button press is supported.

What version of the product are you using? On what operating system?
* Amora 0.9, Ubuntu 7.10

Please provide any additional information below.
* Continuous button press is useful in the case of seek for media players
(mplayer, totem & elisa).
* e32.Ao_timer (for detecting the continuous key press) can be used just in
the main thread, which makes the whole design a bit messy?


Original issue reported on code.google.com by [email protected] on 23 Dec 2007 at 9:12

Screenshot fails when using metacity

My desktop uses Compiz/Beryl as window manager and screenshots from active
windows works great.

But when I swap back to Metacity, it fails.

Step
1. Open a desktop with metacity
2. Open amora server
3. Connect with client
4. Ask for a screenshot.

The screenshot will have the color of window decoration (brown for 'Human
theme' and blue for Nuvola theme).

Is almost like the window manager reported the current window attribute
with wrong size.

The bug probably is within screen_capture function (imscreen.c) in line
"tmp = XGetWindowAttributes(display, window, &window_attr);"


Original issue reported on code.google.com by [email protected] on 31 Aug 2007 at 1:47

Debian packaging of amora server

Must of users doesn't have BlueZ, Xlib, XTest devel packages installed, it
can a hassle to install them just to compile and run amora in PC.

It would be nice to create a package for Ubuntu (7.04) and Debian, with
dependencies description and other stuff that packages usually have.

Since the server already uses autotools for buildsystem, it can potentially
benefit package creation using 'checkinstall'.

Original issue reported on code.google.com by [email protected] on 18 Jul 2007 at 3:02

Server utests

All server components must have a utest. We are late in this task because
the unit test must be written before the program functionality. When we
done this task, I hope that everyone follow the test driven development rules. 

Let's try to reach at least 80% of coverage per module.

Unit test for log functions and server main loop are already commit in the
repository.

You can generate the test coverage report by doing:
$ ./configure --enable-devel
$ make lcov

Original issue reported on code.google.com by [email protected] on 24 Jan 2008 at 3:51

Icon animation to display event action

Currently, amora client doesn't display any kind of output for
events (mouse moving, button press) when sending commands for PC
server.

The idea is to display a different icon in screen to represent different
actions.

Coding ideas:

 * load icons as image objects

 * blit them in display (since I'm already using a Canvas)


Gnome icons (Nuvola theme) can supply some testing images.

Original issue reported on code.google.com by [email protected] on 18 Jul 2007 at 1:58

Mouse move slowdown when stopwatch runs for extended periods

When running the stopwatch for extended periods (more than 90minutes) mouse
move can start to slow down (at least in Nokia E61 cpu@220Mhz, but not in  
Nokia N95 cpu@330Mhz).

I attribute that to the fact that the time callback in stopwatch runs in 
non blocking way (asynchronous), and taking screenshots can hold/pause the
application for 2s. 

The fact is that *toggling* the stopwatch restores mouse moving to its
normal speed.

I think that a way to handle this behavior would be to toggle the stopwatch
before reading the data of a screenshot or run the image file
writing/reading in a distinct thread.


Original issue reported on code.google.com by [email protected] on 31 Dec 2007 at 12:19

create doxygen documentation for Amora Client

This task can be broken in two parts:
* the comments of client source should be converted to Doxygen comments.
* check the code style (lines must not exceed 80 columns).

Original issue reported on code.google.com by vanderson.gold on 1 Oct 2007 at 9:39

Remove milliseconds from chronometer

As discussed before, there is no need to display milliseconds precision on
client chronometer. Visually speaking is a nice effect but due to lack of
CPU power and energy supply in cellphones, isn't a good idea by now.

Original issue reported on code.google.com by [email protected] on 24 Jan 2008 at 3:05

Support slider models: mouse X arrow key mode

Slider models are cumbersome to kept open during a presentation, and when
closed, the user can only advance to next slide (no access to arrow keys).

A new feature should be provided so that the user can change the functions
attributed to cellphone joystick and swap from mouse control to arrow key
control (right, up, down, left).

If slider models generates an event for closing/opening, it could be done
automatically (I'm not sure if this is feasible).

Original issue reported on code.google.com by [email protected] on 1 Oct 2007 at 1:40

sendfile causes kernel oops

Linux provides a syscall to transfer the contents between 2 file
descriptors (say, 1 file and 1 socket) in kernel level: 'sendfile'

For some reason, it fails when trying to send image file to client
over bluetooth.

Steps
1. uncomment 'define STRANGE_BUG' in linux.c
2. compile and run amora server 
3. connect with client
4. start and ask for screenshot

The server crashes and there is this message in the terminal (see attached
file for complete output):
axon2 kernel: [762807.554066] Oops: 0000 [#2]


I'm not sure what I had done wrong on my code, but I got the feeling that
the error should not be as harsh... maybe there is something else in this.

I set the priority low, since for files so small (around 2KB to 120KB)
there is not big advantage of using the non portable 'sendfile' syscall.

Original issue reported on code.google.com by [email protected] on 3 Sep 2007 at 7:01

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.