Re: [Lazarus] MacOSAll.pas has invalid UTF-8 characters

2008-10-22 Thread Mattias Gaertner
On Wed, 22 Oct 2008 14:20:21 +0200
"Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote:

> On Wed, Oct 22, 2008 at 1:57 PM, Florian Klaempfl
> <[EMAIL PROTECTED]> wrote:
> >>
> >>>From what I can gather the following unit seems to have invalid
> >>>UTF-8 characters
> >>   /packages/univint/src/MacOSAll.pas
> >
> > What makes you think the file is utf-8 encoded?
> 
> 
> Because Martin Schreiber said so. ;-)  I noticed an issue with his
> MSEide project not being able to open that file. He reported that it's
> an invalid UTF-8 sequence causing the problem. So I assumed the file
> is utf-8 encoded.

AFAIK the original c header files are UTF-8 encoded.
Maybe the translation utility did some conversion.

Lazarus opens it as ISO-8859-1, which allows even some basic editing
without loosing/destroying data.

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


Re: [Lazarus] Work around Ubuntu dependences 0.9.26

2008-10-22 Thread Gustavo Enrique Jimenez
2008/10/22 Raistware <[EMAIL PROTECTED]>:
> svaa escribió:
>> Hello:
>>
>> Raistware <[EMAIL PROTECTED]> ha escrito:
>>> Can you post a mini-how-to for the people without enought free time?
>>>
>>>
>>
>> I don't know where that stuff must be written. But I have attached a
>> bash script to remove the dependence. I just cleaned up a little the
>> script I used to do some try and error. I hope it helps
>>
>> It needs two parameters: the directory where the original debian
>> package is, and the name of file of the new package. When the script
>> finishes you get a warning "homepage" field, or something like that.
>> Don't worry, I think that the original package added a non-standard
>> field that is ignored. If you run it without parameters, it will
>> display a short help.
>>
>> Now you can install the package you have just generated.
>>
>> Although I have tested it, I am not very used to write bash scripts.
>> Nevertheless, you needn't to run it as root, so if I have made a
>> mistake it won't hurt ;-).
>>
>> Regards
>> Santiago A.
>>
>>
>>> svaa escribió:
 Hello:

 I have unpacked lazarus-ide_0.9.26-0_i386.deb, removed the dependence
 on libglib1.2ldbl, packed again and installed it with no problem.
 Everything seems to work fine.

 Regards
 Santiago A.

>>> Thank you!
>>
>>
>> 
>>
>> ___
>> Lazarus mailing list
>> Lazarus@lazarus.freepascal.org
>> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>>
> Thank you a lot, but finally I was be able to extract, modify and
> rebuild lazarus-ide by myself.
>
> I was wanting for help because I never did something similar on deb
> packages. The big trouble was to understand that only a DEBIAN dir and
> wanted files need to exist at package directory.


It worked for me too !

Gustavo

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


Re: [Lazarus] MacOSAll.pas has invalid UTF-8 characters

2008-10-22 Thread Graeme Geldenhuys
On Wed, Oct 22, 2008 at 1:57 PM, Florian Klaempfl
<[EMAIL PROTECTED]> wrote:
>>
>>>From what I can gather the following unit seems to have invalid UTF-8 
>>>characters
>>   /packages/univint/src/MacOSAll.pas
>
> What makes you think the file is utf-8 encoded?


Because Martin Schreiber said so. ;-)  I noticed an issue with his
MSEide project not being able to open that file. He reported that it's
an invalid UTF-8 sequence causing the problem. So I assumed the file
is utf-8 encoded.

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] MacOSAll.pas has invalid UTF-8 characters

2008-10-22 Thread Florian Klaempfl
Graeme Geldenhuys schrieb:
> Hi,
> 
>>From what I can gather the following unit seems to have invalid UTF-8 
>>characters
>   /packages/univint/src/MacOSAll.pas

What makes you think the file is utf-8 encoded?
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] MacOSAll.pas has invalid UTF-8 characters

2008-10-22 Thread Graeme Geldenhuys
Hi,

>From what I can gather the following unit seems to have invalid UTF-8 
>characters
  /packages/univint/src/MacOSAll.pas

It's easily noticeable using an editor like KWrite or gEdit.  KWrite
make them easier to spot, by showing a black circle with white '?'
inside. Lazarus and gEdit shows them as the letter A with a small
circle on the top. Is that unit meant to be like that?

eg;
  line 169, 174, 182 etc... all contain those odd characters.



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] Mantis statistics / More

2008-10-22 Thread Martin Friebe
Just seen the thread about statistics. I thought I bring forward another 
idea I recently had.

Would it make sense to add some fields to the bugs, classifying them as:
- bug
- regression [ and last working version / revision ]
- feature

They are just meaningful for statistics. And maybe helpful to create 
release notes. Specially if regressions can differ between "regression 
after/before last stable release".
Because if you want to see how many bugs where fixed in 0.9.28 you do 
not want to count any regression bugs introduced and fixed in 0.9.27.
If it was a regression between 0.9.24 and 0.9.26, then for 0.9.28 this 
is probably a normal bug fix. (which may still have a value in "last 
working version / revision")

Any thoughts?

Best Regard
Martin

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


Re: [Lazarus] WebService API for Mantis?

2008-10-22 Thread Marc Weustink
Graeme Geldenhuys wrote:
> On Wed, Oct 22, 2008 at 10:46 AM, Michael Van Canneyt
> <[EMAIL PROTECTED]> wrote:
>>> See http://www.futureware.biz/mantisconnect/
>>>
>>> Don't know how this will affect the load on the server. Pieces of Mantis
>>> like user prefs/permissions aren't coded in the most efficient way.
>> This should not make any difference.
> 
> I agree with Michael.  It can see that it should make a difference.
> Accessing via WebService or via Web Interface (HTTP as is done now),
> the user prefs/permissions are still accessed either way.

Yes, except that automated processes may do that more often.

Marc

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


Re: [Lazarus] WebService API for Mantis?

2008-10-22 Thread Graeme Geldenhuys
On Wed, Oct 22, 2008 at 10:46 AM, Michael Van Canneyt
<[EMAIL PROTECTED]> wrote:
>>
>> See http://www.futureware.biz/mantisconnect/
>>
>> Don't know how this will affect the load on the server. Pieces of Mantis
>> like user prefs/permissions aren't coded in the most efficient way.
>
> This should not make any difference.

I agree with Michael.  It can see that it should make a difference.
Accessing via WebService or via Web Interface (HTTP as is done now),
the user prefs/permissions are still accessed either 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] Mantis statistics

2008-10-22 Thread Michael Van Canneyt


On Wed, 22 Oct 2008, Florian Klaempfl wrote:

> Graeme Geldenhuys schrieb:
> > On Wed, Oct 22, 2008 at 9:55 AM, Michael Van Canneyt
> > <[EMAIL PROTECTED]> wrote:
> >> There is such a page, but I don't think it is available for 'normal'
> >> users. Only devels/mantis managers can view this page.
> > 
> > Why?  There is no secret information about a graph showing project
> > summary information?
> 
> The reason is probably load. Generating the graphs takes several seconds
> for e.g. FPC.

Indeed.

But I'm sure Graeme can make a small app which calls and caches this 
page, so we can run it once per day and store it's result as a static 
page :-)

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


Re: [Lazarus] Mantis statistics

2008-10-22 Thread Florian Klaempfl
Graeme Geldenhuys schrieb:
> On Wed, Oct 22, 2008 at 9:55 AM, Michael Van Canneyt
> <[EMAIL PROTECTED]> wrote:
>> There is such a page, but I don't think it is available for 'normal'
>> users. Only devels/mantis managers can view this page.
> 
> Why?  There is no secret information about a graph showing project
> summary information?

The reason is probably load. Generating the graphs takes several seconds
for e.g. FPC.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] WebService API for Mantis?

2008-10-22 Thread Michael Van Canneyt


On Wed, 22 Oct 2008, Marc Weustink wrote:

> Graeme Geldenhuys wrote:
> > Hi,
> > 
> > Is there some external or webservice API for Mantis?  For example: Can
> > I write a Lazarus GUI program to view and submit bug reports, without
> > using a Web Browser?  Similar to what CodeGear has with there bug
> > reporting system.
> > 
> > If there is a WebService API, I guess a GUI bug reporting program will
> > make for a very nice WebServices demo for FPC and Lazarus. :-)
> 
> See http://www.futureware.biz/mantisconnect/
> 
> Don't know how this will affect the load on the server. Pieces of Mantis 
> like user prefs/permissions aren't coded in the most efficient way.

This should not make any difference. 

Since it's coded as a SOAP webservice, it should be a piece of cake
to connect with WST and create a GUI layer.

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


Re: [Lazarus] WebService API for Mantis?

2008-10-22 Thread Paul Ishenin
Graeme Geldenhuys wrote:
> Hi,
> 
> Is there some external or webservice API for Mantis?  For example: Can
> I write a Lazarus GUI program to view and submit bug reports, without
> using a Web Browser?  Similar to what CodeGear has with there bug
> reporting system.
> 
> If there is a WebService API, I guess a GUI bug reporting program will
> make for a very nice WebServices demo for FPC and Lazarus. :-)

I think Mantis guys know the answer better ;)

Best regards,
Paul Ishenin.

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


Re: [Lazarus] WebService API for Mantis?

2008-10-22 Thread Marc Weustink
Graeme Geldenhuys wrote:
> Hi,
> 
> Is there some external or webservice API for Mantis?  For example: Can
> I write a Lazarus GUI program to view and submit bug reports, without
> using a Web Browser?  Similar to what CodeGear has with there bug
> reporting system.
> 
> If there is a WebService API, I guess a GUI bug reporting program will
> make for a very nice WebServices demo for FPC and Lazarus. :-)

See http://www.futureware.biz/mantisconnect/

Don't know how this will affect the load on the server. Pieces of Mantis 
like user prefs/permissions aren't coded in the most efficient way.

Marc



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


[Lazarus] WebService API for Mantis?

2008-10-22 Thread Graeme Geldenhuys
Hi,

Is there some external or webservice API for Mantis?  For example: Can
I write a Lazarus GUI program to view and submit bug reports, without
using a Web Browser?  Similar to what CodeGear has with there bug
reporting system.

If there is a WebService API, I guess a GUI bug reporting program will
make for a very nice WebServices demo for FPC and Lazarus. :-)

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] Mantis statistics

2008-10-22 Thread Graeme Geldenhuys
On Wed, Oct 22, 2008 at 9:55 AM, Michael Van Canneyt
<[EMAIL PROTECTED]> wrote:
>
> There is such a page, but I don't think it is available for 'normal'
> users. Only devels/mantis managers can view this page.

Why?  There is no secret information about a graph showing project
summary information?


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] Mantis statistics

2008-10-22 Thread Graeme Geldenhuys
On Wed, Oct 22, 2008 at 9:56 AM, Marc Weustink <[EMAIL PROTECTED]> wrote:
>
> View issues -> on the first row of the issues -> [ Graph ]

I get a "Access Denied" page when I click the link?  Any reason why
"reporters" cannot view that page? I'm "administrator" for the fpGUI
section in Mantis, and I can't see any secret information is a simple
graph summary.  Can "reporters" please get access to the Graph section
of Lazarus?


> Or use summary on the menu (below the projects menubar)

I'm not sure where or what you are referring to. But the Graphs I can
view for the fpGUI sub project is exactly what I want, but for Lazarus
project.


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] Mantis statistics

2008-10-22 Thread Michael Van Canneyt


On Wed, 22 Oct 2008, Graeme Geldenhuys wrote:

> Hi,
> 
> Does Mantis have a statistics page we can view?  Things like new
> reports per month or week. Resolved reports per week or month. Bug
> reports per release etc, etc...  I'm just curious - are the bug
> reports becoming more or less for every release?
> Yes I know statistics can be skewed depending on how you read the
> data, but I simply want to see a general overview of what's happening
> behind the scenes.

There is such a page, but I don't think it is available for 'normal'
users. Only devels/mantis managers can view this page.

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


Re: [Lazarus] Mantis statistics

2008-10-22 Thread Marc Weustink
Graeme Geldenhuys wrote:
> Hi,
> 
> Does Mantis have a statistics page we can view?  Things like new
> reports per month or week. Resolved reports per week or month. Bug
> reports per release etc, etc...  I'm just curious - are the bug
> reports becoming more or less for every release?
> Yes I know statistics can be skewed depending on how you read the
> data, but I simply want to see a general overview of what's happening
> behind the scenes.

View issues -> on the first row of the issues -> [ Graph ]

Or use summary on the menu (below the projects menubar)

Marc

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


Re: [Lazarus] [OT] Archiving a web page

2008-10-22 Thread Graeme Geldenhuys
On Wed, Oct 22, 2008 at 1:35 AM, tiziano de togni
<[EMAIL PROTECTED]> wrote:
> I'd suggest considering using the unMHT extension which can write and
> open .mht files with firefox: http://www.unmht.org/unmht/en_index.html

Thanks. I do know about unMHT, but my issue with it is that it doesn't
come standard with Firefox. On all my systems (Ubuntu Linux), Firefox
and OpenOffice are standard apps always available.

There is another Firefox extension called MAF (Mozilla Archive
Format), but that seems to have stopped progressing and apparently
only works on Windows.

> Here (http://en.wikipedia.org/wiki/MHTML) you can find information about
> the MHtml format.

I never knew it was an official format, I thought it was just
something Microsoft hacked together - doing the same as email content
with MIME attachments.

> If I need to save a group of pages (i.e. from the index of a manual) I
> find very useful wget on the command line.

I use wget as well for multiple pages, but for single pages, I wanted
content and images in a single file. Otherwise I could have used the
standard Firefox "File | Save As | and select Complete page".  Up to
know I have been using the latter, but Firefox printing support still
has a lot to be desired, whereas OpenOffice prints perfectly.


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] Mantis statistics

2008-10-22 Thread Graeme Geldenhuys
Hi,

Does Mantis have a statistics page we can view?  Things like new
reports per month or week. Resolved reports per week or month. Bug
reports per release etc, etc...  I'm just curious - are the bug
reports becoming more or less for every release?
Yes I know statistics can be skewed depending on how you read the
data, but I simply want to see a general overview of what's happening
behind the scenes.


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 about dialog in 0.9.27 (svn trunk)

2008-10-22 Thread Graeme Geldenhuys
On Tue, Oct 21, 2008 at 10:54 PM, Darius Blaszyk
<[EMAIL PROTECTED]> wrote:
> This has been fixed in r17088. Graeme, can you send me the URL of the
> bugreport? I recall you mentioning this issue on the ML, but I cannot
> find the bugreport in the tracker. If it exists then I want to close it.

My mistake Darius... I thought I filed a bug report, but instead
posted a screenshot to the ML showing the issue.  Below is the message
I responded to:

--
On Sat, 2008-10-18 at 21:47 +1100, Alexander Klenin wrote:
> to increase the amount of visible credits, but the the animated area does
> not grow with the dialog, which looks rather amateurish, if you pardon
> the expression.
This was fixed in r17035
---

I'll get a svn update and retest. I'm not at r17088 yet.


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 about dialog in 0.9.27 (svn trunk)

2008-10-22 Thread wile64
2008/10/21 Darius Blaszyk <[EMAIL PROTECTED]>

> This has been fixed in r17088. Graeme, can you send me the URL of the
> bugreport? I recall you mentioning this issue on the ML, but I cannot
> find the bugreport in the tracker. If it exists then I want to close it.
>

New bug, when you see scrolling and close dialog have error msg "acces
violation"

And the scrolling don't start on bottom :(

regards

-- 
Laurent.

"If debugging is the art of removing bugs, then programming must be the art
of creating!"

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus