Interesting. I didn't know that the source for the IDE is publicly available now.
But indeed, here it is: https://github.com/fantaisie-software/purebasic/tree/devel/PureBasicIDE
I only hope it never becomes "open contribution", because that seems to be the best way to make software quality race ...
Search found 16 matches
- Sat Aug 23, 2025 6:53 pm
- Forum: Feature Requests and Wishlists
- Topic: PureBasic IDE: Loading of files and handling of recent files
- Replies: 3
- Views: 854
- Fri Aug 22, 2025 4:36 pm
- Forum: Feature Requests and Wishlists
- Topic: PureBasic IDE: Loading of files and handling of recent files
- Replies: 3
- Views: 854
PureBasic IDE: Loading of files and handling of recent files
Hello!
I have three suggestions for making improvements to the IDE.
Recent Files menu
I have set my IDE to load the files that where opened in the previous session on startup.
I have set the number of items in the Recent Files menu to 30.
I have around 25 files opened in the IDE.
Every time I ...
I have three suggestions for making improvements to the IDE.
Recent Files menu
I have set my IDE to load the files that where opened in the previous session on startup.
I have set the number of items in the Recent Files menu to 30.
I have around 25 files opened in the IDE.
Every time I ...
- Fri Aug 22, 2025 3:17 pm
- Forum: General Discussion
- Topic: Forum inaccessible. Server blocks my user agent and responds with 403 Forbidden.
- Replies: 7
- Views: 1287
Re: Forum inaccessible. Server blocks my user agent and responds with 403 Forbidden.
It seems to be back to normal, so it's removed for now, but I will put them back if it occurs again.
Thank you very much! Now it works again.
But isn't there a better way to protect against DDoS and bots? An attacker with evil intentions can easily change the user agent of his bots, but for ...
- Thu Aug 21, 2025 9:19 pm
- Forum: General Discussion
- Topic: Forum inaccessible. Server blocks my user agent and responds with 403 Forbidden.
- Replies: 7
- Views: 1287
Forum inaccessible. Server blocks my user agent and responds with 403 Forbidden.
Hello!
For several weeks, possibly over a month now, I have been unable to access this forum.
I always get a "403 Forbidden" response from the server.
At first I assumed that the forum was down for maintenance and the admins needed some time to get it working again.
But after several weeks I ...
For several weeks, possibly over a month now, I have been unable to access this forum.
I always get a "403 Forbidden" response from the server.
At first I assumed that the forum was down for maintenance and the admins needed some time to get it working again.
But after several weeks I ...
- Fri May 24, 2024 3:56 pm
- Forum: Bugs - Documentation
- Topic: Base64EncoderBuffer(): Bad explanation of OutputSize parameter, example with bug, and weird behavior of function itself.
- Replies: 4
- Views: 1953
Re: Base64EncoderBuffer(): Bad explanation of OutputSize parameter, example with bug, and weird behavior of function its
As you can see, there are still problems.
Yes, you are right, because of the padding.
I'm not exactly sure what you mean by that. I do know that Base64 usually pads its output to a multiple of 4 characters, because 4 output characters map exactly to 3 input bytes.
My point is that the manual ...
- Thu May 23, 2024 10:15 pm
- Forum: Feature Requests and Wishlists
- Topic: IDE Improvement: Logarithmic scale for the Profiler
- Replies: 0
- Views: 865
IDE Improvement: Logarithmic scale for the Profiler
Hello!
I want to suggest an improvement to the Profiler tool (from the Debugger menu).
When you have some lines in your code that are executed several million times, the horizontal scale of the chart becomes so large that you can no longer see the other lines that are executed much less often.
I ...
I want to suggest an improvement to the Profiler tool (from the Debugger menu).
When you have some lines in your code that are executed several million times, the horizontal scale of the chart becomes so large that you can no longer see the other lines that are executed much less often.
I ...
- Thu May 23, 2024 9:56 pm
- Forum: Bugs - Documentation
- Topic: Base64EncoderBuffer(): Bad explanation of OutputSize parameter, example with bug, and weird behavior of function itself.
- Replies: 4
- Views: 1953
Re: Base64EncoderBuffer(): Bad explanation of OutputSize parameter, example with bug, and weird behavior of function its
At some point Base64Encoder was introduced, which returns a string instead of using the encoded ascii buffer.
That's good if you need the result as a PureBasic string, but when you want to write ASCII bytes to a buffer, Base64EncoderBuffer() is the way to go.
Furthermore, it encodes the input ...
- Thu May 23, 2024 7:19 pm
- Forum: Bugs - Documentation
- Topic: Base64EncoderBuffer(): Bad explanation of OutputSize parameter, example with bug, and weird behavior of function itself.
- Replies: 4
- Views: 1953
Base64EncoderBuffer(): Bad explanation of OutputSize parameter, example with bug, and weird behavior of function itself.
Hello!
In the documentation for Base64EncoderBuffer() we can find the following explanation for the required size of the output buffer:
The output buffer should be at last 33% bigger than the input buffer, with a minimum size of 64 bytes. It's recommended to get a slightly larger buffer, like 35 ...
In the documentation for Base64EncoderBuffer() we can find the following explanation for the required size of the output buffer:
The output buffer should be at last 33% bigger than the input buffer, with a minimum size of 64 bytes. It's recommended to get a slightly larger buffer, like 35 ...
- Sun Nov 12, 2023 10:18 pm
- Forum: Feature Requests and Wishlists
- Topic: Update PathRequester() to use IFileDialog on Windows
- Replies: 3
- Views: 1240
Re: Update PathRequester() to use IFileDialog on Windows
Thanks! I will check this out.
However, I still think that PathRequester() should be updated, given that the new dialog was introduced 17 years ago.
- Fri Nov 03, 2023 12:15 am
- Forum: Feature Requests and Wishlists
- Topic: Update PathRequester() to use IFileDialog on Windows
- Replies: 3
- Views: 1240
Update PathRequester() to use IFileDialog on Windows
Hello!
I noticed that as of PureBasic 6.03 PathRequester() still uses the old "Open Folder" dialog, even though there is a new and much more user-friendly dialog available since Windows Vista. This new dialog looks like the dialog used by OpenFileRequester() and SaveFileRequester().
As far as I ...
I noticed that as of PureBasic 6.03 PathRequester() still uses the old "Open Folder" dialog, even though there is a new and much more user-friendly dialog available since Windows Vista. This new dialog looks like the dialog used by OpenFileRequester() and SaveFileRequester().
As far as I ...
- Wed Jun 28, 2017 1:29 am
- Forum: Feature Requests and Wishlists
- Topic: Sorting function with callback
- Replies: 7
- Views: 4253
Re: Sorting function with callback
I just wrote a user lib that does what I wanted. I just wanted to see if I can get it working, so I simply copied the bubblesort algorithm from Stargate's thread .
See below for the files. If you want to try it, copy PureLib\PBUserLib to your UserLibraries directory and run the .pb files. I ...
See below for the files. If you want to try it, copy PureLib\PBUserLib to your UserLibraries directory and run the .pb files. I ...
- Tue Jun 27, 2017 12:22 am
- Forum: Feature Requests and Wishlists
- Topic: Sorting function with callback
- Replies: 7
- Views: 4253
Re: Sorting function with callback
I use qsort() with custom callback comparison procedures for my structures.
This works only for arrays, not for lists. Also it relies on undocumented behavior (Import "" <- empty string).
at the moment, you can use my CustomSortList http://www.purebasic.fr/english/viewtopic.php?f=3&t=43230,
it ...
This works only for arrays, not for lists. Also it relies on undocumented behavior (Import "" <- empty string).
at the moment, you can use my CustomSortList http://www.purebasic.fr/english/viewtopic.php?f=3&t=43230,
it ...
- Mon Jun 26, 2017 2:05 am
- Forum: Feature Requests and Wishlists
- Topic: Sorting function with callback
- Replies: 7
- Views: 4253
Sorting function with callback
Hi!
I think PureBasic could really use sorting functions that make use of a user-defined callback function to determine the sorting order.
The functions would look as follows:
SortArrayCallback(ArrayToSort(), @Callback())
SortListCallback(ListToSort(), @Callback())
They accept the list or array ...
I think PureBasic could really use sorting functions that make use of a user-defined callback function to determine the sorting order.
The functions would look as follows:
SortArrayCallback(ArrayToSort(), @Callback())
SortListCallback(ListToSort(), @Callback())
They accept the list or array ...
- Mon Apr 17, 2017 2:45 am
- Forum: Coding Questions
- Topic: Bug when appending return value of procedure to a string
- Replies: 9
- Views: 4058
Re: Bug when appending return value of procedure to a string
Just tried it.
#include <stdio.h>
int myfunc(int *intptr) {
*intptr += 200;
return 10;
}
int main(int argc, char *argv[]) {
int myint = 3000;
myint = myint + myfunc(&myint);
printf("myint = %i\n", myint);
return 0;
}
myint = 3210
Probably it's a just very bad idea to modify a variable ...
#include <stdio.h>
int myfunc(int *intptr) {
*intptr += 200;
return 10;
}
int main(int argc, char *argv[]) {
int myint = 3000;
myint = myint + myfunc(&myint);
printf("myint = %i\n", myint);
return 0;
}
myint = 3210
Probably it's a just very bad idea to modify a variable ...
- Sun Apr 16, 2017 9:57 pm
- Forum: Coding Questions
- Topic: Bug when appending return value of procedure to a string
- Replies: 9
- Views: 4058
Re: Bug when appending return value of procedure to a string
Its not a bug, it is the expected behavior.
Okay, now I understand the reason for this behavior, but I still think it's confusing,
because when I see something like "a + b()" I wouldn't expect that the compiler understands it as "a = a + b()".
The documentation unfortunately is not very clear ...
Okay, now I understand the reason for this behavior, but I still think it's confusing,
because when I see something like "a + b()" I wouldn't expect that the compiler understands it as "a = a + b()".
The documentation unfortunately is not very clear ...