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
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
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
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
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
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
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
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!
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
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
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
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
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
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
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
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
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?
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
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
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
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
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.
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 ?
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.
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
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.
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 :)
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
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
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
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
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
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
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
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
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
const
ownname = 'podpiska';
host = 'postprj';
updbaseurl = 'http://' + host + '/podpiska/updates/';
updatesdir = 'updates/';
--
Live Security Virtual Conference
Exclusive live event will cover all the ways
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 (/).
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
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.
//-
application.lock;
try
showmessage('');
finally
application.unlock;
end;
//-
doesn't help here.
--
Live Security Virtual Conference
Exclusive live event will cover all the ways
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
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)
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
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
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.
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
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
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.
--
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
--
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
?
--
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
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}.
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
?
--
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
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
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
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
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).
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
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
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
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 :)
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
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
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
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
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
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
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
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
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
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:=
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:=
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.
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
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
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 (
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
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
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
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
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
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
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
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
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 :)
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 ?
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
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
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
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
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),
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.
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
'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
'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
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
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
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 - 100 of 296 matches
Mail list logo