Mintoris

Author Topic: Change Log  (Read 2809 times)

Chuck

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1899
Change Log
« on: Jan 11, 2018, 05:31 PM »
Alpha Version 7.900.109 has been posted. Should update alpha testers automatically when it becomes available.

Fixed: ItemJoin$(), ItemSplit$()
This fix should also fix most string array functions, but that hasn't been tested

Tomorrow I will start with the ReDim command.

Chuck

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1899
Re: Change Log
« Reply #1 on: Jan 12, 2018, 05:16 PM »
7.900.110 released. The redim command is now working.

Tomorrow I will start with the mid$() assignment command.

Chuck

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1899
Re: Change Log
« Reply #2 on: Jan 14, 2018, 04:00 PM »
7.900.111 released. The mid$ command/function is now working.

Below is the most recent copy of the Mintoris Diagnostics. I am currently going thru this program and fixing any problems I find.

Chuck

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1899
Re: Change Log
« Reply #3 on: Jan 21, 2018, 01:02 PM »
7.900.112 will be available to alpha testers shortly. This should be a much more stable release. Objects and Interrupts are still not working, but they will be next on the list. If you find bugs after you get this release, please report them on the forum in the new Version 8 Alpha Dev Group board. Thanks for all your help. Things are starting to move forward again.

Chuck

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1899
Re: Change Log
« Reply #4 on: Feb 03, 2018, 04:49 PM »
7.900.113 has been released.

The auto-init variable switch should be working now.

I worked on the ParseTime(d$) function and it now tries to parse the date against all the available locales (time formats). It will return a -1 if the date can not be parsed and (new) if the date is not a real date. So you can use the ParseTime() function to validate dates of almost any format.

Attached is the date validation test program.

Code: [Select]
Sub isDate(testDate$)

  return ParseTime(testDate$) <> -1

End Sub

Sub TestDate(d$)

if isDate(d$) then
    print d$; " - Valid Date"
    return
endif

print d$; " - Invalid Date"
End Sub


TestDate("June 22, 1999")
print
TestDate("22.6.1999")
print
TestDate("6/22/1999")
« Last Edit: Feb 03, 2018, 05:36 PM by Chuck »

Chuck

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1899
Re: Change Log
« Reply #5 on: Feb 05, 2018, 06:35 PM »
7.900.114 released. Object functions including bitmaps are now working, but most functions are untested.

I used the Bitmap Array Demo for testing.

Also some of the issues involving if-then statements that Scott reported may be fixed.

Oh, I added a new parameter to the ParseTime(date${, format$}) function. The format$ param lets you use a specific format to parse the date. This can be used like the SimpleIsDate.bas example to parse a custom date format. This feature is completely untested. So if someone wants to check this out it uses the same format as the FormatTime$(ms, format$) function.

Please post your results so I can add it to the manual.

« Last Edit: Feb 05, 2018, 07:30 PM by Chuck »

Chuck

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1899
Re: Change Log
« Reply #6 on: Feb 06, 2018, 04:52 PM »
7.900.115 Alpha Released

A problem with array initializers following a dim statement has

been fixed.

The String$() function is now working.

Chuck

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1899
Re: Change Log
« Reply #7 on: Feb 07, 2018, 05:37 PM »
7.900.116 Alpha Release

This arrangement is fixed:

if mid$(s$, i, 1) == "H" then print "true"

A problem with functions that don't have parameters has been fixed.

That includes the following construct:

Code: [Select]
print func() == "H"

Sub func()
  return "H"
End Sub
« Last Edit: Feb 08, 2018, 10:07 AM by Chuck »

Chuck

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1899
Re: Change Log
« Reply #8 on: Feb 08, 2018, 05:13 PM »
7.900.117 Alpha Release

A crash when using data structures has been fixed.

Chuck

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1899
Re: Change Log
« Reply #9 on: Feb 09, 2018, 12:35 PM »
Just to recap, the alpha test program began at the tail end of a year long rewrite of the Basic language. This was done to fix some long standing problems, like subroutines that return a value (functions) can now execute commands that pause execution. So you can now use input statements in functions. This ability to pause program execution also opens the up the possibility of a stepping debugger.

We now have many variable types. Lets see, it goes,
Boolean, Byte, Char, Integer, Long, Float, Double, BigInteger, BigDecimal, Complex and String.
Of course, arrays of each of those types and a new automatic variable type conversion based on a type ranking system. You can pretty much mix any type of variable together and be assured of a correct, no-fuss, answer. Expression parsing order of operations now follows the official order, as found on wiki. And yes, AND now has a higher precedence than OR.

The new syntax is very liberating. The language is becoming more generalized. Some of the fun new operators are the post and pre increment-decrement operators

x++,  x--, ++x, --x,

The quick operator-equals ops
x += 5, x *= 10 and so on.

Also new are the conditional equals and the assign equals
==  :=

The old single equal sign works as it always has, but the new operators make expressions like,
Boolean b := (x == 5).

My current goals are to complete the language upgrade and then work on the direct apk export function that everyone wants. After that I have big plans for the user interface and new GUI designer screens.
« Last Edit: Feb 09, 2018, 01:35 PM by Chuck »

Chuck

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1899
Re: Change Log
« Reply #10 on: Feb 15, 2018, 04:24 PM »
7.900.118 alpha released.

The event sub (interrupt) mechanism is now in place. This was the most difficult part remaining. The game engine is next and now that event subs are working, it should be straightforward.

The following Event Subs are now working:

SetOnBackButtonSub

SetOnKeySub

SetOnPauseSub

SetOnResumeSub

SetOnTouchSub

Chuck

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1899
Re: Change Log
« Reply #11 on: Feb 27, 2018, 06:24 PM »
7.900.119 alpha released.

The orientation command should be working in all graphics modes.

The HtmlBrowser mode is working.

Work was done on the synchronization between the Basic programs, which all run on background threads now, and the UI thread. This involves many kinds of UI interaction, like touch.
« Last Edit: Feb 27, 2018, 07:27 PM by Chuck »

Chuck

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1899
Re: Change Log
« Reply #12 on: Mar 01, 2018, 05:32 PM »
7.900.120 alpha released.

Some of the problems reported overnight have been fixed. More work is needed tomorrow.

Screen lockups, problems with touch input have been fixed. Most of the pre-installed demo programs work except the temp graph and a problem with the if-then statement.

Chuck

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1899
Re: Change Log
« Reply #13 on: Mar 05, 2018, 05:12 PM »
7.900.122 Alpha released

Improved error reporting. Fixed problem with subroutine parameter checking.

Chuck

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1899
Re: Change Log
« Reply #14 on: Mar 07, 2018, 05:47 PM »
7.900.123 alpha released

The  new error dialog now has a variable dump and a new End button that lets you exit to the run screen to see results before you exit.

The compile from the console menu is working again.

A problem with detecting duplicate subroutine is being worked on.

There is currently a false error being reported when you have a subroutine following a then statement.

if ... then mysub()

Several app crashes have been fixed, more to be fixed. Most crashes or freezes have been related to synchronizing the background thread with the ui thread, especially during graphics mode changes.


Edit: Sorry, this seems to be a very buggy release. Wait for tomorrow's release.
« Last Edit: Mar 07, 2018, 08:47 PM by Chuck »

sraffens

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 220
Re: Change Log
« Reply #15 on: Mar 08, 2018, 08:34 AM »
7.900.123 alpha released

The new error dialog now has a variable dump and a new End button that lets you exit to the run screen to see results before you exit.
...
This is nice to see.
It looks like you are starting to use some of the data from the new files: xxx.list, xxx.postfix, xxx.xref

Chuck

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1899
Re: Change Log
« Reply #16 on: Mar 08, 2018, 07:01 PM »
7.900.124 alpha released

There has been a complete reworking of the run screen activity. Please report any screen freezes or crashes that remain after this release.

Chuck

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1899
Re: Change Log
« Reply #17 on: Mar 09, 2018, 06:00 PM »
7.900.125 alpha released

Not many changes on the outside. Just finished up the ui screen control overhaul from yesterday. A few more keywords were added to the color highlighting. Stopped the keyboard from popping up on the error dialog. Fixed the restart program option.

Chuck

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1899
Re: Change Log
« Reply #18 on: Mar 10, 2018, 07:52 PM »
7.900.126 alpha released

Just today's stopping point. More work on thread synchronization. Searched for potential crashes and freezes which haven't been encountered yet.

Chuck

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1899
Re: Change Log
« Reply #19 on: Mar 11, 2018, 06:22 PM »
7.900.127 alpha released

Fixed problems with uninitialized variables. Code optimization and reduction.