summary |
shortlog | log |
commit |
commitdiff |
tree
HEAD ⋅ prev ⋅ next
Marco Trevisan (Treviño) [Thu, 21 Jul 2011 15:42:36 +0000]
Makefile: use pkg-config instead of static declarations
ptt [Wed, 20 Jul 2011 10:28:29 +0000]
adapted functions to new Elementary stuff
ptt [Wed, 20 Jul 2011 10:29:52 +0000]
added a simple Makefile for ease of compilation
Treviño - 3v1n0 [Thu, 30 Apr 2009 01:57:24 +0000]
Etube-test: free completely the videolist using eina_list_free()
Treviño - 3v1n0 [Thu, 30 Apr 2009 01:55:48 +0000]
Etube-test: ignore the "<yt:state>" videos (AKA non playable ones)
This fixes a segmentation fault due to the bad parsing of the missing
informations
Treviño - 3v1n0 [Thu, 30 Apr 2009 01:54:28 +0000]
Etube-test: add more invalid chars to be converted in urlEscape()
trevi55 [Thu, 30 Apr 2009 00:02:13 +0000]
Etube-test: give the focus to the search entry by default.
This allows to pop-up the OnScreen keyboard automatically; by the way,
also if I reset the focus to another widget (when the search entry is no
more needed), the keyboard doesn't go away. :(
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@65
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Thu, 30 Apr 2009 00:02:10 +0000]
Etube-test: Fix the pager collapse when eTube is not used in Illume!
Oh, this was a long-time bug! :P
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@64
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Thu, 30 Apr 2009 00:02:07 +0000]
Etube-test: support videos with no description (yes it can happen!)
The relative segfaults are fixed now, and also prevented in the
utility functions (see previous commit)
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@63
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Thu, 30 Apr 2009 00:02:04 +0000]
Etube-test: Add null-pointer check in utility functions
- simpleStripHtmlTags()
- carriageRemove()
- trimString()
- htmlCharFix()
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@62
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Wed, 29 Apr 2009 17:35:28 +0000]
Etube-test: some memory fixes
I've moved some code to the simpler strdup() and fixed/notified memory leaks
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@61
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Tue, 21 Apr 2009 02:26:23 +0000]
Etube-test: use isspace() in trimString() instead of the simple space check.
This would trim also other "space chars" like tabs and so on...
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@60
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Tue, 21 Apr 2009 02:15:53 +0000]
Etube-test: new utility trimString() function used to fix the search query
This function delete the spaces at the end and at the beginning of the
search string and this is needed since many on screen keyboards automatically
put a space after each word. This improves the usability.
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@59
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Tue, 21 Apr 2009 01:17:00 +0000]
Etube-test: added the new carriageRemove() utility function
It removes the carriage return ('\r') char from a string; here it
is used to clean the description strings that often are in CRLF format
(thanks Windog, again! :|).
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@58
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Tue, 21 Apr 2009 01:16:58 +0000]
Etube-test: remove the old TestSearch button (code already commented)
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@57
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Mon, 20 Apr 2009 18:59:15 +0000]
Etube-test: show the "loading inwin" while mplayer is loading a video
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@56
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Mon, 20 Apr 2009 18:59:14 +0000]
Etube-test: update the "loading inwin" entry according to the user search
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@55
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Mon, 20 Apr 2009 18:59:13 +0000]
Etube-test: Allow to change the "loading inwin" text
I've also added a basic support for a Cancel button.
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@54
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Mon, 20 Apr 2009 17:00:28 +0000]
Etube-test: control some debugging with DEBUG...
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@53
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Mon, 20 Apr 2009 16:53:35 +0000]
Etube-test: Oops I forgot to push all my commit :P
now the content is free'd ;)
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@52
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Mon, 20 Apr 2009 16:51:37 +0000]
Etube-test: use asprintf to write the content of the videopage
It will fix issues with videos with long metadata (descriptions).
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@51
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Mon, 20 Apr 2009 15:58:29 +0000]
Etube-test: remove the old test search function... We'll miss you! :°(
:P
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@50
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Mon, 20 Apr 2009 15:21:43 +0000]
Etube-test: bump to eTube 0.3 ;)
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@49
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Mon, 20 Apr 2009 15:21:42 +0000]
Etube-test: Added a new search interface.
It allows to search videos placing any query or using the youtube
standard feeds for showing the Weekly top videos.
The found videos will be shown in the main window and the user query
will be shown as a top-frame label (really I've used a read-only-entry
to enable markup).
There are still some workarounds (the search engine should be improved a lot)
but it mainly works
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@48
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Mon, 20 Apr 2009 15:21:41 +0000]
Etube-test: make mplayer use direct-rendering (could improve performances)
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@47
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Mon, 20 Apr 2009 15:21:39 +0000]
Etube-test: Some workarounds and style fixes
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@46
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Mon, 20 Apr 2009 15:21:38 +0000]
Etube-test: implement etube_search_feed (stub)
It allows to place a request to a standard youtube feed
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@45
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Mon, 20 Apr 2009 15:21:37 +0000]
Etube-test: show a top-frame to show the video title in the video page
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@44
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Sat, 18 Apr 2009 02:26:09 +0000]
Etube-test: urlEscape() optimizations.
Order the "invalid" chars array to reduce the loops (that now are breaked
when any of the "bad" char has been found!).
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@43
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Sat, 18 Apr 2009 02:16:24 +0000]
Etube-test: simpleStripHtmlTags() improvement.
It firstly removes any existing '\n' (replacing it with a space)
to next count correctly the words.
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@42
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Wed, 8 Apr 2009 23:56:26 +0000]
Etube-test: add urlEscape() function to escape special chars in query
This is based on RFC 2393 on wich the youtube API 2.0 reference is based:
- http://code.google.com/intl/it/apis/youtube/2.0/reference.html#urlEscaping
This commit also moves away some malloc going back to the stack...
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@41
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Fri, 27 Mar 2009 00:27:33 +0000]
Etube-test: set eTube version to 0.3
This first embrional version allow to do some test searches and
run mplayer (if you've a well configured/compiled version installed)
to see the videos in the FR! ;)
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@40
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Fri, 27 Mar 2009 00:24:13 +0000]
Etube-test: ooops... Memory leak! Free all the video related strings!
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@39
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Fri, 27 Mar 2009 00:23:41 +0000]
Etube-test: add support for youtube thumbnails caching and showing!
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@38
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Wed, 25 Mar 2009 04:45:44 +0000]
Etube-test: more sizeof(char)'s... Who knows if it will ever change...! :P
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@37
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Wed, 25 Mar 2009 04:34:06 +0000]
Etube-test: add etube_videolist_free() and use it before re-populating the
videolist. This should fix the greatest memory leak I knew.
(temporary name I guess, since I have to use a more consistent naming)
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@36
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Wed, 25 Mar 2009 04:19:55 +0000]
Etube-test: free correctly the vpage from the elm video scrollist
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@35
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Wed, 25 Mar 2009 03:54:00 +0000]
Etube-test: few indentation fixes...
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@34
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Wed, 25 Mar 2009 03:35:48 +0000]
Etube-test: more string allocation cleanups
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@33
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Wed, 25 Mar 2009 03:12:03 +0000]
Etube-test: removed memory issues thanks to valgrind
Using valgrind I've fixed/disabled/optimized the code that could
cause segmentation fault, memory leaks or crashes...
However there are still some memory leaks to fix and I've experienced
some crashes that are mostly caused by external libraries (elementary?)
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@32
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Mon, 23 Mar 2009 23:10:21 +0000]
Etube-test: video-page completely reworked.
It actually shows a scroller with an anchorbox showing the video
informations and the video thumbnail (actually just a stub).
I've put the control buttons in a bottom horizontal box.
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@31
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Mon, 23 Mar 2009 23:06:17 +0000]
Etube-test: show a stub icon in the videos list
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@30
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Mon, 23 Mar 2009 23:04:53 +0000]
Etube-test: some fixes and cleanups around...
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@29
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Mon, 23 Mar 2009 23:01:44 +0000]
Etube-Test: added the utility function smartNewLine()
It allows to put a newline on the first space after each n chars
It could be useful with the elmementary labels.
Another Camelcase name... I really must start using only one naming-rule :P
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@28
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Fri, 20 Mar 2009 05:55:29 +0000]
Etube-test: move the window Evas_Objects into an EtubeWindow structure
So I've simplied EtubeVideoPage making it pointing to that struct
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@27
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Fri, 20 Mar 2009 05:40:28 +0000]
Etube-test: show the video informations in a pager.
It really needs some redesing and optimizations, but it works! ;)
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@26
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Fri, 20 Mar 2009 03:37:51 +0000]
Etube-Test: run mplayer on click - just for fun and testing ecore_exe_run
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@25
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Fri, 20 Mar 2009 03:22:06 +0000]
Etube-test: Added test callback for items etube_videolist_select_cb()
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@24
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Fri, 20 Mar 2009 02:52:04 +0000]
Etube-test: added utility function duration_str()
it converts the video duration in seconds to %h:%m:%s
I've also removed the "right" label that causes a segfault
r22 -- Missing informations
In the previous commit I've pushed the greatest part of my
merging work, but I didn't comment it correctly due to a mistake.
However I've put all my functions and structs in a single file
called etube-test.c that must be splitted in the future.
Mainly I have:
- Moved the genlist-based window to a elm_list videolist
- Added the etube_videos_window() that draws the main window
- Added an inwindow that is shown while it's fetching data
- Added some video test searches (on startup and on click)
- Added an ecore_timer to update the window ASAP after download
- All the important data are passed using an EtubeStruct
- Put some TODO and FIXME aroud... :P
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@23
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Fri, 20 Mar 2009 02:10:12 +0000]
Etube-test: A first "brutal" merging of the gui and the downside.
I've not
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@22
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Fri, 20 Mar 2009 02:01:17 +0000]
Downside: some string concatenation fixes
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@21
3ac5871e-47eb-4148-b179-
22640e921836
furester [Thu, 19 Mar 2009 18:55:28 +0000]
a first implementation of downside to upside communication
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@20
3ac5871e-47eb-4148-b179-
22640e921836
furester [Wed, 18 Mar 2009 22:19:57 +0000]
added some comments
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@19
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Wed, 18 Mar 2009 19:32:47 +0000]
Downside: rename the ecore connection management callback functions
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@18
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Wed, 18 Mar 2009 19:30:40 +0000]
Downside: some fixes in server_add_cb
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@17
3ac5871e-47eb-4148-b179-
22640e921836
furester [Wed, 18 Mar 2009 17:19:45 +0000]
first introduction of eina_list
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@16
3ac5871e-47eb-4148-b179-
22640e921836
furester [Wed, 18 Mar 2009 08:56:13 +0000]
fix some compilation warning
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@15
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Wed, 18 Mar 2009 02:13:58 +0000]
Downside: remove unneeded YTData struct
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@14
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Wed, 18 Mar 2009 02:11:03 +0000]
Downside: download code rewritten using the new data structures; added some
examples in main() (ugly and to be removed :P)
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@13
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Wed, 18 Mar 2009 02:09:44 +0000]
Downside: Add new data structure for managing videos (using evas_list) and Http
connnections
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@12
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Wed, 18 Mar 2009 02:07:12 +0000]
Downside: remove some comments in getInnerText()
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@11
3ac5871e-47eb-4148-b179-
22640e921836
furester [Tue, 17 Mar 2009 23:24:08 +0000]
removed some warning during compilation time
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@10
3ac5871e-47eb-4148-b179-
22640e921836
furester [Tue, 17 Mar 2009 23:13:00 +0000]
added debug strings
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@9
3ac5871e-47eb-4148-b179-
22640e921836
furester [Tue, 17 Mar 2009 15:42:21 +0000]
typo
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@8
3ac5871e-47eb-4148-b179-
22640e921836
furester [Tue, 17 Mar 2009 15:13:25 +0000]
Added some functions to gui-main to let it compile again
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@7
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Mon, 16 Mar 2009 23:08:22 +0000]
Downside: fix a segfault in getInnerText()
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@6
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Mon, 16 Mar 2009 23:07:20 +0000]
Downside: use the Youtube API 2.0 in RSS format to fetch the data
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@5
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Mon, 16 Mar 2009 23:03:51 +0000]
Downside: implement simpleStripHtmlTags function and bool logic
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@4
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Mon, 16 Mar 2009 22:59:08 +0000]
Import the first stub of downside-main.c
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@3
3ac5871e-47eb-4148-b179-
22640e921836
trevi55 [Mon, 16 Mar 2009 22:55:31 +0000]
Temporary move the interface to gui-main.c
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@2
3ac5871e-47eb-4148-b179-
22640e921836
admiral0 [Sat, 14 Mar 2009 07:42:40 +0000]
git-svn-id: svn+ssh://svn.projects.openmoko.org/svnroot/etube@1
3ac5871e-47eb-4148-b179-
22640e921836