Re: [Lazarus] sockets.pp(20, 5) Error: include file not found osdefs.inc

2015-03-21 Thread Michael Van Canneyt



On Sat, 21 Mar 2015, FreeMan wrote:


Thank you Michael,
How to tell to Marco ? because my reported issue assigned to Jonas Maebe. 
Jonas wrote this is lazarus problem and issue status
changed to resolved.
issue id is 0027693


I reopened it and assigned it to Marco.

Michael.

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


Re: [Lazarus] sockets.pp(20, 5) Error: include file not found osdefs.inc

2015-03-21 Thread FreeMan

Is this problem from lazarus or fpc ?

On 20.03.2015 14:38, FreeMan wrote:

fpc r30263 lazarus r48429 yosemite qt x64

in
/opt/freepascal/3.1.1/packages/rtl-extra/src/unix/sockets.pp

unit Sockets;
Interface
{$ifdef Unix}
Uses baseunix,UnixType;
{$endif}
{$i osdefs.inc}   { Compile time defines }

this file is not in /opt/freepascal/3.1.1/packages/rtl-extra/src/unix/


On 20.03.2015 13:54, Mattias Gaertner wrote:

On Fri, 20 Mar 2015 13:24:05 +0200
FreeManfreema...@delphiturkiye.com  wrote:


That's a configuration problem in your lazarus. Please ask for help on
the fora or mailing lists.
Jonas Maebe (manager) wrote this that link.
is this problem from fpc or lazarus?

What Lazarus version?

Check your FPC source directory and that you use the 3.1.1 compiler.

Check View / IDE Internals / About IDE.




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




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


Re: [Lazarus] sockets.pp(20, 5) Error: include file not found osdefs.inc

2015-03-21 Thread FreeMan

Thank you Michael,
How to tell to Marco ? because my reported issue assigned to Jonas 
Maebe. Jonas wrote this is lazarus problem and issue status changed to 
resolved.

issue id is 0027693


On 21.03.2015 11:21, Michael Van Canneyt wrote:



On Sat, 21 Mar 2015, FreeMan wrote:


Is this problem from lazarus or fpc ?


Free Pascal, for Marco Van de Voort.

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


[Lazarus] Keyboard handling messed up in LCL (recent change)

2015-03-21 Thread Michael Van Canneyt


Gentlemen,

I don't know how best to explain this problem.

Platform: Linux, 64 bit PC. GTK

Today, I started a recent lazarus 1.5 on a new PC and started working in it. 
After some time I noticed the m key (on an azerty keyboard) no longer worked in the source editor.

Prior to that I had not touched the M key.

In synedit, The M behaves as a 'ctrl-m' key: a CR (^13) is inserted !
I know the synedit is a bit special. So I decided to test the key in another 
edit control.

Pressing shift-M works as expected and inserts a capital M.

When typing in the project options, title option edit control, I got double 
m characters.

So, I then updated lazarus from SVN to todays version and recompiled. The 
problem persisted.
Then, when typing in any edit box, now I get double letters (a - aa etc)

as soon as I touch the m key, all input just stops, I can no longer edit 
anything.
Restarting lazarus allows me to type characters, until I touch the M key 
outside of synedit.

I had several older lazarus binaries on this machine, so I tried that: there 
the 'm' key works fine.

The strange thing is, if I go to 'keyboard mappings' 'Find key combination' and press 'Grab key' 
then the key is displayed fine.


The m key works as expected in all other programs:
I am typing this mail on the same machine, and the M key works just fine.

All this makes me pretty confident it is a Lazarus issue, probably trying to 
handle the
CTRL-M (CR) key in some special (global) way.

Suggestions for fixing this ?

Michael.

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


Re: [Lazarus] sockets.pp(20, 5) Error: include file not found osdefs.inc

2015-03-21 Thread Michael Van Canneyt



On Sat, 21 Mar 2015, FreeMan wrote:


Is this problem from lazarus or fpc ?


Free Pascal, for Marco Van de Voort.

Michael.

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


Re: [Lazarus] suggestion for lazbuild

2015-03-21 Thread FreeMan

Tested lazarus r48448 osx yosemite qtx64
make --quiet  OPT = -k'-framework' -k'ApplicationServices' -dUSE_QT_45 
-g -gl -vn-h-i-

and
./lazbuild --quiet --max-process-count=8
not show hint output now.
lazbuild work time for me, 1minute 26second now, this mean 4 seconds 
less time.

thanx

On 21.03.2015 14:15, Mattias Gaertner wrote:

On Fri, 20 Mar 2015 18:30:43 +0200
FreeMan freema...@delphiturkiye.com wrote:


I did it and tested in lazarus r48432

Set custom option -vn-h-i- then move this line to Store in IDE
in command line result not changed, I mean :
before ending lazbuild job, last hints, (I'm not count all messages)
opt/lazarus/ide/main.pp(485,37) Hint: (5024) Parameter Sender not used
this line 240 times printing continuesly.

Fixed.

Mattias



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


Re: [Lazarus] sockets.pp(20, 5) Error: include file not found osdefs.inc

2015-03-21 Thread FreeMan

I saw in issue, thank you very much.

On 21.03.2015 12:30, Michael Van Canneyt wrote:

I reopened it and assigned it to Marco.

Michael. 



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


Re: [Lazarus] Keyboard handling messed up in LCL (recent change)

2015-03-21 Thread JuuS
What a coincidence!~

I just wrote a message to board about this...it is ibus.

go to terminal: type: ibus exit

Your problems will go away...



On 03/21/2015 11:26 AM, Michael Van Canneyt wrote:
 
 Gentlemen,
 
 I don't know how best to explain this problem.
 
 Platform: Linux, 64 bit PC. GTK
 
 Today, I started a recent lazarus 1.5 on a new PC and started working in
 it. After some time I noticed the m key (on an azerty keyboard) no
 longer worked in the source editor.
 Prior to that I had not touched the M key.
 
 In synedit, The M behaves as a 'ctrl-m' key: a CR (^13) is inserted !
 I know the synedit is a bit special. So I decided to test the key in
 another edit control.
 
 Pressing shift-M works as expected and inserts a capital M.
 
 When typing in the project options, title option edit control, I got
 double m characters.
 
 So, I then updated lazarus from SVN to todays version and recompiled.
 The problem persisted.
 Then, when typing in any edit box, now I get double letters (a - aa etc)
 
 as soon as I touch the m key, all input just stops, I can no longer edit
 anything.
 Restarting lazarus allows me to type characters, until I touch the M key
 outside of synedit.
 
 I had several older lazarus binaries on this machine, so I tried that:
 there the 'm' key works fine.
 
 The strange thing is, if I go to 'keyboard mappings' 'Find key
 combination' and press 'Grab key' then the key is displayed fine.
 
 The m key works as expected in all other programs:
 I am typing this mail on the same machine, and the M key works just fine.
 
 All this makes me pretty confident it is a Lazarus issue, probably
 trying to handle the
 CTRL-M (CR) key in some special (global) way.
 
 Suggestions for fixing this ?
 
 Michael.
 
 -- 
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

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


[Lazarus] IBUS warning

2015-03-21 Thread JuuS
Hi,

Recently while debugging Lazarus with root privileges I got the
following warning:

(lazarus:5521): IBUS-WARNING **: The owner of
/home/juus/.config/ibus/bus is not root!

Q1: (lazarus:5521) has what meaning? Can I use this address to find
where ibus is being called?

Q2: It appears lazarus is calling ibus explicitly?

I ask because I hate ibus. I habitually turn it off on starting my linux
machine because it messes with edits and makes typing impossible (not
just in lazarus). If I forget to do this I notice it right away, sigh,
and go turn off ibus.

Anyone else having trouble with ibus and have maybe some information
about it and/or how it relates to lazarus and/or linux system...

Thanks.


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


Re: [Lazarus] Keyboard handling messed up in LCL (recent change)

2015-03-21 Thread Graeme Geldenhuys
On 2015-03-21 10:26, Michael Van Canneyt wrote:
 I don't know how best to explain this problem.

Funny you mention this (strange is why I didn't report it). I've also
updated my Lazarus this week and Ctrl+O stopped working - yet in other
programs like Firefox or gEdit it works just fine. Pressing the O key on
its own worked and Alt+O worked. I think the issue is with the Ctrl key.
Because Ctrl+Z was acting as if the Tab key was pressed. This drove me nuts

I was using CentOS 6.6 64-bit and Lazarus IDE compiled with GTK2.

No matter how many times I recompiled the IDE, the problem didn't go
away. I eventually found a work-around and that was to switch my
keyboard layout in Gnome. Toggling between two layouts (Qwerty  Dvorak)
and it corrected itself. If this is going to last, I don't know.

Regards,
  - Graeme -

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

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


Re: [Lazarus] Building IDE setting don't ripple to packages

2015-03-21 Thread Mattias Gaertner
On Fri, 20 Mar 2015 16:09:23 -
Graeme Geldenhuys mailingli...@geldenhuys.co.uk wrote:

 Hi,
 
 Just scanned through the lazbuild thread happening today and it reminded  
 me of something I noticed yesterday.
 
 I ran Lazarus from the command line so I could see lots of compiler  
 output. If I rebuild the IDE via the Tools - Configure Build Lazarus  
 menu option, and then add the O3 -g- -Xs parameters in the compiler  
 Options edit box, then select Clean All and then click Build I  
 noticed that the options I specified doesn't ripple through to the IDE  
 package dependencies. I noticed lots of packages are given compiler  
 options like -O1 -gl etc instead of what I specified. Surely that means  
 that the resulting executable is not nearly as optimised as it could or  
 should be.
 
 Using Lazarus 1.5 r48429 FPC 2.6.4 x86_64-linux-gtk 2

The options in the Configure Build Lazarus options are the macro
$(IDEBuildOptions). Many packages added that macro to their custom
options, but not all.

To apply options to all packages you can use:
http://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options#Add_a_flag_to_project_and_all_packages

Mattias

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


[Lazarus] Default ico handling and recent debugger errors

2015-03-21 Thread JuuS

While testing RC1 and 2 I followed the suggestion to open a published
project and see how the release candidates were doing with them.

Upon doing this I got an immediate debugger error, which has been traced
down now (as of last night) with the help of Martin and is fixed.

The problems origins were (and still are to some extent)...weird.

Before a debugger solution was found I could stop the error by simply
removing the default icon line from the published project's LPI file,
then no debugger error.

During all the research I could see that while the LPI file had a
default icon line, the publishing process did not copy the ico file to
the published diretory.

So there was always a background silent error due to the fact that the
icon file didn't exist, the silent exception (seen when debugging
Lazarus) was on trying to open this nonexisting file.

How this all caused the debugger error is, as I have said, still not
entirely understood.

So it just brings to my mind that even though this error has no effect
in most cases it may be best to either copy the ico file on publishing
the project, or not writing a default icon line in LPI, or checking
that the ico file actually does exist and recreating it if not; just in
case it has other effects that will cause other weird errors down the
line.




On 03/21/2015 02:04 PM, JuuS wrote:
 What a coincidence!~
 
 I just wrote a message to board about this...it is ibus.
 
 go to terminal: type: ibus exit
 
 Your problems will go away...
 
 
 
 On 03/21/2015 11:26 AM, Michael Van Canneyt wrote:

 Gentlemen,

 I don't know how best to explain this problem.

 Platform: Linux, 64 bit PC. GTK

 Today, I started a recent lazarus 1.5 on a new PC and started working in
 it. After some time I noticed the m key (on an azerty keyboard) no
 longer worked in the source editor.
 Prior to that I had not touched the M key.

 In synedit, The M behaves as a 'ctrl-m' key: a CR (^13) is inserted !
 I know the synedit is a bit special. So I decided to test the key in
 another edit control.

 Pressing shift-M works as expected and inserts a capital M.

 When typing in the project options, title option edit control, I got
 double m characters.

 So, I then updated lazarus from SVN to todays version and recompiled.
 The problem persisted.
 Then, when typing in any edit box, now I get double letters (a - aa etc)

 as soon as I touch the m key, all input just stops, I can no longer edit
 anything.
 Restarting lazarus allows me to type characters, until I touch the M key
 outside of synedit.

 I had several older lazarus binaries on this machine, so I tried that:
 there the 'm' key works fine.

 The strange thing is, if I go to 'keyboard mappings' 'Find key
 combination' and press 'Grab key' then the key is displayed fine.

 The m key works as expected in all other programs:
 I am typing this mail on the same machine, and the M key works just fine.

 All this makes me pretty confident it is a Lazarus issue, probably
 trying to handle the
 CTRL-M (CR) key in some special (global) way.

 Suggestions for fixing this ?

 Michael.

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

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


Re: [Lazarus] Is adding all the related files to a package the way to stop units proliferating in the output directory?

2015-03-21 Thread Mattias Gaertner
On Fri, 20 Mar 2015 17:39:18 +
vfclists . vfcli...@gmail.com wrote:

 On 20 March 2015 at 12:30, Mattias Gaertner nc-gaert...@netcologne.de
 wrote:
 
  On Fri, 20 Mar 2015 12:08:11 +
  vfclists . vfcli...@gmail.com wrote:
 
   I am using a library which uses a lot of it own related files and
  whenever
   I recompile all those units are always recompiled.
 
  What do you mean with whenever I recompile?
  Compile (Ctrl-F9), Build (Shift-F9), Clean up and build, ...
  changing compiler options and build, ...
 
 
 Mainly Quick Compile, Run and Build

Check if the -B option was passed to the compiler.
Select in the Messages window the Compile Project message, right
click, then About / About Compile Project.
The -B tells the compiler to recompile every source it can find.

When you compile a second time, there should be no -B and the compiler
should only compile only the program file and no unit.
Does it?

   Is adding the other
   additional files into a package the way to avoid this recompilation and
  the
   presence of lots of unrelated ppus and object files?
 
  What are other additional files?
 
 
 They are files in the uses section of the project's units, but there are a
 lot of them and are mostly exclusive dependencies of the projects main unit.

Ok. Sounds like normal units.


Mattias

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


Re: [Lazarus] sockets.pp(20, 5) Error: include file not found osdefs.inc

2015-03-21 Thread Michael Van Canneyt



On Sat, 21 Mar 2015, FreeMan wrote:


I saw in issue, thank you very much.

On 21.03.2015 12:30, Michael Van Canneyt wrote:

I reopened it and assigned it to Marco.

Michael.


Unfortunately, I made a mistake when I first checked the issue.
The problem is not in FPC, but seems to be a configuration problem on your PC.

Michael.

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


Re: [Lazarus] Keyboard handling messed up in LCL (recent change)

2015-03-21 Thread Michael Van Canneyt



On Sat, 21 Mar 2015, JuuS wrote:


What a coincidence!~

I just wrote a message to board about this...it is ibus.

go to terminal: type: ibus exit

Your problems will go away...


Indeed, it solves the problem. Amazing. 
I completely de-installed ibus and all problems are solved.

Must have been pulled in with some program I installed (I suspect gnome-music) 
recently.

@Laz team: 
How to explain that Lazarus (in Fact LCL programs, I tested that) are the only programs 
affected, is IBus used in Lazarus on linux ? Or is it an artifact of GTK and QT ?


Michael.

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


Re: [Lazarus] suggestion for lazbuild

2015-03-21 Thread Mattias Gaertner
On Fri, 20 Mar 2015 13:58:07 +
Henry Vermaak henry.verm...@gmail.com wrote:

[...]
 It just sits there and I have to ctrl-c to get out.  If I add
 --max-process-count=9 it works nicely.

Fixed.

Mattias

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


Re: [Lazarus] suggestion for lazbuild

2015-03-21 Thread Mattias Gaertner
On Fri, 20 Mar 2015 18:30:43 +0200
FreeMan freema...@delphiturkiye.com wrote:

 I did it and tested in lazarus r48432
 
 Set custom option -vn-h-i- then move this line to Store in IDE
 in command line result not changed, I mean :
 before ending lazbuild job, last hints, (I'm not count all messages)
 opt/lazarus/ide/main.pp(485,37) Hint: (5024) Parameter Sender not used
 this line 240 times printing continuesly.

Fixed.

Mattias

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


Re: [Lazarus] Keyboard handling messed up in LCL (recent change)

2015-03-21 Thread Bart
On 3/21/15, Michael Van Canneyt mich...@freepascal.org wrote:

 When typing in the project options, title option edit control, I got
 double m characters.

Maybe related to http://bugs.freepascal.org/view.php?id=15185 ?

Bart

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


Re: [Lazarus] Keyboard handling messed up in LCL (recent change)

2015-03-21 Thread zeljko

On 03/21/2015 02:19 PM, Michael Van Canneyt wrote:



On Sat, 21 Mar 2015, JuuS wrote:


What a coincidence!~

I just wrote a message to board about this...it is ibus.

go to terminal: type: ibus exit

Your problems will go away...


Indeed, it solves the problem. Amazing. I completely de-installed ibus
and all problems are solved.
Must have been pulled in with some program I installed (I suspect
gnome-music) recently.

@Laz team: How to explain that Lazarus (in Fact LCL programs, I tested
that) are the only programs affected, is IBus used in Lazarus on linux ?
Or is it an artifact of GTK and QT ?


1.Have you tested with Qt ?
2.Nobody implemented ibus methods for gtk2 and qt.

zeljko


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


Re: [Lazarus] Keyboard handling messed up in LCL (recent change)

2015-03-21 Thread zeljko

So in fact the presence of ibus must be detected and corrective action
must be taken ?


Yes.

zeljko

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


Re: [Lazarus] Keyboard handling messed up in LCL (recent change)

2015-03-21 Thread Marc Weustink


On March 21, 2015 2:48:52 PM CET, Michael Van Canneyt mich...@freepascal.org 
wrote:


On Sat, 21 Mar 2015, zeljko wrote:

 On 03/21/2015 02:19 PM, Michael Van Canneyt wrote:
 
 
 On Sat, 21 Mar 2015, JuuS wrote:
 
 What a coincidence!~
 
 I just wrote a message to board about this...it is ibus.
 
 go to terminal: type: ibus exit
 
 Your problems will go away...
 
 Indeed, it solves the problem. Amazing. I completely de-installed
ibus
 and all problems are solved.
 Must have been pulled in with some program I installed (I suspect
 gnome-music) recently.
 
 @Laz team: How to explain that Lazarus (in Fact LCL programs, I
tested
 that) are the only programs affected, is IBus used in Lazarus on
linux ?
 Or is it an artifact of GTK and QT ?

 1.Have you tested with Qt ?

No, but I use KDE as a desktop. So I assume it will affect Qt as well.

Quite possible one must scratch Qt from the above :)

 2.Nobody implemented ibus methods for gtk2 and qt.

So in fact the presence of ibus must be detected and corrective action
must be taken ?
That would be bad news :(


Weird, that having an im I installed but not used affects keypress handling. 
This means it is deeply hooked into gtk/x.
Before we receive the keypresses. :(

Marc

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


Re: [Lazarus] Keyboard handling messed up in LCL (recent change)

2015-03-21 Thread Michael Van Canneyt



On Sat, 21 Mar 2015, Marc Weustink wrote:




On March 21, 2015 2:48:52 PM CET, Michael Van Canneyt mich...@freepascal.org 
wrote:



On Sat, 21 Mar 2015, zeljko wrote:


On 03/21/2015 02:19 PM, Michael Van Canneyt wrote:



On Sat, 21 Mar 2015, JuuS wrote:


What a coincidence!~

I just wrote a message to board about this...it is ibus.

go to terminal: type: ibus exit

Your problems will go away...


Indeed, it solves the problem. Amazing. I completely de-installed

ibus

and all problems are solved.
Must have been pulled in with some program I installed (I suspect
gnome-music) recently.

@Laz team: How to explain that Lazarus (in Fact LCL programs, I

tested

that) are the only programs affected, is IBus used in Lazarus on

linux ?

Or is it an artifact of GTK and QT ?


1.Have you tested with Qt ?


No, but I use KDE as a desktop. So I assume it will affect Qt as well.

Quite possible one must scratch Qt from the above :)


2.Nobody implemented ibus methods for gtk2 and qt.


So in fact the presence of ibus must be detected and corrective action
must be taken ?
That would be bad news :(



Weird, that having an im I installed but not used affects keypress handling. 
This means it is deeply hooked into gtk/x.
Before we receive the keypresses. :(


Yes. I noticed ibus plugins for gtk and Qt were installed.
That's why I said it is bad news :(

Michael.

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


Re: [Lazarus] Keyboard handling messed up in LCL (recent change)

2015-03-21 Thread Michael Van Canneyt



On Sat, 21 Mar 2015, zeljko wrote:


On 03/21/2015 02:19 PM, Michael Van Canneyt wrote:



On Sat, 21 Mar 2015, JuuS wrote:


What a coincidence!~

I just wrote a message to board about this...it is ibus.

go to terminal: type: ibus exit

Your problems will go away...


Indeed, it solves the problem. Amazing. I completely de-installed ibus
and all problems are solved.
Must have been pulled in with some program I installed (I suspect
gnome-music) recently.

@Laz team: How to explain that Lazarus (in Fact LCL programs, I tested
that) are the only programs affected, is IBus used in Lazarus on linux ?
Or is it an artifact of GTK and QT ?


1.Have you tested with Qt ?


No, but I use KDE as a desktop. So I assume it will affect Qt as well.

Quite possible one must scratch Qt from the above :)


2.Nobody implemented ibus methods for gtk2 and qt.


So in fact the presence of ibus must be detected and corrective action must be 
taken ?
That would be bad news :(

Michael.

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


Re: [Lazarus] suggestion for lazbuild

2015-03-21 Thread Alexsander Rosa
I wish there were a parameter to hide warnings in some directories.
Like:
--hide-warnings-in-dir=/usr/share/lazarus/1.2.6/components
OR
--show-warnings-only-in-dir=/home/myuser/myproject

2015-03-20 11:16 GMT-03:00 Henry Vermaak henry.verm...@gmail.com:

 On Fri, Mar 20, 2015 at 02:00:11PM +, Henry Vermaak wrote:
  On Fri, Mar 20, 2015 at 03:45:49PM +0200, FreeMan wrote:
   lcl widget type= qtTarget OS : Darwin Target CPU: x86_64
   no options
 
  Well, what do you expect then?  Try to add -vh- -vn- if you don't want
  to see hints or notes.

 These options don't get passed to the packages, so you'll still see
 messages.  I don't know if there's a way to pass the options along to
 the packages, too.

 Henry

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




-- 
Atenciosamente,
Alexsander da Rosa
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Oscilliscope Control

2015-03-21 Thread Michael Thompson
G'day,

Over on the forum someone is asking for an oscilloscope control. That
vaguely reminded me of something, so I went looking...

Indeed, there was a project that might possibly have the required control.
Unfortunately, the links on the wiki are either dead, or just not
responding from my address.

The (dead) link is
http://eletronicalivre.incubadora.fapesp.br/portal/english/oscilloscope/%7CISA

It's listed at the bottom of this page:
http://wiki.lazarus.freepascal.org/Hardware_Access

and at

http://wiki.lazarus.freepascal.org/Projects_using_Lazarus#ISA_Digital_Osciloscope

The whole project looks useful.

Does someone know any updated links?  (I'm happy to update the wiki)
 Alternatively, could someone confirm if the link is fine from their PC?

Many thanks

Mike
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Cross Codebot surface drawing examples

2015-03-21 Thread Marcos Douglas
On Sat, Mar 21, 2015 at 1:44 AM, Anthony Walter sys...@gmail.com wrote:
 Here is a brief overview of some of custom rendering which can be done with
 Cross Codebot graphics interfaces. A few videos are embedded in the page
 below:

 http://www.getlazarus.org/forums/viewtopic.php?f=18t=35p=150#p150

 Here is a listing of the interfaces and their methods:

 http://www.getlazarus.org/videos/crossgraphics/

Good job!

 If you're interested in testing the Cross Codebot package let me know and I
 can provide user level account access to my private git server.

The repository below is outdated. When do you will update it?
https://github.com/sysrpl/Codebot.Cross

Best regards,
Marcos Douglas

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


Re: [Lazarus] Oscilliscope Control

2015-03-21 Thread Howard Page-Clark

On 21/03/2015 20:56, Michael Thompson wrote:


The (dead) link is
http://eletronicalivre.incubadora.fapesp.br/portal/english/oscilloscope/%7CISA


This link is dead from my location also.

Howard


---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com


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


[Lazarus] Sorted editor tabs

2015-03-21 Thread Werner Pamler
I love the new feature that the editor notebook can display files now in 
multiple tab rows. Having many files open, however, it is still a bit 
difficult to find a particular file even if all file names are visible. 
What about (optionally) ordering the tabs alphabetically?


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


Re: [Lazarus] Sorted editor tabs

2015-03-21 Thread Martin Frb

On 21/03/2015 22:59, Werner Pamler wrote:
I love the new feature that the editor notebook can display files now 
in multiple tab rows. Having many files open, however, it is still a 
bit difficult to find a particular file even if all file names are 
visible. What about (optionally) ordering the tabs alphabetically?


Have you right clicked a tab? the popup contains all tabs, grouped by 
package/project.


You can drag tabs to new position (of course that is only practical for 
a low number). So sort the important ones to one place.,


Or if you work with project + limited number of packages, have the 
project/package window open. They have (sortable) list of files, and 
doubleclick gets you to the editor. No need to find the tab.


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


Re: [Lazarus] Cross Codebot surface drawing examples

2015-03-21 Thread Anthony Walter
Yeah, that repository is going away. Eventually I'll move this new version
to git hub, after a bit more internal testing. In the meanwhile I'm hosting
a private git server and if anyone wants to test they can send me a request
with their preferred username/password and I'll respond with the git server
location.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Sorted editor tabs

2015-03-21 Thread Werner Pamler

Thanks for your answer. Maybe my idea was just nonsense...


Have you right clicked a tab? the popup contains all tabs, grouped by
package/project.


I know. But these are additional clicks...


You can drag tabs to new position (of course that is only practical for
a low number). So sort the important ones to one place.,


Yes, I love this...


Or if you work with project + limited number of packages, have the
project/package window open. They have (sortable) list of files, and
doubleclick gets you to the editor. No need to find the tab.


Yes, I put the project inspector at the right edge of the screen and
select files from there. But this does not work so well with packages:
- Lazarus does not re-open with packages at next start -- I have to
  open packages manually every time.
- The package windows always come up in the screen center and are soon
  covered by the designer and editor -- I have to drag them to
  the side.
- And they have a width constraint which leaves them too wide for my needs.
  I'd even go further and wish an option to turn off the caption of the
  toolbar buttons of the project and package windows in order to be able
  to shrink their width as much as possible (In the times of
  super-large monitors, the screen is too small again...)

Sorry for this long list of wishes.


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


Re: [Lazarus] Sorted editor tabs / Manage Source Editors

2015-03-21 Thread Martin Frb

On 21/03/2015 23:52, Werner Pamler wrote:


Yes, I put the project inspector at the right edge of the screen and
select files from there. But this does not work so well with packages:
- Lazarus does not re-open with packages at next start -- I have to
  open packages manually every time.
- The package windows always come up in the screen center and are soon
  covered by the designer and editor -- I have to drag them to
  the side.
- And they have a width constraint which leaves them too wide for my 
needs.

  I'd even go further and wish an option to turn off the caption of the
  toolbar buttons of the project and package windows in order to be able
  to shrink their width as much as possible (In the times of
  super-large monitors, the screen is too small again...)

Sorry for this long list of wishes.


You should make feature request for those.  Because I am not likely to 
look at them myself, sorry.

I just picked this up as long as it was/is editor related.

About the toolbar text+item = IMHO there should be a global option, and 
all windows should follow.


About your original request. There is actually a menu entry (menu 
Windows) Manage Source Editors


That allows sorting, but again only one at a time. It could allow multi 
select. You can also keep it open, and use ti to go to each editor. 
Except the current layout makes it too wide.
(It can show alpha-sorted, but then it will not move the actual tabs / 
if it is not sorted, it will move tabs)


You can propose a patch to this. Might be accepted. (But no promise).


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