Re: [lazarus] Adding AllowFractionalPositioning to TCarbonDeviceContext

2007-11-04 Thread Colin Western
Felipe Monteiro de Carvalho wrote: Hi, I don't understand the issue. The Screen cannot display fractional character positions anyway, so why would this make any difference? There is a rather nice demo of how to do exactly that at: http://antigrain.com/research/font_rasterization/index.html

Re: GetFPImageReaderForFileExtension question for .jpg

2006-11-27 Thread Colin Western
Alexandre Leclerc wrote: 2006/11/27, Alexandre Leclerc [EMAIL PROTECTED]: Hi all, I don't know why but the function is returning no reader for .jpg. Do I need to register a special class or do anything special? {$IFDEF UseSimpleJpeg} Add('jpg', 'Joint Picture Expert Group',TJpegImage);

[lazarus] Suggested changes to help interface

2006-09-02 Thread Colin Western
The attached patch contains two possible changes to the help interface: 1. The URL handling is made more general, so that anchors (?) are handled as well as parameters (#). 2. Some changes to the method of searching for the html viewer: a. add firefox to the list b. add a specific location

[lazarus] exec-shield problems

2006-05-17 Thread Colin Western
I am encountering problems on Fedora Core 5, in that lazarus crashes on displaying some design time forms. The problem seems to be in the JITForms.pp the code arounf line 920: CodeTemplate:=MethodAddress('DoNothing'); CodeSize:=100; // !!! what is the real codesize of DoNothing? !!!

[lazarus] Designer

2006-05-03 Thread Colin Western
The form designer crashes for me (under gtk1) if I try and use the Ctrl/Shift and arrows keys for moving controls. The attached patch fixes the problem for me. I am not sure if it is a bug in the gtk Key handling, but LM_KEYDOWN messages are never delivered to the designer if there is an edit

[lazarus] TTreeNodes.Item

2006-04-30 Thread Colin Western
Delphi has TTreeNodes.Item[], but the LCL has TTreeNodes.Items[]. The attached patch changes this. Colin diff -uNr lazarus/ideintf/listviewpropedit.pp /dos/fpc/lazarus.w/ideintf/listviewpropedit.pp --- lazarus/ideintf/listviewpropedit.pp 2006-01-29 12:01:27.0 + +++

[lazarus] Menu fix

2006-03-04 Thread Colin Western
Under gtk1 on linux it is not possible to have an underscore character displayed. The attached patch fixes this Colin diff -uNr lazarus/lcl/interfaces/gtk/gtkproc.inc /dos/fpc/lazarus.w/lcl/interfaces/gtk/gtkproc.inc --- lazarus/lcl/interfaces/gtk/gtkproc.inc 2006-03-04 11:04:49.0 +

[lazarus] Grids fixes

2006-03-04 Thread Colin Western
The attached fixes two problems I noticed that were exposed with a small display area for a grid: 1. A range check error if compiled with checks on 2. A hang on scrolling two a particular cell if it is not possible to show all of the cell Colin diff -uNr lazarus/lcl/grids.pas

Re: [lazarus] DragDrop

2006-01-05 Thread Colin Western
dannym wrote: Hi, Am Dienstag, den 03.01.2006, 22:17 + schrieb C Western: You might be interested in the attached fragment, which I posted to the mailing list a while back. It simulates the windows file Drag and drop calls using gtk calls. I would supply a patch to put it in the LCL,

Re: [lazarus] Visual Form Inheritence

2005-11-24 Thread Colin Western
Mattias Gaertner wrote: On Thu, 24 Nov 2005 08:44:08 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi What are the plans/roadmap for this feature? Probably not in 1.0. Is anybody working on this? Colin Western started some features. You can use inerhited forms

Re: [lazarus] Inherited forms

2005-11-06 Thread Colin Western
Mattias Gaertner wrote: On Sat, 05 Nov 2005 18:32:57 + Colin Western [EMAIL PROTECTED] wrote: [...] Is the attached anything like right for forcing the ancestor form to load? It works on the one form I tried... Well, it will work sometimes because of sheer luck

[lazarus] Imagelist

2005-11-06 Thread Colin Western
The attached patch fixes some imagelist problems I have found. With this applied I can use a form with imagelist taken from Delphi on gtk. Colin diff -uNr lazarus/ideintf/menuintf.pas /dos/fpc/lazarus.w/ideintf/menuintf.pas --- lazarus/ideintf/menuintf.pas 2005-10-06 22:08:04.0 +0100 +++

Re: [lazarus] Imagelist

2005-11-06 Thread Colin Western
Mattias Gaertner wrote: On Sun, 06 Nov 2005 10:14:17 + Colin Western [EMAIL PROTECTED] wrote: The attached patch fixes some imagelist problems I have found. With this applied I can use a form with imagelist taken from Delphi on gtk. Thanks. Applied. Thanks, but I am sorry

[lazarus] Xinerama

2005-11-05 Thread Colin Western
I attach a patch to the Xinerama support in gtk1. Some recent changes had meant it no longer compiled as is, and I have added a choice between static and dynamic linking. I can get either to work on my Linux system, but neither seem to work on MAC OSX, but that seems to be a limitation of the

[lazarus] Inherited forms

2005-11-05 Thread Colin Western
I attach a patch that provides some of the pieces needed to work with inherited forms. With the patch applied an inherited form will load without error, though the lfm file will be loaded as a text file, rather than display as a form. To improve this I need the lfm files for the super class

Re: [lazarus] Inherited forms

2005-11-05 Thread Colin Western
Mattias Gaertner wrote: On Sat, 05 Nov 2005 11:33:47 + Colin Western [EMAIL PROTECTED] wrote: To improve this I need the lfm files for the super class form, but I am not sure how to get hold of them. 1. The IDE must find the uses clause in the unit. 2. Find all these units. 3