Re: [lazarus] Graphics32?

2006-12-27 Thread Marco van de Voort
On Tue, Dec 26, 2006 at 12:47:46PM -0200, Fabio H Souza wrote:
> This project ...
> 
> http://wiki.lazarus.freepascal.org/Current_conversion_projects#Graphics32

seems to be MPL only, without dual license clause. If it contains designtime
parts, it is license incompatible to Lazarus.

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


Re: [lazarus] Ide\Svnrevision.inc

2006-12-27 Thread Darius Blaszijk

I presume you are talking about revision.inc instead of svnrevision.inc?

This file holds the SVN revision number of the current source tree. The file 
is updated using the svn2revisioninc tools located in lazarus/tools when you 
rebuild the sources.


I believe this file should be deleted from SVN as it has no function at all. 
The SVN version string is sourcetree dependent anyway. I raised this comment 
before but it probably got lost in between other work. (the same applies to 
"makefile" btw as it can be recreated using fpcmake -r)


Darius

- Original Message - 
From: "George Birbilis" <[EMAIL PROTECTED]>

To: 
Sent: Wednesday, December 27, 2006 11:50 PM
Subject: [lazarus] Ide\Svnrevision.inc



What's the file svnrevision.inc in ide folder (of source svn distro)?
It always shows a question mark after SVN update with tortoiseSVN


George Birbilis ([EMAIL PROTECTED])
Computer & Informatics Engineer
Microsoft MVP J# for 2004-2006
Borland "Spirit of Delphi"
3D, QuickTime, QTVR, Java, Delphi,
ActiveX, .NET components, Robotics
http://www.kagi.com/birbilis
http://birbilis.spaces.live.com




 _

avast! Antivirus  : Outbound message clean.


Virus Database (VPS): 0662-1, 24/12/2006
Tested on: 28/12/2006 12:50:12 p?
avast! - copyright (c) 1988-2006 ALWIL Software.



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


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


[lazarus] Ide\Svnrevision.inc

2006-12-27 Thread George Birbilis
What's the file svnrevision.inc in ide folder (of source svn distro)?
It always shows a question mark after SVN update with tortoiseSVN


George Birbilis ([EMAIL PROTECTED])
Computer & Informatics Engineer
Microsoft MVP J# for 2004-2006
Borland "Spirit of Delphi"
3D, QuickTime, QTVR, Java, Delphi,
ActiveX, .NET components, Robotics
http://www.kagi.com/birbilis
http://birbilis.spaces.live.com




  _  

avast! Antivirus  : Outbound message clean. 


Virus Database (VPS): 0662-1, 24/12/2006
Tested on: 28/12/2006 12:50:12 p?
avast! - copyright (c) 1988-2006 ALWIL Software.



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


Re: OI and Designer fun again :)

2006-12-27 Thread Aleš Katona
>> 
>> I tried re-inheriting the problematic object from TComponent but that
>> produced AV eventualy. Honestly I don't have the time to debug this
>> so .. the questions.
>> 
>> 1. Why doesn't lazarus/LCL accept a TPersistent for
Designer.Select...
>> when delphi does?
>
> It does. Only the above function only supports TComponent.
> Here is the more general selection function:
> In package IDEIntf unit propedits.pp:
> GlobalDesignHook.SelectOnlyThis()

> Keep in mind to update the GlobalDesignHook.LookupRoot after selecting
> a non TComponent. Otherwise the IDE won't know, to which unit the
> object belongs to and several features will not work (e.g. setting
> events).

 
>> 2. Is there a way to work around without changing the item passed? I
>> don't want to force TComponent inheritance because the mentioned item
>> explicitly doesn't use it for a reason.

> Mattias

(sorry if it brakes the thread, I didn't get your reply, I just copied
it from gmame.
It seems I have lazarus list mail problems, am getting only some stuff)

Can you please elaborate more on the LookupRoot property? What do I need
to set it?
The first "item" in the list (because in my case the propeditor is a
list of things) 
and in case there's none, to nil?

I did everything else and currently am getting AV on any operation in
the property form.
It also doesn't seem to change the OI right now (doesn't empty it either
tho, last thing 
remains selected).

I'll try and debug the thing further tomorrow.

Thanks,



signature.asc
Description: Toto je digitálne	 podpísaná časť	 správy


[lazarus] Interesting links

2006-12-27 Thread George Birbilis
SVN frontend
http://trac.edgewall.org/
See example at LeoCAD project,
http://trac.gerf.org/leocad/browser/trunk/win, click on any file to see it
(not sure if their highlighter supports only C++ though)

--

>From there I also found
http://www.clearsilver.net/
at
http://www.clearsilver.net/downloads/
It says

ClearSilver is distributed in source form. Our primary development platform
is Linux/RedHat, however, it should compile mostly out of the box on any
UNIX.
The current source kit includes:

Libraries
. ClearSilver Utility Functions
. ClearSilver Template Library
. ClearSilver CGI Kit Library

Language Modules
. Python
. Perl XS
. Ruby
. Java JNI
. mono/C#

Examples
. Apache module
. Python Examples
. imd image browser CGI Example


Since TRAC uses ClearSilver and TRAC comes for Windows too, I suppose
ClearSilver can compile on windows too (maybe for Apache only)

Clearsilver libs might be interesting to port (if not too big) or to add to
them freepascal support (write templates in freepascal or design templated
pages with Lazarus)


George Birbilis ([EMAIL PROTECTED])
Computer & Informatics Engineer
Microsoft MVP J# for 2004-2006
Borland "Spirit of Delphi"
3D, QuickTime, QTVR, Java, Delphi,
ActiveX, .NET components, Robotics
http://www.kagi.com/birbilis
http://birbilis.spaces.live.com




  _  

avast! Antivirus  : Outbound message clean. 


Virus Database (VPS): 0662-1, 24/12/2006
Tested on: 28/12/2006 12:17:14 p?
avast! - copyright (c) 1988-2006 ALWIL Software.



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


Re: [lazarus] Fullscreen?

2006-12-27 Thread Graeme Geldenhuys

I did a bit of searching as I want to implement the same thing under
fpGUI.  After seeing how well Xlib has been designed, I knew there had
to be something. For Xlib the magic keyword is:
_NET_WM_STATE_FULLSCREEN

It seems most window managers are likely to understand the _NET_WM
hints, so should work on most X11 based window managers. I know KDE
supports it and am 99% sure GNOME does as well.

For more details and a sample application have a look at the following
link. Please read the whole thread (only 3 messages).

http://tinyurl.com/yleur7

I will be trying this in fpGUI tomorrow and let you know how things
are going. Maybe we can add something like this into LCL as well.

Graeme.


On 12/23/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote:

On Fri, 22 Dec 2006 19:04:44 -0200
"Felipe Monteiro de Carvalho" <[EMAIL PROTECTED]> wrote:

> On 12/22/06, Aleš Katona <[EMAIL PROTECTED]> wrote:
> > Is there a way to switch to fullscreen mode via LCL so I don't have
> > to go about using base X11 stuff?

There is no platform independent procedure yet. But for gtk there is:
unit gtkproc
SetWindowFullScreen


> Is a maximized window without borders enougth?
>
> Does X11 support more fullscreen then that?

I guess yes, but I never played with it.


Mattias



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


Re: [lazarus] Re: Debian packages

2006-12-27 Thread Vincent Snijders

Mattias Gaertner schreef:

On Wed, 27 Dec 2006 12:03:44 +
Sam Liddicott <[EMAIL PROTECTED]> wrote:


Mattias Gaertner wrote:

I uploaded debian packages for lazarus 0.9.17.
These are testing packages, before the official 0.9.18 packages are
built, so I need some volunteers.

They are available via sourceforge:

http://sourceforge.net/project/showfiles.php?group_id=89339&package_id=204004&release_id=447674


Thanks for providing debian packages.
How are you building them?
checkinstall stuff, or regular debian-rules?

I'd appreciate it if you could provide the package build-scripts, in
a similar way to how the src-rpm are provided.

Actually I want to build a fpc-crosswince package and it makes sense
to modify the fpc-crosswin32 deb build instructions.


All stuff is in the lazarus svn.
I create them with
cd lazarus/tools/install/
./create_lazarus_deb.sh

To create the fpc-crosswin32 deb see
lazarus/tools/install/cross_unix/HowToCreate_fpc_crosswin32_deb.txt


Maybe some debian (or related) user can test the installer described on 
the lazarus forum:

http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file=viewtopic&t=3250&highlight=

Vincent

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


Re: [lazarus] OI and Designer fun again :)

2006-12-27 Thread Mattias Gaertner
On Wed, 27 Dec 2006 15:19:47 +0100
Aleš Katona <[EMAIL PROTECTED]> wrote:

> Hey again, new thread - old problem.
> 
> I've now figured out (thanks to jesus) how to work with the designer
> stuff and OI with a property editor in a package. Problem is, glscene
> expects the Designer.SelectOnlyThisComponent() to accept a TPersistent
> (delphi does) whereas the designer expects a TComponent.
> 
> I tried re-inheriting the problematic object from TComponent but that
> produced AV eventualy. Honestly I don't have the time to debug this
> so .. the questions.
> 
> 1. Why doesn't lazarus/LCL accept a TPersistent for Designer.Select...
> when delphi does?

It does. Only the above function only supports TComponent.
Here is the more general selection function:
In package IDEIntf unit propedits.pp:
GlobalDesignHook.SelectOnlyThis()

Keep in mind to update the GlobalDesignHook.LookupRoot after selecting
a non TComponent. Otherwise the IDE won't know, to which unit the
object belongs to and several features will not work (e.g. setting
events).

 
> 2. Is there a way to work around without changing the item passed? I
> don't want to force TComponent inheritance because the mentioned item
> explicitly doesn't use it for a reason.


Mattias

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


Re: [lazarus] Re: Debian packages

2006-12-27 Thread Mattias Gaertner
On Wed, 27 Dec 2006 12:03:44 +
Sam Liddicott <[EMAIL PROTECTED]> wrote:

> Mattias Gaertner wrote:
> > I uploaded debian packages for lazarus 0.9.17.
> > These are testing packages, before the official 0.9.18 packages are
> > built, so I need some volunteers.
> > 
> > They are available via sourceforge:
> > 
> > http://sourceforge.net/project/showfiles.php?group_id=89339&package_id=204004&release_id=447674
> > 
> 
> Thanks for providing debian packages.
> How are you building them?
> checkinstall stuff, or regular debian-rules?
> 
> I'd appreciate it if you could provide the package build-scripts, in
> a similar way to how the src-rpm are provided.
> 
> Actually I want to build a fpc-crosswince package and it makes sense
> to modify the fpc-crosswin32 deb build instructions.

All stuff is in the lazarus svn.
I create them with
cd lazarus/tools/install/
./create_lazarus_deb.sh

To create the fpc-crosswin32 deb see
lazarus/tools/install/cross_unix/HowToCreate_fpc_crosswin32_deb.txt

Mattias

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


Re: [lazarus] Fullscreen?

2006-12-27 Thread Giuliano Colla

Felipe Monteiro de Carvalho ha scritto:
[...]


On Windows I never had trouble using a maximized borderless window,
but on Linux with KDE the taskbar is always on front of my app. Anyone
know how to fix this?



Yes, just tell KDE to hide automatically the taskbar (from Panel 
Configuration).


Under Linux another way to obtain a full screen application is just to 
use a different screen from the one of the Desktop (which runs by 
default on screen 0). A launcher script is required, sort of:


xinit MyApplication -- :1

This will switch to screen 1 and open MyApplication on screen 1, full 
screen (or whatever size you've specified), no window manager, no window 
decoration, nothing of nothing.


When the application terminates, you're back on screen 0, but you may 
also switch manually: Screen 0 is Ctrl-Alt-F7, screen 1 Ctrl-Alt-F8, 
screen 2 Ctrl-Alt-F9, and so on, until you run out of Fx keys.


It should be possible to do it also programmatically (VMWare does it) 
but I don't know how.


Giuliano

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


Re: [lazarus] lazarus svn r10351 and gtk2

2006-12-27 Thread barko

thanks

On Wed, 27 Dec 2006 14:57:19 +0100, Stefan van den Berg <[EMAIL PROTECTED]>  
wrote:



barko wrote:

After upgrade from svn (r10351) I can't compile lazarus anymore with
command: make clean all LCL_PLATFORM=gtk2
In console output is this:

[...]


Ran onto that one myself. I resolved it by applying some small changes
to gtkproc.inc (see the patch).

Stefan




--
bye,
...s]-[it happens...

-= OPINFOS d.o.o.
-= OBRTNE IN POSLOVNE INFORMACIJE
-= BARKO, SOFTWARE DEVELOPER FOR WINDOWS AND LINUX SYSTEMS
-= http://www.opinfos.com

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


[lazarus] OI and Designer fun again :)

2006-12-27 Thread Aleš Katona
Hey again, new thread - old problem.

I've now figured out (thanks to jesus) how to work with the designer
stuff and OI with a property editor in a package. Problem is, glscene
expects the Designer.SelectOnlyThisComponent() to accept a TPersistent
(delphi does) whereas the designer expects a TComponent.

I tried re-inheriting the problematic object from TComponent but that
produced AV eventualy. Honestly I don't have the time to debug this
so .. the questions.

1. Why doesn't lazarus/LCL accept a TPersistent for Designer.Select...
when delphi does?

2. Is there a way to work around without changing the item passed? I
don't want to force TComponent inheritance because the mentioned item
explicitly doesn't use it for a reason.

Thanks up front,

Ales

-- 
Aleš Katona <[EMAIL PROTECTED]>


signature.asc
Description: Toto je digitálne	 podpísaná časť	 správy


Re: [lazarus] lazarus svn r10351 and gtk2

2006-12-27 Thread Stefan van den Berg

barko wrote:
After upgrade from svn (r10351) I can't compile lazarus anymore with 
command: make clean all LCL_PLATFORM=gtk2

In console output is this:

[...]


Ran onto that one myself. I resolved it by applying some small changes 
to gtkproc.inc (see the patch).


Stefan
Index: lcl/interfaces/gtk/gtkproc.inc
===
--- lcl/interfaces/gtk/gtkproc.inc	(revision 10351)
+++ lcl/interfaces/gtk/gtkproc.inc	(working copy)
@@ -2269,10 +2269,10 @@
 // => emulate it
 if GtkWidgetIsA(TargetWidget,gtk_type_entry)
 and (gdk_event_get_type(Event)=GDK_KEY_PRESS)
-and (VKey.VKey=13) then begin
+and (VKey^.VKey=13) then begin
   //DebugLn(['EmulateKeysEatenByGtk ']);
   FillChar(Msg,SizeOf(Msg),0);
-  Msg.CharCode := VKey.VKey;
+  Msg.CharCode := VKey^.VKey;
   if SysKey then
 Msg.msg := LM_SYSKEYDOWN
   else


[lazarus] Re: Debian packages

2006-12-27 Thread Sam Liddicott

Mattias Gaertner wrote:

I uploaded debian packages for lazarus 0.9.17.
These are testing packages, before the official 0.9.18 packages are
built, so I need some volunteers.

They are available via sourceforge:

http://sourceforge.net/project/showfiles.php?group_id=89339&package_id=204004&release_id=447674



Thanks for providing debian packages.
How are you building them?
checkinstall stuff, or regular debian-rules?

I'd appreciate it if you could provide the package build-scripts, in a 
similar way to how the src-rpm are provided.


Actually I want to build a fpc-crosswince package and it makes sense to 
modify the fpc-crosswin32 deb build instructions.


Sam

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


[lazarus] lazarus svn r10351 and gtk2

2006-12-27 Thread barko
After upgrade from svn (r10351) I can't compile lazarus anymore with  
command: make clean all LCL_PLATFORM=gtk2

In console output is this:

...snip...
Compiling  
/home/barko/freepascal/lazarus/trunk/lcl/interfaces/gtk/gtkproc.pp

gtkproc.inc(2272,15) Error: Illegal qualifier
gtkproc.inc(2272,15) Fatal: Syntax error, ")" expected but "identifier  
VKEY" found

gtkproc.inc(36,17) Fatal: Compilation aborted
make[3]: *** [interfaces.ppu] Error 1
..snip...


--
bye,
...s]-[it happens...

-= OPINFOS d.o.o.
-= OBRTNE IN POSLOVNE INFORMACIJE
-= BARKO, SOFTWARE DEVELOPER FOR WINDOWS AND LINUX SYSTEMS
-= http://www.opinfos.com

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