Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-02

FPDoc Updater issues

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

I just tried the latest svn FPDoc Updater (found in doceditor/fpdocupdater). Running the application under Linux I have a few problems.

* It's compiled with GTK1. Most of the labels and checkbox's are hidden by other components. They don't find in the screen like the image shown on the wiki page.

* At startup, the listbox is blank. Clicking Refresh also does nothing. I then had a look at the code. It finds the *.xml files, but under Linux it doesn't find any *.pas or *.pp files. I believe there is a difference in the FindFiles file mask between Windows and Linux. I had to changes the filemask '*.pas;*.pp' to only '*.pas' before it found any units.

Anybody else tried fpdoc updater under Linux? Should I report these on Mantis.

Regards,
- Graeme -

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

Reply by email

Graeme Geldenhuys
to Graeme Geldenhuys

Also, clicking on "update all" the program runs and then crashes with the following output.

----------------------------------------
graemeg at graemeg-laptop:/opt/lazarus/doceditor/fpdocupdater/units$ ./fpdocupdater
Updating started.
Backup /home/graemeg/programming/fpGUI/docs/xml/corelib/fpgfx.xml to /home/graemeg/programming/fpGUI/docs/xml/corelib/fpgfx.bak succeeds. Updating /home/graemeg/programming/fpGUI/src/corelib/fpgfx.pas Update /home/graemeg/programming/fpGUI/src/corelib/fpgfx.pas failed! (c) 2000 - 2003 Areca Systems GmbH / Sebastian Guenther,

Updating done.

TApplication.HandleException Update
/home/graemeg/programming/fpGUI/src/corelib/fpgfx.pas failed! (c) 2000
- 2003 Areca Systems GmbH / Sebastian Guenther,
Stack trace:
$0807C643 SHOWERROR, line 279 of mainunit.pas
$0807CC00 TFORMMAIN__UPDATEFILE, line 354 of mainunit.pas $0807BA9D TFORMMAIN__BUTTONUPDATEALLCLICK, line 166 of mainunit.pas $08136789 TCONTROL__CLICK, line 2028 of ./include/control.inc $081488AF TBUTTONCONTROL__CLICK, line 57 of ./include/buttoncontrol.inc $08148F85 TCUSTOMBUTTON__CLICK, line 185 of ./include/buttons.inc $08149431 TBUTTON__CLICK, line 326 of ./include/buttons.inc $0814913A TCUSTOMBUTTON__WMDEFAULTCLICKED, line 240 of ./include/buttons.inc $0805FF99
$0812D235 TWINCONTROL__WNDPROC, line 4715 of ./include/wincontrol.inc $081EB4D7 DELIVERMESSAGE, line 3604 of gtkproc.inc $0820C960 GTKWSBUTTON_CLICKED, line 1421 of gtkwsstdctrls.pp $B7D527B3
$B7D862F5
$B7D873E3
$B7D87A59
$B7CE49CD
----------------------------------------

Regards,
- Graeme -

Graeme Geldenhuys wrote 22 lines
Hi, I just tried the latest svn FPDoc Updater (found in doceditor/fpdocupdater). Running the application under Linux I have a few problems. * It's compiled with GTK1. Most of the labels and checkbox's are hidden by other components. They don't find in the screen like the image shown on the wiki page. * At startup, the listbox is blank. Clicking Refresh also does nothing. I then had a look at the code. It finds the *.xml files, but under Linux it doesn't find any *.pas or *.pp files. I believe there is a difference in the FindFiles file mask between Windows and Linux. I had to changes the filemask '*.pas;*.pp' to only '*.pas' before it found any units. Anybody else tried fpdoc updater under Linux? Should I report these on Mantis. Regards, - Graeme -

Reply by email

Tom Gregorovic
to Graeme Geldenhuys: I just tried the latest svn FPDoc Updater (found in doceditor/fpdocupdater). Running the…
Graeme Geldenhuys wrote
Hi,

Hi,

Show quoted text 8 lines
I just tried the latest svn FPDoc Updater (found in doceditor/fpdocupdater). Running the application under Linux I have a few problems. * It's compiled with GTK1. Most of the labels and checkbox's are hidden by other components. They don't find in the screen like the image shown on the wiki page.

One always forgets, that other widget sets than Windows need so much space for labels.

Show quoted text 7 lines
* At startup, the listbox is blank. Clicking Refresh also does nothing. I then had a look at the code. It finds the *.xml files, but under Linux it doesn't find any *.pas or *.pp files. I believe there is a difference in the FindFiles file mask between Windows and Linux. I had to changes the filemask '*.pas;*.pp' to only '*.pas' before it found any units.

This should be fixed. It will use semicolon as default separator.

Anybody else tried fpdoc updater under Linux? Should I report these on Mantis.

To the crash you are getting, there is problem passing command line parameters to makeskel tool under Linux. It seems like it is not accepting quoted params. Maybe the problem is in using pipes, but I am not an unix expert.

Tom

Reply by email