Sign in Join

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

Mailing lists / lazarus / 2011-06

non-sensical window repositioning

33 messages · 11 people · –

Reply by email Subscribe to this list Your subscription

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

Felipe Monteiro de Carvalho

Hello,

I just found a problem with lcl-gtk2 that I haven't ever seen before. Consider this code:

begin
  Application.Initialize;
  Application.CreateForm(TForm1, Form1);
  Form1.Left := 0;
  Form1.Top := 0;
  Form1.Width := 1680;
  Form1.Height := 1050;
  Application.Run;
end.

This represents the following position: Window Pos: 0 0 1680 1050 which covers the entire screen

Upon calling Form1.Show I get this instead: Window Pos: 560 0 1120 676

Which means that the position of my form was modified to something non-sensical and different from my command.

Does anyone know if gtk2 is doing this wierd repositioning or if LCL-Gtk2 is doing it? Maybe some kind of sanity check going wrong =O

The same code works fine in Windows. Basically this prevents the Virtual Magnifying Glass from working correctly.

thanks,

Felipe Monteiro de Carvalho

Reply by email

Mattias Gaertner
to Felipe Monteiro de Carvalho
Show quoted text 17 lines
Hello, I just found a problem with lcl-gtk2 that I haven't ever seen before. Consider this code: begin Application.Initialize; Application.CreateForm(TForm1, Form1); Form1.Left := 0; Form1.Top := 0; Form1.Width := 1680; Form1.Height := 1050; Application.Run; end. This represents the following position: Window Pos: 0 0 1680 1050 which covers the entire screen

For full screen see here:
http://wiki.lazarus.freepascal.org/Application_full_screen_mode

Show quoted text 7 lines
Upon calling Form1.Show I get this instead: Window Pos: 560 0 1120 676 Which means that the position of my form was modified to something non-sensical and different from my command. Does anyone know if gtk2 is doing this wierd repositioning or if LCL-Gtk2 is doing it? Maybe some kind of sanity check going wrong =O

Some window managers do that.

The same code works fine in Windows. Basically this prevents the Virtual Magnifying Glass from working correctly.

Mattias

Reply by email

Felipe Monteiro de Carvalho
to Mattias Gaertner
Mattias Gaertner wrote

I think we should implement that in the LCL. What do you think about these proposals:

1> TForm.SetFullscreen(AValue: Boolean);
2> fsFullScreen --> but then you can't combine with fsSystemStayOnTop
Some window managers do that.

Yes, it is probably KDE which is hitting me =( I debugged and even Gtk doesn't know about the position change, it just magically occurs some time after show(), which indicates window manager changes.

This works fine (just smaller then the screen width):

begin
  Application.Initialize;
  Application.CreateForm(TForm1, Form1);
  Form1.Left := 0;
  Form1.Top := 0;
  Form1.Width := 1673;
  Form1.Height := 1050;
  Application.Run;
end.

This fails:

begin
  Application.Initialize;
  Application.CreateForm(TForm1, Form1);
  Form1.Left := 0;
  Form1.Top := 0;
  Form1.Width := 1674;
  Form1.Height := 1050;
  Application.Run;
end.
Felipe Monteiro de Carvalho

Reply by email

Graeme Geldenhuys
to Felipe Monteiro de Carvalho: I just found a problem with lcl-gtk2 that I haven't ever seen before. Consider this code:…
Felipe Monteiro de Carvalho wrote 9 lines
begin Application.Initialize; Application.CreateForm(TForm1, Form1); Form1.Left := 0; Form1.Top := 0; Form1.Width := 1680; Form1.Height := 1050; Application.Run; end.

I adjusted that to one of my monitors 1440x900 max resolution. I then placed a OnShow event on the form, which output the coordinates and size again.

The output was:
t:0 l:0 w:1440 h:1440

????

The Height is all wrong! But it did take up as much screen space as the desktop allows - which excluded the two panels. One panel at the top (menus, time, etc) and one panel at the bottom (task manager).

But if you want true fullscreen, then LCL propbably needs a WindowState addition like wsFullScreen or something - I assume it doesn't already exist.

Regards,
- Graeme -

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

Reply by email

David Copeland
to Felipe Monteiro de Carvalho: I just found a problem with lcl-gtk2 that I haven't ever seen before. Consider this code:…

Hi,

I believe I have found a ComboBox bug, but I don't how I should categorize it. If you click on the "expand list" down arrow of the control, the program is terminated and the following message is displayed.

david.copeland at dbc:~/projects/test> ./CBBug
The program 'CBBug' received an X Window System error. This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'. (Details: serial 6119 error_code 11 request_code 53 minor_code 0)

  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error()

function.)
david.copeland at dbc:~/projects/test>

My environment is ...

Lazarus version: SVN 31344.
Widgetset: GTK2.
FPC version: 2.4.2
OS: openSuse 11.4

To reproduce the behaviour I created an app with one form containing just the ComboBox. The Items list is empty. However, If I add lines to Items, even a blank line, the above does not occur.

I can send my test project if needed.

Regards,
Dave Copeland.

Reply by email

Mattias Gaertner
to David Copeland
Show quoted text 18 lines
Hi, I believe I have found a ComboBox bug, but I don't how I should categorize it. If you click on the "expand list" down arrow of the control, the program is terminated and the following message is displayed. david.copeland at dbc:~/projects/test> ./CBBug The program 'CBBug' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAlloc (insufficient resources for operation)'. (Details: serial 6119 error_code 11 request_code 53 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.)

It works here.

Please test with ./CBBug --sync
And please test with some other themes to make sure it is a LCL bug and not a buggy gtk theme engine.
Finally test with another window manager (do not confuse it with another widget set).

Show quoted text 14 lines
david.copeland at dbc:~/projects/test> My environment is ... Lazarus version: SVN 31344. Widgetset: GTK2. FPC version: 2.4.2 OS: openSuse 11.4 To reproduce the behaviour I created an app with one form containing just the ComboBox. The Items list is empty. However, If I add lines to Items, even a blank line, the above does not occur. I can send my test project if needed.

If it is just an empty combobox on a form you don't need to send it.

Mattias

Reply by email

David Copeland
to Mattias Gaertner
Mattias Gaertner wrote 11 lines
> function.) It works here. Please test with ./CBBug --sync And please test with some other themes to make sure it is a LCL bug and not a buggy gtk theme engine. Finally test with another window manager (do not confuse it with another widget set).

Okay, will do.

If it is just an empty combobox on a form you don't need to send it.

Yes, it's just that.

Mattias

Reply by email

David Copeland
to Mattias Gaertner: On Fri, 24 Jun 2011 11:48:08 -0400 It works here. Please test with ./CBBug --sync And…
Mattias Gaertner wrote
Please test with ./CBBug --sync

No change, same problem.

And please test with some other themes to make sure it is a LCL bug and not a buggy gtk theme engine.

I found a way to change the "GTK Style". It was "oxygen-gtk". When I change it to either "Raleigh" or "Sonar" (the only other choices) the problem does not occur.

Finally test with another window manager (do not confuse it with another widget set).

I tried "Ice", also, the problem does not occur.

Dave.

Reply by email

Mattias Gaertner
to David Copeland
Show quoted text 11 lines
On Fri, 2011-06-24 at 18:22 +0200, Mattias Gaertner wrote: > Please test with ./CBBug --sync No change, same problem. > And please test with some other themes to make sure it is a LCL bug > and not a buggy gtk theme engine. I found a way to change the "GTK Style". It was "oxygen-gtk". When I change it to either "Raleigh" or "Sonar" (the only other choices) the problem does not occur.

Then you found a buggy gtk theme.
I don't know, if the LCL gtk2 interface can work around this.
What Linux distribution is this?

> Finally test with another window manager (do not confuse it with > another widget set). > I tried "Ice", also, the problem does not occur.

Mattias

Reply by email

zeljko
to David Copeland
David Copeland wrote 7 lines
On Fri, 2011-06-24 at 19:41 +0200, Mattias Gaertner wrote: > Then you found a buggy gtk theme. > I don't know, if the LCL gtk2 interface can work around > this. > What Linux distribution is this? openSuse 11.4.

There's a lot of bugs in oxygen-gtk theme, open issue at their tracker. zeljko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110624/2e28b7c7/attachment.html>

Reply by email

zeljko
to Felipe Monteiro de Carvalho: On Fri, Jun 24, 2011 at 2:46 PM, Mattias Gaertner I think we should implement that in the…
Felipe Monteiro de Carvalho wrote 41 lines
On Fri, Jun 24, 2011 at 2:46 PM, Mattias Gaertner wrote: > For full screen see here: > http://wiki.lazarus.freepascal.org/Application_full_screen_mode I think we should implement that in the LCL. What do you think about these proposals: 1> TForm.SetFullscreen(AValue: Boolean); 2> fsFullScreen --> but then you can't combine with fsSystemStayOnTop > Some window managers do that. Yes, it is probably KDE which is hitting me =( I debugged and even Gtk doesn't know about the position change, it just magically occurs some time after show(), which indicates window manager changes. This works fine (just smaller then the screen width): begin Application.Initialize; Application.CreateForm(TForm1, Form1); Form1.Left := 0; Form1.Top := 0; Form1.Width := 1673; Form1.Height := 1050; Application.Run; end. This fails: begin Application.Initialize; Application.CreateForm(TForm1, Form1); Form1.Left := 0; Form1.Top := 0; Form1.Width := 1674; Form1.Height := 1050; Application.Run; end.

Qt supports fullscreen window state ... don't know for others. I guess that it's not hard task to implement it for other X11 widgetsets ... but don't know for win32 and carbon.

zeljko

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110624/5d0bf0be/attachment.html>

Reply by email

David Copeland
to zeljko: There's a lot of bugs in oxygen-gtk theme, open issue at their tracker. zeljko…

Okay, thanks, but I have no idea what to say the bug is.

zeljko wrote 23 lines
On Friday 24 of June 2011 19:51:35 David Copeland wrote: > On Fri, 2011-06-24 at 19:41 +0200, Mattias Gaertner wrote: > > Then you found a buggy gtk theme. > > I don't know, if the LCL gtk2 interface can work around > > this. > > What Linux distribution is this? > > openSuse 11.4. There's a lot of bugs in oxygen-gtk theme, open issue at their tracker. zeljko --

Reply by email

Felipe Monteiro de Carvalho
to zeljko: Qt supports fullscreen window state ... don't know for others. I guess that it's not hard…

2011/6/24 zeljko :

Qt supports fullscreen window state ... don't know for others. I guess that it's not hard task to implement it for other X11 widgetsets ... but don't know for win32 and carbon.

But what do you think about which new API to introduce for it?

I am leaning towards a SetFullscreen function. fsFullScreen would block using it together with fsSystemStayOnTop

Felipe Monteiro de Carvalho

Reply by email

Flávio Etrusco
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote 14 lines
2011/6/24 zeljko : > Qt supports fullscreen window state ... don't know for others. I guess that > it's not hard task to implement it for other X11 widgetsets ... but don't > know for win32 and carbon. But what do you think about which new API to introduce for it? I am leaning towards a SetFullscreen function. fsFullScreen would block using it together with fsSystemStayOnTop -- Felipe Monteiro de Carvalho --

I think this is a plus? ;-) "Fullscreen" already implies some sort of "StayOnTop", doesn't it?

-Fl?vio

Reply by email

Bart
to David Copeland: Okay, thanks, but I have no idea what to say the bug is.

See if Suse 11.4 comes with a program called gtk-demo (Suse 10.0 does). (Just try running it form a commandline).

It has a combobox demo in it, with sources.
You could modify the source to make the combobox empty, build, run and see if the bug is also present.
Then you can sent in a report to their bugracker.

Bart

David Copeland wrote 37 lines
Okay, thanks, but I have no idea what to say the bug is. On Fri, 2011-06-24 at 21:50 +0200, zeljko wrote: > On Friday 24 of June 2011 19:51:35 David Copeland wrote: > > > On Fri, 2011-06-24 at 19:41 +0200, Mattias Gaertner wrote: > > > > Then you found a buggy gtk theme. > > > > I don't know, if the LCL gtk2 interface can work around > > > > this. > > > > What Linux distribution is this? > > > > > > openSuse 11.4. > > > There's a lot of bugs in oxygen-gtk theme, open issue at their > tracker. > > zeljko > > -- -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Bart
to Tommi Prami

Which revision?
Which FPC version?
How did you try to rebuild Lazarus?

Bart

Tommi Prami wrote 14 lines
-Tee- PPU Loading C:\lazarus\lcl\units\i386-win32\intfgraphics.ppu PPU Source: intfgraphics.pas not found Recompiling IntfGraphics, checksum changed for LCLIntf ..\graphics.pp(47,49) Fatal: Can't find unit IntfGraphics used by Graphics -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Tommi Prami
to Bart

OK, short explanation:

Did everything all over again :

SVN : 31471
FPC : 2.4.4

I run the make of the Lazarus, and then start the IDE (That fart it
works) then try to run Toos -> "Build Lazarus with profile ..." to get
all the Packages to build again... (After update... Now it weirdly fails at)
main(.pas)
function TMainIDE.DoLoadLFM(AnUnitInfo: TUnitInfo; LFMBuf: TCodeBuffer;
   OpenFlags: TOpenFlags; CloseFlags: TCloseFlags): TModalResult;
const
   BufSize = 4096; // allocating mem in 4k chunks helps many mem managers
   ShowCommands: array[TWindowState] of Integer =
     (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED);

with message :

...
C:\lazarus\lcl\grids.pas(5854,38) Warning: Symbol "OnEditButtonClick" is deprecated
C:\lazarus\lcl\grids.pas(6088,34) Warning: Symbol "OnEditButtonClick" is deprecated
C:\lazarus\lcl\grids.pas(6089,24) Warning: Symbol "OnEditButtonClick" is deprecated
"Compiling package LCLBase 1.0.1" completed
C:\lazarus\lcl\interfaces\win32\win32int.pp(27,26) Warning: User defined: Fix implicit pointer conversions
"Compiling package LCL 1.0.1" completed
C:\lazarus\components\lazcontrols\listfilteredit.pas(64,15) Warning: An inherited method is hidden by "TListFilterEdit.Invalidate;" C:\lazarus\components\lazcontrols\listfilteredit.pas(24,43) Hint: Parameter "Done" not used
"Compiling package LazControls 0.0" completed
"Compiling package IDEIntf 1.0" completed
C:\lazarus\components\sqlite\sqlitecomponenteditor.pas(63,58) Hint: Parameter "User" not used
"Compiling package sqlite3laz 0.4" completed
"Compiling package lnetvisual 0.6.6" completed
"Compiling package SynEdit 1.0" completed
C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(227,9) Warning: Local variable "C" does not seem to be initialized C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(57,30) Hint: Parameter "SQL" not used
C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(82,3) Hint: Local const "SSQLOK" is not used
C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(83,3) Hint: Local const "SQLSyntaxOK" is not used
C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(84,3) Hint: Local const "SSQLError" is not used
C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(85,3) Hint: Local const "SSQLSyntaxError" is not used
C:\lazarus\components\sqldb\registersqldb.pas(92,38) Hint: Parameter "ResourceName" not used
C:\lazarus\components\sqldb\registersqldb.pas(93,33) Hint: Parameter "Filename" not used
C:\lazarus\components\sqldb\registersqldb.pas(93,43) Hint: Parameter "SourceName" not used
C:\lazarus\components\sqldb\registersqldb.pas(94,27) Hint: Parameter "ResourceName" not used
C:\lazarus\components\sqldb\registersqldb.pas(63,16) Hint: Unit "SrcEditorIntf" not used in registersqldb
"Compiling package SQLDBLaz 1.0.1" completed
C:\lazarus\debugger\gdbmidebugger.pp(6547,107) Warning: Symbol "GDBDisassemble" is deprecated
C:\lazarus\packager\packageeditor.pas(1636,3) Note: Local variable "TVNodeStack" not used
C:\lazarus\ide\main.pp(6490,50) Fatal: Syntax error, "," expected but ")" found

-Tee-

Reply by email

Torsten Bonde Christiansen
to Tommi Prami

Same here.

Happens on both Win32 and Linux x86_64 - i have the same SVN revision.

-Torsten.

Tommi Prami wrote 82 lines
OK, short explanation: Did everything all over again : SVN : 31471 FPC : 2.4.4 I run the make of the Lazarus, and then start the IDE (That fart it works) then try to run Toos -> "Build Lazarus with profile ..." to get all the Packages to build again... (After update... Now it weirdly fails at) main(.pas) function TMainIDE.DoLoadLFM(AnUnitInfo: TUnitInfo; LFMBuf: TCodeBuffer; OpenFlags: TOpenFlags; CloseFlags: TCloseFlags): TModalResult; const BufSize = 4096; // allocating mem in 4k chunks helps many mem managers ShowCommands: array[TWindowState] of Integer = (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED); with message : ... C:\lazarus\lcl\grids.pas(5854,38) Warning: Symbol "OnEditButtonClick" is deprecated C:\lazarus\lcl\grids.pas(6088,34) Warning: Symbol "OnEditButtonClick" is deprecated C:\lazarus\lcl\grids.pas(6089,24) Warning: Symbol "OnEditButtonClick" is deprecated "Compiling package LCLBase 1.0.1" completed C:\lazarus\lcl\interfaces\win32\win32int.pp(27,26) Warning: User defined: Fix implicit pointer conversions "Compiling package LCL 1.0.1" completed C:\lazarus\components\lazcontrols\listfilteredit.pas(64,15) Warning: An inherited method is hidden by "TListFilterEdit.Invalidate;" C:\lazarus\components\lazcontrols\listfilteredit.pas(24,43) Hint: Parameter "Done" not used "Compiling package LazControls 0.0" completed "Compiling package IDEIntf 1.0" completed C:\lazarus\components\sqlite\sqlitecomponenteditor.pas(63,58) Hint: Parameter "User" not used "Compiling package sqlite3laz 0.4" completed "Compiling package lnetvisual 0.6.6" completed "Compiling package SynEdit 1.0" completed C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(227,9) Warning: Local variable "C" does not seem to be initialized C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(57,30) Hint: Parameter "SQL" not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(82,3) Hint: Local const "SSQLOK" is not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(83,3) Hint: Local const "SQLSyntaxOK" is not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(84,3) Hint: Local const "SSQLError" is not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(85,3) Hint: Local const "SSQLSyntaxError" is not used C:\lazarus\components\sqldb\registersqldb.pas(92,38) Hint: Parameter "ResourceName" not used C:\lazarus\components\sqldb\registersqldb.pas(93,33) Hint: Parameter "Filename" not used C:\lazarus\components\sqldb\registersqldb.pas(93,43) Hint: Parameter "SourceName" not used C:\lazarus\components\sqldb\registersqldb.pas(94,27) Hint: Parameter "ResourceName" not used C:\lazarus\components\sqldb\registersqldb.pas(63,16) Hint: Unit "SrcEditorIntf" not used in registersqldb "Compiling package SQLDBLaz 1.0.1" completed C:\lazarus\debugger\gdbmidebugger.pp(6547,107) Warning: Symbol "GDBDisassemble" is deprecated C:\lazarus\packager\packageeditor.pas(1636,3) Note: Local variable "TVNodeStack" not used C:\lazarus\ide\main.pp(6490,50) Fatal: Syntax error, "," expected but ")" found -Tee- -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Our Program who art in Memory, Hello be Thy Name. Thy Operating System come, Thy Commands be done, at the Printer as it is on the Screen. Give us this day our daily Data, and forgive us our I/O Errors as we forgive those whose Logic Circuits are faulty. Lead us not into frustration, and deliver us from Power Surges, for Thine is the Algorithm, the Application, and the Solution, looping forever and ever. Return.

Reply by email

Bart
to Torsten Bonde Christiansen

Due to r31470: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/forms.pp?root=lazarus&r1=31468&r2=31470

TWindowState definition has changed.

Torsten Bonde Christiansen wrote 112 lines
Same here. Happens on both Win32 and Linux x86_64 - i have the same SVN revision. -Torsten. On 2011-06-30 11:46, Tommi Prami wrote: > OK, short explanation: > > Did everything all over again : > > SVN : 31471 > FPC : 2.4.4 > > I run the make of the Lazarus, and then start the IDE (That fart it > works) then try to run Toos -> "Build Lazarus with profile ..." to get > all the Packages to build again... (After update... Now it weirdly > fails at) > main(.pas) > function TMainIDE.DoLoadLFM(AnUnitInfo: TUnitInfo; LFMBuf: TCodeBuffer; > OpenFlags: TOpenFlags; CloseFlags: TCloseFlags): TModalResult; > const > BufSize = 4096; // allocating mem in 4k chunks helps many mem managers > > ShowCommands: array[TWindowState] of Integer = > (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED); > > with message : > > ... > C:\lazarus\lcl\grids.pas(5854,38) Warning: Symbol "OnEditButtonClick" > is deprecated > C:\lazarus\lcl\grids.pas(6088,34) Warning: Symbol "OnEditButtonClick" > is deprecated > C:\lazarus\lcl\grids.pas(6089,24) Warning: Symbol "OnEditButtonClick" > is deprecated > "Compiling package LCLBase 1.0.1" completed > C:\lazarus\lcl\interfaces\win32\win32int.pp(27,26) Warning: User > defined: Fix implicit pointer conversions > "Compiling package LCL 1.0.1" completed > C:\lazarus\components\lazcontrols\listfilteredit.pas(64,15) Warning: > An inherited method is hidden by "TListFilterEdit.Invalidate;" > C:\lazarus\components\lazcontrols\listfilteredit.pas(24,43) Hint: > Parameter "Done" not used > "Compiling package LazControls 0.0" completed > "Compiling package IDEIntf 1.0" completed > C:\lazarus\components\sqlite\sqlitecomponenteditor.pas(63,58) Hint: > Parameter "User" not used > "Compiling package sqlite3laz 0.4" completed > "Compiling package lnetvisual 0.6.6" completed > "Compiling package SynEdit 1.0" completed > C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(227,9) > Warning: Local variable "C" does not seem to be initialized > C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(57,30) > Hint: Parameter "SQL" not used > C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(82,3) > Hint: Local const "SSQLOK" is not used > C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(83,3) > Hint: Local const "SQLSyntaxOK" is not used > C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(84,3) > Hint: Local const "SSQLError" is not used > C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(85,3) > Hint: Local const "SSQLSyntaxError" is not used > C:\lazarus\components\sqldb\registersqldb.pas(92,38) Hint: Parameter > "ResourceName" not used > C:\lazarus\components\sqldb\registersqldb.pas(93,33) Hint: Parameter > "Filename" not used > C:\lazarus\components\sqldb\registersqldb.pas(93,43) Hint: Parameter > "SourceName" not used > C:\lazarus\components\sqldb\registersqldb.pas(94,27) Hint: Parameter > "ResourceName" not used > C:\lazarus\components\sqldb\registersqldb.pas(63,16) Hint: Unit > "SrcEditorIntf" not used in registersqldb > "Compiling package SQLDBLaz 1.0.1" completed > C:\lazarus\debugger\gdbmidebugger.pp(6547,107) Warning: Symbol > "GDBDisassemble" is deprecated > C:\lazarus\packager\packageeditor.pas(1636,3) Note: Local variable > "TVNodeStack" not used > C:\lazarus\ide\main.pp(6490,50) Fatal: Syntax error, "," expected but > ")" found > > -Tee- > > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Our Program who art in Memory, Hello be Thy Name. Thy Operating System come, Thy Commands be done, at the Printer as it is on the Screen. Give us this day our daily Data, and forgive us our I/O Errors as we forgive those whose Logic Circuits are faulty. Lead us not into frustration, and deliver us from Power Surges, for Thine is the Algorithm, the Application, and the Solution, looping forever and ever. Return. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Bart
to Bart

Filed a bugreport: http://bugs.freepascal.org/view.php?id=19659

Bart

Bart wrote 120 lines
Due to r31470: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/forms.pp?root=lazarus&r1=31468&r2=31470 TWindowState definition has changed. On 6/30/11, Torsten Bonde Christiansen wrote: > Same here. > > Happens on both Win32 and Linux x86_64 - i have the same SVN revision. > > -Torsten. > > On 2011-06-30 11:46, Tommi Prami wrote: >> OK, short explanation: >> >> Did everything all over again : >> >> SVN : 31471 >> FPC : 2.4.4 >> >> I run the make of the Lazarus, and then start the IDE (That fart it >> works) then try to run Toos -> "Build Lazarus with profile ..." to get >> all the Packages to build again... (After update... Now it weirdly >> fails at) >> main(.pas) >> function TMainIDE.DoLoadLFM(AnUnitInfo: TUnitInfo; LFMBuf: TCodeBuffer; >> OpenFlags: TOpenFlags; CloseFlags: TCloseFlags): TModalResult; >> const >> BufSize = 4096; // allocating mem in 4k chunks helps many mem managers >> >> ShowCommands: array[TWindowState] of Integer = >> (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED); >> >> with message : >> >> ... >> C:\lazarus\lcl\grids.pas(5854,38) Warning: Symbol "OnEditButtonClick" >> is deprecated >> C:\lazarus\lcl\grids.pas(6088,34) Warning: Symbol "OnEditButtonClick" >> is deprecated >> C:\lazarus\lcl\grids.pas(6089,24) Warning: Symbol "OnEditButtonClick" >> is deprecated >> "Compiling package LCLBase 1.0.1" completed >> C:\lazarus\lcl\interfaces\win32\win32int.pp(27,26) Warning: User >> defined: Fix implicit pointer conversions >> "Compiling package LCL 1.0.1" completed >> C:\lazarus\components\lazcontrols\listfilteredit.pas(64,15) Warning: >> An inherited method is hidden by "TListFilterEdit.Invalidate;" >> C:\lazarus\components\lazcontrols\listfilteredit.pas(24,43) Hint: >> Parameter "Done" not used >> "Compiling package LazControls 0.0" completed >> "Compiling package IDEIntf 1.0" completed >> C:\lazarus\components\sqlite\sqlitecomponenteditor.pas(63,58) Hint: >> Parameter "User" not used >> "Compiling package sqlite3laz 0.4" completed >> "Compiling package lnetvisual 0.6.6" completed >> "Compiling package SynEdit 1.0" completed >> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(227,9) >> Warning: Local variable "C" does not seem to be initialized >> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(57,30) >> Hint: Parameter "SQL" not used >> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(82,3) >> Hint: Local const "SSQLOK" is not used >> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(83,3) >> Hint: Local const "SQLSyntaxOK" is not used >> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(84,3) >> Hint: Local const "SSQLError" is not used >> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(85,3) >> Hint: Local const "SSQLSyntaxError" is not used >> C:\lazarus\components\sqldb\registersqldb.pas(92,38) Hint: Parameter >> "ResourceName" not used >> C:\lazarus\components\sqldb\registersqldb.pas(93,33) Hint: Parameter >> "Filename" not used >> C:\lazarus\components\sqldb\registersqldb.pas(93,43) Hint: Parameter >> "SourceName" not used >> C:\lazarus\components\sqldb\registersqldb.pas(94,27) Hint: Parameter >> "ResourceName" not used >> C:\lazarus\components\sqldb\registersqldb.pas(63,16) Hint: Unit >> "SrcEditorIntf" not used in registersqldb >> "Compiling package SQLDBLaz 1.0.1" completed >> C:\lazarus\debugger\gdbmidebugger.pp(6547,107) Warning: Symbol >> "GDBDisassemble" is deprecated >> C:\lazarus\packager\packageeditor.pas(1636,3) Note: Local variable >> "TVNodeStack" not used >> C:\lazarus\ide\main.pp(6490,50) Fatal: Syntax error, "," expected but >> ")" found >> >> -Tee- >> >> >> -- >> _______________________________________________ >> Lazarus mailing list >> >> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > > > -- > Our Program who art in Memory, Hello be Thy Name. > Thy Operating System come, Thy Commands be done, > at the Printer as it is on the Screen. > > Give us this day our daily Data, and forgive us our I/O Errors as we > forgive > those whose Logic Circuits are faulty. Lead us not into frustration, and > deliver us from Power Surges, > > for Thine is the Algorithm, the Application, and the Solution, looping > forever and ever. > > Return. > > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >

Reply by email

Bart
to Bart

If you change the line in main.pp to

 ShowCommands: array[TWindowState] of Integer =
   (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED, SW_SHOWFULLSCREEN);

Will it then build?

Bart

Bart wrote 127 lines
Filed a bugreport: http://bugs.freepascal.org/view.php?id=19659 Bart On 6/30/11, Bart wrote: > Due to r31470: > http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/forms.pp?root=lazarus&r1=31468&r2=31470 > > TWindowState definition has changed. > > On 6/30/11, Torsten Bonde Christiansen wrote: >> Same here. >> >> Happens on both Win32 and Linux x86_64 - i have the same SVN revision. >> >> -Torsten. >> >> On 2011-06-30 11:46, Tommi Prami wrote: >>> OK, short explanation: >>> >>> Did everything all over again : >>> >>> SVN : 31471 >>> FPC : 2.4.4 >>> >>> I run the make of the Lazarus, and then start the IDE (That fart it >>> works) then try to run Toos -> "Build Lazarus with profile ..." to get >>> all the Packages to build again... (After update... Now it weirdly >>> fails at) >>> main(.pas) >>> function TMainIDE.DoLoadLFM(AnUnitInfo: TUnitInfo; LFMBuf: TCodeBuffer; >>> OpenFlags: TOpenFlags; CloseFlags: TCloseFlags): TModalResult; >>> const >>> BufSize = 4096; // allocating mem in 4k chunks helps many mem >>> managers >>> >>> ShowCommands: array[TWindowState] of Integer = >>> (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED); >>> >>> with message : >>> >>> ... >>> C:\lazarus\lcl\grids.pas(5854,38) Warning: Symbol "OnEditButtonClick" >>> is deprecated >>> C:\lazarus\lcl\grids.pas(6088,34) Warning: Symbol "OnEditButtonClick" >>> is deprecated >>> C:\lazarus\lcl\grids.pas(6089,24) Warning: Symbol "OnEditButtonClick" >>> is deprecated >>> "Compiling package LCLBase 1.0.1" completed >>> C:\lazarus\lcl\interfaces\win32\win32int.pp(27,26) Warning: User >>> defined: Fix implicit pointer conversions >>> "Compiling package LCL 1.0.1" completed >>> C:\lazarus\components\lazcontrols\listfilteredit.pas(64,15) Warning: >>> An inherited method is hidden by "TListFilterEdit.Invalidate;" >>> C:\lazarus\components\lazcontrols\listfilteredit.pas(24,43) Hint: >>> Parameter "Done" not used >>> "Compiling package LazControls 0.0" completed >>> "Compiling package IDEIntf 1.0" completed >>> C:\lazarus\components\sqlite\sqlitecomponenteditor.pas(63,58) Hint: >>> Parameter "User" not used >>> "Compiling package sqlite3laz 0.4" completed >>> "Compiling package lnetvisual 0.6.6" completed >>> "Compiling package SynEdit 1.0" completed >>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(227,9) >>> Warning: Local variable "C" does not seem to be initialized >>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(57,30) >>> Hint: Parameter "SQL" not used >>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(82,3) >>> Hint: Local const "SSQLOK" is not used >>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(83,3) >>> Hint: Local const "SQLSyntaxOK" is not used >>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(84,3) >>> Hint: Local const "SSQLError" is not used >>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(85,3) >>> Hint: Local const "SSQLSyntaxError" is not used >>> C:\lazarus\components\sqldb\registersqldb.pas(92,38) Hint: Parameter >>> "ResourceName" not used >>> C:\lazarus\components\sqldb\registersqldb.pas(93,33) Hint: Parameter >>> "Filename" not used >>> C:\lazarus\components\sqldb\registersqldb.pas(93,43) Hint: Parameter >>> "SourceName" not used >>> C:\lazarus\components\sqldb\registersqldb.pas(94,27) Hint: Parameter >>> "ResourceName" not used >>> C:\lazarus\components\sqldb\registersqldb.pas(63,16) Hint: Unit >>> "SrcEditorIntf" not used in registersqldb >>> "Compiling package SQLDBLaz 1.0.1" completed >>> C:\lazarus\debugger\gdbmidebugger.pp(6547,107) Warning: Symbol >>> "GDBDisassemble" is deprecated >>> C:\lazarus\packager\packageeditor.pas(1636,3) Note: Local variable >>> "TVNodeStack" not used >>> C:\lazarus\ide\main.pp(6490,50) Fatal: Syntax error, "," expected but >>> ")" found >>> >>> -Tee- >>> >>> >>> -- >>> _______________________________________________ >>> Lazarus mailing list >>> >>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >> >> >> -- >> Our Program who art in Memory, Hello be Thy Name. >> Thy Operating System come, Thy Commands be done, >> at the Printer as it is on the Screen. >> >> Give us this day our daily Data, and forgive us our I/O Errors as we >> forgive >> those whose Logic Circuits are faulty. Lead us not into frustration, and >> deliver us from Power Surges, >> >> for Thine is the Algorithm, the Application, and the Solution, looping >> forever and ever. >> >> Return. >> >> >> -- >> _______________________________________________ >> Lazarus mailing list >> >> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >> >

Reply by email

Tommi Prami
to Bart

Seems to work...

-TP-

Bart wrote 139 lines
If you change the line in main.pp to ShowCommands: array[TWindowState] of Integer = (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED, SW_SHOWFULLSCREEN); Will it then build? Bart On 6/30/11, Bart wrote: > Filed a bugreport: http://bugs.freepascal.org/view.php?id=19659 > > Bart > > On 6/30/11, Bart wrote: >> Due to r31470: >> http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/forms.pp?root=lazarus&r1=31468&r2=31470 >> >> TWindowState definition has changed. >> >> On 6/30/11, Torsten Bonde Christiansen wrote: >>> Same here. >>> >>> Happens on both Win32 and Linux x86_64 - i have the same SVN revision. >>> >>> -Torsten. >>> >>> On 2011-06-30 11:46, Tommi Prami wrote: >>>> OK, short explanation: >>>> >>>> Did everything all over again : >>>> >>>> SVN : 31471 >>>> FPC : 2.4.4 >>>> >>>> I run the make of the Lazarus, and then start the IDE (That fart it >>>> works) then try to run Toos -> "Build Lazarus with profile ..." to get >>>> all the Packages to build again... (After update... Now it weirdly >>>> fails at) >>>> main(.pas) >>>> function TMainIDE.DoLoadLFM(AnUnitInfo: TUnitInfo; LFMBuf: TCodeBuffer; >>>> OpenFlags: TOpenFlags; CloseFlags: TCloseFlags): TModalResult; >>>> const >>>> BufSize = 4096; // allocating mem in 4k chunks helps many mem >>>> managers >>>> >>>> ShowCommands: array[TWindowState] of Integer = >>>> (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED); >>>> >>>> with message : >>>> >>>> ... >>>> C:\lazarus\lcl\grids.pas(5854,38) Warning: Symbol "OnEditButtonClick" >>>> is deprecated >>>> C:\lazarus\lcl\grids.pas(6088,34) Warning: Symbol "OnEditButtonClick" >>>> is deprecated >>>> C:\lazarus\lcl\grids.pas(6089,24) Warning: Symbol "OnEditButtonClick" >>>> is deprecated >>>> "Compiling package LCLBase 1.0.1" completed >>>> C:\lazarus\lcl\interfaces\win32\win32int.pp(27,26) Warning: User >>>> defined: Fix implicit pointer conversions >>>> "Compiling package LCL 1.0.1" completed >>>> C:\lazarus\components\lazcontrols\listfilteredit.pas(64,15) Warning: >>>> An inherited method is hidden by "TListFilterEdit.Invalidate;" >>>> C:\lazarus\components\lazcontrols\listfilteredit.pas(24,43) Hint: >>>> Parameter "Done" not used >>>> "Compiling package LazControls 0.0" completed >>>> "Compiling package IDEIntf 1.0" completed >>>> C:\lazarus\components\sqlite\sqlitecomponenteditor.pas(63,58) Hint: >>>> Parameter "User" not used >>>> "Compiling package sqlite3laz 0.4" completed >>>> "Compiling package lnetvisual 0.6.6" completed >>>> "Compiling package SynEdit 1.0" completed >>>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(227,9) >>>> Warning: Local variable "C" does not seem to be initialized >>>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(57,30) >>>> Hint: Parameter "SQL" not used >>>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(82,3) >>>> Hint: Local const "SSQLOK" is not used >>>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(83,3) >>>> Hint: Local const "SQLSyntaxOK" is not used >>>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(84,3) >>>> Hint: Local const "SSQLError" is not used >>>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(85,3) >>>> Hint: Local const "SSQLSyntaxError" is not used >>>> C:\lazarus\components\sqldb\registersqldb.pas(92,38) Hint: Parameter >>>> "ResourceName" not used >>>> C:\lazarus\components\sqldb\registersqldb.pas(93,33) Hint: Parameter >>>> "Filename" not used >>>> C:\lazarus\components\sqldb\registersqldb.pas(93,43) Hint: Parameter >>>> "SourceName" not used >>>> C:\lazarus\components\sqldb\registersqldb.pas(94,27) Hint: Parameter >>>> "ResourceName" not used >>>> C:\lazarus\components\sqldb\registersqldb.pas(63,16) Hint: Unit >>>> "SrcEditorIntf" not used in registersqldb >>>> "Compiling package SQLDBLaz 1.0.1" completed >>>> C:\lazarus\debugger\gdbmidebugger.pp(6547,107) Warning: Symbol >>>> "GDBDisassemble" is deprecated >>>> C:\lazarus\packager\packageeditor.pas(1636,3) Note: Local variable >>>> "TVNodeStack" not used >>>> C:\lazarus\ide\main.pp(6490,50) Fatal: Syntax error, "," expected but >>>> ")" found >>>> >>>> -Tee- >>>> >>>> >>>> -- >>>> _______________________________________________ >>>> Lazarus mailing list >>>> >>>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >>> >>> -- >>> Our Program who art in Memory, Hello be Thy Name. >>> Thy Operating System come, Thy Commands be done, >>> at the Printer as it is on the Screen. >>> >>> Give us this day our daily Data, and forgive us our I/O Errors as we >>> forgive >>> those whose Logic Circuits are faulty. Lead us not into frustration, and >>> deliver us from Power Surges, >>> >>> for Thine is the Algorithm, the Application, and the Solution, looping >>> forever and ever. >>> >>> Return. >>> >>> >>> -- >>> _______________________________________________ >>> Lazarus mailing list >>> >>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >>> -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Bart
to Bart: If you change the line in main.pp to ShowCommands: array[TWindowState] of Integer =…

I just tried that myself and it seems to work.
I attached a patch in the bugtracker.

Bart

Bart wrote 140 lines
If you change the line in main.pp to ShowCommands: array[TWindowState] of Integer = (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED, SW_SHOWFULLSCREEN); Will it then build? Bart On 6/30/11, Bart wrote: > Filed a bugreport: http://bugs.freepascal.org/view.php?id=19659 > > Bart > > On 6/30/11, Bart wrote: >> Due to r31470: >> http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/forms.pp?root=lazarus&r1=31468&r2=31470 >> >> TWindowState definition has changed. >> >> On 6/30/11, Torsten Bonde Christiansen wrote: >>> Same here. >>> >>> Happens on both Win32 and Linux x86_64 - i have the same SVN revision. >>> >>> -Torsten. >>> >>> On 2011-06-30 11:46, Tommi Prami wrote: >>>> OK, short explanation: >>>> >>>> Did everything all over again : >>>> >>>> SVN : 31471 >>>> FPC : 2.4.4 >>>> >>>> I run the make of the Lazarus, and then start the IDE (That fart it >>>> works) then try to run Toos -> "Build Lazarus with profile ..." to get >>>> all the Packages to build again... (After update... Now it weirdly >>>> fails at) >>>> main(.pas) >>>> function TMainIDE.DoLoadLFM(AnUnitInfo: TUnitInfo; LFMBuf: >>>> TCodeBuffer; >>>> OpenFlags: TOpenFlags; CloseFlags: TCloseFlags): TModalResult; >>>> const >>>> BufSize = 4096; // allocating mem in 4k chunks helps many mem >>>> managers >>>> >>>> ShowCommands: array[TWindowState] of Integer = >>>> (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED); >>>> >>>> with message : >>>> >>>> ... >>>> C:\lazarus\lcl\grids.pas(5854,38) Warning: Symbol "OnEditButtonClick" >>>> is deprecated >>>> C:\lazarus\lcl\grids.pas(6088,34) Warning: Symbol "OnEditButtonClick" >>>> is deprecated >>>> C:\lazarus\lcl\grids.pas(6089,24) Warning: Symbol "OnEditButtonClick" >>>> is deprecated >>>> "Compiling package LCLBase 1.0.1" completed >>>> C:\lazarus\lcl\interfaces\win32\win32int.pp(27,26) Warning: User >>>> defined: Fix implicit pointer conversions >>>> "Compiling package LCL 1.0.1" completed >>>> C:\lazarus\components\lazcontrols\listfilteredit.pas(64,15) Warning: >>>> An inherited method is hidden by "TListFilterEdit.Invalidate;" >>>> C:\lazarus\components\lazcontrols\listfilteredit.pas(24,43) Hint: >>>> Parameter "Done" not used >>>> "Compiling package LazControls 0.0" completed >>>> "Compiling package IDEIntf 1.0" completed >>>> C:\lazarus\components\sqlite\sqlitecomponenteditor.pas(63,58) Hint: >>>> Parameter "User" not used >>>> "Compiling package sqlite3laz 0.4" completed >>>> "Compiling package lnetvisual 0.6.6" completed >>>> "Compiling package SynEdit 1.0" completed >>>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(227,9) >>>> Warning: Local variable "C" does not seem to be initialized >>>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(57,30) >>>> Hint: Parameter "SQL" not used >>>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(82,3) >>>> Hint: Local const "SSQLOK" is not used >>>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(83,3) >>>> Hint: Local const "SQLSyntaxOK" is not used >>>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(84,3) >>>> Hint: Local const "SSQLError" is not used >>>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(85,3) >>>> Hint: Local const "SSQLSyntaxError" is not used >>>> C:\lazarus\components\sqldb\registersqldb.pas(92,38) Hint: Parameter >>>> "ResourceName" not used >>>> C:\lazarus\components\sqldb\registersqldb.pas(93,33) Hint: Parameter >>>> "Filename" not used >>>> C:\lazarus\components\sqldb\registersqldb.pas(93,43) Hint: Parameter >>>> "SourceName" not used >>>> C:\lazarus\components\sqldb\registersqldb.pas(94,27) Hint: Parameter >>>> "ResourceName" not used >>>> C:\lazarus\components\sqldb\registersqldb.pas(63,16) Hint: Unit >>>> "SrcEditorIntf" not used in registersqldb >>>> "Compiling package SQLDBLaz 1.0.1" completed >>>> C:\lazarus\debugger\gdbmidebugger.pp(6547,107) Warning: Symbol >>>> "GDBDisassemble" is deprecated >>>> C:\lazarus\packager\packageeditor.pas(1636,3) Note: Local variable >>>> "TVNodeStack" not used >>>> C:\lazarus\ide\main.pp(6490,50) Fatal: Syntax error, "," expected but >>>> ")" found >>>> >>>> -Tee- >>>> >>>> >>>> -- >>>> _______________________________________________ >>>> Lazarus mailing list >>>> >>>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >>> >>> >>> -- >>> Our Program who art in Memory, Hello be Thy Name. >>> Thy Operating System come, Thy Commands be done, >>> at the Printer as it is on the Screen. >>> >>> Give us this day our daily Data, and forgive us our I/O Errors as we >>> forgive >>> those whose Logic Circuits are faulty. Lead us not into frustration, >>> and >>> deliver us from Power Surges, >>> >>> for Thine is the Algorithm, the Application, and the Solution, looping >>> forever and ever. >>> >>> Return. >>> >>> >>> -- >>> _______________________________________________ >>> Lazarus mailing list >>> >>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >>> >> >

Reply by email

silvioprog
to Bart

This problem is also happening to me:

http://imagebin.org/160713

Lazarus 0.9.31 r31428 FPC 2.5.1 i386-win32-win32/win64

Silvio Cl?cio =============================================== Blog - <silvioprog.com.br> Twitter - <twitter.com/silvioprog> LazSolutions - <code.google.com/p/lazsolutions> LazWebSolutions - <code.google.com/p/lazwebsolutions> Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR> =============================================== ? ?* Conhe?a nosso canal IRC sobre Lazarus: #lazarus-br * ===============================================

Reply by email

Dirk
to Bart: I just tried that myself and it seems to work. I attached a patch in the bugtracker. Bart

The change also breaks AnchorDocking package:

Compiling anchordockpkg.pas
Compiling anchordocking.pas
Compiling anchordockstorage.pas
C:\dev\lazarus_trunk\examples\anchordocking\anchordockstorage.pas(266,5) Error: Expected another 1 array elements

Code:
ADLWindowStateNames: array[TWindowState] of string = ( 'Normal',
'Minimized',
'Maximized'

    );

Dirk.

Show quoted text 179 lines
-----Original Message----- From: Bart [mailto:] Sent: Thursday, June 30, 2011 12:28 PM To: Lazarus mailing list Subject: Re: [Lazarus] Error while compiling latest SVN version I just tried that myself and it seems to work. I attached a patch in the bugtracker. Bart On 6/30/11, Bart wrote: > If you change the line in main.pp to > > ShowCommands: array[TWindowState] of Integer = > (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED, SW_SHOWFULLSCREEN); > > Will it then build? > > Bart > > On 6/30/11, Bart wrote: >> Filed a bugreport: http://bugs.freepascal.org/view.php?id=19659 >> >> Bart >> >> On 6/30/11, Bart wrote: >>> Due to r31470: >>> http://svn.freepascal.org/cgi- bin/viewvc.cgi/trunk/lcl/forms.pp?root=lazarus&r1=31468&r2=31470 >>> >>> TWindowState definition has changed. >>> >>> On 6/30/11, Torsten Bonde Christiansen wrote: >>>> Same here. >>>> >>>> Happens on both Win32 and Linux x86_64 - i have the same SVN revision. >>>> >>>> -Torsten. >>>> >>>> On 2011-06-30 11:46, Tommi Prami wrote: >>>>> OK, short explanation: >>>>> >>>>> Did everything all over again : >>>>> >>>>> SVN : 31471 >>>>> FPC : 2.4.4 >>>>> >>>>> I run the make of the Lazarus, and then start the IDE (That fart it >>>>> works) then try to run Toos -> "Build Lazarus with profile ..." to get >>>>> all the Packages to build again... (After update... Now it weirdly >>>>> fails at) >>>>> main(.pas) >>>>> function TMainIDE.DoLoadLFM(AnUnitInfo: TUnitInfo; LFMBuf: >>>>> TCodeBuffer; >>>>> OpenFlags: TOpenFlags; CloseFlags: TCloseFlags): TModalResult; >>>>> const >>>>> BufSize = 4096; // allocating mem in 4k chunks helps many mem >>>>> managers >>>>> >>>>> ShowCommands: array[TWindowState] of Integer = >>>>> (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED); >>>>> >>>>> with message : >>>>> >>>>> ... >>>>> C:\lazarus\lcl\grids.pas(5854,38) Warning: Symbol "OnEditButtonClick" >>>>> is deprecated >>>>> C:\lazarus\lcl\grids.pas(6088,34) Warning: Symbol "OnEditButtonClick" >>>>> is deprecated >>>>> C:\lazarus\lcl\grids.pas(6089,24) Warning: Symbol "OnEditButtonClick" >>>>> is deprecated >>>>> "Compiling package LCLBase 1.0.1" completed >>>>> C:\lazarus\lcl\interfaces\win32\win32int.pp(27,26) Warning: User >>>>> defined: Fix implicit pointer conversions >>>>> "Compiling package LCL 1.0.1" completed >>>>> C:\lazarus\components\lazcontrols\listfilteredit.pas(64,15) Warning: >>>>> An inherited method is hidden by "TListFilterEdit.Invalidate;" >>>>> C:\lazarus\components\lazcontrols\listfilteredit.pas(24,43) Hint: >>>>> Parameter "Done" not used >>>>> "Compiling package LazControls 0.0" completed >>>>> "Compiling package IDEIntf 1.0" completed >>>>> C:\lazarus\components\sqlite\sqlitecomponenteditor.pas(63,58) Hint: >>>>> Parameter "User" not used >>>>> "Compiling package sqlite3laz 0.4" completed >>>>> "Compiling package lnetvisual 0.6.6" completed >>>>> "Compiling package SynEdit 1.0" completed >>>>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(227,9) >>>>> Warning: Local variable "C" does not seem to be initialized >>>>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(57,30) >>>>> Hint: Parameter "SQL" not used >>>>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(82,3) >>>>> Hint: Local const "SSQLOK" is not used >>>>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(83,3) >>>>> Hint: Local const "SQLSyntaxOK" is not used >>>>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(84,3) >>>>> Hint: Local const "SSQLError" is not used >>>>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(85,3) >>>>> Hint: Local const "SSQLSyntaxError" is not used >>>>> C:\lazarus\components\sqldb\registersqldb.pas(92,38) Hint: Parameter >>>>> "ResourceName" not used >>>>> C:\lazarus\components\sqldb\registersqldb.pas(93,33) Hint: Parameter >>>>> "Filename" not used >>>>> C:\lazarus\components\sqldb\registersqldb.pas(93,43) Hint: Parameter >>>>> "SourceName" not used >>>>> C:\lazarus\components\sqldb\registersqldb.pas(94,27) Hint: Parameter >>>>> "ResourceName" not used >>>>> C:\lazarus\components\sqldb\registersqldb.pas(63,16) Hint: Unit >>>>> "SrcEditorIntf" not used in registersqldb >>>>> "Compiling package SQLDBLaz 1.0.1" completed >>>>> C:\lazarus\debugger\gdbmidebugger.pp(6547,107) Warning: Symbol >>>>> "GDBDisassemble" is deprecated >>>>> C:\lazarus\packager\packageeditor.pas(1636,3) Note: Local variable >>>>> "TVNodeStack" not used >>>>> C:\lazarus\ide\main.pp(6490,50) Fatal: Syntax error, "," expected but >>>>> ")" found >>>>> >>>>> -Tee- >>>>> >>>>> >>>>> -- >>>>> _______________________________________________ >>>>> Lazarus mailing list >>>>> >>>>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >>>> >>>> >>>> -- >>>> Our Program who art in Memory, Hello be Thy Name. >>>> Thy Operating System come, Thy Commands be done, >>>> at the Printer as it is on the Screen. >>>> >>>> Give us this day our daily Data, and forgive us our I/O Errors as we >>>> forgive >>>> those whose Logic Circuits are faulty. Lead us not into frustration, >>>> and >>>> deliver us from Power Surges, >>>> >>>> for Thine is the Algorithm, the Application, and the Solution, looping >>>> forever and ever. >>>> >>>> Return. >>>> >>>> >>>> -- >>>> _______________________________________________ >>>> Lazarus mailing list >>>> >>>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >>>> >>> >> > -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Dirk
to Dirk

Submitted bug report + patch for Anchordocking:
http://bugs.freepascal.org/view.php?id=19660

Dirk.

Show quoted text 25 lines
-----Original Message----- From: Dirk [mailto:] Sent: Thursday, June 30, 2011 1:47 PM To: 'Lazarus mailing list' Subject: RE: [Lazarus] Error while compiling latest SVN version The change also breaks AnchorDocking package: Compiling anchordockpkg.pas Compiling anchordocking.pas Compiling anchordockstorage.pas C:\dev\lazarus_trunk\examples\anchordocking\anchordockstorage.pas(266,5 ) Error: Expected another 1 array elements Code: ADLWindowStateNames: array[TWindowState] of string = ( 'Normal', 'Minimized', 'Maximized' ); Dirk.

Reply by email

silvioprog
to Dirk

2011/6/30 Dirk :

Submitted bug report + patch for Anchordocking: http://bugs.freepascal.org/view.php?id=19660 Dirk.

Solved.

Lazarus 0.9.31 r31477 FPC 2.5.1 i386-win32-win32/win64

Silvio Cl?cio =============================================== Blog - <silvioprog.com.br> Twitter - <twitter.com/silvioprog> LazSolutions - <code.google.com/p/lazsolutions> LazWebSolutions - <code.google.com/p/lazwebsolutions> Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR> =============================================== ? ?* Conhe?a nosso canal IRC sobre Lazarus: #lazarus-br * ===============================================

Reply by email

Bart
to Dirk

B.t.w. The new definition of TWindowState breaks compatibility with Delphi VCL. See: http://docwiki.embarcadero.com/VCL/en/Forms.TWindowState

Does anyone mind?

Bart

Dirk wrote 24 lines
>From: zeljko [mailto:] >Sent: Thursday, June 30, 2011 2:56 PM >To: Lazarus mailing list >Subject: Re: [Lazarus] Error while compiling latest SVN version > >On Thursday 30 of June 2011 15:10:08 Dirk wrote: >> Submitted bug report + patch for Anchordocking: >> http://bugs.freepascal.org/view.php?id=19660 > >I've applied your patch. Thanks zeljko. I closed the bug report. Dirk. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email