Sign in Join

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

Mailing lists / lazarus / 2002-05

New Bug Entered

12 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

Unknown author

Title: Events

Entered by: Anthony Irwin

when accessing events of objects e.g. the onclick event of a button i get the following error.

ERROR unit not found: stdCtrls

Reply by email

Unknown author

Title: Changing color doesn\'t work

Entered by: Anthony Irwin

when changing the color of a form using the properties screen it doesn\'t change the color of the form even after running the application.

Reply by email

Unknown author

Title: Find&Replace Dialog is mispositioned after first use

Entered by: Mattias Gaertner

The first time the find&replace dialog is shown, it is positioned in the correct place, i.e. it tries to not hide the cursor. On any further use, it is centered on the screen.

Reply by email

Unknown author

Title: make fails on windres

Entered by: iplayfast

Updated using cvs, make fails on windres. (delete *.rc and then make to see what I mean).

Reply by email

Marco van de Voort
to James Tabor: Could it be possible to use Jedi Jwa*.pas Win32API (LGPL) files to support the interface…
Show quoted text 10 lines
> Win32 but there is still more to go to get the IDE in a stable condition. > > As soon as the Win32 interface becomes more stable we will be able to > create nightly builds of the Lazarus IDE but until now it mean that you > have to get the source out of CVS and build it yourself. Hopefully that > will change in the very near future. > Hi, Could it be possible to use Jedi Jwa*.pas Win32API (LGPL) files to support the interface and be compatible with Delphi units? Like WinTypes, etc...

Wintypes,procs etc is D1. Afaik in D2+ they are only legacy. One shouldn't use them anymore.

Reply by email

Unknown author

Title: downloads - crash binary, crash source

Entered by: Jim

Hi,

Don\'t know if this is a bug so much as a lack of
setup data.
Downloaded binaries and source (Win32). Ran
binary from lazarus directory on D-drive. DOS
window resulted in multiple GTK errors and then the program froze, with all panels drawn.
Compiled source with fpc 106 and had to manually
build the lazarus.res file, fpc could not locate the images directory for lazarus. The resultant exec-
utable was 7.3mb. Crashed when run with DOS box
showing all Windows procedures names\' as they
were run.
One small grey panel showed which when closed,
was replaced by a larger grayed panel with two
tabs at the top l;abelled something like \'hm1\'
and \'hm2\'.
If I place the binaries download in the fpc
directory, will it run correctly?

Reply by email

Michael A. Hess
to Unknown author

The current Win32 binary available uses GTK+ as the widget set. This binary is now several weeks old. Many new features have been added since this was built.

The usual stable GTK libraries available for Win32 are missing some features that are currently being used in Lazarus. These new functions are available in some of the newer very alpha Win32 versions of GTK. However the FCL does not support these newer libraries. I made a special version of the FCL using these new libraries to be able to build Lazarus with the newer GTK. The GTK libraries supplied with the Win32 binary available are required. If you have a mix of GTK libraries or it is point to the wrong libraries there is a possibility of strange behavior.

If you attempt to build Lazarus with source for Win32-GTK you will continue to have problems because the 1.0.6 version of FPC still supports the old GTK libraries.

Since GTK-Win32 is really, really, unstable is why more of a major effort is being applied to writing the Win32 API widget interface for the LCL. This way Lazarus can be compiled and built to use the Native Windows API.

The problem is that at this time this effort is being handle by just one individual.

If you would like to see a stable Win32 version of Lazarus Keith would welcome any and all help in finishing up the interface. He has done a bang up job and has the majority of the LCL components working using Win32 but there is still more to go to get the IDE in a stable condition.

As soon as the Win32 interface becomes more stable we will be able to create nightly builds of the Lazarus IDE but until now it mean that you have to get the source out of CVS and build it yourself. Hopefully that will change in the very near future.

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

James Tabor
to Marco van de Voort: Wintypes,procs etc is D1. Afaik in D2+ they are only legacy. One shouldn't use them…
Marco van de Voort wrote 14 lines
> > Win32 but there is still more to go to get the IDE in a stable condition. > > > > As soon as the Win32 interface becomes more stable we will be able to > > create nightly builds of the Lazarus IDE but until now it mean that you > > have to get the source out of CVS and build it yourself. Hopefully that > > will change in the very near future. > > > Hi, > Could it be possible to use Jedi Jwa*.pas Win32API (LGPL) files to support the > interface and be compatible with Delphi units? Like WinTypes, etc... Wintypes,procs etc is D1. Afaik in D2+ they are only legacy. One shouldn't use them anymore.

Hi!
WOW, Okay!
James

Reply by email

James Tabor
to Unknown author: Title: downloads - crash binary, crash source Entered by: Jim Don\'t know if this is a…
"Michael A. Hess" wrote 21 lines
Since GTK-Win32 is really, really, unstable is why more of a major effort is being applied to writing the Win32 API widget interface for the LCL. This way Lazarus can be compiled and built to use the Native Windows API. The problem is that at this time this effort is being handle by just one individual. If you would like to see a stable Win32 version of Lazarus Keith would welcome any and all help in finishing up the interface. He has done a bang up job and has the majority of the LCL components working using Win32 but there is still more to go to get the IDE in a stable condition. As soon as the Win32 interface becomes more stable we will be able to create nightly builds of the Lazarus IDE but until now it mean that you have to get the source out of CVS and build it yourself. Hopefully that will change in the very near future.

Hi,
Could it be possible to use Jedi Jwa*.pas Win32API (LGPL) files to support the interface and be compatible with Delphi units? Like WinTypes, etc... James

Reply by email

James Tabor
to Unknown author: Title: downloads - crash binary, crash source Entered by: Jim Don\'t know if this is a…

Hi all!

Show quoted text 13 lines
Title: downloads - crash binary, crash source Entered by: Jim Hi, Don\'t know if this is a bug so much as a lack of setup data. Downloaded binaries and source (Win32). Ran binary from lazarus directory on D-drive. DOS window resulted in multiple GTK errors and then the program froze, with all panels drawn.

I had the same thing happen to me.

Show quoted text 6 lines
Compiled source with fpc 106 and had to manually build the lazarus.res file, fpc could not locate the images directory for lazarus. The resultant exec- utable was 7.3mb. Crashed when run with DOS box showing all Windows procedures names\' as they were run.

Read my previous post on Compilation Errors.

Show quoted text 7 lines
One small grey panel showed which when closed, was replaced by a larger grayed panel with two tabs at the top l;abelled something like \'hm1\' and \'hm2\'. If I place the binaries download in the fpc directory, will it run correctly?

I did get it to compile (except for lazarus.rc) all the way, by "make clean all".

But when I try to install from source "make install" I get this;

C:/PP/BIN/WIN32/ginstall.exe -m 755 -d lib/lazarus/bin C:/PP/BIN/WIN32/upx.exe lazarus.exe
Ultimate Packer for eXecutables
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
UPX 1.20w Markus F.X.J. Oberhumer & Laszlo Molnar May 23rd 2001

File size Ratio Format Name
-------------------- ------ ----------- ----------- 7623666 -> 1793010 23.51% win32/pe lazarus.exe

Packed 1 file.
C:/PP/BIN/WIN32/cp.exe -fp lazarus.exe lib/lazarus/bin C:/PP/BIN/WIN32/MAKE.EXE -C lcl install
MAKE.EXE[1]: Entering directory `C:/pp/lazarus/lcl' C:/PP/BIN/WIN32/rm.exe -f units/allunits.ppw
C:/PP/BIN/WIN32/ppc386.exe -gl -Fu./units/win32 -Fu./units -Fuinterfaces/abstrac t -Fu. -Fuc:/pp/units/win32/rtl -Fuc:/pp/units/win32/paszlib -Fuc:/pp/units/win3 2/fcl -Fuc:/pp/units/win32/mysql -Fuc:/pp/units/win32/ibase -Fuc:/pp/units/win32 /opengl -Fuc:/pp/units/win32/gtk -Fiinclude -FUunits -di386 allunits.pp C:/PP/BIN/WIN32/MAKE.EXE -C interfaces all
MAKE.EXE[2]: Entering directory `C:/pp/lazarus/lcl/interfaces' C:/PP/BIN/WIN32/MAKE.EXE -C win32 all
MAKE.EXE[3]: Entering directory `C:/pp/lazarus/lcl/interfaces/win32' C:/PP/BIN/WIN32/rm.exe -f
C:/PP/BIN/WIN32/MAKE.EXE -W interfaces.pp interfaces.ppw MAKE.EXE[4]: Entering directory `C:/pp/lazarus/lcl/interfaces/win32' C:/PP/BIN/WIN32/ppc386.exe -gl -S2 -Sh -Fu../../units -Fuc:/pp/units/win32/rtl - Fuc:/pp/units/win32/paszlib -Fuc:/pp/units/win32/fcl -Fuc:/pp/units/win32/mysql -Fuc:/pp/units/win32/ibase -FU../../units/win32 -di386 interfaces.pp MAKE.EXE[4]: Leaving directory `C:/pp/lazarus/lcl/interfaces/win32' MAKE.EXE[3]: Leaving directory `C:/pp/lazarus/lcl/interfaces/win32' MAKE.EXE[2]: Leaving directory `C:/pp/lazarus/lcl/interfaces' C:/PP/BIN/WIN32/fpcmake.exe -p -Twin32 Makefile.fpc Processing Makefile.fpc
Error: Parse error key=value excepted: "MAKE.EXE[1]: *** [fpc_install] Error 1 MAKE.EXE[1]: Leaving directory `C:/pp/lazarus/lcl' C:\PP\BIN\WIN32\MAKE.EXE: *** [lcl_install] Error 2

C:\pp\lazarus>

Attach is the Makefile.fpc.

Thanks,
James

# $Id: Makefile.fpc,v 1.15 2002/04/26 12:26:50 lazarus Exp $ #
# Makefile.fpc for Lazarus for Free Pascal
#

[package]
name=lcl
version=0.8a

[target]
dirs=interfaces
units=allunits
implicitunits=arrow buttons calendar clipbrd clistbox comctrls controls \ dialogs dynhasharray extctrls filectrl forms graphics \ imglist interfacebase lazqueue lcllinux lmessages lresources \ menus messages registry spin stdctrls toolwin utrace \ vclglobals interfaces
rsts=dialogs

[require]
packages=fcl

[compiler]
options=-gl
unittargetdir=units
unitdir=interfaces/abstract .
includedir=include

[install]
buildunit=allunits

[clean]
files=$(wildcard units/*$(OEXT)) $(wildcard units/*$(PPUEXT)) $(wildcard units/*$(RSTEXT))\ $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))

[default]
lcldir=.

[rules]
.PHONY: cleartarget all

cleartarget:
-$(DEL) $(COMPILER_UNITTARGETDIR)/allunits$(PPUEXT)

all: cleartarget allunits$(PPUEXT) $(TARGET_DIRS)

Reply by email

Unknown author

Title: Deleting Objet makes crash

Entered by: Jose Maria Ramirez

Everytime a put a control on the form and try to delete it, the program closes unexpetedly. I\'m using KDE 3 on a SuSE 8 distribution.

Reply by email