Re: [Lazarus] locate command for dBase
On 5/26/23 7:31 AM, Michael Van Canneyt via lazarus wrote: On Fri, 26 May 2023, wkitty42--- via lazarus wrote: i don't see where you did a seek to the record you are trying to get to... granted, it has been a long while since i did anything with FPC/Lazarus or an dBase databases but it would seem there should be an obvious seek action... maybe... the locate() is a seek action. a... i thought it just located whatever is being sought and one still needed to actually seek to the record... But without more info/code it is difficult to give an answer to the OP's question. agreed :) -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belongs!* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] locate command for dBase
On 5/25/23 8:12 PM, john Ward via lazarus wrote: if temp.Locate('temp_no', (tempid),[loPartialkey]) then begin showmessage('we found the field or Partial' + tempid); showmessage('current temp_no is '); tno := temp.FieldbyName('temp_no').asString; showmessage('tempno is = ' + tno); end; The above code, executes the 'then', shows me what was searched for BUT when a data field is displayed, the original record is pointed to, NOT a record further in the database. i don't see where you did a seek to the record you are trying to get to... granted, it has been a long while since i did anything with FPC/Lazarus or an dBase databases but it would seem there should be an obvious seek action... maybe... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belongs!* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] runcommand doesn't work?
On 3/9/23 8:28 PM, john Ward via lazarus wrote: *I have a program, segment included below, that partially works. The first 'runcommand' example works, but the 2nd doesn't?* *If I type the lp command line, it prints perfectly..* perhaps "which lp" will give you the proper path? also "whereis lp" may point you to more than one... my bet is on "which lp"... on my system, it returns /usr/bin/lp ;) -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belongs!* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] How to list available serial orts on Ubuuntu?
On 11/28/22 5:31 AM, Bo Berglund via lazarus wrote: I haved a debugging tool program created on Windows and I am orting it to Linux Ubuntu. It seems to build just fine except for a combobox fill function which uses the Windows way of populating the selectoer box with the serial ports available on the system. This is the code I use on Windows: [...] I have looked at /dev/tty* but it lists a large number of items which makes it impossible for me. I do not belive all of´them are real serial ports... What can I do to get a selector for real serial ports on Ubuntu. would you believe you asked almost this very same question back in 2015, 2018, 2020, and here again in 2022 :) in Sep 2018, giuliano colla posted this procedure to you: procedure TForm1.btnScanPortClick(Sender: TObject); var PortNr: Integer; PortName: String; PortHandle: TSerialHandle; begin cbSelPort.Items.Clear; cbSelPort.Text:= ''; {$IFDEF MSWINDOWS} for PortNr := 1 to 9 do begin PortName := 'COM' + IntToStr(PortNr); PortHandle := SerOpen('\\.\'+PortName); if PortHandle > 0 then begin cbSelPort.Items.Add(PortName); SerClose(PortHandle); if cbSelPort.Text = '' then begin cbSelPort.Text:=PortName; PortSel.Caption:= PortName; end; end; end; {$ELSE} for PortNr := 0 to 9 do begin PortName := '/dev/ttyS' + IntToStr(PortNr); PortHandle := SerOpen(PortName); if PortHandle > 0 then begin if cbSelPort.Text = '' then begin cbSelPort.Text:=PortName; PortSel.Caption:= PortName; end; cbSelPort.Items.Add(PortName); SerClose(PortHandle); end; end; for PortNr := 0 to 9 do begin PortName := '/dev/ttyUSB' + IntToStr(PortNr); PortHandle := SerOpen(PortName); if PortHandle > 0 then begin if cbSelPort.Text = '' then begin cbSelPort.Text:=PortName; PortSel.Caption:= PortName; end; cbSelPort.Items.Add(PortName); SerClose(PortHandle); end; end; {$ENDIF} end; and in that same thread in Sep 2018, mark morgan lloyd posted this function to you: (* If there are no serial ports on the system then return NIL, otherwise a *) (* TStringList.*) (**) (* This returns an object, it is the caller's (eventual) responsibility to free *) (* this.*) // FUNCTION EnumeratePorts: TStringList; (* On a Linux system with udev or similar the /dev directory will only contain *) (* devices which have been detected as being present. On an older system it *) (* will probably contain all possible devices so we need to restrict the list *) (* to what's reasonable; the user should still be able to enter a device name *) (* manually if necessary, e.g. where a machine with 2x standard ports plus a *) (* 2-port card insists that it's got ttyS0, ttyS1, ttyS45 and ttyS46.*) CONST countTtyS= 12; (* Main board plus an 8-port card *) countTtyUSB= 8; (* Four dual-port adapters *) countTtyI= 4; (* A single 4-port ISDN card. *) VAR searchRec: TSearchRec; counter: INTEGER; BEGIN RESULT:= TStringList.Create; RESULT.Sorted:= TRUE; counter:= countTtyS; IF FindFirst('/dev/ttyS*', faSysFile, searchRec) = 0 THEN REPEAT RESULT.Append('/dev/' + searchRec.Name); DEC(counter) UNTIL (FindNext(searchRec) <> 0) OR (counter <= 0); FindClose(searchRec); counter:= countTtyUSB; IF FindFirst('/dev/ttyUSB*', faSysFile, searchRec) = 0 THEN REPEAT RESULT.Append('/dev/' + searchRec.Name); DEC(counter) UNTIL (FindNext(searchRec) <> 0) OR (counter <= 0); FindClose(searchRec); counter:= countTtyI; IF FindFirst('/dev/ttyI*', faSysFile, searchRec) = 0 THEN REPEAT RESULT.Append('/dev/' + searchRec.Name); DEC(counter) UNTIL (FindNext(searchRec) <> 0) OR (counter <= 0); FindClose(searchRec); IF Result.Count = 0 THEN FreeAndNil(RESULT) END { EnumeratePorts } ; in another thread back in Oct 2020, corps...@web.de posted this function to you: Function GetSerialPortNames(): String; Var sl: TStringlist; Var Info: TSearchRec; hdl: THandle; b: Boolean; Begin sl := TStringlist.create; If FindFirst('/dev/tty*', faSysFile, Info) = 0 Then Begin Repeat b := true; Try hdl := FileOpen('/dev/' + info.Name, fmOpenReadWrite); If hdl = -1 Then Begin b := false; End; Except b := false; End; If hdl >= 0 Then Begin FileClose(hdl); End; If b Then Begin sl.Add('/dev/' + info.Name); End; Until FindNext(info) <> 0; End; FindClose(Info); result := sl.CommaText; sl.free; End; i love having mailing list history in my email reader! :) :) :) -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it
Re: [Lazarus] Displaying Tree Data from a Shell/Terminal command in a TListView [Linux Debian]
On 11/26/22 8:24 PM, Aruna Hewapathirane via lazarus wrote: After asking for help on the Lazarus forum I twiddled with the font size and then it displayed the tree lines perfectly but I would like to know if there is a way to do this using a TListView without having to be stuck with a Monospace font and a specific font size? no, there is not really any way to do this without using a monospace font... terminals are monospace by design... their resolutions are represented by the cols*rows of their characters... eg: 80*24, 80*43, 132*24, 132*43... each character is in a cell that has a fixed width and height... some common cell sizes are 9*12, 9*14, 9*16, 6*12... these are not pixels, though... pixels were not a thing when these were designed... they are basically dots in a raster cell... these cells are what are counted for terminal resolutions because each cell holds one character and terminals are character based, not pixel based... not only do you have the vertical spacing but also the horizontal... note in your image that your column spacing is off so that needs to be fixed, too... note how your proportional spacing image cannot properly align the columns of information... FSTYPE, FSVER, LABEL, UUID, FSAVAIL, FSUSE%, and MOUNTPOINT... if you are going to replicate the output of a terminal on a graphic canvas, monospace fonts are the best and easiest way... especially if you are going to easily deal with tabular output and column alignment... this because you don't have to do any extra work to get everything aligned properly... then there's the aesthetics... personally speaking, seeing, for example, the UUID column in proportional font would drive me bananananananananas... columnar/tabular data is meant to be displayed in a fixed width format... proportional fonts simply cannot properly do that... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belongs!* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Question
On 12/21/21 8:28 AM, wkitt...@windstream.net wrote: git log --pretty=oneline ae9017^..871307 | grep -Ei -e "UTF-?8" i forgot to also add this list of commits that appear to be specific to various FPC versions used behind Lazarus or used to compile Lazarus... git log --pretty=oneline ae9017^..871307 | grep -Ei -e "fpc" c476a94462550eaff34b932a47797798a0231523 IDE: fixed compile with fpc 3.0.4 90cbe5eed994dd1743b0e36c8180894c633cc34a lazwiki: fixed compile with fpc 3.2 d6eb3f3a05bff9ec84e98b5a27f3609698997be1 TUTF8Process: workaround for the poNoConsole->poDetached change. Better hacks for old FPC versions without TProcessClassTemplate. Issue #35991 f7c69baac6b2c088660674d178d682af744f1d0c LazUtils: Dont override TProcess.Execute for TProcessUTF8 starting from FPC 3.2. Issue #35991 2838eb631edeb4bc450043e8a747b51227796b12 LazUtils: Delete very old code for TProcessUTF8 that was needed for FPC 2.x. 90bde32386685bf9675c506c9479a054ceed4b63 chmhelp: fixed compile fpc 3.0.4 -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belongs!* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Question
On 12/21/21 3:15 AM, Евгений Кадисов via lazarus wrote: Thank you once more. It turned out that the problem was not solved. When I have (2.0.12 instead of 2.0.10) [...] perhaps looking at the changelogs for the differences between these two versions will help you find what you need to change in your program so it will work properly for your expected output? i've spent about 15 minutes looking around so i might provide you a link to the changelogs but i'm unable to easily find them... sadly, the changes to the debian/changelog file provide no real information other than the version number being changed... so i've dug deeper... looking on the lazarus SF site, i was finally able to find the commits for those two versions... with this information, we should be able diff them to find the difference(s) that may be causing your program troubles... ae90172.0.10 8713072.0.12 if you have a full git repository, you can diff these two with git diff ae9017..871307 however, the following command will list all of the commits between ae9017 and 871307, inclusive... this may be an easier route to go to find what commit has lead to your situation... git rev-list --ancestry-path ae9017^..871307 this gives me, on my fresh clone, the following raw commit hash list of 76 commits... they are listed from newer to older... the bottom one is the one that set the version to 2.0.10 (where you were) and the top one is the one that set the version to 2.0.12 (where you ended up)... 87130707e7b820ae7167900041f9ea21087f2015 9c41034dda9369ea03e24d1cc87d919a43ba5699 0501f61b9bd61bd0af43802cf6ae8478b4540e19 6a91ceb313ed2d98e5997ecbb44a354dd928fe5d 0fc756f057705612f85b619a09faa39074137ba2 128960ee5dc7b506f6085a32670e642e659a07d4 815e3dc6d67ed3b82cfed51d8e6ee68c19dbf996 48ffd9739cfee3aa6a2ca5fb0fd4fee7a6702459 f7aa0270f144dcf23dac499ca64cfc1d8cde32d9 17f21607562f81144161a19da7c7a57e1bc73dda 77ecaa085694f99f38422dbacd01cb366364c314 65acd97bcd3bf2c7f936a9dde4c66342a582f236 8ae7b2bb457f6e820d9830eae2dbe6b0fcc82be8 240db20a1df4b627eb08fcf4173e18157b739019 2961d09e9e1c037cdfccec76a497e676925ddc08 2c03a634c538289b4adb59b46a421e23dc97d92f 561d01f2e6e12099448bd1137ede5d2aadeb4df2 7c386df181505370de67a479a80783ff5fe8c4a1 9b78caaf21fae9724ed9f9114457b6efef969cc5 c00cb12cca382e57035586b67838feb44538e0ef ee6fa154ed0c2af13f82250d274eb14af058e1ba 19aad3af455164815b82d4bc37bdc2659cb30b72 77b7cb7d6171ba101a43957ec3d88d7eff7aa6b3 69c095d1e2adc7f7f9e5a697547f2c13a5f441e3 3e0f2f5e68b19313aa17f9d400368d7f390eb729 c476a94462550eaff34b932a47797798a0231523 8bf9b7f784eabf68bf9a40a87a34a93e49ed5f94 8a0f57666f8e6c687b6b1c7dfed535cbfd9cca72 2889401bd2fd5203e783c6dfdaaa5351bb10493b f29f662333bbd277b242d3f82d58b141257f26cc 770bee475c8fda95eec53dc82a5c35ea88351aff f464a500fc618514ab1a5dd24b2e95e70b57539f 36319f66d58c2b646db6b6a4d0e8d14167b80768 a6e6e910f0eec6862de16e6aab0fcfeffb3ac671 18ff8c47009eb874541e3bb69c0e2f54a80f4941 90cbe5eed994dd1743b0e36c8180894c633cc34a c3e8aa2edff6559abf45f43df5bde550b97d1200 3bb8fe51b51eca80430b07b6a7c3181659496e9e 5d06959c361fdea9b32a0823ebc8b3f7f18343f1 8ddcd102ee193cb4289ec2e2aa85a54e6c2bdf94 c910891f1b64865ca203a16636ce810809be7474 ebab00eb5b8ac37b2d3daf60d85318c187a17dbd 886ab5f015ba66d71cf24f7773195400f0bd10cd d6eb3f3a05bff9ec84e98b5a27f3609698997be1 f7c69baac6b2c088660674d178d682af744f1d0c 2838eb631edeb4bc450043e8a747b51227796b12 0c525d92226f4b22e0f77b35d7e18b22d433f193 7b2dec7cc7e6ae765ccf5fc750eb4fe874902b58 99021f5b35481decda4130b18d18375b34948e56 d7ef338ff6a6c709afd6f214828336034d787906 8e84940d5c2fbb4c498aa62cd95195fb00b26f10 b85943b8636152ca286cbaed38bbc605f8a87083 7382f9906d344397b37c8c583acc8842349006f1 b1e194c219563707d0fb161e6d71fdabb50abe75 036336f93dde2058b1c3afd6ad53a759b6cf9092 5a9fdda475102679a45bb8afa8be569864a4a356 ed18ef848631e0c5bbad38f5bf9ffef3a72ab5cd 7b87b59dda416573e4796d080027ffab0348dd5f e400755e2bf56c5dd6ddebca5270da61a1e6cb98 08002f607e7451f104b1e46f529c3bfec7cf9cee 80f42df3c7a5aefc348bccfc1b431de21c457fff 918ae6195764b5f060f7c891996f98d6d604bf28 9a2223b8b20f21a82fa60a8550cf006410e5e0ae d6c010f5a8c0c31ec1a1516589c1b92f69816a81 e544c76cd565c32fd329751e18951cd0b77f32e5 d4e099a4f3e962760f254210cdc5dd3bbd52811b bda8742a72427fc72a333cc145d9a20b5de7dfe2 764bbbc59c6db0564166e4d61f729501a0ee2870 efa348b3c51355b79671efa7c8832f318838 53025b32f9736f37b3feb0967d4fc42b129738bf 0e06f0d9e1fa5b6f761d6bd4bbd4d3bf8f422b7a bee446707f7308b9c2772085512030cce92c89b1 90bde32386685bf9675c506c9479a054ceed4b63 7d81afac5da07c0c5a47503fe30682bd36e818cf eb4b5f979ecd00f9e0856090ee2855aa750dad21 ae9017d9a9b821dfed143169da8b59a0613335c8 assuming you are using UTF-8, i do find a few UTF-8 related commits and some of those are related to the version of FPC being used... so that brings the question of which FPC are you using behind your
Re: [Lazarus] Question
On 12/20/21 6:35 AM, Евгений Кадисов via lazarus wrote: Thank you. It seems I have found the reason. ok... and the reason/solution is/was? i ask so that others might find it if they have similar problems... пн, 20 дек. 2021 г. в 13:58, wkitty42--- via lazarus mailto:lazarus@lists.lazarus-ide.org>>: On 12/20/21 2:46 AM, Евгений Кадисов via lazarus wrote: > Dear lazarus programmers. After the change of the Lazarus version a command > "find" fails when it must find a word written with russian letters. What must I do? what must you do? maybe provide a little more information? what version of laz were you using? are you using UTF-8 or something else? what format are the russian glyphs written in? -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belongs!* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Question
On 12/20/21 2:46 AM, Евгений Кадисов via lazarus wrote: Dear lazarus programmers. After the change of the Lazarus version a command "find" fails when it must find a word written with russian letters. What must I do? what must you do? maybe provide a little more information? what version of laz were you using? are you using UTF-8 or something else? what format are the russian glyphs written in? -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belongs!* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Can I configure Lazarus (or the project) to only add symbols on debug?
On 12/14/21 3:29 AM, Bo Berglund via lazarus wrote: This is exactly what I needed, thanks for explaining it! :) don't you love it when a plan comes together? :) -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belongs!* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] All Demos Are Done
On 12/2/21 6:52 PM, Mehmet Erol Sanliturk via lazarus wrote: At the top of the your supplied link page , the following message is displayed ( which is not copyable , I wrote it below myself ) : (i) To play video , you may need to install the required video codecs. if your system cannot play the video, then this is the correct message... apparently you are missing some video codecs that you need to install if you expect to view this video and others like it... at a guess, i'd say that you do not have the AVC (Advanced Video Codec) installed... the below info pulled from a kubuntu 14.04 system that easily viewed the video both online and after downloading it... $ ffprobe -report "cv137g.mp4" Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'cv137g.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf58.76.100 Duration: 00:01:42.53, start: 0.00, bitrate: 6094 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 5955 kb/s, 60 fps, 60 tbr, 15360 tbn, 120 tbc (default) Metadata: handler_name: VideoHandler Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default) Metadata: handler_name: SoundHandler -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belongs!* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Masks: the naming of ...
On 11/2/21 6:24 PM, Bart via lazarus wrote: Untracked files: (use "git add ..." to include in what will be committed) components/lazutils/test/backup/ components/lazutils/test/testmasks.or nothing added to commit but untracked files present (use "git add" to track) Is there a way to suppress the warning about untracked files alltogether? Orr whould all this be added to our .gitignore file? yes, put them in your .gitignore if you don't want them tracked and you want no notifications about them changing... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belongs!* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Command line program - CPU overused - do I need profiling?
On 10/4/21 4:33 AM, Bo Berglund via lazarus wrote: This is the main loop in the program following creatrion of the handler objects (which are idle): QuitSignal:=false; While not (bSTerm or bSInt or bsHup) do While not QuitSignal do begin //Eternal loop to wait for system messages CheckSynchronize(5); //Timeout here instead of using sleep if CheckRestartReq then begin Debug_Writeln('Restart timeout reached - exiting'); FLogServ.StdLog('Restart timeout reached - exiting'); break; end; QuitSignal:=(bSTerm or bSInt or bSHup); end; i doubt it will make a difference but what if you adjust the code as shown above? this puts the while test to check only one item instead of three... The while loop breaks on system messages sent by systemd when running as a service or from the keyboard (Ctrl-C) if started in a terminal. Can this loop by itself cause the 10% CPU usage? possibly... it depends on what CheckSynchronize and CheckRestartReq are doing... i don't know of any profilers for command line or service apps... nothing other than logging with fine timestamps and analyzing the log... this is when i add debug logging with entry and exit messages logged for each routine and loop... this allows me to see the code flow and to monitor the time taken in each section... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belongs!* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] How to find out which version of Lazarus was used to build last?
On 1/23/21 10:25 AM, Juha Manninen via lazarus wrote: Maybe I asked poorly. I meant: What modifications are needed because of updating FPC and Lazarus? Why don't you try it? Obviously backup your sources. or branch the repo and see then open the sources and see what happens... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belongs!* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Tooltip shows value of some but not all const items....
On 1/2/21 6:09 AM, Bo Berglund via lazarus wrote: MKFILE= #$E5; this is a constant... REMMEASON: char = #$D5; this is a typed constant... that's the difference between the two i see immediately... i don't think there's a setting like you asked about but i haven't looked... seems like a possible oversight or defect, tho... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belongs!* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Losing desktop when restarting Lazarus - where are desktop settings saved?
On 12/27/20 5:15 PM, Mattias Gaertner via lazarus wrote: When the IDE starts, and there is no environmentoptions.xml file it copies it from the secondary config directory. Maybe you are seeing that? i think one of the main questions is "how does that file come up missing on a long time working installation in the first place?" especially since Laz is the only thing to touch it... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belongs!* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Using Chrome API in Lazarus - possible on Linux?
On 12/6/20 3:34 AM, Bo Berglund via lazarus wrote: But it clearly should be possible since the browsers (both Chrome and Firefox) have the ability of moving backwards inside the stream and view stuff that was played say a couple of hours ago. i'm pretty sure this is allowed or not by the provider in their container used to present the video stream on their page... i say this because i don't see any way of backing up in time on twitch.tv... there is no time progression bar for the stream like on YT... twitch does have a clip function that allows you to go back a few minutes, grab like 60 seconds max in the last maybe 5 minutes and save it to a clip... the only way further back, AFAIK, is to wait for the stream to end and then play back the VOD (video on demand) of the stream... i think if you capture the live stream to a buffer file of some type, then you can go back and forth in your buffer but no further back than where you connected to the stream and started your capture... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belongs!* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Where are the coolbar and desktop config files saved?
On 10/4/20 4:09 AM, Mr Bee via lazarus wrote: Never mind. I've found all the Lazarus user setting files. They all are in the "/Users//AppData/Local/lazarus". The "AppData" is a hidden folder, make sure you enable "Hidden Items" option in the File Explorer. FWIW: you can simply open the search on the start button, type %appdata%, and hit enter... windows will open file manager (or whatever they're using these days) in the user's AppData directory and you can navigate in from there... this works whether "hidden items" is enabled or not... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belongs!* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Google Calendar API TEvent start or _end (TDatetime) question
On 6/5/20 2:04 AM, Francesco Sammarco wrote: Of course, it's just not the idea of how to check if the time falls in daylight saving time or not. why not? that is the problem and apparently the API and/or backend code at google don't handle it so the creator of the event/appointment must... Il giorno gio 4 giu 2020 alle ore 17:24 wkitty42--- via lazarus mailto:lazarus@lists.lazarus-ide.org>> ha scritto: On 6/4/20 10:37 AM, Francesco Sammarco via lazarus wrote: > If anyone cares I think I have found a working way. Basically I do the insertion > or updating of the appointment. The API returns the content of the newly updated > or inserted appointment, I compare the hours contained with the hours I wanted > to set. I calculate the difference and apply it. I make a second update with the > correct date / time. I know it's not elegant, but for the moment it seems the > only working way. can you not determine if your desired time is in the daylight saving tim eperiod and adjust it as needed before you do the first posting to the calendar? i was going to suggest that yesterday when i first read of your plight but i wanted to wait and see what others might suggest... so basically: 1. you decide your time and date... 2. check if it is within the daylight saving time period for your area... 2a. if #2 is yes, adjust the time as needed... 2b. if #2 is no, leave the time as originally set... 3. publish the appointment/event in the calendar... 4. done ;) -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belongs!* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org <mailto:lazarus@lists.lazarus-ide.org> https://lists.lazarus-ide.org/listinfo/lazarus -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belongs!* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Google Calendar API TEvent start or _end (TDatetime) question
On 6/4/20 10:37 AM, Francesco Sammarco via lazarus wrote: If anyone cares I think I have found a working way. Basically I do the insertion or updating of the appointment. The API returns the content of the newly updated or inserted appointment, I compare the hours contained with the hours I wanted to set. I calculate the difference and apply it. I make a second update with the correct date / time. I know it's not elegant, but for the moment it seems the only working way. can you not determine if your desired time is in the daylight saving tim eperiod and adjust it as needed before you do the first posting to the calendar? i was going to suggest that yesterday when i first read of your plight but i wanted to wait and see what others might suggest... so basically: 1. you decide your time and date... 2. check if it is within the daylight saving time period for your area... 2a. if #2 is yes, adjust the time as needed... 2b. if #2 is no, leave the time as originally set... 3. publish the appointment/event in the calendar... 4. done ;) -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belongs!* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Keyboard mapping probelm
On 5/17/20 10:00 AM, Brian via lazarus wrote: On 5/16/20 3:03 PM, Juha Manninen via lazarus wrote: It was allegedly fixed in trunk r63089 less than 3 weeks ago. See: https://bugs.freepascal.org/view.php?id=30863 If nobody gets the duplicate key problem with trunk any more, that issue and all its related issues can finally be resolved. Please test everybody. Whoever fixed that, well done and thank you VERY much! :) the link in the above linked bug report tells you that ;) -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belongs!* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Keyboard mapping probelm
On 5/6/20 6:33 PM, Brian via lazarus wrote: What I intend to do is to run some searches of my entire tree, looking for anything with lazar or fp in the name. Once I've got that information, I'll work through the lists and delete anything that looks fpc or lazarus related. Then I'll try fpcupdeluxe with another copy of trunk, and see whether it fixes the problem. It will take some time. if you are on linux, something like this would be fairly quick and easy to use... sudo find / -type d \( -path .git -o -path .svn -o -path .cvs \) -prune -o -type f \( -iname "*.conf" -o -iname "*.cfg" -o -iname "*.cnf" \) it should find every *.conf, *.cfg, and *.cnf file on the system while skipping all .git, .svn, and .cvs directories... you really don't need to dig through all of those, in most cases, ya know? ;) once you have the list of matching files, then you can work through it looking for lazarus and fpc related configuration files... remember that not all of them will start with laz or fp... while testing the above on my system which i've recently removed lazaruz and fpc from for needed drive space, i found a leftover fppkg.cfg in my ~/.config directory... knowing that directory was used for some things then lead me to look at it closer... i found a lazarus directory in there with a reg.xml apparently from the jedi tool(s) along with a lhelp directory with a conf for the lazaruz lhelp tool... i also found a few left over fpc.cfg files in several project directories but those i kept because they contained only information on the project and nothing specific to lazarus or fpc... hopefully the above find command will be helpful to you... i keep a copy of it in one of my hint files so i don't lose it from my command history ;) -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belongs!* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Keyboard mapping probelm
On 5/6/20 7:48 AM, Brian via lazarus wrote: Just some additional information here. I have a copy of the latest Debian-based version of Linux Mint running in a virtual machine (my main system is the Ubuntu-based Mint) so I installed Lazarus and FPC from the Debian repositories. This gave me FPC 3.0.4 and Lazarus 2.0.0, with some additional versioning which I think indicates that it's been built and packaged by Debian. This combination works perfectly, no trace of the problem. this is good because it eliminates the possibility of a conf file being used that you've not found on the problematic machine... So, I guess the next thing I do is to try the various SourceForge versions and see how far back I have to go to get rid of the problem under Ubuntu-based Mint. I will report back when I have an answer, but depending on how many regressions are needed, it may take me a day or two. Watch this space... i would search, first, for the various lazarus related conf files... i'm almost willing to bet there's one/some that you're missing... almost willing ;) -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belongs!* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Keyboard mapping probelm
On 5/5/20 6:00 PM, Brian via lazarus wrote: To save some trial and error, can anybody tell me which was the last version of Lazarus (for Linux, if that makes a difference) that doesn't exhibit the problem of an 'm' producing a line feed and an 'i' producing a tab then an 'i'? check your key map settings in lazarus configuration... it sounds like a macro or you have configured 'm' to line feed and 'i' to tab-'i'... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belongs!* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Environment monitoring software on Linux?
On 9/26/19 11:12 AM, Bo Berglund via lazarus wrote: Is cron the best way or is there some similar function like the Windows services one can easily create? generally speaking, cron is the equivalent of the winwhatever scheduler... If so is there some sample code in FreePascal for implementing a service? why? when you deploy your project, include the needed steps to add the polling schedule to the existing cron on the linux system... either that or just build a scheduler into (or wrap one around) your project that polls at regular intervals... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] How to do insert/update and select on database
On 6/3/19 8:21 AM, Darius Blaszyk via lazarus wrote: Thanks. As always good and to the point advice! AKA "Bikini format" - short and to the point -=B-) -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Command line interpretation on Linux console program...
On 4/11/19 9:49 PM, Carlos E. R. via lazarus wrote: That assumes that you will never operate that program on different languages than yours, because, for instance, here the decimal separator is a comma. not for *whole* seconds ;) -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Raspbian FPC 3.3.1 and Lazarus 2.0 Available
On 2/21/19 9:48 AM, Bo Berglund via lazarus wrote: On Thu, 21 Feb 2019 09:14:40 -0500, wkitty42--- via lazarus if you are still getting the same file even after it has been changed, that means that something between you and the source server is caching it and hasn't updated the cache since the version you keep getting was originally pulled and cached... > I did not upload the modified script where I had removed the double quotes from the svn command ahh! that would explain it :) -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Raspbian FPC 3.3.1 and Lazarus 2.0 Available
On 2/21/19 5:38 AM, Joe via lazarus wrote: Am 21.02.2019 um 00:09 schrieb Bo Berglund via lazarus: What kind of network connection do you have? I am on 250/100 Mbit/s fiber myself. We have a VDSL connection with 265/42 Mbit/s. I tried (at 11:30 hours local time) to download the newest version of your script from http://blog.boberglund.com/install_lazfpc_local_pi_blog.sh, but still got this: if you are still getting the same file even after it has been changed, that means that something between you and the source server is caching it and hasn't updated the cache since the version you keep getting was originally pulled and cached... FWIW: attached is the version that i just pulled and this is the first time i've pulled it... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* install_lazfpc_local_pi_blog.sh Description: application/shellscript -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Tell me, does this application exist?
On 1/6/19 9:29 AM, Anthony Walter via lazarus wrote: wkitty42, Yes, I want to use a tablet as a digitizer for a desktop computer, but with a modification. I want the tablet to be able to have easy access to specific commands for programs, such as change brush shape, size, color, change the active tool, and change options for the active tool. when i last used a digitizer for drawing (shapes/letters on signage vinyl to be cut with a knife plotter), the digitizer we used could be configured with an area for drawing and another area for access to the menus for changing the options... but we didn't do that... instead we used the digitizer like a common mouse. the pointer never had problems accessing any of the menus in the application... where ever the stylus went, the on-screen pointer went... we even stopped using and removed the mice on the workstations that had digitizers because they did the same thing and those users just used the digitizer for all mousing around... it didn't matter if it was in autocad or some other signage related drafting program or outlook or AOL or prodigy or whatever... the digitizer was just a different mouse... I would like to know if someone has already created this type of application for android tablets and also associated the service interface desktop computers. i cannot say that i've ever heard of one but i haven't used a digitizer in at least 20 years... to me it is still just a different type of mouse... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Tell me, does this application exist?
On 1/6/19 1:31 AM, Anthony Walter via lazarus wrote: What I was attempting to describe is a tablet application that provides a specialized input view to a desktop application using an android tablet. so in the most simple terms, you are wanting to use a tablet as a digitizer for a desktop system, right? -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Auto session store etc.
On 1/4/19 10:33 AM, Marco van de Voort via lazarus wrote: Unfortunately the undo is often only for the session. that information can also be saved so that it persists between front-to-back sessions... it could also be saved as part of the project data so that it is specific to that one project and it's files... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Crowdfunding to speed up the development of pas2js in Lazarus Widgetset and fpDebug to FPC
On 12/29/18 10:53 AM, Michael Van Canneyt via lazarus wrote: On Sat, 29 Dec 2018, Joost van der Sluis via lazarus wrote: If one wants reoccurring contributions, better use Liberapay. It also supports teams. And it's code is fully open-source. This looks interesting. At least they don't seem to take an extra percentage off the donated amounts, you pay only the transaction costs. "you" who? the payer or the payee? -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] FileUtils.DeleteDirectory help
On 07/21/2018 07:28 AM, AlexeyT via Lazarus wrote: Pls add a comment to FileUtil.DeleteDirectoty() about 2nd parameter OnlyChildren. my guesses were: - delete only subitems of dir, of one level, but don't delete dir - delete only subitems, of ALL levels, but leave source dir - delete ALSO subitems of ALL levels I still cannot guess it. even after testing on a disposable tree with structure /foo1/ /foo1/bar1.txt /foo1/foo2/ /foo1/foo2/bar2.txt /foo1/foo2/foo3/ /foo1/foo2/foo3/bar3.txt ?? -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] TMysql57Connection won't connect to localhost
On 05/29/2018 10:52 PM, larrydalton71 via Lazarus wrote: How does TMysql57Connection know how to connect to the server if there is no hostname defined? because if there's no host name it will try using a unix socket defined for the server... that /is/ local but not localhost and not using tcp/ip networking protocols... it is another way to connect to a server running on the same machine... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] IDE multi-caret options wishes
On 05/22/2018 05:12 AM, AlexeyT via Lazarus wrote: Okay, so better use "text cursor" and "mouse pointer". yes! :) -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] IDE multi-caret options wishes
On 05/22/2018 04:55 AM, AlexeyT via Lazarus wrote: You're right, but: IDE is for major audience, so need to use major terms, of current time: cursor is mouse cursor. not when i'm typing in the/an editor... that mouse thing is just trash to be moved out of the way so i can read what is typed... the proper name for that mouse thing is "pointer"... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] A fix for an annoying problem on Linux
On 04/02/2018 09:51 AM, Anthony Walter via Lazarus wrote: Here you go ... what did you change? i see the code you added but i do not see any difference in the pictures you posted... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Test this please
On 03/26/2018 09:16 AM, Anthony Walter via Lazarus wrote: Santiago, Thanks for the feedback. Regarding the failed login, my initial though was to not add a "Failed login" dialog for security purposes. That is to not tell people why nothing happened in an attempt to better secure your files. Several people have already mentioned this problem, so I may add a failed login dialog or message. that's why the response says "invalid user or password"... you can't tell which one is bad... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Lazarus Release 1.8.2
On 03/04/2018 05:51 PM, Graeme Geldenhuys via Lazarus wrote: On 2018-03-04 11:22, Haruo Toda via Lazarus wrote: Is Sourceforge troubling? I cannot download 1.8.2 too. I think there is some global service outage or something. I haven't been able to access a few Git repositories or hosted project websites on SourceForge.net all weekend. SF had a move to a new data center a week or two ago... some projects are still having problems... i've only today just been able to update from numerous repos hosted on SF... it was surprising to a point... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Package filenames with _package
On 01/08/2018 04:38 PM, Graeme Geldenhuys via Lazarus wrote: Even better, Linux and FreeBSD don't even need file extensions. File Extensions are simply for [some] human benefit (unlike Windows that requires them). Linux and FreeBSD OS's query the first 4-8 bytes of a file to accurately determine the file type and use the appropriate application to open them. yup! i have a ton-load of scripts in perl, python, python3, bash, and just plain commands as if i were to type them manually... none of them have extensions on them... i don't even know what they are written in unless i go into them with an editor to modify them for some reason ;) -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Problem accessing the lazarus forums...
On 12/04/2017 04:25 AM, Bo Berglund via Lazarus wrote: On Mon, 4 Dec 2017 09:52:34 +0100, Mattias Gaertner via Lazaruswrote: A normal fpc install puts it in /etc/fpc.cfg Thanks, that is where I found it now! I wonder why this did not work before? sudo find / -name fpc.cfg Now it does. that's not the same command you used before... your previous one had single quotes around the filename whereas this one does not... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Cross-compiling to win32 from debian stretch
On 12/03/2017 03:29 PM, kardan via Lazarus wrote: Thanks for the info. Just tried it again: $ git svn fetch && make all Makefile:2918: *** The only supported starting compiler version is 3.0.2. You are trying to build with 3.0.4.. Stop. as noted previously, you /MUST/ use 3.0.2 to build 3.0.4... after 3.0.4 is adopted and made the minimum version, then you can use it to build newer versions greater than 3.0.4 but to build 3.0.4 you will /always/ have to use 3.0.2, the last release before 3.0.4 became available... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] [PATCH] Fix problems with writing ProductVersion in VersionInfo
On 10/04/2017 04:05 AM, el es via Lazarus wrote: Hi Dmitry, On 04/10/17 03:51, Dmitry D. Chernov via Lazarus wrote: No, I mean, like in my signature, "Dmitry D. Chernov". Anyway that's not critical. _ Dmitry D. Chernov Waldo meant to say : the cyrylic characters have been that way in your original email, as you can also see below in my reply, as in, nobody took to 'write your name in Cyrillic' 'by hand', it's all through 'machine copy' of your original content. yes, thanks... i brief wording may have been confusing... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] [PATCH] Fix problems with writing ProductVersion in VersionInfo
On 10/03/2017 06:09 PM, Чернов Дмитрий via Lazarus wrote: Thank you. But please don't write my name in Cyrillic anymore. ;-) do you mean like above in the quote header? the characters that arrived here as depicted in juha's post and your original?? -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] FPReport file names
On 09/13/2017 05:13 AM, Mattias Gaertner via Lazarus wrote: On Wed, 13 Sep 2017 10:44:23 +0200 (CEST) Michael Van Canneyt via Lazaruswrote: [...] I tested in Delphi: c:\Temp>dcc32 /NSos /NSweb testns.dpr Embarcadero Delphi for Win32 compiler version 30.0 Copyright (c) 1983,2015 Embarcadero Technologies, Inc. os.utils.pas(14) testns.dpr(6) Error: E2003 Undeclared identifier: 'webfunction' testns.dpr(7) webfunction is in the web.utils.pas unit. Did you add "uses utils"? ummm... On 09/13/2017 04:44 AM, Michael Van Canneyt via Lazarus wrote: [...] > Imagine: > > web.utils.pas > os.utils.pas > > and in my project I have (I love to use the namespace param) > > *uses utils;* > > And now I compile with a (hypothetical) /NSweb /NSos -> problem. ;) -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] fpReport -> Lazarus reportdsg.lpr
On 08/21/2017 05:49 AM, Graeme Geldenhuys via Lazarus wrote: On 2017-08-21 10:35, Andreas Frieß via Lazarus wrote: It is possible to use a standard font and give a warning instead of fire an exception. Eg. Font not found, using standardfont instead ? I don't like that. First, how are you going to display the warning? Remember fpReport was designed to be able to run from console or headless servers too, not just desktop apps. Secondly, how are you going to substitute the font? Which font will you choose you choose Comic Sans, of course :wink: :wink: -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] String vs WideString
On 08/16/2017 06:46 PM, Luca Olivetti via Lazarus wrote: I started using strings as communication buffers since delphi 2. There weren't even dynamic arrays then... really? delphi came from TP/BP... i was (still am, actually) using dynamic arrays in TP6 ;) -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] String vs WideString
On 08/16/2017 07:30 PM, Graeme Geldenhuys via Lazarus wrote: On 2017-08-16 18:35, Sven Barth via Lazarus wrote: You are wrong. The string types in 3.0.x and 3.1 are like this: Thanks for correcting me. I was thinking of the "$modeswitch unicodestring" option. will that modeswitch take care of the warning about explicit conversion between ansistring and unicode string when one has var foo : unicodestring; writeln(padright(foo,5); ?? i wrote a quick and simple little array exhibit program for someone... i had thought to try to embrace this new unicode stuff by using unicode strings... the using the padright and similar string manipulators gave me warnings about ansistring conversions :? NOTE: this may be because i have an older lazarus and fpc installed... lazarus fixes 1.6.1 and fpc fixes 3.0.something... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] String vs WideString
On 08/15/2017 05:25 AM, Michael Van Canneyt via Lazarus wrote: As it is now, FPC offers a way out for all cases: WideString/UnicodeString for those that want 2-byte characters. what if 3 and 4 byte characters are required? will they also work in UnicodeStrings? i'm looking at this from a linux POV but have been trying to come from the very old school DOS TP stuff using codepages... especially needing to be able to read codepage strings and properly convert all their characters to UTF-8... converting back would be a huge help, too... even with the possible loss of characters requiring replacing them with "?" or something to hold their place and show they didn't convert... that or even leaving them in their 2, 3 or 4 byte form and let those using older codepage stuff see them raw... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] List down?
On 08/12/2017 12:42 AM, Bo Berglund via Lazarus wrote: On Thu, 10 Aug 2017 22:33:50 -0500, R0b0t1 via Lazarus wrote: The forums are far more active, and the developers seem to be fairly active on the forums if you need a response quickly. Is there an NNTP interface (News) for the forums? no... there may be an RSS feed but i'm not sure of that... i generally don't mind forums but there are a few with interfaces that i just don't like... I find the NNTP interface more useful than web browsing... i prefer email but news is ok... In the case of the Lazarus and FPC mail lists GMane mirrors these as NNTP groups. because they're converting the list emails into news postings... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list unless* *a signed and pre-paid contract is in effect with us.* -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Making sources compatible with Delphi (but Lazarus is priority)
On 05/04/2017 10:56 AM, Juha Manninen via Lazarus wrote: On Thu, May 4, 2017 at 2:47 PM, wkitty42--- via Lazarus <lazarus@lists.lazarus-ide.org> wrote: On 05/03/2017 05:21 AM, Juha Manninen via Lazarus wrote: Encoding does not matter any more, as long as it is Unicode. reminds me of a saying that is attributed to Henry Ford... Any customer can have a car painted any color that he wants so long as it is black. Ok, maybe my wording was not good. i was making a joke... my apologies if it didn't make the great divide... you're good! :) :) :) -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list* unless private contact is specifically requested and granted. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Making sources compatible with Delphi (but Lazarus is priority)
On 05/03/2017 05:21 AM, Juha Manninen via Lazarus wrote: Encoding does not matter any more, as long as it is Unicode. reminds me of a saying that is attributed to Henry Ford... Any customer can have a car painted any color that he wants so long as it is black. :) -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list* unless private contact is specifically requested and granted. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Terminal window while debugging
On 03/05/2017 07:49 AM, Sven Barth via Lazarus wrote: If you want a terminal window on Linux you need to enable it in the project settings (don't remember the correct name right now, but the default setting AFAIK is that it's disabled and using "xterm", you'll need to adjust that for your system). ahhh... i missed that part... mainly because i generally run everything from the command line ;) -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list* unless private contact is specifically requested and granted. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Terminal window while debugging
On 03/05/2017 05:57 AM, Darius Blaszyk via Lazarus wrote: On Linux I don't get the terminal to show when debugging a command line application. How can I instruct the IDE to display the terminal? There is the console window, but I prefer to see the terminal instead. On windows this seems to be handled just fine. I'm using 1.6.4 maybe i'm misunderstanding something but on linux, the console is the terminal... isn't it? it seems that way over here... eg: in GUI i open a terminal, konsole, and from there run text and GUI programs alike... if i CTRL-ALT-F1, i'm at the base console/terminal i can run text stuffs... i haven't tried GUI stuff from the base terminals ALT-F1 thru ALT-F6... don't know if they would show up on ALT-F7 or not... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list* unless private contact is specifically requested and granted. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] TruBrain user activation
On 03/03/2017 03:30 PM, Marc Weustink via Lazarus wrote: Freshdesk isnt a spammer , but ticket support system. Someone used the lazarus address to subscribe to the trubrain ticket system :( we've gone through something similar on the snort mailing list in the recent past... filing formal spam reports for all of their posts is how we took care of that... it wasn't trubrain but some virtual office on the net crap... apparently it has a ticketing system... Ive searched for this user to unsubscribe, but i haven't found it jet this could be painful but i'd start with those that signed up on the date the garbage first showed up... good luck! Marc On March 3, 2017 7:24:16 PM GMT+01:00, Dmitry Boyarintsev via Lazaruswrote: It should be blocked asap, since now its receiving mailing list and would steal everyone's email addresses. thanks, Dmitry On Fri, Mar 3, 2017 at 1:22 PM, Dmitry Boyarintsev < skalogryz.li...@gmail.com> wrote: Spammers have to be blocked. thanks, Dmitry -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list* unless private contact is specifically requested and granted. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] IDE Component-dialog: small button
On 02/05/2017 07:41 PM, Alexey via Lazarus wrote: In this dialog, button Use is too narrow. Can i make diff, to make it wide, e.g. 80pix? ummm, it looks plenty big enough... all of the letters show with no clipping on either side... what am i missing?? -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list* unless private contact is specifically requested and granted. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Temp dir for unnamed proj
On 12/20/2016 11:21 AM, Alexey via Lazarus wrote: Wish: make a subfolder for temp unnamed proj files. Inside tmp/, make subdir. Now I see such crap files in my ~/tmp, not good for viewing temp, and finding LOGs here: you can change the name of the temp folder where unnamed projects are compiled... i suspect you might even be able to add a macro to that path so that it is expanded when needed... i guess main question with this idea is if lazarus can create the folder named by the macro... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list* unless private contact is specifically requested and granted. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Help System with Chromium Embedded component
On 11/10/2016 08:11 PM, Lars via Lazarus wrote: The best reason to have some local (whatever how limited) widget is for IDE popups of helptext instead of an external browser. External browser requires alt-tabbing away from the ide which is a pain. A external browser cannot be communicated with once you open the html file. with a local widget, you can communicate with that widget. With an external browser, once you've loaded the page there is no way to communicate. An an external browser doesn't offer a search system if it's a static html file served off line. So then you end up with people just using google and online help and stack exchange, instead of reading documentation. what's wrong with something like LHelp and using IPC to tell it where to load the next help from that the user has asked for?? from these cheap seats i have way over here, it seems like you are over engineering this... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list* unless private contact is specifically requested and granted. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Run FPC on Raspberry Pi3 in command line mode
On 10/29/2016 01:23 AM, Ken Kashmarek via Lazarus wrote: I have been runing FPC v3 on Windows 7 from a command line window. The Windows 7 version of the IDE sucks. I want to run FPC v3 on my Raspberry Pi3 the same way, from a command line window (not the GUI IDE interface). Is that possible? I found everything for starting the IDE but not for starting the compiler directly (I will be using my own editor for source files). just like the old days with TP and/or BP... tp loads the editor. tpc runs the compiler. bp loads the editor. bpc runs the compiler. fp loads the editor. fpc runs the compiler. -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list* unless private contact is specifically requested and granted. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Teaching Pascal at College
On 10/24/2016 01:53 PM, Mehmet Erol Sanliturk via Lazarus wrote: I have the book : https://www.amazon.com/Lazarus-Complete-Guide-pascal-teaching/dp/9490968021 ( Lazarus The complete Guide ) i've been looking for that book off and on since i heard about it... amazon currently shows it as unavailable and does not show a price for it :( :( :( -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list* unless private contact is specifically requested and granted. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Notice: Due to Hurricane Matthew I'll be unavailable for the next few days
On 10/05/2016 01:12 PM, Anthony Walter via Lazarus wrote: Due to Hurricane Matthew I'm being evacuated from my home for a few days. If anyone wants to check up on me or my home I've set up a continuous live video stream from my living room. It can be used to monitor the current situation. My living room video stream: http://www.codebot.org/articles/?doc=9599 i keep getting a repeated loop... i can tell because the volume is shoved to MAX when it starts and i keep having to turn it down... then it loops and the volume is MAX again :( looks pretty nasty but i don't see any other canaveral and surrounding area cams with that type of ferocious weather going on... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list* unless private contact is specifically requested and granted. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Messages from who?
On 10/01/2016 12:59 PM, DougC via Lazarus wrote: I have no problem figuring out how to reply to the place I want to reply to. i wasn't sure... some readers operate in different ways... t-bird, i know, has reply, reply list and reply all... The problem I have is seeing who the original sender was. There is nothing in the way the messages are presented to me that indicates the original author. are you not at moosemail dot net? i guess the answer to your question is yes, the CC field is the original poster... this reply will (should) likely carry a CC with my email address at windstream dot net after it is processed by the list server... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list* unless private contact is specifically requested and granted. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus