Re: [Lazarus] Wiki: how to propose deleting a page?

2012-09-16 Thread Bart
On 9/15/12, Felipe Monteiro de Carvalho
felipemonteiro.carva...@gmail.com wrote:

 Once when I needed to do this I simply substituted the page contents
 with empty contents. I know this doesn't really answer the question,
 but anyway... maybe someone else will know a more proper solution.


I find that rather (c)rude when the page in question is not your own.
I know on a wiki any user can modify (almost any) pages, but that is
supposed to be foor correcting or adding information. Deeting an
entire entry is a different kind of beast...

Also doesn't that just leave an empty page instead of completely removing it?

Bart

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


Re: [Lazarus] Wiki: how to propose deleting a page?

2012-09-16 Thread Bart
On 9/16/12, Alexander Klenin kle...@gmail.com wrote:

 On Sun, Sep 16, 2012 at 4:18 AM, Bart bartjun...@gmail.com wrote:
 Say I would like to propose to delete a certain wiki page, how would I do
 that?

 Why not discuss it here? Alternatively, you can use Talk page on the wiki
 (discussion link above the page).

That would be OK by me.
As far as I am concerned anyone can read my reasons for wanting to
remove pages, so here we go:


1)
 http://wiki.lazarus.freepascal.org/Building_the_VCL_with_FPC

This page has an external link to a zip-file which contains (modified)
Borland copyrighted material (Delphi VCL source code).
Quite some time ago I contacted the author of this page and asked him
to either remove the link or make sure the zip didn't contain
copyrighted material.
He did not do so.
Linking to copyrighted material on the official fpc/lazarus wiki
reflects badly upon our community IMO, hence I would like to see that
page removed.

2)
http://wiki.lazarus.freepascal.org/Windows_7

Stumbled upon this one via random page.
Information seems outdated and doesn't really anything usefull IMHO.
No page links to this page, so removing won't cause dead links.

Bart

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


Re: [Lazarus] Wiki: how to propose deleting a page?

2012-09-16 Thread Sven Barth

On 16.09.2012 12:20, Bart wrote:

2)
http://wiki.lazarus.freepascal.org/Windows_7

Stumbled upon this one via random page.
Information seems outdated and doesn't really anything usefull IMHO.
No page links to this page, so removing won't cause dead links.


As a sidenote: you can see all pages that are not linked to by going to 
special pages on the navigation left and selecting orphaned pages in 
the category at the top.


Regards,
Sven

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


Re: [Lazarus] Wiki: how to propose deleting a page?

2012-09-16 Thread Vincent Snijders
2012/9/16 Bart bartjun...@gmail.com:
 On 9/15/12, Felipe Monteiro de Carvalho
 felipemonteiro.carva...@gmail.com wrote:

 Once when I needed to do this I simply substituted the page contents
 with empty contents. I know this doesn't really answer the question,
 but anyway... maybe someone else will know a more proper solution.


 I find that rather (c)rude when the page in question is not your own.
 I know on a wiki any user can modify (almost any) pages, but that is
 supposed to be foor correcting or adding information. Deeting an
 entire entry is a different kind of beast...

 Also doesn't that just leave an empty page instead of completely removing it?

Deleted pages can be found back at:
http://wiki.lazarus.freepascal.org/index.php?title=Special%3ALogtype=delete

There is also a restore button, but I don't know if that is because I
am an admin or not.

I think deleting a page with a reason given in the comment is better
than leaving an empty page.

Vincent

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


Re: [Lazarus] Wiki: how to propose deleting a page?

2012-09-16 Thread Reinier Olislagers
On 16-9-2012 12:20, Bart wrote:
 On 9/16/12, Alexander Klenin kle...@gmail.com wrote:
 
 On Sun, Sep 16, 2012 at 4:18 AM, Bart bartjun...@gmail.com wrote:
 Say I would like to propose to delete a certain wiki page, how would I do
 that?

 Why not discuss it here? Alternatively, you can use Talk page on the wiki
 (discussion link above the page).
 
 That would be OK by me.
 As far as I am concerned anyone can read my reasons for wanting to
 remove pages, so here we go:
 
 
 1)
  http://wiki.lazarus.freepascal.org/Building_the_VCL_with_FPC
 
 This page has an external link to a zip-file which contains (modified)
 Borland copyrighted material (Delphi VCL source code).
 Quite some time ago I contacted the author of this page and asked him
 to either remove the link or make sure the zip didn't contain
 copyrighted material.
 He did not do so.
 Linking to copyrighted material on the official fpc/lazarus wiki
 reflects badly upon our community IMO, hence I would like to see that
 page removed.
Why don't you remove the link right now then, e.g. specifying *LINK TO
COPYRIGHTED MATERIAL REMOVED*?


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


Re: [Lazarus] Wiki: how to propose deleting a page?

2012-09-16 Thread Bart
On 9/16/12, Reinier Olislagers reinierolislag...@gmail.com wrote:


 Why don't you remove the link right now then, e.g. specifying *LINK TO
 COPYRIGHTED MATERIAL REMOVED*?

I thought about that, but it might also reflect badly upon us?
In the end, I think removing the page alltogether would be better.

Bart

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


[Lazarus] Debugging shared libraries

2012-09-16 Thread Mark Morgan Lloyd
I've developed a useful convention which allows me to either load a 
library on demand (via Dynlibs) or to link it statically. This 
combination allows me to use standard Lazarus debugging techniques to 
sort out most problems.


However, yesterday's discussion about calling /from/ a 
dynamically-loaded library /into/ a program binary (other than the main 
program) raises an interesting question: can Lazarus+gdb be persuaded to 
trace into a shared library?


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

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


Re: [Lazarus] Wiki: how to propose deleting a page?

2012-09-16 Thread Mark Morgan Lloyd

Bart wrote:

On 9/16/12, Reinier Olislagers reinierolislag...@gmail.com wrote:



Why don't you remove the link right now then, e.g. specifying *LINK TO
COPYRIGHTED MATERIAL REMOVED*?


I thought about that, but it might also reflect badly upon us?
In the end, I think removing the page alltogether would be better.


Although the unexpurgated original will remain visible at archive.org, 
unless the wiki manager adds a don't index file which (when I last 
looked at this) they obey as soon as they see it.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

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


[Lazarus] QT Style

2012-09-16 Thread Krzysztof
Hi,

I have application which is using QT widgetset on all platforms
(gnome, kde, windows). But Qt is trying simulate native look on all
platforms. Exists any style or switch which makes the program will
look the same on all platforms?

Regards

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


Re: [Lazarus] QT Style

2012-09-16 Thread zeljko
On Sunday 16 of September 2012 17:21:12 Krzysztof wrote:
 Hi,
 
 I have application which is using QT widgetset on all platforms
 (gnome, kde, windows). But Qt is trying simulate native look on all
 platforms. Exists any style or switch which makes the program will
 look the same on all platforms?

Yes. Start your application with param -style windows.
It's win95 look and it works on all platforms.

zeljko

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


Re: [Lazarus] OT: Cute little toy program

2012-09-16 Thread Marco van de Voort
On Sat, Sep 15, 2012 at 08:13:58PM +0100, Graeme Geldenhuys wrote:
 We should add that program to the the collection of odd apps. I have 
 written one (code is still somewhere on my system) that calculates the 
 Stardate (as defined in the Star Trek series). For the life of me, I 
 don't know why I needed it, but it is written.  :-)

I can donate calculating Easter and all movable holidays in FPC 0.99.8 style
assembler :-)

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


Re: [Lazarus] QT Style

2012-09-16 Thread Krzysztof
 Yes. Start your application with param -style windows.
 It's win95 look and it works on all platforms.

Thanks!

 fpGUI perhaps?
This interface is the best solution, but I can't use it until it
doesn't have trayicon component

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


[Lazarus] mod to make Anchor Docking Grab Handles have a more subtle look

2012-09-16 Thread Graeme Geldenhuys

Hi,

I've created a patch to make the Docking Grab Handles (of Anchor Docking 
package) to have a more subtle look. The original look was too 
distracting for my personal taste. I like it to blend in better with the 
main form.


Before image:
   http://bugs.freepascal.org/file_download.php?file_id=17014type=bug

After image:
   http://bugs.freepascal.org/file_download.php?file_id=17015type=bug



Mantis report with patch:
   http://bugs.freepascal.org/view.php?id=22900


I tried to keep theming in mind. I made the background of the handles 
clForm. This could probably be tweaked to a difference color, if you 
want the handles to stand out more.



As I mentioned in the Mantis report. If this is not the look that the 
Lazarus team is going for, then please disregard my patch.



Regards,
  - Graeme -


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


Re: [Lazarus] QT Style

2012-09-16 Thread Graeme Geldenhuys

On 16/09/12 17:08, Bart wrote:


fpGUI perhaps?

Ask Graeme...


I couldn't say it better myself. :-)

G.



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


Re: [Lazarus] QT Style

2012-09-16 Thread Graeme Geldenhuys

On 16/09/12 16:21, Krzysztof wrote:

platforms. Exists any style or switch which makes the program will
look the same on all platforms?


Qt apps (not sure about LCL-Qt ones) support a -style parameter. Qt 
includes 4-5 styles (Win9x, Motif, CDE, ClearLooks etc.) by default 
which you can use.



Regards,
  - Graeme -


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


Re: [Lazarus] QT Style

2012-09-16 Thread Graeme Geldenhuys

On 16/09/12 18:02, Krzysztof wrote:

This interface is the best solution, but I can't use it until it
doesn't have trayicon component


via LCL-fpGUI or via native fpGUI?  Either way, native fpGUI Toolkit 
should have a trayicon component in the next few days. It's very near 
complete.


Regards,
  - Graeme -


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


Re: [Lazarus] QT Style

2012-09-16 Thread Krzysztof
@Graeme. What about tray icon in fpGUI?

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


Re: [Lazarus] QT Style

2012-09-16 Thread Graeme Geldenhuys

On 16/09/12 19:51, Krzysztof wrote:

@Graeme. What about tray icon in fpGUI?


Get a repository update later in the week, and it should be there. ;-)

Regards,
  - Graeme -



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


Re: [Lazarus] QT Style

2012-09-16 Thread Krzysztof
 LCL-fpGUI or via native fpGUI?

Native. Hmm, I've never heard about LCL-fpGUI. What is this? I can mix
standard LCL controls with fpGUI? How to install it?

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


Re: [Lazarus] QT Style

2012-09-16 Thread Graeme Geldenhuys

On 16/09/12 20:06, Krzysztof wrote:


I've never heard about LCL-fpGUI. What is this?


It is a Lazarus LCL widgetset backend. It is a LCL interface to other 
toolkits just like LCL-Qt, LCL-GTK1, LCL-GTK2, LCL-CustomDrawn, 
LCL-Cocoa, LCL-Carbon.


Native fpGUI: This is when you only use fpGUI Toolkit - no LCL. This is
   when you get the true power of fpGUI and single source
   development, with very low dependencies.
LCL-fpGUI: This is when you use LCL, and told the Lazarus IDE to
   compile your project for the fpGUI Toolkit backend.



I can mix standard LCL controls with fpGUI?


No.



How to install it?


LCL-fpGUI comes standard with Lazarus, but it is still in Alpha state. 
Many feature still need to be implemented before it can truly be used to 
compile any LCL application. There is no dedicated developer working on 
this, hence progress is slow. It's not a difficult task though. I simply 
don't have the time, as fpGUI, tiOPF, FPTest, OnGuard, my daytime job, 
and my family keeps me rather busy. I do occasionally supply LCL-fpGUI 
patches though.



Regards,
  - Graeme -



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


Re: [Lazarus] mod to make Anchor Docking Grab Handles have a more subtle look

2012-09-16 Thread Daniel Gaspary
On Sun, Sep 16, 2012 at 3:11 PM, Graeme Geldenhuys
gra...@geldenhuys.co.uk wrote:
 As I mentioned in the Mantis report. If this is not the look that the
 Lazarus team is going for, then please disregard my patch.

Looks nice to me, good work.

Can the user set the width/height of the splitters between docked areas ?

To me the area where the mouse cursor change to resize is too small.

At options the splitter width can be modified, but even after
restarting the ide I see no change.

I'm using an old snapshot of Lazarus, so ignore if this was already solved.

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


Re: [Lazarus] mod to make Anchor Docking Grab Handles have a more subtle look

2012-09-16 Thread Graeme Geldenhuys
On 16 September 2012 22:15, Daniel Gaspary dgasp...@gmail.com wrote:

 Can the user set the width/height of the splitters between docked areas ?

Yes, I'm using the latest Lazarus 1.1 (trunk) under LCL-GTK2. Setting
the width in the Options dialog does change it in the IDE (without a
restart needed).


 I'm using an old snapshot of Lazarus, so ignore if this was already solved.

I guess you need to update your Lazarus then.  Otherwise, it might be
a specific LCL widgetset issue?


-- 
Regards,
  - Graeme -


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

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


Re: [Lazarus] mod to make Anchor Docking Grab Handles have a more subtle look

2012-09-16 Thread Daniel Gaspary
On Sun, Sep 16, 2012 at 6:19 PM, Graeme Geldenhuys
graemeg.li...@gmail.com  I guess you need to update your Lazarus
then.  Otherwise, it might be
 a specific LCL widgetset issue?

It is probably due to my lack of updates.

Good to know it's working, thank you Graeme.

Daniel

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


[Lazarus] Lazbuild on IBM Power6 (OpenSuse Linux)

2012-09-16 Thread Leonardo M . Ramé
As I must deploy a Lazarus CGI on this machine, an IBM 560 with a
PowerPC processor using OpenSuse Linux, and I'm getting some Access
Violations on places where the x86-64 works ok, I'm offering access to
this machine to the Lazarus developers.

Then machine has Gnome 2.x (from 2006) installed, but I didn't tested,
since I don't need it, I just have to log in using SSH, compile my app
and run it.

I've installed FPC 2.7.1 from sources and Lazarus also from sources. 

If anyone is interested in helping me with this, I can give a user/pass.

Regards,
-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com

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


[Lazarus] Stable islands: testing stability

2012-09-16 Thread Reinier Olislagers
MML's post on stable islands has made me think.

Below some ideas for discussion:
If we want to know whether a certain combination of
OS+FPC+Lazarus+packages is stable, we:
1. should ask the user
2. don't trust him completely though and we should get measurements

Short-term action
=
I suggest we can create a Lazarus GUI that
- asks the user how stable he thinks Lazarus is
- collects test measurement data (see below)
The GUI can then display the results, save them for the user's own use
(import in database etc), and upload to a central web page

The GUI could run these tests:
- compiler test suite. Custom test code; results available as XML, IIRC.
- FPC database tests (e.g. for bufdataset, memds, sdfdataset, perhaps
test Firebird embedded, sqlite, as well as any specified in the user's
database.ini). These are fpcunit tests; can spit out e.g. XML
- any other fpc tests written with fpcunit
- Lazarus non-GUI tests (can't remember what data format these have)

Medium-term action
==
- Have FPC report not only version but also SVN revision (much like
lazarus does in help/about) so that data can be used to pinpoint exactly
what version is used if checked out from SVN (e.g. trunk)
- Write small cross platform database application to collect, read in
test results into database; useful for user's own use
- Similar but for a central web site. Web page with results could be
done much like the compiler test suite page
- Extend FPC fpcunit tests for packages (both in coverage and number of
packages tested)
- Extend Lazarus non-GUI tests (e.g. fill stringgrid, save as csv, load
from csv, compare grid contents). Perhaps even a policy/behaviour
change: no new units accepted without relevant tests (of course where
feasible)
- Extend packages so that there is a self-test possibility: the GUI
mentioned above) and/or IDE shoul run unit tests in the packages and get
the resutls. Example: Lazreport creates sample report, outputs to file,
and compares file contents with expected contents

Extending the test suites etc. would aid in regression testing as long
as attention is paid to the trend in test faults.

What do you think?

Thanks,
Reinier

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