Re: [Lazarus] Ideas for improving lazarus.dci code templates

2009-05-13 Thread Graeme Geldenhuys
On Wed, May 13, 2009 at 1:00 PM, Graeme Geldenhuys
graemeg.li...@gmail.com wrote:

 * This design which be extended even further to have language specific
 .dci files. Instead of lazarus.dci, rather have the following:
   - objectpascal.dci
   - java.dci
   - html.dci
   - javascript.dci
   etc...

The synedit editor contains the following language specific .dci files.

html.dci
java.dci
js.dci
MS-DOS Batch.dci
pascal.dci
R.dci
tex.dci
vbs.dci


I would find the HTML, JavaScript, Object Pascal and TeX code
templates very handy. I often edit such files in Lazarus IDE.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Ideas for improving lazarus.dci code templates

2009-05-13 Thread Graeme Geldenhuys
On Wed, May 13, 2009 at 1:32 PM, Michael Van Canneyt wrote:

 ... except the last, which I think is a bit overkill.

I kinda agree, hence I rate it very low priority.  I could maybe be
handy if you want to reuse code templates, again not a very important
point.  :)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Live Templates

2009-05-13 Thread Graeme Geldenhuys
2009/5/13 Mattias Gärtner nc-gaert...@netcologne.de:

 2. auto complete without pressing a short cut already works for
 return, space and word end.


And boy do those come in handy!  I already have my own collection of
marco code templates. Some even create complete classes using text in
the clipboard. :-)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Live Templates

2009-05-13 Thread Graeme Geldenhuys
On Wed, May 13, 2009 at 7:54 PM, Hans-Peter Diettrich
drdiettri...@aol.com wrote:

 My experience with Live Templates: they are nice to use, but so hard to
 write properly, that no user will ever try to write a template himself.

I don't know about that. The tiOPF has quite a few Live Templates for
Delphi's newer IDEs. All contributed by tiOPF users. I once found a
tutorial on live templates and they explain how to write them. It
looked rather self explanatory if you know the syntax.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] SVN revision for a particular date...

2009-05-11 Thread Graeme Geldenhuys
On Mon, May 11, 2009 at 1:12 PM,  domini...@savagesoftware.com.au wrote:
 Hi All,
  Is there an easy way to find out a revision number for a particular date?


For Lazarus I can do the following for you. The SVN revision is the
line with the @revision number format.

In summary, that's r17627 - r17635 for Lazarus SVN.


$  git log --since=2008-11-29 --until=2008-12-01

commit a98f1a88e5354e9f2a64983c16b1307ef04ce486
Author: paul p...@freepascal.org
Date:   Sun Nov 30 12:01:20 2008 +

synedit: fix wrong reporting about line changes. First change
after save was reported as saved.

git-svn-id: http://svn2.freepascal.org/svn/lazarus/tr...@17635
4005530d-fff6-0310-9dd1-cebe43e6787f

commit bd0dfd3eaddfe4f314fb6e6736df200167ee71cb
Author: mattias matt...@freepascal.org
Date:   Sun Nov 30 11:33:34 2008 +

clean up

git-svn-id: http://svn2.freepascal.org/svn/lazarus/tr...@17634
4005530d-fff6-0310-9dd1-cebe43e6787f

commit a09bb6bccda3d676e7752e71782a9753d4ca811b
Author: paul p...@freepascal.org
Date:   Sun Nov 30 06:25:43 2008 +

lcl: fix compilation with fpc 2.2.3 (jesusra, please review)

git-svn-id: http://svn2.freepascal.org/svn/lazarus/tr...@17633
4005530d-fff6-0310-9dd1-cebe43e6787f

commit e841099d7704850033e1dda35a46a0726d2a3151
Author: paul p...@freepascal.org
Date:   Sun Nov 30 03:56:33 2008 +

synedit: clip gutter line numbers text by their drawing rectangle,
update some gutter default values

git-svn-id: http://svn2.freepascal.org/svn/lazarus/tr...@17632
4005530d-fff6-0310-9dd1-cebe43e6787f

commit 4f14fb426a1b532f304928a416efcbaaaff2791b
Author: jesus je...@freepascal.org
Date:   Sat Nov 29 20:54:20 2008 +

LCL, initial postscript unicode support, updated/fixed postscript sample

git-svn-id: http://svn2.freepascal.org/svn/lazarus/tr...@17631
4005530d-fff6-0310-9dd1-cebe43e6787f

commit fb26da960408e3a53a6001d84fb91c2a33fdead5
Author: paul p...@freepascal.org
Date:   Sat Nov 29 16:45:39 2008 +

ide: move gutter color and right margin color to the syntax
highlight page (it is more colors page), invent special handling for
single color elements not related to highlighter

git-svn-id: http://svn2.freepascal.org/svn/lazarus/tr...@17630
4005530d-fff6-0310-9dd1-cebe43e6787f

commit 69b0d972e2a7bcb8c84c309dede22b7baa2aaf57
Author: paul p...@freepascal.org
Date:   Sat Nov 29 12:59:22 2008 +

lcl: call colorbox custom color dialog *before* firing Change event

git-svn-id: http://svn2.freepascal.org/svn/lazarus/tr...@17629
4005530d-fff6-0310-9dd1-cebe43e6787f

commit a4ab720a0518bdd93b78b812a350aac95a64b500
Author: paul p...@freepascal.org
Date:   Sat Nov 29 10:41:48 2008 +

lcl: don't return incorrent ItemIndex (valid values are from -1 to
Count - 1)

git-svn-id: http://svn2.freepascal.org/svn/lazarus/tr...@17628
4005530d-fff6-0310-9dd1-cebe43e6787f

commit e01ecdb557582a74e6bd54a66854f324b708e6e3
Author: kirkpatc kirkp...@freepascal.org
Date:   Sat Nov 29 07:29:45 2008 +

FPDoc - removal of two instances of 'printshort' which were
causing problems in /fcl/fpimage.xml

git-svn-id: http://svn2.freepascal.org/svn/lazarus/tr...@17627
4005530d-fff6-0310-9dd1-cebe43e6787f




Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] SVN revision for a particular date...

2009-05-11 Thread Graeme Geldenhuys
On Mon, May 11, 2009 at 1:12 PM,  domini...@savagesoftware.com.au wrote:
 Hi All,
  Is there an easy way to find out a revision number for a particular date?

For FPC fixes branch svn returns the following revisions.

NOTE:
I have no idea why FPC included the 2008-05-21 date when I didn't ask
for it. I guess it's a SubVersion thing. ;-)


/opt/fpc/src $ svn log -r{2008-12-01}

r12282 | tom_at_work | 2008-11-30 19:30:40 +0200 (Sun, 30 Nov 2008) | 9 lines

Merged revisions 11031 via svnmerge from
http://svn.freepascal.org/svn/fpc/trunk


  r11031 | tom_at_work | 2008-05-21 23:29:58 +0200 (Wed, 21 May 2008) | 1 line

  * fix padding on 64 bit big endian CPUs in TInterfaceEntry: wrong
offset of a member caused memory corruption and then access violations
during object creation. Fixes timplements* tests.






Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Ubuntu 9.04 (Lazarus too slow)

2009-05-08 Thread Graeme Geldenhuys
2009/5/8 Bogusław Brandys bran...@o2.pl:

 Can you confirm my thought that the worst it become when trying to
 resize window in Lazarus IDE run remotely ? (that would proof too much
 repainting calls)

Probably. Just loading the IDE (gtk2 compiled) takes forever to
display. I get frustrated way before I get a chance to resize any
forms. :-) If IDE (gtk1 compiled) works, then clearly the issue is in
the widgetset backend implementation or the backend widgetset itself
and not the LCL itself. But like I said, I have run other GTK2
applications and they worked fine.

I know to little about the LCL widgetset implementations to figure out
where the slowdown occurs. Good news is, the slowdown is great for
debugging custom painting problems. ;-)

Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Ubuntu 9.04 (Lazarus too slow)

2009-05-07 Thread Graeme Geldenhuys
On Thu, May 7, 2009 at 10:49 AM, Mark Morgan Lloyd
markmll.laza...@telemetry.co.uk wrote:
 I'm not fully up-to-date with versions etc. but what I've seen is that
 under some circumstances Lazarus- particularly with gtk2- is
 unreasonably slow running over a remote (i.e. networked) X session.
 Speed to a local X session and remotely using VNC is acceptable.

Lazarus via a remove X session in TOTALLY unusable!! It is clearly a
bug somewhere in the LCL-GTK2 widgetset, because other GTK2
applications like Mozilla Firefox, Thunderbird, Nero for Linux, gEdit,
Nautilus etc all run fine with acceptable speeds.

I can't remember how Lazarus with GTK1 runs over a remote X session. I
would really like to develop remotely on our 64bit Linux server, but
currently can't. This is one of the reasons I really want to get the
LCL-fpGUI widgetset going - so remote development can become a
reality.
BTW: fpGUI based applications also run really nice over a remote X session.

And no I don't want or like VNC sessions.

-
Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE UI consolidation (was: Re: lfm as pascal)

2009-05-06 Thread Graeme Geldenhuys
On Wed, May 6, 2009 at 2:44 AM, Alexander Klenin kle...@gmail.com wrote:

 FWIW, I often use Quick search (Ctrl+E) for code navigation,

How does quick search work?  I highlighted an identifier I want to
seach for, pressed Ctrl+E. It showed seaching in the editor status
bar, but nothing further. Sometimes it highlights a whole bunch of
stuff like the letter e. I'm a bit lost. :-(


 I think that while Lazarus IDE has many great features, they are not well

I just think many of those feature are silently added with nobody
knowing. Hence the reason I started the following wiki page to
advertise those cool features and visually see what they do.

  http://wiki.lazarus.freepascal.org/New_IDE_features_since


 a common UI, thus giving greater exposure to all included features.

The wiki pages is trying to give greater exposure as well - visually
with animation.


 1) Find procedure should be merged into Code explorer

I don't know Find procedure where is that? I used the filter in key
mappings and found find procedure definition and find procedure
method using the age old Ctrl+shift+Up/Down.  I would have expected
everybody to know the latter key mapping - it's what makes the Lazarus
and Delphi IDE such a pleasure compared to other programming editors.


 2) Find in files, Messages and Code observer should be merged together,
 with interface most resembling Find in files

I can't see how these can be combined. They are totally different
features. Maybe the result windows could be docked though.


 3) Unit list (Ctrl+F12) should be merged into Project Inspector

I guess, but I simply have the project Inspector window always open.
So I simply click a unit to open it.


As Paul suggested. I think docking is the key here... it will make
many feature or windows more manageable.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] OT, search and highlight[Re: IDE UI consolidation (was: Re: lfm as pascal)]

2009-05-06 Thread Graeme Geldenhuys
On Wed, May 6, 2009 at 11:49 AM, Martin Friebe laza...@mfriebe.de wrote:

 Highlight (as in block-selection) and then search for it = use ctrl-f

Yeah, that's what I normally use...


 Quick search (or incremental search) (ctrl-e) means you start the search
 with an empty search-term, then as you type the editor searches for
 whatever fragment you typed

Ah, ok I get it now. Maybe Quick Search is not the best name for
that feature. Incremental Search explains it much better.  Just a
thought.

Thanks for explain its function Martin.  ;)

Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE UI consolidation (was: Re: lfm as pascal)

2009-05-06 Thread Graeme Geldenhuys
On Wed, May 6, 2009 at 12:00 PM, Alexander Klenin kle...@gmail.com wrote:

 Yes, documentation is good.
 But it is well-known fact that users do not read documentation ;-)

Exactly why I decided on using animated gifs. User only needs to view
them and not read content to get the idea of a feature. :)


 Sorry, I meant Procedure List.

Before merging with code explorer I'd like this to be discussed
first!  Like I mentioned before, procedure list is an integral part
of my coding. I use it 1000's of times per day to navigate code -
QUICKLY.  :)


 Look how it is done in Visual Studio 2005 and later.

I don't do Windows, so is there a screenshort explain this? Like
somebody suggested - maybe starting a wiki to describe what the plans
are and maybe include screenshots (mock-up or real) to show an idea of
final result.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE UI consolidation (was: Re: lfm as pascal)

2009-05-06 Thread Graeme Geldenhuys
On Wed, May 6, 2009 at 12:28 PM, Martin Friebe laza...@mfriebe.de wrote:

 1) Find procedure should be merged into Code explorer

 Ok by me. (I never used it :) )  It's partly there anyway.

Lets discuss it first - I use procedure list a *lot*.  And at the
moment it's behaviour is different to code explorer.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE UI consolidation (was: Re: lfm as pascal)

2009-05-06 Thread Graeme Geldenhuys
2009/5/6 Mattias Gärtner nc-gaert...@netcologne.de:

 It's called 'procedure list' and its default key is Alt-G, which does
 not work on all widgetsets.

Do you mean the shortcut doesn't work or the actual procedure List
dialog doesn't work on all widgetsets?

Since I switched from GTK1 to GTK2, procedure list doesn't work as
well. I think it's due to a bug in GTK2 listview, but I haven't
investigated further.

To reproduce:
  * Alt-G (or whatever your shortcut is - mine is always different) to
open Procedure List.
  * Start typing partial method name.
  * Now press Down Arrow. This should put focus in first item in
listview, but it doesn't. :-(
This used to work under GTK1.

Other differences between Procedure List and Code Explorer.
  * Procedure List jumps to Implementation section. Code Explorer to
Interface section.
  * Procedure list can filter by Class, non-class or All methods. I don't think
Code Explorer can.
  * Procedure List can filter by method starting with text or
method containing text.
Not sure what Code Explorer does.
  * Procedure List, when launched puts focus where it must be - in the
filter edit box.
Code Explorer - I have no idea where the focus is, I think the
treeview (filter box
might be a better idea).
  * In procedure list, when you press Enter to jump to a method,
Procedure List closes
and gets out of the way. Code Explorer hangs around taking up screen space.


So yes, there are plenty to discuss before any merge is to be
considered. Please.


 All floating windows should be dockable. We have already a docking

Excellent! Can we enable docking already in Lazarus - even though it
isn't saved and restored between sessions?


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE UI consolidation (was: Re: lfm as pascal)

2009-05-06 Thread Graeme Geldenhuys
On Wed, May 6, 2009 at 1:52 PM, Alexander Klenin wrote:

  * Procedure List jumps to Implementation section. Code Explorer to
 Interface section.

 I would prefer to always jump to implementation, but it can be made an option.

Yup, I prefer that too.


  * In procedure list, when you press Enter to jump to a method,
 Procedure List closes
    and gets out of the way. Code Explorer hangs around taking up screen 
 space.

 Well, I have Code Explorer always open anyway, but I guess it can be
 made an option too.

The problem with Code Explorer and FPDoc Editor type windows is
that they use processing power as you navigate or switch units. Hence
the reason I don't like keeping them open. When I need them I open
them, but once done, I close them again. I also prefer to have my
source editor area as large as possible.  Procedure List follows the
same rules. Only there when needed and doesn't use extra processing
power if not used.

Not everybody has fast computers - developers in our company are
probably last on the list of having their systems upgraded. Our
receptionist has a faster computer that what I have - and she only
types letters and sends emails. :-(


 Do not worry, the goal it to make everything better ;-)

:)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE UI consolidation (was: Re: lfm as pascal)

2009-05-06 Thread Graeme Geldenhuys
2009/5/6 Mattias Gärtner wrote:

 Do you mean the shortcut doesn't work or the actual procedure List
 dialog doesn't work on all widgetsets?

 Alt-G does not work. With other short cuts it works.

Does it conflict with OS or Desktop Manager?  For example:
Ctrl+Alt+[F1-F12] under Ubuntu is grabbed by X11 and switches virtual
consoles. Maybe a different default shortcut could be chosen. I have
my shortcuts as follows:

  * Alt+G  - Goto line number...
  * Ctrl+G  -  Procedure List
  * Ctrl+Shift+G -  Generate GUID in editor


Alt key behaviour is weird under GTK2 with Programmer Dvorak layout.
Though I am not use if it affects Qwerty layout as well. For example I
click grab and type Ctrl+Alt+C and only Ctrl+C is grabbed. Yet if I
press Ctrl+Alt+G it works??  Weird. :-(


BTW:  How do I clear a keyboard shortcut? Can't a simple clear
button be added?



   * Procedure list can filter by Class, non-class or All methods. I
 don't think Code Explorer can.

 Very easy to implement. Make a proposal for the gui.

Will do.


   * Procedure List can filter by method starting with text or
 method containing text.
     Not sure what Code Explorer does.

 containing

OK. Also filtering the treeview as you type might be better that
multi-selecting all matches.  What's the point of having multiple
methods selected? The edit box is called filter not auto select.
Just a though. ;-)


   * Procedure List, when launched puts focus where it must be - in the
 filter edit box.
     Code Explorer - I have no idea where the focus is, I think the
 treeview (filter box might be a better idea).

 Patch is welcome.

No problem, but it doesn't make sense until the treeview is actually
filtered, as my previous point explains. At the moment I can type a
partial method and see methods being selected (unless they are select
off screen which also happens), but I can't press enter and jump to
that method. I need to tab and scroll down (which defeat the fiter
edit box) or move my hand off the keyboard and to the mouse, so I can
double click the highlighted item.  The filter edit box in Code
Explore just doesn't make sense - as it is now.


 Maybe some predefined sets can be added until someone finishes the
 restore of one of the docking managers.

That should make a few developers happy. :)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE UI consolidation (was: Re: lfm as pascal)

2009-05-06 Thread Graeme Geldenhuys
On Wed, May 6, 2009 at 2:20 PM, Reenen Laurie rlau...@gmail.com wrote:
  Menu - IDE Tools - Procedure list
  Menu - IDE Tools - Anchor Viewer

Both of these are already under the View menu.


  Menu - IDE Tools - Identifier Completion (ctrl-space) (says -you need
 have typed half of an identifier for this tool to work- if you can not
 complete)
  Menu - IDE Tools - Code Completion (ctrl-shift-c)

It makes no sense in having menu items for these from the main Lazarus
window. They are used in the editor *while* you type. Otherwise I type
partial text. Move my hand off the keyboard onto the mouse and select
the menu items. Then move my hand back onto the keyboard to continue
typing. A simple shortcut is all that is needed.

If you don't know the shortcut, use the Key Mappings screen and filter
the items by typing in a description.
Environment  Options  Editor  Key Mappings.  By typing in
comple will give you all the items your require.  ;-)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Lazarus IDE Tools - wiki page

2009-05-06 Thread Graeme Geldenhuys
Mattias just mentioned the following page in anther message thread. I
thought it's worth mentioning it in it's own message thread.

  http://wiki.lazarus.freepascal.org/Lazarus_IDE_Tools

WOW!!!  I have learnt quite a few new tricks by reading that page.
Ctrl+Shift+C is so much more powerful that I thought. Excellent stuff!
 :)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Ubuntu 9.04 (Lazarus too slow)

2009-05-06 Thread Graeme Geldenhuys
On Wed, May 6, 2009 at 3:26 PM, Leonardo M. Ramé l.r...@griensu.com wrote:

 Does anyone faced the same problem?

I don't have slowness, but I do have other graphics problems with
fpGUI Toolkit and MSEgui and applications run under WINE. Ubuntu 9.04
has had some serious graphics bugs since the beta release and has not
been fixed for the final release. I have reported it to Ubuntu while I
tested the beta - the report was confirmed, but has not been fixed
yet.

I've updated my system will all available fixes and still the problem
persists. I am considering downgrading to 7.10 or 8.04.2 LTS where
everything still worked nicely.

So in short - to anybody else out there...   DO NOT UPGRADE TO Ubuntu 9.04


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] OT, search and highlight[Re: IDE UI consolidation (was: Re: lfm as pascal)]

2009-05-06 Thread Graeme Geldenhuys
2009/5/6 Flávio Etrusco flavio.etru...@gmail.com:

 Quick Search would be something that Lazarus seems to still be
 missing: search the identifier under the caret.

Ctrl+F automatically takes what's under the caret and inserts it as
the search text. I think this is configurable somewhere in Lazarus
IDE.  Then press Enter to find first item. F3 to find next items.


 Or with Experts: Ctrl+Alt+Down and Ctrl+Alt+Up.
 I've always intended to implement this, but...

Me too! :)  I used to use that a lot in Delphi 7 + GExperts.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] OT, search and highlight[Re: IDE UI consolidation (was: Re: lfm as pascal)]

2009-05-06 Thread Graeme Geldenhuys
2009/5/6 Mattias Gärtner nc-gaert...@netcologne.de:
 Or with Experts: Ctrl+Alt+Down and Ctrl+Alt+Up.
 I've always intended to implement this, but...

 .. but it was already there:

 http://wiki.lazarus.freepascal.org/Lazarus_IDE_Tools#Find_next_.2F_previous_word_occurrence


Yet again you impress me with the Lazarus IDE features.  Thanks
Mattias, I assigned by custom Ctrl+Alt+[up/down] to them.

BTW:
I had a recent discussion on CodeGear non-technical newsgroup about
Lazarus's Key Mapping screen. Can you believe it that Delphi IDE (even
D2009) still doesn't allow you to set key mappings to all IDE actions.
Yes you can use add-ons like Castalia or GExports, but *not*
out-of-the-box as Lazarus does.  :-)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] OT, search and highlight[Re: IDE UI consolidation (was: Re: lfm as pascal)]

2009-05-06 Thread Graeme Geldenhuys
2009/5/6 Mattias Gärtner nc-gaert...@netcologne.de:
 Or with Experts: Ctrl+Alt+Down and Ctrl+Alt+Up.
 I've always intended to implement this, but...

 Me too! :)  I used to use that a lot in Delphi 7 + GExperts.

 Ctrl+Alt+Up/Down is often used in linux for desktop switching.

I know, and that's one of the first things I disable in Gnome desktop.  :)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Ubuntu 9.04 (Lazarus too slow)

2009-05-06 Thread Graeme Geldenhuys
On Wed, May 6, 2009 at 4:44 PM, Leonardo M. Ramé l.r...@griensu.com wrote:
 Thanks Graeme. BTW, do you know a repository with the latest FPC and
 Lazarus versions?


No, I always use SVN  Git repositories directly for FPC and Lazarus.
I know FPC is in the apt repository, but I'm not sure what version. I
think 2.2.2.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE UI consolidation (was: Re: lfm as pascal)

2009-05-06 Thread Graeme Geldenhuys
On Wed, May 6, 2009 at 4:46 PM, Reenen Laurie rlau...@gmail.com wrote:

 What does Enclose Selection do?

Click it - I dare you!  ;-)


It allows you to choose with what you want to wrap the currently selected code.

eg:  try..finaly,  try..except, repeat..until,  while..do, {} etc..

I learnt that one today as well - and it will save me lots of time as
well.  I just need to figure out what would be a good keyboard
shortcut for it. I have so many custom ones already.

My todo list already contains a create Lazarus add-on to all printing
keyboard shorcuts as reference cards. I just don't know when I will
get around to implementing it.

Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Ubuntu 9.04 (Lazarus too slow)

2009-05-06 Thread Graeme Geldenhuys
2009/5/6 Michael Van Canneyt mich...@freepascal.org:

 Or install KUbuntu 9.04, which works lightning fast, and so far
 without visible bugs. I updated a PC and a Laptop, and all went
 smoothly...

Sorry Michael, but it has the same problem here. Run a fpGUI based
application or Windows application under WINE. Look at any button,
edit box, combobox, popup menu's bottom right corner. Use xmag to make
it easier to see. Pixels missing due to drawing bug in XLib I believe.
Ubuntu and Kubuntu has the same XLib version.

I used XDrawLine directly to draw a rectangle corner to corner (left,
top, right then bottom). The last line is shifted by 1 pixel. At least
in Ubuntu 9.04 final they fixed the LCD font anti-aliasing bug.

But yes, like you, I do not experience any slowness in Lazarus IDE.
That works fine.

Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Ubuntu 9.04 (Lazarus too slow)

2009-05-06 Thread Graeme Geldenhuys
On Wed, May 6, 2009 at 9:22 PM, Michael Van Canneyt
mich...@freepascal.org wrote:
 only QT/GTK based apps, which don't seem to have the problem you mention.

The only explanation I have for this is theming. I wrote a 20 line
application talking directly to XLib (not via fpGUI) and reproduced
the problem. Maybe if Qt based application was run with Motif style,
it will highlight the problem as well.


 Other than that, I've used Kubuntu 9.04 to finally convince some people
 to switch to Linux, and I'm now definitely dropping OpenSUSE in favour
 of Kubuntu, so you won't hear me complain about it (yet) :-)

Kubuntu with it's new look and theme look pretty damn awesome I must add. :-)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE UI consolidation (was: Re: lfm as pascal)

2009-05-06 Thread Graeme Geldenhuys
2009/5/6 Héctor Fiandor Rosario hfian...@infomed.sld.cu:

 I read the documentation mentioned about gif, but really, I dont feel sure
 to do that.

That is only meant for creating animated gifs for the wiki page - not
for embedding them into your application.


 I want to attach the running leopard in my applications. Its possible?

It sure is. I did something similar for fpGUI Toolkit, but didn't use
animated gifs. Instead I use a composite bitmap. Say your animation is
4 frames. A composite bitmap then consists of 4 images next to each
other making one wide image. The animation component then reads the
single (wide) image, splits the large image into 4 small ones and
simply display them one after the other in a loop with 200ms delay (or
whatever the developer choses).

The animation component can be viewed using the following url. It
should be very simple to port or rewrite this for Lazarus LCL.

http://fpgui.git.sourceforge.net/git/gitweb.cgi?p=fpgui;a=blob_plain;f=src/gui/fpg_animation.pas;hb=master

PS:
  I don't think TImage supports animated gifs directly.

Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE UI consolidation (was: Re: lfm as pascal)

2009-05-06 Thread Graeme Geldenhuys
2009/5/6 Héctor Fiandor Rosario hfian...@infomed.sld.cu:

 I read the documentation mentioned about gif, but really, I dont feel sure
 to do that.

That is only meant for creating animated gifs for the wiki page - not
for embedding them into your application.


 I want to attach the running leopard in my applications. Its possible?

It sure is. I did something similar for fpGUI Toolkit, but didn't use
animated gifs. Instead I use a composite bitmap. Say your animation is
4 frames. A composite bitmap then consists of 4 images next to each
other making one wide image. The animation component then reads the
single (wide) image, splits the large image into 4 small ones and
simply display them one after the other in a loop with 200ms delay (or
whatever the developer choses).

The animation component can be viewed using the following url. It
should be very simple to port or rewrite this for Lazarus LCL.

http://fpgui.git.sourceforge.net/git/gitweb.cgi?p=fpgui;a=blob_plain;f=src/gui/fpg_animation.pas;hb=master

PS:
  I don't think TImage supports animated gifs directly.

Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus ignores my breakpoints

2009-05-05 Thread Graeme Geldenhuys
On Tue, May 5, 2009 at 1:06 PM, Graeme Geldenhuys
graemeg.li...@gmail.com wrote:
 Hi,

 Why is Lazarus ignoring my breakpoint?  If I put a writeln() statement
 before line 1466, it is executed and I see console output. So that

I place the following writeln() statement before line 1466 and below
is some sample output, showing the writeln() is being run.


   writeln('**');


==[ console output ]
/home/graemeg/programming/tiOPF2/UnitTests/Text/textrunner -p
--suite=TtiObjectTestCase

TtiObjectTestCase:
Owner: ...  DONE
Parent_InheritsFromVsIs: ...  DONE
Parent_TtiObject: ...  DONE
Parent_TtiObjectList: ...  DONE
OIDGenerator: ...  DONE
GetOID: ...  DONE
PropType: ...  DONE
IsReadWriteProp: ...  DONE
PropCount: ...  DONE
SetPropValue: ...  DONE
SetBooleanPropValue: ...**
  ERROR
GetPropValue: ...  DONE
SetPropValueNested: ...  DONE
GetPropValueNested: ...  DONE
Deleted_TtiObject: ...  DONE
..
===


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Lazarus ignores my breakpoints

2009-05-05 Thread Graeme Geldenhuys
Hi,

Why is Lazarus ignoring my breakpoint?  If I put a writeln() statement
before line 1466, it is executed and I see console output. So that
code is definitely being run. Yet Lazarus think it isn't and simply
ignores the breakpoint - for no reason.  See attached screenshot.

I'm using FPC 2.2.5, Lazarus 0.9.27 r19685 and GNU gdb 6.8-debian
under Ubuntu Linux 9.04.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
attachment: Screenshot.png___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus ignores my breakpoints

2009-05-05 Thread Graeme Geldenhuys
On Tue, May 5, 2009 at 1:33 PM, Martin Friebe laza...@mfriebe.de wrote:

 While it is not the answer to your question, I had a similar issue and
 found, that breakpoints only worked, if they here set *before* I started
 the application to debug. (This was on FreeBSD)

This is what I have done. Set the breakpoints, then run the
application through the IDE. The IDE then outputs to the debug xterm
console.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus ignores my breakpoints

2009-05-05 Thread Graeme Geldenhuys
On Tue, May 5, 2009 at 1:31 PM, Vincent Snijders
vincent.snijd...@gmail.com wrote:

 The color of the breakpoint seems to indicate there is no line info for

With my color scheme in says:  invalid breakpoint

 that unit. Can you attach the debug output (maybe zipped) (View - Debug
 Windows - Debug Output).

Umm, another new window I didn't know about. :-)

The output has been attached as an archive.  The most interesting bit
is probably the last few lines which looks like this. I guess that is
the problem - though I have no clue how to fix it.


===
(gdb)

-symbol-list-lines
/home/graemeg/programming/3rdParty/tiOPF2/Source/UnitTests/Tests/tiObject_TST.pas
mi_cmd_symbol_list_lines: Unknown source file name.\n

^error,msg=mi_cmd_symbol_list_lines: Unknown source file name.

(gdb)

-symbol-list-lines tiObject_TST.pas
mi_cmd_symbol_list_lines: Unknown source file name.\n

^error,msg=mi_cmd_symbol_list_lines: Unknown source file name.

(gdb)

===


And for completeness, below is when FPC compiler parameters that
Lazarus IDE generates:

===
 -MObjFPC -O1 -gl -vewnhi -l -Fi../../Core/ -Fu../Common/ -Fu../Tests/
-Fu../../Compilers/FPC/lib/i386-linux/
-Fu../../../../../../../../opt/lazarus/packager/units/i386-linux/ -Fu.
-vm5024 -otextrunner -FU_Dcu

or without relative paths

 -MObjFPC -O1 -gl -vewnhi -l
-Fi/home/graemeg/programming/3rdParty/tiOPF2/Source/Core/
-Fi/home/graemeg/programming/3rdParty/tiOPF2/Source/UnitTests/Text/
-Fu/home/graemeg/programming/3rdParty/tiOPF2/Source/UnitTests/Common/
-Fu/home/graemeg/programming/3rdParty/tiOPF2/Source/UnitTests/Tests/
-Fu/home/graemeg/programming/3rdParty/tiOPF2/Source/Compilers/FPC/lib/i386-linux/
-Fu/opt/lazarus/packager/units/i386-linux/
-Fu/home/graemeg/programming/3rdParty/tiOPF2/Source/UnitTests/Text/
-Fu. -vm5024 -FE/home/graemeg/programming/3rdParty/tiOPF2/Source/UnitTests/Text/
-otextrunner -FU_Dcu
===


And here is the directory layout as it is on my system.
===
$ tree.sh

/home/graemeg/programming/3rdParty/tiOPF2/Source
   .
   |-Compilers
   |---FPC
   |-lib
   |---i386-linux
   |-Core
   |-GUI
   |---LCL
   |---VCL
   |-Options
   |-UnitTests
   |---Common
   |---_Data
   |---GUI
   |-_Dcu
   |-Log
   |---Tests = unit tests and unit I want to set breakpoint in
   |---Text   = Program executable and source code
   |-_Dcu   = compiled units go here

===


Hope this helps!


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/


debug_output.txt.tar.gz
Description: GNU Zip compressed data
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus ignores my breakpoints

2009-05-05 Thread Graeme Geldenhuys
On Tue, May 5, 2009 at 2:28 PM, Marc Weustink wrote:

 You cannot debug console apps with lazarus. If you use an xterm as
 launching to see your console output, then gdb will debug the xterm and
 not your app.

Ah, that was it!!  I switched to using the LCL based GUI version of
the test suite and my breakpoint was working.  Thanks for spotting the
problem.  :-)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [patch] fpdoc.css now has definition list formatting

2009-04-29 Thread Graeme Geldenhuys
On Wed, Apr 29, 2009 at 10:25 AM, Marco van de Voort mar...@stack.nl wrote:

 Thanks, applied. Let see if the formatchars docs get pretty tomorrow.

 Is the left colum supposed to be right adjusted ? I'd prefer normal table
 style and left adjustment.

No it shouldn't be. :-(
Maybe I got the patch wrong.  Initially I was going to right align the
left column, but that caused problems with large (very wide)
definition text (dt tag), so I adjusted the CSS code to use auto
width. And with the latter option, text is always left aligned.

Sorry Vincent - if I got the patch wrong.  Here is what the definition
list CSS code should look like:


/* definition list */
dl {
  border: 3px double #ccc;
  padding: 0.5em;
}

/* definition list: term */
dt {
  float: left;
  clear: left;
  width: auto; /* normally browsers default width of largest item */
  padding-right: 20px;
  font-weight: bold;
  color: darkgreen;
}

/* definition list: description */
dd {
  margin: 0 0 0 110px;
  padding: 0 0 0.5em 0;
}





Viewing the following URL, I did screw up the patch and sent my
initial attempt.  :-(
  http://lazarus-ccr.sourceforge.net/docs/rtl/fpdoc.css

Vincent, could you update the fpdoc.css  with the code shown above. Thanks.

Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Instructions for creating Animated Gif's

2009-04-29 Thread Graeme Geldenhuys
Hi,

I created a wiki page as promised - explaining how to create optimized
animated gif's for the wiki.

   http://wiki.lazarus.freepascal.org/Creating_animated_gifs_for_wiki


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Online LCL docs - Error 404

2009-04-28 Thread Graeme Geldenhuys
The online LCL documentation is outdated.

I am using 0.9.27. I selected the ModalResult property of a TButton in
the Object Inspector. I pressed F1 and the following URL was opened in
my web browser. Displaying error 404.

http://www.freepascal.org/docs-html/lcl/stdctrls/tcustombutton.modalresult.html


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Online LCL docs - Error 404

2009-04-28 Thread Graeme Geldenhuys
On Tue, Apr 28, 2009 at 11:14 AM, Alexander Klenin kle...@gmail.com wrote:

 Better use 
 http://lazarus-ccr.sourceforge.net/docs/lcl/stdctrls/tcustombutton.modalresult.html

 BTW, this docs page is wrong, ModalResult is not a boolean as it implies.


:-) Well spotted Alexander.  I would also suggest the following page:

http://lazarus-ccr.sourceforge.net/docs/lcl/forms/tmodalresult.html

links to the mr constants in the Controls.pp unit.  After all,
that is what is used for modal results in code and Object Inspector,
not plain integer values.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Latest RTL, FCL and LCL online docs

2009-04-28 Thread Graeme Geldenhuys
On Tue, Apr 28, 2009 at 11:39 AM, Vincent Snijders
vincent.snijd...@gmail.com wrote:

 I am hesitant to do that. Documentation on sourceforge is generated
 nighlty and rsynced with the files on SourceForge. It is a bit silly
 to update these files daily because the datestamp changed.

OK, I see your point.  Then again, if the documentation is generate
nightly, it is always up to date, so the whole issue of out-of-date
docs is moot.  :-)

FCL and RTL docs are not created nightly - hence the reason I thought
the LCL ones follow suit. I guess I was wrong.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Latest RTL, FCL and LCL online docs

2009-04-28 Thread Graeme Geldenhuys
Compare these for example...

http://lazarus-ccr.sourceforge.net/docs/rtl/
  vs
http://www.freepascal.org/docs-html/rtl/


Which one is newer?  fpdoc now supports a command line parameter
(--footer-date='-mm-dd') which allows the date the documentation
was generated on to be added to the footer. I would suggest this be
used for RTL, FCL and LCL documentation. This clearly indicates to the
user how old or new the documentation is.  I noticed that RTL and FCL
documentation hosted on www.freepascal.org already uses this.

I would suggest the ISO 8601 international date format (as shown
above) to prevent any confusion with dates.
Summary of ISO 8601  http://www.cl.cam.ac.uk/~mgk25/iso-time.html
  cIntlDateTimeStor = 'mmddThhmmss';// for storage
  cIntlDateTimeDisp = '-mm-dd hh:mm:ss';  // for display


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Latest RTL, FCL and LCL online docs

2009-04-28 Thread Graeme Geldenhuys
On Tue, Apr 28, 2009 at 12:07 PM, Graeme Geldenhuys
graemeg.li...@gmail.com wrote:

 FCL and RTL docs are not created nightly - hence the reason I thought
 the LCL ones follow suit. I guess I was wrong.

By that I mean the FCL and RTL docs hosted on www.freepascal.org.  Are
the FCL and RTL docs hosted on lazarus-ccr also created nightly?  Or
just the LCL ones?


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Latest RTL, FCL and LCL online docs

2009-04-28 Thread Graeme Geldenhuys
On Tue, Apr 28, 2009 at 12:20 PM, Vincent Snijders
vincent.snijd...@gmail.com wrote:
  FCL and RTL docs are not created nightly - hence the reason I thought
  the LCL ones follow suit. I guess I was wrong.

 Why do you think so? What files are out of date on
 http://lazarus-ccr.sourceforge.net/docs/rtl/
 or
 http://lazarus-ccr.sourceforge.net/docs/fcl/


As my next message said:
By that I mean the FCL and RTL docs hosted on www.freepascal.org.  Are
the FCL and RTL docs hosted on lazarus-ccr also created nightly?  Or
just the LCL ones?


So from your reply I gather that *all* documentation hosted on
lazarus-ccr (rtl, fcl and lcl) are created nightly. That's good to
know.

Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Online LCL docs - Error 404

2009-04-28 Thread Graeme Geldenhuys
On Tue, Apr 28, 2009 at 11:50 AM, Vincent Snijders
vincent.snijd...@gmail.com wrote:

 Feel free to supply patches for stdctrls.xml and forms.xml in the
 lazarus/docs/xml/lcl directory.

Patch posted in a new thread.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Online LCL docs - Error 404

2009-04-28 Thread Graeme Geldenhuys
On Tue, Apr 28, 2009 at 11:04 AM, Graeme Geldenhuys
graemeg.li...@gmail.com wrote:

 I'm pretty sure I did not fiddle with the help configuration. When I
 started using the Git mirror, I started with a totally fresh install
 of Lazarus and a new $HOME/.lazarus/ directory.

Strange, with a new profile directory, it uses the correct URL.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Online LCL docs - Error 404

2009-04-28 Thread Graeme Geldenhuys
On Tue, Apr 28, 2009 at 10:03 AM, Michael Van Canneyt
mich...@freepascal.org wrote:

 http://www.freepascal.org/docs-html/lcl/stdctrls/tcustombutton.modalresult.html

 I would be very surprised if the LCL documentation was at that location,
 at least I never put it there. I think you should check your configuration.

I'm pretty sure I did not fiddle with the help configuration. When I
started using the Git mirror, I started with a totally fresh install
of Lazarus and a new $HOME/.lazarus/ directory.

I'll start a new primary config path (--pcp parameter) and see what it
does and where it goes.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Latest RTL, FCL and LCL online docs

2009-04-28 Thread Graeme Geldenhuys
On Tue, Apr 28, 2009 at 1:17 PM, Michael Van Canneyt
mich...@freepascal.org wrote:

 What is so hard about typing
 make html
 ?

/opt/fpcdocs_svn $ make html
make -C ../compiler/utils msg2inc
make: *** ../compiler/utils: No such file or directory.  Stop.
make: *** [../compiler/utils/msg2inc] Error 2


OK, so clearly 'fpcdocs_svn' must be in a different directory layout.
The README.DOCS doesn't mention a required directory structure. Also
the documentation repository (located at
http://svn.freepascal.org/svn/fpcdocs/trunk) doesn't give any
indication that it must be a sub-directory of FPC somewhere.

The readme file also says that to create html help, it uses
latex2html, but what if I am only interested in the class
documentation for RTL and FCL? Onl HTML output, not the pretty PDF
manuals that I always download. What make parameter do I pass in then
- that doesn't require latex2html? Something that only uses fpdoc for
html output?


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Latest RTL, FCL and LCL online docs

2009-04-28 Thread Graeme Geldenhuys
On Tue, Apr 28, 2009 at 2:04 PM, Graeme Geldenhuys
graemeg.li...@gmail.com wrote:


 OK, so clearly 'fpcdocs_svn' must be in a different directory layout.

I then guessed that fpcdocs_svn must be somewhere in the FPC source
directory. So I did that by creating a 'docs' symlink in my FPC source
directory:

/opt/fpc/src $ l
total 112K
-rw-r--r--  16 2009-03-13 09:28 build-stamp.i386-linux
drwxr-xr-x 20 4.0K 2009-03-13 09:26 compiler
lrwxrwxrwx  1   16 2009-04-28 14:05 docs - /opt/fpcdocs_svn
drwxr-xr-x  6 4.0K 2009-03-13 09:28 ide
drwxr-xr-x  4 4.0K 2009-03-13 09:28 installer
-rw-r--r--  1  62K 2009-03-13 09:21 Makefile
-rw-r--r--  1 6.3K 2009-03-13 09:21 Makefile.fpc
drwxr-xr-x 96 4.0K 2008-12-05 11:08 packages
drwxr-xr-x 43 4.0K 2009-03-13 09:28 rtl
-rwxrwxr--  1   67 2009-03-13 09:38 startbuild.sh
drwxr-xr-x 11 4.0K 2008-06-09 09:26 tests
drwxr-xr-x 19 4.0K 2009-03-13 09:28 utils

So now lets try the following:

/opt/fpc/src $ cd docs
/opt/fpc/src/docs $ make html
make -C ../compiler/utils msg2inc
make: *** ../compiler/utils: No such file or directory.  Stop.
make: *** [../compiler/utils/msg2inc] Error 2


Umm... see the problem?  It's just not that easy like the LCL help.
Yes I know the RTL and FCL help is obviously a bit more complex. It's
LaTeX manuals and fpdoc help all in one. But clearly this is not easy
for any user to generate HTML (from fpdoc output) help. I see LCL uses
a console application to help the build process. I thought of doing
the same thing for fpGUI Toolkit. Maybe we could knock something
together for FPC docs as well and get rid of makefiles?  And hopefully
get run of latex2html requirement for HTML class help which fpdoc can
do on it's own.

Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Online LCL docs - Error 404

2009-04-28 Thread Graeme Geldenhuys
On Tue, Apr 28, 2009 at 10:39 AM, Vincent Snijders
vincent.snijd...@gmail.com wrote:

 Better use 
 http://lazarus-ccr.sourceforge.net/docs/lcl/stdctrls/tcustombutton.modalresult.html


Thanks, this URL works perfectly.


 Somebody did put something here:
 http://www.freepascal.org/docs-html/lcl/

Could these page be deleted -- to prevent any further confusion?


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [patch] ModalResult documentation update

2009-04-28 Thread Graeme Geldenhuys
On Tue, Apr 28, 2009 at 1:38 PM, Vincent Snijders
vincent.snijd...@gmail.com wrote:

 Unfortunately my (fpc 2.3.1 version of) fpdoc doesn't generate correct
 links for mrNonme, for example. See:
 http://lazarus-ccr.sourceforge.net/docs/lcl/forms/tmodalresult.html

Umm... I'm using 2.2.5 and it works fine.

==
$ fpdoc --version
FPDoc - Free Pascal Documentation Tool
Version 2.2.5 [2009/03/13]
==

Next, I'll update the damn ugly short descriptions of the mrXXX
constants. It makes the TModalResult and Controls  Constants help
look a bit stupid.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Latest RTL, FCL and LCL online docs

2009-04-28 Thread Graeme Geldenhuys
On Tue, Apr 28, 2009 at 2:15 PM, Michael Van Canneyt
mich...@freepascal.org wrote:

 The following should do it:

 make rtl.chk
 make fcl.chk

 And you don't need latex2html, but tex4ht for the other things.
 I changed the README file so it's more correct.

Thanks, the description is now much better (clearer).  I still have
problems though. Can I use a symlink'ed docs directory? The layout is
still as I shown in my previous email, but I get the following output.

=
/opt/fpc/src/docs $ make clean
  .removed lots of output...
/opt/fpc/src/docs $ make rtl.chk
fpdoc  --warn-no-node --package=rtl --descr=rtl.xml --content=rtl.xct
--hide-protected --descr=strutils.xml
--input=../rtl/objpas/strutils.pp  --descr=sysutils.xml
--input=../rtl/unix/sysutils.pp -Fi../rtl/objpas/sysutils
-Fi../rtl/inc  
  lots more text gets displayed and then the following
FPDoc - Free Pascal Documentation Tool
Version 2.2.5 [2009/03/13]
(c) 2000 - 2003 Areca Systems GmbH / Sebastian Guenther, s...@freepascal.org

An unhandled exception occurred at $080CD8D9 :
EFileNotFoundError : ../rtl/objpas/strutils.pp
  $080CD8D9
  $080CDCF4
  $080493A8
  $08049931

make: *** [rtl.chk] Error 217
=

Yet the ../rtl/objpas/strutils.pp file *does* exist.



Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Latest RTL, FCL and LCL online docs

2009-04-28 Thread Graeme Geldenhuys
On Tue, Apr 28, 2009 at 2:47 PM, Graeme Geldenhuys
graemeg.li...@gmail.com wrote:

 Thanks, the description is now much better (clearer).  I still have
 problems though. Can I use a symlink'ed docs directory? The layout is
 still as I shown in my previous email, but I get the following output.

OK, clearly for some very strange reason symlink'ed folders are NOT
allowed.  I removed the /opt/fpc/src/docs symlink and copied the
fpcdocs_svn directory into /opt/fpc/src/

Then I ran 'make rtl.chk' and it worked!  :-)

Then I ran 'make fcl.chk' and it failed!  :-(


=
/opt/fpc/src/fpcdocs_svn $ make fcl.chk
../utils/fpdoc/fpdoc  --package=fcl --warn-no-node --descr=fcl.xml
--content=fcl.xct --import=rtl.xct,../rtl/ --descr=iostream.xml
--input=-S2 ../packages/fcl-base/src/iostream.pp  ..
   [ ** cut lots of text so I can email the output *]
FPDoc - Free Pascal Documentation Tool
Version 2.2.5 [2009/03/13]
(c) 2000 - 2003 Areca Systems GmbH / Sebastian Guenther, s...@freepascal.org

An unhandled exception occurred at $080CD8D9 :
EFileNotFoundError : ../packages/fcl-base/src/ascii85.pp
  $080CD8D9
  $080CDCF4
  $080493A8
  $08049931

make: *** [fcl.chk] Error 217
===

Ah, now it's actually reporting a missing unit. ascii85.pp doesn't
exist in FPC 2.2.5.  Any ideas how I can make it works without using
FPC trunk?

PS:
  I'm working on some minor improvements to the fpdoc.css file as
well. It doesn't have any formatting for definition lists.

Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] new definition list formatting for HTML docs

2009-04-28 Thread Graeme Geldenhuys
Hi,

Currently dl tags or definition lists are not formatted at all in
the default fpdoc.css file (used for FPC and Lazarus documentation).

http://lazarus-ccr.sourceforge.net/docs/rtl/sysutils/formatchars.html

Above is the original unformatted definition lists. As you can see,
it doesn't look very nice. It's cluttered and hard to read.

The attached images shows the new formatting output. Is this
acceptable?  If so, I'll submit patches to FPC and Lazarus projects.
Is there a fpdoc source files that generates the default fpdoc.css as
well that I might have to patch?


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
attachment: docs_new.png___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Latest RTL, FCL and LCL online docs

2009-04-28 Thread Graeme Geldenhuys
On Tue, Apr 28, 2009 at 2:54 PM, Michael Van Canneyt
mich...@freepascal.org wrote:

 You can't use a symlinked docs directory, the link points in the wrong
 direction.

 You could try symlinked rtl/compiler/packages directories from the point
 of view of the docs.

I'm curious as to why it should make a difference?  If I am in the
'fpcdocs_svn' directory (symlinked into /opt/fpc/src/docs) I can do a
'ls -l ../rtl/*' and see the relevant files. So why doesn't the make
work.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] new definition list formatting for HTML docs

2009-04-28 Thread Graeme Geldenhuys
On Tue, Apr 28, 2009 at 3:10 PM, Graeme Geldenhuys
graemeg.li...@gmail.com wrote:

 The attached images shows the new formatting output. Is this
 acceptable?

Maybe I should remove the auto-inserted : after the definition text
(dt tag) as it might cause confusion.

So simply have the dt text in green, followed by a spacing and then
the description.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Latest RTL, FCL and LCL online docs

2009-04-28 Thread Graeme Geldenhuys
On Tue, Apr 28, 2009 at 3:13 PM, Vincent Snijders
vincent.snijd...@gmail.com wrote:

 I just do:
 FPCSRCDIR=/path/to/fpc/sources
 make rtl.chk FPCSRCDIR=$FPCSRCDIR

That's even better.  :-)

Michael, could you add this to the readme file as well?


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] New code macro OfAll

2009-04-28 Thread Graeme Geldenhuys
On Tue, Apr 28, 2009 at 5:38 PM, Mattias Gaertner
nc-gaert...@netcologne.de wrote:

 I implemented a new code macro for case statements.
 http://wiki.lazarus.freepascal.org/New_IDE_features_since#code_macro_OfAll

Awesome feature, thanks Mattias. It's so nice seeing the feature in
action before actually getting a svn update. :-)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] New code macro OfAll

2009-04-28 Thread Graeme Geldenhuys
On Tue, Apr 28, 2009 at 5:38 PM, Mattias Gaertner
nc-gaert...@netcologne.de wrote:

 http://wiki.lazarus.freepascal.org/New_IDE_features_since#code_macro_OfAll

I uploaded a new version of your animated image - optimized the file
size. I got the file down from 279,420 bytes (rather large) to only
39,010 bytes. :-)

PS:
  I'll write the Animated Gif wiki page tomorrow to explain what I do.

Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Production

2009-04-24 Thread Graeme Geldenhuys
On Fri, Apr 24, 2009 at 12:07 AM, Paul Ishenin webpi...@mail.ru wrote:

 What help? JCF is integrated into lazarus IDE and you can use it either
 from menu item or by pressing key combination (default = Ctrl + D).
 Default format style file is placed in the lazarus directory
 JCFSettings.cfg. There is no way currently to edit it from the IDE but
 you can edit it in windows using JCF application from the sourceforge.


Does that mean I can copy my customized JCFSettings.cfg file (created
with jcfNotepad.exe) into the Lazarus directory and have Lazarus use
that? That would be cool. :-)

Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Integrated JCF formats different to jcfNotepad.exe

2009-04-24 Thread Graeme Geldenhuys
Hi,

I'm using the same JCFSettings.cfg file as created with
jcfNotepad.exe. I symlinked my config file in the ~/.lazarus/
directory.

When I run jcfNotepad.exe, I get the correct formatting. When I run
JCF via (Ctrl+D) using the same JCFSettings.cfg file, I get undesired
formatting as shown below.

This is what I want:
==[ jcfNotepad.exe ]
function GetConfigValue(fileName, confName: string): string;
var
  fh: Text;
  buff: string;
  conf: array[1..2] of string;
  c: char;
  len, i, cnt: integer;
  spaces: Boolean;
  OldFileMode: integer;
begin
==

This is NOT what I want.
= [ JCF integrated in Lazarus IDE ]
function GetConfigValue(fileName, confName: string): string;
var
  fh: Text;
  buff:   string;
  conf:   array[1..2] of string;
  c:  char;
  len, i, cnt: integer;
  spaces: boolean;
  OldFileMode: integer;
begin
==


Any thoughts?

Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Integrated JCF formats different to jcfNotepad.exe

2009-04-24 Thread Graeme Geldenhuys
Hi,

 When I run jcfNotepad.exe, I get the correct formatting. When I run
 JCF via (Ctrl+D) using the same JCFSettings.cfg file, I get undesired
 formatting as shown below.

Attached is my JCFSettings.cfg file.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/


JCFSettings.cfg.tar.gz
Description: GNU Zip compressed data
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TDateEdit.Date is not published...why?

2009-04-24 Thread Graeme Geldenhuys
On Fri, Apr 24, 2009 at 12:01 PM, Gerard N/A gerardusmerca...@gmail.com wrote:

 I don't get it. Why would you add USD and GBP and assign the result to
 a variable wich is supposed to hold Euros?

Think in terms of an accounting application that supports billing in
multiple currencies. Or clients that pay there bills in there own
currency, while the default currency is something else.


 Ok, maybe the name currency can be confusing. Curency is a fixed
 point real type with 4 decimal places.
 Anyway, handling conversions between currencies requires more than
 even a simple class.

Exactly my point.  :-)

 You would need to know at least what is the exchange rate for a given
 conversion.

And the currency type and the rounding method use (maybe even per
currency) and the preferred decimal numbers used (again maybe per
currency) etc...

Something that seemed so simple in the beginning can become quite a
complex task. ;-)

Now similar issue can be applied to TDateTime and String types.  All I
can say is thank goodness for Value Type Frameworks which get around
these problems. Business objects are defined using class types instead
of simple types.  Anyway, this thread is getting a bit off-topic now.

Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TDateEdit.Date is not published...why?

2009-04-24 Thread Graeme Geldenhuys
On Fri, Apr 24, 2009 at 10:15 AM, Gerard N/A gerardusmerca...@gmail.com wrote:

 scary.  Try and do multi-currency calculations with a Currency type.

 Just out of  curiosity, where's the problem?

Example #1
--
var
  cUSD: Currency;
  cGBP: Currency;
  cEuro: Currency;
  cSum: Currency;
begin
  cUSD := 1.00;
  cGBP := 1.00;
  cEuro := cUSD + cGBP;
  cSum := cUSD + cGBP;


Problem #1:
   cEuro is only valid if exchange rate is 1:1. Which pretty
   much guaranteed not to be the case in this day and age.

Problem #2:
   What currency is cSum in?  Dollars or Pounds or something else?

...there are a few more issues like rounding, allocation of lost
decimals in case of rounding errors, etc...  :-)  A simple type simply
cannot handle such complex cases correctly.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] wiki editing rules and suggestion

2009-04-23 Thread Graeme Geldenhuys
Hi,

In the MediaWiki help (included with Lazarus wiki) it says that you
must not use level 1 headers (for example: = header one =) formatting
because it's reserved for the page title. So when we create headers we
must use level 2 headers (for example: == my header ==).

I read this on the MediaWiki and Lazarus Wiki site. Yet there are many
pages that use level 1 headers in pages. What are we supposed to use?
What is recommended?

Suggestion:
Can the CSS be extended for the default theme so that level 2 and
level 3 headers are most distinguishable. They look very similar and
is probably the reason why some people rather use the forbidden
level 1 headers instead.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Animated GIF's in wiki pages

2009-04-23 Thread Graeme Geldenhuys
On Thu, Apr 23, 2009 at 11:18 AM, Vincent Snijders
vincent.snijd...@gmail.com wrote:

 You can make a wiki entry. Mailing list postings are not persistent enough.

OK, thanks.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Form designer guidelines: I'm impressed!

2009-04-23 Thread Graeme Geldenhuys
Hi

Searching the repository history for when Form Designer Guidelines
were introduced, I found it in r1754 (2002-06-19). WOW!! That's like 5
or 6 years before Delphi copied it.  :-)  Awesome work Mattias!!  It's
features like this, that proves that Lazarus IDE is NOT a clone of the
Delphi IDE.

==
commit 6ade4b342d8cf327810032fda51a4ea93f57db2b
Author: lazarus laza...@freepascal.org
Date:   Wed Jun 19 19:46:10 2002 +

MG: Form Editing: snapping, guidelines, modified on move/resize,
creating components in csDesigning, ...

git-svn-id: http://svn.freepascal.org/svn/lazarus/tr...@1754
4005530d-fff6-0310-9dd1-cebe43e6787f
===


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Form designer guidelines: I'm impressed!

2009-04-23 Thread Graeme Geldenhuys
 Searching the repository history for when Form Designer Guidelines
 were introduced, I found it in r1754 (2002-06-19). WOW!! That's like 5

By the way, the Lazarus repository does not have releases tagged that
far back, so I simply dated it by month and year, prior to release
v0.9.4.  As shown in the wiki page below.

http://wiki.lazarus.freepascal.org/New_IDE_features_since


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Animated GIF's in wiki pages

2009-04-23 Thread Graeme Geldenhuys
Hi,

Relating to the following pages:
  http://wiki.lazarus.freepascal.org/New_IDE_features_since
  http://wiki.lazarus.freepascal.org/New_LCL_features_since

...and probably other pages too.  Like they say in English: A picture
is worth a 1000 words!

In case others wanted to help add features (though I am enjoying
myself hunting for cool features in Lazarus), I found that making
animated GIF's are much easier than expected. Should I create a wiki
page on how I do it, or must I simply make a posting to the mailing
list.

BTW:
The tools I use under Linux are 'xvidcap' in single frame capture
mode and Gimp image editor.

Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Form designer guidelines: I'm impressed!

2009-04-23 Thread Graeme Geldenhuys
2009/4/23 Mattias Gärtner nc-gaert...@netcologne.de:

 Indeed. AFAIR at that time some Delphi users thought they were graphic bugs.

:-)


 Does Delphi finally support include files and sessions? And has it a word
 completion?

As far as I know include file support is still as it was in Delphi
5-7. Two more items I'll add to the IDE Features page. I use such
feature so often, I forget they are extra special to Lazarus.


 Hehe, if I would commit such a multi patch nowadays, Vincent would hit me. I
 learned a lesson or two.

hehe... That was a rather large patch.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] TDateEdit.Date is not published...why?

2009-04-23 Thread Graeme Geldenhuys
Hi,

Is there any specific reason why TDateEdit.Date is not published?
That's kind of an important property for that component.

Is TDateEdit the equivalent to TDateTimePicker of Delphi's VCL?

Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TDateEdit.Date is not published...why?

2009-04-23 Thread Graeme Geldenhuys
On Thu, Apr 23, 2009 at 3:52 PM, Vincent Snijders
vsnijd...@vodafonevast.nl wrote:

 Googling for: Can somebody explain me the reasons behind the changes in
 revision 10189?
 gives:
 http://www.mail-archive.com/laza...@miraclec.com/msg12342.html

OK, thanks Vincent.

And another reason DateTime and Currency should not be simply types.
Lots of hacks are required to get null support, fix rounding issues
etc... But that's a whole other topic.  ;-)

Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TDateEdit.Date is not published...why?

2009-04-23 Thread Graeme Geldenhuys
On Thu, Apr 23, 2009 at 4:51 PM, Luca Olivetti l...@wetron.es wrote:

 As a side note, nulldate is actually set to a valid date (0 is
 30/12/1899), not a common date in everyday use, but one could need it

Hence my comment about TDateTime and Currency that are not supposed to
have been simple types. :-) They are so flawed in design it's just
scary.  Try and do multi-currency calculations with a Currency type.
Try and calculate the difference between dates or like you pointed
out, setting it to a true null value. Thank goodness for Value Object
design pattern. ;-)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Animated GIF's in wiki pages

2009-04-23 Thread Graeme Geldenhuys
On Thu, Apr 23, 2009 at 8:59 PM, Lee Jenkins l...@datatrakpos.com wrote:

 I have to say that Lazarus is getting sexy.  Someone forgot to put the auto
 suggestion as you type feature in ;)

Explain that feature please?  Or is that word completion?


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Production

2009-04-23 Thread Graeme Geldenhuys
On Thu, Apr 23, 2009 at 8:05 PM, Osvaldo Filho arquivos...@gmail.com wrote:

 jcf - Jedi Code Format

There has been work done on integrating jcf into the Lazarus IDE, but
I don't know if it is working or usable yet. I simply downloaded the
binary jcf package from SourceForge and use jcfNotepad.exe via WINE
(linux) and it works perfectly.

 lazde

It's available with Lazarus in the doceditor directory.

 - Are comments usable like java, consulting in line our comments on
 IDE Editor for our objects?

I prefer external documentation via 'fpdoc' as is done with Free
Pascal and Lazarus project. That way you can write more extensive
documentation including images and example code without obfuscating
the actual source code.

 - Is there a tutorial for create comments with Lazdoc?

http://wiki.lazarus.freepascal.org/Lazarus_Documentation_Editor
http://wiki.freepascal.org/LazDoc
http://wiki.lazarus.freepascal.org/FPDoc_Updater


 - Any guide for use lazarus with same project (by team) on windows and
 linux at same time?

Use a source code management system like Git or SubVersion. Simply
pull change from each other (Git) or commit and update from a single
repository (SubVersion).


 - Where is Lazde?

lazarus/doceditor/


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TStringGrid: Multi Select not connected rows?

2009-04-23 Thread Graeme Geldenhuys
On Thu, Apr 23, 2009 at 9:42 PM, Lee Jenkins l...@datatrakpos.com wrote:

 Is there a way to allow TStringGrid to not only .RowSelect but also 
 multi-select
 rows that are not directly above or below each other as in range selecting?

I don't believe TStringGrid allows for that (well at least in the case
of Delphi's TStringGrid).  Alternatives is to use TListView in
'report' mode.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-21 Thread Graeme Geldenhuys
On Sun, Apr 19, 2009 at 3:11 AM, Martin Friebe laza...@mfriebe.de wrote:

 There is now revision 19499

 you need the mouse (so it isn't as quick and convenient as a key-command
 driven hint).
 The Fold-Gutter part now has it's own Pop-up menu. (only at lines that
 have folding present). And it shows all the nested levels.


It works on lines with code-folding present in gutter - I see the
popup menu appear. But as soon as I right-click on an area in the
gutter that doesn't have the code-folding, then I get an AV.  I only
have code folding enabled for {%region} and {%ifdef}.

The right-click is in the right most area of the gutter where the
code-folding lines appear.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] New Lazarus IDE/LCL features since ...?

2009-04-21 Thread Graeme Geldenhuys
Hi all,

Seeing that CodeGear has this new ??? features since Delphi 7, why
can't we start something like that for Lazarus as well. I don't really
know why exactly the CodeGear guys decided since Delphi 7 and not
another version though.

When I look at the features listed in the links below, I am more and
more impressed with Lazarus. (well done to all!) We have most of those
features and more... Such a wiki page or two would be a nice one-stop
show-off page like come see what Lazarus has to offer...  :-)

Your thoughts on such a wiki page idea?


New IDE features since Delphi 7
  http://edn.embarcadero.com/article/34323

New VCL features since Delphi 7
  http://edn.embarcadero.com/article/34325

Enhancements since Delphi_7
  http://delphi.wikia.com/wiki/Enhancements_since_Delphi_7


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] New Lazarus IDE/LCL features since ...?

2009-04-21 Thread Graeme Geldenhuys
To continue from my previous post...

Also, grouping feature as they got introduced, by version number (with
release date) will show that Lazarus didn't copy every thing from
Borland. Lazarus had some feature way before Delphi.

For example:
  * build in diff viewer
  * guidelines in the form designer
  * refactoring
  * editor features like divider lines
  * favourites in Object Inspector
  * integrated unit testing with FPCUnit
  * beter anchoring and margins in form designer
  * .


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] New Lazarus IDE/LCL features since ...?

2009-04-21 Thread Graeme Geldenhuys
On Tue, Apr 21, 2009 at 2:19 PM, Graeme Geldenhuys
graemeg.li...@gmail.com wrote:

 When I look at the features listed in the links below, I am more and
 more impressed with Lazarus. (well done to all!) We have most of those
 features and more... Such a wiki page or two would be a nice one-stop
 show-off page like come see what Lazarus has to offer...  :-)

I created the following two wiki pages and started listing ideas. I'll
research how to create animated gif images (I use Linux) to show the
features in action.  Later I'll group them my Lazarus release versions
so we can get a time line going.

http://wiki.lazarus.freepascal.org/New_IDE_features_since
http://wiki.lazarus.freepascal.org/New_LCL_features_since

I think we can add a Free Pascal Compiler (RTL) feature list as well.

Please add any more ideas you can think of in the wiki pages. :-)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-21 Thread Graeme Geldenhuys
On Tue, Apr 21, 2009 at 2:37 PM, Martin Friebe laza...@mfriebe.de wrote:

 The AV is fixed in revision 19549. Thanks for the hint.

 You will need to add folding at Procedure-level and Class-level (maybe
 class-section too), in order to see where in the code you are...

Thanks, it works perfectly now.  Open source projects and dedicated
developers like you guys are awesome!!!  :-)


 There is a need to display that kind of info independent of folding, and
 in a form that does not require the mouse (can be reached quicker), but
 for now...

...for now it works fine.  ;-)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus



Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-21 Thread Graeme Geldenhuys
On Tue, Apr 21, 2009 at 2:37 PM, Martin Friebe laza...@mfriebe.de wrote:

 There is a need to display that kind of info independent of folding, and
 in a form that does not require the mouse (can be reached quicker), but
 for now...

I managed to get this working without the mouse.  ;-)

  * Enabled folding at Class and Procedure level

Using keyboard shortcuts:
  * Fold at cursor --  Scroll Lock key
  * Ctrl+H -- jump to last cursor position

I use Programmer Dvorak, so my keyboard shortcuts are very different
to the standard ones.  Shift+ScrollLock unfolds as well (but doesn't
restore cursor position). That's why I rather use Ctrl+H to restort,
and which unfolds automatically.

If there is a will, there is a way!  ;-)

Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] New Lazarus IDE/LCL features since ...?

2009-04-21 Thread Graeme Geldenhuys
2009/4/21 ik ido...@gmail.com:
 Delphi 7 was the last classic ide of Delphi.

The last truly working Delphi.  I get it now.  :-)


 I think before we will implement such advance features, we first need to
 implement missgin features from Delphi 2-7 .

I'm not talking about implementing new features or feature requiest
listing... I'm talking about listing _already implemented_ and very
impressive features in the wiki. And using animated gives were needed
to quickly show the feature in action. We can then also add links to
the actual documentation of that feature (if it exists).

Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] New Lazarus IDE/LCL features since ...?

2009-04-21 Thread Graeme Geldenhuys
On Tue, Apr 21, 2009 at 3:39 PM, Bee bee.ogra...@gmail.com wrote:

 Nice, Graeme! :)

I created my first gif animation with xvidcap and Gimp. It was SO
easy!  :-) I'll add it to the wiki shortly.


 To interest more Delphi programmers, maybe we could also provide some
 kind of feature comparison list. We should provide to kind of

That would be good, but the problem with that would be that you must
have knowledge of both products. I haven't used Delphi (last used v7)
since about 4 years ago. I can't remember the features it had.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] New Lazarus IDE/LCL features since ...?

2009-04-21 Thread Graeme Geldenhuys
On Tue, Apr 21, 2009 at 4:00 PM, Leonardo M. Ramé l.r...@griensu.com wrote:
 Reports and LazReport, what is Reports I thought the only report
 generator for Lazarus was LazReport.

It's a typo I meant reports as in LazReport.   ;-)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] New Lazarus IDE/LCL features since ...?

2009-04-21 Thread Graeme Geldenhuys
On Tue, Apr 21, 2009 at 4:09 PM, Graeme Geldenhuys
graemeg.li...@gmail.com wrote:

 I created my first gif animation with xvidcap and Gimp. It was SO
 easy!  :-) I'll add it to the wiki shortly.

I uploaded my first image to the wiki and referenced it in the IDE
features page.  Is there a wiki image naming conversion i should have
used?

In the future I though of naming the images relating to the page. For example:
  ide_features_block_matching.gif instead ofblock_matching.gif

Is this a good idea or is there something better? An existing naming conversion?


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-19 Thread Graeme Geldenhuys
On Sun, Apr 19, 2009 at 3:11 AM, Martin Friebe laza...@mfriebe.de wrote:
 The Fold-Gutter part now has it's own Pop-up menu. (only at lines that
 have folding present). And it shows all the nested levels.

Thanks Martin, I'll give this a try on Monday.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Repository commit statistics. :-)

2009-04-16 Thread Graeme Geldenhuys
On Thu, Apr 16, 2009 at 7:53 AM, Alexander Klenin kle...@gmail.com wrote:

 Yes, properly preserving author info in commits is another thing Git gets 
 right,
 and Subversion does not.

Correct. Git can distinguish between the Author and Committer or a patch.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Modified .po files after each build

2009-04-16 Thread Graeme Geldenhuys
Hi Jesus,

You explanation makes sense.


 what to do?, simply do a diff with changed po files, somebody should
 apply the patch and everybody happy again.

Please find the patch attached.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
diff --git a/components/projecttemplates/languages/frmtemplatevariables.de.po b/components/projecttemplates/languages/frmtemplatevariables.de.po
index f04ab28..874b3e0 100644
--- a/components/projecttemplates/languages/frmtemplatevariables.de.po
+++ b/components/projecttemplates/languages/frmtemplatevariables.de.po
@@ -13,6 +13,10 @@ msgstr 
 msgid Description
 msgstr Beschreibung
 
+#: frmtemplatevariables.snoadditionalvars
+msgid This project has no additional variables.
+msgstr 
+
 #: frmtemplatevariables.svalue
 msgid Value
 msgstr Wert
diff --git a/components/projecttemplates/languages/frmtemplatevariables.es.po b/components/projecttemplates/languages/frmtemplatevariables.es.po
index b6d736d..61f7e42 100644
--- a/components/projecttemplates/languages/frmtemplatevariables.es.po
+++ b/components/projecttemplates/languages/frmtemplatevariables.es.po
@@ -13,6 +13,10 @@ msgstr 
 msgid Description
 msgstr Descripcion
 
+#: frmtemplatevariables.snoadditionalvars
+msgid This project has no additional variables.
+msgstr 
+
 #: frmtemplatevariables.svalue
 msgid Value
 msgstr Valor
diff --git a/components/projecttemplates/languages/frmtemplatevariables.fr.po b/components/projecttemplates/languages/frmtemplatevariables.fr.po
index 02fc4d2..de84ed9 100644
--- a/components/projecttemplates/languages/frmtemplatevariables.fr.po
+++ b/components/projecttemplates/languages/frmtemplatevariables.fr.po
@@ -13,6 +13,10 @@ msgstr 
 msgid Description
 msgstr Description
 
+#: frmtemplatevariables.snoadditionalvars
+msgid This project has no additional variables.
+msgstr 
+
 #: frmtemplatevariables.svalue
 msgid Value
 msgstr Valeur
diff --git a/components/projecttemplates/languages/frmtemplatevariables.id.po b/components/projecttemplates/languages/frmtemplatevariables.id.po
index 88941b9..8a4d1a9 100644
--- a/components/projecttemplates/languages/frmtemplatevariables.id.po
+++ b/components/projecttemplates/languages/frmtemplatevariables.id.po
@@ -13,6 +13,10 @@ msgstr 
 msgid Description
 msgstr Deskripsi
 
+#: frmtemplatevariables.snoadditionalvars
+msgid This project has no additional variables.
+msgstr 
+
 #: frmtemplatevariables.svalue
 msgid Value
 msgstr Nilai
diff --git a/components/projecttemplates/languages/frmtemplatevariables.it.po b/components/projecttemplates/languages/frmtemplatevariables.it.po
index 043320a..4088838 100644
--- a/components/projecttemplates/languages/frmtemplatevariables.it.po
+++ b/components/projecttemplates/languages/frmtemplatevariables.it.po
@@ -13,6 +13,10 @@ msgstr 
 msgid Description
 msgstr Descrizione
 
+#: frmtemplatevariables.snoadditionalvars
+msgid This project has no additional variables.
+msgstr 
+
 #: frmtemplatevariables.svalue
 msgid Value
 msgstr Valore
diff --git a/components/projecttemplates/languages/frmtemplatevariables.lt.po b/components/projecttemplates/languages/frmtemplatevariables.lt.po
index 4d29d4f..9d25ce3 100644
--- a/components/projecttemplates/languages/frmtemplatevariables.lt.po
+++ b/components/projecttemplates/languages/frmtemplatevariables.lt.po
@@ -14,6 +14,10 @@ msgstr 
 msgid Description
 msgstr Aprašas
 
+#: frmtemplatevariables.snoadditionalvars
+msgid This project has no additional variables.
+msgstr 
+
 #: frmtemplatevariables.svalue
 msgid Value
 msgstr Vertė
diff --git a/components/projecttemplates/languages/frmtemplatevariables.pb.po b/components/projecttemplates/languages/frmtemplatevariables.pb.po
index 1e0519a..d0da0b3 100644
--- a/components/projecttemplates/languages/frmtemplatevariables.pb.po
+++ b/components/projecttemplates/languages/frmtemplatevariables.pb.po
@@ -8,6 +8,10 @@ msgstr 
 msgid Description
 msgstr Descricao
 
+#: frmtemplatevariables.snoadditionalvars
+msgid This project has no additional variables.
+msgstr 
+
 #: frmtemplatevariables.svalue
 msgid Value
 msgstr Valor
diff --git a/components/projecttemplates/languages/frmtemplatevariables.pl.po b/components/projecttemplates/languages/frmtemplatevariables.pl.po
index 081baf2..521e22e 100644
--- a/components/projecttemplates/languages/frmtemplatevariables.pl.po
+++ b/components/projecttemplates/languages/frmtemplatevariables.pl.po
@@ -15,6 +15,10 @@ msgstr 
 msgid Description
 msgstr Opis
 
+#: frmtemplatevariables.snoadditionalvars
+msgid This project has no additional variables.
+msgstr 
+
 #: frmtemplatevariables.svalue
 msgid Value
 msgstr Wartość
diff --git a/components/projecttemplates/languages/frmtemplatevariables.po b/components/projecttemplates/languages/frmtemplatevariables.po
index 5d1801b..24ba1de 100644
--- a/components/projecttemplates/languages/frmtemplatevariables.po
+++ 

Re: [Lazarus] revision numbers of each SVN tag?

2009-04-16 Thread Graeme Geldenhuys
On Wed, Apr 15, 2009 at 10:14 PM, Hans-Peter Diettrich
drdiettri...@aol.com wrote:

 Distinguish between distribution lines. My suggestion is for the
 repository itself. A tarball can contain the patched version, and can
 have other naming conventions. RPM packages frequently come with
 patches. etc.

I am actually done chatting on this thread, but to reiterate your
point. When last did you see a Windows OS being released and not have
patches available in the first week of release. Even in open-source
projects like Ubuntu. They day it gets released, there are updates to
be downloaded. And with the Ubuntu LTS (Longe Term Support) versions
they release point releases a few moths later - fixing even more bugs.

Why can't FPC release patches ( or new .pp, .inc and .ppu files) for
those unexpected show stoppers. It would save the release builders
hours of time. Note, this is only mean for those critical unforeseen /
show stopper issues.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Why we chose Object Pascal instead

2009-04-16 Thread Graeme Geldenhuys
On Wed, Apr 15, 2009 at 4:12 PM, Felipe Monteiro de Carvalho wrote:

 And here is the best comment about it:


I can't agree more... We have had this exact same issue in our company
(before I arrived). They hired cheap (inexperienced) developers that
caused havoc in the code. They make the GUI seem fine for a while, but
underneath the design (if there actually was a design) is totally
rubbish and unable to cope with new requirements. Hence the reason I
was commissioned to do a total rewrite.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] OT [Re: Why we chose Object Pascal instead]

2009-04-16 Thread Graeme Geldenhuys
On Wed, Apr 15, 2009 at 6:25 PM, Martin Friebe laza...@mfriebe.de wrote:

 Yeah, but where is the magazine: The programmer's inside ? Which
 compares individual programmers, and gives tips, whom to use for which
 purpose?

You don't need a magazine for that. You simply need the right person
to do the interview and give the candidates a skills test, relevant to
the job, to do. This immediately gets rid of most rubbish candidates.

Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] windowmanager interaction of lcl

2009-04-16 Thread Graeme Geldenhuys
On Thu, Apr 16, 2009 at 4:24 AM, Marc Santhoff m.santh...@web.de wrote:
 Hi,

 I'm still having trouble using GTK or GTK2 when running Window Maker
 (http://www.windowmaker.info/). Every time virtual desktops are switched
 lazarus itself and any application built with it are minimized.

 Is this a known bug?

I believe this is reported in Mantis (or was). I know I mentioned it
in the mailing list because it occured very frequent when using the
KDE desktop, but not Gnome desktop. I think Mattias tried to look at
it, but couldn't duplicate the issue - which makes fixing problems
very hard.  At the moment I'm back on Gnome, so I don't experience the
issue any more using 0.9.27 (trunk).


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Repository commit statistics. :-)

2009-04-16 Thread Graeme Geldenhuys
On Thu, Apr 16, 2009 at 9:21 AM, Florian Klaempfl
flor...@freepascal.org wrote:

  The real name of a submitter goes into the log,
 the person responsible for the commit is known by subversion.

So you do the same thing but manually - that git does automatically
for you (and makes it an official feature).  Who knows what statistics
developers want in the future?  :-)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Why we chose Object Pascal instead

2009-04-16 Thread Graeme Geldenhuys
On Thu, Apr 16, 2009 at 11:25 AM, Hans-Peter Diettrich
drdiettri...@aol.com wrote:

 That's why neither Cobol nor VB will ever die: they make secure
 long-term jobs


In some twisted way that is probably true.  :-)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] revision numbers of each SVN tag?

2009-04-15 Thread Graeme Geldenhuys
On Tue, Apr 14, 2009 at 6:56 PM, Alexander Klenin kle...@gmail.com wrote:

 As a general issue, IMO the Discussion section of git-tag manpage
 summarizes the case for correct tag usage very nicely ;-)

And more importantly - in Git, a 'tag' is very different to a 'branch'.  ;-)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] revision numbers of each SVN tag?

2009-04-15 Thread Graeme Geldenhuys
On Wed, Apr 15, 2009 at 9:18 AM, Vincent Snijders
vincent.snijd...@gmail.com wrote:

 Ah, so what is written about how to use tags with doesn't apply to
 svn, because with SVN a tag is not very different at all to a branch.
 ;-)

:-)  I've only been using Git for 2-3 months (1.5 months actively). My
understanding between the different usages of tags and branches
pre-dates Git by many years. I have been a SubVersion user for many
years.  Git simply implemented tags the way most developers understood
tags (branches and tags should not be the same thing).  Maybe
SubVersion 2.0 will fix the tag issue. ;-)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] revision numbers of each SVN tag?

2009-04-15 Thread Graeme Geldenhuys
On Wed, Apr 15, 2009 at 11:07 AM, Joost van der Sluis jo...@cnoc.nl wrote:

 ps: Releasing a fpc release costs more then 4 months! FOUR MONTHS! And
 still we had to cancel the release on the day of the planned release.

How did this thread become all about FPC releases??? This is the
Lazarus mailing list as far as I know, and I was refering to the
Lazarus repository - nothing to do with FPC releases.  Please stay
on-topic.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Repository commit statistics. :-)

2009-04-15 Thread Graeme Geldenhuys
Hi,

I've been playing with new Git commands again and found this cool
little one. It outputs the number of commits done by all users in the
Lazarus repository. I guess it's kinda pointless since the numbers do
not fully reflect all contributors. Patches submitted to Mantis is
applied by other users that have read/write access to the repository.
So only those read/write users are shown. But what the hell, it shows
who are the busy guys either way.   I also timed the command for
interest sake.   ;-)

===
$ time git shortlog -s -n

  7567  mattias
  2704  lazarus
  2515  paul
  2232  vincents
   766  marc
   732  micha
   492  jesus
   377  zeljko
   319  sekelsenmat
   292  tombo
   269  martin
   268  kirkpatc
   124  andrew
   101  laurent
95  darius
70  ajgenius
55  mazen
46  ask
34  michael
14  marco
14  peter
12  dmitry
 5  florian
 4  mbukovjan
 1  unknown

real0m0.726s
user0m0.688s
sys 0m0.024s
===



Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Why we chose Object Pascal instead

2009-04-15 Thread Graeme Geldenhuys
http://thedailywtf.com/Articles/Spaced-Out.aspx

This is why we don't hire VB programmers!!!  :-)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] revision numbers of each SVN tag?

2009-04-15 Thread Graeme Geldenhuys
On Wed, Apr 15, 2009 at 2:26 PM, Marco van de Voort mar...@stack.nl wrote:

 It's one of the very first points in the SVN book (iirc differences to CVS),
 that branches and tags are the same.

and then you read between the lines design flaw!  ;-)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] revision numbers of each SVN tag?

2009-04-15 Thread Graeme Geldenhuys
2009/4/15 Flávio Etrusco flavio.etru...@gmail.com:

 As I said previously (and was completely ignored ;-), with SVN one can
 rely on repository revisions.
 And if people don't like that, they can use a series of pre tags.
 And probably a pre branch.

Brilliant idea.  Create a pre-0.9.26 branch (or tag yuck) and
start the release process. 2-4 months later if anything is broken,
merge and patch that branch at will. Test again and if all is well,
then create a lazarus_0.9.26 tag (never to be touched because it's a
released version).

How difficult is that???  Logically, Flávio's example makes a lot more
sense that how it is currently done with moving tags.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] revision numbers of each SVN tag?

2009-04-15 Thread Graeme Geldenhuys
On Wed, Apr 15, 2009 at 2:16 PM, Joost van der Sluis jo...@cnoc.nl wrote:

 The whole git-stuff is off-topic. Most people here don't care.

I've setup a Git mirror of Lazarus SubVersion repository. It's got
everything to do with Lazarus development. And yes most people don't
care yet, because the Git mirror has only been public for a week.

I really don't give a rats ass about the tags in the Git mirror,
because I always track the 'trunk' branch, though I am constantly a
few revisions behind (when I find a stable revision). But I thought if
others started using the Git mirror, they might require the tags in
place - *hence* this whole damn thread. For completeness, I thought I
would mark the tags, but then I noticed this very strange usage of
tags the rest is history.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] revision numbers of each SVN tag?

2009-04-15 Thread Graeme Geldenhuys
On Wed, Apr 15, 2009 at 3:02 PM, Florian Klaempfl
flor...@freepascal.org wrote:
 start the release process. 2-4 months later if anything is broken,
 merge and patch that branch at will. Test again

 Did you ever working on testing a lazarus or fpc release?

Do you mean... have I tested a release candidate when it was
announced. It so, then the answer is yes.


 Very difficult. If a release is created from a branch, nobody can ensure
 that all release builders built the release candidate from exactly the
 same revision, if they don't, things might be broken when the final
 release should be built.

You guys are talking in circles! Now you tell be that branches and
tags are different, yet earlier I was explicitly told that tags and
branches are identical in SubVersion.  In in actual fact, there should
be NO difference in creating a release from a branch compared to a
release from a tag.

Form your quote above, nobody can ensure that all release builders
have the exact same revision when tags are used either. After all,
merges and patches have been applied to tags - exactly the same thing
as is done to branches!  This was EXACTLY the point I was trying to
make form the start! Prohibit all read/write access developers from
writing to tags. pre- branches will work perfectly and once all
release builders are happy, THEN ONLY create a tag.

The point I made earlier. I checkout the tag lazarus-0.9.26, then
Vincent applies patches or merges something in there. I talk on the
mailing list about tag lazarus-0.9.26, when my revision is different
from Vincent's revision.


 At cvs times we did this for fpc and we had to lock the branch to
 prevent commits (btw: can git lock branches ;)?),

Yes, you use non-lightweight tags for that.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


  1   2   3   4   5   6   7   8   9   >