Re: [fpc-devel] CPPClass

2014-01-23 Thread Den
I've managed to log back in again, and all is well! I implemented 
the new INCLUDESTRINGFILE directive, and test case and etc.. The full 
message is in the bug report. ^_^


- Dennis Fehr

On 14-01-23 03:28 PM, Sven Barth wrote:

On 23.01.2014 19:30, Den wrote:

 I'd like to update my Apach24 patch but it seems I can't seem to
log-in to the Free Pascal bugs area.. It says my account is either
blocked, disabled, or I entered the username/password incorrectly.  I've
been logging in the same way for many many years lol .. can someone
check the error out for me? That would be most excellent. :)


Could be related that we switched off the community site.

@Florian, @Jonas: Does anyone of you know what Dennis could do?


 And I saw your comment on the $INCLUDESTRINGFILE! Yes, of course! I
would love to include a test case and such.  Thank you for looking at it
Sven.  I was also thinking about the maximum size issue.. Should we use
a constant for the Size Restraint? Or a parameter? (Or even another
directive?)


I haven't thought that much yet.

Regards,
Sven
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] CPPClass

2014-01-23 Thread Sven Barth

On 23.01.2014 19:30, Den wrote:

 I'd like to update my Apach24 patch but it seems I can't seem to
log-in to the Free Pascal bugs area.. It says my account is either
blocked, disabled, or I entered the username/password incorrectly.  I've
been logging in the same way for many many years lol .. can someone
check the error out for me? That would be most excellent. :)


Could be related that we switched off the community site.

@Florian, @Jonas: Does anyone of you know what Dennis could do?


 And I saw your comment on the $INCLUDESTRINGFILE! Yes, of course! I
would love to include a test case and such.  Thank you for looking at it
Sven.  I was also thinking about the maximum size issue.. Should we use
a constant for the Size Restraint? Or a parameter? (Or even another
directive?)


I haven't thought that much yet.

Regards,
Sven
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] CPPClass

2014-01-23 Thread Florian Klämpfl
Am 23.01.2014 00:26, schrieb Den:
> Yep!

Ah, I thought you made cpp related ones.

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] CPPClass

2014-01-23 Thread Den
I noticed you got the WinSock2 one when it conflicted with a file, 
I just chose to use the SVN copy as it was pretty much the same.


I'd like to update my Apach24 patch but it seems I can't seem to 
log-in to the Free Pascal bugs area.. It says my account is either 
blocked, disabled, or I entered the username/password incorrectly.  I've 
been logging in the same way for many many years lol .. can someone 
check the error out for me? That would be most excellent. :)


And I saw your comment on the $INCLUDESTRINGFILE! Yes, of course! I 
would love to include a test case and such.  Thank you for looking at it 
Sven.  I was also thinking about the maximum size issue.. Should we use 
a constant for the Size Restraint? Or a parameter? (Or even another 
directive?)


- Dennis

On 14-01-23 02:31 AM, Sven Barth wrote:

Am 23.01.2014 00:26, schrieb Den:

Yep!

$INCLUDESTRINGFILE -- http://bugs.freepascal.org/view.php?id=25536

I commented there just now.

Apache24 Patch -- http://bugs.freepascal.org/view.php?id=25534

Already assigned to Michael.

EGL/OpenGLES20 Split -- http://bugs.freepascal.org/view.php?id=25535
If noone beats me to it I'll take a look after my Master's thesis is 
done.


Although I have an updated version of the Apache24 which supports 
Config Options better and a few more macros.

There is still time to update your patch :P
I also have a small fix for 'WinSock2' inclusion which makes it 
actually get included in the Win32/Win64 FPMake (looks like it was 
planned but never added).

I already fixed that yesterday.

Regards,
Sven
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] CPPClass

2014-01-23 Thread Sven Barth

Am 23.01.2014 00:26, schrieb Den:

Yep!

$INCLUDESTRINGFILE -- http://bugs.freepascal.org/view.php?id=25536

I commented there just now.

Apache24 Patch -- http://bugs.freepascal.org/view.php?id=25534

Already assigned to Michael.

EGL/OpenGLES20 Split -- http://bugs.freepascal.org/view.php?id=25535

If noone beats me to it I'll take a look after my Master's thesis is done.


Although I have an updated version of the Apache24 which supports 
Config Options better and a few more macros.

There is still time to update your patch :P
I also have a small fix for 'WinSock2' inclusion which makes it 
actually get included in the Win32/Win64 FPMake (looks like it was 
planned but never added).

I already fixed that yesterday.

Regards,
Sven
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] CPPClass

2014-01-23 Thread Mark Morgan Lloyd

Den wrote:

Please excuse the fact that I have reordered the message to conform to 
the bottom-posting convention of this mailing list.



On 14-01-22 12:35 PM, Florian Klämpfl wrote:

Am 22.01.2014 19:31, schrieb Den:

 haha, well Sven, if some of my patches were to get accepted *cough*

What patches? Are they available somewhere?


> Yep!
>
> $INCLUDESTRINGFILE -- http://bugs.freepascal.org/view.php?id=25536
> Apache24 Patch -- http://bugs.freepascal.org/view.php?id=25534
> EGL/OpenGLES20 Split -- http://bugs.freepascal.org/view.php?id=25535
>
> Although I have an updated version of the Apache24 which supports
> Config Options better and a few more macros.
>
> I also have a small fix for 'WinSock2' inclusion which makes it actually
> get included in the Win32/Win64 FPMake (looks like it was planned but
> never added).

I think there's a big difference between adding or enhancing packages 
and tinkering with the core language. I suspect that your 
$INCLUDESTRINGFILE won't get accepted since it's considered too "Perl 
like", but here would be a good place to give some usage examples and to 
argue its merits.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] CPPClass

2014-01-22 Thread Den

Yep!

$INCLUDESTRINGFILE -- http://bugs.freepascal.org/view.php?id=25536
Apache24 Patch -- http://bugs.freepascal.org/view.php?id=25534
EGL/OpenGLES20 Split -- http://bugs.freepascal.org/view.php?id=25535

Although I have an updated version of the Apache24 which supports 
Config Options better and a few more macros.


I also have a small fix for 'WinSock2' inclusion which makes it actually 
get included in the Win32/Win64 FPMake (looks like it was planned but 
never added).


- Dennis

On 14-01-22 12:35 PM, Florian Klämpfl wrote:

Am 22.01.2014 19:31, schrieb Den:

 haha, well Sven, if some of my patches were to get accepted *cough*

What patches? Are they available somewhere?

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] CPPClass

2014-01-22 Thread Sven Barth

On 22.01.2014 19:31, Den wrote:

 haha, well Sven, if some of my patches were to get accepted *cough*
I'd help out a lot more.
I am just kinda tired of seeing such a huge difference in local
modifications and the actual source.  I would be more inclined to help
you on some of these in about 3-4 months if I could see them actually
getting accepted lol


Besides Florian's mail: as long as the patches adhere to the compiler's 
coding style and the changes are agreed upon by us developers there are 
normally no problems with patches.


Regards,
Sven
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] CPPClass

2014-01-22 Thread Florian Klämpfl
Am 22.01.2014 19:31, schrieb Den:
> haha, well Sven, if some of my patches were to get accepted *cough*

What patches? Are they available somewhere?

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] CPPClass

2014-01-22 Thread Den
haha, well Sven, if some of my patches were to get accepted *cough* 
I'd help out a lot more.
I am just kinda tired of seeing such a huge difference in local 
modifications and the actual source.  I would be more inclined to help 
you on some of these in about 3-4 months if I could see them actually 
getting accepted lol


- Dennis

On 14-01-22 03:55 AM, Sven Barth wrote:

Am 22.01.2014 10:48, schrieb Marco van de Voort:

In our previous episode, Sven Barth said:

 - Windows RT ?

 The list just does not end... :/


You forgotten about "Invoke" function in RTTI.pas ;)

Right you are ^^
See what I meant with the never ending list? :P

Fixing the implements keyword (#8951)? Anonymous methods?

  ( : -) )

*sigh* See? :P

Regards,
Sven
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] CPPClass

2014-01-22 Thread Sven Barth

Am 22.01.2014 10:48, schrieb Marco van de Voort:

In our previous episode, Sven Barth said:

 - Windows RT ?

 The list just does not end... :/


You forgotten about "Invoke" function in RTTI.pas ;)

Right you are ^^
See what I meant with the never ending list? :P

Fixing the implements keyword (#8951)? Anonymous methods?

  ( : -) )

*sigh* See? :P

Regards,
Sven
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] CPPClass

2014-01-22 Thread Marco van de Voort
In our previous episode, Sven Barth said:
> > - Windows RT ?
> >
> > The list just does not end... :/
> >
> >
> > You forgotten about "Invoke" function in RTTI.pas ;)
> Right you are ^^
> See what I meant with the never ending list? :P

Fixing the implements keyword (#8951)? Anonymous methods?

 ( : -) )
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] CPPClass

2014-01-22 Thread Sven Barth

Am 22.01.2014 08:56, schrieb Maciej Izak:


2014/1/22 Sven Barth >


I won't promise anything, cause I have quite a few FPC projects,
that are currently put on ice due to.ky  thesis:

- generic functions and methods (and of course bug fixes)
- dynamic packages
- extension of helpers
- m68k revival
- NativeNT improvement
- Windows RT ?

The list just does not end... :/


You forgotten about "Invoke" function in RTTI.pas ;)

Right you are ^^
See what I meant with the never ending list? :P

Regards,
Sven
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] CPPClass

2014-01-21 Thread Maciej Izak
2014/1/22 Sven Barth 

> I won't promise anything, cause I have quite a few FPC projects, that are
> currently put on ice due to.ky thesis:
>
> - generic functions and methods (and of course bug fixes)
> - dynamic packages
> - extension of helpers
> - m68k revival
> - NativeNT improvement
> - Windows RT ?
>
> The list just does not end... :/
>

You forgotten about "Invoke" function in RTTI.pas ;)

Regards,
HNB
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] CPPClass

2014-01-21 Thread Sven Barth
Am 22.01.2014 00:55 schrieb "Den" :
>
> I would definitely be interested in it.  I am done a project in about
3 months, so it would be *cough* (AWESOME) if you could by then *cough*! ;)

I won't promise anything, cause I have quite a few FPC projects, that are
currently put on ice due to.ky thesis:
- generic functions and methods (and of course bug fixes)
- dynamic packages
- extension of helpers
- m68k revival
- NativeNT improvement
- Windows RT ?

The list just does not end... :/

Regards,
Sven
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] CPPClass

2014-01-21 Thread Den
I would definitely be interested in it.  I am done a project in 
about 3 months, so it would be *cough* (AWESOME) if you could by then 
*cough*! ;)


- Dennis

On 14-01-18 08:12 AM, Sven Barth wrote:

On 18.01.2014 06:19, Den wrote:

Hi all (but most likely Sven ;) ),

 I've noticed the CPPClass no longer works and stops with:
internalerror(200611034) -- From [compiler/ncgrtti.pas]

 It's a case when generating the Object Definition RTTI ASM-Data,
and doesn't handle odt_cppclass.. (Hence the internal error). Any way
you could update the CPPClass to a working condition? I'd really like to
use it as I would rather write a Pascal CPPClass and interface with a
Library rather than making my own bridge library and interfacing with 
that.


Currently it only works with static or at least non-virtual methods 
anyway. Also instantiation or destruction of C++ classes will not work 
yet alone exceptions. So I don't know whether such a fix would help 
you much.


Maybe once my Master Thesis is done I'll find more time to work on 
this again.


Regards,
Sven

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] CPPClass

2014-01-18 Thread Sven Barth

On 18.01.2014 06:29, Dmitry Boyarintsev wrote:

On Sat, Jan 18, 2014 at 12:19 AM, Den mailto:cyr...@gmail.com>> wrote:

  I'd really like to use it as I would rather write a Pascal
CPPClass and interface with a Library rather than making my own
bridge library and interfacing with that.

Shouldn't there be 2 kind of CPPClass variants? One for GNU another for
MSVC.
I'd hate to mention that there should be more (up to the number of C++
compilers), but these two are the most commonly used these days.


Currently only GCC (and CLang as both are compatible) is supported. 
Later on this might be extended by some possiblity to specify the type 
of C++ runtime to use (whether one program will be able to use both MVSC 
and GCC C++ classes at once is up to be seen).


Regards,
Sven

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] CPPClass

2014-01-18 Thread Sven Barth

On 18.01.2014 06:19, Den wrote:

Hi all (but most likely Sven ;) ),

 I've noticed the CPPClass no longer works and stops with:
internalerror(200611034) -- From [compiler/ncgrtti.pas]

 It's a case when generating the Object Definition RTTI ASM-Data,
and doesn't handle odt_cppclass.. (Hence the internal error).  Any way
you could update the CPPClass to a working condition? I'd really like to
use it as I would rather write a Pascal CPPClass and interface with a
Library rather than making my own bridge library and interfacing with that.


Currently it only works with static or at least non-virtual methods 
anyway. Also instantiation or destruction of C++ classes will not work 
yet alone exceptions. So I don't know whether such a fix would help you 
much.


Maybe once my Master Thesis is done I'll find more time to work on this 
again.


Regards,
Sven

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] CPPClass

2014-01-17 Thread Dmitry Boyarintsev
On Sat, Jan 18, 2014 at 12:19 AM, Den  wrote:

>  I'd really like to use it as I would rather write a Pascal CPPClass and
> interface with a Library rather than making my own bridge library and
> interfacing with that.
>
Shouldn't there be 2 kind of CPPClass variants? One for GNU another for
MSVC.
I'd hate to mention that there should be more (up to the number of C++
compilers), but these two are the most commonly used these days.

thanks,
Dmitry
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel