Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Gideros 2022.9 Released - Page 2 — Gideros Forum

Gideros 2022.9 Released

2»

Comments

  • ok thank you hgy29, will post a demo but I need to prepare it so you don't laugh at my code :p please give me some time.
    my growING GIDEROS github repositories: https://github.com/mokalux?tab=repositories
  • I guess its because of code folding (which does not work correctly aswell).

    No fold:

    Some functions folded:

  • hgy29hgy29 Maintainer
    Here are my threads test cases. They were written while I was adding features, so they are not the best we could do now:

    Thread work tests:
    local sync={}
    if table.share then table.share(sync) end
     
    local function timing(f,n,...)
    	local s=os.timer()
    	f(n,...)
    	print("Timing:",os.timer()-s)
    	table.insert(sync,n)
    end
     
    local function wait(n)
    	while n>0 do
    		while #sync==0 do Core.yield(true) end
    		local nn=table.remove(sync)
    		print("Thread",nn,"ended")
    		n-=1
    	end
    end
     
    function HeavyWork(th,n)
    	local t={}
    	local p={}
    	local function crible(p)
    		for i=p,n,p do
    			t[i]=true
    		end
    	end
    	for i=2,n do
    		if not t[i] then
    			p[#p+1]=i
    			crible(i)
    		end
    	end
    end
     
    function fillTable(n,c,tbl)
    	for i=1,c do
    		table.insert(tbl,n*1000000+c)
    	end
    end
     
    function someMath(n,c,tbl)	
    	local a=0
    	for i=1,c do
    		a=a+math.sin(i)^2-math.cos(^<i)
    	end
    	tbl[n]=a
    end
     
    local nt=4
    local function doTest(f,a,...)
    	timing(f,1,a,{})
    	table.clear(sync)
     
    	if table.share then 
    		for th=1,nt do
    			Core.asyncThread(timing,f,th,a/nt,{})
    		end
    		Core.asyncCall(wait,nt)
    	end
    end
     
     
     
    --doTest(fillTable,40000000)
    --doTest(HeavyWork,10000000)
    doTest(someMath,40000000)


    Thread yield test:
    Core.asyncThread(function()
    	local s=os.timer()
    	while true do
    		Core.yield(true)
    		local t=os.timer()
    		local d=t-s
    		s=t
    		print(d)
    	end
    end)


    Thread signal test:
    local sig=Core.signal()
    Core.asyncThread(function()
    	while true do
    		Core.yield(1)
    		print(os.timer(),"Notifying")
    		sig:notify()
    	end
    end)
     
    Core.asyncThread(function()
    	while true do
    		sig:wait()
    		print(os.timer(),"Got it")
    	end
    end)

    Likes: MoKaLux

    +1 -1 (+1 / -0 )Share on Facebook
  • MoKaLuxMoKaLux Member
    edited September 2022
    rrraptor said:

    I guess its because of code folding (which does not work correctly aswell).

    No fold:
    Some functions folded:

    Yes rrraptor, I guess you nailed it: code folding is the issue here :|
    my growING GIDEROS github repositories: https://github.com/mokalux?tab=repositories
  • Greetings! The problem with starting the studio in windows 8.1_64
  • MoKaLuxMoKaLux Member
    edited September 2022
    @testifikates sorry but:
    Gideros 2022.1+ switched to QT6 and 64bit meaning it will only run on:
    *Windows 10+ 64bit
    *macOS 10.14
    *Ubuntu 20.04 (or equivalent distribution)

    You can use a previous version of gideros?
    my growING GIDEROS github repositories: https://github.com/mokalux?tab=repositories
  • MoKaLux said:



    You can use a previous version of gideros?

    Somehow I missed the system requirements, I'm sorry I was stupid, but I'm using a different version, the latest release is on QT5

  • MoKaLuxMoKaLux Member
    edited September 2022
    @testifikates the latest version made with Qt5 is Gideros 2021.11.
    Gideros 2022.1+ uses Qt6 (meaning windows 10+).
    What Gideros version are you trying to install on your windows 8.1 machine?
    my growING GIDEROS github repositories: https://github.com/mokalux?tab=repositories
  • now I have installed Gideros 2021.11 (qt5) - everything works fine.

    Likes: MoKaLux

    +1 -1 (+1 / -0 )Share on Facebook
  • All works great with my old stuff so all good and thank you again!
  • hgy29hgy29 Maintainer
    Thinking of it @MobAmuse, I remember you were the one who asked that Gideros switch to OpenSL for android a few years ago, which lead to an upgrade of openal-soft for android. 2022.9 uses the latest version of that openal-soft library, for all platforms, and possibly fix the long standing issue we had when android app was put in background (it sometimes would crash the app silently).
    +1 -1 (+3 / -0 )Share on Facebook
  • @hgy29 Yes, I only have a few android devices these days to test on, but I just tested it and all seems good regards that too.

    Likes: MoKaLux

    +1 -1 (+1 / -0 )Share on Facebook
  • MoKaLuxMoKaLux Member
    edited October 2022
    rrraptor said:
    I was able to build latest gideros (I had to clone gideros to a fresh folder) with rrraptor's updates and I am happy to say that it is working so far (find/replace, debug docking). I will test some more...

    global zoom level OK :)
    my growING GIDEROS github repositories: https://github.com/mokalux?tab=repositories
Sign In or Register to comment.