Re: [Elementary-dev-community] -lm and building the terminal

2012-09-13 Thread Darcy Brás da Silva
Hi, I'm not quite sure, but from what I know in the C level math.h is just a matter of adding a linker flag -lm Having that said, if doesn't work through vala make a vapi call to the C math lib... Cheers On Thu, 2012-09-13 at 08:52 +0530, Voldyman wrote: If we implement Math.floor function in

Re: [Elementary-dev-community] -lm and building the terminal

2012-09-13 Thread Darcy Brás da Silva
Humm, if the fix was passing m, i guess cmake passes l prefix for us... Nice! On Thu, 2012-09-13 at 11:23 +0100, David Gomes wrote: Well Darcy, that email was @voldyman ;) Regarding the general issue, I found a way to fix it, thanks to devidfil's Github link, I just added: link_libraries

[Elementary-dev-community] Coding Style parentheses exception

2012-09-13 Thread David Gomes
Hey there guys, attached is the elementary OS coding style (We have this on a Google Doc, but the formatting is broken on it, so I'm rewriting it with Writer to then port to Google Docs again). I want to add an exception regarding the space character before opening parentheses, and I want to know

Re: [Elementary-dev-community] Coding Style parentheses exception

2012-09-13 Thread Darcy Brás da Silva
I agree that we should have consistency but at this level just seems unproductive and a wast of time... I think the things that really make a difference in this situations are in cases like: if(condition){ } vs if(condition) { } or in functions: return_type func_name(param, param) { } vs

Re: [Elementary-dev-community] Coding Style parentheses exception

2012-09-13 Thread David Gomes
All those cases have been handled. It took less time for us to decide that this exception is a +1 than it took you to write that post, I don't think this is a waste of time. On Thu, Sep 13, 2012 at 5:40 PM, Darcy Brás da Silva dardeve...@cidadecool.com wrote: I agree that we should have

Re: [Elementary-dev-community] Coding Style parentheses exception

2012-09-13 Thread Sergey Shnatsel Davidoff
IMHO we should keep the style comprehensible and easy to remember. Maybe that way we'll manage to actually follow it. If you're willing to put a lot of time into developing the coding style, I can suggest reading the relevant Code Craft chapter first (I can lend a copy of the book if you don't

Re: [Elementary-dev-community] -lm and building the terminal

2012-09-13 Thread xapantu
« l » is only here to tell gcc it is a lib, the lib name is actually « m ». Just remember that link_libraries is deprecated, please use target_link_libraries :P (well, I don't think it will be removed from CMake before a lot of time, but it is useless to keep writing code with it.) Lucas On

Re: [Elementary-dev-community] -lm and building the terminal

2012-09-13 Thread David Gomes
Thanks xapantu, will do! On Thu, Sep 13, 2012 at 8:25 PM, xapantu xapa...@gmail.com wrote: « l » is only here to tell gcc it is a lib, the lib name is actually « m ». Just remember that link_libraries is deprecated, please use target_link_libraries :P (well, I don't think it will be removed

[Elementary-dev-community] Luna Update

2012-09-13 Thread Daniel Fore
Hey Guys, Time for another update on the status of Luna! Let's check the milestone: https://launchpad.net/elementary/+milestone/luna-beta1 Contractor has 1 bug Files has 6 bugs Granite has 1 bug Maya has 3 bugs Noise has 6 bugs LibPantheon has 1 bug Pantheon greeter has 1 bug Pantheon plugs has

Re: [Elementary-dev-community] Luna Update

2012-09-13 Thread David Gomes
23 bugs to go, these are very good news Daniel :) Regarding bug #1013836 (Slingshot's only bug to luna-beta1), it seems to have been triaged and it has also bounced back from luna-beta2 to luna-beta1. Interesting case I think we should look up :) On Thu, Sep 13, 2012 at 10:00 PM, Daniel Fore

Re: [Elementary-dev-community] Coding Style parentheses exception

2012-09-13 Thread Daniel Fore
Not that I do a lot of coding, but I'm +1 on the (( exception. It looks much more readable imho. On Thu, Sep 13, 2012 at 10:45 AM, Sergey Shnatsel Davidoff ser...@elementaryos.org wrote: IMHO we should keep the style comprehensible and easy to remember. Maybe that way we'll manage to actually

Re: [Elementary-dev-community] Geary

2012-09-13 Thread Jim Nelson
Sergey, I know this has been a while, but I've been fighting fires and fixing bugs and had to put this off.  I've committed your patches and they should be available in our next daily build. http://redmine.yorba.org/issues/5696 http://redmine.yorba.org/issues/5697 Thanks! -- Jim On Wed, Aug

[Elementary-dev-community] Fwd: [Shotwell] Shotwell 0.13: Call for Translation

2012-09-13 Thread Daniel Foré
Hey elementary devs, Another Yorba app could use our help with translations :) -- Forwarded message -- From: Lucas Beeler lu...@yorba.org Date: Thu, Sep 13, 2012 at 4:25 PM Subject: [Shotwell] Shotwell 0.13: Call for Translation To: shotwell shotw...@lists.yorba.org Hi Shotwell