Android Tutorial [B4X] B4A, B4i, B4J and B4r API documentation - B4X Object Browser

Status
Not open for further replies.

agraham

Expert
Licensed User
Longtime User
I've not tried this before - very nice! However a lot of libraries have an overall description of the library in the XML in a comment attribute under root, sometimes with licensing info like my EJML library which uses a LGPL sub-library. I can't see where this is being shown. I would have expected it to be shown when clicking on the library name in the Classes pane.
 

Vader

Well-Known Member
Licensed User
Longtime User

If you give me a Library / Class name, I will look into it for you.
 

Vader

Well-Known Member
Licensed User
Longtime User

Oh, and thanks for the kind words. I put a LOT of hours into it.
 

Vader

Well-Known Member
Licensed User
Longtime User
While you are at it Dave I see that links in the comments are correctly coloured and underlined and the cursor changes appropriately when you mouse over them. However they are dead when clicked. Can you easily fix that?

I'll look at it also.

Because my app is 100% OOP, I have to add another property to the Library Class (Comment), and then the first issue should be easily fixed, however something wrong with the GUI is another matter. I'm at the mercy of the component maker, and in this instance it's MS.

(And it's 10:27 PM Easter Sunday, so I'm getting a little tired)

But, enough yabbering...
 

Vader

Well-Known Member
Licensed User
Longtime User
Ok, so I have updated it to version 3.1.5.0.

Changes/Fixes in this version:
  • DependsOn was linked to Class, now correctly linked to Library
  • Version was linked to Class, now correctly linked to Library
  • URL's were not enabled - fixed
  • Main window position was incorrectly reverting to last saved location and dimensions when exiting Options screen - fixed
  • Libraries screen: Added Author column
  • Added Version number to Product name (for Add/Remove programs)

As always, the link is in the first post.

Any other issues, they will have to be fixed later today (Easter Monday) as it's now 12:30 AM.
 
Last edited:

agraham

Expert
Licensed User
Longtime User
Thanks for the rapid update. I'm sorry if it seems I'm being picky (I know I am but at least I said sorry ) but there are another three things I've noticed that I think are worth commenting on.

1) Search does not include not include events so if I want to find out what Views have a Click event and search for "click" I don't see them.

2) I think this one may be difficult but it's not that important now you got the links working but is a bit of a visual distraction. The BADoclet that produces the xml files insists on the format
B4X:
<link>SimpleMatrix|http://code.google.com/p/efficient-java-matrix-library/wiki/SimpleMatrix</link>
With a title and a URL separated by a pipe character. The On-line Documentation and Intellisense in the IDE display the title as a clickable link that goes to the URL which is not displayed. In B4a Object Browser both are displayed and when the title is also the URL, which is necessary if the intention is to display the actual URL in Intellisense, then two clickable links are shown. If you can't easily copy the Intellisense behaviour I wonder if a good compromise would be to only show the URL as a link and ignore the title.

3) Help-> About-> Libraries shows multiple entries for a library if the library has more than one class in it. As there is only one version entry in the xml fpr the whole library, which therefore applies to each class, only one entry is required. Or maybe I'm overlooking a reason for including all the classes.
 

Vader

Well-Known Member
Licensed User
Longtime User
Easiest one first...


 

Vader

Well-Known Member
Licensed User
Longtime User
I'm getting there...

I had to deviate for Erel's sake first though...



This is my first ever attempt at translation including Right-To-Left, so I am hopeful it goes off without a hitch. This is language number 16.

I'm still working on the other search items.
 

Vader

Well-Known Member
Licensed User
Longtime User
1) Search does not include not include events so if I want to find out what Views have a Click event and search for "click" I don't see them.

Search now includes the following:
  • Version
  • Author
  • DependsOn
  • Events
  • Permissions



You still can't search on comments or arguments, but until someone asks for that, I won't add it.

Anything else before I release this?
 
Last edited:

agraham

Expert
Licensed User
Longtime User
I'm sure you have thought of this as a future improvement but it would be nice have the layout of the panes saved and restored. I personally would rather have the Standard pane bigger and Method pane smaller.

Am I being thick or is View -> Show Search Results in Library Class Treeview not functional
 

Vader

Well-Known Member
Licensed User
Longtime User
I'm sure you have thought of this as a future improvement but it would be nice have the layout of the panes saved and restored. I personally would rather have the Standard pane bigger and Method pane smaller.

I will look into it, no promises.

Am I being thick or is View -> Show Search Results in Library Class Treeview not functional

Yes, it does work. Kinda. Basically turn it on then perform a search, you should see extra nodes added to the treeview (ie events etc) that you wouldn't normally.

Having said that though, I have just now found and am clearing up some bugs in that area, so I wouldn't be surprised if there was an exception or two waiting to surprise you.
 

Vader

Well-Known Member
Licensed User
Longtime User
Ok, so bugs squashed. Do you want to PM me with an email address, and I can send you the new version to test?

As a workaround on the sizing of the panes, I have made those two panes you mentioned, similar size.

How does this look to you: ?

 

Vader

Well-Known Member
Licensed User
Longtime User
Version 3.1.6.0 has been released. This version has the following changes and fixes:

Hebrew language added (making this language 17)
Support for Right-to-Left languages added (Hebrew, Arabic, etc)
Events are now tracked the same as other objects/attributes
Libraries screen now refers to Libraries, not classes

Searches can now be performed on the following additional items:
  • Version
  • Author
  • DependsOn
  • Events
  • Permissions

Wait cursor now shown during searches
Escape key now clears search text
Object details pane has been enlarged so that it is approximately the same size as the Methods / Properties / Fields pane. Note, this pane is still resizable.
 

Vader

Well-Known Member
Licensed User
Longtime User
Version 3.2.0.0 has been released.

It has the following changes:
  • Added language: Bulgarian
  • Modified existing Afrikaans translation
  • Added AutoUpdate capability
  • Added support for DesignerName for Properties and Fields
  • Fixed bug where DesignerName was never shown in the Syntax

The biggest change here is the AutoUpdate facility. Basically, from this point, every time you run it, the Object Browser will check if a newer version exists, and if so, update itself. You have the option of ignoring or postponing the update if you so desire.

Here's a screenshot of the AutoUpdate functionality
(Don't worry, version 3.2.0.1 doesn't actually exist yet - I did this just to get the screenshot)



NOTE: At this time, AutoUpdate is NOT available in different languages. That will be in an upcoming version.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…