Re: [Lazarus] Bug zeros out Pas files.

2013-10-08 Thread Antonio Fortuny

Hi Dave.

I've had the same trouble some time ago and submitted the problem here. 
Unfortunately I'm not able to find the topic in this forum. It looks 
like it was before 2012.
I wonder if the name of one of the files was concerned. Maybe one with 
blakns in the name.

If I remember well I used this version too.

Antonio.

Le 07/10/2013 19:00, Dave Coventry a écrit :

This is the second time I've experienced this, with different versions
of Lazarus on Windows XP 32 bit running as Guest on Virtualbox on a
Ubuntu system.

The first version was Lazarus-1.0.7-40379-fpc-2.6.0-20130224-win32 and
the program suddenly claimed that I had upgraded and wanted to upgrade
the User preferences. After which the PAS file on the app I was
working on contained 12Kb of zeros.

Now, Lazarus 1.1 r40379 FPC 2.6.1 i386-win32-win32/win64 is doing the same.

I was working on a significantly larger project, but the main PAS
file, it's LFM Form descriptor and the .res, .lps, and .lpi have all
had their content replaced with zeros.

Also several files in C:\Documents and Settings\dave\Local
Settings\Application Data\lazarus have been corrupted.

EditorMacros.xml and environmentoptions.xml have both had their
content replaced with zeros.

Is this a known issue?

--
___
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] Bug zeros out Pas files.

2013-10-08 Thread Dave Coventry
On 8 October 2013 09:39, Antonio Fortuny a.fort...@sitasoftware.lu wrote:
 Hi Dave.

 I've had the same trouble some time ago and submitted the problem here.
 Unfortunately I'm not able to find the topic in this forum. It looks like it
 was before 2012.
 I wonder if the name of one of the files was concerned. Maybe one with
 blakns in the name.
 If I remember well I used this version too.


Hi Antonio,

The first one, with Lazarus-1.0.7-40379-fpc-2.6.0-20130224-win32, was
with a very standard small App called 'pruler.lpi'. There was only one
PAS unit and it was simply called 'Unit1.pas', so (in my case, anyway)
there is unlikely to have been naming conflicts.

I'm wondering if it has something to do with the VirtualBox
configuration as this doesn't seem to be a common experience amongst
Lazarus users (from the response on here, anyway), although it's
happened to me twice in the last week, on different Lazarus versions
and on separate code projects.

Dave

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


Re: [Lazarus] Bug zeros out Pas files.

2013-10-08 Thread Antonio Fortuny


Le 08/10/2013 10:14, Dave Coventry a écrit :

Hi Antonio,

The first one, with Lazarus-1.0.7-40379-fpc-2.6.0-20130224-win32, was
with a very standard small App called 'pruler.lpi'. There was only one
PAS unit and it was simply called 'Unit1.pas', so (in my case, anyway)
there is unlikely to have been naming conflicts.

I'm wondering if it has something to do with the VirtualBox
I'm using VB a lot myself (home and at work) along with esxi (at work) 
and I haven't experienced such a problem, except some months (maybe even 
years) ago.
I do not rremember if Lazarus was involved or not. Win32 excepted (Vista 
box) all others (Linux64, Win64) are in esxi virtual machines.

configuration as this doesn't seem to be a common experience amongst
Lazarus users (from the response on here, anyway), although it's
happened to me twice in the last week, on different Lazarus versions
Same for me, until I decided to reinstall from blank. I think this was 
the solution but I'm not really sure.


Antonio.

and on separate code projects.

Dave

--
___
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] View Project Units and Filter PAS

2013-10-08 Thread Mattias Gaertner
On Tue, 8 Oct 2013 08:52:34 +0300
Zaher Dirkey parm...@gmail.com wrote:

 Hi
 I use View Project Units but when use pas to filter my units, it is not
 effective because it is effective on extensions too, it shows all files
 that I have.
 
 Menu-Project-Units
 
 I prefer the filter not applied on extension files.

Maybe the filter can be extended with * and ? globbing.

Mattias

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


Re: [Lazarus] Designer aligment tool BUG

2013-10-08 Thread Mattias Gaertner
On Mon, 07 Oct 2013 13:47:12 +0300
FreeMan freema...@delphiturkiye.com wrote:

 Hello,
 Kubuntu x64 13.04
 last svn fpc  lazarus.
 
 Select 2(or more) visual component on form, via shift + Left click or 
 while clicking move mouse and select.  Showing Square dots for selected 
 components. Rigth click and popup menu open, click align, open 
 Aligment window then select Left sides from Horizontal group, then 
 click ok. All component's left set to selected square's left position. 
 this is wrong, 'cos I wanna set selected components position to what I 
 selected first component's position. right sides etc. as well

That would be confusing with rectangle selection. So, it should check
if the user selected the first components separately.

 
 And my  other suggesstion on slection, first (mean master) components 
 dot colors be Red, so I can easly see master components are.

+1

Mattias

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


[Lazarus] Suggession for IDE or maybe BUG

2013-10-08 Thread FreeMan
In IDE option, Show compile dialog checked. On compiling window is 
opening, when clcik ok for close this, focused window changed. Mean : I 
click compile button on source editor or use compile shortcut, IDE 
compiling and show dialog but after close dialog window, editor window 
not focused back, I have to select source editor for focus again.

Thank you

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


Re: [Lazarus] Bug zeros out Pas files.

2013-10-08 Thread Dave Coventry
On 8 October 2013 10:51, Antonio Fortuny a.fort...@sitasoftware.lu wrote:
 Same for me, until I decided to reinstall from blank. I think this was the
 solution but I'm not really sure.

Okay, I'll keep an eye on this and see if I can spot any common
circumstances if it happens again. Fortunately the auto-Backup files
meant that not too much was lost...

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


Re: [Lazarus] View Project Units and Filter PAS

2013-10-08 Thread Juha Manninen
On Tue, Oct 8, 2013 at 12:02 PM, Mattias Gaertner
nc-gaert...@netcologne.de wrote:
 I prefer the filter not applied on extension files.

 Maybe the filter can be extended with * and ? globbing.

Yes, it could have different filtering modes. The current behavior
would be contains mode, others could be wildcard and maybe
regexpr. Filtering file names without extension could be one special
mode.
The filter component could even provide a popup menu for changing the
mode. There are possibilities.

Patches are welcome. I have other priorities now.

Regards,
Juha

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