Re: [MSEide-MSEgui-talk] Colours in msei18n

2012-08-08 Thread Martin Schreiber
On Wednesday 08 August 2012 16:55:52 Алексей Логинов wrote: Please, colorize rows in msei18n: translated strings/not translated strings. It's very difficult to find not translated strings If total quantity of strings: 1500-3000. Good idea, added to wishlist. Martin

Re: [MSEide-MSEgui-talk] translate interface of mseide

2012-08-08 Thread Martin Schreiber
On Wednesday 08 August 2012 21:11:18 Алексей Логинов wrote: Library with translation must have higher priority, mseconsts must have lower priority. I don't understand. Martin -- Live Security Virtual Conference

Re: [MSEide-MSEgui-talk] Colours in msei18n

2012-08-08 Thread Martin Schreiber
On Thursday 09 August 2012 07:32:07 Алексей Логинов wrote: And I found bug in msei18n: When you changed string, then when I do import, then not right translation was imported (was imported old translation, does not correspond to the new string value). Please write exact steps how to

Re: [MSEide-MSEgui-talk] translate interface of mseide

2012-08-08 Thread Martin Schreiber
On Thursday 09 August 2012 07:34:59 Алексей Логинов wrote: If string is (in Library with translation) and (in mseconsts_ru), then string from Library with translation must be used, not from mseconsts_ru. Hmm, the mseconsts_* system and the language so/dll's are independent. You probably need

Re: [MSEide-MSEgui-talk] translate interface of mseide

2012-08-09 Thread Martin Schreiber
On Thursday 09 August 2012 08:20:27 Ivanko B wrote: On my feeling, everything is OK with the info messages too. How about a voting about on FreePascal.Ru ? :-) Please send the patched mseconsts_* afterwards. Martin

Re: [MSEide-MSEgui-talk] translate interface of mseide

2012-08-09 Thread Martin Schreiber
On Thursday 09 August 2012 13:29:15 Алексей Логинов wrote: We can never to agree, so it's better way to increase priority for libi18n_*.so. It will be means that If translator will translate string, then this string from mseconsts_* must not be used. Please make your own mseconsts_*.pas.

Re: [MSEide-MSEgui-talk] translate interface of mseide

2012-08-09 Thread Martin Schreiber
On Thursday 09 August 2012 19:10:01 Алексей Логинов wrote: Yes, but I want to use only .so without mseconsts_ru.pas and I want to see only my strings from .so. Is it real? If FPC had Unicode resource strings... Or with some ifdefs in MSEgui code. Martin

Re: [MSEide-MSEgui-talk] translate interface of mseide

2012-08-09 Thread Martin Schreiber
On Thursday 09 August 2012 20:30:09 Ivanko B wrote: Or with some ifdefs in MSEgui code. === In MSEide+Msegui code ? (as me undestood, Alexey translates MSEide, correct ?) He wants that the MSEgui dialogs use his text instead mseconsts_ru.pas. So the access to mseconsts*.pas must be

Re: [MSEide-MSEgui-talk] When all strings will be in tstringcontainer? Plans.

2012-08-09 Thread Martin Schreiber
On Thursday 09 August 2012 23:38:08 Алексей Логинов wrote: I want to translate mseide and msei18n fully to Russian. After rpm packaging mseide-msegui and testing I'll build DVD for school and institutes. On DVD will be: 1) education programs for linux Mageia (repo), 2) installer (program),

Re: [MSEide-MSEgui-talk] cross compiling

2012-08-10 Thread Martin Schreiber
On Thursday 09 August 2012 22:19:21 Sieghard wrote: One specialty to watch out for are Martin's path specifications, though. They definitely don't work with wine (for testing Windows programs under linux), and they don't work fully on any Windows version before XP, it seems. At least I

Re: [MSEide-MSEgui-talk] lost information in *.trp

2012-08-10 Thread Martin Schreiber
On Thursday 09 August 2012 21:56:30 you wrote: Please, reproduce the problem: 1) run msei18n, 2) make, 3) run msei18n. Now interface is Russian, but in project *.trp no directories and empty of items in msei18n - project is unworked. Problem is saved. I tested make - no problem. Problem,

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

2012-08-10 Thread Martin Schreiber
On Friday 10 August 2012 08:26:53 IvankoB wrote: MSEPROCUTILS.getpid ? 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? Martin

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

2012-08-10 Thread Martin Schreiber
On Friday 10 August 2012 09:28:47 IvankoB wrote: 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

Re: [MSEide-MSEgui-talk] A BUG ABOUT MSE DB

2012-08-10 Thread Martin Schreiber
On Friday 10 August 2012 10:23:19 liuzg2 wrote: try if BCDToCurr(do1,cu1) then Move(cu1, buffer1^, SizeOf(cu1)) except end; end; i do not know is it right. The problem is that ODBC driver returns 1.1854570043828581e+292 in do1, a value which is not stored in the

Re: [MSEide-MSEgui-talk] lost information in *.trp

2012-08-10 Thread Martin Schreiber
On Friday 10 August 2012 10:54:26 Алексей Логинов wrote: Well, If to call loadlangunit() *before* loading the forms msei18n works, but: I) After Make and after close msei18n: Ошибка сегментирования Error segmentation It' s not critical error. II) I used call of loadlangunit() after

Re: [MSEide-MSEgui-talk] macrodef for msei18n

2012-08-10 Thread Martin Schreiber
On Friday 10 August 2012 13:56:13 Алексей Логинов wrote: I did not find in README how to use macrodef for msei18n I write: /opt/mseide-msegui/tools/i18n/msei18n --macrodef=MSEDIR,/opt/mseide-msegui/ But it does not work, it work only for mseide. Probably not implemented, added to wishlist.

Re: [MSEide-MSEgui-talk] cross compiling

2012-08-10 Thread Martin Schreiber
On Friday 10 August 2012 19:37:11 Sieghard wrote: Hallo Martin, Du schriebst am Fri, 10 Aug 2012 08:10:49 +0200: If you want to use the MSEgui unified filename format with FPC file functions (assignfile...) use tosysfilepath() for conversion. MSEgui file functions and classes can handle

Re: [MSEide-MSEgui-talk] chown and msei18n

2012-08-10 Thread Martin Schreiber
On Friday 10 August 2012 23:47:46 Алексей Логинов wrote: The contents of the library. so in the current directory (owner is root, chmod 777) is changed correctly, an error, I think, only when it tries to change the owner. I think the user should not be able to overwrite a *.so which is an

Re: [MSEide-MSEgui-talk] chown and msei18n

2012-08-10 Thread Martin Schreiber
On Friday 10 August 2012 23:23:47 Sieghard wrote: Sieghard, I don't speak about libraries from /lib, /usr/lib, etc., I speak about .so in current directory of project and in directory ru (de, fr, etc). Me too. I _do_ have a project which uses the loadlangunit function - albeit not for

Re: [MSEide-MSEgui-talk] chown and msei18n

2012-08-10 Thread Martin Schreiber
On Saturday 11 August 2012 06:56:13 Алексей Логинов wrote: It's not possible to change owner for ./project/a1.so, because all users must have permission to read, to write ./project/a1.so and to copy a1.so - a2.so. The best is probably to add pre- and post-compile scripts to MSEi18n-make as

Re: [MSEide-MSEgui-talk] chown and msei18n

2012-08-11 Thread Martin Schreiber
On Saturday 11 August 2012 13:28:48 Алексей Логинов wrote: I included in rpm package 2 translation projects: for mseide, for msei18n. Owner of projects - root, because it's rpm package. With my patches all users have permissive to work with projects and to change language, to create new

Re: [MSEide-MSEgui-talk] cross compiling

2012-08-11 Thread Martin Schreiber
On Saturday 11 August 2012 14:33:12 Patrick Goupell wrote: Actually you did. You replied to one of my questions (about 8 - 12 months ago) about running on linux and windows and referred to the tosysfilepath. Correct. And I did *not* write that one can use the unified filename format in

Re: [MSEide-MSEgui-talk] some problems with current git

2012-08-11 Thread Martin Schreiber
On Saturday 11 August 2012 23:52:43 Алексей Логинов wrote: 1) function colorised in msei18n works well - I found only one problem with Value MSEi18n, Russian MSEi18n actually is *not* translated. Activate 'NT' in order to remove the colouring. 2) in mseide and in msei18n when using

Re: [MSEide-MSEgui-talk] some problems with current git

2012-08-11 Thread Martin Schreiber
On Sunday 12 August 2012 00:59:56 Алексей Логинов wrote: Bad updates of strings when scrolling. Can not reproduce. Steps? Do you use radeon video driver? Martin -- Live Security Virtual Conference Exclusive live event

Re: [MSEide-MSEgui-talk] cross compiling

2012-08-11 Thread Martin Schreiber
On Sunday 12 August 2012 01:23:59 Sieghard wrote: (As an aside: My first attempt at cross compiling with fpc was a demo version of a user interface. I developed it on Linux with MSE-IDE, but was asked for a Windows version as well. So I simply took the MSE-IDE command line, changed every

Re: [MSEide-MSEgui-talk] some problems with current git

2012-08-11 Thread Martin Schreiber
On Sunday 12 August 2012 03:14:37 Graeme Geldenhuys wrote: On 11 August 2012 23:59, Алексей Логинов loginov.alex.va...@gmail.com wrote: Bad updates of strings when scrolling. I get this often too. Under Windows and Linux. How to reproduce? I never saw it. Martin

Re: [MSEide-MSEgui-talk] some problems with current git

2012-08-12 Thread Martin Schreiber
On Sunday 12 August 2012 10:56:36 Алексей Логинов wrote: * Does it better to add code try ... expect and to catch EReadError in functions loadlangunit? No, loading an incompatible language module is an error which must terminate the program. Bad updates happens often when scrolling, when

Re: [MSEide-MSEgui-talk] cross compiling

2012-08-12 Thread Martin Schreiber
On Sunday 12 August 2012 21:36:26 Sieghard wrote: Hallo Martin, Du schriebst am Sun, 12 Aug 2012 07:01:20 +0200: MSEide+MSEgui rocks! ;-) But even a rocking chair poses the danger to get your foot under a rocker... There seems a slight difficulty to build up on the issue currently. ;-

Re: [MSEide-MSEgui-talk] lost information in *.trp

2012-08-13 Thread Martin Schreiber
On Monday 13 August 2012 09:26:52 Алексей Логинов wrote: In Linux when rpm package updates or system updates, libraries (which is in used) modifies - it's usual practic. Now, function copyfile don't work, is no guarantee that copyfile works under all circumstances, and I proved it. I don't

Re: [MSEide-MSEgui-talk] some problems with current git

2012-08-13 Thread Martin Schreiber
On Monday 13 August 2012 10:49:13 Алексей Логинов wrote: No, loading an incompatible language module is an error which must terminate the program. Not always the program terminates in fact. Can you give exact steps If you don't see bug, then you won't see it, because it's always.

Re: [MSEide-MSEgui-talk] lost information in *.trp

2012-08-13 Thread Martin Schreiber
On Monday 13 August 2012 11:01:53 Алексей Логинов wrote: Why no updates? New rpm package is updater. I'll include in any case my patch in rpm package without upstream, because without this patch we breaks updater and don't allow to change libraries which is in use. I wrote, that without patch

Re: [MSEide-MSEgui-talk] i18n batch mode extension

2012-08-13 Thread Martin Schreiber
On Monday 13 August 2012 18:00:10 Sieghard wrote: If anyone might deem this useful, they can have it - there's no copyright going with it (of course there still is some right left - Germany doesn't allow the ownership to be given away, but there won't be any further restrictions of its use).

Re: [MSEide-MSEgui-talk] lost information in *.trp

2012-08-13 Thread Martin Schreiber
On Monday 13 August 2012 17:33:39 Sieghard wrote: [bugs] Can you please report the bugs one for one with steps how to reproduce in order they can be fixed? Thanks, Martin -- Live Security Virtual Conference Exclusive

Re: [MSEide-MSEgui-talk] some problems with current git

2012-08-13 Thread Martin Schreiber
On Monday 13 August 2012 11:13:56 Алексей Логинов wrote: Problem with icon and with grid text is in 2.8.2 also. KDE 4.8.2, Kwin, 32bit. All settings in distributive by default. Icons work for me on KDE4, OpenSUSE 12.1 32 bit, see attachment. I can not reproduce the empty grid rows. MSEi18n

Re: [MSEide-MSEgui-talk] lost information in *.trp

2012-08-13 Thread Martin Schreiber
On Monday 13 August 2012 18:22:29 Алексей Логинов wrote: And, BTW, the latest IDE is very unstable. The editor works ok, and it seems to do compilation right, too. But testing a program is a pain - after a couple program starts, especially when breakpointas are set or perhaps even more so

Re: [MSEide-MSEgui-talk] lost information in *.trp

2012-08-13 Thread Martin Schreiber
On Monday 13 August 2012 17:33:39 Sieghard wrote: [...] Or did you mean to save _all_ files under the new name (as is attempted with new)? If so, this doesn't work out that way. I've included a patch against that in the modified version also. Save as can be used to store the *.trp and *.trd

Re: [MSEide-MSEgui-talk] lost information in *.trp

2012-08-14 Thread Martin Schreiber
On Tuesday 14 August 2012 08:01:47 Martin Schreiber wrote: (And another BTW I just stumbled over: In the source editor, when the caret hit the last line and you try to go still further down, the editor leaves the text window and activates the line/column display. Looks weird and works

Re: [MSEide-MSEgui-talk] i18n batch mode extension

2012-08-14 Thread Martin Schreiber
On Tuesday 14 August 2012 21:21:22 Sieghard wrote: Hallo Martin, Du schriebst am Tue, 14 Aug 2012 06:27:30 +0200: On Monday 13 August 2012 18:00:10 Sieghard wrote: If anyone might deem this useful, they can have it - there's no copyright going with it (of course there still is some

Re: [MSEide-MSEgui-talk] some problems with current git

2012-08-15 Thread Martin Schreiber
On Wednesday 15 August 2012 13:25:14 Алексей Логинов wrote: Updating of screen is OK now - problem was in settings of video driver. No icons only. If you run MSEide in console, are there any error messages? Martin --

Re: [MSEide-MSEgui-talk] tsqlresult.cols[x].asstring causes SF in win-32 (fpc 2.6.0)

2012-08-16 Thread Martin Schreiber
On Thursday 16 August 2012 11:19:29 Ivanko B wrote: AsIteger is OK. = #0 0040AC16 :0 fpc_dynarray_decr_ref() #1 0040D16A :0 fpc_finalize() #2 00576930 :0 $MSEPQCONNECTION$_Ld11() #3 00056BE0 :0 ??() #4 0050B69D msesqlresult.pas:721

Re: [MSEide-MSEgui-talk] tsqlresult.cols[x].asstring causes SF in win-32 (fpc 2.6.0)

2012-08-16 Thread Martin Schreiber
On Thursday 16 August 2012 20:27:18 Ivanko B wrote: Please try again with git master 8946fdb13f3f87e90efbc0f8478072e22451d17f. == Thanx ! Will be checked tomorrow. PS: Do You consider adding macro functionality to TSQLResult like for TMSESQLQuery ? Already implemented AFAIK.

Re: [MSEide-MSEgui-talk] SDL test OK!

2012-08-17 Thread Martin Schreiber
On Sunday 29 July 2012 22:45:54 wahono sri wrote: For first testing, I'm success compiling draw text in SDL only an SDL with OpenGL in win7 and OpenSuse. I use SDL binding from JEDI http://sourceforge.net/projects/jedi-sdl/ and SDL_ttf fom http://www.libsdl.org/projects/SDL_ttf/ Do you know

Re: [MSEide-MSEgui-talk] lost information in *.trp

2012-08-17 Thread Martin Schreiber
On Monday 13 August 2012 17:33:39 Sieghard wrote: And, BTW, the latest IDE is _very_ unstable. The editor works ok, and it seems to do compilation right, too. But testing a program is a pain - after a couple program starts, especially when breakpointas are set or perhaps even more so when

Re: [MSEide-MSEgui-talk] SDL test OK!

2012-08-17 Thread Martin Schreiber
Am 17.08.2012 16:37, schrieb wahono sri: Do you know if SDL 2.0 supports clip regions? I did not find a hint about clip regions in source. No, I don't found it, And there seems to be no XOR drawing, no circles, ellipses and arcs, no line caps setting, no stippling, no text... So the

Re: [MSEide-MSEgui-talk] SDL test OK!

2012-08-17 Thread Martin Schreiber
On Friday 17 August 2012 20:07:58 wahono sri wrote: I write again, SDL for access basic OS layer, and OpenGL for tcanvas. I think this is very possible. How about you Martin? I think the problem is not accessing basic OS layer but using OpenGL for 2D widgetset drawing where OpenGL absolutely

Re: [MSEide-MSEgui-talk] SDL test OK!

2012-08-18 Thread Martin Schreiber
On Friday 17 August 2012 20:47:08 Graeme Geldenhuys wrote: On Friday, 17 August 2012, Martin Schreiber wrote: And there seems to be no XOR drawing, no circles, ellipses and arcs, no line caps setting, no stippling, no text... So the difficult things must be done by ourself anyway

Re: [MSEide-MSEgui-talk] lost information in *.trp

2012-08-18 Thread Martin Schreiber
On Friday 17 August 2012 21:00:23 Graeme Geldenhuys wrote: On Friday, 17 August 2012, Ivanko B wrote: By default LINUX tries to load all CPUs evenly by switching to different one each 5..10 seconds, even for a single use rapplication. Correct, and that can easily be obversed in Gnome System

Re: [MSEide-MSEgui-talk] SDL test OK!

2012-08-18 Thread Martin Schreiber
On Saturday 18 August 2012 08:34:21 wahono sri wrote: Aha! Remains the question about clip regions. Another package? sdl_gfx use surface and not texture and not compatible with SDL 2.0. I think SDL make huge improvement in version 2.

Re: [MSEide-MSEgui-talk] lost information in *.trp

2012-08-19 Thread Martin Schreiber
On Saturday 18 August 2012 22:18:56 Graeme Geldenhuys wrote: Anyway, I have ditched those rubbish DE's and moved to JWM (Joe's Window Manage) which consumes something like 7MB max (compared to KDE4's hundreds of MB's). CPU sits at idle when I do nothing. Graeme, can you confirm that debugging

Re: [MSEide-MSEgui-talk] lost information in *.trp

2012-08-20 Thread Martin Schreiber
On Monday 20 August 2012 17:08:04 Graeme Geldenhuys wrote: Debugging definitely works. Thanks. BTW, KDE 3.5 works well for me on OpenSUSE 12.1 on different machines. Yeah, KDE 3.x was way better than KDE4. It just seemed like more effort to install than JWM, so I went with the latter. JWM

Re: [MSEide-MSEgui-talk] *Connection.params: impossible to delete the last remaining record in the list

2012-08-21 Thread Martin Schreiber
On Tuesday 21 August 2012 07:40:36 Ivanko B wrote: Pressing Ctrl+Del? complains List index.. out of bound? Only RowCount:=0 works well. Please try again with git master cf248562ebc48e3b6625255dc35f0c92200f9dec. Martin

Re: [MSEide-MSEgui-talk] TFieldParamLink: new properties

2012-08-21 Thread Martin Schreiber
On Tuesday 21 August 2012 16:58:00 news.gmane.org wrote: destfields.* destparams.* 1) what are they for ? Copy field values to other fields and params. 2) can they be used to set a relation like one source dataset to multiple parameterized target ones via a single parameter present in

Re: [MSEide-MSEgui-talk] TFieldParamLink: new properties

2012-08-22 Thread Martin Schreiber
On Tuesday 21 August 2012 22:27:40 Ivanko B wrote: No, it is used to supply field and param values from possibly different datasources to the destination dataset triggered by a change of the main datasource and datafield. BTW: tmseparam has datasource and fieldname properties too. =

Re: [MSEide-MSEgui-talk] TFieldParamLink: new properties

2012-08-22 Thread Martin Schreiber
On Wednesday 22 August 2012 10:20:01 Ivanko B wrote: Use tmseparam.datasource and fieldname. === Please, a bit deeper :) SrcDataset1 provides Filed1 as a parameter to DstDatset1 (receives the parameter via DstDataset1Param1) DstDataset2 (receives the parameter via

Re: [MSEide-MSEgui-talk] TFieldParamLink: new properties

2012-08-22 Thread Martin Schreiber
On Wednesday 22 August 2012 10:50:33 Ivanko B wrote: It is even possible without tfieldparamlink. == Since a fileparamlink provides some great option (delays, no auto refreshing,e..) then how to do with it ? Use a single tfieldparamlink to trigger the actions and

Re: [MSEide-MSEgui-talk] TFieldParamLink: new properties

2012-08-22 Thread Martin Schreiber
On Wednesday 22 August 2012 10:53:45 Ivanko B wrote: What is Params[0].connector designed for ? To connect a tparamconnector. Replaces parambyname by compiletime binding. Martin -- Live Security Virtual Conference

Re: [MSEide-MSEgui-talk] TFieldParamLink: new properties

2012-08-22 Thread Martin Schreiber
On Wednesday 22 August 2012 12:53:46 Ivanko B wrote: To connect a tparamconnector. = Scenario of usage ? I don't like parambyname so I use tparamconnector instead in order to setup business objects. It is possible that it will become more functionality in future. Martin

Re: [MSEide-MSEgui-talk] TFieldParamLink: new properties

2012-08-22 Thread Martin Schreiber
On Wednesday 22 August 2012 17:26:41 news.gmane.org wrote: Since a fileparamlink provides some great option (delays, no auto refreshing,e..) then how to do with it ? Use a single tfieldparamlink to trigger the actions and tmseparam.datasource and fieldname to supply additional param

Re: [MSEide-MSEgui-talk] TMSESQLQUery's set to offline mode looses its data once its supplier connection closes

2012-08-22 Thread Martin Schreiber
On Wednesday 22 August 2012 17:20:55 news.gmane.org wrote: dataset.recordcount goes 0 and dataset.fields.count goes 0 once the connection gets closed. Me used : qryInfo.controller.options:= qryInfo.controller.options + [dso_offline]; to put the query to offline mode. This works at

Re: [MSEide-MSEgui-talk] TMSESQLQUery's set to offline mode looses its data once its supplier connection closes

2012-08-23 Thread Martin Schreiber
On Thursday 23 August 2012 15:36:46 news.gmane.org wrote: qryInfo.controller.options:= qryInfo.controller.options + [dso_offline]; to put the query to offline mode. This works at opening the query only. Please use query.connected:= false; on an active tmsesqlquery.

Re: [MSEide-MSEgui-talk] TMSESQLQUery's set to offline mode looses its data once its supplier connection closes

2012-08-23 Thread Martin Schreiber
On Thursday 23 August 2012 18:11:22 news.gmane.org wrote: to put the query to offline mode. This works at opening the query only. Please use query.connected:= false; on an active tmsesqlquery. As me understand the order me should: - set dso_offile for the query in the ObjInsp

Re: [MSEide-MSEgui-talk] button and enter key

2012-08-27 Thread Martin Schreiber
On Sunday 26 August 2012 17:18:26 Patrick Goupell wrote: I have a focused button on a form. If I press the enter key just above the right shift key, the onexecute event is processed. If I press the enter key on the numeric keypad, the onexecute event does not execute. Would this be a bad

Re: [MSEide-MSEgui-talk] Message window: dblclick on error message doesn't bring to the error place in the source file

2012-08-27 Thread Martin Schreiber
On Sunday 26 August 2012 21:24:38 Ivanko B wrote: The file with error is in ../common directory from the project root. Please add ../common to 'Project'-'Options'-'Debugger'-'Source directories'. Martin -- Live

Re: [MSEide-MSEgui-talk] TDBEnum[64]EditLB's dropdown.OnFilter problems

2012-08-27 Thread Martin Schreiber
On Thursday 23 August 2012 17:43:41 news.gmane.org wrote: 1) enters the filtering code only since 2+ selection in the dropdown 2) validates(passes) everyting regardless of the VALID before-exit value PS: Data are supplied by an offline dataset. Please send a testcase. Martin

Re: [MSEide-MSEgui-talk] IDE-from designer: scrollbars don't disappear automatically

2012-08-27 Thread Martin Schreiber
On Monday 27 August 2012 09:22:38 Ivanko B wrote: - put a tdblookupbuffer on a from so that its (long) name extend right beyond the form - scrollbars appear - make the mane shorter so that should fit the form and the scrollbars should disappear - at me, these don't disappear until the form

Re: [MSEide-MSEgui-talk] IDE-from designer: scrollbars don't disappear automatically

2012-08-27 Thread Martin Schreiber
On Monday 27 August 2012 09:50:28 Ivanko B wrote: Is only-IDE realted ? Yes. -- 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] TDBEnum[64]EditLB's dropdown.OnFilter problems

2012-08-27 Thread Martin Schreiber
On Monday 27 August 2012 09:44:41 Ivanko B wrote: Data are supplied by an offline dataset. Please send a testcase. Here attached. 1) the OnFilter procedure only triggers on 2+ opening DBNELB2 2) anyway there's no invalidating Steps?

Re: [MSEide-MSEgui-talk] IDE-from designer: scrollbars don't disappear automatically

2012-08-27 Thread Martin Schreiber
On Monday 27 August 2012 09:22:38 Ivanko B wrote: - put a tdblookupbuffer on a from so that its (long) name extend right beyond the form - scrollbars appear - make the mane shorter so that should fit the form and the scrollbars should disappear - at me, these don't disappear until the form

Re: [MSEide-MSEgui-talk] TMSESQLQuery.SQLDelete.macros[n].value.text : how to set in for already active query ?

2012-08-27 Thread Martin Schreiber
On Monday 27 August 2012 17:08:10 Ivanko B wrote: most probably in query.BeforeDelete event so that it triggers automatically on query.delete. I think so. Does changing the macros trigger a rebuild of the query? Martin

Re: [MSEide-MSEgui-talk] experimental porting MSEgui with SDL 2 and libcairo

2012-08-28 Thread Martin Schreiber
On Tuesday 28 August 2012 06:26:30 wahono sri wrote: Hi Martin, I'm confusing about gui_createpixmap. Is gui_createpixmap or pixmapty is always create in every window/form? No. There is a server side pixmap of the size of the update region created in twindow.internalupdate, used to do drawing

Re: [MSEide-MSEgui-talk] TDBEnum[64]EditLB's dropdown.OnFilter problems

2012-08-28 Thread Martin Schreiber
On Monday 27 August 2012 15:37:39 Ivanko B wrote: - select in the upper combo, it should limit the choice in the lower one Also set a breakpoint within the lower combo's OnFilter, run the program, select in the upper combo, then in the lower one and watch which time You'll enter the handler

Re: [MSEide-MSEgui-talk] TMSESQLQuery.SQLDelete.macros[n].value.text : how to set in for already active query ?

2012-08-28 Thread Martin Schreiber
On Tuesday 28 August 2012 08:46:32 Ivanko B wrote: I think so. Does changing the macros Setting a value of the SQLDelete's macro for already open query cause the complain the exception. He, we should distinguish macroses for the main (SELECT) query the update ones. Please try

Re: [MSEide-MSEgui-talk] Corrupted PostgreSQL BIGINT values

2012-08-28 Thread Martin Schreiber
On Tuesday 28 August 2012 14:43:39 Ivanko B wrote: SQL-query returns 21020001 then it's passes to TDBLOOKUPBUFFER as INT64FIELDS[n] then it's passed to TDBENUM64EDITLB as the keyfield where seleted into a TLARGEINTFIELD then the TLARGEINTFIELD is passed via PARAMS[n] to TMSESQLSCRIPT for

Re: [MSEide-MSEgui-talk] Memory leaks developed on calling HALT(n)

2012-08-28 Thread Martin Schreiber
On Tuesday 28 August 2012 19:48:25 Ivanko B wrote: Also me often use FINALIZATION sections of units. Does it differ from TRY.. FINALLY ? I don't know, I never use halt(). Try to step through the halt call or ask on fpc-pascal mailing list. Martin

Re: [MSEide-MSEgui-talk] Corrupted PostgreSQL BIGINT values

2012-08-28 Thread Martin Schreiber
On Tuesday 28 August 2012 19:44:50 Ivanko B wrote: Sure. Here attached. Selecting in the combo should showe 21020001 but shows a truncated value Please try again with git master bba8dbd06ccc0b1a641476ce2e3357771b053583. Martin

Re: [MSEide-MSEgui-talk] TDBEnum[64]EditLB's dropdown.OnFilter problems

2012-08-29 Thread Martin Schreiber
On Tuesday 28 August 2012 08:33:44 Martin Schreiber wrote: On Monday 27 August 2012 15:37:39 Ivanko B wrote: - select in the upper combo, it should limit the choice in the lower one Also set a breakpoint within the lower combo's OnFilter, run the program, select in the upper combo

Re: [MSEide-MSEgui-talk] experimental porting MSEgui with SDL 2 and libcairo

2012-08-30 Thread Martin Schreiber
On Thursday 30 August 2012 15:25:12 wahono sri wrote: Hi Martin, where window.id is saved in drawinginfoty? Is it in drawinginfo.cretegc.paintdevice? In drawinfoty.paintdevice. Martin -- Live Security Virtual

Re: [MSEide-MSEgui-talk] experimental porting MSEgui with SDL 2 and libcairo

2012-08-30 Thread Martin Schreiber
On Thursday 30 August 2012 19:44:13 Ivanko B wrote: How to take a particular directory (not the whole MSEUNIVERSE) from GIT WEB ? Now you found the big advantage of SVN over git. ;-) Graeme, can you help? Martin --

Re: [MSEide-MSEgui-talk] experimental porting MSEgui with SDL 2 and libcairo

2012-08-31 Thread Martin Schreiber
On Friday 31 August 2012 11:17:31 Patrick Goupell wrote: On 08/31/2012 01:01 AM, Martin Schreiber wrote: On Thursday 30 August 2012 19:44:13 Ivanko B wrote: How to take a particular directory (not the whole MSEUNIVERSE) from GIT WEB ? Now you found the big advantage of SVN over git

Re: [MSEide-MSEgui-talk] experimental porting MSEgui with SDL 2 and libcairo

2012-08-31 Thread Martin Schreiber
On Thursday 30 August 2012 19:44:13 Ivanko B wrote: How to take a particular directory (not the whole MSEUNIVERSE) from GIT WEB ? http://git-scm.com/docs/git-archive git archive --remote=git://gitorious.org/mseuniverse/mseuniverse.git --format=tar -v -osdl4msegui.tar HEAD sdl4msegui

Re: [MSEide-MSEgui-talk] experimental porting MSEgui with SDL 2 and libcairo

2012-08-31 Thread Martin Schreiber
On Friday 31 August 2012 14:16:54 Martin Schreiber wrote: On Thursday 30 August 2012 19:44:13 Ivanko B wrote: How to take a particular directory (not the whole MSEUNIVERSE) from GIT WEB ? http://git-scm.com/docs/git-archive git archive --remote=git://gitorious.org/mseuniverse

Re: [MSEide-MSEgui-talk] experimental porting MSEgui with SDL 2 and libcairo

2012-09-01 Thread Martin Schreiber
On Saturday 01 September 2012 00:52:00 wahono sri wrote: AFAIK, with SDL 2 renderer, all drawing will be converted to OpenGL/ES or Direct2D, I test testsdl.pas and I got about 96-99% GPU loaded. I don't know why we need push event to OS (gui_postevent)? It is used to trigger delayed work in

Re: [MSEide-MSEgui-talk] PostgreSQL 9.1 TSQLResult: resulting ftMemo even for VARCHAR(255) type

2012-09-01 Thread Martin Schreiber
On Saturday 01 September 2012 17:01:50 Ivanko B wrote: As designed ? AFAIK, ftMemo as contrary ftString assumes a specialized procedure of data transfer from server to client - may be slower on 33.6 dial-up line communications. For me field created with ALTER TABLE table1 ADD COLUMN

Re: [MSEide-MSEgui-talk] (no subject)

2012-09-02 Thread Martin Schreiber
On Saturday 01 September 2012 19:37:18 Ivanko B wrote: Files are attached. The rest of related files can't be send since contains no-public-access data :) Please try again with git master a1970b7a2359f770b30b52d2ede67bd3405ad1d0. Martin

Re: [MSEide-MSEgui-talk] The IDE doesn't build

2012-09-02 Thread Martin Schreiber
Ivanko B wrote: Hmm... Me have to set -O to 1 to build the IDE. Most likely the second build works. FPC is a little bit fragile with unit handling. Sometimes it is necessary to do a first run with -B and then a second time without. Martin

Re: [MSEide-MSEgui-talk] PostgreSQL 9.1 TSQLResult: resulting ftMemo even for VARCHAR(255) type

2012-09-02 Thread Martin Schreiber
On Sunday 02 September 2012 11:39:13 Ivanko B wrote: Have You tried with VARCHAR(x) OUT parameter off function as mentioned in the example ? No. PS: Really not an issue unless noticeable slowdown for 33.6K dial up connections. Which difference as to data retrieval between ftString

Re: [MSEide-MSEgui-talk] PostgreSQL 9.1 TSQLResult: resulting ftMemo even for VARCHAR(255) type

2012-09-02 Thread Martin Schreiber
On Sunday 02 September 2012 17:30:04 Ivanko B wrote: Another issue: TSQLSCript returns rowsreturned = -1 cols.count = 0 for whatever SQL SELECT code me call. Works for me. Martin -- Live Security Virtual Conference

Re: [MSEide-MSEgui-talk] PostgreSQL 9.1 TSQLResult: resulting ftMemo even for VARCHAR(255) type

2012-09-02 Thread Martin Schreiber
On Sunday 02 September 2012 18:33:54 Ivanko B wrote: May it be because finalizing COMMIT (because dso_autocommit set) ? Probably. Please try dso_autocommitret. Martin -- Live Security Virtual Conference Exclusive live

Re: [MSEide-MSEgui-talk] PostgreSQL 9.1 TSQLResult: resulting ftMemo even for VARCHAR(255) type

2012-09-02 Thread Martin Schreiber
On Monday 03 September 2012 07:03:21 news.gmane.org wrote: May it be because finalizing COMMIT (because dso_autocommit set) ? Probably. Please try dso_autocommitret. It works but is wrong in this scenario since refreshes the data with the SQL+params which includes INSERT/UPDATE operations

Re: [MSEide-MSEgui-talk] PostgreSQL 9.1 TSQLResult: resulting ftMemo even for VARCHAR(255) type

2012-09-03 Thread Martin Schreiber
On Monday 03 September 2012 07:44:24 news.gmane.org wrote: May it be because finalizing COMMIT (because dso_autocommit set) ? Probably. Please try dso_autocommitret. It works but is wrong in this scenario since refreshes the data with the SQL+params which includes INSERT/UPDATE

Re: [MSEide-MSEgui-talk] MSEgui: app exit code constants

2012-09-03 Thread Martin Schreiber
On Monday 03 September 2012 09:43:18 news.gmane.org wrote: SUCCESS, FAILED,.. ? Which app? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has

Re: [MSEide-MSEgui-talk] SigSegv on unloaing MSEgui's SSL (win-32).

2012-09-03 Thread Martin Schreiber
On Monday 03 September 2012 10:13:41 news.gmane.org wrote: Possible suspicion : HIGH(empty_array) gives 0 which allows to enter 0-based FOR cycle where to try accessing elements of that array. HIGH(empty_array) returns -1.

Re: [MSEide-MSEgui-talk] SigSegv on unloaing MSEgui's SSL (win-32).

2012-09-03 Thread Martin Schreiber
On Monday 03 September 2012 10:30:30 Ivanko B wrote: It happend in /lib/common/crypto/mseopensslevp.pas: procedure deinit(const info: dynlibinfoty); begin evp_cleanup; // HERE end; Reproducible? -- Live Security

Re: [MSEide-MSEgui-talk] SigSegv on unloaing MSEgui's SSL (win-32).

2012-09-03 Thread Martin Schreiber
On Monday 03 September 2012 16:57:15 news.gmane.org wrote: Please send a simple testcase. Everything is OK on simple testcases. It can only occur on my main project which has greatly complex startup procedure. And this project has some memory leaks. Can these leaks be relates to the crashes

Re: [MSEide-MSEgui-talk] MSEgui: app exit code constants

2012-09-03 Thread Martin Schreiber
On Monday 03 September 2012 10:28:49 Ivanko B wrote: Universal for win-32 Linux. I don't understand what you want to know. Martin -- Live Security Virtual Conference Exclusive live event will cover all the ways

Re: [MSEide-MSEgui-talk] SigSegv on unloaing MSEgui's SSL (win-32).

2012-09-03 Thread Martin Schreiber
On Monday 03 September 2012 18:08:41 news.gmane.org wrote: Does the memory alloc/dealloc code correct in the below code: Or : //-- function symbase64cypherfrom(const avalue: ansistring; const apassw: msestring; const cypher_name: msestring = 'aes-256-cfb'): msestring;

Re: [MSEide-MSEgui-talk] SigSegv on unloaing MSEgui's SSL (win-32).

2012-09-03 Thread Martin Schreiber
On Monday 03 September 2012 18:23:11 news.gmane.org wrote: The below code looks no leaks: //-- function symbase64cypherfrom(const avalue: ansistring; const apassw: msestring; const cypher_name: msestring = 'aes-256-cfb'): msestring; begin with tbase64handler.create(nil) do

Re: [MSEide-MSEgui-talk] SigSegv on unloaing MSEgui's SSL (win-32).

2012-09-03 Thread Martin Schreiber
On Monday 03 September 2012 19:06:47 Ivanko B wrote: Thanx ! Also, is it correct to call Application.terminated[d:= true] before calling Application.Run ? Yes. (as me do in the startup code of my project) What's lifetime strategy for components crated before after Application.Run ? I

Re: [MSEide-MSEgui-talk] INITIALIZATION/FINALIZATION sections: when how many times called ?

2012-09-04 Thread Martin Schreiber
On Tuesday 04 September 2012 07:51:14 news.gmane.org wrote: For instance if the unit containing them is USEd by others multiple times. Once in declaration order, finalization in reversed order. Martin -- Live Security

Re: [MSEide-MSEgui-talk] INITIALIZATION/FINALIZATION sections: when how many times called ?

2012-09-04 Thread Martin Schreiber
On Tuesday 04 September 2012 08:07:27 news.gmane.org wrote: For instance if the unit containing them is USEd by others multiple times. Once in declaration order, finalization in reversed order. Once per application lifetime - even for multiple USEs of the module, correct ? Yes.

<    2   3   4   5   6   7   8   9   10   11   >