Erel B4X founder Staff member Licensed User Longtime User Feb 26, 2019 #1 I'm happy to release B4J v7.30 BETA. Improvements: Faster compilations. More resources can be reused between compilations. This makes following compilations much faster. Bookmarks and breakpoints are listed in the modules tree: Auto backup improvements: Project is saved before backup, based on the auto save option. Project name added to the backup file. The project folder is configurable (AutoBackupFolder in the ini file). Warning for unused parameters in private, non-event, subs. Additional library folder can be configured with a B4X folder for cross platform libraries: https://www.b4x.com/android/forum/threads/b4x-additional-libraries-folder.103165/ #Event declarations appear in the autocomplete list. Fix for a long standing issue that caused scope changes of global variables to not always be detected. Other bug fixes and minor improvements. Beta can be downloaded here: www.b4x.com/b4j/files/beta.exe Last edited: Feb 26, 2019
I'm happy to release B4J v7.30 BETA. Improvements: Faster compilations. More resources can be reused between compilations. This makes following compilations much faster. Bookmarks and breakpoints are listed in the modules tree: Auto backup improvements: Project is saved before backup, based on the auto save option. Project name added to the backup file. The project folder is configurable (AutoBackupFolder in the ini file). Warning for unused parameters in private, non-event, subs. Additional library folder can be configured with a B4X folder for cross platform libraries: https://www.b4x.com/android/forum/threads/b4x-additional-libraries-folder.103165/ #Event declarations appear in the autocomplete list. Fix for a long standing issue that caused scope changes of global variables to not always be detected. Other bug fixes and minor improvements. Beta can be downloaded here: www.b4x.com/b4j/files/beta.exe
alwaysbusy Expert Licensed User Longtime User Feb 26, 2019 #4 Erel said: Faster compilations. More resources can be reused between compilations. This makes following compilations much faster. Click to expand... Holy moley, that compiles fast on the second run! #ProductivityBoost Erel said: Bookmarks and breakpoints are listed in the modules tree Click to expand... Very helpful feature Erel said: #Event declarations appear in the autocomplete list Click to expand... Nice for BANano library builders Upvote 0
Erel said: Faster compilations. More resources can be reused between compilations. This makes following compilations much faster. Click to expand... Holy moley, that compiles fast on the second run! #ProductivityBoost Erel said: Bookmarks and breakpoints are listed in the modules tree Click to expand... Very helpful feature Erel said: #Event declarations appear in the autocomplete list Click to expand... Nice for BANano library builders
DonManfred Expert Licensed User Longtime User Feb 26, 2019 #5 Cableguy said: Coooooolll!!! Click to expand... Fully agree Especially i do like Erel said: Project name added to the backup file. The project folder is configurable (AutoBackupFolder in the ini file). Click to expand... Upvote 0
Cableguy said: Coooooolll!!! Click to expand... Fully agree Especially i do like Erel said: Project name added to the backup file. The project folder is configurable (AutoBackupFolder in the ini file). Click to expand...
Alexander Stolte Expert Licensed User Longtime User Feb 26, 2019 #6 Erel said: Auto backup improvements: Click to expand... did you also add that more information will be displayed if AutoBackup failed? Upvote 0
Erel said: Auto backup improvements: Click to expand... did you also add that more information will be displayed if AutoBackup failed?
Kiffi Well-Known Member Licensed User Longtime User Feb 26, 2019 #7 Erel said: Faster compilations Click to expand... Whow! (The other features are also very cool!) Upvote 0
alwaysbusy Expert Licensed User Longtime User Feb 26, 2019 #8 @Erel maybe one quick suggestion while we are still in Beta. When right-clicking on the 'Breakpoints' map in the Modules pane, it may be nice to have the 'Remove all breakpoints' too. Upvote 0
@Erel maybe one quick suggestion while we are still in Beta. When right-clicking on the 'Breakpoints' map in the Modules pane, it may be nice to have the 'Remove all breakpoints' too.
Erel B4X founder Staff member Licensed User Longtime User Feb 26, 2019 #9 Thank you all! Alexander Stolte said: did you also add that more information will be displayed if AutoBackup failed? Click to expand... It shows a red message in the status bar that tells you to click on File - Export as zip for more information. alwaysbusy said: maybe one quick suggestion while we are still in Beta. When right-clicking on the 'Breakpoints' map in the Modules pane, it may be nice to have the 'Remove all breakpoints' too. Click to expand... Good idea. Upvote 0
Thank you all! Alexander Stolte said: did you also add that more information will be displayed if AutoBackup failed? Click to expand... It shows a red message in the status bar that tells you to click on File - Export as zip for more information. alwaysbusy said: maybe one quick suggestion while we are still in Beta. When right-clicking on the 'Breakpoints' map in the Modules pane, it may be nice to have the 'Remove all breakpoints' too. Click to expand... Good idea.
Erel B4X founder Staff member Licensed User Longtime User Feb 26, 2019 #10 BTW, the compilation optimizations are also relevant to B4A and to a lesser degree to B4i. Upvote 0
S sorex Expert Licensed User Longtime User Feb 26, 2019 #11 It seems like a 10 seconds gain on a small project (first run vs next ones). Well done, thanks! Upvote 0
moster67 Expert Licensed User Longtime User Feb 26, 2019 #12 Erel said: #Event declarations appear in the autocomplete list. Click to expand... Works. Great addition. Last edited: Feb 27, 2019 Upvote 0
Erel said: #Event declarations appear in the autocomplete list. Click to expand... Works. Great addition.
Peter Simpson Expert Licensed User Longtime User Feb 27, 2019 #13 So far so good, all my projects are working like clockwork, thank you @Erel... Upvote 0
alwaysbusy Expert Licensed User Longtime User Feb 27, 2019 #14 @Erel It is very hard to reproduce, but I have experienced changing the code at runtime is not always taken into account after saving and continuing in 7.30 BETA 1. Stopping the app and re-running uses the correct code. 2 cases where I noticed this today: I changed the 50 into 100, but it kept using the 50 Code: Copy rCellValues.Add(ABMShared.Truncate(tmpEx.exComment,50)) After edit + save (debug box becomes green) Code: Copy rCellValues.Add(ABMShared.Truncate(tmpEx.exComment,100)) And in a query that was wrong (I typed tRegistrations instead of tRegistration): I kept getting the error the table tRegistrations not found although in the code it was corrected to tRegistration) Code: Copy SQL_str = "UPDATE tRegistrations SET regRegTypID=?, regOTLastModifiedLoginID = ?, regOTCreationTag = ?, regSysrlID=? WHERE regExID=? AND regRegTypID=? AND regSysrlID=?" After edit + save (debug box becomes green) Code: Copy SQL_str = "UPDATE tRegistration SET regRegTypID=?, regOTLastModifiedLoginID = ?, regOTCreationTag = ?, regSysrlID=? WHERE regExID=? AND regRegTypID=? AND regSysrlID=?" Both are in a Code Module if this helps. Maybe something to do with the being project global instead of being an instance of a class? Upvote 0
@Erel It is very hard to reproduce, but I have experienced changing the code at runtime is not always taken into account after saving and continuing in 7.30 BETA 1. Stopping the app and re-running uses the correct code. 2 cases where I noticed this today: I changed the 50 into 100, but it kept using the 50 Code: Copy rCellValues.Add(ABMShared.Truncate(tmpEx.exComment,50)) After edit + save (debug box becomes green) Code: Copy rCellValues.Add(ABMShared.Truncate(tmpEx.exComment,100)) And in a query that was wrong (I typed tRegistrations instead of tRegistration): I kept getting the error the table tRegistrations not found although in the code it was corrected to tRegistration) Code: Copy SQL_str = "UPDATE tRegistrations SET regRegTypID=?, regOTLastModifiedLoginID = ?, regOTCreationTag = ?, regSysrlID=? WHERE regExID=? AND regRegTypID=? AND regSysrlID=?" After edit + save (debug box becomes green) Code: Copy SQL_str = "UPDATE tRegistration SET regRegTypID=?, regOTLastModifiedLoginID = ?, regOTCreationTag = ?, regSysrlID=? WHERE regExID=? AND regRegTypID=? AND regSysrlID=?" Both are in a Code Module if this helps. Maybe something to do with the being project global instead of being an instance of a class?
Erel B4X founder Staff member Licensed User Longtime User Feb 27, 2019 #15 It is probably not related to the new version. Have you saved the project when the modified module was active? It only updates the active module. Upvote 0
It is probably not related to the new version. Have you saved the project when the modified module was active? It only updates the active module.
alwaysbusy Expert Licensed User Longtime User Feb 27, 2019 #16 Erel said: It only updates the active module. Click to expand... Ah! That I was not aware of. I sometimes make multiple changes in multiple modules at once before saving and continuing. I'll keep an eye on that. Upvote 0
Erel said: It only updates the active module. Click to expand... Ah! That I was not aware of. I sometimes make multiple changes in multiple modules at once before saving and continuing. I'll keep an eye on that.
GMan Well-Known Member Licensed User Longtime User Feb 27, 2019 #17 My Projects will work fine with the new folder structure - well done, Erel (what else ) btw: whats about doubles of the same lib in the different folders ? Upvote 0
My Projects will work fine with the new folder structure - well done, Erel (what else ) btw: whats about doubles of the same lib in the different folders ?
klaus Expert Licensed User Longtime User Feb 27, 2019 #18 ... whats about doubles of the same lib in the different folders ? Click to expand... You loose some memory space. The IDE looks in the folder you have set, the others are no more concerned. Upvote 0
... whats about doubles of the same lib in the different folders ? Click to expand... You loose some memory space. The IDE looks in the folder you have set, the others are no more concerned.
EnriqueGonzalez Expert Licensed User Longtime User Mar 1, 2019 #19 No Erel no! How am I going to justify my 8 hour daily job with that compiler... Took 3 seconds... On a VM!! What I am going to do now. Upvote 0
No Erel no! How am I going to justify my 8 hour daily job with that compiler... Took 3 seconds... On a VM!! What I am going to do now.