Re: [Geeqie-devel] Project status

2016-03-10 Thread Laurent Monin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Le 10/03/2016 23:05, Klaus Ethgen a écrit :
> Hi Zas,
>
> Am Do den 10. Mär 2016 um 16:02 schrieb Laurent Monin:
> >> That would be helpful. But I didn't hear from him since ages.
> > I'm still around, and reading this ml ;)
> > But i have no time to work on geeqie.
>
> That is ok. I know that, my time is also limited.
>
> But I even got no answer from my last mail to you..
>
> However, could you please add my sourceforge recovery account "eecheey6"
> (Yes, it looks like a password but that is my account I created explicit
> for that purpose.) to the sourceforge geeqie project that we can at
> least solve that problem. Vlad also doesn't react.

I don't think i have such rights to do so. I have no way to admin the
project, i guess only Vlad has full access (if sourceforge didn't nuke all).

Sourceforge is definitively dead... that's incredible what "business"
people are able to do once they put their hands on something...

- --
Zas

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJW4f0uAAoJENhZ8BtkbAenBecH/2YXe7ARPBV9aoeF82OaI7fV
MAn6rsKaXReq/r7IDT0uYfJagqsVv10swNLljtxyBOas+EAyHFiE1a0k3Vt5IdAg
fqHuewsuaM3VRzgMEEus4JqNuPUeNrulOjHjXIVj1fF+RTOBKLq5FznV2tw86pNS
FaUSWjuwOvLNoVwxS7NsTP3eg7a2Rnt6uIsjvADmwMU2LSqbMa0S13fLRodtc5DQ
9coibieYTQbeb3met5GnV8BlwwD4AdBCN0jQLJq5YQW1p+EB0V/qNUaWbSC5vhpy
J4NqSsMD7n/1LrFKsY7VVrSDhcquHS4O5Me9EywWCiUnFA4F94TvdyftzZ56pzA=
=uTUt
-END PGP SIGNATURE-


--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111=/4140
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Project status

2016-03-10 Thread Laurent Monin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Le 10/03/2016 15:47, Klaus Ethgen a écrit :
>> I also invited zas.
>
> That would be helpful. But I didn't hear from him since ages.
I'm still around, and reading this ml ;)
But i have no time to work on geeqie.

Though i'm quite happy the project still lives.

About using github, it isn't as bad you think Klaus ;)
Lars made some good points about the current situation, website is awful
and non-attractive, and users can easily get lost among various source
repos.

So i'm totally with him on this. A simple user-oriented website, with
clear information about the current state of the project is a must.

- --
Zas


-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJW4YyFAAoJENhZ8BtkbAeneEIH/jpBnL2i00/BsuXMD1l0Sprp
6MQF/uFzUYs1ojpW7UGOiI13up+jFfOvKU7q28rRUz4w/GrzVbuWw1zXGRE35+Kr
rWA4rlpWThjoTGoTU+W+lfOyWJIyzaVP5BXtEzvdHgWKZW4uF4y18kmf/22DsFXP
TasTNAXxIhxHCnnFt7vB7UY9fHeN+JKFs3Bts9R71RPPTlxr4TbwaJE8zVOBD5g5
QUt8bz7AeYGigBxFdWyzLdIwWDs8FxeJwFd3oVB2Cg3iflEXe5UZEyfNiXGmgdBU
T1Z1UbjGMtMtUSeNHGF238lOIuG8RD0ANqHLVi1q9jxR5j2DVRUjFD+Z+pi+Mj0=
=00gu
-END PGP SIGNATURE-


--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111=/4140
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] geeqie 1.2 tarball?

2014-09-08 Thread Laurent Monin
Le 08/09/2014 12:21, Klaus Ethgen a écrit :

 Hi,

 Am Mo den  8. Sep 2014 um 10:05 schrieb Paul Wise:
  I wanted to upload geeqie to Debian so it is in jessie but I can't find
  the tarball for version 1.2, do you know where it is?

 There is no.

 We still have some parts of the project on sourceforge. But considering
 the facts that sourceforge went to the dark force I refuse to have a
 account there anymore so I cannot and won't upload any tarball.

 I Cced that question to the devel list as I would like to move to
 another hoster but I don't want to do this decision alone. There are
 other ones that are more involved in the project.

 However, for debian, I just merged the upstream git to the top of debian
 git. The only think that is missing is to recreate the auto* files that
 usually gets autocreated by default in a tarball. It is just to find the
 right hook in dh mechanism. :-)

 Regards
Klaus

Hi,

 i'm fine with moving the project elsewhere, until we have clear
information about where are the official website and repositories.

I'm not fond of Sourceforge anyway ;)

Regards,

Zas




--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Fwd: Fix a segfault for bad .desktop files

2012-10-28 Thread Laurent Monin
Le 28/10/2012 09:14, Vedran Rodic a écrit :
 Hi, 

 Ubuntu 12.10 broke Geeqie

 Ubuntu contains a  .desktop file that has no exec= line, and it makes
 geeqie crash.

 I've made a patch that fixes it. See attachment. 

 More details about the bug at:

 https://bugs.launchpad.net/ubuntu/+source/geeqie/+bug/1056532

 Thanks for Geeqie!

 Vedran Rodic


Hi Vedran,

thanks for the patch, i pushed it to master
(http://gitorious.org/geeqie/geeqie/commit/cf90f247aceadb444297c3c66e2215e8c209ca69).

Kind regards,

Zas

--
WINDOWS 8 is here. 
Millions of people.  Your app in 30 days.
Visit The Windows 8 Center at Sourceforge for all your go to resources.
http://windows8center.sourceforge.net/
join-generation-app-and-make-money-coding-fast/___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Image scripts

2012-09-03 Thread Laurent Monin
Le 03/09/2012 07:32, davewh a écrit :
 I've placed some of my favorite image scripts on a web page for anyone
 interested.  I've added several to my Geeqie edit menu so I can right
 click on an image and get this functionality.  They include map_image and
 earth_image, which opens Google Maps or GoogleEarth, resp, at the location
 of a geotagged image.  There is one to set file mod time according to EXIF
 data and another to rename the file in a similar manner.

 They can be found at  http://www.mambali.com/image_scripts/
 http://www.mambali.com/image_scripts/ .  There is also a PHP script for
 dynamically generating a thumbnail index on a web server.  Hope someone
 finds them useful.

Hi,

 Nice scripts,  thank you, this may interest a lot of geeqie users.
Could you provide .desktop files you are using together with those scripts ?

Those are making nice examples on how to use this geeqie feature.

Thanks.

--
Zas

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] New development

2012-05-14 Thread Laurent Monin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Le 14/05/2012 20:33, Omari Stephens a écrit :
 I had sent a bugfix patch to the list, [PATCH] Fix seghfault when using
 a filename on the commandline. Dunno if someone pushed that or not,
 but it should definitely be in any new release.

 --xsdg


I committed it as bddb1da on lm branch
(http://gitorious.org/geeqie/geeqie/commit/bddb1da637c705720b9d84f9d2e54d4bf3e7fec6).

Thank you.

- --
Zas


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPsX+eAAoJENhZ8BtkbAenv+YIALC9AR1jWFl4CKUhvuVHYqw8
CG5sA23DQz0xnKc+mqhioMXdeLuOGm/eCcPyOUlB6snMiFbxWSKBbwrknPM4dfpp
/YthJNldAytkOVyZ5aepdCwkrZkjrE+dixMOGTNHEZTuKLe5RLRjqudQHPjetZFC
9JQ7OlapENjYdHHsFhp71dvbUGtNXdHsks273qi9aWV0My0pP4X7ntvMjoBv7d9B
GQb885D/JnblCMa6wRXMlIVfj/EgGW37XIqJ8C1Pal6bCbJCmdYb1gqT9d/oN3s8
iGvfy8Ppg5A/LS5e/Gw5VJCKlkuMkdseLKRz0ZryJCyhtxrtv8t6ubeh69Lpx04=
=BNqo
-END PGP SIGNATURE-

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] New development

2012-05-13 Thread Laurent Monin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Le 13/05/2012 13:42, Klaus Ethgen a écrit :
 Hello,

 today I finally find the time to look after geeqie again. I find that
 Laurent did make some cool stuff including committing patches from
 contributors.

 Is there any reason for not including them to the master ak development
 branch?

 By the way, e4a5079 seems to fix or try to fix the same issue than
 0922b29. I have to look which is better. ;-)

 Regards
 Klaus

Hi Klaus,

 you can merge most changes from my branch, carefully, most are ok to me.

I would like someone with time and good GTK knowledge fix up GTK
versions compatibility issues.
I think, nowadays, Geeqie code could use more native widgets (ie. for
folder navigation).

Regards,

Laurent aka Zas


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPr+yyAAoJENhZ8BtkbAenmZ8H/jRE+tEwfCyVPFjrpvMSIC2F
9MNQidMYZ1fbrleBRVqQyq8eU0oXrPRtAbul1mcQngBfABSNpqwNKtK59J3Hr1iy
vgo99+9Aq3oDz7ASKPsYCEH1U1TAUWQaSpZHLxVqlg8eoOEjOnCJkdv7FBCLyAGL
Ru8vqWA8LXpMUEvTJlcOL2T6mBp2AhGW3tCZUq7e1NtsFmpbVmXAqBHgx//LKh0e
BdpieP+9ziznFdRG+5vuP7rRZHfqK0J+mc0xfEfYMJitH9InKcI9R3jSXq6brTa8
hbJP4nP5qJ75oC+wDS2wySFHrvy5E0/Qsr0WPgmShOSmtbqFdqHJtktYfOke/xk=
=LeKV
-END PGP SIGNATURE-


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] group permissions not recognized

2011-07-16 Thread Laurent Monin
Le 16/07/2011 20:21, Colin Clark a écrit :

 Perhaps the following bug report and patch are related to this problem:
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574853


The patch was applied to my branch (lm) on Gitorious, OP should try to
compile
this branch and report.
See
http://gitorious.org/geeqie/geeqie/commit/77e88fa6c63df48ffc1d6ff4fe25098a54d1084e


--
Zas



--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] new logo

2011-05-09 Thread Laurent Monin
Le 09/05/2011 12:13, Matej Bohac a écrit :
 hello,
 I had the idea of creating a new Geeqie logo. Attached is the first 
 idea, that could be further developed... or abandoned.

 The first two ees were meant to indicate that it's a viewer, and even 
 that it is capable of displaying stereoscopic images. The eye-styled e 
 itself could be an icon.

 any opinions and suggestions welcomed!

 thanks

 Matej 

I like it :)

I'm not fond of the color though.

Whatever, nice work, and geeqie logo/icon has to be improved for sure ;)

--
Zas


--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Change colour for transparency

2011-03-02 Thread Laurent Monin
Le 02/03/2011 12:36, Marco a écrit :
 Hi,

 how can I change the background from checkerboard pattern to white when
 displaying images with transparency?


 Marco

Hi,

AFAIK you can't change it without modifying code.

Funny enough, when one grep for checker current source code:
src/pixbuf-renderer.c:/* alpha channel checkerboard background (same as
gimp) */
src/pixbuf-renderer.c:  /* FIXME checker colors for alpha should be
configurable,


I attached a patch to show you how to change it in the source, i don't
have time
to make a more complex patch to allow to configure it via Preferences
yet (though
if someone want to do one).

Regards,

--

Zas
diff --git a/src/pixbuf-renderer.c b/src/pixbuf-renderer.c
index 8522746..6946123 100644
--- a/src/pixbuf-renderer.c
+++ b/src/pixbuf-renderer.c
@@ -70,8 +70,9 @@ typedef enum {
 #define PR_SCROLLER_DEAD_ZONE 6
 
 /* alpha channel checkerboard background (same as gimp) */
-#define PR_ALPHA_CHECK1 0x0099
-#define PR_ALPHA_CHECK2 0x0066
+#define PR_ALPHA_CHECK1 0x00FF
+#define PR_ALPHA_CHECK2 0x00FF
+
 #define PR_ALPHA_CHECK_SIZE 16
 
 /* when scaling image to below this size, use nearest pixel for scaling
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Geeqie repositories

2011-02-14 Thread Laurent Monin
Le 14/02/2011 13:16, Klaus Ethgen a écrit :

 By the way, zas, how did you get this nice little icon beside your name
 without having a own gitorious account until now?

I just registred my committer/author email at gravatar.com, and
associated an image.

Regards,

--
Zas

--
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
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Geeqie repositories

2011-02-13 Thread Laurent Monin
Le 13/02/2011 21:47, Omari Stephens a écrit :
 Having 10 different repositories doesn't do anyone any good. How about
 sending an email first so we're all on the same page?

 Currently, there are geeqie git repositories at:
 github (started by zas)
 sourceforge (ported from sourceforge svn by someone; I forget who, but
 they sent email to the list)
Petr Ostadal (one of the forkers from initial Gqview with Vladimir).

 gitorious (started by klaus)

 We should pick a canonical one and stick with it.



I agree, i vote for gitorious, which is the best imho (sourceforge is a
pain, github has patent issues).

I put my stuff on github because i had an account there and svn activity
was dead, this is not attended
to store official geeqie.

--
Zas




--
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___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Swedish translation

2011-01-22 Thread Laurent Monin
Le 21/01/2011 22:48, Tore Ericsson a écrit :
 A mystery to me, though: What made me clone the lm-branch -- I have examined 
 the github repository without being able to figure out how that was chosen? 
 Or 
 have I all branches, without seeing them?

Oh, my own fault i set lm as default branch on github, fixed now,
master is the default branch.

 After some Git studies: Now, I've pulled recent lm-branch updates and may 
 merge my swedish-branch into it (locally). Would that be meaningful?  

No, use master branch, still your patches should apply cleanly to master
branch instead of lm.

 This is a basic almost complete translation. Next is to further work on 
 details. Now some English texts should perhaps be improved too in parallel? 

 In order to go on I should have the most recent English to compare with and 
 resolve the remaining issues. How is that best arranged? Sometimes I may have 
 suggestions even concerning the English ... How do I proceed?

Perhaps the best is to suggest english changes here (on mailing list) to be
discussed.

--
Zas


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Collections - collect_io.c - possible bug

2011-01-21 Thread Laurent Monin
Colin Clark a écrit :
 Hi

 If one sets up a collection with a single file, then renames that file, 
 Geeqie will crash.

 I believe the problem is line 661 in collect_io.c where 'path' is freed. 
 This is coming from the call in line 161 where 'buf' is set to something 
 that should not be freed.

 At the moment I do not understand the collection code, but for me just 
 commenting out line 661 solves the problem.


 Colin Clark


   
Hi,

from what i see, this part of code is totally wrong.
We are trying to free mem used elsewhere due to code at lines 151-155 i 
think.
@buf is pointing to a random point in a string, in no case it should be 
freed.

I don't have time atm to fix it, let's see if Klaus can.

--
Zas



--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] superseeded patch

2010-12-30 Thread Laurent Monin
Klaus Ethgen a écrit :
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512

 Hi Zas,

 by the way, you might drop patch 2f9f8fb as it is superseded by
 946a989.

 Regards
Klaus

   
Done, patch reverted (i will drop it on next rebase), see e3718e5.

Thank you.

--
Zas

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Geeqie.desktop

2010-12-29 Thread Laurent Monin

Tore Ericsson a écrit :
Från Laurent Monin z...@norz.org 2010-12-28 20.18.01: 
  

Klaus Ethgen a écrit :


Go to the directory geeqie_zas/po and issue git 'checkout -b swedish
origin/master' to create your own tracking branch for the main trunk. As
  

Note 'git checkout -b swedish origin/master'
  

Content-Type: text/plain; charset=ISO-8859-1\n


Assume should be changed to UTF-8.
  

Yes.

-Content-Type: text/plain; charset=ISO-8859-1\n
+Content-Type: text/plain; charset=utf-8\n

Well if I remember right, 'se' should be correct; isn't se_sv and se_fi used 
to distinguish the Swedish language practised in Sweden and in Finland, 
respectively, when that is important? Anyhow, we don't need such refinements 
here!
  

Found no .pot file, generated geeqie.pot with 'intltool-update -p', OK? Is it 
useful?


  

Just run : intltool-update sv
If a change to 'se' is preferred: 
	The sv.po may perhaps be reused by making a copy 'se.po' (or using 'Save 
as ...' in Poedit?) and adding 'se' into LINGUAS? Next, edit the 'se.po' 
according to 'geeqie.pot' - and into the right charset (I would prefer UTF-8 
as a universal and my standard). 
	How/when do we remove the 'sv' version, according to any git-rules? - 
Maybe simply delete etc.?


Tore

  
From gettext documentation Appendix A.1 Usual Language Codes 
(http://www.gnu.org/software/gettext/manual/gettext.html#Usual-Language-Codes),
correct language code for swedish is sv (svenska), while se is 
Northern Sami.


So keep sv.po, no need to change.

--
Zas

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] preferences.c - patch for FIXMEs

2010-12-29 Thread Laurent Monin
Colin Clark a écrit :
 Hi

 Attached is a patch for two minor FIXMEs in the preferences page.

 In the Files tab: when Add is pressed scroll to the new entry and set 
 focus to the file-type field
 In the Files tab: when Defaults is selected scroll to column 0, row 0
 In the Keyboard tab: when Defaults is pressed scroll to column 0, row 0

 These are just cosmetic changes, so are not really of interest until 
 the next release happens.


 Colin Clark

   
Thank you, i committed this patch (after a minor tidy up) to my own branch:
https://github.com/zas/geeqie_zas/commit/5f8bc5202a2aa234d975d93a9a09d7cd3b011012

Regards,

--
Zas


--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Geeqie.desktop

2010-12-28 Thread Laurent Monin
Klaus Ethgen a écrit :

 Go to the directory geeqie_zas/po and issue git 'checkout -b swedish
 origin/master' to create your own tracking branch for the main trunk. As
 there is no Swedish translation until now you have to start with 'cp
 geeqie.pot se.po' and edit the header of se.po to fulfil the Swedish
 language. (CHARSET in Content-Type is the most important. one.)

   
In fact, there is a swedish translation named po/sv.po:

# Swedish translations for gqview package
# Svenska �vers�ttningar f�r paketet gqview.
# Copyright (C) 2003 John Ellis
# This file is distributed under the same license as the gqview package.
# Hans �fverbeck hans.ofverb...@home.se, 2003-2005.
#
msgid 
msgstr 
Project-Id-Version: gqview 1.5.7\n
Report-Msgid-Bugs-To: \n
POT-Creation-Date: 2008-05-13 22:14+0200\n
PO-Revision-Date: 2005-02-01 23:26+0100\n
Last-Translator: Hans Ofverbeck hans.ofverb...@home.se\n
Language-Team: Swedish s...@li.org\n
MIME-Version: 1.0\n
Content-Type: text/plain; charset=ISO-8859-1\n
Content-Transfer-Encoding: 8bit\n
Plural-Forms: nplurals=2; plural=(n != 1);\n

It is very incomplete though.

I don't know what should be the correct name (sv.po versus se.po), but 
if se.po is more correct
then we should change it.


BTW, nice guide Klaus, perhaps worth to add it to the wiki on github.

--
Zas

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Geeqie.desktop

2010-12-27 Thread Laurent Monin
Tore Ericsson a écrit :
 Hi anyone who knows better about Geeqie!

   
Hi,
 As an old Gqview user I am now adopting Geeqie, a really handsome lightweight 
 image viewer/editor, 'editor' in the sense that various image modification 
 functions may be tied to it for simplified everyday image administration!

 I am glad to see that it is probably continued. If you do not have translator 
 already I should have some time to help with the Swedish translation. 

   
It would be great to have an update of the Swedish translation, it is 
far from complete
(sv.po: 534 translated messages, 399 fuzzy translations, 316 
untranslated messages).
 Some questions, however. In Gqview, when a script was programmed for 
 application on selected images, the image file names were fed into the script 
 (via the right-click menu) as a multi-file argument string, that is the file 
 names, each separated by a space (if clicked in the thumbnail list with 
 selection).

 Now applying the desktop-file convention for Geeqie, I have succeded to 
 define 
 custom commands almost as in Gqview, but the script will be executed once for 
 each image file and not once with the file array argument like was the case 
 with Gqview.

 Question 1: Is there a way to have scripts called in Geeqie in the same way 
 as 
 in Gqview? The usefullness is really lessened if this is not possible; e.g. 
 trimming hundreds of pictures etc., which else has to be programmed outside 
 the viewer with problems to indentify and select the right files, for 
 example. 

 Question 2: I did add some notes in my .desktop file. Do the agree with what 
 is currently correct? See below.

 The first question refers mostly, I think, to the %f argument or what could 
 possibly be used instead. And here is an excerpt from my .desktop file:

 ...
 # Call the helper script executable:
 # If the executable is missing, this desktop entry will be checked 'Hidden'
 # in the Geeqie 'Edit  Preferences  Configure Editors' dialog table.
 # You cannot uncheck it but it will not be checked if
 #  1. the executable does exist
 #  2. there is a Mime type match
 #  3. an argument like %f is present
 #  4. the category is X-Geeqie 
 TryExec=myscript
 Exec=myscript %f
 ...

   
Have a look at 
http://sourceforge.net/apps/trac/geeqie/wiki/GuideEditorsConfig

Everything that was possible with GQView should still be possible with 
Geeqie (and even more).

--
Zas

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Geeqie developemant stopped?

2010-12-13 Thread Laurent Monin
Klaus Ethgen a écrit :
 i converted geeqie current subversion repository to Git, and put it on
 github :

 https://github.com/zas/geeqie_zas
 

 Nice. Thanks.

 Unfortunately you did use x.anonymous as e-mail domain. Would be even
 more nice if it had have the correct e-mail there. I still have the
 original as a authorsfile.

   
I fixed it (rebased).
Check if it is ok.

Most recent patches were applied to lm branch.
Please test.

Regards,

--
Zas

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] [PATCH] optionally autorotate proofs

2010-12-12 Thread Laurent Monin
Jonathan Woithe a écrit :
 Hiall

   
 Since Vladimir, Petr or I are too busy to work on Geeqie, i converted 
 geeqie current subversion repository to Git, and put it on github :

 https://github.com/zas/geeqie_zas

 I quickly committed patches from mailing list to it (3).
 

 I presume that the svn repo is considered deprecated now?

   
Well, not really but since devel there is somehow stale...
 I don't have much time to work on it, but i'll try to commit submitted 
 patches if any.
 

 Around April 2010 I submitted a diff to the ML which adds auto-rotation to
 proofs, but I suspect it got overlooked at the time.  A new option control
 (auto-rotate proofs) is added and if set, proofs will be automatically
 rotated according to exif information.  This makes the proof sheets much
 more flexible - one can evaluate an entire sheet without having to
 continually rotate the printout and/or image.

 I think this is a worthwhile addition to geeqie, and in any case if people
 don't like it they can always turn off the option and have the original
 behaviour.  Please find the diff below and consider applying it to whichever
 repo is now considered the current one.  It was against geeqie 1.0.

   
I already did, check 
https://github.com/zas/geeqie_zas/commit/c4e3c3ee6f8b80c43925b0d38b8bcfae71050c6a
If the patch is the same, we are done. Thanks for the patch

--
Zas

--
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] [PATCH] optionally autorotate proofs

2010-12-12 Thread Laurent Monin

Omari Stephens a écrit :


By default, it shows the commit history of the master branch — you can 
see that in the Switch branches dropdown in the top-left.  zas 
committed your patch in the devel branch, which (now that I check) seems 
to have been renamed lm.


--xsdg

  

Yes, there are 3 main branches:
- master, will be used for stable code
- devel, will be used for unstable code
- lm (my own branch), even more unstable code

Each developper should create his own branch, we'll merge all changes
first in devel branch, then at release time in master one.

I had to restructure a bit after initial import in github, sorry for the 
inconvenience.


Regards,

Zas
--
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev ___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Geeqie developemant stopped?

2010-12-11 Thread Laurent Monin
Милош Поповић a écrit :
 1. I can see that last commit to SourceForge SVN was in May 2010. Are
 you giving up with Geeqie?

 2. Can you implement writing XMP to RAW files? As far as I know it can
 be done with ExifTools

 3. Can Geeqie list photos from some directory recursively? I can see
 that option for slideshow.



   

Since Vladimir, Petr or I are too busy to work on Geeqie, i converted 
geeqie current
subversion repository to Git, and put it on github :

https://github.com/zas/geeqie_zas

I quickly committed patches from mailing list to it (3).
I don't have much time to work on it, but i'll try to commit submitted 
patches if any.

I hope some devs will soon take over this git version.

Regards,

Laurent Monin (aka Zas)

--
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Geeqie developemant stopped?

2010-12-11 Thread Laurent Monin
Omari Stephens a écrit :
 On 12/11/2010 05:53 PM, Laurent Monin wrote:
   
 Милош Поповић a écrit :
 
 1. I can see that last commit to SourceForge SVN was in May 2010. Are
 you giving up with Geeqie?

 2. Can you implement writing XMP to RAW files? As far as I know it can
 be done with ExifTools

 3. Can Geeqie list photos from some directory recursively? I can see
 that option for slideshow.




   
 Since Vladimir, Petr or I are too busy to work on Geeqie, i converted
 geeqie current
 subversion repository to Git, and put it on github :

 https://github.com/zas/geeqie_zas

 I quickly committed patches from mailing list to it (3).
 I don't have much time to work on it, but i'll try to commit submitted
 patches if any.
 

 Cool.  Could you give me commit access?  I'm https://github.com/xsdg/

 --xsdg


   
Done.

--
Zas


--
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Open Multiple Windows

2010-03-21 Thread Laurent Monin
rent0n a écrit :
 Hi,

 First of all, thank you very much with the great work on geeqie, I love it.

 Unfortunately there is one thing that is keeping me away to use it on a 
 daily basis as my default image viewer.
 I like to browse my pictures in my file manager and then open them by 
 double-clicking on them.
 The problem with geeqie is that I can't open different pictures in 
 different windows, but the image is always opened in the currently 
 opened window deleting the previous one.
 In  this way it is impossible for me to compare two or more pictures 
 side by side, and I'm forced to use smething else, lige GPicView.

 I know there is an option to open images in new window in the side panel 
 but I don't use it, because I like the minimal one-window interface of 
 geeqie.

 Could you please tell me if there is a solution or if you could 
 implement an option in the preferences to always open new pictures in 
 new windows in the next releases?

 Thank you very much for your attention.


 Best regards.

 An enthusiastic Geeqie user - rent0n

   
Hi,

  you can open single windows for each image you want using View in new 
window item
in the contextual menu (right-click) from file list.

Another great feature to compare images is to use Split from View 
main menu item.

A simple way to do it:
select 4 images from file list (using Ctrl + left click), then open main 
menu View  Split  Quad

You can drag'n'drop images on each view to change an image.
Note that you can use Connected zoom to zoom all 4 images at once 
(Shift + + or -).

Regards,

--
Zas




--
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
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] New Feature: Lua scripting capability

2010-03-08 Thread Laurent Monin
Klaus Ethgen a écrit :
 Hi Folks,

 I am in a very early state to implement lua scripting capability to
 geeqie (so I do not want to commit in this early state at all). To let
 you see some results and hear if there is interest in it I put the diff
 to the current master in the attachment.

 To test it, you can for example add the following script to
 ~/.config/geeqie/lua/date.lua:
 ---
 exif = Image:get_exif();
 mydate = Image:get_date();
 exifdate = exif:get_datum(Exif.Photo.DateTimeOriginal);
 if (exifdate) then
mydate = exifdate;
 end
 return os.date(%c, mydate);
 ---

 ... and substitute %date% in the overlay display with %lua/date.lua/%.

 At the moment I just export some values like path, name, extension,
 date, size and all exif values to lua. Also only this interface to the
 overlay is implemented.

 My plan is to allow to change collections from lua or iter over image
 duplicates to get ridge of them in some intelligent way. There might
 also interest in using it in common scripting as the footprint for lua
 is very small.

 However, that's all future music. I am interested in your answers.

 Regards
Klaus
   
Hi Klaus,

 good idea.

About implementation, i would just change %lua/file.lua% to %lua:file% ;)
Perhaps the whole overlay template can be converted to a lua script.

--
Zas


--
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
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Bugtracker and V1.0

2010-02-08 Thread Laurent Monin
Klaus Ethgen a écrit :
 Hi,

 I commented the bug 2890582 as it is not a bug at all. How to change the
 stat of the bug?
I marked the issue as Invalid and closed it, is it ok ?

--
Zas





--
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
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Catalan translation

2010-01-27 Thread Laurent Monin
Mecatxis a écrit :
 Hello!

 I send you the file with the updated catalan translation.

 Could you upload into Subversion?

 Thanks!


Your update was committed as revision 1897 to geeqie svn trunk.

Thank you very much.

--
Zas

--
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
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] bug report?

2009-12-09 Thread Laurent Monin

Lars Täuber a écrit :

Sorry you misunderstood me. I meant the menu entry of the menu appearing when 
right mouse button is pressed inside the keywords window. The last entry is 
»Add keyword«. I liked this to be on top of the menu.
Or I'd like to add a shortcut for this action.

  

Oh :)

Yes, it would make more sense to have this option at top, try attached 
patch.


--
Zas

Index: bar_keywords.c
===
--- bar_keywords.c	(révision 1877)
+++ bar_keywords.c	(copie de travail)
@@ -1098,6 +1098,10 @@
 
 	menu = popup_menu_short_lived();
 
+	menu_item_add_stock(menu, _(Add keyword), GTK_STOCK_EDIT, G_CALLBACK(bar_pane_keywords_add_dialog_cb), pkd);
+	
+	menu_item_add_divider(menu);
+
 	if (pkd-click_tpath)
 		{
 		/* for the entry */
@@ -1168,10 +1172,6 @@
 	menu_item_add_check(submenu, _(Collapse unchecked), pkd-collapse_unchecked, G_CALLBACK(bar_pane_keywords_collapse_unchecked_toggle_cb), pkd);
 	menu_item_add_check(submenu, _(Hide unchecked), pkd-hide_unchecked, G_CALLBACK(bar_pane_keywords_hide_unchecked_toggle_cb), pkd);
 
-	menu_item_add_divider(menu);
-
-	menu_item_add_stock(menu, _(Add keyword), GTK_STOCK_EDIT, G_CALLBACK(bar_pane_keywords_add_dialog_cb), pkd);
-	
 	gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, 0, GDK_CURRENT_TIME);
 }
 
--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] translation of documents in French

2009-11-18 Thread Laurent Monin
Laurent Durand a écrit :
 Hello,

 I start translating the documentation into French.

 Thank you for your work at all.

 Ignace

   
You should be aware that the current documention is not in sync
with latest Geeqie (future 1.0).
It's mostly a reformated GQView documentation, converted to wiki.

During your translation work, please feel free to update english one ;)
Most notably we need screenshots, and fixes related to recent UI changes.

Btw, thank you for contributing.

--
Zas

--
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
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Next development steps

2009-11-15 Thread Laurent Monin
Klaus Ethgen a écrit :
 Hi,

 what do you think about releasing the first version? At the moment the
 string freeze is preventing all new implementations. Sure, I have my own
 versions in a git repository but putting them in a heavy weight SVN
 Branch would be no real help as that would make multiple merge a pain in
 the ...

 So, I think, as there seem to be no show stopper, that we should release
 the stable version and going on with new implementations. What do you
 think about?

 Regards
Klaus
Yes, i agree, 1.0 should be released. What is missing for that ?

Just after it, we should move to git as discussed some time ago.
It should ease merging of your stuff, Klaus ;)

--
Zas



--
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
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] pixel info

2009-11-10 Thread Laurent Monin
Michael a écrit :
 It's a nice thing, how about adding 'copy color' to the image background 
 (context) menu ?


   
Please use trackers at Sourceforge to file bugs and feature requests.

http://sourceforge.net/tracker/?group_id=222125

Regards,

--
Zas

--
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
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] custom editing commands, and metadata

2009-11-08 Thread Laurent Monin
Michael a écrit :
 Hello, and congrats you picked up gqview ! That was long due, and worth an 
 effort !

 I used gqview for many years now, and configured lots of 'editors' linked to 
 custom script tools.
 They were basically dealing with collecting file pathes in a file where i 
 then would do bulk operations (like bulk pattern renaming, rescaling, 
 sharpening, watermarking etc, of course also rotating with wiping out EXIF 
 rotation), some also creating archives and such things.

 I just shifted all operations from my file manager scripts to gqview, since 
 file managers can not show images equally comfortable (mostly, zooming and 
 EXIF view). I'm a photographer so i look through dozens, even hundred of 
 fotos every day, often need to look up tiny image details and sometimes 
 compare EXIF data,  and i need to spare every second in workflow i can. 

 So i hacked scripts. When modifying image data they are calling imagemagick 
 backends.

 Sometimes the gqview editor commands consisted of several invocations, in 
 order -- gqview allowed for a rudimentary commandline providing multiple 
 commands and conditions and such.

 Actually this was the whole point why i used gqview at all as my standard 
 viewer. Besides the easy layout (i need folder tree, huge thumbnails and 
 image window, and the new EXIF window now also is a good thing)

 How can i do this with geeqie ? Do you plan to re-implement custom editing 
 commands ?  


 greets, mi

   
User-defined commands are still available in geeqie, but the way to
define them was changed.
Basically those commands are now called through .desktop files which can
be created using
Edit  Preferences  Configure Editors then New button.

In current trunk, a directory called plugins contains .desktop files and
associated scripts.
For example, rotate.desktop calls a script named geeqie-rotate, and the
command can
be launched using Edit/Orientation menu.
Note that Geeqie is using system-wide .desktop files too.

Regards,

--
Zas




--
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
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] moving raw files - and a request

2009-11-07 Thread Laurent Monin
Vladimir Nadvornik a écrit :
 Hi Skippy,

 On st 4. listopadu 2009, The Great One, Himself wrote:
   
 Greetings all.  I just joined this list as I have a question about
 Geeqie and couldn't find an answer any place.

 I noticed that jpg and raw (cr2 in my case) files are linked together.
 This is great.  When I delete the jpg it also deletes the cr2.  Very
 happy does this make me.

 Then I tried to move them from one folder to another by drop/drag to the
 sidebar.  The jpg moves, but the cr2 will not go with it.  Furthermore,
 I can't get the cr2 to move at all by drop/drag.

 Am I doing something wrong?  Is this a bug?  Does this simply not work
 for some reason?

 I am using Gentoo linux, not sure which version of Geeqie I have.
 G, I should have looked at that before I left home.  I'll check into
 that.  I'm running ~amd64 on an i7 processor.

 

 Can you please test the latest svn? It should have some fixes in this area.

 The behavior of drag and drop also depends on the way the file is displayed. 
 In icon view it always takes all files, in list view it depends if the entry 
 is expanded or not.


   
 Also, a request?  Or maybe this is already in there and I just don't
 know how to set it up.  Is it possible to display xcf.bz2 files?  Or
 does the compression add a level of complication that is just too hard
 to deal with?

 

 For xcf files you can install this loader:

 http://blog.reblochon.org/2009/03/gift-to-competition.html

 I don't know if it already supports bz2. Geeqie itself does not support 
 compressed images yet.

 Vladimir


   
Just tested, it works here !

Tested with latest geeqie (svn) under Ubuntu 9.04, using following
instructions (from comments):
 sudo apt-get install git-core autoconf libtool
 sudo apt-get install libgtk2.0-dev libbz2-dev
 cd ~
 git clone git://gitorious.org/xcf-pixbuf-loader/mainline.git pixbuf
 cd pixbuf
 ./autogen.sh
 make
 cd .libs
 sudo cp libioxcf.so /usr/lib/gtk-2.0/2.10.0/loaders
 sudo gdk-pixbuf-query-loaders libioxcf.so
 sudo gdk-pixbuf-query-loaders  /etc/gtk-2.0/gdk-pixbuf.loaders

It loads xcf and xcf.bz2 files.
You may need to re-generate thumbnails (use Edit  Preferences 
Thumbnail maintenance).

--
Zas


--
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
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Spanish Translation

2009-11-07 Thread Laurent Monin
Redy Rodriguez a écrit :
 Does anybody translating geeqie into Spanish?

 I just completed the translation of the es.po file. But I dont know how to
 send It to the development team. 

 I have uploaded it as attachment to
 https://sourceforge.net/apps/trac/geeqie/attachment/wiki/DocStatus/es.po

   
You should be able to contact last translator (Ariel Fermani in es.po).
Did you try ?

In the mean time, I commited this updated translation to svn trunk
for all to review (revision 1869).

Thank you for contributing :)

--

Zas

--
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
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Problems with large panorama pictures

2009-09-25 Thread Laurent Monin
big...@spin.ict.pwr.wroc.pl a écrit :
 Hi!

   I have a problem with displaying very wide panorama photos. If photo 
 is more than around 32768 pixels wide, the rest of picure is corrupted 
 (geeqie1.jpeg). When I set zoom to 1:1, whole image gets currupted 
 (geeqie2.jpeg). On konqueror image browser image is displayed 
 properly. On gqview there is also an identical corruption when 
 displaying scaled down image but on full zoom (1:1) everyhing is ok. 
 Is it a limitation of some libraries, on which geeqie depends or 
 something else?

 Regards

 Rafal
Hi Rafal,

  this is a known issue which is not yet fixed.
See 
http://sourceforge.net/tracker/?func=detailaid=1955358group_id=222125atid=1054680

Regards,

--
Zas


--
Come build with us! The BlackBerryreg; 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#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Speed Comparisons

2009-08-25 Thread Laurent Monin
Arnd a écrit :
 Hi!

 Thank you for continuing development of Geeqie. I am a long time GQview 
 user. I use some other viewers as well.

 Here are some speed comparisons which might be interesting. I've done 
 them on an old P3-600 single CPU computer, which demonstrates the 
 differences (absolute values are not significant in this comparison) 
 quite well. All programs were compiled with -O2, kernel is 2.6.27.7, the 
 versions are:
 * Geeqie 1.0beta2
 * GQview 2.1.5
 * KuickShow 0.8.13
 * Xzgv 0.8

 The resulting times in seconds were measured with the time command, user 
 cpu time only, numbers are averages of 5 tries, plus one pre-try not 
 measured so that everything is always in memory cache.

 With the exception of Xzgv, all are very slow to load a folder full of 
 files, and Geeqie is the slowest by far. This is what hurts the most the 
 current user experience with Geeqie in my opinion, because if you move 
 or add files the wait times accumulate.

 Geeqie is the best at zooming an image, and the worst at displaying 
 progressive JPEGs. Displaying non-zoomed normal (baseline) JPEGs is ok, 
 but GQview is quicker, which should not be! ;-)

 Xzgv is the fastest overall. This sure has to do with its reduced set of 
 features, but its display code might be interesting.

 Regards,
 Arnd


 PS: Results

 1) Program startup
 ===

 1.1) Empty folder
 
 geeqie:   1,20
 gqview:   0,41
 kuickshow:1,14
 xzgv: 0,12

 1.2) Folder with 5100 images (1st image very small)
 
 geeqie:   10,7
 gqview:7,1
 kuickshow: 6,0
 xzgv:  0,2

 2) Image loading
 ===(only 1 image in folder, without startup time)

 2.1) Baseline JPEG, 6000x4690, no zoom
 
 geeqie:   10,1
 gqview:9,9
 kuickshow:11,5
 xzgv:  9,2

 2.2) Baseline JPEG, 6000x4690, zoom to window
 
 geeqie:   12,8
 gqview:   22,6
 kuickshow:15,4

 2.3) Progressive JPEG, 1638x2000, no zoom
 
 geeqie:8,0
 gqview:6,4
 kuickshow: 0,7
 xzgv:  0,6

 2.3) Progressive JPEG, 1638x2000, zoom to window
 
 geeqie:   10,0
 gqview:9,5
 kuickshow: 8,8



   
Thanks for the numbers !
There is definitively a lot of space for improvement it seems...

It would be interesting to have such numbers for recent hardware too (n 
CPUs/more RAM).

Thank you.

--
Zas



--
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
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Speed Comparisons

2009-08-25 Thread Laurent Monin
Klaus Ethgen a écrit :
 Hi,

Hi Klaus,
 Am Di den 25. Aug 2009 um 16:18 schrieb Laurent Monin:
  Thanks for the numbers !

 Yea, thanks. It shows in numbers what I just felt.

  It would be interesting to have such numbers for recent hardware too (n
  CPUs/more RAM).

 I think it would be no other result. Even more it might be worse as the
 searching algorithm for sidecars.

Numbers will say if you're true or wrong there.

 Maybe it is profiting from more then one CPU. But I think many users
 will use it on single core machines.

According to http://store.steampowered.com/hwsurvey/, dual core and quad
core
are progressively more popular among gamers at least.
Today's processors are mostly dual core.
So i think it will be interesting to have similar numbers for such
platforms.

--
Zas



--
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
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Geeqie needs documentation

2009-08-08 Thread Laurent Monin
Vladimir Nadvornik a écrit :
 On so 1. srpna 2009, Vladimir Nadvornik wrote:
   
 On st 29. července 2009, Laurent Monin wrote:
 
 Omari Stephens a écrit :
   
 Geeqie clearly needs documentation — one shouldn't be required to email
 the mailing list to discover all of its cool features.  I might just be
 insane enough to start working on this.  Thoughts?

 For the record, the type of documentation I have in mind is probably
 called a user manual.

 --xsdg
 
 Have a look at the manual in doc/. It needs to be updated to match
 current Geeqie state (contents is matching earlier Geeqie versions).

 Many changes were made in UI (menus/preferences).
 Plugins are not documented.
 Color profiles support is not documented.
 New sidebar is not documented.

 So if you feel you can do something about it, it would be very nice for
 new users and great for 1.0.
   
 I am reading the Trac documentation. It seems that it would be easy to
 convert the html to Trac wiki and maintain it there. IMHO it would simplify
 the manual maintenance a lot.

 

 I tried the conversion, the result is here for now:

 http://sourceforge.net/userapps/trac/nadvornik/wiki/GuideIndex

 Vladimir

   
This url returns a python error (at this moment).

--
Zas

--
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
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Compiling geeqie on Mac

2009-07-30 Thread Laurent Monin
Martin Proetzsch a écrit :
 Hi again,


 On Jul 28, 2009, at 10:32 PM, Vladimir Nadvornik wrote:

   
 what() is declared like this:

 virtual const char* what() const throw() { return msg_.c_str(); }

 It should not need another c_str(),
 Which Exiv2 version do you have?
 

 I found out that my exiv2 installation was kind of screwed up.  
 Although fink showed me an installed version 0.18, some files still  
 remained from a previous 0.12 installation. After having fixed this,  
 geeqie compiles using only the patch by Laurent. So, from my point of  
 view it is ready for checkin.

 Regards,
   Martin


   
Patch committed as revision 1811.

Thank you for reporting the issue.

--
Zas


--
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
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Compiling geeqie on Mac

2009-07-27 Thread Laurent Monin

Omari Stephens a écrit :


Is this really part of the Compiling geeqie on Mac thread?  I don't see the 
connection.


--xsdg

  


Martin Proetzsch attached 2 patches in 1 to his first message.
It is an attempt to fix 2 compilation issues on MacOs X.

The first patch is about MAP_ANON vs MAP_ANONYMOUS.
The second concerns exiv2.cc.

Looks perfectly connected to me ;)

--
Zas
--
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] patch to remove bashisms

2009-07-25 Thread Laurent Monin
Greg Troxel a écrit :
 Geeqie has several bashisms which seem unnecessary.  I don't use all
 these features so perhaps one or more of the scripts does actually need
 bash.  If it does, it should be found via configure and listed as an
 explicit dependency.  My experience has been that 95% of scripts that
 say /bin/bash work fine with /bin/sh and I don't see any bash extensions
 in use here.


   
Hi Greg,

 i committed your patch related to configure.in (as rev. 1805).

But for patches against plugins, i'm unsure.
What do you all think about those ?

--

Zas

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


Re: [Geeqie-devel] [PATCH] Multithreaded image loading

2009-07-07 Thread Laurent Monin
Bartosz Zaborowski a écrit :
 Hi all,

   
Hi,
 I've rewritten some code of image loader to get real performance gain from 
 threads on SMP machine. Threads support exist in geeqie since around rev 
 1100, but in fact, there are up to 2 simultaneously running threads - main 
 (for GUI) and only 1 for image loader. And GUI doesn't do anything 
 cpu-intensive.

 With this patch geeqie runs a few simultaneous threads for image loaders 
 while it loads image for main view and makes thumbnails in main list.
 Number of threads depends on MAX_THREADS constant (currently located in 
 main.h, but it should probably be determined in configure somehow - I'm not 
 familiar with automake etc).
 Low prio tasks (making thumbnails) runs in up to MAX_THREADS threads. When 
 high-prio task arrives, some of the low-prio are stopped - so when 
 MAX_THREADS=1 you get exactly the old behavior.

 It seems that MAX_THREADS should be set to number_of_cpus+1, with that value 
 I've got best performance.

 I haven't modified the search and duplicates dialogs with their thumbnails 
 loading methods - maybe I'll rewrite them later (I don't understand why there 
 is more than 1 separate mechanism for making thumbnails?).

 And I did some tests: after modification on 2core CPU I've got about 185% of 
 initial performance, and when MAX_THREADS=1 we get sth which is not worse 
 than original geeqie.

 There are also some minor modifications in file reading - I've added madvise 
 call to force readahead of mmaped file (with many threads its really 
 important) and increased a bit read buffer - it gives a little performance 
 gain for free.

 I hope somebody will enjoy my work;)

 PS. I know its not the best time to post such patch, since you are releasing 
 1.0, but it's also a part of a project for my course at high school;)
 PS2. I'll be offline from 9.07 to ~28.07, so I won't answer for any comments 
 those days.

 --
 bart

   
Thanks for this patch, i attached a version of it updated to match
latest revision (1796) for all to test.

I didn't have the time for now to test it in details, but it looks
interesting.

--
Zas

Index: src/view_file.c
===
--- src/view_file.c	(révision 1796)
+++ src/view_file.c	(copie de travail)
@@ -671,6 +671,7 @@
 
 	file_data_unref(vf-dir_fd);
 	g_free(vf-info);
+	g_mutex_free(vf-thumb_loader_mutex);
 	g_free(vf);
 }
 
@@ -755,6 +756,8 @@
 
 	if (dir_fd) vf_set_fd(vf, dir_fd);
 
+	vf-thumb_loader_mutex = g_mutex_new();
+
 	return vf;
 }
 
@@ -779,8 +782,11 @@
 	}
 }
 
+/* for thumbnail loaders threads management */
+static gint thumb_loaders_threads = 0;
 
 static gboolean vf_thumb_next(ViewFile *vf);
+static void vf_start_thumb_next_loaders(ViewFile *vf);
 
 static gdouble vf_thumb_progress(ViewFile *vf)
 {
@@ -814,26 +820,52 @@
 		}
 }
 
-static void vf_thumb_do(ViewFile *vf, FileData *fd)
+static void vf_thumb_do(ViewFile *vf, FileData *fd, gint loader_i)
 {
+	vf-thumbs_loader_busy[loader_i] = FALSE;
+	if (vf-thumbs_loader[loader_i])
+		{
+		thumb_loader_free(vf-thumbs_loader[loader_i]);
+		}
+
+	vf-thumbs_loader[loader_i] = NULL;
+	vf-thumbs_filedata[loader_i] = NULL;
+
 	if (!fd) return;
 
 	vf_set_thumb_fd(vf, fd);
+	fd-thumb_loading = FALSE;
 	vf_thumb_status(vf, vf_thumb_progress(vf), _(Loading thumbs...));
 }
 
 void vf_thumb_cleanup(ViewFile *vf)
 {
+	gint i;
 	vf_thumb_status(vf, 0.0, NULL);
 
 	vf-thumbs_running = FALSE;
 
-	thumb_loader_free(vf-thumbs_loader);
-	vf-thumbs_loader = NULL;
+	for (i=0; i  MAX_THREADS; i++)
+		{
+		if (vf-thumbs_loader_busy[i]  vf-thumbs_filedata[i])
+			{
+			vf-thumbs_filedata[i]-thumb_loading = FALSE;
+			}
+		thumb_loader_free(vf-thumbs_loader[i]);
+		vf-thumbs_loader[i] = NULL;
 
-	vf-thumbs_filedata = NULL;
+		vf-thumbs_filedata[i] = NULL;
+		vf-thumbs_loader_busy[i] = FALSE;
+		}
+	thumb_loaders_threads = 0;
 }
 
+void vf_thumb_cleanup_gently(ViewFile *vf)
+{
+	vf-thumbs_running = FALSE;
+	vf_thumb_status(vf, 0.0, NULL);
+}
+
 void vf_thumb_stop(ViewFile *vf)
 {
 	if (vf-thumbs_running) vf_thumb_cleanup(vf);
@@ -841,14 +873,20 @@
 
 static void vf_thumb_common_cb(ThumbLoader *tl, gpointer data)
 {
+	gint i;
 	ViewFile *vf = data;
 
-	if (vf-thumbs_filedata  vf-thumbs_loader == tl)
+	for(i=0; i  MAX_THREADS; i++)
 		{
-		vf_thumb_do(vf, vf-thumbs_filedata);
+		if (vf-thumbs_filedata[i]  vf-thumbs_loader[i] == tl)
+	  		{
+			vf_thumb_do(vf, vf-thumbs_filedata[i], i);
+			break;
+			}
 		}
+	thumb_loaders_threads--;
 
-	while (vf_thumb_next(vf));
+	vf_start_thumb_next_loaders(vf);
 }
 
 static void vf_thumb_error_cb(ThumbLoader *tl, gpointer data)
@@ -861,46 +899,97 @@
 	vf_thumb_common_cb(tl, data);
 }
 
+static void vf_start_thumb_next_loaders(ViewFile *vf)
+{
+	if (!GTK_WIDGET_REALIZED(vf-listview))
+		{
+		vf_thumb_status(vf, 0.0, NULL);
+		return ;
+		}
+
+	do
+		{
+		while (vf_thumb_next(vf)  vf-thumbs_running);
+		if (!vf-thumbs_running)
+			{
+			break;
+			}
+		}
+	while 

Re: [Geeqie-devel] beta 2 release

2009-06-28 Thread Laurent Monin
Vladimir Nadvornik a écrit :
 Hi,

 I will be off-line for 2 weeks, starting from July 3. IMO it would
 be a good idea to release 1.0beta2 before, that means on Thursday,
 July 2.
 The plans for beta2 include string freeze. Is it OK for everybody?

 Vladimir

   
Ok for me, i will try to update french translations before.

--
Zas

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


Re: [Geeqie-devel] Geeqie: opening twice an image in Gimp is not possible

2009-05-31 Thread Laurent Monin
Vladimir Nadvornik a écrit :
 Hi,

 On čt 26. března 2009, you wrote:
   
 Hi Vladimir,

   when i try to open twice the same image in Gimp (as editor), geeqie emits
 a Another operation in progress error and the second attempt fails.

 

 I tried to fix this in rev. 1717.
 The files are blocked for editors that are executed for each file separately
 - %f or %u and not blocked for editors that are executed on all files
 with single command - %F or %U. I am not completely sure if this heuristic
 is sufficient, please test.

 Vladimir


   
Looks ok to me. We'll see over the time if the heuristic is sufficient.

Thank you.


-- 

Zas

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Doxygen

2009-05-30 Thread Laurent Monin
Klaus Ethgen a écrit :
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512

 Hi folks,

   
Hi Klaus,
 now it is Pfingsten and I sit at $HOME with time left to do some nice
 work. So I came to the doxygen point. :-)

 Am Fr den 24. Apr 2009 um 14:48 schrieb Laurent Monin:
   
 FYI, preliminary support for doxygen was added in revision 1550.
 Note that the code is not doxygenated yet though ...
 

 There should be a minimal style definition how we should use it.

 I would recommend the following:
 - - Double star syntax and _not_ the QT-Syntax
   - It is a bit easier to type. ;-)

   
Ok for me.
 - - explicit brief definition (\brief)

   
Ok.
 - - The backslash style for commands (\brief ...) (I like the \ more as
   the grey level is better when you read the source. However that could
   also be a _pro_ for @ ... What do you think?)

   
Ok. \ seems more widely used.
 - - Documentation orientated to developer. What I mean is that we have no
   API for geeqie so the documentation should mostly help new developers
   to get into the code.

   
Yes.
 - - Use of \deprecated for functions who are in the way of been reworked
   or deleted.

   
Yes.
 If there is nothing against this rules I would add it to the coding
 document.

   
Agreed.

Regards,

Zas

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Geeqie coding standards

2009-05-25 Thread Laurent Monin

Klaus Ethgen a écrit :

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi,

Am Mo den 25. Mai 2009 um  0:25 schrieb Omari Stephens:
  

I found myself with some free time this weekend,



Lucky dear. ;-)

  

yep ;)

#2) We need to get rid of tabs as an acceptable form of whitespace
Yes, switching will be painful.  But ever since people started telling their 
editors to use 4-character or 2-character tabstops, tabs have become more pain 
than they're worth.  This is especially evident when people try to align code or 
comments written with one setting, and other people try to view them with an 
editor set to some different setting.  This is clearly visible in [1], and it's 
ugly and hard to read (see lines 369, 375, and 380 for one example; 383???387 for 
another).



I don't see the point. I myself prefer 3 spaces indenting. But I leave
the tap stops at 8 tabs which gets replaced automatically by my $EDITOR.

At least for the editor Vim there should be a modeline in every source
file which forces the coding style to the correct one. The same feature
might be available for other editors too.

  

Vim modelines are present in current svn.
As a replacement, I would suggest using 4 spaces per level of indentation.  I 
find that 4 spaces is wide enough that it's easy to visually track over long 
vertical distances (2 spaces is not), but is also not so wide so as to make it 
painful to write code 4-levels-deep (which is one problem with 8-space tabs).



As I mention above I like to have 3 space indenting. That is enough but
not to much. But even with 3 space indent I always have 8 space tab
stop. I do not think that we should force to change this 8 space tabs.
That would be difficult viewing the source by less or printing it.

  
Current indentation rules are working, just use an editor which handles 
them correctly.

#3) Set some guidelines for comment appearance
Should people use // or /*...*/ for single-line comments that appear on their 
own line or after a semicolon?



Well, I myself prefer the // comments for the comments in the codeline.
However, to accept that is a Gcc extension. There is no prove that other
C compilers accept them too. So I think for portability we should stick
on /* */.

  

Yes.
But one thing we should start to do is to use doxygen format.

That is irrelevant for c++ files like exiv2.cc as the language supports
// comments.

  

True.

How much space should go between a comment and the semicolon?  Should
comments on successive lines be aligned?



No preferences...

  

It depends...
There are clearly tons of options here, and I think use your judgment will 
have to be a big part of it.  However, we still need some ground rules.  Look at 
[1] again.  The comments are _all over the place_.  Switching to spaces (see #2 
above) will make this much more readable, but having some sort of concrete 
suggestion would be a good thing.



It would be nice to have beautified code. But that doesn't happens
unless we prove that as a checkin filter. However. I prefer to _have_
comments than that they are left out cause of lazy to format them
proper. (And programmers _are_ lazy. ;-)

However, there might be code beautifiers around the net like perltidy
for perl. Maybe we can find such.

  

GNU indent ([2]) will probably be useful for this process.



Yes. In fact, I used it while diving thought the code at the begin.

  

I made some attempts to use such tool a while ago.
The main issue is that it breaks some code vertical alignment.
Also our (inherited from gqview) way of indenting {} is not well handled.
Perhaps we may adopt another (generic) coding style.
I don't think it is a main issue for now though.

Among few things i'd like, return value of functions on the line just 
before the name:

gint
somefunc(gint param1, gchar *param2)
{
   code
};

it eases grepping on function name  (grep -n '^somefunc(' *.c) and 
shorten the line a bit.


A thing i _really_ dislike is space between function name and first 
parenthesis as used  in

glib/gtk code: func() vs func ().


Just some thoughts,


--
Zas
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com ___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Geeqie UI

2009-05-21 Thread Laurent Monin
Laurent Monin a écrit :
 This is just a quick hack.
 A nicer patch will be included before 1.0 release if Vladimir agrees.

I committed a nicer patch to svn trunk, as revision 1710.
Please try it.

--
Zas

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com 
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] geeqie beta 1 xubuntu 9.04

2009-05-15 Thread Laurent Monin
Simon Steinbeiß a écrit :
 Hi again,

 I just came home now and tried debuild, that didn't work out too well
either:
 http://pastebin.com/m1f564325

 However using the other proposed method at least resulted in a package
(even though there
 were some errors), but when I tried to install it the following errors
came up:

 dpkg: error processing geeqie_1.0alpha3-0_i386.deb (--install):
  trying to overwrite `/usr/share/locale/eu/LC_MESSAGES/geeqie.mo',
which is also in
 package geeqie-common dpkg-deb: subprocess paste killed by signal
(Broken pipe)
 Errors were encountered while processing:
  geeqie_1.0alpha3-0_i386.deb

 (Actually the same errors appear when I try to install the package for
Etch.)

 Thanks for your support anyways,
 Simon



I guess you have to uninstall geeqie and geeqie-common packages from
your system before
installing this one. They are a bit different (2 packages vs 1).
Then install your just-made package.

--

Zas

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] beta1 release

2009-05-06 Thread Laurent Monin
Vladimir Nadvornik a écrit :
 Hi,

   
Hi Vladimir,
 Geeqie 1.0 is now almost feature complete. I think that we can release next 
 week, May 13 is a good day ;)

   
Yes ;)
 The most important missing feature is the hotkey configuration dialog. I hope 
 that Petr will make it i time :)
   
I hope so too ;)
 I think that now is a good time to switch to XDG directory layout because the 
 configuration file has changed anyway and any later change will be more 
 difficult.

   
I agree. Everything is there, it needs some testing.
 Any comments?

 Vladimir

   


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Pan view integration improvements

2009-04-24 Thread Laurent Monin
Oscar Miras a écrit :
 Hi everybody,

 After the meeting with my tutor, he talked me about Doxygen:

 http://www.stack.nl/~dimitri/doxygen/ 
 http://www.stack.nl/%7Edimitri/doxygen/

 It's a source code documentation generator that could help with it.
 This is an exemple of output in HTML format:

 http://xerces.apache.org/xerces-c/apiDocs-3/classes.html

FYI, preliminary support for doxygen was added in revision 1550.
Note that the code is not doxygenated yet though ...

--

Zas

--
Crystal Reports #45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Color profile menu

2009-04-13 Thread Laurent Monin
Vladimir Nadvornik a écrit :
 Hi,

 Is there any advantage of having the color profile menu in a popup on the 
 status bar? I am thinking about moving it to the View menu. This would 
 simplify the code a bit and allow using hotkeys.

 Vladimir

   
Well, we need to be able to switch profiles on per-image basis, and 
clear indication
of current used profile is mandatory.
I like it where it is now, but imho this is not obvious for new user.

It would be more consistent to move menus from bottom bar to main menu 
or contextual
ones (ie. sort menu).

Regards,

Zas

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Translation

2009-04-10 Thread Laurent Monin

mecatxis a écrit :

Independence of this we should look for translators to get all languages
updated.

  



Hi! I'm part of the catalan translation team (ca.po). We started working 
on it!


  

Great !



--
Laurent Monin aka Zas
--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Translation

2009-04-09 Thread Laurent MONIN
On Sat, 4 Apr 2009 23:28:31 +0100
Klaus Ethgen klaus+gee...@ethgen.de wrote:

 Hi,
 

Hi Klaus,

 I did some update to de.po, the German translation. Within I found
 something odd. Is it really necessary to translate strings like D65,
 D75 (well, maybe, could be written other way in Chinese, but I think
 that is a fix phrase.) or even more %s\n\%s\? 

This is needed. In french we don't use such double quotes but «» instead for 
example.
About D65 and al. i guess it is almost fixed so imho this can be removed from
translatable strings.

 Additional there is
 some internationalised strings in cellrenderericon.c which I do not know
 where it is for and so I am not clear how to translate it. I think that
 text is just internal used. (Pixbuf Object for strong example)

Yes, since those will be never displayed we can drop them from translations.

 
 Apart from that I found some cases where the same word has to be
 translated different in different context. So my first patch add
 pgettext for this cases. I am not completely sure if I did the
 implementation correct (well, at least it works). I just copied the
 gettext.h from my local gettext installation to the src tree and use
 that header. But I think that is dirty and there must be a other method
 to use pgettext. The documentation is quiet about the point how to have
 that function in source it only tells how that function works. I did a
 full night searching for how to implement those stuff cleanly.
 

Such stuff may help.

 However, the second patch is the update of the translation. I am at 78%
 at the moment but will go on the next days. After all I
 just added myself to the README file. :-)

Good work ;)

 
 For the other languages, I think it is necessary to rework them at all.
 In the German PO file I did found many wrong fuzzy translations. Many of
 them was just stupid but other did negate the sense completely. So I
 start over reviewing all fuzzy translations. (Well, I also found a bug
 in gen_translations_stats.sh if there is no fuzzy but untranslated
 strings in a po file. But that was not subject to fix for now.)

Please fix it ;)

 
 But if the German locales are that bad how would be the other!? I think
 it is better to have no translation than such wrong ones.

I agree, any translation under 50% and older than one year shouldn't go in. 

Regards,

-- 
Laurent MONIN aka Zas

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Reducing number of options

2009-04-05 Thread Laurent MONIN
On Sun, 5 Apr 2009 13:15:35 +0200
Vladimir Nadvornik nadvor...@suse.cz wrote:

 Hi,
 
Hi,

 Is there any reason to have the following options configurable? IMHO nobody 
 wants to diasble them. I would remove them completely.
 
 Refresh on file change

It may be an issue for directories with many (thousands) images, though i think
it should be in some advanced section.

 Preload next image

Low memory is a reason to keep it, though nowadays people working with images
should think about buying more RAM.
It was requested to allow to specify the number of images (or the memory size 
allocated for)
to be preloaded.
So it may reappear as Memory allocated for image preloading or Number of 
images to preload.
Obviously, if memory is sufficient, i think everybody has it enabled...

 Show dot directory

I vote for dropping it, and never show . directory.

 
 Maybe also:
 Faster jpeg thumbnailing
 (the quality impact is not noticeable)

i agree.


-- 
Laurent MONIN aka Zas

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


Re: [Geeqie-devel] Help on compilation problem

2009-03-16 Thread Laurent MONIN
On Mon, 16 Mar 2009 19:05:54 +0100
Oscar Miras oscar.mi...@gmail.com wrote:

 Hi folks,
 
 I'm trying to compile last subversion of Geeqie. I got this error that I
 can't solve, even reading lots of posts on the net:
 
 ./configure: line 5764: syntax error near unexpected token `2.4.0,,{'
 ./configure: line 5764: `AM_PATH_GLIB_2_0(2.4.0,,{ { echo $as_me:$LINENO:
 error: GLIB = 2.4.0 not installed. 5'
 
 
 Any help? Thanks in advance :)
 

Hi,

 did you run autogen.sh ?

Can you post the whole output of ./configure ?

-- 
Laurent MONIN aka Zas

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Saving layout options

2009-03-10 Thread Laurent MONIN
On Wed, 11 Mar 2009 00:05:49 +0100
Vladimir Nadvornik nadvor...@suse.cz wrote:

 This can be now set for each window separately, but the preferences dialog
 is not yet fixed, because I am not sure how to handle it.
 
 I see these possibilities:
 - add a tab called This window in the preferences, this tab will affect 
 just 
   the window from which it was called
 - add This window menu entry next to Preferences, open a different dialog

I vote for this one.  

 - put everything in the menu, there would be 4 entries for style and 6 
 entries 
   for order
 - put everything in a new toolbar
 



-- 
Laurent MONIN aka Zas

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] View-as-icons - slow response

2009-03-08 Thread Laurent MONIN
On Sun, 08 Mar 2009 14:08:12 +
Colin Clark ccl...@mcb.net wrote:

 Hi
 
 I'm using Geeqie with Ubuntu 8.10 on a standard desktop. I find I'm 
 getting a slow response when looking at sub-directories with a large 
 number of files.
 
 If I leave the Files Pane in its default setting (with or without 
 thumbnails), clicking on a file changes the image preview very quickly. 
 If I click on a new file before the preview is completely rendered, the 
 rendering of that image is aborted and rendering of the next image is 
 started immediately.
 
 However if I change the Files Pane setting to View As Icons, rendering 
 of the preview is rather slower, and clicking on another file has no 
 effect until rendering of the current image is completed. Not only that, 
 but the rendering pauses towards the end of each image, and the final 
 sections are rendered very slowly - the process taking perhaps 2 or 3 
 seconds per image.
 
 This effect first appears in svn 1394. The --enable-threads option makes 
 no difference.
 
 Sorry I can't be of more help.
 
 Colin Clark...
 
 

Hi Colin,

 few questions:
- is the issue still present with the latest svn revision ?
- how many files are present in your subdirectory ?
- what is the mean size of the images (and types) ?
- are all thumbnails generated (read from cache) ?
- are you using color management ?
- what is the content of your geeqierc (or geeqierc.xml) file ?

FYI, I have no such issue here.

Regards,

-- 
Laurent MONIN aka Zas

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] [Gqview-devel] Diplay pixel coordinates, and rgb-data / pixel coordinates for editor

2009-03-02 Thread Laurent Monin

Vladimir Nadvornik a écrit :



The single-line commandline from GQView has several problems:
- it is hard to set distribution defaults
- it uses non-standard macros
- it is hard to edit more complicated commands
- it is hard to contribute the good commands upstream

Desktop files fixes these problems and adding new applications is not
much harder, just edit a template desktop file and copy it to 
~/.geeqie/applications. When I think about it, it would be easy

to add the copy and edit template function directly to Geeqie.

  


Yes, it would be very nice to have some way to make simple .desktop files
directly from geeqie (without using an external editor).
I think Ruben's reaction will be very common among users of old editors.

You can perhaps make something like an editor's editor  ;)

--
Laurent Monin aka Zas
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] [Gqview-devel] Diplay pixel coordinates, and rgb-data / pixel coordinates for editor

2009-03-02 Thread Laurent MONIN
On Mon, 2 Mar 2009 21:11:42 +0100
Vladimir Nadvornik nadvor...@suse.cz wrote:

 Dne pondělí 02 březen 2009 Ruben Stein napsal(a):
  Zitat von Laurent Monin z...@norz.org:
   Please can you just modify it putting all variables declarations at the
   top of functions (as indicated in CODING document) ?
 
  I think this should do the trick now.
 
 Hi Ruben,
 
 I played with the patch a bit and did some improvements:
 - the callback now works also for split images
 - fixed the SIGNAL_UPDATE_PIXEL value
 
 See the attached patch.
 
 There still is one problem that it crashes on rotated
 pixbufs. You probably have to call one of the *map_orientation* functions 
 somewhere.
 
 Vladimir
 
 

Vladimir,

can you please commit it to svn so it will be easier for everyone to improve it 
?
It should not crash when disabled, isn't it ? ;)

-- 
Laurent MONIN aka Zas

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Sidebars

2009-02-09 Thread Laurent MONIN
On Sun, 8 Feb 2009 14:03:23 +0100
Vladimir Nadvornik nadvor...@suse.cz wrote:

 Hi,
 
 The current implementation of sidebars has several problems:
 
 - Keywords bar needs more entries, like Title or Copyright
 - Advanced exif is too wide
 - Exif and Keywords together are too wide
 - some possible new entries does not fit anywhere in the existing
 sidebars (for example Histogram), adding new sidebars would cause more 
 problems with multiple sidebars together
 - Sort manager is OK, even in combination with another sidebar
 
 
 Proposal:
 - Combine Exif and Keywords into one sidebar, which will be typically longer
 than main window, with a scrollbar and expanders. Any additional entries 
 (Histogram) will go there too.
 - Advanced exif will be in a separate window
 - Sort manager will stay unchanged
 - Edit/Properties will be dropped
 
 
 The attached patch is a proof of concept that adds more entries with expanders
 to the Keywords bar.
 
 Any opinions?
 
 
 Vladimir
 

About Basic Exif, Advanced Exif and General, i think we should somehow 
merge them.

We may have a pane (or tab) with file infos, chosen by us by default but 
totally configurable
by the user.

Infos pane (or tab) has:
- a scrollable list of label/value infos (like current Exif pane)
- a Setup button

On Setup button activation a dialog appear with following infos displayed:

- the same list as in previous Infos pane
- on each row, label and name of the entry, a delete button, a (may be 
inactive) edit button and up/down arrows for sorting.
- a Add new entry button at the bottom 

The Add new entry button starts a dialog for entry selection, with OK/Cancel 
buttons.

An entry can be:
- either a formatted.* metadata entry 
- or an exif metadata entry (currently in Advanced Exif)
- or a file property entry (currently in General, may be with a special name 
starting by file., like file.size, file.mode)
- or a named template entry, like the one used to configure OSD display, 
allowing to display more infos in a row
- or a separator (horizontal line, space, or editable label) 

Each type of entry may have its own way to set.


What do you think about that ?

-- 
Laurent MONIN aka Zas

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Keyword editor

2009-02-08 Thread Laurent MONIN
On Sun, 8 Feb 2009 18:17:19 +0100
Vladimir Nadvornik nadvor...@suse.cz wrote:

 Hi,
 
 Here is a proposal for improvements of the keyword editor. 
 
 http://geeqie.wiki.sourceforge.net/keywords
 
 
 Please comment.
 
 Vladimir
 

Looks nice to me.

I think the keywords tree shouldn't be completely expanded at first time.
So i guess we need expand/colapse all, and some ways to differentiate parents 
with
checked childs from others.

A must-have feature is undo/redo, especially in the case of unselecting animal 
by error,
where someone will lose all previously checked childs.

Regards,

-- 
Laurent MONIN aka Zas

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] [patch] random shuffle

2009-02-04 Thread Laurent Monin

Kjell Morgenstern a écrit :

I forgot the attatchment in the previous mail, so this is the next try.

Hello!

I noticed that starting a random slide show might take some time (up
to some minutes, depending on the amount of images and the machine).

Looking into the code showed that a list was used to prepare another
random shuffled list, so it was an O(n^2) algorithm. I changed this to
use an array (similar to STLs random_shuffle) and got a significant
performance improvement: Starting time of random or non-random
slideshows is now almost the same (seconds instead of minutes).

I attatched a patch for slideshow.c in this mail. The patch is based
on svn revision 1375.

Kjell
  
  

Nice patch, the improvement is very significant.

Here is a slightly cleaner version, which matches current geeqie
coding style better.

A document named CODING at the root of the source tree indicates
few points to take care of.
Please use --enable-developer configure option to increase the compiler
verbosity (ie. about unused variables and more).

I'll commit it soon if no one disagrees.

Thank a lot for contributing to Geeqie project !

--
Laurent Monin aka Zas
Index: slideshow.c
===
--- slideshow.c	(révision 1375)
+++ slideshow.c	(copie de travail)
@@ -66,22 +66,57 @@
 	return list;
 }
 
+static void ptr_array_add(gpointer data, GPtrArray *array)
+{
+	g_ptr_array_add(array, data);
+}
+
+static void list_prepend(gpointer data, GList **list)
+{
+	*list = g_list_prepend(*list, data);
+}
+
+static GPtrArray *generate_ptr_array_from_list(GList *src_list)
+{
+	GPtrArray *arr = g_ptr_array_sized_new(g_list_length(src_list));
+
+	g_list_foreach(src_list, (GFunc) ptr_array_add, arr);
+
+	return arr;
+}
+
+static void swap(GPtrArray *array, guint index1, guint index2)
+{
+	gpointer temp = g_ptr_array_index(array, index1);
+	
+	g_ptr_array_index(array, index1) = g_ptr_array_index(array, index2);
+	g_ptr_array_index(array, index2) = temp;
+}
+
+static void ptr_array_random_shuffle(GPtrArray *array)
+{
+	guint i;
+	for (i = 0; i  array-len; ++i)
+		{
+		guint p = (double)rand() / ((double)RAND_MAX + 1.0) * array-len;
+		swap(array, i, p);
+		}
+}
+
 static GList *generate_random_list(SlideShowData *ss)
 {
-	GList *src_list = NULL;
+	GList *src_list;
+	GPtrArray *src_array;
 	GList *list = NULL;
-	GList *work;
 
 	src_list = generate_list(ss);
+	src_array = generate_ptr_array_from_list(src_list);
+	g_list_free(src_list);
 
-	while (src_list)
-		{
-		gint p = (gdouble)rand() / ((gdouble)RAND_MAX + 1.0) * g_list_length(src_list);
-		work = g_list_nth(src_list, p);
-		list = g_list_prepend(list, work-data);
-		src_list = g_list_remove(src_list, work-data);
-		}
-
+	ptr_array_random_shuffle(src_array);
+	g_ptr_array_foreach(src_array, (GFunc) list_prepend, list);
+	g_ptr_array_free(src_array, TRUE);
+	
 	return list;
 }
 
--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Next plans

2009-01-29 Thread Laurent MONIN
On Wed, 28 Jan 2009 03:49:24 -0500
Christopher Beland bel...@alum.mit.edu wrote:

 
 4.) When I select View - Zoom - Fit horizontal, it does what I
 would call Fit vertical - it sizes large images so I can scroll left
 or right, but the top and bottom of the image are exactly at the top
 an bottom of the window.  (And the inverse for View - Zoom - Fit
 vertical.)  Compare to Fit page width in document-viewing
 applications.

This issue was fixed in revision 1364.

 
 A.) When I hit the Help button on Edit - Preferences - Advanced, I
 get a dialog box that says Unable to load:
 /usr/share/doc/geeqie-1.0alpha2/README and no help appears.  I
 believe the correct file name is:
 /usr/share/doc/geeqie-1.0alpha3/README
 
 B.) Help - Release notes has the same problem.
 
 C.) Help - Keyboard shortcuts has the same problem.
 
 D.) Help - Contents has the same problem, plus a problem
 encountered only when running remotely, which I think is firefox's
 fault: https://bugzilla.redhat.com/show_bug.cgi?id=481542
 

This issue was fixed in revision 1363.

About firefox issue, i don't see what is going wrong, it works for me (tm).
Is there anybody here encountering the same issue ?

-- 
Laurent MONIN aka Zas

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] geeqie-svn ml

2009-01-24 Thread Laurent MONIN
On Sat, 24 Jan 2009 11:39:45 +0100
Vladimir Nadvornik nadvor...@suse.cz wrote:

 
 I deleted the notification hook and added it again. It seems that it fixed 
 the 
 problem.

Thank you :)

 
 Vladimir

-- 
Laurent MONIN aka Zas

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


[Geeqie-devel] geeqie-svn ml

2009-01-23 Thread Laurent MONIN
Hi,

 it seems the geeqie-...@lists.sourceforge.net mailing list (svn notify) is not 
working anymore.
The last email received from it was [Geeqie-svn] SF.net SVN: geeqie:[1333] 
trunk/src
on Sat, 10 Jan 2009 20:40:37 +

-- 
Laurent MONIN aka Zas

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Feature request: cropping preview

2008-11-19 Thread Laurent Monin
Frédéric a écrit :
 Hi!

 We use Geeqie to display photos on a beamer (a full HD) at our photo-club. 
 Geeqie's color management is very usefull, as its ability to display the 
 image in full screen on the beamer, while showing the files and exif infos 
 on the monitor...

 We often discuss about the composition of our images, and a nice feature 
 would be to have a tool to simulate a cropping. The idea is to be able to 
 hide part of the images we don't want to see, without modifying it; just 
 at display level.

 This could be done like a crop tool, by click'n'drag a rectangle, and then 
 be able to move each edge of the rectangle, or the entire rectangle. The 
 center part of the crop should remain at full luminosity, while the 
 outside should be black or just darker (a user param for setting the 
 transparency should be usefull).

 Don't know if it is a hard to do feature, but it would be great ;o)

 À plus,

   
Please add this to the feature requests tracker 
(http://sourceforge.net/tracker/?group_id=222125atid=1054683)
so we don't forget about it.

I was recently thinking about displaying a rectangle in the overlay info
box for indicating the part of the image currently in the view (when
bigger than the screen). It may be useful to indicate the crop zone
as well if we implement such crop simulation.

Though, for now, we have to focus on 1.0 release.

A+

-- 
Laurent Monin aka Zas

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] rotate and save the rotated image (via simple shortcuts)

2008-10-23 Thread Laurent MONIN
On Thu, 23 Oct 2008 16:44:36 + (UTC)
Werner [EMAIL PROTECTED] wrote:

 
 I defined shortcuts to rotate (r and l) but I want also to save the image
 rotated. Therefore would be good a simple shortcut like s, ctrl+s or shift+s.
 But it seems, geeqie can't do that, does it???
 

Hi Werner,

 geeqie has two ways to rotate images:

- through Adjust contextual menu, it only displays the image rotated (actions 
in Adjust menu affect only the display not the original image)
- through Edit configurable menu, rotation is done through external programs 
which will modify the original image

Using Edit  Preferences  Editors, you can configure whatever you want as 
transformation programs (ie. using jpegtran).
Editors shortcut keys are Alt+E+[0-9]

Best regards,

-- 
Laurent MONIN aka Zas

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Thread support

2008-09-01 Thread Laurent MONIN
On Mon, 1 Sep 2008 20:04:38 +0200
Vladimir Nadvornik [EMAIL PROTECTED] wrote:


  Load an image, wait until it is totally displayed, then go to the next
  (preloaded) one, color profile is not applied to it.
  I can reproduce it in normal and fullscreen mode.
 
 This is probably fixed by rev.  1122.

Yes, it is. ;)
Thank you.

-- 
Laurent MONIN aka Zas

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] gqview patches

2008-08-28 Thread Laurent MONIN
On Thu, 28 Aug 2008 13:24:30 +0200
Vladimir Nadvornik [EMAIL PROTECTED] wrote:

 On čt 28. srpna 2008, Klaus Ethgen wrote:
  Hello,
 
  I did submit several patches to [EMAIL PROTECTED] without getting
  feedback on it. So I search around a bit and finally find this fork (By
  the way, sf.net cannot display the most recent entry in the gqview
  mailing list so it is a bit tricky to find the new project.)
 
 Really? I thought that gqview mailinglist archives are visible.

Archives are visible, but there were not much traffic since months.
Can you re-post your patches to geeqie-devel after checking if there are
still needed in geeqie ?

 
 
  However, I really like gqview but have some ideas improving it. How is
  the fork going on and how many of the most recent version of gqview is
  therein? 
 The fork is based on gqview 2.1.5

AFAIK, gqview is no more maintained, it's the main reason of the fork.
Geeqie is based on latest devel code from gqview and most patches posted to
gqview mailing list were applied.

 
  I see it is in alpha state so how is the stability state of the 
  fork? 
 The code does not crash in usual situuation but there is a lot of new code and
 some bugs are probably unspotted.

I find it at least as stable as gqview 2.1.5, but we need more alpha testers to 
spot
bugs recently introduced, and more coders to fix them all.
Note that geeqie has many speed improvements over gqview, and many new features
(see http://geeqie.wiki.sourceforge.net/new_features), while retaining most of 
the
project it is based on.

 There are also issues that needs to be solved before the stable release - 
 most 
 important is probably a better keyword editor with more flexible 
 configuration of storing metadata into images.

And some annoying bugs already reported have to be fixed ;)

 
  And if it is a real fork with all features of gqview is there a 
  way to participate?
 
 Sure. Please look at the SF wiki for the roadmap and list of features that 
 are 
 already implemented. Then feel free to send your ideas to this list.
 

Note that german translation is not yet completed ;)
Ideas (and code) are always wanted.
Documentation and UI need improvements too.

Best regards,

-- 
Laurent MONIN aka Zas

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Segmentation fault: View as List

2008-08-23 Thread Laurent MONIN
On Sat, 23 Aug 2008 18:21:49 +0200
Vladimir Nadvornik [EMAIL PROTECTED] wrote:

 On so 23. srpna 2008, Colin Clark wrote:
  Hi
 
  I'm using svn 1074. If I select the file list option View as List and
  then try to create a new folder I get a segmentation fault at line 274
  of view_dir_tree.c.
 
 I fixed this in rev. 1077.
 

I still have an issue with folder creation: the view is not scrolled to the 
newly created directory.

-- 
Laurent MONIN aka Zas

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] TODO for alpha3

2008-08-21 Thread Laurent MONIN
On Thu, 21 Aug 2008 22:16:56 +0200
Vladimir Nadvornik [EMAIL PROTECTED] wrote:

  Here is a more complete patch which add the possibility to edit the path
  through Preferences dialog  Advanced  Navigation.
 
  I'm not that happy with the current option name (layout.home_path), any
  suggestion ?
 
 
 I think that the name is OK.
 
 Thanks for the patch.
 
 Vladimir
 

Is it ok to commit it to svn trunk ?

-- 
Laurent MONIN aka Zas

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


[Geeqie-devel] Fw: Problems compiling geeqie-1.0alpha2

2008-08-20 Thread Laurent MONIN


Begin forwarded message:

Date: Wed, 20 Aug 2008 14:31:24 -0700
From: JJeffery Small [EMAIL PROTECTED]
Subject: Problems compiling geeqie-1.0alpha2


Laurent:

I once again tried to submit this message to the geeqie-devel list and it
once again dropped into the black hole.  Someone at SF is supposed to be
looking into this.  In the meantime I am sending it to you.  If you have a
clue as to the problem I would appreciate hearing from you.

Thanks again for all the good work that is continuing on this program.  I
look forward to being able to use it one of these days!  :-)

Regards,
-- 
Jeff

C. Jeffery Small   CJSA LLC   206-232-3338
[EMAIL PROTECTED]  7000 E Mercer Way, Mercer Island, WA  98040


Original message follows:

---
Due to a heavy work load, I have not had a chance to follow along with the
recent geeqie development.  Today I downloaded the geeqie-1.0alpha2 source
and attempted to compile it on my Solaris 10 SPARC system using the native
Sun version 5.9 compilers.  Things proceeded well until view_dir.c where
I get the following:

cc -DHAVE_CONFIG_H -I. -I.. -I[...] -c view_dir.c
editors.h, line 36: warning: enumerator value overflows INT_MAX (2147483647)
view_dir.c, line 149: void function cannot return value
view_dir.c, line 150: void function cannot return value
cc: acomp failed for view_dir.c
*** Error code 2
make: Fatal error: Command failed for target `view_dir.o'

In view_dir.c we find:

145  void vd_refresh(ViewDir *vd)
146  {
147 switch(vd-type)
148 {
149 case DIRVIEW_LIST: return vdlist_refresh(vd);
150 case DIRVIEW_TREE: return vdtree_refresh(vd);
151 }
152  }

And when examining view_dir_list.[ch] and view_dir_tree.[ch] we do indeed
find that vdlist_refresh() and vdtree_refresh() are void functions.

So how is this compiling for anyone on any platform??  Is anyone else
working on a SPARC compile?  Am I missing something obvious?


In addition to this error, I also get a number of the following warnings
which should probably be fixed:

warning: assignment type mismatch:
warning: argument #n is incompatible with prototype:
warning: enumerator value overflows INT_MAX (2147483647)
warning: pointer to void or function used in arithmetic
warning: initialization type mismatch
warning: operands have incompatible pointer types: op ==
warning: statement not reached

If I get this to compile successfully, I would be happy to send the remaining
compiler warning to anyone who was interested in reviewing them.  Send me
an email if you are the person who would like to receive them! :-)

Regards,
-- 
Jeff

C. Jeffery Small   CJSA LLC   206-232-3338
[EMAIL PROTECTED]  7000 E Mercer Way, Mercer Island, WA  98040



-- 
Laurent MONIN aka Zas

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel