TurboMagic
-
Content Count
235 -
Joined
-
Last visited
-
Days Won
9
Posts posted by TurboMagic
-
-
24 minutes ago, Angus Robertson said:The ICS FAQ pages already have a lot of SSL/TLS documentation for major subjects, and some of the server components have almost up to data documentation for properties and methods. But proper documentation takes weeks and no-one will pay for it, so I spend more time writing new components.Â
Â
http://wiki.overbyte.eu/wiki/index.php/Main_Page
Â
I have created a complete help file of all ICS components, properties, methods and events, but it would take weeks to make it useful with actual text on what they do. Some developers give up at that point and just leave a skeleton help file.Â
Â
Angus
Â
Â
Ok, I see the FAQ pages but in the wiki documentation for the various components the SSL ones are usually read = nonexisting links.
My earlier question was what we can do to help generate the Wiki sceleton as automatically as possible.
Â
About the help you started to create: is this CHM based and is the "source" available for contribution somewhere?
-
Uwe Raabe is already working on this 😉
But others than MVPs and the usual folks could contribiute as well...
Often such easy things or even parts of those would help the community!
-
Oh, another remark:
If somebody would "donnate"! English translations for CircularBuffer I would submit the updated version to GetIt!
- 1
-
I can understand the request to do so. I have already written in the project description that this would be a task one could/should do.
As I'm busy enough with my other open source project (DEC - Delphi Encryption Compendium)
I will accept such translations and update the code with them but won't invest the time in those at this time.
Â
As user Dummzeuch (a German by the way! ;-) ) stated: maybe somebody could contribute them.
I guess there are enough Delphi developers out there who didn't contribute code etc. yet but only consumed so far what
others contributed. That could be a start to give something back.
Â
As we're talking about contributing and my next topic is related to F. Piette:
is there an easy way to write a Delphi source code parser (maybe using Delphi AST which I only know by name)
to parse the source of ICS and generate output in the Wikipedia syntax so that for the still undocumented SSL ICS code
the Wiki sceleton could be generated at least as a starting point to finally get documentation started?
Â
While I value the library and its many demos, a written documentation about the individual properties and methods
is also worth quite something!
- 2
-
Meanwhile the necessary TChart files have been "published" via some download link in the QP report RSP-28780.
- 1
-
Hello,
Â
just a small note that I released a generic circular buffer library under open source license (Apache 2.0) here:
https://github.com/MHumm/CircularBuffer
Â
Feel free to use it or to contribute to it.
Â
Cheers
TubroMagic
- 3
- 1
-
Did you already see the new comments to this one?
Â
https://quality.embarcadero.com/browse/RSP-28780
Â
They indicate that TChart works in release configuration!
- 1
-
Hello,
Â
what please does "the app crashes" mean?
Is there any failure message? If yes , which?
Can you run monitor.bat from your Android SDK?
With that you can see the logcat log of your device. Run the app then until it crashes
and look at the log. Maybe there are helpful messages in it.
Â
Have you looked into QP for any reports regarding this? Does one exist?
The app that you tried, was this created new in 10.3.3 or is it updated from some earlier version?
If the latter it might help to delete AndroidManifestTemplate and let the IDE regenerate it.
Then change targetSDKVersion. Maybe there were other changes in it as well.Â
Does the crash happen with a blank FMX app created in 10.3.3 as well?
Â
Regards
TurboMagic
-
If somebody likes to have the shared objects used by the above demo unzip this attachment here into the project folder.
- 1
-
Ok, I got the libraries loaded, at least in a 32 bit version, which is sufficient at the moment.
But now I'm stuck on a permission error where I don't know what kind of permission is meant.
Â
The problem is calling this function:
ret := avcodec_open2(c, codec, @CodecSetup.OptionsDictionary);
in UBitmaps2VideoM's construktor.Â
It always returns -13 which means permission error, but I don't know which kind of permission is meant.
I already tried two different output paths and had added Android 8 style external write permission requesting,
but to no avail.Â
The paths tried are:
GetSharedDownloadsPath
GetDocumentsPath
Â
Has anybody any clue?
-
The shared objects I have are for armeabi-v7a afaik.
For a first test a 32 bit build of the app would be sufficient.
But would this mean I need a 2nd set of .so files for a 64 bit version?
Â
The files we have are from here:
https://github.com/PassByYou888/FFMPEG-Header/tree/master/BinaryLibrary
-
Hello,
Â
given I wanted to distribute a shared object file with map Android app which I need to load dynamically in order to use it.
Where would/should I place this on the device?
Is .\assets\internal the right path to use when adding this file to deployment manager?
If not which is the correct path?
When loading it I'd use LoadLibrary like for a DLL, right?
And if so, would I use this call for that, give the file name would be test.so?
Â
LoadLibrary(TPath.Combine(TPath.Combine('assets', 'internal'), 'test.so'))
Â
-
For us it is sufficient to swap color of a rectangle.
Today we tried something with the bitmap of a TImage which has a clear method where you can specify the new color.
That might be sufficient, if the timer would be more jitter free. Thus we call it from a secondary thread as TBitmap is thread-safe nowadays.
Â
Question is how to "time" such a thread on Android precisely enough?
Do busy waiting with TStopWatch until the necessary time is elapsed?
Or is there something better?
-
Thanks for this reply.
In German Delphipraxis somebody posted this link:
https://developer.android.com/games/develop/gameloops
Â
But I couldn't find any Delphi implementation yet. It seems to integrate deep into OpenGL or Vulkan.
Â
-
For some research we need to create an Android app with a precisely timed output of colored rectangles/bars.
Unfortunately TTimer has a too big jitter.
Â
I need a low interval (if possible < 10ms) and unless my code in the timer event runs for longer than the interval
the timer events should come precisely and not sometimes after 10ms (given a 10ms interval is set) and sometimes
after 11 or 12 ms). -
Better get rid of with in your code where possible...
Nick Hodges back then even wanted to deprecate with so I wouldn't expect EMBT to invest much time in improving the debugger in this area.
I guess there are things waiting to be done with more worth for us developers... -
Hello,
Â
I'm using the TChart wich comes with 10.3.3 out of the box.
I managed to add a 2nd right hand vertical axis via the TChart design editor, but I can neither there nor in code set min and max,
at least they will always be ignored and min will always be 0 and max 64000 or 65535.
Â
I need -4090 and +4095 as min and max.
Here is the variant where I tried to change them in code:
ChartCurrentValues.Axes.Right.SubAxes[0].AutomaticMaximum := false; ChartCurrentValues.Axes.Right.SubAxes[0].AutomaticMinimum := false; ChartCurrentValues.Axes.Right.SubAxes[0].Automatic := false; ChartCurrentValues.Axes.Right.SubAxes[0].SetMinMax(-4096, 4096); ChartCurrentValues.Series[cMySeries1].CustomVertAxis := ChartCurrentValues.Axes.Right.SubAxes[0]; ChartCurrentValues.Series[cMySeries2].CustomVertAxis := ChartCurrentValues.Axes.Right.SubAxes[0];
Â
-
Hello,
Â
I'm using D10.3.2 and this time I do something looking a bit strange. It works except for one thing.
I want to include sort of 2 applications (a main one and a small one sharing some code and the
language ressource dlls of the main one).Â
For this in the DPR I check if a certain command line parameter has been passed. If not the main app will
be started otherwise the small one. Here's some code:Â
Quotevar
 App: TApplication; // the normal Application variable is assigned to this one
                           // as this prevents the IDE from messing around in the dpr
begin
 App := Application; App.Initialize;
 App.Title := 'MyApp';
 App.HelpFile := 'MyHelp.chm';
Â
 if not ParamStr(1) = '/Test' then
 begin   // calling the normal app works fine
   SetCurrentDir(ExtractFilePath(ParamStr(0)));   App.CreateForm(TData, Data); // ein Datenmodul
   App.CreateForm(Tf_Main, f_Main);
 end
 else
 begin   // calling the secondary app works, but produces a 2nd taskbar icon,
   // where does it come from and how to prevent?
   SetCurrentDir(ExtractFilePath(ParamStr(0)));   App.Icon.LoadFromResourceName(HInstance, 'MyIcon');
   App.CreateForm(Tf_AlternateMain, f_AlternateMain);
 end; App.Run;
end.Â
So where does the 2nd taskbar icon in the one case come from and how to get rid of it?
Â
Regards
TurboMagic
-
Thanks for that hint, we'll do that later. First we try to run this project on a different machine to see if it happens there as well.
-
Neither ExitProcess nor TerminateProcess could be found in this project.
-
Thanks for this tip. Result of that in the dpr is: false.
-
I'll check this, but I doubt it as it is a VCL application. How can I check this? {$AppType CONSOLE}?
-
I would also expect that they are reported to me and in other big applications I have they actually are, but not in this one and reducing this might not be so easy.
Â
@Attila: what in my finalization sections could trigger a silend exit process? Do y<ou have any examples so I know what to look for?
-
Ahem, the following code I had used to test will leak:
Â
var
 sl : TStringList;
begin
 sl := TStringList.Create;
 sl.Add('This will leak David!');
 sl.Add('This will leak David!');
end;
Â
See: no free, thus it will leak at least one TStringList.
Â
I had even put that construct into the dpr and put an exit after the last Add call, so the application quit immediately. But it didn't show any message box.
Ok, doing that in the dpr and thus not running any VCL initialisation made in the dpr's main code migt be problematic for showing a message box,
but the code above was in the FormClose event of the main form and got called!
Generic circular buffer library released
in Algorithms, Data Structures and Class Design
Posted
Since I didn't hear from him with a ull request or any other "delivery" yet I guess he got stuck translating the comments...