[MSEide-MSEgui-talk] test

2013-08-24 Thread IvankoB
Please don't respond. -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance

Re: [MSEide-MSEgui-talk] WOW MSEgui is COOL!

2012-11-29 Thread IvankoB
or Android? and/or Samsung BADA (alomost pure ELF+XOrg - 3..5 times as lower hardware requirements than Android) In BADA, the whole /usr/lib/*(incl X11) fuctionality is accesed by a single FOsp.so UNIX shared library via specialized calls. Possibly this library is a

Re: [MSEide-MSEgui-talk] MSEspice ready for testing

2012-11-29 Thread IvankoB
There is a first beta for MSEspice, a GUI for ngspice circuit simulator: http://gitorious.org/mseuniverse/mseuniverse/trees/master/tools/msespice ngspice is here: http://ngspice.sourceforge.net/ MSEspice does not work with Windows ngspice.exe currently because I did not find out how to

Re: [MSEide-MSEgui-talk] WOW MSEgui is COOL!

2012-11-28 Thread IvankoB
MSE* isn't an abstract RAD tool, it's a real work tool. It rapidly includes all things arising while developing real projects :) -- Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project

Re: [MSEide-MSEgui-talk] WOW MSEgui is COOL!

2012-11-28 Thread IvankoB
or Android? and/or Samsung BADA (alomost pure ELF+XOrg - 3..5 times as lower hardware requirements than Android) -- Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel

Re: [MSEide-MSEgui-talk] WOW MSEgui is COOL!

2012-11-28 Thread IvankoB
Personally I think a desktop GUI toolkit like MSEgui is too heavy and not optimally suited for smartphones. But it worths the efforts :) Size of regular native Samsung BADA apps is 2..4 MB that's is very close to ones produced by MSEgui. AFAIK, the same matters to Simbian, WindowsMobile etc

Re: [MSEide-MSEgui-talk] Running unattended

2012-11-02 Thread IvankoB
Have You tried the Synapse network library ? (pure Pascal) It's multithreading-aware. -- LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one

Re: [MSEide-MSEgui-talk] MSEide: doesn't build under win-32

2012-10-29 Thread IvankoB
Hmm, at me it required MSEDIRCLEAR to be run against the MSE* directory. Now everything is OK. -- The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started!

[MSEide-MSEgui-talk] MSEide: doesn't build under win-32

2012-10-28 Thread IvankoB
A lot of messages. The build command is : fpc -Mobjfpc -B apps\ide\mseide.pas -Fulib\common\* -Fulib\common\kernel\i386-win32 -Fi\lib\common\kernel -dmse_with_ifi -dmorecomponents -Fulib\addon\* -Fulib\addon\osprinter\i386-win32

Re: [MSEide-MSEgui-talk] FreePascal.Ru: analog of (Delphi's) OnDropFiles

2012-10-24 Thread IvankoB
How drop files on form in MSE? Not implemented yet. Is there a protocoll defined from freedesktop.org for the purpose? There's smth to read : http://www.newplanetsoftware.com/xdnd/supporters.html -- Everyone

Re: [MSEide-MSEgui-talk] FreePascal.Ru: analog of (Delphi's) OnDropFiles

2012-10-24 Thread IvankoB
How drop files on form in MSE? Not implemented yet. Is there a protocoll defined from freedesktop.org for the purpose? Also: http://en.wikipedia.org/wiki/X_Window_selection -- Everyone hates slow websites. So do

Re: [MSEide-MSEgui-talk] FreePascal.Ru: analog of (Delphi's) OnDropFiles

2012-10-24 Thread IvankoB
Not implemented yet. Is there a protocoll defined from freedesktop.org for the purpose? All Xorg specifications: http://www.freedesktop.org/wiki/Specifications -- Everyone hates slow websites. So do we. Make your

[MSEide-MSEgui-talk] FreePascal.Ru: analog of (Delphi's) OnDropFiles

2012-10-23 Thread IvankoB
Q: how ? -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct

[MSEide-MSEgui-talk] MSEi18n doesn't compile

2012-10-23 Thread IvankoB
Compiling tools\i18n\project_mfm.pas Compiling .\lib\common\designutils\msesettings.pas Compiling .\lib\common\designutils\msesettings_mfm.pas Compiling .\lib\common\dialogs\mseshortcutdialog.pas Compiling .\lib\common\dialogs\mseshortcutdialog_mfm.pas project.pas(131,29) Error: Identifier not

Re: [MSEide-MSEgui-talk] MSEide doesn't convert CP1251 clipboard data to UTF8 when pasting

2012-10-16 Thread IvankoB
May be, these data are formed in a special clipboard format ( tabular SQL query results of Navicat Premium - You may install this excellent DB application by yourself to check ). Do we use the fallback to CF_TEXT like the below : //-- if

Re: [MSEide-MSEgui-talk] Q from Freepascal.Ru: how to hide main form temporarily

2012-10-16 Thread IvankoB
RUNNET also recommends to pay some attention to CF_LOCALE - sometimes charset conversions are unreliable without its usage. -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic

Re: [MSEide-MSEgui-talk] MSEide doesn't convert CP1251 clipboard data to UTF8 when pasting

2012-10-16 Thread IvankoB
May be, these data are formed in a special clipboard format ( tabular SQL query results of Navicat Premium - You may install this excellent DB application by yourself to check ). Do we use the fallback to CF_TEXT like the below : GetClipboardData(CF_UNICODETEXT) should convert, no?

[MSEide-MSEgui-talk] MSEide doesn't convert CP1251 clipboard data to UTF8 when pasting

2012-10-15 Thread IvankoB
Instead it inserts char(D0) + char(CP1251_CHAR_CODE) for each character of clipboard text. See the attached files for comparision. mseclip.bin Description: application/macbinary clip.bin Description: application/macbinary

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-15 Thread IvankoB
In which form/datamodule event can SQL propery of dataset be reassigned so that it affects query results (ready in OnLoaded) ? (although usually me use dataset.BeforeOpen for this purpose) Probably oncreate because it is before loaded() calls. Success? Once me use it ( there're many

Re: [MSEide-MSEgui-talk] MSEide doesn't convert CP1251 clipboard data to UTF8 when pasting

2012-10-15 Thread IvankoB
Instead it inserts char(D0) + char(CP1251_CHAR_CODE) for each character of clipboard text. See the attached files for comparision. Please more info. Once me use non-latin text pasted from win-32 clipboard, the source file doesn't build because of wrong char(D0) appended to each text

Re: [MSEide-MSEgui-talk] MSEide doesn't convert CP1251 clipboard data to UTF8 when pasting

2012-10-15 Thread IvankoB
Instead it inserts char(D0) + char(CP1251_CHAR_CODE) for each character of clipboard text. See the attached files for comparision. Please more info. Strange: It should return utf-16. mseclip.bin attached to the 1-st message contains what's exactly written to files by

Re: [MSEide-MSEgui-talk] TMSESQLQuery: erasing data on Post/CheckbrowseMode in some circumstances

2012-10-10 Thread IvankoB
I don't know, I don't understand. Martin APPEND, POST, CHECKBROWSEMODE etc cause clearing data of some fields of the dataset. But if me call the below code qryMaster.disablecontrols; qryMaster.checkbrowsemode; qryMaster.enablecontrols; before APPEND then everything is OK.

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-09 Thread IvankoB
The form is last in a form inheritance chain (no more descendants) but also inserted as a submodule into a tab page of another form. The exception occurs in run-time. The sequence is: form.oncreate, Doesn't fire at all if the form is created via Application.CreateForm(). As designed ?

[MSEide-MSEgui-talk] TMSE*Field: changing/clearing Dataset property also clears inheritance

2012-10-09 Thread IvankoB
As the result in runtime we have exception on doubling field name - one in ascendant other (not inherited anymore since left its dataset) in descendant. Me think that we should have design time warnings blocks (smth like Rename the field first!) about these issues.

Re: [MSEide-MSEgui-talk] TMSE*Field: changing/clearing Dataset property also clears inheritance

2012-10-09 Thread IvankoB
As the result in runtime we have exception on doubling field name - one in ascendant other (not inherited anymore since left its dataset) in descendant. Me think that we should have design time warnings blocks (smth like Rename the field first!) about these issues. Hmmm... it relates

Re: [MSEide-MSEgui-talk] TMSESQLQuery: RevertToInherited doesn't revert changes to FieldDefs

2012-10-09 Thread IvankoB
Even if these defs are created manully (w/o consilting by DB) ? Yes. In the today's testcase, remove all fielddefs of parent1fo.tmsesqlquery1 - it won't reflect if its descendant parent2fo.tmsesqlquery1 as well revert to inherited applied to parent2fo.tmsesqlquery1.

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-08 Thread IvankoB
It is how Delphi streaming works. I found a solution where oncreate is called before onloaded independent of inline and globalloading state. git master Now we always have OnLoaded then OnCreate, correct ? Great if so :)

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-08 Thread IvankoB
Now we always have OnLoaded then OnCreate, correct ? Great if so :) The opposite. :-) First oncreate after all streamed componets are created but before loaded() has been caled, onloaded will be called later from loaded() procedure. God Thanx, me have been late to make the things hardly

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-08 Thread IvankoB
Now we always have OnLoaded then OnCreate, correct ? Great if so :) The opposite. :-) Not 100% fixed. Datasets set to active in design time are only open since OnCreate. -- Don't let slow site performance ruin your

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-08 Thread IvankoB
introduce a new event form.oncreate_d_? Yes, it's a new event :) -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is

[MSEide-MSEgui-talk] How MSEgui app can know own process handle ?

2012-08-10 Thread IvankoB
MSEPROCUTILS.getpid ? -- Написано в почтовом клиенте браузера Opera: http://www.opera.com/mail/ -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has

Re: [MSEide-MSEgui-talk] How MSEgui app can know own process handle ?

2012-08-10 Thread IvankoB
It returns the process ID. I don't know if on Windows a process *handle* for the own process exists? Aren't process handles allocated for monitoring foreign and child processes only? How then to implement the mentioned (APP1 runs APP2 then exits APP2 waits APP1 finishes to release its

Re: [MSEide-MSEgui-talk] *** Third and last call *** What third party components have you integrated into MSEide?

2012-08-10 Thread IvankoB
No problem with apps me maintain. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will

Re: [MSEide-MSEgui-talk] How MSEgui app can know own process handle ?

2012-08-10 Thread IvankoB
The Q has arisen because all MSEgui WAITFOR*/TERMINATE*/KILL* function are HANDLE-based. Windows probably has a function to open a handle from a PID. The guys at http://forums.devx.com/showthread.php?t=15316 tell that own PHANDLE equals to -1 within application but it shouldn't be passed

Re: [MSEide-MSEgui-talk] How MSEgui app can know own process handle ?

2012-08-10 Thread IvankoB
The guys at http://forums.devx.com/showthread.php?t=15316 tell that own PHANDLE equals to -1 within application but it shouldn't be passed to other apps for reference. More details at: http://msdn.microsoft.com/en-us/library/windows/desktop/ms683179(v=vs.85).aspx A process can create a

Re: [MSEide-MSEgui-talk] How MSEgui app can know own process handle ?

2012-08-10 Thread IvankoB
Also, how to write the wait-for-finish procedure so that it: 1) exits with OK once the checked app fully exits 2) exits with OK if the checked app doesn't run already (BTW, can the freed handle be reused by another application ?) 3) exits with FAILED once some timeout has elapsed and the

[MSEide-MSEgui-talk] Untyped string constants are show as (charcode, .., charcode) in GDB mouse-over hints

2012-08-06 Thread IvankoB
const ownname = 'podpiska'; host = 'postprj'; updbaseurl = 'http://' + host + '/podpiska/updates/'; updatesdir = 'updates/'; -- Live Security Virtual Conference Exclusive live event will cover all the ways

Re: [MSEide-MSEgui-talk] AES256+chaiden_BASE64 tsymcryptohandler fails on some input

2012-07-30 Thread IvankoB
crypt then decrypt for input string updater mumu http://192.168.1.5/podpiska/updates/; is OK but for updater http://192.168.1.5/podpiska/updates/ mumu it truncates the mumu part. It seems to truncate everything starting from last forward-slash (/).

Re: [MSEide-MSEgui-talk] TThreadComp: is it safe to call HALT(rc) in its OnTerminate ?

2012-07-24 Thread IvankoB
How do You debug threaded apps ? Open the thread window, select the thread you want to debug. Linux gdb works better for debugging threads then the Windows version. Sometimes 'Project'-'Options'-'Call GUI_DEBUGBEGIN/GUI_DEBUGEND must be activated in order to prevent gdb crashes. For

[MSEide-MSEgui-talk] msefileutils.renamefile fails if its destinaton points beyond filesystem tree of the source

2012-07-24 Thread IvankoB
same as OS command: ren updates\__HOME__\2home.tar.gz C:\Documents and Settings\UserNameГыуктфьу\2home.tar.gz fail too as long as move updates\__HOME__\2home.tar.gz C:\Documents and Settings\UserNameГыуктфьу\2home.tar.gz works well.

[MSEide-MSEgui-talk] ShowMessage doesn't show if called from within a thread's OnExecute

2012-07-24 Thread IvankoB
//- application.lock; try showmessage(''); finally application.unlock; end; //- doesn't help here. -- Live Security Virtual Conference Exclusive live event will cover all the ways

Re: [MSEide-MSEgui-talk] How to get proper widestring values of getenvironmentvariable('HOMEPATH') ?

2012-07-24 Thread IvankoB
On russian locale (with russian-named users), the current result doesn't fit the file system routines. Because in russian locale, env vars are cp866 encoded. Please, incorporate the updated mseucs2toru (here attached). mseucs2toru.pas Description: Binary data

Re: [MSEide-MSEgui-talk] TThreadComp: is it safe to call HALT(rc) in its OnTerminate ?

2012-07-23 Thread IvankoB
Also TThreadComp.terminate in its OnStarted so that to exit its OnExecute OnTerminated on check if terminated then exit; (this approach assumes errors revealed in OnStarted which should stop further thread running)

Re: [MSEide-MSEgui-talk] TThreadComp: is it safe to call HALT(rc) in its OnTerminate ?

2012-07-23 Thread IvankoB
Probably. There will be an immediate abort of the program without calling finalize routines. Unit's finalization is called. But GDB still shows the apllication running after halt, is it correct ? -- Live Security

Re: [MSEide-MSEgui-talk] What third party components have you integrated into MSEide?

2012-07-23 Thread IvankoB
Possibly ZEOS DBO. They still work in MSEide with current FPC? Not tested since there were no urgent need . Though ZEOS offers the DB connectivity to some commercial DB backends - Oracle, DB2.. -- Live Security

Re: [MSEide-MSEgui-talk] Truncated mashed WRITELN to IDE console output

2012-07-22 Thread IvankoB
Examples are here: http://gitorious.org/mseuniverse/mseuniverse/trees/master/attic/msedocumenting/mse/trunk/help/tutorials/thread In the multiple, obsolete thus invalid tevent is used, should be replaced with tmseevent.

Re: [MSEide-MSEgui-talk] TMSEFileStream: how can me use a singel instance of the steram for creating+filling(via HTTP) a file then rereading the file(to compute its SHA256 digest) ?

2012-07-17 Thread IvankoB
PS: the need in mselowercase looks strange. Is it a digest rule ? I don't know. You can use lowercase(bytestrtostr(thehash)) (not tested). Martin Works :) A new function digesthex(..) ? -- Live Security Virtual

[MSEide-MSEgui-talk] win-32: how to use writeln (writting to a cosnole window)

2012-07-11 Thread IvankoB
Neither Show console on Run or Use external console help to beat the File not open exception. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has

Re: [MSEide-MSEgui-talk] TMSESQLQuery in LOCAL mode: first sets bof and last sets eof

2012-07-11 Thread IvankoB
Some investigation: such behavior is DELPHI legacy, BOF means table beginning (1-st record), EOF means table ending (last record). Me should NOT to check for both BOF or EOF or BOF after FIRST or EOF after LAST. --

Re: [MSEide-MSEgui-talk] win-32: how to use writeln (writting to a cosnole window)

2012-07-11 Thread IvankoB
How can one setup a pipe on Windows so that getfiletype(handle) on the other side of the pipe returns 2? Nowbody knows? Also some info from ones to blame on : http://support.microsoft.com/kb/190351/en-us?fr=1 --

Re: [MSEide-MSEgui-talk] win-32: how to use writeln (writting to a cosnole window)

2012-07-11 Thread IvankoB
Some advices from the russian site http://www.rsdn.ru/forum/winapi/2066867.flat.aspx (translated): CRT just check the output type with GetFileType and if the result differs from FILE_TYPE_CHAR then it activates the full buffering STDOUT. The solution for child program: 1) call

[MSEide-MSEgui-talk] TMSEFileStream: how can me use a singel instance of the steram for creating+filling(via HTTP) a file then rereading the file(to compute its SHA256 digest) ?

2012-07-11 Thread IvankoB
? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile

Re: [MSEide-MSEgui-talk] win-32: how to use writeln (writting to a cosnole window)

2012-07-11 Thread IvankoB
Then we should include TextRec(Output).FlushFunc:= TextRec(Output).InOutFunc; into the GUI program template, sure with win32-debug-time-only DEFINEs short explanations why around. Oops..And every unit calling WRITELN should include {$apptype console}.

Re: [MSEide-MSEgui-talk] win-32: how to use writeln (writting to a cosnole window)

2012-07-11 Thread IvankoB
Although I can't believe that Windows does not provide a solution. Working in win-9x as well :) PS: setvbuf(stdout,0,_IONBF,0) is a solution - switch buffering off if it harms. -- Live Security Virtual Conference

[MSEide-MSEgui-talk] Is it possible to sort LookupBuffer ?

2012-07-10 Thread IvankoB
? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile

[MSEide-MSEgui-talk] Is it possible to produce SHA256 digest with MSEgui ?

2012-07-06 Thread IvankoB
Like echo qwerty -n | sha256sum | awk '{print $1}' or echo -n qwerty | openssl dgst -sha256 do. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape

Re: [MSEide-MSEgui-talk] Is it possible to produce SHA256 digest with MSEgui ?

2012-07-06 Thread IvankoB
Like echo qwerty -n | sha256sum | awk '{print $1}' or echo -n qwerty | openssl dgst -sha256 do. Not yet. Use the EVP_Digest*() functions. From the OPENSL docs: //- New applications should use the SHA2 digest algorithms such as SHA256. The other digest algorithms

Re: [MSEide-MSEgui-talk] TTextStream.CopyFrom(SomeStream) fails

2012-07-05 Thread IvankoB
The full file URL is http://brefi.narod2.ru/podpiska/updates/common/type4/files.dsc;. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed

Re: [MSEide-MSEgui-talk] TTextStream.CopyFrom(SomeStream) fails

2012-07-05 Thread IvankoB
What means fails? document.read(pb,document.size); reqresult.copyfrom(document,document.size); reqresult.read(pb,reqresult.size); pb after both READ should contain same data. Here, document.size gets equal to reqresult.size but their data differs (zero size for reqresult.size).

Re: [MSEide-MSEgui-talk] TTextStream.CopyFrom(SomeStream) fails

2012-07-05 Thread IvankoB
Stream position OK? Hmm.. it needs to rewind the position after CopyFrom: if result = REQ_SUCCESS then begin reqresult.copyfrom(document,document.size); reqresult.position:= 0; end; Then it works. PS: Me see AV in the message window of IDE after changing

Re: [MSEide-MSEgui-talk] TTextStream.CopyFrom(SomeStream) fails

2012-07-05 Thread IvankoB
Happens very often with FPC. FPC unit handling should be rewritten but nobody has time. These issues give FPC (an excellent stable product ) a feeling of being immature. -- Live Security Virtual Conference

Re: [MSEide-MSEgui-talk] How to AES/DES crypt/decrypt string variables with the MSEgui OpenSSL facilities ?

2012-07-04 Thread IvankoB
OpenSSL is no standard. If you want to use openssl enc with tsymciphercryptohandler the parameters of tsymciphercryptohandler must match the parameters used by openssl enc. Default MSEgui keygeniterationcount is 5 (I'll change it to 1), enc uses 1. Default MSEgui keylength is 0 (use

Re: [MSEide-MSEgui-talk] How to AES/DES crypt/decrypt string variables with the MSEgui OpenSSL facilities ?

2012-07-04 Thread IvankoB
It seems it has a 'Salted__' header. I'll do the same. Done, git master 8511bd50db6557aadbceb1f2eefa7ee6df64c6ee. It works, thanx ! PS: Now we have the tool against what many programmers have to struggle toughly :)

Re: [MSEide-MSEgui-talk] How to AES/DES crypt/decrypt string variables with the MSEgui OpenSSL facilities ?

2012-07-04 Thread IvankoB
Now we have the tool against what many programmers have to struggle toughly :) I struggled (and still do) thoughly. ;-) .. and we have a LIBRARY SOLUTION not just a regular how-to :) -- Live Security Virtual

Re: [MSEide-MSEgui-talk] How to AES/DES crypt/decrypt string variables with the MSEgui OpenSSL facilities ?

2012-07-04 Thread IvankoB
Done, git master 8511bd50db6557aadbceb1f2eefa7ee6df64c6ee. It works, thanx ! In PODPISKA too. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape

Re: [MSEide-MSEgui-talk] How to AES/DES crypt/decrypt string variables with the MSEgui OpenSSL facilities ?

2012-07-04 Thread IvankoB
Martin Schreiber mse0-re5jqeeqqe8avxtiumw...@public.gmane.org писал(а) в своём письме Tue, 03 Jul 2012 12:35:40 +0500: On Tuesday 03 July 2012 08:51:48 IvankoB wrote: Exception or another error reporting/intercepting in case of failed (wrong keyphrase etc encryption related cuuses) data

Re: [MSEide-MSEgui-talk] How to AES/DES crypt/decrypt string variables with the MSEgui OpenSSL facilities ?

2012-07-04 Thread IvankoB
Hmm... trying to decrypt with a smallest data-vs-key mismatch raises ESSL exception which can be handled: Probably because of a padding error. The chance to trigger a padding error is 255/256 IIRC. If this is good enough for you... ;-) In this scenario, me hope on StrToInt conversion

[MSEide-MSEgui-talk] PODPISKA: can't add eventhandler to UPDATER's mainfo

2012-07-04 Thread IvankoB
if a CONST section is present in the form's pas file before the TYPE section. The new handler is only added to ObjInsp not to the code and is requested to delete on any saving the project. -- Live Security Virtual

Re: [MSEide-MSEgui-talk] How to AES/DES crypt/decrypt string variables with the MSEgui OpenSSL facilities ?

2012-07-03 Thread IvankoB
Exception or another error reporting/intercepting in case of failed (wrong keyphrase etc encryption related cuuses) data retrieval from/to ecrypted_stream.Read/Write/CopyFrom(..), stringlist.LoadFromStream/SaveToStream(ecrypted_stream),.. AFAIK, all these use stream's Read/Write internally so

[MSEide-MSEgui-talk] msestrings.PRINTABLEASCII(TTextStream.ReadLn) truncates last char of each line

2012-07-03 Thread IvankoB
The TTextStream contains lines with UNIX EOL style. (Win-32) -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can

Re: [MSEide-MSEgui-talk] How to AES/DES crypt/decrypt string variables with the MSEgui OpenSSL facilities ?

2012-07-03 Thread IvankoB
Can be simplified to //decryption stream1:= ttextstream.create('test.enc',fm_read); try stream2:= nil; stream2:= tmsefilestream.createstringcopy( decodebase64(stream1.readdatastring)); //buffer for encrypted data

Re: [MSEide-MSEgui-talk] How to AES/DES crypt/decrypt string variables with the MSEgui OpenSSL facilities ?

2012-07-03 Thread IvankoB
Where is the result format of the openssl enc command defined? Especially how it stores the salt? What is the keygen iteration count it uses? The commands are as follows : #- #!/bin/sh echo -n 1:4:212 /tmp/212.in

Re: [MSEide-MSEgui-talk] How to AES/DES crypt/decrypt string variables with the MSEgui OpenSSL facilities ?

2012-07-02 Thread IvankoB
How to decode BASE64 ? Me have cypher not found at : cbase64,crh: tsymciphercryptohandler; [...] crh:= tsymciphercryptohandler.create(nil); crh.ciphername:= 'aes-256-cbc'; // default digest is MD5 cbase64:= tsymciphercryptohandler.create(nil); cbase64.ciphername:= 'base64'; crh.key:= passw; s3:=

Re: [MSEide-MSEgui-talk] How to AES/DES crypt/decrypt string variables with the MSEgui OpenSSL facilities ?

2012-07-02 Thread IvankoB
How to decode BASE64 ? Me have cypher not found at : cbase64,crh: tsymciphercryptohandler; [...] crh:= tsymciphercryptohandler.create(nil); crh.ciphername:= 'aes-256-cbc'; // default digest is MD5 cbase64:= tsymciphercryptohandler.create(nil); cbase64.ciphername:= 'base64'; crh.key:= passw; s3:=

Re: [MSEide-MSEgui-talk] Proposal: t[memory]stream (or LoadFRom/SaveTo t[memory]stream) compatibility for MSE streams

2012-06-28 Thread IvankoB
What do You think about msestringarty here ? Its main advantage is being unicode aware. And there's little need in streaming facilities (provided by the heavy component) just to process (navigate over analyze) HTML text, me guess.

Re: [MSEide-MSEgui-talk] Proposal: t[memory]stream (or LoadFRom/SaveTo t[memory]stream) compatibility for MSE streams

2012-06-28 Thread IvankoB
Again I don't understand, sorry. You mean to change the type of THTTPSend.Document to msestringarty? As a variant for pure text since THTTPSend.Document may also contain (up/down)loaded binary files, unless they are always text-encoded (base64 etc). Though dealing with text also may also

Re: [MSEide-MSEgui-talk] Proposal: t[memory]stream (or LoadFRom/SaveTo t[memory]stream) compatibility for MSE streams

2012-06-28 Thread IvankoB
Ask the THTTPSend devels? The Synapse team ? Looking through their project, they're concentrated on the networking issues. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's

Re: [MSEide-MSEgui-talk] Proposal: t[memory]stream (or LoadFRom/SaveTo t[memory]stream) compatibility for MSE streams

2012-06-27 Thread IvankoB
For the attached project (it scans for pay-free [for local citizens] resources in Uzbekistan), the advanced MSEgui stringarrty, ttextstream etc can't be used easily. I have no time to analise the source, please write what you want to do with tmsefilestream. Access (

Re: [MSEide-MSEgui-talk] Proposal: t[memory]stream (or LoadFRom/SaveTo t[memory]stream) compatibility for MSE streams

2012-06-27 Thread IvankoB
Is THTTPSend.Document tstream or tmemorystream? TMemoryStream. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can

Re: [MSEide-MSEgui-talk] Proposal: t[memory]stream (or LoadFRom/SaveTo t[memory]stream) compatibility for MSE streams

2012-06-27 Thread IvankoB
TMemoryStream. tmsefilestream has a protected fmemorystream field which possibly could be used for writing. But tmsefilestream is a thandlestream descendant AFAIK, so can't be used for in-memory processing HTML data (from THTTPSend.Document), correct ? TTextStream (or smth like

Re: [MSEide-MSEgui-talk] How to AES/DES crypt/decrypt string variables with the MSEgui OpenSSL facilities ?

2012-06-26 Thread IvankoB
Me wrote a large OpenSSL wrapper file doing that but You wrote own compact implementation, AFAIK - how can me use it ? Place a tasymciphercryptohandler (tab NoGui) in the form/datamodule, setup the necessary parameters. Set the property cryptohandler of your tmsefilestream descendants

Re: [MSEide-MSEgui-talk] IDE hangs in winXP

2012-06-25 Thread IvankoB
Please try for an experiment if (obj 0) and (integer(obj) length(handles)) then begin fafd:= handles[obj]; application.lock; FindNextChangeNotification(fafd); application.unlock; dochange(fafd); end; Hmm..no freezes after approx 100 attempts with the change

Re: [MSEide-MSEgui-talk] IDE hangs in winXP

2012-06-25 Thread IvankoB
Another problem - units dependencies don't autoupdate. For instance: /// MAIN.PAS: uses main_mfm ,curlobj ,readcert in '../readcert.pas' ; // Changes in '../readcert.pas' aren't detected by MSEide so there's a message not found about readcert by linker ( it

[MSEide-MSEgui-talk] Messge window - 2 - error place functionality by DblClick isn't vailable for units pointed by IN unit _path

2012-06-25 Thread IvankoB
For instance, compile time errors aren't briged to for '../readcert.pas' below: // uses main_mfm ,curlobj ,readcert in '../readcert.pas' ,msesys ,mseconsts ,msetypes ; // Me can't include exact directory of '../readcert.pas' to the project Make

Re: [MSEide-MSEgui-talk] IDE hangs in winXP

2012-06-25 Thread IvankoB
Use 'Project'-'Make' if you make changes in Files with another editor. 1) same editor (MSEide) 2) Make doesn't help until changing a file using ( having in USES ) the file - FPC bug? Hardly because this (USES .. IN '..') feature is No1 of DELPHI compatibility. What

Re: [MSEide-MSEgui-talk] How to change working directory for debugger ?

2012-06-25 Thread IvankoB
so that application can read files from as there as from current directory. Please use 'Target'-'Environment'-'Working directory'. It works, thanx ! -- Live Security Virtual Conference Exclusive live event will

Re: [MSEide-MSEgui-talk] Messge window - 2 - error place functionality by DblClick isn't vailable for units pointed by IN unit _path

2012-06-25 Thread IvankoB
For instance, compile time errors aren't briged to for '../readcert.pas' below: MSEide searches in directories listed in 'Project'-'Debugger'-'Source directories' only. Please add ../. For debugger only ? A great idea ! It works, thanx :)

Re: [MSEide-MSEgui-talk] IDE hangs in winXP

2012-06-25 Thread IvankoB
What to do then ? To be clear: - there is a unit A with unit B in uses - You change unit B in MSEide - You press F9 - FPC compiles but there is a message not found about readcert by linker Yes, exactly. Seems like a FPC bug to me. A bug of FPC make ? How to bypass it ?

Re: [MSEide-MSEgui-talk] Proposal: begin..end, implementation..end etc color highligting under mouse pointer

2012-06-25 Thread IvankoB
See the attached snapshot. begin and end with special color? When BEGIN(IMPLEMENTATION) or END;(END.) is under mouse - like parenthesis match. Really handy :) -- Live Security Virtual Conference Exclusive live

Re: [MSEide-MSEgui-talk] IDE hangs in winXP

2012-06-24 Thread IvankoB
Martin Schreiber mse00...@gmail.com писал(а) в своём письме Fri, 22 Jun 2012 11:08:16 +0500: Martin Schreiber wrote: As I feared, gdb can not unwind the stack. Not it becomes difficult... MSEIDE runs GDB within: Threads by ProcExplorer: MSEIDE: id=2028, Wait:Executive = Seems to be the

Re: [MSEide-MSEgui-talk] IDE hangs in winXP

2012-06-22 Thread IvankoB
Martin Schreiber mse00...@gmail.com писал(а) в своём письме Fri, 22 Jun 2012 11:08:16 +0500: Martin Schreiber wrote: As I feared, gdb can not unwind the stack. Not it becomes difficult... As I feared, gdb can not unwind the stack. *Now* it becomes difficult... And it may mean a long time

Re: [MSEide-MSEgui-talk] IDE hangs in winXP

2012-06-22 Thread IvankoB
And it may mean a long time to fix :) Me tend to blame antivirus (Avast) though its disabling (not uninstalling) dosn't fix the issue. As well as adding MSEGUI*, FPC, GDB so on to AVAST exclusion lists. And me can't uninstall it (our LAN is highly infected). Hmm.. Has never happened today

Re: [MSEide-MSEgui-talk] IDE hangs in winXP

2012-06-22 Thread IvankoB
Hmm.. Has never happened today if File-SaveAll was performed before pressing F9. Since MINGW GDB 7.4 (2012june) is more verbose then some more investigations were taken: MSEide stops on reading from pipe \Device\NamedPipe\Win32Pipes.09d0.0002 by SYS_READ(FD=1744(dec)=6d0(hex),

Re: [MSEide-MSEgui-talk] IDE hangs in winXP

2012-06-22 Thread IvankoB
6D0: File (---) \Device\NamedPipe\Win32Pipes.09d0.0002 [...] 6D4: File (---) \Device\NamedPipe\Win32Pipes.09d0.0002 Here, the pipe \Device\NamedPipe\Win32Pipes.09d0.0002 is accessed by two file handles 6D0 6D4.

Re: [MSEide-MSEgui-talk] IDE hangs in winXP

2012-06-21 Thread IvankoB
I don't understand. Where is this message? In title area of source window. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT

Re: [MSEide-MSEgui-talk] IDE hangs in winXP

2012-06-21 Thread IvankoB
'Target'-'Interrupt' does not work? Doesn't work since the mouse pointer in the wait state thus the menu can't be accessed. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's

Re: [MSEide-MSEgui-talk] IDE hangs in winXP

2012-06-21 Thread IvankoB
'Target'-'Interrupt' does not work? Doesn't work since the mouse pointer in the wait state thus the menu can't be accessed. I meant in the outer MSEide. Don't you run MSEide debugged by MSEide? Got it ! #0 7C90E4F4 :0 ntdll!LdrAccessResource() #1 7C90D9BC :0 ntdll!ZwReadFile() #2

Re: [MSEide-MSEgui-talk] IDE hangs in winXP

2012-06-21 Thread IvankoB
In title area of source window. ??? Please send a screenshot. Oops, in title area of main IDE window. Any, the snapshot is hereattached. Some investigation was taken :) This error message is written in the title bar of application by WinXP(2003), the problem is referenced as

Re: [MSEide-MSEgui-talk] IDE hangs in winXP

2012-06-21 Thread IvankoB
IvankoB ivankob4mse2-re5jqeeqqe8avxtiumw...@public.gmane.org п Some investigation was taken :) WINXP SP2 (5.1.2600.2952): -2147483407, Не отвечает на запросы Windows XP -2147483406, (Не отвечает) -1073741436, Устройство %2 \%3\ не отвечает. WINXP SP3 (5.1.2600.5588) Цитата: -2147483407

Re: [MSEide-MSEgui-talk] IDE hangs in winXP

2012-06-21 Thread IvankoB
The IDE is interrupted currently. What to see further ? How to see which file ? As I feared, gdb can not unwind the stack. Not it becomes difficult... People also fights with it: http://www.linuxforums.org/forum/kernel/122683-stack-unwind-through-signal-frame.html [...]

  1   2   3   >