Include Digger

User projects written in or related to FreeBASIC.
datwill310
Posts: 354
Joined: May 29, 2015 20:37
Location: England
Contact:

Re: FreeBasic Help II

Postby datwill310 » Jan 16, 2017 23:21

Hi,

Your program is amazing! My mouth was literally hitting the ground!

Just a few thoughts:

1. Resizing of the windows is excellent, though I think there is a slight issue with the label controls: when I maximize the window, something seems to be drawn over parts of some of the labels. I'm not sure what that is...

2. As I enable the Follow Includes option, there were a few errors the program threw about not being able to find something. The message box: Caption: "Not found", Message: "winapifamily", for instance: after clicking the file bcrypt.bi within the win folder. I'm not entirely sure what these errors mean: it probably means I'm missing header files?! Anyway, I seem to be getting quite a lot of these errors sometimes, and it doesn't seem to effect the way the program runs... It would be nice if I would simply click a message box button, idk, if you could work out something with the Abort, Ignore, Cancel buttons, or if you could adapt the caption as well as the buttons, to allow the user to tell the error messages to shut up, and maybe present a list of resources which weren't found at the end of searching...

3. When creating the database, the progress bar window doesn't come up at the top (or is it bottom?? lol) of the Z Order, so I couldn't see the window unless I checked the toolbar. I think there is such a problem described above, no ;)?

Other than those picky remarks, it's great! It's a good resource for searching the include files, say, for a particular method, or for a particular enumeration etc.

I can see the hard work in this project, and I appreciate it!

Great work!
bcohio2001
Posts: 471
Joined: Mar 10, 2007 15:44
Location: Ohio, USA
Contact:

Re: FreeBasic Help II

Postby bcohio2001 » Jan 17, 2017 5:50

Thanks for the feedback!

As for the issues you pointed out....

1. Resizing issue: Haven't really figured out the right sequence for moving all those controls. Just need a good old fashioned "CLS"!

2. File not found: I THOUGHT I GOT RID OF THAT!!!! Will look into.

3. Progress bar: Known issue. When the bar is not the top/bottom of 'Z' order, does not work properly.

I just noticed that a compiled program is still in the download. That is version 3.0! DELETE THE PROGRAM AND RECOMPILE! Then rebuild the database. And that should take care of issue #2, hopefully.
datwill310
Posts: 354
Joined: May 29, 2015 20:37
Location: England
Contact:

Re: FreeBasic Help II

Postby datwill310 » Jan 19, 2017 15:56

bcohio2001 wrote:Thanks for the feedback!

As for the issues you pointed out....

1. Resizing issue: Haven't really figured out the right sequence for moving all those controls. Just need a good old fashioned "CLS"!

2. File not found: I THOUGHT I GOT RID OF THAT!!!! Will look into.

3. Progress bar: Known issue. When the bar is not the top/bottom of 'Z' order, does not work properly.

I just noticed that a compiled program is still in the download. That is version 3.0! DELETE THE PROGRAM AND RECOMPILE! Then rebuild the database. And that should take care of issue #2, hopefully.

Sorry for the late reply: my wi-fi went down for a few days.

Thanks for the tip (darn small print ;D). No, lol it was in bold, I should've taken the time to read the post a bit better!

0.3.1 also seems to be smoother generally. Liking the work!

P.S. if it's possible, could you release a compiled 0.3.1 version so as to avoid confusion?
bcohio2001
Posts: 471
Joined: Mar 10, 2007 15:44
Location: Ohio, USA
Contact:

Re: FreeBasic Help II

Postby bcohio2001 » Jan 19, 2017 16:44

Version 0.3.2 should be out by this weekend, (21st or 22nd).
Will include a current compiled program in it.

Assuming that the "messagebox" issue is gone with not finding the files?
MrSwiss
Posts: 2532
Joined: Jun 02, 2013 9:27
Location: Switzerland

Re: FreeBasic Help II

Postby MrSwiss » Jan 19, 2017 20:02

@bcohio2001,

I've not had any problems compiling and running your program. I've used the FBEdit project file.
Everything went smoothly, including progress-bar. (luckily, I've not attempted, to use the delivered
.exe, just renamed it, before compilation and wondering about the different size) FBC 1.05.0 x64.

I've a question regarding: rebuilding the database, without a recompile (I might have added my
own .bi's). Is that a option? If not yet, I'd like you to consider this, for a future release.
datwill310
Posts: 354
Joined: May 29, 2015 20:37
Location: England
Contact:

Re: FreeBasic Help II

Postby datwill310 » Jan 20, 2017 0:40

bcohio2001 wrote:Assuming that the "messagebox" issue is gone with not finding the files?

Yeah, that has gone.

MrSwiss wrote:I've a question regarding: rebuilding the database, without a recompile (I might have added my
own .bi's). Is that a option? If not yet, I'd like you to consider this, for a future release.


There's a menu item in the menu with the caption Rebuild database. I've not touched it, but I'm assuming this does the job.
bcohio2001
Posts: 471
Joined: Mar 10, 2007 15:44
Location: Ohio, USA
Contact:

Re: FreeBasic Help II

Postby bcohio2001 » Jan 20, 2017 6:07

There are 5 different reasons for a rebuild.
One is the menu option in the main dialog. That is for if you accidently delete or think that the database has been corrupted.
The other four are checked on start up.
1. Initial run.
2. Different compiler version.
3. Number of include files has been changed.
4. Change in a include file. Checked by timestamp.

I am going to be using message boxes instead of the progress bar for notifications for the build and search.
bcohio2001
Posts: 471
Joined: Mar 10, 2007 15:44
Location: Ohio, USA
Contact:

Re: FreeBasic Help II

Postby bcohio2001 » Jan 21, 2017 16:07

Version 0.3.2 Jan. 21, 2017
-- Fix resizing issue.
-- Disabled progress bar for searches and building. Using a messagebox to inform of start and finish.

Source code and "correct" compiled exe file:
http://www.mediafire.com/file/14bl7nnofdiweik/FB_Include_0_3_2.zip
Last edited by bcohio2001 on Feb 11, 2017 19:31, edited 1 time in total.
datwill310
Posts: 354
Joined: May 29, 2015 20:37
Location: England
Contact:

Re: FreeBasic Help II

Postby datwill310 » Jan 22, 2017 18:19

bcohio2001 wrote:Version 0.3.2 Jan. 21, 2017
-- Fix resizing issue.
-- Disabled progress bar for searches and building. Using a messagebox to inform of start and finish.

Source code and "correct" compiled exe file:
http://www.mediafire.com/file/14bl7nnofdiweik/FB_Include_0_3_2.zip

Taken a quick look and it's great! All the minuscule issues have been fixed...

I know I'm nagging, but if you could make the message box topmost, that would be even better ;D!
bcohio2001
Posts: 471
Joined: Mar 10, 2007 15:44
Location: Ohio, USA
Contact:

Re: FreeBasic Help II

Postby bcohio2001 » Feb 11, 2017 19:30

Version 0.3.3 Feb. 11, 2017
-- Fix index file issue. Writes 'Integer' but reads 'Byte'.
-- Re-enabled progress bar.
---- Searches were slow because of incrementing the progress bar on EVERY loop.

Source code and compiled exe:
http://www.mediafire.com/file/eesjcvxhzzit6sw/FB_Include_0_3_3.zip
Last edited by bcohio2001 on Dec 20, 2017 16:47, edited 1 time in total.
bcohio2001
Posts: 471
Joined: Mar 10, 2007 15:44
Location: Ohio, USA
Contact:

Re: Include Digger

Postby bcohio2001 » Jun 01, 2017 23:28

Version 0.99.0 June 1, 2017 (Beta)
*** Note: This version not compatable with earlier versions. ***
-- Added options to allow multiple compilers and outside libraries.
---- When adding compiler, can identify bitness and platform.
---- Platforms identified: Windows, Linux & ARM, Darwin.
-- Cleaned up status area. (bottom right)
---- Either shows program settings or information on selected item in listbox.
-- Searches are done DIRECTLY from database.
---- Removed the 'idx' file.
---- No progress bar for searches.
------ When searching for 3 items in compiler only takes about 3 seconds.
-- Moved Sub Parser.Parse(ByVal FNum As Integer) to file "Parse.bas" for easier editing.
---- Improved parsing of: "#If 0"
---- Able to parse "one line" subs/functions.

Source and Win64 compiled exe:
http://www.mediafire.com/file/58mui4up8sc5lh5/FB_Include_0_99_0.zip

Tested with compilers:
Win32 1.4.0
Win64 1.5.0
Libraries:
FLTK - D.J. Peters
TarLib - Mine
Cards - Mine
Last edited by bcohio2001 on Dec 20, 2017 16:47, edited 1 time in total.
bcohio2001
Posts: 471
Joined: Mar 10, 2007 15:44
Location: Ohio, USA
Contact:

Re: Include Digger

Postby bcohio2001 » Dec 20, 2017 16:45

Version 0.99.1 Dec. 20, 2017
-- Added checkbox option to specify search results must start with given text.
-- Fixed scroll problem in file display box. FINALLY!
---- It was a building issue.
-- 64 bit platform define flags incorrect.
-- Allow for ".bas" and 'user includes'. (".inc")

Source code:
http://www.mediafire.com/file/ncnjcbvl99sgw63/FB_Include_0_99_1.zip
Last edited by bcohio2001 on Mar 29, 2018 3:33, edited 1 time in total.
bcohio2001
Posts: 471
Joined: Mar 10, 2007 15:44
Location: Ohio, USA
Contact:

Re: Include Digger

Postby bcohio2001 » Mar 29, 2018 3:32

Version 1.00.0 March 28, 2018
-- Added menu item to add non native compiler.
-- Renumbered some ID's in resource for better grouping.
-- Modified parsing of includes.

http://www.mediafire.com/file/becbtctdztzxcdc/FB_Include_1_00_0.zip

(Edit: On June 7th fired it up, a compiled exe, and no longer worked. Deleted and re-compiled, deleted all data files and started from scratch. STILL nothing. No one who downloaded informed me of this soooooo… this thread will stay "dead" until someone notices the above link is "dead".)

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 1 guest