Jump to content



Photo

V3.0.102 Unstable Updated


  • Please log in to reply
87 replies to this topic

#1 Jon

Jon

    Up all night to get lucky

  • Administrators
  • 9,529 posts

Posted 15 May 2004 - 09:55 AM

Updated with the new function lookup code. Many many things were changed so it is extremely likely that bugs will have been introduced (such as incorrect number of parameters, and errors introduced when inline code was transferred to a function).

Much testing required :D (I've left the previous files there too just in case)

http://www.autoitscript.com/autoit3/files/unstable/autoit/







#2 Jon

Jon

    Up all night to get lucky

  • Administrators
  • 9,529 posts

Posted 16 May 2004 - 07:29 PM

Updated with PID functionality and ProcessSetPriority().

Valik: I've modified the code to still use a string and just attempt to convert it to an int for PID comparision (if not 0) - just for ease of porting to AutoItX.

#3 Josbe

Josbe

    Infrequent ghost ☺

  • Active Members
  • PipPipPipPipPipPip
  • 1,585 posts

Posted 17 May 2004 - 03:08 AM

Great!
Include the GUI fixes? :D

#4 jpm

jpm

    a Real GUI/debug lover

  • Developers
  • 8,925 posts

Posted 17 May 2004 - 06:39 AM

Great!
Include the GUI fixes?  :D

I am submitting today :huh2:

#5 Jon

Jon

    Up all night to get lucky

  • Administrators
  • 9,529 posts

Posted 17 May 2004 - 09:12 PM

I am submitting today :D

Updated, thanks.

#6 Jon

Jon

    Up all night to get lucky

  • Administrators
  • 9,529 posts

Posted 17 May 2004 - 09:28 PM

And updated again. :D

#7 emmanuel

emmanuel

    No one ever accused me of being normal.

  • Active Members
  • PipPipPipPipPipPip
  • 1,128 posts

Posted 17 May 2004 - 11:29 PM

I'm sure that you'll all be happy to know that I've gone and done it, updated to 'unstable'... now we'll see if I can make the script work to automatically update to new builds... maybe I'll even venture as far as making a GUI... wish me luck.
"I'm not even supposed to be here today!" -Dante (Hicks)

#8 Josbe

Josbe

    Infrequent ghost ☺

  • Active Members
  • PipPipPipPipPipPip
  • 1,585 posts

Posted 18 May 2004 - 12:10 AM

...maybe I'll even venture as far as making a GUI...  wish me luck.

Yeah, why not? :D

#9 jpm

jpm

    a Real GUI/debug lover

  • Developers
  • 8,925 posts

Posted 18 May 2004 - 07:05 AM

I'm sure that you'll all be happy to know that I've gone and done it, updated to 'unstable'...  now we'll see if I can make the script work to automatically update to new builds...  maybe I'll even venture as far as making a GUI...  wish me luck.

With GUI start small. Not need to be at super advanced level first.
Super sophisticated interaction is more difficult to master ... :D

#10 Jon

Jon

    Up all night to get lucky

  • Administrators
  • 9,529 posts

Posted 23 May 2004 - 09:28 PM

Updated an "ultra unstable"

http://www.autoitscript.com/autoit3/files/...ble/autoit/xxx/

3.0.102 (23rd May, 2004) (Beta)
- Updated: GUI code from JP's version 3.0.102.24 + Jon's fixes/changes
- Fixed: ToolTip() when the mouse is near the bottom of the screen
- Added: More command line params for Aut2Exe.exe: /nodecompile and /comp 0-4 (compression level, 4=best)
- Fixed: StringIsDigit()
- Fixed: Process... functions under NT4 unable to see certain processes (Cheers, AndrewL)

Basically, JPs gone on holiday until the 30th so I started looking at the gui code and I found quite a bit that didn't "look" right and some odd things with missing break; in case statements and > 0 that should have been >= 0 - the usual stuff :0

I also couldn't work out why the WndProc for the gui was split into two seperate parts (one in application.cpp and one in guibox.cpp) and subclassed together - so i merged them into one in guibox.cpp.

I improved the tabbing and message pump for GuiMsg(0) mode - some messages still aren't processed though and still need improvement.

Anyone I've made about 50 changes and it _seems_ to work the same as the previous one but I'll keep it seperate from the normal unstable until those who use the GUI functions alot feedback.

At least I understand how it works now :D

Edited by Jon, 23 May 2004 - 09:30 PM.


#11 SlimShady

SlimShady

    AutoIt lover

  • Active Members
  • PipPipPipPipPipPip
  • 2,383 posts

Posted 23 May 2004 - 09:39 PM

Just to get this straight:
We can use these versions without the fear of a spontaneous crash?

I appreciate your hard work and thank you for creating this amazing script language.

Edited by SlimShady, 23 May 2004 - 09:42 PM.


#12 Jon

Jon

    Up all night to get lucky

  • Administrators
  • 9,529 posts

Posted 23 May 2004 - 09:42 PM

Just to get this straight:
We can use these versions without the fear of a spontaneous crash?

Nope, for testing only. v3.0.101 is the version to use if you fear crashing :D

#13 Holger

Holger

    AutoIt Spammer

  • Developers
  • 1,384 posts

Posted 24 May 2004 - 07:40 AM

Hi Jon, the first thing I saw is, when I have a compiled (gui)-script then the right icon doesn't appear in the left top corner of the gui.
There is only a blank white symbol.
Maybe it's cause of changes from you or jpm, I don't know.
Regards Holger

#14 Jon

Jon

    Up all night to get lucky

  • Administrators
  • 9,529 posts

Posted 24 May 2004 - 08:26 AM

Hi Jon, the first thing I saw is, when I have a compiled (gui)-script then the right icon doesn't appear in the left top corner of the gui.
There is only a blank white symbol.
Maybe it's cause of changes from you or jpm, I don't know.
Regards Holger

Oops. Fixed.

I'd moved the class registration in the GUI constructor, but the global variables it relied on aren't initialized at that point... Rookie error :D

#15 bcording

bcording

    Adventurer

  • Active Members
  • PipPip
  • 133 posts

Posted 24 May 2004 - 06:13 PM

Will there be the ability to compile for GUI and Non-GUI? I am just thinking about the size delta of compiled scripts. Would it be easy to impliment? Wouldn't you just need to have 2 AutoItSC.bin files? One for each? :D

#16 Jon

Jon

    Up all night to get lucky

  • Administrators
  • 9,529 posts

Posted 24 May 2004 - 07:26 PM

Updated the unstable - fixed loads of memory leaks in the GUI (i think :D )

http://www.autoitscript.com/autoit3/files/unstable/autoit/

3.0.102 (24th May, 2004) (Beta)
- Updated: GUI code from JP's version 3.0.102.24 + Jon's fixes/changes
- Fixed: ToolTip() when the mouse is near the bottom of the screen
- Added: More command line params for Aut2Exe.exe: /nodecompile and /comp 0-4 (compression level, 4=best)
- Fixed: StringIsDigit()
- Fixed: Process... functions under NT4 unable to see certain processes (Cheers, AndrewL)

#17 emmanuel

emmanuel

    No one ever accused me of being normal.

  • Active Members
  • PipPipPipPipPipPip
  • 1,128 posts

Posted 24 May 2004 - 07:30 PM

- Added: More command line params for Aut2Exe.exe: /nodecompile and /comp 0-4  (compression level, 4=best)

wow. that's a new, cool feeling... something I asked for is going into an awesome product... :) :huh2: :D
"I'm not even supposed to be here today!" -Dante (Hicks)

#18 Nutster

Nutster

    Developer at Large

  • Developers
  • 1,450 posts

Posted 25 May 2004 - 02:30 PM

Regarding the variable speed tests. WOW! :huh2:

I compared version 3.0.101 with its array-based variables against 3.0.102 (last week's version) with binary tree storage of variables and 3.0.102 with linked list storage of variables.

My first test involved creating 1000 variables in random order and then adding all the values of the variables up, with the variables sorted. I timed how long it took to create all the variables and to add all the variables seperately. My second test created 5 variables in 100 levels of recursion then using the +, * and ^ operators 1000 times and timing how long it took to (1) create the levels, (2)run the For loop with the operators and (3) remove all levels of recursion.

In all my tests, version 3.0.101 was by far the slowest in all measurements. The binary tree was the fastest for searching, but the level of housekeeping while adding new variables slowed it down considerably. The linked list was the fastest to add new variables, and was only a little slower (<10%) than the binary tree in searching. The linked list was about 10% faster than the binary tree for coming out of recursion, perhaps due to the simpler structure of the linked list, during the pop operations.

I say we go with Jon's linked list for variable storage.

Oh Jon, if you are using the binary tree class to store the function list, do not call the balance function until you have added all the functions. This should speed things up. This was the problem with the version I created for the variables. I did not have a nice mechanism to determine when to call the balance function. :D

I will start creating the Debug configuration when 3.0.102 becomes stable enough. Should the debug version get the UPX treatment for its release version?

Edit: Spelling mistakes and correct version numbers.

Edited by Nutster, 25 May 2004 - 02:33 PM.

David NuttallNuttall Computer ConsultingAutoIt allows me to re-invent the wheel so much faster.An Aquarius born during the Age of AquariusI'm off to write a wizard, a wonderful wizard of odd...

#19 Jon

Jon

    Up all night to get lucky

  • Administrators
  • 9,529 posts

Posted 25 May 2004 - 06:05 PM

Good to know and thanks a lot for doing the tests.

For the function list I was going to get the names of all the functions first in a list (already done at the start of the script) then I was going to move the entries into an array for easy access. Then I was going to sort the list (again, all done before the script starts). It should be easy to do a binary search on that list when functions are called.

When you look at the debug stuff let me know in advance and I will set up the relevant project stuff and defines.

Cheers

Edited by Jon, 25 May 2004 - 06:06 PM.


#20 Jon

Jon

    Up all night to get lucky

  • Administrators
  • 9,529 posts

Posted 25 May 2004 - 10:44 PM

Unstable updated - Process.... bug fixes again :D




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users