Re: [lazarus] patch - doceditor (part 1 of 4)

2006-09-15 Thread Mattias Gaertner
On Fri, 15 Sep 2006 17:12:09 +0200
"Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote:

> Hi
> 
> Attached is patch for doceditor.  Patch needs to be applied from the
> root Lazarus directory.
> The .lfm and .lrs files are not patches as they duplicated the size of
> each file, so I zipped the source files as they were on my computer.
> 
> Changes:
> * Added support (toolbar and menu) to insert  links into
> the documentation.
> * Bug 7189 has also been fixed
> * Redone all the images on the toolbar and menus (hence the big .lrs
> and .frm files)
> * I also included the images in a seperate zip file to be copied into
> the doceditor/images directory.

Thanks. Applied.

Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] patch - doceditor (part 4 of 4)

2006-09-15 Thread Graeme Geldenhuys

See previous message.

Regards,
 - Graeme -


--
There's no place like 127.0.0.1


frmmain.lrs.zipped
Description: Binary data


[lazarus] patch - doceditor (part 3 of 4)

2006-09-15 Thread Graeme Geldenhuys

See previous message.

Regards,
 - Graeme -


--
There's no place like 127.0.0.1


frmmain.lfm.zipped
Description: Binary data


[lazarus] patch - doceditor (part 2 of 4)

2006-09-15 Thread Graeme Geldenhuys

See previous message.

Regards,
 - Graeme -


--
There's no place like 127.0.0.1


doceditor_images.zipped
Description: Binary data


[lazarus] patch - doceditor (part 1 of 4)

2006-09-15 Thread Graeme Geldenhuys

Hi

Attached is patch for doceditor.  Patch needs to be applied from the
root Lazarus directory.
The .lfm and .lrs files are not patches as they duplicated the size of
each file, so I zipped the source files as they were on my computer.

Changes:
* Added support (toolbar and menu) to insert  links into
the documentation.
* Bug 7189 has also been fixed
* Redone all the images on the toolbar and menus (hence the big .lrs
and .frm files)
* I also included the images in a seperate zip file to be copied into
the doceditor/images directory.


Regards,
 - Graeme -



--
There's no place like 127.0.0.1


doceditor.patch.zipped
Description: Binary data


Re: [lazarus] patch - doceditor (lazde) doesn't compile

2006-09-15 Thread Mattias Gaertner
On Fri, 15 Sep 2006 10:23:46 +0200
"Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> Attached is a patch to get the doceditor (lazde) to compile again.
> Patch should be applied from the root Lazarus directory.

Thanks. Applied.

Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] patch - doceditor (lazde) doesn't compile

2006-09-15 Thread Graeme Geldenhuys

Hi,

Attached is a patch to get the doceditor (lazde) to compile again.
Patch should be applied from the root Lazarus directory.

Regards,
 - Graeme -


--
There's no place like 127.0.0.1
Index: doceditor/eleditor.pp
===
--- doceditor/eleditor.pp	(revision 9896)
+++ doceditor/eleditor.pp	(working copy)
@@ -478,10 +478,10 @@
 begin
   GetNodes;
   If Assigned(Felement) then
-FLabel.Text:=Format(SDataForElement,[FElement['name']])
+FLabel.Caption := Format(SDataForElement,[FElement['name']])
   else
-FLabel.Text:=SNoElement;
-  S:=TStringStream.Create('');
+FLabel.Caption := SNoElement;
+  S := TStringStream.Create('');
   LockOnChange;
   Try
 FShortEntry.Text:=RemoveLineFeeds(NodeToString(FShortNode));


Re: [lazarus] [patch] doceditor

2006-03-18 Thread Graeme Geldenhuys
On 18/03/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote:
> Thanks. Applied.
> I removed the custom option and set the output directory.

Thanks Mattias. Saved me from sending another patch.

Regards,
  - Graeme -


--
There's no place like 127.0.0.1

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] [patch] doceditor

2006-03-17 Thread Mattias Gaertner
On Thu, 16 Mar 2006 16:24:12 +0200
"Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I attached a patch for the doceditor.  It must be applied from the
> /Lazarus directory.
> 
> Changes:
> 1)  Fixed the "Close" button's Anchor properties in the About Form.
> When you resized the form, the button resized as well.
> 2)  Resized the about form, so that the text regarding the copyright
> fits into the window without clipping.
> 3)  Changed the Project Options of the lazde.lpi so that session
> information is stored in the .lps file and not the .lpi file.
> 4)  Added a Custom Compile option "-FUunits", which places all
> compiled units (.ppu, .o, etc) file into a "units" directory, instead
> of in the same directory as the source.  Note a "units" directory
> needs to be added to the /doceditor directory.  I couldn't get svn to
> generate a patch for that!

Thanks. Applied.
I removed the custom option and set the output directory.

 
> If it is a problem having all the changes in a single .patch file, I
> can post them as seperate files if needed.


Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] [patch] doceditor

2006-03-17 Thread Alexandre Leclerc
On 3/17/06, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote:
> On 16/03/06, Alexandre Leclerc <[EMAIL PROTECTED]> wrote:
> > I usually use this folder in my projects to put units... and a /bin
> > for executables, and /dcu for compiled objects... (comming from
> > delphi).. but I would have use something like /ppu for lazarus... for
> > ppu and o... but this is your patch, not mine! :)
>
> Under Delphi, I used to use _dcu, but thought that wouldn't be
> appropriate for Lazarus, so used "units".  Hey, if we can come up with
> a better name it would be no problem changing the patch.  :)

Well, you know, we could waste hours and create a full thread on the
issue... all that for a small folder name. Make it a standard; the
moment there is no confusion, it's good enought for me. ;)

Regards!

--
Alexandre Leclerc

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] [patch] doceditor

2006-03-17 Thread Graeme Geldenhuys
On 16/03/06, Alexandre Leclerc <[EMAIL PROTECTED]> wrote:
> I usually use this folder in my projects to put units... and a /bin
> for executables, and /dcu for compiled objects... (comming from
> delphi).. but I would have use something like /ppu for lazarus... for
> ppu and o... but this is your patch, not mine! :)

Under Delphi, I used to use _dcu, but thought that wouldn't be
appropriate for Lazarus, so used "units".  Hey, if we can come up with
a better name it would be no problem changing the patch.  :)

Regards,
  - Graeme -


--
There's no place like 127.0.0.1

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] [patch] doceditor

2006-03-16 Thread Alexandre Leclerc
On 3/16/06, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote:
> 4)  Added a Custom Compile option "-FUunits", which places all
> compiled units (.ppu, .o, etc) file into a "units" directory, instead
> of in the same directory as the source.  Note a "units" directory
> needs to be added to the /doceditor directory.  I couldn't get svn to
> generate a patch for that!

I usually use this folder in my projects to put units... and a /bin
for executables, and /dcu for compiled objects... (comming from
delphi).. but I would have use something like /ppu for lazarus... for
ppu and o... but this is your patch, not mine! :)

My 2 cents. Regards.

--
Alexandre Leclerc

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] [patch] doceditor

2006-03-16 Thread Graeme Geldenhuys
Hi,

I attached a patch for the doceditor.  It must be applied from the
/Lazarus directory.

Changes:
1)  Fixed the "Close" button's Anchor properties in the About Form.
When you resized the form, the button resized as well.
2)  Resized the about form, so that the text regarding the copyright
fits into the window without clipping.
3)  Changed the Project Options of the lazde.lpi so that session
information is stored in the .lps file and not the .lpi file.
4)  Added a Custom Compile option "-FUunits", which places all
compiled units (.ppu, .o, etc) file into a "units" directory, instead
of in the same directory as the source.  Note a "units" directory
needs to be added to the /doceditor directory.  I couldn't get svn to
generate a patch for that!


If it is a problem having all the changes in a single .patch file, I
can post them as seperate files if needed.

Regards,
  - Graeme -
Index: doceditor/frmabout.lfm
===
--- doceditor/frmabout.lfm	(revision 8940)
+++ doceditor/frmabout.lfm	(working copy)
@@ -1,302 +1,59 @@
 object AboutForm: TAboutForm
+  ActiveControl = Button1
   BorderStyle = bsDialog
   Caption = 'About this application'
   ClientHeight = 299
-  ClientWidth = 400
+  ClientWidth = 529
   PixelsPerInch = 90
   Position = poMainFormCenter
-  HorzScrollBar.Page = 399
+  HorzScrollBar.Page = 528
   VertScrollBar.Page = 298
   Left = 333
   Height = 299
   Top = 149
-  Width = 400
+  Width = 529
   object LThisApplication: TLabel
-BorderSpacing.OnChange = nil
 Caption = 'Lazarus Documentation Editor'
 Color = clNone
+ParentColor = False
 Left = 16
-Height = 12
+Height = 17
 Top = 8
-Width = 167
+Width = 220
   end
   object LCopyRight1: TLabel
-BorderSpacing.OnChange = nil
 Caption = 'This application is (c) by  Michael Van Canneyt and the Lazarus team'
 Color = clNone
+ParentColor = False
 Left = 16
-Height = 12
+Height = 17
 Top = 48
-Width = 393
+Width = 503
   end
   object LCopyRight2: TLabel
-BorderSpacing.OnChange = nil
 Caption = 'It is released under the terms of the  GENERAL PUBLIC LICENSE:'
 Color = clNone
+ParentColor = False
 Left = 16
-Height = 12
+Height = 17
 Top = 64
-Width = 368
+Width = 491
   end
   object Button1: TButton
-Anchors = [akTop, akLeft, akRight, akBottom]
-BorderSpacing.OnChange = nil
+Anchors = [akRight, akBottom]
+BorderSpacing.InnerBorder = 2
 Cancel = True
 Caption = '&Close'
 Default = True
 ModalResult = 1
 TabOrder = 0
-Left = 312
+Left = 423
 Height = 24
 Top = 264
-Width = 75
+Width = 90
   end
   object MCopyRight: TMemo
 Anchors = [akTop, akLeft, akRight, akBottom]
-BorderSpacing.OnChange = nil
-Lines.Strings = (
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-)
 ReadOnly = True
 ScrollBars = ssBoth
 TabOrder = 1
@@ -304,6 +61,6 @@
 Left = 16
 Height = 175
 Top = 80
-Width = 368
+Width = 497
   end
 end
Index: doceditor/frmab