Re: [Lazarus] Lazarus Release Candidate 1 of 1.4
On 02/19/2015 01:25 AM, Giuliano Colla wrote: Il 16/02/2015 23:38, Mattias Gaertner ha scritto: The Lazarus team would like to announce the first release candidate for the upcoming Version 1.4. We would like to invite all users to test this release candidate. [...] I installed RC1.4 and I stumbled into a problem. Some missing buttons in the "Configure Build Lazarus" dialogue. I did something wrong, or there's been a regression? Here's a screenshot the dialogue of RC1.4 from svn from my last update (rev 47621): http://www.bononiadocta.it/Lazarus/rev47621.png And here's a screenshot of the same dialogue from the RC1.4 downloaded from sourceforge (rev 47789) http://www.bononiadocta.it/Lazarus/rev47789.png It looks like that here when cpu is different than default (eg. x86_64 on 32 bit system). But as I can see your cpu is default - so bug. z. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Release Candidate 1 of 1.4
If see in osx qt, you can hard attack. set second shortcut via key grab, then key grab not find that shortcut :) On 19.02.2015 03:29, m...@rpzdesign.com wrote: Can you export the assigned key stroke shortcuts to an external file? And then import them later? The current shortcut key assignment interface of lazarus is a disaster. md -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Offer: Fixing CodeTools
I'd like to do some fixin' on CodeTools. Who is most familiar with it? I've worked with it a little in the past, and submitted at least one patch to it before, but I recall it was kinda unbearable. I keep finding things that don't work with it including, record helper insight, inner types not being seen, and other things. If whomever is really familiar with it would be kind enough to meet me on a freenode irc channel and answer a few questions while we look at the source code, I might be able to spend some productive time fixing the previously mentioned issues and whatever else needs fixin'. Thanks -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Release Candidate 1 of 1.4
Il 19/02/2015 02:13, Mattias Gaertner ha scritto: On Thu, 19 Feb 2015 01:25:19 +0100 Giuliano Colla wrote: Il 16/02/2015 23:38, Mattias Gaertner ha scritto: The Lazarus team would like to announce the first release candidate for the upcoming Version 1.4. We would like to invite all users to test this release candidate. [...] I installed RC1.4 and I stumbled into a problem. Some missing buttons in the "Configure Build Lazarus" dialogue. I did something wrong, or there's been a regression? Here's a screenshot the dialogue of RC1.4 from svn from my last update (rev 47621): http://www.bononiadocta.it/Lazarus/rev47621.png Do you mean branches/fixes_1_4 or trunk? It's branches/fixes_1_4 of a few days ago. Also trunk as of yesterday is ok. I didn't test against latest branches/fixes. Giuliano -- Giuliano Colla Project planning question: when it's 90% done, are we halfway or not yet? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Release Candidate 1 of 1.4
Can you export the assigned key stroke shortcuts to an external file? And then import them later? The current shortcut key assignment interface of lazarus is a disaster. md On 2/18/2015 7:13 PM, Mattias Gaertner wrote: On Thu, 19 Feb 2015 01:25:19 +0100 Giuliano Colla wrote: Il 16/02/2015 23:38, Mattias Gaertner ha scritto: The Lazarus team would like to announce the first release candidate for the upcoming Version 1.4. We would like to invite all users to test this release candidate. [...] I installed RC1.4 and I stumbled into a problem. Some missing buttons in the "Configure Build Lazarus" dialogue. I did something wrong, or there's been a regression? Here's a screenshot the dialogue of RC1.4 from svn from my last update (rev 47621): http://www.bononiadocta.it/Lazarus/rev47621.png Do you mean branches/fixes_1_4 or trunk? And here's a screenshot of the same dialogue from the RC1.4 downloaded from sourceforge (rev 47789) http://www.bononiadocta.it/Lazarus/rev47789.png Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Watches - 'Repeat Count' functionality.
On 19/02/2015 01:16, Graeme Geldenhuys wrote: On 2015-02-19 00:57, Martin Frb wrote: Just a note. This only works if you leave the watch type on "default" Ah, that solved it! I set it to String because I knew the array was of string type. Yes that needs improving. But its not high priority now. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Watches - 'Repeat Count' functionality.
On 2015-02-19 00:57, Martin Frb wrote: > Just a note. This only works if you leave the watch type on "default" Ah, that solved it! I set it to String because I knew the array was of string type. Thanks for helping find the solution. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Release Candidate 1 of 1.4
On Thu, 19 Feb 2015 01:25:19 +0100 Giuliano Colla wrote: > Il 16/02/2015 23:38, Mattias Gaertner ha scritto: > > The Lazarus team would like to announce the first release candidate for the > > upcoming Version 1.4. > > > > We would like to invite all users to test this release candidate. > [...] > > I installed RC1.4 and I stumbled into a problem. Some missing buttons in > the "Configure Build Lazarus" dialogue. I did something wrong, or > there's been a regression? > > Here's a screenshot the dialogue of RC1.4 from svn from my last update > (rev 47621): > http://www.bononiadocta.it/Lazarus/rev47621.png Do you mean branches/fixes_1_4 or trunk? > And here's a screenshot of the same dialogue from the RC1.4 downloaded > from sourceforge (rev 47789) > http://www.bononiadocta.it/Lazarus/rev47789.png Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Watches - 'Repeat Count' functionality.
On 19/02/2015 00:53, Martin Frb wrote: On 19/02/2015 00:20, Graeme Geldenhuys wrote: On 2015-02-18 17:08, Martin Frb wrote: how is b defined? I tried this program, with {$H+} and {$H-} In both cases I got 5 strings (for a repeat count of 5) http://i.imgur.com/ZSNsTzd.png So I need a logfile please, to see why it does not work for you. http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Log_info_for_debug_session Just a note. This only works if you leave the watch type on "default" -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Release Candidate 1 of 1.4
En Tue, 17 Feb 2015 05:00:50 -0600, Luca Olivetti escribió: Oh, and I have a one line patch to dbgrids.pas, but Jesus didn't acknowledge it yet: http://bugs.freepascal.org/view.php?id=27232 Bye I'm sorry, I will take a look shortly. Jesus Reyes A. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Watches - 'Repeat Count' functionality.
On 19/02/2015 00:20, Graeme Geldenhuys wrote: On 2015-02-18 17:08, Martin Frb wrote: how is b defined? I tried this program, with {$H+} and {$H-} In both cases I got 5 strings (for a repeat count of 5) http://i.imgur.com/ZSNsTzd.png So I need a logfile please, to see why it does not work for you. http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Log_info_for_debug_session -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Release Candidate 1 of 1.4
Il 16/02/2015 23:38, Mattias Gaertner ha scritto: The Lazarus team would like to announce the first release candidate for the upcoming Version 1.4. We would like to invite all users to test this release candidate. [...] I installed RC1.4 and I stumbled into a problem. Some missing buttons in the "Configure Build Lazarus" dialogue. I did something wrong, or there's been a regression? Here's a screenshot the dialogue of RC1.4 from svn from my last update (rev 47621): http://www.bononiadocta.it/Lazarus/rev47621.png And here's a screenshot of the same dialogue from the RC1.4 downloaded from sourceforge (rev 47789) http://www.bononiadocta.it/Lazarus/rev47789.png As I found the usual missing units because of stale ppu's leftover from 1.2.6, in order to rebuild I was forced to manually clean up ppu's because "common files" wasn't enough, and "Clean all" was missing from the dialogue. Lazarus 1.4RC1 r47789 FPC 2.6.4 i386-linux-qt Environment is Linux CentOs 6. GTK or Qt doesn't make a difference, only the look of the buttons changes. Giuliano -- Giuliano Colla Project planning question: when it's 90% done, are we halfway or not yet? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Watches - 'Repeat Count' functionality.
On 2015-02-18 17:08, Martin Frb wrote: > how is b defined? = program project1; uses SysUtils; var a: array[0..999] of integer; b: array[0..100] of string; i: integer; begin writeln('Let''s start'); for i := 0 to 999 do a[i] := i; // writeln('a[0] = ', a[0]); for i := 0 to 99 do b[i] := 'str' + IntToStr(i); writeln('b[0] = ', b[0]); // <-- Breakpoint is set here writeln('That''s all folks!'); end. = > > IIRC (need to check) repeat count cuts off at the boundaries of an array No, the repeat count would have been well within the bounds of the array. > Also, if you use the "detail pane" in watches. This had a bug, No, didn't even know there was "detail pane". :) I was just evaluating the latest debugging features in Lazarus IDE, and comparing GDB and fpDebug output. I also wanted to see if Lazarus IDE had something like Haiku's Debugger has - Array Ranges. If it didn't (Repeat Count seems close), I thought I might take a shot at implementing it. It doesn't seem too hard to accomplish [please correct me if I am wrong]. https://www.haiku-os.org/blog/anevilyak/2013-04-27_debugger_overview_new_features https://www.haiku-os.org/files/images/array_range_2.png https://www.haiku-os.org/files/images/array_range_3.png https://www.haiku-os.org/files/images/array_range_4.png Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Play video files in a row without delay
G'day, Hmmm, this was fairly well documented in the Microsoft documentation for DirectShow. If you're on Windoze and don't mind DirectShow, I can dig that out for you. As for VLC/Mplayer, I have no direct experience. I can only suggest you try playlists, seems to me they may help... Mike On 05:42, Thu, 19/02/2015 aradeonas wrote: Hi, I am looking for a way to play 2 video in a row without any delay (or very tiny delay) when changing files. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus on Debian "Wheezy"
On Wed, 18 Feb 2015 21:36:33 + Mark Morgan Lloyd wrote: > Using FPC 2.6.4 or late 2.7.1, compiling trunk on Wheezy is OK but > running gives me > > The program 'lazarus' received an X Window System error. > This probably reflects a bug in the program. > The error was 'RenderBadPicture (invalid Picture parameter)'. >(Details: serial 428 error_code 188 request_code 155 minor_code 23) >(Note to programmers: normally, X errors are reported asynchronously; > that is, you will receive the error a while after causing it. > To debug your program, run it with the --sync command line > option to change this behavior. You can then get a meaningful > backtrace from your debugger if you break on the gdk_x_error() > function.) > > Appears to affect Athlon (32- and 64-bit) and Intel (32-bit, don't have > 64). Does not affect Squeeze. Building with OPT='-O- -gl' still doesn't > allow me to get a bt. I just tested Wheezy 32bit on VirtualBox/Intel: it runs. Lazarus trunk, fpc 2.6.4. Please open a terminal and start the IDE with --sync: cd sources/of/lazarus ./lazarus --sync --g-fatal-warnings What do you get? > Suggestions, anybody? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] RC1 Debugger error
On Wed, 18 Feb 2015 19:49:47 +0100 JuuS wrote: > > Hit a problem right off with RC1. I've attached the screen shot. > > I'm assuming I'm to report problems here in the list or is there another > venue for that? Let me know... Our bug tracker is open for the public: http://bugs.freepascal.org/my_view_page.php Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] RC1 Debugger error
On 18/02/2015 18:49, JuuS wrote: Hit a problem right off with RC1. I've attached the screen shot. I'm assuming I'm to report problems here in the list or is there another venue for that? Let me know... For now list is fine, lets determine more about it first. Here's what happened... I opened one of my regular projects and built and ran it. It ran perfectly. I could see no problems whatsoever. I had also made a published version of the project (as you had suggested) and so I opened that. Thanks for the detailed description Have you checked, if in the new published project debugging is set up ? Project options > debugger. Is the checkbox set? Which debug info is chosen? Dwarf or Stabs? (And what happens if you use the other)? If all that is set correct, then can you please attach a log, as describe here: http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Log_info_for_debug_session -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Play video files in a row without delay
Hi, I am looking for a way to play 2 video in a row without any delay (or very tiny delay) when changing files. I had 1 mp4 file and with ffmpeg I split it into 2 file and now I want to add them in playlist and play them but I don't want user feel changing video but when I test it because of loading file there is a delay. I think about stream second file into memory before first file end. How can I do this? I tested LibVLC and read Play a Video from MemoryStream, Using FFMpeg but still no luck. PS,Files are small (less than 5mb). Regards, Ara -- http://www.fastmail.com - Access all of your messages and folders wherever you are -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Lazarus on Debian "Wheezy"
Using FPC 2.6.4 or late 2.7.1, compiling trunk on Wheezy is OK but running gives me The program 'lazarus' received an X Window System error. This probably reflects a bug in the program. The error was 'RenderBadPicture (invalid Picture parameter)'. (Details: serial 428 error_code 188 request_code 155 minor_code 23) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Appears to affect Athlon (32- and 64-bit) and Intel (32-bit, don't have 64). Does not affect Squeeze. Building with OPT='-O- -gl' still doesn't allow me to get a bt. Suggestions, anybody? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] RC1 Debugger error
Hit a problem right off with RC1. I've attached the screen shot. I'm assuming I'm to report problems here in the list or is there another venue for that? Let me know... Here's what happened... I opened one of my regular projects and built and ran it. It ran perfectly. I could see no problems whatsoever. I had also made a published version of the project (as you had suggested) and so I opened that. I added a couple of controls as test: a bit btn, with an onclick, and some hint text and a TArrow with a double click. I also renamed one of my existing TButtons. I also moved around the form a bit, testing as you suggested. I then did a build. It reported success. But F9 to run and I got the debbugger error immediately, as shown. Even though the warning was drastic, Laz IDE was responsive after I pressed OK. Did another build. Message window was now blank of hints and warnings but still showed compile success. Another run and the same debugger error. I reversed all the changes I had made, in steps. Still got debugger error. But after each change the message window was again filled with hints. After a shutdown and restart of Laz, still got debugger error. Without shutting down, I reloaded the original project. Still getting debugger error. I then shutdown Laz, re-opened it. We are now still with the original project (not the published one)...and...it worked fine. > == How to test == > > Download and install the 1.4RC1. > - On Windows you can install as a 2ndary install, that will not affect your > current install: > > http://wiki.lazarus.freepascal.org/Multiple_Lazarus#Installation_of_multiple_Lazarus > - On other platforms, if you install to a new location you need to use > --primary-config-path > > In either case you should make backups. (including your primary config) > > Open your project in the current Lazarus (1.2.6), and use "Publish Project" > from the project menu. This creates a clean copy of your project. > > You can then open that copy in the RC1. Please test: > - If you can edit forms in the designer >- rename components / change properties in Object inspector / Add new > events >- Add components to form / Move components on form >- Frames, if you use them > - If you can navigate the source code (e.g. jump to implementation) > - Auto completion in source code > - Compile, debug and run > - Anything else you use in your daily work > > > Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Watches - 'Repeat Count' functionality.
On 18/02/2015 16:52, Graeme Geldenhuys wrote: Hi, I'm using Lazarus 1.5 r47664 FPC 2.6.4 x86_64-linux-gtk 2 I looked at the following documentation regarding "repeat count" http://wiki.lazarus.freepascal.org/IDE_Window:_Watch_list#Watch_Properties In the wiki it says "Repeat Count" was implemented in Lazarus 1.1 already (see the bottom of the section in the wiki), but I can't seem to get it to work in Lazarus 1.5. I only ever see the first element specified. eg: b[10] and then a repeat count of 5, but I only see b[10]'s value. I tried using both GDB and fpDebug debuggers. Is this actually implemented, or am I using it wrong? how is b defined? IIRC (need to check) repeat count cuts off at the boundaries of an array b: array [3..10] of integer will never show b[11]. But ^integer(@b[10])[0] will show it Also, if you use the "detail pane" in watches. This had a bug, that was fixed only recently. But the "value column" should be fine. Otherwise can you get a lof: http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Log_info_for_debug_session -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Watches - 'Repeat Count' functionality.
Hi, I'm using Lazarus 1.5 r47664 FPC 2.6.4 x86_64-linux-gtk 2 I looked at the following documentation regarding "repeat count" http://wiki.lazarus.freepascal.org/IDE_Window:_Watch_list#Watch_Properties In the wiki it says "Repeat Count" was implemented in Lazarus 1.1 already (see the bottom of the section in the wiki), but I can't seem to get it to work in Lazarus 1.5. I only ever see the first element specified. eg: b[10] and then a repeat count of 5, but I only see b[10]'s value. I tried using both GDB and fpDebug debuggers. Is this actually implemented, or am I using it wrong? Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] important main menu shortcut in osx
When desktop language is "Automatic (or English)" ( this set to desktop language to Turkish) Preferences menu and shortcut cmd + , work normal, lazarus about in help menu. But change desktop language to English, I wrote before message, its on under this message. On 15.02.2015 17:41, FreeMan wrote: "cmd + ," in osx system, active application's preferences shortcut. Lazarus's main menu has it, but, if IDE has started new, "cmd + ," is open, save project dialog, if project opened, "cmd + ," open "Configure build .pas" form. In main menu-> Tools -> options shortcut is "ctrl + 1" loaded sheme is "macosxapple" -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Embedded/small database
FreeMan wrote: that configuration file is firebird.conf, on firebird root folder. small info in there too. this file system optimization, usage memory block etc. thats about indexes for examp. parameter's detail infos can found in firebird docs On 18.02.2015 10:52, Rik van Kekem wrote: I've never done those last two steps with Firebird Embedded (specify a config file and set an environment variable). Why are they necessary? Yes, I know about the firebird.conf. But I've never had to change anything in that file. The default settings were always good for me. And I've also never needed to set an environment var to make it work. (So mentioning them against favoring Firebird Embedded isn't fair) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Embedded/small database
that configuration file is firebird.conf, on firebird root folder. small info in there too. this file system optimization, usage memory block etc. thats about indexes for examp. parameter's detail infos can found in firebird docs On 18.02.2015 10:52, Rik van Kekem wrote: I've never done those last two steps with Firebird Embedded (specify a config file and set an environment variable). Why are they necessary? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Embedded/small database
Am 18.02.2015 11:12 schrieb "Bee" : > > I don't understand why FreePascal users need SQLite while we already have ZMSQL. Basically ZMSQL acts more or less like sqLite. But ZMSQL doesn't need external library. Check it out at: http://wiki.freepascal.org/ZMSQL Likely because it's not known as much ;) Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Embedded/small database
I don't understand why FreePascal users need SQLite while we already have ZMSQL. Basically ZMSQL acts more or less like sqLite. But ZMSQL doesn't need external library. Check it out at: http://wiki.freepascal.org/ZMSQL On Wed, Feb 18, 2015 at 4:28 PM, patspiper wrote: > On 17/02/15 21:50, Michael Van Canneyt wrote: > >> >> >> On Tue, 17 Feb 2015, Kostas Michalopoulos wrote: >> >> Sqlite can be very fast, but it needs the proper setup for that (which >>> may not be >>> relevant in all cases). >>> >>> Beyond that, Sqlite has a lot of high profile users (not to make a piss >>> match, but i >>> couldn't see any big users in Firebird's site and even those didn't seem >>> to mention if >>> it was embedded or client/server): >>> >>> https://www.sqlite.org/famous.html >>> >>> There are other less known uses of course, like the Fossil VCS and AFAIK >>> Apple also >>> uses it for the time capsule and FS versioning. >>> >>> Honestly, i wouldn't put down Sqlite :-). >>> >> >> I would. Any database that allows you to store a string in a field that >> is declared as integer (as sqlite does), is out. It goes against the basic >> rules of the RDBMs: ACID. Period. >> >> If you ever encounter such a situation, the whole pascal db code simply >> goes 'poof'. >> If the table definition says 'integer', it should be an integer. if >> sqlite does not guarantee this (and it does not, it considers this a >> feature), it is out. >> >> I don't even understand that any pascal programmer (pascal being stronly >> typed) can consider such a system. But there are many things I don't >> understand :) >> > > Is there any other free WinCE database engine? > > Stephano > > > -- > ___ > Lazarus mailing list > Lazarus@lists.lazarus.freepascal.org > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- -Bee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] vin...@gmail.com>
Il 16.02.2015 22:55, j...@mbstemps.com ha scritto: Vince, I am not quite sure how to respond to a posting, if I havn't done it correctly, sorry, ignorance sounds so much better than 'stupidity'. Vince, this is just a personal opinion but you may find this forum a little 'choppy' to pick up general and structural knowledge from. I would recommend the Lazarus Manual for a reasonable structure and it seems to be quite complete. I have been heavily into Kylix for the past number of years and the IDE for Lazarus seems to be more reliable and the compatibility to Kylix is also excellent, from my experience. Using that logic, any book on Kylix would probably put the 'structure' would also help in using Lazarus. My only additional comment would pick the database you plan on using and stick to it, mysql seems to be the most used, but I don't want to start a fight with any of the others, I took my poll made my decision and like the decision so far, but that is just me. Try to jump into development with a short, real problem that will teach you the most for the least code, have a few glasses of wine, with dinner. Then the next day, decide what you learned. I haven't doubted for a day I made the correct choice, first with Delphi, then Kylix and now Lazarus, good luck. John A. Ward, j...@mbstemps.com Hi John Thank your for your message. Do not worry, I will not bother the list for general knowledge questions concerning Pascal or Lazarus, I have already found some documentation that I will use before starting the development of the program. Have a nice day :) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Embedded/small database
On 17/02/15 21:50, Michael Van Canneyt wrote: On Tue, 17 Feb 2015, Kostas Michalopoulos wrote: Sqlite can be very fast, but it needs the proper setup for that (which may not be relevant in all cases). Beyond that, Sqlite has a lot of high profile users (not to make a piss match, but i couldn't see any big users in Firebird's site and even those didn't seem to mention if it was embedded or client/server): https://www.sqlite.org/famous.html There are other less known uses of course, like the Fossil VCS and AFAIK Apple also uses it for the time capsule and FS versioning. Honestly, i wouldn't put down Sqlite :-). I would. Any database that allows you to store a string in a field that is declared as integer (as sqlite does), is out. It goes against the basic rules of the RDBMs: ACID. Period. If you ever encounter such a situation, the whole pascal db code simply goes 'poof'. If the table definition says 'integer', it should be an integer. if sqlite does not guarantee this (and it does not, it considers this a feature), it is out. I don't even understand that any pascal programmer (pascal being stronly typed) can consider such a system. But there are many things I don't understand :) Is there any other free WinCE database engine? Stephano -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Embedded/small database
leledumbo wrote: I didn't say it's difficult, but certainly sqlite is much easier. You use sqlite just like any other libraries, no setup required, just supply a single dll/so (or nothing if you statically linked it). With firebird embedded, you need to: - supply a bunch of dll/so (firebird doesn't consist of just one) - specify a config file - set some environment variables before program start easy, but certainly more than sqlite. I've never done those last two steps with Firebird Embedded (specify a config file and set an environment variable). Why are they necessary? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Embedded/small database
> Did you use FTS4 for your search index? Nope, I'm talking about searching on non-indexed column. > Firebird's setup is pretty easy I didn't say it's difficult, but certainly sqlite is much easier. You use sqlite just like any other libraries, no setup required, just supply a single dll/so (or nothing if you statically linked it). With firebird embedded, you need to: - supply a bunch of dll/so (firebird doesn't consist of just one) - specify a config file - set some environment variables before program start easy, but certainly more than sqlite. > I don't even understand that any pascal programmer (pascal being stronly > typed) can consider such a system. But there are many things I don't understand :) As sqlite page says, it's designed to compete with fopen. sqlite does a good job for easy data storage and retrieval, where it doesn't need complicated setup like fopen, but it can be used (in terms of storing and retrieving data, from its users point of view) like an rdbms :) -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Embedded-small-database-tp4040516p4040592.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus