[Lazarus] Howto find the projects that needs package xy?

2016-12-19 Thread John Landmesser via Lazarus

Hi,

because i just couldn't compile lazarus trunk any more i asked myself: 
which of my projects needs TZMSQL Package for example?


Is there a tool in Lazarus?

I used find in files ... and it works.

Other suggestions?
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Does anybody know a TStrinGrid-Component capable of sorting Date. Time, Float ...

2017-02-13 Thread John Landmesser via Lazarus

Hi,

i searched some time for such a component ... in vain!

So i developed myself a TStringGrid,  that sorts columns with TDate, 
TTime, TFloat ...


I can't believe that this doesn't allready exists for Lazarus?!

For example i found http://www.tkweb.eu/en/delphicomp/kgrid.html
BUT!! "Written as TCustomControl descendant, this is not a TCustomGrid 
enhancement"

So, no LoadFromCSV etc ... very bad!

Some sort of TSortGrid from Delphi-Zip would be nice.

Tipps are welcome!


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


[Lazarus] Fw: thanks for everything

2017-03-29 Thread John Landmesser via Lazarus
Hey friend, 

I wanted to tell you how much much I appreciate our friendship, you  may read 
my thank you  message here http://zypi.com/language.php?5b5a


Warm regards, John Landmesser

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


[Lazarus] compiling svn Lazarus -> error

2017-04-28 Thread John Landmesser via Lazarus

does anyone got the same error when compiling svn Lazarus?

Revision 54762

Lazarus 1.9.0 r54742 FPC 3.0.0 x86_64-linux-gtk2 Revision 54762

message:

(3104) Compiling directorycacher.pas
/home/john1/lazarus/components/codetools/directorycacher.pas(1257,14) 
Error: (3026) Wrong number of parameters specified for call to 
"IsValidIdent"

Error: (5088) Found declaration: IsValidIdent(const AnsiString):Boolean;
directorycacher.pas(1906) Fatal: (10026) There were 2 errors compiling 
module, stopping

Fatal: (1018) Compilation aborted
Makefile:2615: die Regel für Ziel »codetools.ppu« scheiterte
make[1]: *** [codetools.ppu] Fehler 1
make[1]: Verzeichnis »/home/john1/lazarus/components/codetools« wird 
verlassen

Makefile:3140: die Regel für Ziel »codetools« scheiterte
make: *** [codetools] Fehler 2


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


[Lazarus] List down?

2017-08-10 Thread John Landmesser via Lazarus

just to see if my post will be shown on

lazarus-ide.org


because:

*Last message date:*/Sat Aug 5 16:27:27 CEST 2017/

/
/

/... or just holiday?
/

-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Favourite stand-alone db file?

2017-11-29 Thread John Landmesser via Lazarus

just plain text Files that works with SQL-Statements

http://wiki.lazarus.freepascal.org/ZMSQL


Am 26.11.2017 um 14:52 schrieb DougC via Lazarus:

It would be hard to beat SQLite for a small stand-alone single-user RDBMS.


 On Wed, 22 Nov 2017 00:07:02 -0500 *Chavoux Luyt via Lazarus 
* wrote 


Hi,

I remember that years ago in Delphi I often used Paradox (less
often dBase) to create a small stand-alone database with my Delphi
desktop programs. It had tge advantage of
1. using Delphi database controls,
2. no need for a database server or DBMS to be installed on the
client's machine (= less resources),
3. having the ability to deploy the database (basically the DB
file(s) (I think it was one file per table), a .dll and a setup
file telling the program where the db is stored (and links between
tables?)) all together in a single install file (Installshield
most of the time, sometimes a custom self-extracting file).

I am sure that Lazarus must still be used for these kind of
quick-and-easy small stand-alone desktop applications. But what is
your favourite small/embedded database for this kind of once-off
personal programs these days, and why? Preferably something that
can be used on both Linux and Windows without the need for ODBC or
similar.

Cheers
Chavoux
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org 
https://lists.lazarus-ide.org/listinfo/lazarus






-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Highlight matching brackets

2017-12-11 Thread John Landmesser via Lazarus

i think there is something wrong?!

Lazarus svn

Lazarus 1.9.0 r56691M FPC 3.0.4 x86_64-linux-gtk2

should highlight Brackets as () but it highlights single quotes '

that happens for WinXP too!

sceenshot of settings (right) and IDE (left)

.. could not send the sreenshot, it's over 100 kb!!

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Highlight matching brackets

2017-12-11 Thread john landmesser via Lazarus

issue occured after:

Lazarus 1.9.0 r56216M FPC 3.0.2 x86_64-linux-gtk2



Am 11.12.17 um 20:04 schrieb Vojtěch Čihák via Lazarus:


I can confirm. It is also broken for [] and {}. I observed that it 
depends on previous character:


ControlStyle:=ControlStyle+[csNoDesignVisible];  //works

ControlStyle:=ControlStyle+ [csNoDesignVisible];  //does NOT work

i.e. when previous char is "red" +-*/@() etc. it works, while 
abcde...ABCDE... or *space* doesn't. Also with UTF chars it doesn't 
work (ěščřžýáí)


V.

__
> Od: John Landmesser via Lazarus 
> Komu: Lazarus@lists.lazarus-ide.org
> Datum: 11.12.2017 19:33
> Předmět: [Lazarus] Highlight matching brackets
>

i think there is something wrong?!

Lazarus svn

Lazarus 1.9.0 r56691M FPC 3.0.4 x86_64-linux-gtk2

should highlight Brackets as () but it highlights single quotes '

that happens for WinXP too!

sceenshot of settings (right) and IDE (left)

.. could not send the sreenshot, it's over 100 kb!!

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus




-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] IDE menu editor - icons in dropdown are grayed

2017-12-20 Thread John Landmesser via Lazarus

Am 20.12.2017 um 08:46 schrieb AlexeyT via Lazarus:
Not sure it is bug. i added icon to mainmenu top items, and to 
dropdown items (e.g. File and File/Open). Menu editor: icon for File 
is yellow, ok. icon for File/Open is grayed, not ok. must be same icon.


gtk2, Laz trunk.


no problem with Manjaro Archlinux

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] error on compiling trunk

2018-01-09 Thread John Landmesser via Lazarus
/lazarus/components/codetools/identcompletiontool.pas(634,31) Error: 
(3205) Illegal qualifier



Lazarus 1.9.0 r56520M FPC 3.0.0 x86_64-linux-gtk2

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] error on compiling trunk

2018-01-09 Thread John Landmesser via Lazarus

Am 09.01.2018 um 16:17 schrieb Mattias Gaertner via Lazarus:

On Tue, 9 Jan 2018 16:10:51 +0100
John Landmesser via Lazarus  wrote:


/lazarus/components/codetools/identcompletiontool.pas(634,31) Error:
(3205) Illegal qualifier


Lazarus 1.9.0 r56520M FPC 3.0.0 x86_64-linux-gtk2

Current version is 57024. Please update.

Mattias


somehow strange

svn update && make all clear

Lazarus-Quelltext aufräumen: Erfolg
Kompiliere Package CodeTools 1.0.1: Exit code 256, Fehler: 1, Hinweise: 1
codebeautifier.pas(241,54) Hint: Parameter "SrcPos" not used
identcompletiontool.pas(634,31) Error: Illegal qualifier

code:

    if not CurItem.Identifier.IsEmpty then


whats the cause?

Lazarus 1.9.0 r56902M FPC 3.0.4 x86_64-linux-gtk2

thats on:

System:    Host: MintBox Kernel: 4.10.0-42-generic x86_64 (64 bit gcc: 
5.4.0)
   Desktop: Cinnamon 3.6.7 (Gtk 2.24.30) dm: mdm Distro: Linux 
Mint 18.3 Sylvia


No probs on Win10!!

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] error on compiling trunk

2018-01-09 Thread John Landmesser via Lazarus

Am 09.01.2018 um 19:22 schrieb Mattias Gaertner via Lazarus:

On Tue, 9 Jan 2018 16:10:51 +0100
John Landmesser via Lazarus  wrote:


/lazarus/components/codetools/identcompletiontool.pas(634,31) Error:
(3205) Illegal qualifier


Lazarus 1.9.0 r56520M FPC 3.0.0 x86_64-linux-gtk2

Fixed.

Mattias


ok with:

Lazarus 1.9.0 r57029 FPC 3.0.0 x86_64-linux-gtk2

thank you Mattias!

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Linux: howto define file *.lpi to be opened with lazarus?

2018-01-15 Thread John Landmesser via Lazarus
I'm on Linux-Mint Cinnamon and i want to associate *.lpi with lazarus 
Application:


*.lpi is of Filetype XML, but we need the fileExtension *.lpi here!!

found:

lazarus.desktop

copied:

 cp '/home/john1/lazarus/install/lazarus.desktop' /usr/share/applications/

and

lazarus-mime.xml

copied:

 cp '/home/john1/lazarus/install/lazarus-mime.xml' 
'/usr/share/mime/application/'


Content of these two files seems to define for what i'm looking for, but 
reboot wasn't enough.


What i'm missing to get the filetypes/extension-Database updated?

Tipps are welcome!!

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Linux: howto define file *.lpi to be opened with lazarus?

2018-01-15 Thread John Landmesser via Lazarus

tried this, didn't work :-(

update-mime-database /usr/share/mime/


-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Linux: howto define file *.lpi to be opened with lazarus?

2018-01-15 Thread John Landmesser via Lazarus

Am 15.01.2018 um 18:40 schrieb Howard Page-Clark via Lazarus:
Navigate to any .lpi file on your disk using the file browser (Nemo). 
Right click on that .lpi, and choose Properties. In the .lpi 
Properties dialog click on the third button at the top, Open With, and 
choose Lazarus from the list (if it is installed) or use the edit box 
at the bottom of the dialog to locate a Lazarus or StartLazarus 
executable if you have a various Lazarus versions to choose from. You 
can set this choice as the default.


Howard


no, this way i would assign *.lpi AND similiar (= filetype XML ) files 
to lazarus application.


 See the notice above the Listbox with applications you mentioned.

But thanks for your post, seems to be tricky :-)


--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Linux: howto define file *.lpi to be opened with lazarus?

2018-01-16 Thread John Landmesser via Lazarus



Am 15.01.2018 um 22:46 schrieb Mark Morgan Lloyd via Lazarus:


Possibly one of the xdg-* programs... a bit of Googling suggests xdg-mime



seems to work now:

executed:
xdg-mime install ./lazarus-mime.xml

But *.xml is still opened by lazarus aplication. Could be because i 
really tried a lot of useless things before?!


FileExtensions are a real hassle on linux?!!




Result:

xdg-mime install ./lazarus-mime.xml

creates:

'/home/john1/.local/share/mime/aliases'
'/home/john1/.local/share/mime/generic-icons'
'/home/john1/.local/share/mime/globs'
'/home/john1/.local/share/mime/globs2'
'/home/john1/.local/share/mime/icons'
'/home/john1/.local/share/mime/magic'
'/home/john1/.local/share/mime/mime.cache'
 '/home/john1/.local/share/mime/subclasses'
 '/home/john1/.local/share/mime/treemagic'
 '/home/john1/.local/share/mime/types'
 '/home/john1/.local/share/mime/version'
 '/home/john1/.local/share/mime/XMLnamespaces'

and there are more subdirs!

They all seems to handle lazarus *.lpi ...

Windows is much easier in this respect?!

Thanks for your tipps!!
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus trunk: AV on rightClick on Component-pallette: ShowAll

2018-02-08 Thread John Landmesser via Lazarus

On 08.02.2018 12:57, Landmesser John via Lazarus wrote:

do i have to write a bug report?


Lazarus 1.9.0 "today" FPC 3.0.4 i386-win32-win32/win64


bug report done

https://bugs.freepascal.org/view.php?id=33139

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus trunk: AV on rightClick on Component-pallette: ShowAll

2018-02-08 Thread John Landmesser via Lazarus

On 08.02.2018 20:58, Juha Manninen via Lazarus wrote:

On Thu, Feb 8, 2018 at 8:51 PM, Juha Manninen  wrote:

Can you open the components list with Ctrl-Shift-P ?

I meant Ctrl-Alt-P.

Juha


Ctrl-Alt-P

is already defined on my Linux XFCE

Have to learn how to redefine it in Lazarus

Same issue for Windows XP Lazarus trunk!
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus trunk: AV on rightClick on Component-pallette: ShowAll

2018-02-08 Thread John Landmesser via Lazarus

On 08.02.2018 20:58, Juha Manninen via Lazarus wrote:

On Thu, Feb 8, 2018 at 8:51 PM, Juha Manninen  wrote:

Can you open the components list with Ctrl-Shift-P ?

I meant Ctrl-Alt-P.

Juha


sam AV if i use the keyboard shortcut

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus trunk: AV on rightClick on Component-pallette: ShowAll

2018-02-08 Thread john Landmesser via Lazarus



Am 08.02.2018 um 21:45 schrieb John Landmesser via Lazarus:

On 08.02.2018 20:58, Juha Manninen via Lazarus wrote:
On Thu, Feb 8, 2018 at 8:51 PM, Juha Manninen 
 wrote:

Can you open the components list with Ctrl-Shift-P ?

I meant Ctrl-Alt-P.

Juha


sam AV if i use the keyboard shortcut



strange:  same AV on Win 10

In Office i tested with Windows XP

Now at home i tested Linux XFCE and Windows 10

So there are two different hardware configuration with same AV error.

I have fpc 3.02 and 3.0.4 !?
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus trunk: AV on rightClick on Component-pallette: ShowAll

2018-02-08 Thread john Landmesser via Lazarus

did a fresh svn download of lazarus

Without own components it is ok but this AV appears again after 
compiling with my extra components?!!




--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus trunk: AV on rightClick on Component-pallette: ShowAll

2018-02-08 Thread John Landmesser via Lazarus
same experience for Linux XFCE and own components installed -> AV with 
these messages:



TLazarusManager.Run starting /home/john1/lazarus/lazarus ...
Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] 
PrimaryConfigPath="/home/john1/.lazarus"
Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] 
SecondaryConfigPath="/etc/lazarus"
Hint: (lazarus) [TBuildManager.SetBuildTarget] Old=x86_64-linux-gtk2 
New=x86_64-linux-gtk2 FPC=True LCL=False
TObjectInspectorDlg.FillPersistentComboBox: Updating ComboBox with 
components
TObjectInspectorDlg.FillPersistentComboBox: Updating ComboBox with 
components

TComponentTreeView.SetSelection: Updating component node values.
TLazSourceFileManager.LoadLFM Creating designer for hidden component 
of /run/media/john1/ntfs1/PROJEKTE/Lazarus/Anleitung/unit1.pas
TLazSourceFileManager.InitOpenedProjectFile select form in designer: 
Form1:TForm1 TDesigner
TObjectInspectorDlg.FillPersistentComboBox: Updating ComboBox with 
components


(lazarus:3564): GLib-GObject-WARNING **: gsignal.c:1207: no emission 
of signal "button-release-event" to stop for instance '0x3b8fa90'


(lazarus:3564): GLib-GObject-WARNING **: gsignal.c:1207: no emission 
of signal "button-release-event" to stop for instance '0x3b8fa90'


(lazarus:3564): GLib-GObject-WARNING **: gsignal.c:1207: no emission 
of signal "button-release-event" to stop for instance '0x3b8fa90'

TApplication.HandleException Access violation
  Stack trace:
  $005A150D line 5745 of include/control.inc
  $009105AC line 2254 of idewindowintf.pas
  $004B5A51 line 5916 of main.pp
  $009B9C91 line 565 of componentpalette.pas
  $005D9C4C line 83 of include/menuitem.inc
  $005DA528 line 293 of include/menuitem.inc
  $00432E0F
  $00655421 line 3705 of gtk2/gtk2proc.inc
  $007D09F6 line 139 of gtk2/gtk2wsmenus.pp
  $7F5F99D5EC5D
TObjectInspectorDlg.FillPersistentComboBox: Updating ComboBox with 
components

LAZARUS END - cleaning up ...
Hint: (lazarus) [TMainIDE.Destroy] B  -> inherited Destroy... TMainIDE
Hint: (lazarus) [TMainIDE.Destroy] END



--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus trunk: AV on rightClick on Component-pallette: ShowAll

2018-02-09 Thread john Landmesser via Lazarus

just followed my intuition and uninstalled

https://svn.code.sf.net/p/lazarus-ccr/svn/components/rx

didn't used it ad don't know why to realive RxLib, that was really great.

We have replacements in Lazarus itself!

Thanks guys!

Can someone close the bugreport:

https://bugs.freepascal.org/view.php?id=33139


Am 09.02.2018 um 00:11 schrieb Juha Manninen via Lazarus:

On Thu, Feb 8, 2018 at 11:16 PM, john Landmesser via Lazarus
 wrote:

Without own components it is ok but this AV appears again after compiling
with my extra components?!!

Ok, there you go...
Do the components work when added from the palette?
Your stack trace is usable but better still would be a proper GDB backtrace.
Run Lazarus under GDB and then type "bt" after the AV.


Ctrl-Alt-P is already defined on my Linux XFCE

The same window can be opened also from menu View -> Components.

Juha


--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Strange screen flickering Lazarus revision > 57000

2018-02-20 Thread John Landmesser via Lazarus

the delivered patch in https://bugs.freepascal.org/view.php?id=33198 is:

Index: grids.pas
===
--- grids.pas    (revision 57332)
+++ grids.pas    (working copy)
@@ -9414,6 +9414,8 @@
 procedure TCustomGrid.Loaded;
 begin
   inherited Loaded;
+  if not (csDesigning in ComponentState) then
+    DoubleBuffered := DoubleBuffered or 
(GetSystemMetrics(SM_REMOTESESSION)=0); // force DoubleBuffered if not 
used in remote session

   VisualChange;
 end;


but in Grid.pas Revision 57333

procedure TCustomGrid.Loaded;
begin
  inherited Loaded;
  VisualChange;
end;


so the patch was never applied??


Am 20.02.2018 um 14:24 schrieb Juha Manninen via Lazarus:

This report is about the same issue:
  https://bugs.freepascal.org/view.php?id=33198

On Tue, Feb 20, 2018 at 10:44 AM, Landmesser John via Lazarus
 wrote:

Lazarus 1.9.0 57333 FPC 3.0.4 i386-win32-win32/win64
Windows XP SP3
No flickering with same app and Windows 2003 !!

Maybe the solution should be specific to LCL-Win32 and Windows version.

Juha


--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Howto use Tooltip for function pos( for example?

2018-03-15 Thread John Landmesser via Lazarus

bug-report, done

https://bugs.freepascal.org/view.php?id=33433


Am 15.03.2018 um 13:21 schrieb Juha Manninen via Lazarus:

On Thu, Mar 15, 2018 at 2:07 PM, Landmesser John via Lazarus
 wrote:

Should i write bug-report?

Yes please.

Juha


--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Terminal Component Available

2018-04-14 Thread John Landmesser via Lazarus


for

Lazarus 1.9.0 r57653 FPC 3.0.4 x86_64-linux-gtk2

you need also dynlibs in gtk2term:

uses
  GLib2, Gtk2, dynlibs;


Am 11.04.2018 um 05:12 schrieb Anthony Walter via Lazarus:

I'm am starting a new thread because I've completed my task.

Here is a terminal component for Lazarus that is easy to reuse.

https://cache.getlazarus.org/archives/terminal.7z

To install, make sure you're on Linux with a Gtk2 copy of Lazarus. 
Open package terminaldsgn.lpk, install, and rebuild the IDE. You'll 
have a TTerminal component on your pallet. Drop it on a form, press 
run, and you have your own terminal program.


Here is a longish video walk through of how it works:

https://cache.getlazarus.org/videos/vte-finished.mp4

The source code is completely free, copy left, if anyone wants to 
reuse it.


Notes, you need to be using Linux and have libvte for gtk2 installed 
to use the component. You can be running other platforms, but you'll 
just see the design time surface it you're not on Linux.





-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] TStringGrid sort symbol in TitleButton

2018-05-14 Thread John Landmesser via Lazarus

Hi Zeljko,

think of a *.csv file and StringGrid.LoadFromCSV...

No columns defined in StringGrid, they will be created "on the fly" and 
user wants to sort a column by click on columnTitle.


There are default arrows that only show up if you define at least one 
column and thats not ok i think!


Bug report:
https://bugs.freepascal.org/view.php?id=33731


Am 14.05.2018 um 14:30 schrieb zeljko:

On 05/14/2018 01:43 PM, Landmesser John via Lazarus wrote:
In a StringGrid without(!) defined columns you never see that up and 
down arrow in the TitleButton if you click to sort this column.


It's ok if you define at least one column, but i think that shouldn't 
be this way.


I don't get what is exact problem. If there's no columns why Sort 
indicator should be visible at all (and where) ?

In any case you can create bug report and attach example project.

zeljko



Attached patch comments out

//FImageIndex := -1;

My first patch :-)

Lazarus 1.9.0 r57932M FPC 3.0.4 i386-win32-win32/win64







--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Package/New Package broken

2018-05-16 Thread John Landmesser via Lazarus

Hi,

Lazarus 1.9.0 r57942 FPC 3.0.0 x86_64-linux-gtk2

try Package/New Package

and you get an Error Dialog.


"PackageEditor_Neues Package1" is not a valid component name.



--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Lazarus-ccr Access

2018-05-17 Thread John Landmesser via Lazarus

Hi,

TStringGrid sorts everything as string!

To improve that i developed TSortGrid, derived from TStringGrid, but 
capable of sorting Integer, Float, Date, Time, String and show up- and 
down- Arrows in Titlebar.


See

https://github.com/JohnML1/SortGrid.git

.. see demo-Folder

is that a candidate for ccr and can i get access to it?

Thanks

John Landmesser

-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus-ccr Access

2018-05-17 Thread John Landmesser via Lazarus

Am 17.05.2018 um 17:40 schrieb Joost van der Sluis via Lazarus:

Op 17-05-18 om 13:20 schreef John Landmesser via Lazarus

TStringGrid sorts everything as string!

To improve that i developed TSortGrid, derived from TStringGrid, but 
capable of sorting Integer, Float, Date, Time, String and show up- 
and down- Arrows in Titlebar.


See

https://github.com/JohnML1/SortGrid.git

.. see demo-Folder

is that a candidate for ccr and can i get access to it?


You can also distribute it with Fppkg. The project is already on 
github, adding it to the Lazarus-CCR does not add much value.


If you create an fpmake.pp file for it and send me the archive for it. 
(fppkg archive) then I'll add it to the testing-repository. (btw: you 
also may do this yourself, but for that you need an account and some 
help.)


Regards,

Joost.


Hi Joost,

just discovered "online package manager"

it gets the packages from http://packages.lazarus-ide.org

This online package manager is a great tool and this location seems to 
be the right place?


Howto upload to this URL?

p.s. never created a fpmake.pp :-(

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus-ccr Access

2018-05-18 Thread John Landmesser via Lazarus

Am 18.05.2018 um 15:44 schrieb Werner Pamler via Lazarus:

Am 17.05.2018 um 13:20 schrieb John Landmesser via Lazarus:

is that a candidate for ccr and can i get access to it?


It was Felipe who gave me commit rights for ccr, just contact him 
directly referring to this thread. You'll find his mail address by 
seeking his posts in this mailing list.


But to be honest, having exerienced a series of severe downs of 
SourceFourge recently, I'd not recommend anybody to post new 
activities to CCR (=SourceForce) any more. You are already on github, 
why don't you stay there? You just should make sure that your package 
is added to OnlinePackageManager such that it is easily reachable by 
Lazarus - but in the forum there is already a discussion about this.


done, its from today allready on Online Package Manager, OPM... a really 
great package for Lazarus IDE!


--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Package/New Package broken

2018-05-18 Thread John Landmesser via Lazarus

Am 17.05.2018 um 00:01 schrieb Cyrax via Lazarus:

On 16/05/18 10:44, John Landmesser via Lazarus wrote:

Hi,

Lazarus 1.9.0 r57942 FPC 3.0.0 x86_64-linux-gtk2

try Package/New Package

and you get an Error Dialog.


"PackageEditor_Neues Package1" is not a valid component name.





Lazarus 1.9.0 r57946 FPC 3.1.1-r39004 x86_64-linux-gtk2

I can't reprocude this bug. Maybe you can try to do full clean build 
of the IDE and see if it fixes this?




No it occurs because of my german locale. Issue is gone with english and 
-> "NewPackage.lpk"


There are spaces in "PackageEditor_Neues Package1" and thats not 
possible for package names!


Too tired now to write the bug report :-(

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Package/New Package broken

2018-05-19 Thread John Landmesser via Lazarus

Fixed by Mattias:

2018-05-18 23:36 Mattias GaertnerBearbeitung durch => Mattias Gaertner



Am 19.05.2018 um 01:35 schrieb Martok via Lazarus:

Am 19.05.2018 um 00:27 schrieb Werner Pamler via Lazarus:

I cannot confirm the issue either (I am German, too). I do no see the
space in the name. Are you sure that you did not enter it yourself?

Happens for me too, no input required. This used to work at some point...

Lazarus-1.9-57954_fpc-3.1.1-39024M

Backtrace:

#0  0x0040f676 in fpc_raiseexception ()
#1  0x004899e4 in CLASSES$_$TCOMPONENT_$__$$_SETNAME$ANSISTRING ()
#2  0x0055f931 in SETNAME (this=0x2f1e68, VALUE=0xb79a07c 'PackageEditor_Neues 
Package') at include/control.inc:3492
#3  0x00b247ad in PACKAGEEDITOR$_$TPACKAGEEDITORFORM_$__$$_UPDATEALL$BOOLEAN ()
#4  0x00b23a70 in 
PACKAGEEDITOR$_$TPACKAGEEDITORFORM_$__$$_SETLAZPACKAGE$TLAZPACKAGE ()
#5  0x00b28328 in 
PACKAGEEDITOR$_$TPACKAGEEDITORS_$__$$_CREATEEDITOR$TLAZPACKAGE$BOOLEAN$$TPACKAGEEDITORFORM
 ()
#6  0x0892be18 in ?? ()
#7  0x007fbee4 in PKGMANAGER$_$TPKGMANAGER_$__$$_DONEWPACKAGE$$TMODALRESULT ()
#8  0x007f4a48 in 
PKGMANAGER$_$TPKGMANAGER_$__$$_MAINIDEITMPKGNEWPACKAGECLICK$TOBJECT ()
#9  0x00732325 in MENUITEMCLICK (this=0xb4d13e0, SENDER=0xb4ce2f8) at 
menuintf.pas:544
#10 0x00734df5 in MENUITEMCLICK (this=0xb4d13e0, SENDER=0xb4ce2f8) at 
menuintf.pas:1705
#11 0x00585f40 in CLICK (this=0xb4ce2f8) at include/menuitem.inc:83
#12 0x005865bf in DOCLICKED (this=0xb4ce2f8, MSG=0) at include/menuitem.inc:293



--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Start Lazarus and press F9 to see a console saying: "Analysing... Coding..."

2018-08-05 Thread John Landmesser via Lazarus

.. works ok with:

Lazarus 1.9.0 r58509 FPC 3.0.4 x86_64-linux-gtk2


Am 05.08.2018 um 17:06 schrieb Marcos Douglas B. Santos via Lazarus:

I've updated my Lazarus and now I cannot start any GUI application.
Th IDE shows a console saying "Analysing... Coding...".

To reproduce, just start Lazarus and press F9.

Lazarus 1.9.0 r58680M FPC 3.1.1 i386-win32-win32/win64

regards,
Marcos Douglas




-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] error if lhelp needs to be compiled

2018-08-20 Thread John Landmesser via Lazarus

path is wrong: double slash:

The program "/home/john1/lazarus//components/chmhelp/lhelp/lhelp" does 
not seem to exist

or could not be built!

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] error if lhelp needs to be compiled

2018-08-21 Thread John Landmesser via Lazarus

Am 20.08.18 um 20:23 schrieb John Landmesser via Lazarus:

path is wrong: double slash:

The program "/home/john1/lazarus//components/chmhelp/lhelp/lhelp" does 
not seem to exist

or could not be built!


Lazarus:

Lazarus 1.9.0 r58745 FPC 3.0.4 x86_64-linux-gtk2

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Loading an image to a mysql blob

2018-11-01 Thread John Landmesser via Lazarus

Am 31.10.18 um 13:05 schrieb Terry A. Haimann via Lazarus:

I tried loading an image into a Medium Blob.  The image uploads and
shows up on my form, but when I click post on my DbNavigator the
program gives me an access violation.

Here is the source code:

procedure TPropertyForm.ImgButClick(Sender: TObject);
Var
   MyImageFile, MyDir:  String;
begin
  MyImageFile := '/';
  if OpenDialog1.Execute then
  begin
   MyImageFile := OpenDialog1.Filename;
  end;
  DbPropImg.Picture.Jpeg.LoadFromFile(MyImageFile);

End;

Am I missing something I have to do?  The blob should be large enough,
they are supposed to be able to hold 16 Meg and the jpegs are running
about 2 - 3 meg.  I am running Mint 18.3, using Mysql 5.7.22 and using
ZeosDBO.

Terry Haimann


.. perhaps a Dataset.edit before

DbPropImg.Picture.Jpeg.LoadFromFile(MyImageFile);



DbPropImg.Picture.Jpeg.LoadFromFile(MyImageFile);

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] How to build FPC/Lazarus from sources on Windows?

2018-11-07 Thread John Landmesser via lazarus

have a look at:

http://wiki.freepascal.org/fpcupdeluxe

that should be sufficient?!!



Am 07.11.18 um 14:22 schrieb Bo Berglund via lazarus:

On Wed, 07 Nov 2018 12:23:29 +0100, Bo Berglund via lazarus
 wrote:


On Wed, 07 Nov 2018 11:51:36 +0100, Bo Berglund via lazarus
 wrote:


Is there an up-to-date page describing the exact procedure to build
FPC and Lazarus from sources retrieved via SVN on Windows?


After posting I found this page:

http://wiki.lazarus.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN_.28Win32.29

Maybe this is the definite instruction?
I will have a look and see if it works out like I need...


A question:
This page deals with 32 bit fpc/lazarus at least on Windows...
If I want to build the 64 bit version, where should I then put the 64
bit binutils?
The suggested path c:\freepascal\binutils\i386-win32\ seems incorrect.

Could I set it to c:\freepascal\binutils\x86_64-win64\ ?
Or does it not matter? I really would like to have both 32 and 64 bit
available.




--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] compile error svn Lazarus 2.1

2018-12-03 Thread John Landmesser via lazarus
 /home/john1/lazarus/packager/fppkghelper.pas(28,31) Hint: (5024) 
Parameter "PackageName" not used
/home/john1/lazarus/packager/fppkghelper.pas(29,28) Hint: (5024) 
Parameter "AList" not used
/home/john1/lazarus/packager/fppkghelper.pas(131,19) Error: (5000) 
Identifier not found "FFPpkg"
/home/john1/lazarus/packager/fppkghelper.pas(131,51) Error: (5000) 
Identifier not found "pkgpkInstalled"
/home/john1/lazarus/packager/fppkghelper.pas(132,26) Error: (5038) 
identifier idents no member "PackagesStructure"
fppkghelper.pas(138) Fatal: (10026) There were 3 errors compiling 
module, stopping


--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] compile error svn Lazarus 2.1

2018-12-04 Thread John Landmesser via lazarus

last working version:

Lazarus 2.1.0 r59677 FPC 3.0.4 x86_64-linux-gtk2

Am 03.12.18 um 21:57 schrieb John Landmesser via lazarus:
 /home/john1/lazarus/packager/fppkghelper.pas(28,31) Hint: (5024) 
Parameter "PackageName" not used
/home/john1/lazarus/packager/fppkghelper.pas(29,28) Hint: (5024) 
Parameter "AList" not used
/home/john1/lazarus/packager/fppkghelper.pas(131,19) Error: (5000) 
Identifier not found "FFPpkg"
/home/john1/lazarus/packager/fppkghelper.pas(131,51) Error: (5000) 
Identifier not found "pkgpkInstalled"
/home/john1/lazarus/packager/fppkghelper.pas(132,26) Error: (5038) 
identifier idents no member "PackagesStructure"
fppkghelper.pas(138) Fatal: (10026) There were 3 errors compiling 
module, stopping




--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] compile error svn Lazarus 2.1

2018-12-04 Thread john Landmesser via lazarus

errors start with rev. 59710

IDE: Fixed possible AV's during the dependency checks on fpmake-packages


Am 04.12.2018 um 15:10 schrieb John Landmesser via lazarus:

last working version:

Lazarus 2.1.0 r59677 FPC 3.0.4 x86_64-linux-gtk2

Am 03.12.18 um 21:57 schrieb John Landmesser via lazarus:
 /home/john1/lazarus/packager/fppkghelper.pas(28,31) Hint: (5024) 
Parameter "PackageName" not used
/home/john1/lazarus/packager/fppkghelper.pas(29,28) Hint: (5024) 
Parameter "AList" not used
/home/john1/lazarus/packager/fppkghelper.pas(131,19) Error: (5000) 
Identifier not found "FFPpkg"
/home/john1/lazarus/packager/fppkghelper.pas(131,51) Error: (5000) 
Identifier not found "pkgpkInstalled"
/home/john1/lazarus/packager/fppkghelper.pas(132,26) Error: (5038) 
identifier idents no member "PackagesStructure"
fppkghelper.pas(138) Fatal: (10026) There were 3 errors compiling 
module, stopping





--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] TListView + OwnerData=true + CheckBoxes

2018-12-11 Thread John Landmesser via lazarus

perhaps useful:

http://tinyurl.com/y8p4zzf3

Am 11.12.18 um 13:18 schrieb Marcos Douglas B. Santos via lazarus:

On Tue, Dec 11, 2018 at 10:06 AM zeljko  wrote:

On 12/11/2018 12:44 PM, Marcos Douglas B. Santos wrote:

On Tue, Dec 11, 2018 at 5:40 AM zeljko  wrote:

On 12/10/2018 08:38 PM, Marcos Douglas B. Santos via lazarus wrote:


I don't know what Themes is.
I want to use just default components.

...and nobody more answered.
Is everybody using TDBGrid to show their data?  :)

No. Use TVirtualStringTree instead of TListView, it's x10 faster.

Do you mean this https://github.com/blikblum/VirtualTreeView-Lazarus ?

I'm using an older implementation (v.4.8) of VirtualTrees, and yes, I've
checkouted it from blikblum page.
Online Package Manager (OPM) for lazarus installs TVirtualStringTree by
default , so you already have it in lazarus if you're using trunk or
2.0RCxx (2.0 fixes).

I've searched by TVirtualStringTree  on
http://packages.lazarus-ide.org/ and haven't found.
My ENV is Lazarus 1.9.0 r58537 FPC 3.1.1 i386-win32-win32/win64
I have several IDE versions but, for that project I cannot update my
ENV cause other developers are using the same version above.

But, about TVirtualStringTree, is it easy to do what I need, ie, using
virtual data (as records) with checkboxes showing automagically?

best regards,
Marcos Douglas

PS: sorry, I have sent the previous email just for you.



--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Wiki animated logo

2018-12-18 Thread John Landmesser via lazarus

Am 17.12.18 um 18:19 schrieb AlexeyT via lazarus:
Hi. Can someone replace animated 
http://wiki.freepascal.org/skins/pic/logo.gif  - running cat - to 
static pic? It can be from http://wiki.freepascal.org/Logos_and_Banners



very good idea!!

Kill that nervous cat !!

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Theme support for lazarus IDE

2019-03-04 Thread John Landmesser via lazarus

this one works ok on Linux:

|GTK_THEME=Adwaita:dark gedit but lazarus ignores this setting?! ... i 
like a desktop dark theme, but not for lazarus. I would prefer ||GTK_THEME=Adwaita:light for lazarus Long time ago Michael Van Canneyt 
told us lazarus as gtk-App should be capable of theme per application 
basis?! But i can't find that in List-history. Any idea? |


-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Theme support for lazarus IDE

2019-03-05 Thread John Landmesser via lazarus

Am 05.03.19 um 11:42 schrieb Anthony Walter via lazarus:
The GTK_THEME variable is recognized by Gtk 3. For Gtk 2 you need to 
set GTK2_RC_FILES to the gtkrc file for the theme you want. Your Gedit 
is build using Gtk 3. Lazarus is typically build on Linux using Gtk 2.


See also: https://wiki.archlinux.org/index.php/GTK+#Themes



 Thanks for that tipp!!

But the Arch-Wiki tells also:


 Examples

GTK+ example configurations:

*Note:*May be ignored by somedesktop environments 
(e.g.GNOME 
).

... that also seems to be true for my Manjaro XFCE :-(
Tried in vain to compile lazarus with gtk3 Widget style.
I'll stay with general light theme!

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] TLabel or TStaticText?

2019-03-15 Thread John Landmesser via lazarus

what about a new form with FormStyle := fsSystemStayOnTop ?!

Am 15.03.19 um 12:37 schrieb frans via lazarus:

Hi,

I'm using Lazarus 1.8.4 on Win10. In my application I have a Form with 
2 functions. (1) Is to download files from an internet server using 
ftp, (2) is to store the data from those files in the datacollection.
Sometimes I loose my internet connection and in that case I want to 
show a warning in the the middle of the form and in front of all the 
other components. For the warning I use a TLabel component for the 
layout parameter tlCenter. But the label is partly hidden behind 
another component (TFileListBox) and BringToFront doesn't help.
Now I tried a TStaticText component and that works just fine. Except 
that it has no Layout property and no Paint procedure I could override.
Is there a component that gives me all the behaviour I want? Is there 
a way to bring the TLabel realy in front of all other components? Is 
there a way to vertical align the text of a TStaticText caption?


Thx for your reactions



--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] make useride error

2019-03-15 Thread John Landmesser via lazarus

if i svn update lazarus and then make useride

i get in terminal this error:

make[2]: Entering directory '/home/john1/lazarus/ide'
make[1]: *** No rule to make target 'cleanide ide'.  Stop.
/usr/bin/rm -f
/usr/bin/rm -f
/usr/bin/rm -f
repeats ...

make[2]: Leaving directory '/home/john1/lazarus/ide'
make[1]: Leaving directory '/home/john1/lazarus'
Error: (lazarus) IDE erstellen: stopped with exit code 2
Error: (lazarus) Building IDE: Building IDE failed.
make: *** [Makefile:3279: useride] Fehler 2


Line 3279 in Makefile is:

useride:
    ./lazbuild$(SRCEXEEXT) --lazarusdir=. --build-ide=


No probs compiling out of the IDE itself!


Systeminfo:

Lazarus 2.1.0 r60688M FPC 3.0.4 x86_64-linux-gtk2

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Linux: how to get colored output in terminal of "make useride" for example?

2019-04-04 Thread John Landmesser via lazarus

... errors should be red ...

Therefore do i need a bunch of settings in bashrc??

Copy/paste would be nice :-)

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] make useride error

2019-04-05 Thread John Landmesser via lazarus

Solution:

Delete ~/.lazarus configuration files and start configuring Lazarus
again from scratch.




Am 15.03.19 um 22:21 schrieb John Landmesser via lazarus:

if i svn update lazarus and then make useride

i get in terminal this error:

make[2]: Entering directory '/home/john1/lazarus/ide'
make[1]: *** No rule to make target 'cleanide ide'.  Stop.
/usr/bin/rm -f
/usr/bin/rm -f
/usr/bin/rm -f
repeats ...

make[2]: Leaving directory '/home/john1/lazarus/ide'
make[1]: Leaving directory '/home/john1/lazarus'
Error: (lazarus) IDE erstellen: stopped with exit code 2
Error: (lazarus) Building IDE: Building IDE failed.
make: *** [Makefile:3279: useride] Fehler 2


Line 3279 in Makefile is:

useride:
    ./lazbuild$(SRCEXEEXT) --lazarusdir=. --build-ide=


No probs compiling out of the IDE itself!


Systeminfo:

Lazarus 2.1.0 r60688M FPC 3.0.4 x86_64-linux-gtk2



--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] is there a free Grid component better than the default TStringGrid?

2019-05-27 Thread John Landmesser via lazarus

perhaps TSortGrid from Online Package Manager that handles String,
Float, Integer as you would expect?!

Am 27.05.19 um 06:43 schrieb Dennis via lazarus:

I am hoping one that supports different column types editing without
much coding on my side.
thanks in advance.

Dennis



-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] is there a free Grid component better than the default TStringGrid?

2019-05-27 Thread John Landmesser via lazarus

See attached demo that works without installing TSortGrid.

m 27.05.19 um 11:02 schrieb John Landmesser via lazarus:

perhaps TSortGrid from Online Package Manager that handles String,
Float, Integer as you would expect?!

Am 27.05.19 um 06:43 schrieb Dennis via lazarus:

I am hoping one that supports different column types editing without
much coding on my side.
thanks in advance.

Dennis






<>
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] is there a free Grid component better than the default TStringGrid?

2019-05-28 Thread John Landmesser via lazarus

Yes, sorry in ProjectIInspector there is a dependency that should have
been removed by me:


second possibility ignore the warning and compile: works here!



m 27.05.19 um 17:07 schrieb Dennis via lazarus:



John Landmesser via lazarus wrote:

See attached demo that works without installing TSortGrid.



 I opened your zip and Lazarus complained that Laz_SortGrid is missing.
After I used Online Package Manager ot install SortGrid, it complained
the Sortgrid.pas file is missing

Dennis



-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] It is a beautiful day...

2019-07-12 Thread John Landmesser via lazarus

Little improvement:

Highlight the current compiling project:

Why?

Think of a package with examples all called project1, so you don't know
which project eventually throws an error?!!

Thanks for project-groups!!


Am 11.07.19 um 17:46 schrieb Michael Van Canneyt via lazarus:


Hello,

For those of you that don't follow the SVN logs closely:

The IDE now has proper support for Project groups.
Project groups already existed for some time, but were crippled.

With 2 additions they are now actually very useful:

- You can let Ctrl-F9 compile the current target in a project group,
and that
  includes for instance a package !
  (you can set this in Tools - Options - Project groups)

- "Find in files" now has the option 'Search in project group'

They now offer all functionality as in Delphi. In difference with the
latter,
their use is entirely optional...

My heartfelt thanks to Mattias for completing the 'Project group'
functionality !

Michael.



--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Default color of form in RGB?

2019-10-13 Thread John Landmesser via lazarus

Am 13.10.19 um 21:55 schrieb Anthony Walter via lazarus:

Does anyone know of a reliable way get the default color of a form (as
in clDefault) in RGB? I am writing some code to prepare bitmaps and I
want their background to match the default color of a form.
Unfortunately I don't see a way to convert clDefault to an RGB value.


Just an idea:

https://www.maketecheasier.com/color-picker-tools-for-linux/

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Update Lazarus from svn, what happens on rebuild?

2019-12-18 Thread John Landmesser via lazarus

All packages become part of the lazarus executable.

Thats different from Delphi for example where packages are dynamical loaded.



This one builds the IDE with all extra packages you installed yourself:

make clean lazbuild useride starter

i Hope, thats a useful and correct answer!

Am 18.12.19 um 21:17 schrieb Bo Berglund via lazarus:

Say I have retrieved Lazarus sources from SVN and worked with it some
time.
I usually install certain extra packages suiting my development
projects etc.
Now I update from SVN and rebuild Lazarus, is there some way to make
sure that what non-standard packages I had installed earlier gets
installed again?

The reason I ask is that I have run into a problem with a Raspberry Pi
installation the other day. I wanted to install fpWeb, which is part
of available packages in Lazarus. I had already installed two packages
via On Line Package Manager and one from sources copied into the
components dir.
What happened is that the rebuild IDE failed and I could not get it to
succeed no matter what I tried, so I did this:
- Closed Lazarus
- Navigated into the Lazarus/2.0.6 dir and then
- make clean
- make bigide OPT=-dFPC_ARMHF FPC=/home/pi/bin/ppcarm

After this was done (no errors) I opened Lazarus and found that the
extra packages I had previously installed was missing from the palette
so I had to re-install them. This worked without the previous errors,
though.

Is there some method in this case to actually get Lazarus populated
with the previously configured set of packages without starting over
from scratch?

I assume the same would be needed if I update from SVN and then
rebuild Lazarus?

h



--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Update Lazarus from svn, what happens on rebuild?

2019-12-22 Thread John Landmesser via lazarus



Do I have to specify the --pcp directory in order for the command to
correctly find the already installed packages that need to be built
into the IDE?


I have only one Lazarus (svn) version installed, so i guess:




If so how is that information incorporated into the command?
The command itself will be executed from within the Lazarus source dir
(retrieved from SVN).



Yes, cd  to source-tree, open a terminal and execute

make clean lazbuild useride starter --pcp='/your/lazarus/config/path/'

Just try it out!

Regards

John


--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Projects in a directory hierarchy - what is allowed?

2020-02-03 Thread John Landmesser via lazarus

Two steps i would try:

A) File/Clean Directory

B) Run/Clean and rebuild

I have a german Lazarus IDE, so the commands perhaps called different!

.. never had these sort of issue, never uesed

Raspbian Buster

good luck

John


Am 02.02.20 um 23:50 schrieb Bo Berglund via lazarus:

I have encountered a strange problem that was discovered when I moved
sources between Windows 10 and Raspbian Buster.
It appears that my directory structure does not behave like when I
used Delphi...

I am using Lazarus 2.0.6 and FPC 3.0.2 in both Windows 10 and Raspbian
Buster (on an RPi4B with 4GB RAM).

I am working on a webapp (command line program supplying webpages on
demand from Apache) as part of a larger system of programs to control
hardware through the RPi4.

I have used a directory structure where the main control app resides
in a top directory with subdirectories for various utilities (like the
webapp for configuration purposes).

It was started on Raspbian, but I had problems with the Lazarus IDE
(it crashes regularly several times a day and then I lose all edits
since the last save). So I moved over to Windows and got the sources
via Subversion. On Windows Lazarus never crashes.

Then I could develop here and use the IDE to check that it builds. I
could not use the exe file with Apache because I don't have apache on
Windows, but I could work around it and check the output of the webapp
anyway using environment variables when I run the executable.

So far so good, but to do the tests properly through Apache I moved
back to RPi4 (via SVN) and it worked just fine there too. I could make
adjustments etc and test via apache that the webapp worked.

Then I did a new cycle back to Windows and now something has happened
that is a showstopper.

If I now open the project in Lazarus and command Compile, build or
Quick compile an error is triggered telling me that a file not used by
my project cannot find its Linux-only units in the uses clause
Here the show stops!

It complains that it cannot find some unix-only units inside the
sourcefile PiGpio.pas, which is used by another project residing one
level up in the tree from the working dir of the current project.

I have had to add a path to the parent dir (../) in the project
options because I need a few common units which define some used
classes and these units reside one level up.
But these are only 3 units and definitely NOT the units that use
PiGpio.pas!!!
The unit where PiGpio is in the uses clause is a completely separate
source file for another project.

Questions:
1) Is it not allowed to use source files *above* the current project
dir?

2) If I add a path .. via project properties does this really mean
that Lazarus will try to compile ALL source files found there even if
only a couple are part of the current project?

3) What can I do to remedy this problem?




--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] svn update can't be compiled

2020-02-24 Thread John Landmesser via lazarus

Hi,

Info:

Lazarus 2.1.0 r62571M FPC 3.0.4 x86_64-linux-gtk2

error compiling the IDE:


Lazarus-Quelltext aufräumen: Erfolg
Kompiliere Package FCL 1.0.1: Erfolg
Kompiliere Package LazUtils 1.0: Erfolg, Warnungen: 2
laz2_dom.pas(1944,14) Warning: Symbol "BuildList" is deprecated: "Use
NodeFilter instead."
laz2_dom.pas(1952,14) Warning: Symbol "BuildList" is deprecated: "Use
NodeFilter instead."
Kompiliere Package LCLBase 2.1: Exit code 1, Fehler: 1
screen.inc(438,26) Error: Call by var for arg no. 1 has to match
exactly: Got "TScreen.{Dynamic} Array Of TCursor" expected "UnicodeString"
Kompiliere Package CodeTools 1.0.1: Abgebrochen


-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] svn update can't be compiled

2020-02-24 Thread John Landmesser via lazarus

My solution:

For Manjaro (ArchLinux) i installed fpc-svn and fpc-src-svn from AUR
with yay and now i have a running:

Lazarus 2.1.0 r62669 FPC 3.3.1 x86_64-linux-gtk2

Hope that big jump from 3.0.4 to 3.3.1 causes no troubles ... we'll see!


Thanks Juha for your information!


--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] svn update can't be compiled

2020-02-25 Thread John Landmesser via lazarus

Issue is fixed just now, didn't test ist but do a svn update again!

2020-02-25 07:37Ondrej Pokorny
<https://bugs.freepascal.org/view_user_page.php?id=3505>  Resolution
open => fixed


Am 25.02.20 um 10:53 schrieb Andrea Mauri via lazarus:

I get the same error on MacOS

On Mon, 24 Feb 2020 at 16:24, John Landmesser via lazarus
mailto:lazarus@lists.lazarus-ide.org>>
wrote:

Hi,

Info:

Lazarus 2.1.0 r62571M FPC 3.0.4 x86_64-linux-gtk2

error compiling the IDE:


Lazarus-Quelltext aufräumen: Erfolg
Kompiliere Package FCL 1.0.1: Erfolg
Kompiliere Package LazUtils 1.0: Erfolg, Warnungen: 2
laz2_dom.pas(1944,14) Warning: Symbol "BuildList" is deprecated:
"Use NodeFilter instead."
laz2_dom.pas(1952,14) Warning: Symbol "BuildList" is deprecated:
"Use NodeFilter instead."
Kompiliere Package LCLBase 2.1: Exit code 1, Fehler: 1
screen.inc(438,26) Error: Call by var for arg no. 1 has to match
exactly: Got "TScreen.{Dynamic} Array Of TCursor" expected
"UnicodeString"
Kompiliere Package CodeTools 1.0.1: Abgebrochen


--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org <mailto:lazarus@lists.lazarus-ide.org>
https://lists.lazarus-ide.org/listinfo/lazarus




-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] svn update can't be compiled

2020-02-25 Thread John Landmesser via lazarus

Am 25.02.20 um 10:23 schrieb Juha Manninen via lazarus:

I also run Manjaro Linux but I didn't know that AUR has FPC trunk.
I would download it if I didn't build it already myself.


My experience:

pamac couldn't  build the svn versions from AUR, but

yay -S fpc-svn  fpc-src-svn

did it after "heavy working"

Use yay as user instead of pamac and most trouble with pamac are gone :-)

... and this issue is fixed right now!!

But i have to test this, or do i stay with 3.1.1?

Lots of fun for a pensioner!

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Suddenly my appplication needs lbgtk-win32*.dll for Win10

2020-03-13 Thread John Landmesser via lazarus

H,

just  curiuos:

I ave a little apllication that suudenly(?!!) needs ligtk-win32*.dll on
Windows 10.

I think that's new and now i search for my changes that made this *.dll
needed!


On Linux ldd shows:


[john1@manjaro Sanduhr]$ ldd ./Sanduhr
    linux-vdso.so.1 (0x7ffcf0b98000)
    libdl.so.2 => /usr/lib/libdl.so.2 (0x7f7134f89000)
    libpthread.so.0 => /usr/lib/libpthread.so.0 (0x7f7134f67000)
 libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x7f7134eb1000)
    libX11.so.6 => /usr/lib/libX11.so.6 (0x7f7134d71000)
    libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0
(0x7f7134d4b000)
    libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0
(0x7f7134904000)
    libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0
(0x7f71348a6000)
    libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x7f7134781000)
    libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0
(0x7f713477c000)
    libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0
(0x7f7134777000)
    libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x7f7134729000)
    libcairo.so.2 => /usr/lib/libcairo.so.2 (0x7f7134605000)
    libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x7f71345da000)
    libc.so.6 => /usr/lib/libc.so.6 (0x7f7134414000)
    /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2
(0x7f7134fd5000)
    libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0
(0x7f7134404000)
    libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x7f7134254000)
    libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x7f713420d000)
    libXrender.so.1 => /usr/lib/libXrender.so.1 (0x7f713420)
    libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x7f71341f9000)
    libXi.so.6 => /usr/lib/libXi.so.6 (0x7f71341e6000)
    libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x7f71341d9000)
    libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x7f71341cd000)
    libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x7f71341c8000)
    libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x7f71341c3000)
    libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x7f71341b8000)
    libXext.so.6 => /usr/lib/libXext.so.6 (0x7f71341a3000)
    libxcb.so.1 => /usr/lib/libxcb.so.1 (0x7f7134179000)
    libm.so.6 => /usr/lib/libm.so.6 (0x7f7134033000)
    libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0
(0x7f713401c000)
    libffi.so.6 => /usr/lib/libffi.so.6 (0x7f713400f000)
    libpcre.so.1 => /usr/lib/libpcre.so.1 (0x7f7133f9c000)
    libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0x7f7133f7e000)
    libthai.so.0 => /usr/lib/libthai.so.0 (0x7f7133f73000)
    libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x7f7133e6f000)
    libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x7f7133dc5000)
    libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x7f7133cf5000)
    libpng16.so.16 => /usr/lib/libpng16.so.16 (0x7f7133cbd000)
    libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x7f7133cb8000)
    libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x7f7133ca8000)
    libz.so.1 => /usr/lib/libz.so.1 (0x7f7133c8e000)
    librt.so.1 => /usr/lib/librt.so.1 (0x7f7133c83000)
    libmount.so.1 => /usr/lib/libmount.so.1 (0x7f7133c24000)
    libresolv.so.2 => /usr/lib/libresolv.so.2 (0x7f7133c0b000)
    libexpat.so.1 => /usr/lib/libexpat.so.1 (0x7f7133bdb000)
    libuuid.so.1 => /usr/lib/libuuid.so.1 (0x7f7133bd2000)
    libXau.so.6 => /usr/lib/libXau.so.6 (0x7f7133bcd000)
    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x7f7133bc3000)
    libdatrie.so.1 => /usr/lib/libdatrie.so.1 (0x7f71339bc000)
    libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x7f7133997000)
    libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x7f7133984000)
    libblkid.so.1 => /usr/lib/libblkid.so.1 (0x7f7133933000)


the uses section of two units:

unit1:

uses
  FileUtil, lazutf8, Classes, SysUtils, Forms, Controls, Graphics, Dialogs,
  ExtCtrls, EditBtn, StdCtrls, ComCtrls, IniPropStorage, MaskEdit, Menus,
  Buttons, UniqueInstance, DateUtils, LCLType, PopupNotifier, crt;


unit2:

uses
  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs,
ExtCtrls,
  StdCtrls, LCLType, EditBtn, DateUtils;


How do i find the code that needs libgtk-win32*.dll?

...perhaps somewhere inside the Lazarus IDE?

I developed a lot of little applications with lazarus but never had to
install extra libraries to get an application running!

Ok, downloaded "gtk2-runtime-2.24.10-2012-10-10-ash.exe" from
sourceforge , i think i have to deliver that with my Application?!!

Tipps are welcome!

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Suddenly my appplication needs lbgtk-win32*.dll for Win10

2020-03-13 Thread John Landmesser via lazarus

Yes, thats it ...

tried to compile with qt5 .. had some probs ... set it to compile with
gtk2 ... that caused this additional requirement gtk2 ...

Your tipps solved it!!!

Thank you Dmitry

Am 13.03.2020 um 20:32 schrieb Dmitry Boyarintsev via lazarus:

On Fri, Mar 13, 2020 at 3:06 PM John Landmesser via lazarus
mailto:lazarus@lists.lazarus-ide.org>>
wrote:

just  curiuos:

I ave a little apllication that suudenly(?!!) needs
ligtk-win32*.dll on Windows 10.

I think that's new and now i search for my changes that made this
*.dll needed!


Seems like you little application has been compiled with Gtk2
widgetset as a requirement.
If you replace it with Win32 widgetset, you should not longer need any
external dlls.

thanks,
Dmitry


-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] MatchesWindowsMask('[x]','[x]') return False

2020-03-19 Thread John Landmesser via lazarus

Am 19.03.20 um 08:25 schrieb Rolf Wetjen via lazarus:


BTW, where can I get some info how to update the help files?


This one should be enough, on Linux you would do:

New folder, change to new folder and then:

svn co https://svn.freepascal.org/svn/lazarus/binaries/docs/chm/

Then in Lazarus IDE set the path to checkout directory.

The URL should also be enough for tortoise or what you use on windows.

John

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus on Ubuntu 18 does not restore all minimized windows with the main window

2020-04-12 Thread John Landmesser via lazarus

I use /lazarus/components/anchordocking/design/anchordockingdsgn.lpk and
there is in Kontextmenue of minimized App "restore all"

Perhaps useful ?!!

Am 12.04.20 um 11:45 schrieb Bo Berglund via lazarus:

I have installed FPC 3.0.4/Lazarus 2.0.6 from sources retrieved by SVN
onto a repurposed HP EliteBook 8440w laptop where I have installed
Ubuntu 18.04.4 LTS.

Lazarus starts up OK and I can build an application, which I have
created in Windows (project sources retrieved via SVN onto the
laptop). Things seem to work pretty well, if not perfect.

However I have been annoyed by one thing that is really disturbing:

If I minimize Lazarus using the minimize button in the upper right
corner of the main window (where the menu and all component tabs are)
then all other windows are also minimized as expected.
But if I restore the main window by clicking on its placeholder in the
bottom bar, then ONLY that window appears, all others remain minimized
and I have to click on each and every of these to get them back.

What have I missed here? Is there a setting I have overlooked?

I have never seen this in Windows and also not on RaspberryPi with
Raspbian Wheezy-Jessie-Pixel-Buster. All have worked the same as on
Windows in this respect.




--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Lazarus svn compile error: "Error: Duplicate resource: Type = 10, Name = TSELECTDATASETFORM, Lang ID, = 0000"

2020-05-01 Thread John Landmesser via lazarus


Windows 10:

Lazarus 2.1.0 r63090M FPC 3.0.4 i386-win32-win32/win64


Log messages:

IDE erstellen: Exit code 2, Fehler: 2, Warnungen: 7, Hinweise: 1
sourcesyneditor.pas(1574,35) Warning: Symbol "FScreenCaretPainterClass"
is deprecated: "need refactor"
sourcesyneditor.pas(1581,35) Warning: Symbol "FScreenCaretPainterClass"
is deprecated: "need refactor"
pseudoterminaldlg.pp(132,16) Warning: Symbol "PseudoTerminal" is
experimental
pseudoterminaldlg.pp(179,16) Warning: Symbol "PseudoTerminal" is
experimental
debugmanager.pas(2483,15) Warning: Symbol "OnDbgEvent" is deprecated:
"switch to EventLogHandler"
debugmanager.pas(3100,25) Warning: Symbol "PseudoTerminal" is experimental
debugmanager.pas(3173,15) Warning: Symbol "OnDbgEvent" is deprecated:
"switch to EventLogHandler"
codeexplorer.pas(137,7) Hint: Parameter "Shift" not used
Error: Duplicate resource: Type = 10, Name = TSELECTDATASETFORM, Lang ID
= 
lazarus.pp(167,1) Error: Error while compiling resources -> Compile with
-vd for more details. Check for duplicates.


-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus svn compile error: "Error: Duplicate resource: Type = 10, Name = TSELECTDATASETFORM, Lang ID, = 0000"

2020-05-01 Thread John Landmesser via lazarus

Am 01.05.20 um 17:18 schrieb Michael Van Canneyt via lazarus:



On Fri, 1 May 2020, John Landmesser via lazarus wrote:



Windows 10:

Lazarus 2.1.0 r63090M FPC 3.0.4 i386-win32-win32/win64


Log messages:

IDE erstellen: Exit code 2, Fehler: 2, Warnungen: 7, Hinweise: 1
sourcesyneditor.pas(1574,35) Warning: Symbol "FScreenCaretPainterClass"
is deprecated: "need refactor"
sourcesyneditor.pas(1581,35) Warning: Symbol "FScreenCaretPainterClass"
is deprecated: "need refactor"
pseudoterminaldlg.pp(132,16) Warning: Symbol "PseudoTerminal" is
experimental
pseudoterminaldlg.pp(179,16) Warning: Symbol "PseudoTerminal" is
experimental
debugmanager.pas(2483,15) Warning: Symbol "OnDbgEvent" is deprecated:
"switch to EventLogHandler"
debugmanager.pas(3100,25) Warning: Symbol "PseudoTerminal" is
experimental
debugmanager.pas(3173,15) Warning: Symbol "OnDbgEvent" is deprecated:
"switch to EventLogHandler"
codeexplorer.pas(137,7) Hint: Parameter "Shift" not used
Error: Duplicate resource: Type = 10, Name = TSELECTDATASETFORM, Lang ID
= 
lazarus.pp(167,1) Error: Error while compiling resources -> Compile with
-vd for more details. Check for duplicates.


Please update and try again. I renamed one instance. revs 63108-63109.

Michael.




FIXED, thanks Michael!

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] fpccfg is missing in new Lazarus install

2020-05-14 Thread John Landmesser via lazarus

.. get a newer lazarus from:

https://www.lazarus-ide.org/index.php?page=downloads

Am 14.05.20 um 15:59 schrieb Terry A. Haimann via lazarus:

I just did a fresh install of Lazarus and it says the fpc.cfg file
isn't found.  These are the files I used to install lazarus with:

fpc-src_2.6.2-0_amd64.deb
fpc_2.6.2-0_amd64.deb
lazarus_1.0.10-0_amd64.

I ran a search for fpc.cfg and ffound these files:

/home/terry/Downloads/fpc.cfg
/etc/fpc.cfg

ls -la /etc/fpc.cfg
-rw-r--r-- 1 root root 7799 May 14 08:09 /etc/fpc.cfg

Where does the file need to be inorder for Lazarus to find it?

This is a Linux Mint 19.2 desktop using Mate and the processor is a i7-
8700, 16gb of ram.

Terry



--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Keyboard mapping probelm

2020-05-20 Thread John Landmesser via lazarus

Am 20.05.20 um 01:12 schrieb Brian via lazarus:


Regrettably, it appears I spoke too soon. I fired up Lazarus again and
the problem is back. I'm compiling trunk for both fpc and lazarus
using fpcupdeluxe. To recap, this is under Linux Mint 19.3 64-bit
(Ubuntu base). I have absolutely *NOT* done any keyboard remapping nor
defined any macros since everything last worked correctly. The setup I
have in a LMDE (Linux Mint Debian) virtual machine still works correctly.

I will update both setups, so that I know I am (should be!) running
exactly the same versions of trunk, and report back in due course.

Brian.



Perhaps try another version of fpcupdeluxe?

https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus crashes when opening project under conversion, how to fix?

2020-05-22 Thread John Landmesser via lazarus

Am 21.05.20 um 23:39 schrieb Bo Berglund via lazarus:

I am using Lazarus 2.0.8 32bit in Win 10 x64 with FPC 3.0.4

I am trying to convert a project created in Delphi7 and maintained in
D7 and Delphi 2007 so it can be worked on in Lazarus/FPC.

It is a service application so it uses TService, which does not exist
in FPC. The closest candidate is TDaemon, so on advice here or in the
forum I have tried adding a "rename":

type
   {$IFDEF FPC}
 TService = class(TDaemon)
 private
 public
 end;
   {$ENDIF}

When I did that Lazarus showed a lot of errors when trying to do a
test compile (as expected). I did not have time to fix it though at
the time so I closed Lazarus.

Now I have a problem to even start Lazarus, it immediately shows crash
dialogs saying:
An error occurred at last startup while loading
D:\Engineering\Projects\Sobversio...\RemoteServer.lpi

It is not very useful to see a path that is cut in the middle so I
cannot find where it is at...

How can I find *which* of the projects it is actually trying to load?
I have several test projects created during various attempts at
conversion...

Or can I please open Lazarus *without a project* so I can decide
myself which project to load?

It was half a week ago when I was last using Lazarus as described
above and I cannot remember exactly which version of the converted
code I was dealing with.

So now I am back again and I cannot even start Lazarus because it just
errors out on the old project while giving me no chance to get to the
editor to fix the problem.

It looks by the few dialogs I see before it crashes that the code
contains objects with incorrect or missing properties of some kind and
if I proceed anyway I get to an access violation and Lazarus crashes!

Seems like there is a Catch 22 built into the Lazarus project handling
that disallows one from using the editor to fix project problems

What can I do in order:
A) To find which actual project file it is having problems with?

B) To load the project into the editor so I can fix whatever problem
it is having?




Perhaps resize the error Dialog or hit ctrl+c to copy the message to
clipboard?

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Fwd: Consulta sobre Lazarus Ide

2020-05-22 Thread John Landmesser via lazarus

Am 21.05.20 um 19:12 schrieb Alexander Nava via lazarus:

Good afternoon  I am developing an application with lazarus ide and
freepascal on a workstation that works with gnu linux debian 10 32
bits, we need to port the application to windows 32 and 64 bits for
the company I am working with. I have some questions: 1- As it is done
for said application it can be ported to windows, since I have
followed the tutorials of the official page of lazarus and freepascal,
and nothing that allows us to port the application. 2.- In the same
way, you could develop any application to other operating systems such
as unix and mac using the same code 3.- Lazarus ide and freepascal can
port an application to mobile phones, that is, for android and mac
operating systems. Thanks for your help. Alexander Nava





Perhaps have a look at:

https://wiki.freepascal.org/fpcupdeluxe

or download directly:

https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/1.6.8u


-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Keyboard mapping probelm

2020-05-28 Thread John Landmesser via lazarus

Am 28.05.20 um 00:53 schrieb Brian via lazarus:

On 5/20/20 8:37 AM, Brian via lazarus wrote:

On 5/20/20 5:50 AM, John Landmesser via lazarus wrote:

Am 20.05.20 um 01:12 schrieb Brian via lazarus:

Regrettably, it appears I spoke too soon. I fired up Lazarus again and
the problem is back. I'm compiling trunk for both fpc and lazarus
using fpcupdeluxe. To recap, this is under Linux Mint 19.3 64-bit
(Ubuntu base). I have absolutely *NOT* done any keyboard remapping nor
defined any macros since everything last worked correctly. The setup I
have in a LMDE (Linux Mint Debian) virtual machine still works
correctly.

I will update both setups, so that I know I am (should be!) running
exactly the same versions of trunk, and report back in due course.

Brian.



Perhaps try another version of fpcupdeluxe?

https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases


I downloaded the latest as then was for linux on x86_64. I see there
has been another release since I wrote my post. I'll give it a try. I
guess I could also try the qt5 version.


OK, my last word on this subject. I can only conclude that there is
some kind of goofy multi-way interaction going on between Lazarus and
other programs. I have tried multiple versions of Lazarus, using both
the gtk2 and qt5 versions of fpcupdeluxe. In all cases, I saw the i ->
tab & i and m -> newline. I do NOT see this on the Debian-based
version of Mint running in a virtual machine, and I also set up
another VM with the same Ubuntu-based version of Mint (19.3 64-bit) as
I have on the host. Neither VM showed the problem with Lazarus!

The final straw is that I just set up a new PC for my wife, again
Ubuntu Mint 19.3, and out of curiosity, I installed Lazarus. The keys
worked fine.

I have no idea what is going on. I reiterate that I have removed all
config files, using the combination of wkitty42's commandline magic
*and* my kfinds, and that I have done absolutely no key remapping nor
macro defining. Twice, and ONLY twice, I have had the problem go away
after a rebuild of FPC and Lazarus, but rebooting the PC brought the
problem back again.

I've given up. I have wasted enough time on trying to sort this
problem. At least as long as it all works, I will just use Lazarus in
a VM, and transfer the completed source files to my host machine for a
final compilation.


Brian.




You allways used fpcupdeluxe??

Perhaps these originals are better?

https://www.lazarus-ide.org/index.php?page=downloads

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] OT: thunderbird 68 (linux) and column From

2020-05-28 Thread John Landmesser via lazarus

Strange behaviour of newest thunderbird 68.8.1 on Deepin Linux:

See Column "von" . I'm used to see the sender-Name there

Googled with no succes :-(

Anybody else has this issue?

Regards

John


-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] OT: thunderbird 68 (linux) and column From

2020-05-28 Thread John Landmesser via lazarus

Thanks for your reply but "Correspondants"is just the same!!

Have to think just more about this issue!

John

Am 28.05.20 um 13:52 schrieb R.Smith via lazarus:


Von means "From" - change the column to "Correspondants" (Not sure
what that would be in the Deutsche version... Korrespondenten maybe?)


On 2020/05/28 12:51, John Landmesser via lazarus wrote:


Strange behaviour of newest thunderbird 68.8.1 on Deepin Linux:

See Column "von" . I'm used to see the sender-Name there

Googled with no succes :-(

Anybody else has this issue?

Regards

John





-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] OT: thunderbird 68 (linux) and column From

2020-05-28 Thread John Landmesser via lazarus

Thats it

Deleted every item in Address-book containing "Lazarus"

Would have taklen me years to realize that!

Thanks again

John



Am 28.05.20 um 14:56 schrieb Martin Frb via lazarus:

On 28/05/2020 12:51, John Landmesser via lazarus wrote:


Strange behaviour of newest thunderbird 68.8.1 on Deepin Linux:

See Column "von" . I'm used to see the sender-Name there

Googled with no succes :-(


Check if you have an "address book entry" for that mail address.
If you do, it will lead to that effect, because it will likely display
the entry name, rather than whats in the actual mail.

Technically all mails come from "lazarus@lists.lazarus-ide.org"
But the do include the difference sender's names alongside the email
address.

Matching the address book, ignores the names, and uses only the email.

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] OT: thunderbird 68 (linux) and column From

2020-05-28 Thread John Landmesser via lazarus

Thats it

Deleted every item in Address-book containing "Lazarus"

Would have taklen me years to realize that!

Thanks again

John



Am 28.05.20 um 14:56 schrieb Martin Frb via lazarus:

On 28/05/2020 12:51, John Landmesser via lazarus wrote:


Strange behaviour of newest thunderbird 68.8.1 on Deepin Linux:

See Column "von" . I'm used to see the sender-Name there

Googled with no succes :-(


Check if you have an "address book entry" for that mail address.
If you do, it will lead to that effect, because it will likely display
the entry name, rather than whats in the actual mail.

Technically all mails come from "lazarus@lists.lazarus-ide.org"
But the do include the difference sender's names alongside the email
address.

Matching the address book, ignores the names, and uses only the email.

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Keyboard mapping probelm

2020-05-30 Thread John Landmesser via lazarus

Am 30.05.20 um 15:40 schrieb Brian via lazarus:

On 5/29/20 3:32 PM, Juha Manninen via lazarus wrote:

On Fri, May 29, 2020 at 5:40 PM Bart via lazarus
 wrote:

It is a Lazarus/LCL/WS issue though, since other programs don't have that issue.

Yes, let's hope GTK3 bindings will be better. Now it is alpha but
already usable for many applications.
For Brian I recommend using QT5 bindings. It has no problem with keys.

Lazarus trunk from fpcupdeluxe or from SVN directly should behave the
same. I don't know why the build failed.


Unless you have some reason to believe that the QT5 version of
fpcupdeluxe doesn't build lazarus with QT5 bindings, I have already
tried this idea and still seen the same problem.  Yes, I deleted back
EVERYTHING except for the actual fpcupdeluxe executable - all config
files and the entire target directory - from the GTK2 build. Then I
downloaded the QT5 version of the executable and ran that. Once again,
it built, but I still saw the key mapping etc. problem.

Since I've come this far, though, I guess I'm willing to try building
the lazarus code downloaded via subversion with the QT5 bindings. Is
there a web page, or some other documentation, that leads me though
doing that? I've never previously built the QT5 version except the
attempt to build it via fpcupdeluxe.

Brian.



That should be enough?!!

Look at tools/compile IDE, LCL Listbox:

Screenshot:

https://i.imgur.com/f0g14bS.png

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Google Calendar API TEvent start or _end (TDatetime) question

2020-06-05 Thread John Landmesser via lazarus

As Example for Germany:

https://wiki.freepascal.org/Daylight_saving_time/de









Am 05.06.20 um 14:00 schrieb Francesco Sammarco via lazarus:

Ok. But not so how to do it. Is there an example?

Il giorno ven 5 giu 2020 alle ore 13:54 wkitty42--- via lazarus
mailto:lazarus@lists.lazarus-ide.org>>
ha scritto:

On 6/5/20 2:04 AM, Francesco Sammarco wrote:
> Of course, it's just not the idea of how to check if the time
falls in daylight
> saving time or not.


why not? that is the problem and apparently the API and/or backend
code at
google don't handle it so the creator of the event/appointment must...


> Il giorno gio 4 giu 2020 alle ore 17:24 wkitty42--- via lazarus
> mailto:lazarus@lists.lazarus-ide.org>
>> ha scritto:
>
>     On 6/4/20 10:37 AM, Francesco Sammarco via lazarus wrote:
>      > If anyone cares I think I have found a working way.
Basically I do the
>     insertion
>      > or updating of the appointment. The API returns the
content of the newly
>     updated
>      > or inserted appointment, I compare the hours contained
with the hours I
>     wanted
>      > to set. I calculate the difference and apply it. I make a
second update
>     with the
>      > correct date / time. I know it's not elegant, but for the
moment it seems
>     the
>      > only working way.
>
>
>     can you not determine if your desired time is in the
daylight saving tim
>     eperiod
>     and adjust it as needed before you do the first posting to
the calendar? i was
>     going to suggest that yesterday when i first read of your
plight but i
>     wanted to
>     wait and see what others might suggest...
>
>     so basically:
>
>     1. you decide your time and date...
>     2. check if it is within the daylight saving time period for
your area...
>     2a. if #2 is yes, adjust the time as needed...
>     2b. if #2 is no, leave the time as originally set...
>     3. publish the appointment/event in the calendar...
>     4. done ;)
>
>
>     --
>        NOTE: No off-list assistance is given without prior approval.
>              *Please keep mailing list traffic on the list where
it belongs!*
>     --
>     ___
>     lazarus mailing list
> lazarus@lists.lazarus-ide.org

>
> https://lists.lazarus-ide.org/listinfo/lazarus
>


--
  NOTE: No off-list assistance is given without prior approval.
        *Please keep mailing list traffic on the list where it
belongs!*
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org 
https://lists.lazarus-ide.org/listinfo/lazarus




-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Cannot find inc file from a registered package...

2020-06-24 Thread John Landmesser via lazarus

Am 24.06.20 um 15:39 schrieb Bo Berglund via lazarus:

On Tue, 23 Jun 2020 22:40:19 +0300, Juha Manninen via lazarus
 wrote:


Is the path containing the include file (Indy10\System or similar) in
Indy package's include search path?
If not then please add it.
Otherwise it sounds like a bug. Unit files are found from required
packages but apparently include files are not. Please report a bug
with steps to reproduce.


To answer your question:

So I re-enabled the include and added a path below packages to it as
follows:

interface
{$I Indy10\System\IdCompilerDefines.inc}
{$I ssremote.inc}


uses


class_SSRemoteServer.pas(84,2) Fatal: Cannot open include file
"Indy10\System\IdCompilerDefines.inc"

Same with \ as with / as delimiter.

Butit worked when I did this, , but triggered other errors from inside
the inc file:

{$I
C:\Programs\Lazarus_2.0.8\config\onlinepackagemanager\packages\Indy10\System\IdCompilerDefines.inc}

Now working but the source file is cluttered with an installation path
that should not be there.

So I then went into project options/compiler options/paths
and I added this to the include path setting:

C:\Programs\Lazarus_2.0.8\config\onlinepackagemanager\packages\

Then I changed the source file include statement to:
{$I Indy10\System\IdCompilerDefines.inc}

This too worked, the file was found and parsed.

So this is the best solution, one has to remember to change it when
the project moves to a different lazarus version or platform.

It would have been good to be able to set something like $PACKAGEDIR
to C:\Programs\Lazarus_2.0.8\config\onlinepackagemanager\packages\ in
a Lazarus global context so all package files could be reached using
the env var. It then has to be set Lazarus globally like is possible
in Delphi.
But I found no such way...

HTH




Hi Bo,

Never used Indy 10 but just installed it with Online Package Manager on

Lazarus 2.1.0 r63354 FPC 3.0.4 x86_64-linux-gtk2


.. no probs with paths!

regards

John



--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] error building IDE

2020-06-28 Thread John Landmesser via lazarus

Hi,

I have several different  Linux+Lazarus on my HD and i'm wondering about:

Info Manjaro XFCE Linux 64bit, fpc trunk:

Lazarus 2.1.0 r63454 FPC 3.3.1 x86_64-linux-gtk2

what about this:

compiling svn lazarus from within the IDE with success  i see this message:


Lazarus-Quelltext aufräumen: Erfolg
...
IDE erstellen: Erfolg, *Fehler: 2*
Error: Makefile:2956: warning: overriding recipe for target '.'
Error: Makefile:2954: warning: ignoring old recipe for target '.'


Compiling from Terminal with:


make clean lazbuild useride starter


compiling stops with error:


Error: (lazarus) IDE erstellen: stopped with exit code 2
Error: (lazarus) Building IDE: Building IDE failed.
make: *** [Makefile:3618: useride] Fehler 2


My PC is Manjaro Linux XFCE 64bit


System:    Host: manjaro Kernel: 5.7.0-3-MANJARO x86_64 bits: 64
Desktop: Xfce 4.14.2 Distro: Manjaro Linux
Machine:   Type: Desktop System: LENOVO product: 90FB006AGE v:
ideacentre 710-25ISH serial: 
   Mobo: LENOVO model: 3642 v: SDK0J40700 WIN 3258069255609
serial:  UEFI: LENOVO v: FWKT95A
   date: 09/04/2018
CPU:   Topology: Quad Core model: Intel Core i5-6400 bits: 64
type: MCP L2 cache: 6144 KiB
   Speed: 3301 MHz min/max: 800/3300 MHz Core speeds (MHz): 1:
3267 2: 3201 3: 3261 4: 3299
Graphics:  Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] driver: nvidia
v: 440.82
   Display: x11 server: X.Org 1.20.8 driver: nvidia
resolution: 1920x1080~60Hz
   OpenGL: renderer: GeForce GTX 1050 Ti/PCIe/SSE2 v: 4.6.0
NVIDIA 440.82
Audio: Device-1: Intel 100 Series/C230 Series Family HD Audio
driver: snd_hda_intel
   Device-2: NVIDIA GP107GL High Definition Audio driver:
snd_hda_intel
   Sound Server: ALSA v: k5.7.0-3-MANJARO
Network:   Device-1: Intel Ethernet I219-LM driver: e1000e
   IF: eno1 state: up speed: 1000 Mbps duplex: full mac:
4c:cc:6a:a3:3b:dd
   Device-2: Intel Wireless 8260 driver: iwlwifi
   IF: wlp2s0 state: down mac: b2:78:1f:e2:91:8f
   IF-ID-1: pan1 state: down mac: d2:55:35:67:d5:f0
Drives:    Local Storage: total: 3.18 TiB used: 522.28 GiB (16.0%)
   ID-1: /dev/sda vendor: Samsung model: SSD 850 EVO 500GB
size: 465.76 GiB
   ID-2: /dev/sdb vendor: Seagate model: ST2000DM001-1ER164
size: 1.82 TiB
   ID-3: /dev/sdc type: USB vendor: Western Digital model:
WD10EARX-00N0YB0 size: 931.51 GiB
Partition: ID-1: / size: 57.90 GiB used: 37.56 GiB (64.9%) fs: ext4
dev: /dev/sda8
   ID-2: swap-1 size: 16.67 GiB used: 0 KiB (0.0%) fs: swap
dev: /dev/sda9
Sensors:   System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia
temp: 32 C
   Fan Speeds (RPM): N/A gpu: nvidia fan: 29%
Info:  Processes: 224 Uptime: 3h 12m Memory: 15.59 GiB used: 1.31
GiB (8.4%) Shell: bash inxi: 3.0.37



No such issue with Linux Mint Cinnamon 64bit:


Lazarus 2.1.0 r63457 FPC 3.0.4 x86_64-linux-gtk2



But same error for KDE-Neon 64bit:


Lazarus 2.1.0 r63457 FPC 3.0.4 x86_64-linux-gtk2


*So fpc trunk or fpc 3.0.4 can't be the culpit??*


Hints are welcome :-)

John Landmesser


-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] error building IDE

2020-06-28 Thread John Landmesser via lazarus

Am 28.06.20 um 17:08 schrieb Mattias Gaertner via lazarus:

On Sun, 28 Jun 2020 16:59:42 +0200
John Landmesser via lazarus  wrote:


Hi,

I have several different  Linux+Lazarus on my HD and i'm wondering
about:

Info Manjaro XFCE Linux 64bit, fpc trunk:

Lazarus 2.1.0 r63454 FPC 3.3.1 x86_64-linux-gtk2

what about this:

compiling svn lazarus from within the IDE with success  i see this
message:


Lazarus-Quelltext aufräumen: Erfolg
...
IDE erstellen: Erfolg, *Fehler: 2*
Error: Makefile:2956: warning: overriding recipe for target '.'
Error: Makefile:2954: warning: ignoring old recipe for target '.'

Any idea which Makefile this is coming from?

Mattias


There is a lazarus/ide/Makefile?!!

Just learned: In VirtualBox with Manjaro fpc trunk AND 3.0.4 everything
is fine ... so no need to search at Lazarus code!

Must be a peronal issue here!

Thanks for your answer!

John

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] error building IDE

2020-06-28 Thread John Landmesser via lazarus

Am 28.06.20 um 18:38 schrieb Mattias Gaertner via lazarus:




Just learned: In VirtualBox with Manjaro fpc trunk AND 3.0.4
everything is fine ... so no need to search at Lazarus code!

ok

Mattias



Adjusted my command -line ... issue is gone :-)

# OLD:  make clean lazbuild useride starter
# NEW: make all clean  useride

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Something wrong with /components/freetype??

2020-07-14 Thread John Landmesser via lazarus

Info:

Lazarus 2.1.0 r63545 FPC 3.3.1 x86_64-linux-gtk2


compiling trunk i get this error:


make -C components/freetype
make[1]: Verzeichnis „/home/john1/lazarus/components/freetype“ wird
betreten
make[1]: *** Es wurden keine Ziele angegeben und keine
„make“-Steuerdatei gefunden.  Schluss.
make[1]: Verzeichnis „/home/john1/lazarus/components/freetype“ wird
verlassen
make: *** [Makefile:3625: lazbuild] Fehler 2


How to fix that?

Thanks,

John

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] How to find out why a unit is used in a project?

2020-09-23 Thread John Landmesser via lazarus

Am 23.09.20 um 18:59 schrieb Bo Berglund via lazarus:

I am porting a Delphi application to Linux and as a stop I am first
doing it from Delphi to Lazarus/Fpc on Windows.

Now when I try to compile it throws an error inside a unit I did not
even know it used. And to further complicate the issue I cannot find a
reference to the unit in question when doing a search in the project
dir inside all pas files. This unit is not mentioned anywhere and
still causes a compile error due to a missing reference.

I tried Lazarus Find In Files and set it to search "all files in
project" and also search the project directory, but it comes up
empty-handed...

So now I wonder:
Is there a Lazarus tool to trace why the unit is referenced in the
first place? Is there such things as "chain of uses"?

The application I am porting is a client communications app that talks
to a service over TCP/IP.
That service app uses the unit that pos up as erroneous now, but it
should not be used by the client comm app at all.
So I need to find out why it does.



Perhaps it can be find in Projects properties?

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus 2.0.10 corrupted by Win 10 crash, how to repair?

2020-10-29 Thread John Landmesser via lazarus

Am 29.10.20 um 10:51 schrieb Bo Berglund via lazaru

Rant:
-
This thing with Windows crashing never happened in the many years I
used Windows 7, but in Dec 2019 I had to finally move to a new
notebook and of course now Win 7 is no longer available so I have Win
10...

And that has caused all kinds of problems like the crashes I discuss
here but also a self-initiated reboot at irregular times purportedly
in order to "upgrade" the system
And I have found no way to stop it from happening.

Win10 also triggers a start of a system backup at non-scheduled times
for unknown reasons. I have a scedule set for a backup to run on the
night between Friday and Saturday every week, but now it can start any
day at any time
Soo strange.
When writing this I realized that I could of course have used the last
backup to get my original config files back, but I did not think as
far

I wish I could bring back Windows 7

Of course on Linux this is not an issue at all, but if the target
programs are supposed to run on Windows I have no choice here.



 What about Win 7 + Lazarus in a VirtualBox?

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Default project ?

2020-11-18 Thread John Landmesser via lazarus

Am 18.11.20 um 21:31 schrieb Bo Berglund via lazarus:


Especially since Lazarus crashes greatly if there is a problem with
the last project and then it takes a detective to make it return to
usable again since just restarting causes the same crash to occur
again and again.
Happened to me many times.



Use your filemanager to open the last working(!!) *.lpi ... rightclick
... open with ...


--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] lazarus trunc IDE compile error

2021-01-04 Thread John Landmesser via lazarus

Something went wrong?

last running trunc version:   Lazarus 2.1.0 r64270 FPC 3.2.0
x86_64-linux-gtk2


/home/john1/lazarus/components/lazcontrols/spinex.inc(255,13)*Error:
(4057) Can't determine which overloaded function to call*
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/math.ppu:math.pp(2580,10)
Hint: (5039) Found declaration: CompareValue(const Extended;const
Extended;Extended=` 0.E+`):ShortInt;
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/math.ppu:math.pp(2568,10)
Hint: (5039) Found declaration: CompareValue(const Double;const
Double;Double=` 0.E+`):ShortInt;
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/math.ppu:math.pp(2556,10)
Hint: (5039) Found declaration: CompareValue(const Single;const
Single;Single=` 0.E+`):ShortInt;
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/math.ppu:math.pp(2544,10)
Hint: (5039) Found declaration: CompareValue(const QWord;const
QWord):ShortInt;
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/math.ppu:math.pp(2533,10)
Hint: (5039) Found declaration: CompareValue(const Int64;const
Int64):ShortInt;
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/math.ppu:math.pp(2522,10)
Hint: (5039) Found declaration: CompareValue(const LongInt;const
LongInt):ShortInt;
spinex.pp(418) Fatal: (10026) There were 2 errors compiling module,
stopping
Fatal: (1018) Compilation aborted
make[1]: *** [Makefile:3154: lazcontrols.ppu] Fehler 1
make[1]: Verzeichnis „/home/john1/lazarus/components/lazcontrols“ wird
verlassen
make: *** [Makefile:3636: lazbuild] Fehler 2


-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] lazarus trunc IDE compile error

2021-01-04 Thread John Landmesser via lazarus

mpf ... this error occurs only on newest Deepin 20.1 (based on Debian 10??)

No probs on Manjaro XFCE!


Am 04.01.21 um 19:05 schrieb John Landmesser via lazarus:


Something went wrong?

last running trunc version:   Lazarus 2.1.0 r64270 FPC 3.2.0
x86_64-linux-gtk2


/home/john1/lazarus/components/lazcontrols/spinex.inc(255,13)*Error:
(4057) Can't determine which overloaded function to call*
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/math.ppu:math.pp(2580,10)
Hint: (5039) Found declaration: CompareValue(const Extended;const
Extended;Extended=` 0.E+`):ShortInt;
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/math.ppu:math.pp(2568,10)
Hint: (5039) Found declaration: CompareValue(const Double;const
Double;Double=` 0.E+`):ShortInt;
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/math.ppu:math.pp(2556,10)
Hint: (5039) Found declaration: CompareValue(const Single;const
Single;Single=` 0.E+`):ShortInt;
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/math.ppu:math.pp(2544,10)
Hint: (5039) Found declaration: CompareValue(const QWord;const
QWord):ShortInt;
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/math.ppu:math.pp(2533,10)
Hint: (5039) Found declaration: CompareValue(const Int64;const
Int64):ShortInt;
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/math.ppu:math.pp(2522,10)
Hint: (5039) Found declaration: CompareValue(const LongInt;const
LongInt):ShortInt;
spinex.pp(418) Fatal: (10026) There were 2 errors compiling module,
stopping
Fatal: (1018) Compilation aborted
make[1]: *** [Makefile:3154: lazcontrols.ppu] Fehler 1
make[1]: Verzeichnis „/home/john1/lazarus/components/lazcontrols“
wird verlassen
make: *** [Makefile:3636: lazbuild] Fehler 2






-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] lazarus trunc IDE compile error

2021-01-04 Thread John Landmesser via lazarus

Thanks. It compiles now!



Am 04.01.21 um 20:00 schrieb Werner Pamler via lazarus:

Am 04.01.2021 um 19:32 schrieb Martin Frb via lazarus:

On 04/01/2021 19:05, John Landmesser via lazarus wrote:


Something went wrong?

last running trunc version:   Lazarus 2.1.0 r64270 FPC 3.2.0
x86_64-linux-gtk2



Same with FPC 3.0.4 / 64bit / windows


Sorry, the initial fix for FPC-trunk introduced another issue with FPC
3.2. Should work now.

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Some IDE/LHelp issues

2021-02-02 Thread John Landmesser via lazarus

Am 02.02.21 um 11:22 schrieb Rolf Wetjen via lazarus:

Maybe someone can help with a few issues around LHelp in the IDE:

1) When LHelp opens (regardless if opens with Tools->CHM-Help or F1
context help) it opens with 11 tabs.
Some of them have a caption, some of them are [unknown]. The [unknown]
ones come up with an error message "ms-its:xyz.chm::/index.html not
found!"

2) One of [unknown] tabs is completely empty:
"ms-its:toc.chm::/index.html not found!"

3) There are two lcl tabs. One show a message "Loaded:
ms-its:lcl.chm::/index.html in ... ms", the other one doesn't show a
load message.

3) There's no possibility to search in all files simultanously. May be
this is the missing toc.chm::/index.html?

4) The first context search is a racing car. All following context
searches are a bicycle. Time for a coffee.

I'd like to check for this.

Is there any documentation about the structure of the chm files
reagarding the missing index.html?
What's the meaning of the database definition fields in
Tools-Settins-Help? There are entries for 8 databases. What about the
missing ones.
How does the IDE calls LHelp?

Any ideas?

Rolf


General Info at:

https://wiki.lazarus.freepascal.org/IDE_Window:_Help_Options

plus:

https://wiki.lazarus.freepascal.org/Installing_Help_in_the_IDE#Installing_CHM_help_.28Lazarus_1.0_and_later.29

see here chapter:

fpdoc entries of RTL and FCL

to svn checkout all chm-help-files


I have your questions too for a long time but i'm just a hobbyist so i
can live these lack of knowledge.

Regards

John Landmesser


--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Some IDE/LHelp issues

2021-02-02 Thread John Landmesser via lazarus

Am 02.02.21 um 12:49 schrieb John Landmesser via lazarus:

Am 02.02.21 um 11:22 schrieb Rolf Wetjen via lazarus:

Maybe someone can help with a few issues around LHelp in the IDE:

1) When LHelp opens (regardless if opens with Tools->CHM-Help or F1
context help) it opens with 11 tabs.
Some of them have a caption, some of them are [unknown]. The [unknown]
ones come up with an error message "ms-its:xyz.chm::/index.html not
found!"

2) One of [unknown] tabs is completely empty:
"ms-its:toc.chm::/index.html not found!"

3) There are two lcl tabs. One show a message "Loaded:
ms-its:lcl.chm::/index.html in ... ms", the other one doesn't show a
load message.

3) There's no possibility to search in all files simultanously. May be
this is the missing toc.chm::/index.html?

4) The first context search is a racing car. All following context
searches are a bicycle. Time for a coffee.

I'd like to check for this.

Is there any documentation about the structure of the chm files
reagarding the missing index.html?
What's the meaning of the database definition fields in
Tools-Settins-Help? There are entries for 8 databases. What about the
missing ones.
How does the IDE calls LHelp?

Any ideas?

Rolf


General Info at:

https://wiki.lazarus.freepascal.org/IDE_Window:_Help_Options

plus:

https://wiki.lazarus.freepascal.org/Installing_Help_in_the_IDE#Installing_CHM_help_.28Lazarus_1.0_and_later.29


see here chapter:

fpdoc entries of RTL and FCL

to svn checkout all chm-help-files


I have your questions too for a long time but i'm just a hobbyist so i
can live these lack of knowledge.

Regards

John Landmesser




Have a look at this:

[john1@manjaro fpcdocs]$ svn info
Pfad: .
Wurzelpfad der Arbeitskopie: /home/john1/lazarus/docs/chm/fpcdocs
URL: https://svn.freepascal.org/svn/fpcdocs/trunk
Relative URL: ^/trunk
Basis des Projektarchivs: https://svn.freepascal.org/svn/fpcdocs
UUID des Projektarchivs: 583a4693-3df7-0310-a210-d425ad3023e7
Revision: 1800
Knotentyp: Verzeichnis
Plan: normal
Letzter Autor: michael
Letzte geänderte Rev: 1800
Letztes Änderungsdatum: 2021-01-31 18:15:57 +0100 (So, 31. Jan 2021)

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] lazarus Digest, Vol 159, Issue 8

2021-04-20 Thread John Landmesser via lazarus

Am 20.04.21 um 09:51 schrieb Detlef Overbeek via lazarus:

Thank you for your answer:
however I forgot to tell you that I did change that to every few minutes and 
even this morning it still does not work.


I could compile and install this  package on Manjaro Linux:

Lazarus 2.1.0 r63838M FPC 3.3.1 x86_64-linux-gtk2

Perhaps try a new ~/.lazarus profile?

John

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] No TrayIcon.Hint on Linux KDE?

2021-07-12 Thread John Landmesser via lazarus

Hi,

See example project

C:\lazarus\examples\trayicon\wndtray.lpi

The Trayicon.hint works on XFCE and Windows, but it will not be visible
on KDE?!!


FormCreate;

  SystrayIcon.Hint := 'my tool tip';



Any workaround ?

Thanks

John

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Lazarus list down?

2021-07-12 Thread John Landmesser via lazarus

Test

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] No TrayIcon.Hint on Linux KDE?

2021-07-12 Thread John Landmesser via lazarus

Am 09.07.21 um 16:06 schrieb John Landmesser via lazarus:

Hi,

See example project

C:\lazarus\examples\trayicon\wndtray.lpi

The Trayicon.hint works on XFCE and Windows, but it will not be visible
on KDE?!!


FormCreate;

  SystrayIcon.Hint := 'my tool tip';



Any workaround ?

Thanks

John


See bugreport:

https://bugs.freepascal.org/view.php?id=39194

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus list down?

2021-07-12 Thread John Landmesser via lazarus

Thanks!

Yes no it works again!

Am 12.07.21 um 13:41 schrieb Marc Weustink via lazarus:

I guess it was, I restarted it this morning since it was a bit quiet
in here.

Marc


On 9-7-2021 16:48, John Landmesser via lazarus wrote:

Test



--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] How to restore anchor docking manager in the IDE?

2021-07-13 Thread John Landmesser via lazarus

Hi,

i just "ruined" layout of the anchor docking manager in the IDE.

Reinstall the package does not restore the default layout and pulling
for example object inspector does not help.

I would expect the IDE would show where to place the object inspector by
painting a frame where it would sit if i stop dragging?!

Tipps are welcome ...

John Landmesser

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] How to restore anchor docking manager in the IDE?

2021-07-13 Thread John Landmesser via lazarus

Am 13.07.21 um 14:07 schrieb John Landmesser via lazarus:

Hi,

i just "ruined" layout of the anchor docking manager in the IDE.

Reinstall the package does not restore the default layout and pulling
for example object inspector does not help.

I would expect the IDE would show where to place the object inspector by
painting a frame where it would sit if i stop dragging?!

Tipps are welcome ...

John Landmesser



Heavy fiddling ...

But this tipps worked:

See
https://forum.lazarus.freepascal.org/index.php/topic,51935.msg382004.html#msg382004

Tipp: Don't mess around with layout of anchordockingsgn package!

We'll see if i remember that next year :-)

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] How to restore anchor docking manager in the IDE?

2021-07-13 Thread John Landmesser via lazarus

Am 13.07.21 um 19:55 schrieb Michael W. Vogel via lazarus:

Am 13.07.2021 um 14:07 schrieb John Landmesser via lazarus:

Hi,

i just "ruined" layout of the anchor docking manager in the IDE.


Can you explain, what you have done? I can only fix/work on things, I'm
aware about.


I don't remember exactly what i've done in the past.

I  used anchordockingdsgn package for a long time and today i thought:
what happens if i drag "project inspector" for example to another
position ... bad idea(!!)

Things got worse as i tried to restore the initial settings of this
package.

Reinstalled the package, read the wiki ... no success,  but then with
google i found the  mentioned Lazarus forum thread: close all windows
except source editor and then  rearrange all windows.

Would be usefull if there was something like restore default settings?!


John


--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] cannot compile git trunk from today

2021-07-31 Thread John Landmesser via lazarus

On Manjaro XFCE Linux there where issues compiling  new pulled lazarus
source

Working lazarus was:


Lazarus 2.1.0 r63838M FPC 3.3.1 x86_64-linux-gtk2



got the source with


git clone https://gitlab.com/freepascal.org/lazarus/lazarus.git lazarus


cd ~/lazarus

make all clean useride


compiling stopped with errors:


Compiling gtk2wsdialogs.pp
Compiling gtk2wsextctrls.pp
gtk2trayicon.inc(387,5) Error: Identifier not found
"gtk_status_icon_set_tooltip_text"
gtk2trayicon.inc(493,5) Error: Identifier not found
"gtk_status_icon_set_tooltip_text"
gtk2wsextctrls.pp(289) Fatal: There were 2 errors compiling module,
stopping
Fatal: Compilation aborted
make[3]: *** [Makefile:3192: ../lcl.ppu] Fehler 1
make[3]: Verzeichnis „/home/john1/lazarus/lcl/interfaces/gtk2“ wird
verlassen
make[2]: *** [Makefile:3381: gtk2_all] Fehler 2
make[2]: Verzeichnis „/home/john1/lazarus/lcl/interfaces“ wird verlassen
make[1]: *** [Makefile:5114: interfaces] Fehler 2
make[1]: Verzeichnis „/home/john1/lazarus/lcl“ wird verlassen
make: *** [Makefile:3716: lcl] Fehler 2


What should i do?

John



-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


  1   2   >