Author Topic: jBasic OS  (Read 50921 times)

0 Members and 2 Guests are viewing this topic.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic OS
« Reply #30 on: June 14, 2010, 05:04:48 pm »
This is Javascript, but yes, that could work...I just have to do a lot of work on the filesystem stuff next.
For my portable browser I was thinking of just making an iframe to the Firefox.xul, so I would have to include it with the system...
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic OS
« Reply #31 on: June 14, 2010, 11:35:50 pm »
Just don't add a dock like on Mac. I hate that. It always gets in the way when I move my mouse at the bottom of screen trying to click stuff somewhere else like a webpage

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic OS
« Reply #32 on: June 14, 2010, 11:57:03 pm »
yeah I'm not going to add a dock x.x I was thinking about the topbar, but that could be a hassle...I think I'll stick with a windows like one, just no active windows...or I could...it's possible to test if a process has a window...
/e

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic OS
« Reply #33 on: June 15, 2010, 05:17:28 pm »
Ok, so I have completed dynamic booting, now to add in loading of apps and such, as well as work on the desktop a bit...so yeah, It wont work online anymore, I'll have to release the source and to load it you need firefox (don't know if it works anymore on anything else) and you will just open boot.html :) right now it loads all the system libraries and then runs all their processes...I'll add in loading in apps but not running them next. Attached is the source. I can't seem to make it a .zip though for some reason, so someone will have to extract it and zip it for me then...it's a .tar.gz btw...
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic OS
« Reply #34 on: June 15, 2010, 05:43:28 pm »
How do I run that file? I hope you eventually plan to release executables if it's just the source, since we don't like to have to manually compile stuff ourselves when we get softwares.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic OS
« Reply #35 on: June 15, 2010, 06:39:41 pm »
Well I plan on making a xulrunner application for this so you don't need firfox, just xulrunner and it will install icons and everything with it. right now you just open boot.html to run it, but all it does is load, so yeah, nothing is actually running but the system background tasks. this reminds me, I need to set up the keyboard 'drivers' so you can integrate with keypress
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic OS
« Reply #36 on: June 15, 2010, 06:54:33 pm »
and where can I find boot.html? In the tar file, all there is is a file called jBOS with no extension.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic OS
« Reply #37 on: June 15, 2010, 09:55:31 pm »
that's a directory, inside that is the files.
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic OS
« Reply #38 on: June 15, 2010, 09:57:01 pm »
No, I opened the tar file and inside, saw the jBOS file with a "unknown file type" icon. When I double-click it, it asks me with what program I want to open jBOS with. Your tar file might be corrupted or not Winrar/Windows compatible

EDIT: Screenshot
« Last Edit: June 15, 2010, 10:00:21 pm by DJ Omnimaga »

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic OS
« Reply #39 on: June 15, 2010, 11:31:11 pm »
Hmm, strange...well it is a directory, so someone with more windows knowledge then me will have to help on this...
I did some initial work with xulrunner, and it seems that that is not going to work...but I will continue to support firefox so don't worry.
Currently it will only load all the files in the js/ directory as well as run their initalizing scripts. it will also load the style, and the path to the style can be set in boot/dirs.js in case you want to make your own and send it to me :P apps currently are put in apps/appname.app/ with this folder structure
Code: [Select]
appname.app
|-- js
|--css
|--img
|--appname.js
js is for javascript of course, so any javascript libraries would be put here, css is for css stylesheets, img is for images and appname.js is where the actual application is.

I am currently working on adding app loading and the desktop.
also I added a system task called '#SYSTEM DESKTOP CLEANER' that cleans up all content outside of the desktop in the <body> because it is not displayed.
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic OS
« Reply #40 on: June 15, 2010, 11:36:06 pm »
I see. Do you think the software you use to compress the tar file might be at fault?

Offline Tribal

  • The Fallen
  • LV5 Advanced (Next: 300)
  • *
  • Posts: 218
  • Rating: +15/-1
    • View Profile
Re: jBasic OS
« Reply #41 on: June 16, 2010, 12:04:37 am »
Repackaged as a zip for all those under windows. Not sure exactly why WinRAR was having problems with it though  :-\
« Last Edit: June 16, 2010, 12:05:11 am by Tribal »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic OS
« Reply #42 on: June 16, 2010, 12:50:22 am »
Ok I downloaded that one and unzipped. However, is it supposed to display a black screen on Firefox? It doesn't do anything else.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic OS
« Reply #43 on: June 16, 2010, 01:53:56 am »
Did it prompt you or anything? Do you have firebug installed? That would help me know what happened.
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic OS
« Reply #44 on: June 16, 2010, 01:55:16 am »
Oh, it didn't prompt me anything and no I don't have firebug installed since I normally never use Firefox. Is it available on their site or in the extensions?

EDIT: Wait do you just mean the warning about potential malicious scripts?

Quote
Un script provenant de « file:// » demande des fonctionnalités avancées qui sont NON SÛRES et susceptibles d'être utilisées pour compromettre votre machine ou vos données :

Exécuter ou installer des logiciels sur votre machine


Il n'est conseillé d'autoriser ces fonctionnalités que si leur provenance est connue pour être exempte de virus ou de programmes malicieux.
« Last Edit: June 16, 2010, 01:58:30 am by DJ Omnimaga »