Re: [MSEide-MSEgui-talk] Splitting OpenSSL bindings @IvankoB

2012-04-14 Thread Martin Schreiber
On Friday 13 April 2012 14:08:19 IvankoB wrote:
> > others are not. >What is the criterium?
>
> They provide dependencies of other "ifdefs" or common dependencies
>
Is there a reason that BIO_s_fd family is not included apart from forgotten?

Martin

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Splitting OpenSSL bindings @IvankoB

2012-04-14 Thread Martin Schreiber
On Friday 13 April 2012 14:08:19 IvankoB wrote:
> > others are not. >What is the criterium?
>
> They provide dependencies of other "ifdefs" or common dependencies
>
Should the "Longint" types in the bindings be "clong" in most of the cases?

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Bug in msebufdataset.pas

2012-04-14 Thread Martin Schreiber
On Friday 13 April 2012 23:51:12 Sieghard wrote:
> > countless. And often I switch to the C-notation (pchar(pointer
> > ()) [index]) because of performance and convenience
> > reasons.
>
> Yes, that's exactly the opposite of my style. I prefer the "Pascal" way, as
> introduced by UCSD Pascal and generalized and made public by former
> Borland. I prefer _safe_ string handling, and it's been fast enough for my
> purposes everytime in the past.

Agreed. And if Pascal string index would be zero based such C-style tricks 
would not be necessary. Anyway, I don't think it will happen other than 
Embarcadero changes it. :-)

Martin

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Splitting OpenSSL bindings @IvankoB

2012-04-14 Thread Ivanko B
The generic type to adopt to amd64 & its OpenSSL client ? Definetely,
You know these things better than me. Change this file freely :)



2012/4/14, Martin Schreiber :
> On Friday 13 April 2012 14:08:19 IvankoB wrote:
>> > others are not. >What is the criterium?
>>
>> They provide dependencies of other "ifdefs" or common dependencies
>>
> Should the "Longint" types in the bindings be "clong" in most of the cases?
>
> --
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Splitting OpenSSL bindings @IvankoB

2012-04-14 Thread Martin Schreiber
On Saturday 14 April 2012 10:42:58 Ivanko B wrote:
> The generic type to adopt to amd64 & its OpenSSL client ? Definetely,
> You know these things better than me. Change this file freely :)
>
Do you need all this internal types? For example "cardinal" is used 
for "MD2_INT". Are you sure that is correct on all versions and platforms?

Martin

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Splitting OpenSSL bindings @IvankoB

2012-04-14 Thread Martin Schreiber
On Saturday 14 April 2012 10:42:58 Ivanko B wrote:
> The generic type to adopt to amd64 & its OpenSSL client ? Definetely,
> You know these things better than me. Change this file freely :)
>
git master 8871d5c7a9ecc13f7f86377af8e258372feb1360 replaced mopenssl.pas by 
the files in lib/common/crypto, please test.

Martin

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] dbnavigator

2012-04-14 Thread Patrick Goupell
I have a dbstringgrid with a dbnavigator.

I navigation works fine.

I have set the onnavirequest in both widgets but my onnavigrequest code 
never executes.

How can I tell when the user navigates to a new record in the dbstringgrid?

-- 
Patrick Goupell

Income taxes?  See this http://www.truthattack.org or this 
http://www.whatistaxed.com


--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] dbnavigator

2012-04-14 Thread Martin Schreiber
On Saturday 14 April 2012 15:56:30 Patrick Goupell wrote:
> I have a dbstringgrid with a dbnavigator.
>
> I navigation works fine.
>
> I have set the onnavirequest in both widgets but my onnavigrequest code
> never executes.
>
> How can I tell when the user navigates to a new record in the dbstringgrid?

Use .BeforeScroll or AfterScroll. twidget.onnavigrequest is 
something completely different.

Martin

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] dbnavigator

2012-04-14 Thread Patrick Goupell
Ok, I will try the before / after scroll.

So what is the navigrequest for?


-- 
Patrick Goupell

Income taxes?  See this http://www.truthattack.org or this 
http://www.whatistaxed.com


--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Splitting OpenSSL bindings @IvankoB

2012-04-14 Thread Ivanko B
>> The generic type to adopt to amd64 & its OpenSSL client ? Definetely,
>> You know these things better than me. Change this file freely :)
>>
> Do you need all this internal types? For example "cardinal" is used
> for "MD2_INT". Are you sure that is correct on all versions and platforms?
>

Hmm, it needs looking into code of 64bit version. Hardly possible that
integer sizes matter for record etc packed types but as to function
calls (stack registers)...who knows.

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Splitting OpenSSL bindings @IvankoB

2012-04-14 Thread Ivanko B
> git master 8871d5c7a9ecc13f7f86377af8e258372feb1360 replaced mopenssl.pas by
> the files in lib/common/crypto, please test.
>

On Mnday at work where me have a DES co-decoding example.

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] dbnavigator

2012-04-14 Thread Martin Schreiber
On Saturday 14 April 2012 17:16:22 Patrick Goupell wrote:
> Ok, I will try the before / after scroll.
>
> So what is the navigrequest for?

It is called for changing the default destination widget after pressing up, 
left, down, right.
"
procedure twidget.navigrequest(var info: naviginfoty);
var
 int1,int2: integer;
 widget1,widget2: twidget;
begin
 with info do begin
  if not down and (ow_arrowfocusout in foptionswidget) and 
  (fparentwidget <> nil) then begin
   widget1:= sender;
   sender:= self;
   fparentwidget.navigrequest(info);
   sender:= widget1;
  end;
  down:= true;
  for int1:= 0 to widgetcount - 1 do begin
   widget1:= twidget(fwidgets[int1]);
   if (widget1 <> info.sender) and (ow_arrowfocus in widget1.foptionswidget)
 and widget1.canfocus then begin
widget2:= nearest;
if ow_arrowfocusin in widget1.foptionswidget then begin
 widget1.navigrequest(info);
end;
if (nearest = widget2) then begin
 int2:= widget1.navigdistance(info);
 if int2 < distance then begin
  nearest:= widget1;
  distance:= int2;
 end;
end;
   end;
  end;
 end;
 if canevent(tmethod(fonnavigrequest)) then begin
  fonnavigrequest(self,info);
 end;
end;
"

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Bug in msebufdataset.pas

2012-04-14 Thread Sieghard
Hallo Martin,

Du schriebst am Sat, 14 Apr 2012 10:26:08 +0200:

> > former Borland. I prefer _safe_ string handling, and it's been fast
> > enough for my purposes everytime in the past.
> 
> Agreed. And if Pascal string index would be zero based such C-style
> tricks would not be necessary. Anyway, I don't think it will happen other
> than Embarcadero changes it. :-)

_What_ exactly is it that you think requires you to use "tricks" for string
handling and hinders you from using the available functionality straight
away? I don't see any need for such.

-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
---
Mit freundlichen Grüßen, S. Schicktanz
---


--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] get user input

2012-04-14 Thread Patrick Goupell
Is there a basic dialog to ask for user input, just a single string text 
box?

-- 
Patrick Goupell

Income taxes?  See this http://www.truthattack.org or this 
http://www.whatistaxed.com


--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] get user input

2012-04-14 Thread Martin Schreiber
On Sunday 15 April 2012 00:13:29 Patrick Goupell wrote:
> Is there a basic dialog to ask for user input, just a single string text
> box?

lib/common/dialogs/*enter.pas

Martin

PS:
Please remove the links in your signature, I don't think they belong to this 
list or to you personally.
I don't like the advertising neither what SourceForge adds to our mails, it 
makes searching difficult. BerliOS still exists by the way, there was no 
necessity to move the mailing list to SourceForge...

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk