Re: [E-devel] NEWS files

2011-04-21 Thread Boris 'billiob' Faure
Some typos:

 Evas 1.1
Ecore 1.1

 Changes since Evas 1.0:
Changes since Ecore 1.0:
 ---

 New Features:

     *ecore_x: XRandR backlight support

 API Additions:

[…]

Clear and simple, I like it.


-- 
Boris 'billiob' Faure

--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: billiob trunk/e/src/bin

2011-04-03 Thread Boris 'billiob' Faure
On Sun, Apr 3, 2011 at 13:39, Sebastian Dransfeld s...@tango.flipp.net wrote:
 On 04/03/2011 01:21 PM, Enlightenment SVN wrote:
 Log:
 e: fix E_INTERNAL use

 Pretty sure this is wrong. The gettext stuff should not be defined when
 not E_INTERNAL, else external modules will have wrong gettext setup.

Right, going to fix that.

-- 
Boris 'billiob' Faure

--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: billiob trunk/elementary/src/lib

2011-04-03 Thread Boris 'billiob' Faure
On Sun, Apr 3, 2011 at 18:03, Daniel Juyung Seo seojuyu...@gmail.com wrote:
 Hello billiob.

 Oopps. That was my mistake.

 I removed it because I thought { } was not needed.
 { } is needed for case?
 Any compile option was set for that?

I'm using the following on gcc 4.5.2:
CFLAGS=-O0 -pipe -march=native -g -ggdb3 -Wall -Wextra

-- 
Boris 'billiob' Faure

--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] web site down ?

2011-03-04 Thread Boris 'billiob' Faure
On Fri, Mar 4, 2011 at 10:57, Vincent Torri vto...@univ-evry.fr wrote:

 hey

 i can't access to the website or the svn repo. Are the servers down ?
Website seems down.
Svn is still there, but very slow. Looks like a load issue to me.

-- 
Boris 'billiob' Faure

--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] GSoC Idea - Java Bindings

2011-02-14 Thread Boris 'billiob' Faure
 I'll be heading up the Brainfuck for EFL project, meet in #bffefl
At some point, I wanted to write an UI to view how my brainfuck softs
were working with the tape.

-- 
Boris 'billiob' Faure

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Link time optimization

2010-11-28 Thread Boris 'billiob' Faure
On Sun, Nov 28, 2010 at 12:37, Vincent Torri vto...@univ-evry.fr wrote:

 Hey,

 with newer gcc, we could optimize link with -flto (and
 also maybe -fwhole-program). Shouldn't we add those options if they are
 available (i have already written m4 macro to add such flags) ?

It's really longer to compile with these options. I think they
shouldn't be used by default.

-- 
Boris 'billiob' Faure

--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] hide-on-resize widget and embryo issue

2010-11-23 Thread Boris 'billiob' Faure
A long time ago, aMSN2 had that cool UI:
http://www.youtube.com/watch?v=y82SVGFvjG4#t=00m35s
The main issue is that all sizes are hardcoded and if the size login
button changes (due to a different theme), it's all screwed up.

I'm trying to do that in edje+embryo with some evas box and groups.
Those box should always have the same (number of) elements.
I used “get_geometry(PART:vbox[0], x, y, w, h);” but I get
“ERR31915:edje_cc edje_cc_out.c:1270 data_process_lookups() edje_cc:
Error. Unable to find part name vbox[0].”

I now think it's not even possible to code that widget in pure
edje+embryo, right? Should I code it directly in elementary?

Regards
-- 
Boris 'billiob' Faure

--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eyesight: multidoc viewer library

2010-10-10 Thread Boris 'billiob' Faure
On Sun, Oct 10, 2010 at 10:40, Vincent Torri vto...@univ-evry.fr wrote:
 Other ideas : see Evince or Okular features (like search linking latex
 source with the corresponding location in DVI or PDF document)

I'd like to be able to fill in forms in pdf.

-- 
Boris 'billiob' Faure

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] edje/edc questions

2010-10-10 Thread Boris 'billiob' Faure
Hi.

I've got 3 text parts each alone in a group. I'd like to put them in a
box. The issue I have is that the parts are all overlapping. How can I
fix that?

I have a feature request:
be able set position relative to an entry in a box and use something
like to: vbox[2] in a description.rel.


Regards
-- 
Boris 'billiob' Faure

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Edje resize issue

2010-10-06 Thread Boris 'billiob' Faure
Hi,

i was playing with edje and its boxes but i think i found a bug.
The code sample can be found there: (sorry for the huge .edj)
http://amsn-project.net/~billiob/e/
If you makes the window bigger, the square image
(amsn2/login.dp_frame) keeps getting in the center (as expected). This
fails if the window size is getting smaller since the image is not
moving back and is thus hidden.

Regards
-- 
Boris 'billiob' Faure

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] eet patch on Windows

2010-07-23 Thread Boris 'billiob' Faure
On Fri, Jul 23, 2010 at 07:52, Vincent Torri vto...@univ-evry.fr wrote:

 Hey,

 can someone apply that patch, please ?

It's done.

-- 
Boris 'billiob' Faure

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Python Genlist Patch

2010-07-13 Thread Boris 'billiob' Faure
On Mon, Jul 12, 2010 at 23:24, Dave Andreoli d...@gurumeditation.it wrote:
 Hi all,
 on the above link you can found a patch for the Genlist python object
 http://pastebin.com/W5aRuXKG

 The patch add all the methods to connect signal:
 callback_clicked_add(self, func, *args, **kwargs)
 callback_clicked_del(self, func):
 callback_selected_add(self, func, *args, **kwargs)
 callback_selected_del(self, func):
 callback_longpressed_add(self, func, *args, **kwargs)
 callback_longpressed_del(self, func):

 And also the missed method/property:
 data_get()

Those look good to me.

 Also note that the script test_genlist.py has an error, due to the direct
 use of _signal_callback_add().
 In the test you can click on a list item to raise the error on stdout
 Using the new methods provided by the patch should fix the error.
Indeed, it was a bit buggy. I've fixed it.

 Please review...seems good to my 'python-newbie-eye'   :)
I've committed it. Thank you.

Greetings
-- 
Boris 'billiob' Faure

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] edje-external and box

2010-07-02 Thread Boris 'billiob' Faure
On Fri, Jul 2, 2010 at 10:35, Atton Jonathan jonathan.at...@gmail.com wrote:
 I plan to update edje_object_part_external_object_get() and add the research
 in boxs. Is it ok for you ?

It's already the case!
I've coded it then Cedric improved it.

Ps: it also works for tables
-- 
Boris 'billiob' Faure

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] edje-external and box

2010-07-01 Thread Boris 'billiob' Faure
On Thu, Jul 1, 2010 at 20:22, Atton Jonathan jonathan.at...@gmail.com wrote:
 hello,

 How can I retrieve a external object which is in a edje box by using the
 name of the object ?

 A simple example :


 part {
      name: tools;
      type: BOX;
      description {}
         box {
            items {
                  item {
                        type: GROUP;
                        source: object name;
 name: plop
                  ...


 group { \
      name:object name; \
      parts { \
            part { \
                  name: object name; \
                  type: EXTERNAL; \
                  repeat_events: 0; \
                  source: elm/button; \
   .

If i remember correctly, it's tools:plop:object name or tools:0:object name.


-- 
Boris 'billiob' Faure
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] edje-external and box

2010-07-01 Thread Boris 'billiob' Faure
On Thu, Jul 1, 2010 at 20:39, Atton Jonathan jonathan.at...@gmail.com wrote:
 BAD BAD WRONG :D

 If you do that you fix the position of the button in a box :/
 wu should use a recursive search in boxs

Please have a look at the code.

-- 
Boris 'billiob' Faure

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: sachiel IN trunk/editje: . editje

2010-06-17 Thread Boris 'billiob' Faure
On Thu, Jun 17, 2010 at 17:49, Gustavo Sverzut Barbieri
barbi...@profusion.mobi wrote:
 Yeah, and although C does not make XML-RPC that easier (as it does not
 make anything easy...), there are plenty of libraries to help
 interfacing from C/C++, with more high level languages being
 transparent to make that access, so one could interact with Emacs
 using Lisp, or Python/Ruby for plugins in most editors... or Java
 inside Eclipse and other IDEs.

Maybe you want to give a look at: http://code.google.com/apis/protocolbuffers/
-- 
Boris 'billiob' Faure

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Edje min size issue

2010-05-30 Thread Boris 'billiob' Faure
Hi!

I've got an issue min size hints with edje.
If you run the code at http://amsn-project.net/~billiob/e/ {test.c,
test.edc} , the edje object is not shown despite the fact that his min
size should be 200x200 (min size of a group contained in a vbox in the
edje object), or at least 70x70 (min size of the group part).

Greetings
-- 
Boris 'billiob' Faure

--

___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] How do I get my gtk themes to apply to gtk apps under e17?

2010-05-25 Thread Boris 'billiob' Faure
On Tue, May 25, 2010 at 22:39, David C. Rankin
drankina...@suddenlinkmail.com wrote:
 Guys,

        The primary gtk apps I use are firefox, thunderbird, gimp and 
 gnome-terminal.
 Thankfully I have the fonts under control by editing my userchrome.css. 
 However,
 none of my gtk theme colors are applied to the gtk apps. Is there a trick or 
 am
 I just out of luck? Here is a screenshot of what thunderbird looks like in 
 e17.
 I have a dark theme applied that should have the top colored a dark gray/blue
 instead of white:

 http://www.3111skyline.com/download/img/ss/e/e17/e17-no-gtk-colors.jpg

        Thanks for any help here as well.


Use ~/.gtkrc-2.0.


-- 
Boris 'billiob' Faure

--

___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: billiob trunk/edje/data

2010-04-22 Thread Boris 'billiob' Faure
On Thu, Apr 22, 2010 at 01:30, Viktor Kojouharov vkojouha...@gmail.com wrote:
 I'd like to throw in a suggestion to just extract the syntax file from the
 vimball in edje/data and use that. It is much more feature complete

You're right. I've had the edc.vim linked in ~/.vim/syntax for such a
long time that i never noticed there was a vimball.

-- 
Boris 'billiob' Faure

--
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] elm patches

2010-04-12 Thread Boris 'billiob' Faure
On Mon, Apr 12, 2010 at 09:06, Michael Blumenkrantz m...@zentific.com wrote:
 Hi,

 Attached are two patches that I've spent some time working on.

 elm-doc2.diff is the second half of my doxygen implementation for elm,
 and adds dox for every remaining function and widget.  There are a
 couple which need to be edited by people who understand what the
 functions do, since I was not able to figure it out from the code.
 These functions are marked with TODO: fill this in and I believe
 there are =5 of them.
I've committed this patch (and removed some trailing spaces).

Greetings
-- 
Boris 'billiob' Faure

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] XUrgencyHint on focused window

2010-02-20 Thread Boris 'billiob' Faure
Hi!

I've got an annoying misfeature. I've got the pager settings to Show
popup on urgent window. I've rxvt-unicode to set the UrgencyHint
whenever a bell occured in a terminal. This is great to get
notifications when i get pinged on irc... But it's really annoying
when the window setting the bell is already focused (for example when
i mistype on vim, or get pinged while chatting on irssi) because the
popup is shown.

Here is ICCCM section 4.1.2.4 about UrgencyHint:
-
The UrgencyHint flag, if set in the flags field, indicates that the
client deems the window contents to be urgent, requiring the timely
response of the user. The window manager must make some effort to draw
the user's attention to this window while this flag is set. The window
manager must also monitor the state of this flag for the entire time
the window is in the Normal or Iconic state and must take appropriate
action when the state of the flag changes. The flag is otherwise
independent of the window's state; in particular, the window manager
is not required to deiconify the window if the client sets the flag on
an Iconic window. Clients must provide some means by which the user
can cause the UrgencyHint flag to be set to zero or the window to be
withdrawn. The user's action can either mitigate the actual condition
that made the window urgent, or it can merely shut off the alarm.

Rationale

This mechanism is useful for alarm dialog boxes or reminder
windows, in cases where mapping the window is not enough (e.g. in the
presence of multi-workspace or virtual desktop window managers), and
where using an override-redirect window is too intrusive. For example,
the window manager may attract attention to an urgent window by adding
an indicator to its title bar or its icon. Window managers may also
take additional action for a window that is newly urgent, such as by
flashing its icon (if the window is iconic) or by raising it to the
top of the stack.
-

My main issue is where to patch, if you agree that this behaviour
should be changed:
- in ecore/src/lib/ecore_x/xlib/ecore_x_icccm.c, do not set is_urgent
to 1 when window is focused.
- in e/src/bin/e_border.c, do not emit e,state,urgent when the
window is focused
- in e/src/modules/pager/e_mod_main.c

-- 
Boris 'billiob' Faure

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Merge some E-MODULES-EXTRA in e/src/modules, remove some?

2010-02-08 Thread Boris 'billiob' Faure
I can maintain mpdule (not in your list...?).

-- 
Boris 'billiob' Faure

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Merge some E-MODULES-EXTRA in e/src/modules, remove some?

2010-02-08 Thread Boris 'billiob' Faure
 Ops, I had no comment for it. I know people use, but its usage is so
 rare that I don't think it should be moved to core (maybe you can
 argue that this is also the case for flames  friends and I will
 agree).
I use it everyday. But i guess you don't want it to be in core since
you may not want to add a depency on libmpd in the core.

-- 
Boris 'billiob' Faure

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] How to Use gst in EFL?

2010-02-04 Thread Boris 'billiob' Faure
On Thu, Feb 4, 2010 at 09:00, xupengxiang xupengxiang2...@gmail.com wrote:

 Hi barbieri

        Is ELM/ETK app support input Chinese Word? such as IBUS , SCIM ?

 Thanks

 Pengxiang

Those input methods are not supported.

-- 
Boris 'billiob' Faure

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] How to Use gst in EFL?

2010-02-04 Thread Boris 'billiob' Faure
 are u sure? i'm not... but if not there yet, it should happen soon.

First, you'd have to compile ecore with --enable-xim (should be
enabled by default by the way).
Then in ecore/src/lib/ecore_x/xlib/ecore_x.b +469, the chose style is
fairly limited.

-- 
Boris 'billiob' Faure

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Ecore X IO Error when close window

2010-02-03 Thread Boris 'billiob' Faure
2010/2/2 Carsten Haitzler ras...@rasterman.com:
 On Tue, 2 Feb 2010 16:04:02 -0200 Tiago Falcão ti...@profusion.mobi said:

 Hi,

 Since Friday, when run any elementary program and close one children window,
 close all including parent window. (two more guys with the same bug
 in different distros)

 Example, run elementary_test and select Bg Plain and close the new window.
 The program quit with exit(-1).

 Have anyone idea to help me?  Thanks

 what wm do you use?

e17...

It's now fixed for me.

-- 
Boris 'billiob' Faure

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: billiob trunk/edje/src/lib

2010-01-26 Thread Boris 'billiob' Faure
On Tue, Jan 26, 2010 at 23:42, Michael 'Mickey' Lauer
mic...@vanille-media.de wrote:
 Am Dienstag, den 26.01.2010, 14:34 -0800 schrieb Enlightenment SVN:
 Log:
   edje: remove useless code (Composing is done in xlib, in ecore_x, you need
   to compile ecore with --enable-xim)

 Doesn't this break for non-X backends, like directfb, sdl, framebuffer?

 :M:

Such behaviour should be handled directly in ecore_* and not in edje
imho. But I don't know how it's dealt with in non-X backends.

-- 
Boris 'billiob' Faure

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] issue with edj and size evaluation

2010-01-09 Thread Boris 'billiob' Faure
While trying to code a simple contact list with elementary and edje, i
encounter an issue with size evaluation.
The source code and the edj file can be found at:
http://amsn-project.net/~billiob/e/

The groups should be expanded just like they are when the code is
compiled with the buttons. The contacts are not shown. How can i fix
that?

Regards
-- 
Boris 'billiob' Faure

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Important change in python elementary

2009-11-23 Thread Boris 'billiob' Faure
On Mon, Nov 23, 2009 at 09:58, Vaudano Luca vaud...@gmail.com wrote:
 Thanks for the important info!
 Could you confirm that the change is made in the 43903 revision?

 Thanks
 cheers
 Luca

It's made in both 43900 and 43903.

-- 
Boris 'billiob' Faure

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Important change in python elementary

2009-11-23 Thread Boris 'billiob' Faure
On Mon, Nov 23, 2009 at 20:00, Nicolas Cavallari batch...@free.fr wrote:
 wasn't it possible to add backward compatibility, along with a
 DeprecationWarning ? That would be less frustrating to users than
 having all their apps broken without knowing why.

I thought about it. But it would have meant that the callback given
should _always_ have *args, **kwargs.
You can check it in commit 43901 for example where i fixed test.py.
When I was going to push commits 43900-2, I thought that was ugly and
decided to change how callbacks where set.

I do understand your issue, I have code outside the svn and I
complained a lot when the API changed.

Maybe I should have written a script to convert code...
Search for .destroy = , .clicked = , .changed =  and you should
have found most of them.

-- 
Boris 'billiob' Faure

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Important change in python elementary

2009-11-22 Thread Boris 'billiob' Faure
I've committed some changes to how callbacks are handled in python elementary.
If you use it, your application is now broken, I'm sorry. However,
it's better now than letter :)

So, what have changed?
You used to bind a callback to the clicked of a button this way:
bt.clicked = my_func
or
bt.clicked = (my_func, my_data)

The signature of the callback was always: my_func(obj, event, data)
even if you had not set any data!
What if you wanted to perform 2 actions? How could you remove the callback?

Now, in order to connect a function to an event, let say 'clicked', you use:
bt.callback_clicked_add(func, *args, **kwargs)

The required signature is my_func(obj, *args, **kwargs) or
my_func(obj, it, *args, **kwargs) if an item is given, for example
when an item in a toolbar is clicked.

If you want to disconnect this function to the event, you call:
bt.callback_clicked_remove(func, *args, **kwargs)
if func is None, all the events bound to 'clicked' are removed.
args and kwargs must be the same as those given when the callback was set.

Now, this is possible:
def destroy(win, str1, str2, str3, str4):
print :str1='%s', str2='%s', str3='%s', str4='%s' %(
str1, str2, str3, str4)

win.callback_destroy_add(destroy, test1, test2, str3=test3, str4=test4)



To sum up:
when you used:
obj.EVENT = XXX
now you should use:
obj.callback_EVENT_add(XXX)


I've updated the testing file. I hope to have patched correctly editje.
-- 
Boris 'billiob' Faure

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] FOSDEM 2010

2009-11-14 Thread Boris 'billiob' Faure
On Sat, Nov 14, 2009 at 19:37, Vincent Torri vto...@univ-evry.fr wrote:

 Hey,

 like every year, FOSDEM [1] is taking place in Brussel, Belgium on
 Saturday 6 and Sunday 7 February 2010.
Don't miss the beer event on Friday evening!

 Like evry year, it would useful to be there, as listeners and as speakers.
 We can try do get a devroom or several lightning talks.

I'll be there as listener and hopefully present amsn2 working with EFL.

-- 
Boris 'billiob' Faure

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] add python binding for elm_list_item_label_set

2009-11-08 Thread Boris 'billiob' Faure
On Sat, Nov 7, 2009 at 13:19, Nicolas Cavallari batch...@free.fr wrote:
 This patch adds the python equivalent for elm_list_item_label_set()
 by adding the method label_set() to elementary.ListItem

I've committed your patch and improved elementary.List.

Thank you.
-- 
Boris 'billiob' Faure

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: billiob trunk/BINDINGS/python/python-elementary/elementary

2009-11-08 Thread Boris 'billiob' Faure
On Sun, Nov 8, 2009 at 15:09, Gustavo Sverzut Barbieri
barbi...@profusion.mobi wrote:
 On Sun, Nov 8, 2009 at 11:50 AM, Enlightenment SVN
 no-re...@enlightenment.org wrote:


 +        if not callable(callback):
 +            raise TypeError(callback is not callable)

 you should do this check when you register the callback, not when you
 call it. Compare: you add one item at most 1 time, but call it
 multiple (N) times.
Of course!

 -        self.item = elm_list_item_append(list.obj, label, icon_obj, 
 end_obj, _list_callback, NULL)
 -        self._create_mapping(callback, data)
 +        self.cbt = (list, callback, data, self)
 +        self.item = elm_list_item_append(list.obj, label, icon_obj, end_obj,
 +                                         _list_callback, void*self.cbt)

 I did not look this carefully, but I bet this is wrong, specially:

 +        self.cbt = (list, callback, data, self)


 what's the use of it? If you append 2 times with different parameters,
 just the last one is kept... worse than this, the old value pointer by
 elm_list_item_append (C/internal) is the object that will be garbage
 collected after you assign the new object and make the old loose its
 last reference.

 The best solution here is to create the Python object that reference
 Python function and parameters (your cbt), then Py_INCREF it, then set
 it as data for C
 elm_list_item_{append,prepend,insert_before,intert_after}(), then set
 it as data elm_list_item_del_cb_set(), where you'd Py_DECREF.

 Of course we need to make sure we're calling del cb for all paths in
 Elm_list... (on object destroy, clear, etc).

I've rewritten it, not exactly as you said, but i think it's ok.

 Also, we need to review this in whole Elementary... it was complicate
 to get right for evas/edje/ecore, but they are correct now... you need
 to check them or ask me, if we start to spread minor errors like this
 then we'll have hard time tracking these beasts after some time.
I'll try to keep that in mind.

-- 
Boris 'billiob' Faure

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: billiob trunk/BINDINGS/python/python-elementary/elementary

2009-11-08 Thread Boris 'billiob' Faure
On Sun, Nov 8, 2009 at 22:09, Nicolas Cavallari batch...@free.fr wrote:
 Gustavo Sverzut Barbieri a écrit :
 Also, we need to review this in whole Elementary... it was complicate
 to get right for evas/edje/ecore, but they are correct now... you need
 to check them or ask me, if we start to spread minor errors like this
 then we'll have hard time tracking these beasts after some time.


 on a totally unrelated note, coincidentally,
 Today i discovered a crash in my python-elementary application
  related to callbacks : randomly, i would get uncaught exceptions
 (like TypeError: 'edje.c_edje.Edje' object is not callable)
 and/or segfaults in the _hoversel_callback function which is similar
 to this _list_callback.

 After adding some print-debugging, i found out there must be a problems
 with the callback system : The objects that i get from the self.cbs object
 are completely changed and unrelated to the original.
 I get string and objects that are used somewhere else, or strange tuples of
 null objects from hell.
 Some examples :

 cbt is ((NULL, NULL, NULL, NULL), 'p', Direction left object, 'o')
 Traceback (most recent call last):
  File elementary.c_elementary_hoversel.pxi, line 29, in
 elementary.c_elementary._hoversel_callback 
 (elementary/elementary.c_elementary.c:14693)
 TypeError: 'str' object is not callable
 Segmentation Fault

 printing the id of the objects (only two items on this hoversel)

 cbt : 159092164 (159122508, 159089004, 159284544, 159110764)
 cbt : 159092244 (159122508, 159092204, 159284736, 159110732)

 and when crashing, it is :

 cbt : 159092244 (159092164, 3077584800, 159114892, 3077688544)

 so the cbt seems to have it's objects overwritten.

 this crash can be triggered by adding a callback in hoversel's test,
 launching it, using lots of other test, then using the hoversel test.

 i'm out of idea on this one. maybe it's just my system (using debian sid
 and python 2.5.4).

You've found a bug!
I should have fixed in my latest commits. You need to update both
elementary and python-elementary.

-- 
Boris 'billiob' Faure

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] python-elementary: add elementary.Check.changed callback

2009-10-30 Thread Boris 'billiob' Faure
On Fri, Oct 30, 2009 at 10:37, Nicolas Cavallari batch...@free.fr wrote:
 This patch add the property 'changed' to elementary.Check.

 This patch also makes tests/test.py show the use of this property.

in svn :)

Thank you.

-- 
Boris 'billiob' Faure

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: billiob IN trunk/BINDINGS/python: python-ecore/ecore python-elementary/tests

2009-10-16 Thread Boris 'billiob' Faure
I've translated TMP/st/elementary/src/bin/test_progressbar.c It was
written there, that's why i did it.
But I hope you like :
+EVAS_HINT_EXPAND = 1.0
+EVAS_HINT_FILL = -1.0

On Fri, Oct 16, 2009 at 17:01, Gustavo Sverzut Barbieri
barbi...@profusion.mobi wrote:
 This is way too useless and discouraged.

 Really, Python-EFL is all about bringing pythonic EFL, not just C in
 Python... so the standard way is to return True or False, no need to
 use ecore.ECORE_CALLBACK_CANCEL or ecore.ECORE_CALLBACK_RENEW...
 actually not even in C we use those explicitly.

-- 
Boris 'billiob' Faure

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] Elementary python binding Progressbar

2009-10-15 Thread Boris 'billiob' Faure
On Thu, Oct 15, 2009 at 10:11, Vaudano Luca vaud...@gmail.com wrote:
 Best regards
 Luca

I've committed your patch and enhanced it a little bit :)
I've also added the progressbar test to test.py.
Enjoy!

-- 
Boris 'billiob' Faure

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel