Search found 477 matches

by Sicro
Sun Mar 30, 2025 8:05 pm
Forum: Tricks 'n' Tips
Topic: Optical Drive Info
Replies: 2
Views: 1653

Re: Optical Drive Info

The forum moderator RSBasic has a backup archive in which many files from the forums have been stored:
https://www.rsbasic.de/backups

Your desired code is also available:
https://backups.rsbasic.de/Optical_Drive_Data_520.rar
by Sicro
Fri Mar 28, 2025 6:29 pm
Forum: The PureBasic Editor
Topic: Source language lexer
Replies: 7
Views: 1652

Re: Source language lexer

The PureBasic IDE uses Scintilla for the token highlighting in the editor, and it comes with a lexer:
https://www.scintilla.org/ScintillaDoc.html#Lexer
This code sets up the lexer:
https://github.com/fantaisie-software/purebasic/blob/devel/PureBasicIDE/ScintillaHighlighting.pb
This code is also ...
by Sicro
Sun Feb 16, 2025 3:14 pm
Forum: Applications - Feedback and Discussion
Topic: RegEx engine module that builds NFA/DFA and uses it for matching
Replies: 11
Views: 10714

Re: RegEx engine module that builds NFA/DFA and uses it for matching

Final 1.1.0 released

Download: Click

In the next version, I will implement the feature of being able to create a minimal DFA from an existing DFA. Such a DFA contains only the number of states that are really required, which makes the DFA smaller and consumes less memory. However, the number ...
by Sicro
Sun Feb 02, 2025 5:46 pm
Forum: Bugs - Linux
Topic: CountGadgetItems(#EditorGadget) with #PB_Editor_WordWrap
Replies: 2
Views: 3961

Re: CountGadgetItems(#EditorGadget) with #PB_Editor_WordWrap

I have now tested it with the various packages for Linux.
PureBasic 6.20 Beta 4 for Linux (Ubuntu 18.04 - x64) wrote: 9
PureBasic 6.20 Beta 4 for Linux (Ubuntu 20.04 or 22.04 - x64) wrote: 9
PureBasic 6.20 Beta 4 for Linux (Ubuntu 24.04 - x64) wrote: 9
All tested with gtk3 (default) in Manjaro Xfce x64.
by Sicro
Sun Feb 02, 2025 5:35 pm
Forum: Bugs - Linux
Topic: GetGadgetItemText() doesn't work with wrapped text in EditorGadget
Replies: 3
Views: 6096

Re: GetGadgetItemText() doesn't work with wrapped text in EditorGadget

I have now tested it with the various packages for Linux.
PureBasic 6.20 Beta 4 for Linux (Ubuntu 18.04 - x64) wrote: 9
item text
PureBasic 6.20 Beta 4 for Linux (Ubuntu 20.04 or 22.04 - x64) wrote: 9
item text
PureBasic 6.20 Beta 4 for Linux (Ubuntu 24.04 - x64) wrote: 9
i
All tested with gtk3 (default) in Manjaro Xfce x64.
by Sicro
Sun Feb 02, 2025 1:52 pm
Forum: Bugs - Linux
Topic: GetGadgetItemText() doesn't work with wrapped text in EditorGadget
Replies: 3
Views: 6096

Re: GetGadgetItemText() doesn't work with wrapped text in EditorGadget


; PureBasic 6.20 Beta 4 (x64) - Linux
; gtk3: bug
; gtk2 and qt: no bug

#Window = 0
#EditorGadget = 0

If Not OpenWindow(#Window, 0, 0, 500, 500, "Test", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
Debug "Error: OpenWindow()"
End
EndIf

; Without the flag '#PB_Editor_WordWrap', it works ...
by Sicro
Sun Feb 02, 2025 1:48 pm
Forum: Bugs - Linux
Topic: CountGadgetItems(#EditorGadget) with #PB_Editor_WordWrap
Replies: 2
Views: 3961

CountGadgetItems(#EditorGadget) with #PB_Editor_WordWrap


; PureBasic 6.20 Beta 4 (x64) - Linux
; gtk3: bug
; gtk2 and qt: no bug

#Window = 0
#EditorGadget = 0

If Not OpenWindow(#Window, 0, 0, 500, 500, "Test", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
Debug "Error: OpenWindow()"
End
EndIf

; Without the flag '#PB_Editor_WordWrap', it works ...
by Sicro
Thu Jan 02, 2025 12:21 pm
Forum: The PureBasic Editor
Topic: Special Question about IDE-Tools
Replies: 4
Views: 7410

Re: Special Question about IDE-Tools


At some point freak had mentioned making IDE functions accessible
via external tools (unfortunately I can't find the post at the moment)

Here is freak's feature thread:
https://www.purebasic.fr/english/viewtopic.php?t=44895

The feature was canceled:
https://github.com/fantaisie-software ...
by Sicro
Tue Dec 31, 2024 6:45 pm
Forum: Off Topic
Topic: Happy New Year 2025!
Replies: 27
Views: 15192

Re: Happy New Year 2025!

I wish you all a good start into the new year!
by Sicro
Mon Dec 30, 2024 6:40 pm
Forum: Applications - Feedback and Discussion
Topic: RegEx engine module that builds NFA/DFA and uses it for matching
Replies: 11
Views: 10714

Re: RegEx engine module that builds NFA/DFA and uses it for matching

1.1.0-beta.2 released

Download: Click

Fixed

Due to the implementation of single-byte mode, case-sensitive mode was not processed correctly with user-defined character classes (negated or not). This was also the case when single-byte mode was not activated.
User-defined negated character ...
by Sicro
Fri Dec 27, 2024 8:32 pm
Forum: Coding Questions
Topic: Generating Live Audio
Replies: 8
Views: 1424

Re: Generating Live Audio

https://github.com/Dadido3/Audio
German forum thread: https://www.purebasic.fr/german/viewtopic.php?t=28447
There is no thread in this English forum.

I also have it in my code archive:
PB-CodeArchiv-Rebirth/Sound/AudioIN_OUT[Win]/
by Sicro
Wed Dec 25, 2024 1:56 pm
Forum: Linux
Topic: [PB6.20-beta2] User-PureLibrary filenames are written in lowercase
Replies: 3
Views: 4236

Re: [PB6.20-beta2] User-PureLibrary filenames are written in lowercase

Yes, almost all Linux distributions use the default setting for the file system, which is case-sensitive.

Yes, it makes sense.

I encountered this behavior when I created a PureLibrary:
$ pbcompilerc Test.pb --purelibrary --output TestLib
PureBasic 6.20 Beta 2 - C Backend (Linux - x64)
Loading ...
by Sicro
Tue Dec 24, 2024 3:05 pm
Forum: Linux
Topic: [PB6.20-beta2] User-PureLibrary filenames are written in lowercase
Replies: 3
Views: 4236

[PB6.20-beta2] User-PureLibrary filenames are written in lowercase

Is it intentional that the User-PureLibrary file is created with a lowercase name on Linux? On Windows, the filename is as specified with the “--output” parameter.
by Sicro
Tue Dec 24, 2024 1:49 pm
Forum: Off Topic
Topic: Happy Christmas
Replies: 17
Views: 10060

Re: Happy Christmas

Merry Christmas to you all. :)
by Sicro
Tue Dec 24, 2024 1:43 pm
Forum: Announcement
Topic: PureBasic 6.20 is out !
Replies: 148
Views: 76695

Re: PureBasic 6.20 beta 2 is out !

Thanks to the PB team and the contributors on GitHub (or via other ways) for the great new features, improvements and bug fixes.