Where to find documents about UXP?

Discussions about the development and maturation of the Unified XUL Platform (UXP).
Warning: may contain highly-technical topics.

Moderator: trava90

Post Reply
User avatar
djgpp
Moonbather
Moonbather
Posts: 64
Joined: 2021-01-26, 05:39

Where to find documents about UXP?

Post by djgpp » 2021-04-15, 14:03

I want to start an UXP based program but don't know where to begin at all. Yes, I did search but the results only caused me to be more confused. It didn't help. Please tell me what I should do. Thanks.

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 9930
Joined: 2012-10-09, 19:37
Location: Sector 001

Re: Where to find documents about UXP?

Post by New Tobin Paradigm » 2021-04-15, 14:24

There is no such documentation at this time. May never be any. Tell me what do you want to accomplish? Cause your outdated system can't even produce fully working builds of Pale Moon.
I'M COMBINING THE FORCE FIELD WITH ENERGY POWER!
Image

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 30196
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Where to find documents about UXP?

Post by Moonchild » 2021-04-15, 14:27

New Tobin Paradigm wrote:
2021-04-15, 14:24
Cause your outdated system can't even produce fully working builds of Pale Moon.
it's actually worse since it can't even run mainline binaries properly. Something is very wrong with that system.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

Falna
Lunatic
Lunatic
Posts: 426
Joined: 2015-08-23, 17:56
Location: UK / France

Re: Where to find documents about UXP?

Post by Falna » 2021-04-15, 14:54

Not had time to study it yet, but I came across this the other other day, which looked useful: XUL tutorial for beginners.

Forked extensions :
● Add-ons Inspector ● Auto Text Link ● Copy As Plain Text ● Copy Hyperlink TextgSearch Bar ● Navigation Bar Enhancer ● New Tab Links ● Number Tabs ● Print Preview Button and Keyboard Shortcut 2 ● Scrollbar Search Marker ● Simple MarkerTabs To PortfolioUpdate AlertWeb Developer's ToolboxZap Anything

Hint: If you expect a reply to your PM, allow replies...

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 9930
Joined: 2012-10-09, 19:37
Location: Sector 001

Re: Where to find documents about UXP?

Post by New Tobin Paradigm » 2021-04-15, 15:48

That would help with the xul part but not with the binary or build system bits to create a new application.

XULRunner isn't the same as a real standalone application. Also XULRunner is currently in piss poor shape sitting in mothballs.

I could create a skeleton UXP application and I intend to that would be like a re-imagining of xulrunner that would use the extension system that would merely overlay an entry point onto the main window as both a rapid application and complex extension protoyping environment and hostrunner.

That uxprunner and old xulrunner are both on the agenda but very low priority.
I'M COMBINING THE FORCE FIELD WITH ENERGY POWER!
Image

User avatar
djgpp
Moonbather
Moonbather
Posts: 64
Joined: 2021-01-26, 05:39

Re: Where to find documents about UXP?

Post by djgpp » 2021-04-16, 00:40

New Tobin Paradigm wrote:
2021-04-15, 14:24
There is no such documentation at this time. May never be any. Tell me what do you want to accomplish? Cause your outdated system can't even produce fully working builds of Pale Moon.
I need to clarify here. My system is not outdated and I have no problems using my unofficial builds of PM. Only your official tarball GTK3 version has problems for me. I want to use UXP to develop some sort of drawing program like LazPaint (developed using Lazarus).

User avatar
djgpp
Moonbather
Moonbather
Posts: 64
Joined: 2021-01-26, 05:39

Re: Where to find documents about UXP?

Post by djgpp » 2021-04-16, 00:42

Moonchild wrote:
2021-04-15, 14:27
New Tobin Paradigm wrote:
2021-04-15, 14:24
Cause your outdated system can't even produce fully working builds of Pale Moon.
it's actually worse since it can't even run mainline binaries properly. Something is very wrong with that system.
Official tarball GTK2 version running without any problems. Only GTK3 tarball does.

User avatar
djgpp
Moonbather
Moonbather
Posts: 64
Joined: 2021-01-26, 05:39

Re: Where to find documents about UXP?

Post by djgpp » 2021-04-16, 00:55

New Tobin Paradigm wrote:
2021-04-15, 15:48
That would help with the xul part but not with the binary or build system bits to create a new application.

XULRunner isn't the same as a real standalone application. Also XULRunner is currently in piss poor shape sitting in mothballs.

I could create a skeleton UXP application and I intend to that would be like a re-imagining of xulrunner that would use the extension system that would merely overlay an entry point onto the main window as both a rapid application and complex extension protoyping environment and hostrunner.

That uxprunner and old xulrunner are both on the agenda but very low priority.
Could you give me a skeleton of a sample UXP app? People said I should use Ambassador as a reference but this program is too complex for me. When I view the code, I have no idea how it works at all. And what about setting IDE for JS, e.g: Eclipse? You definitely can't code JS without an IDE. Don't tell me you guys all develop using Notepad++ and watch the .jsm for reference? It's much better to just type a dot and let the IDE gives you a list of functions to choose from. I can't live without code completion at all.

Another problem here. Do I have to rebuild my app everytime I made a change, even a tiny one? Because I found it's noway for me to preview the app without doing so. People said .xul file is treated the same as .html. It's not really the case, though. I could load a .html file to see how it rendered but not a .xul file.

It's given that I could have my app to work at all. Doing development like that I think it's like a blind people to code, can't see the result of his works without building it. Such a process of trial and error is long and error prone. If it's really the case then Lazarus with it drag and drop GUI designer when you could see the result while you designing it is much easier IMHO.

Could I mitigate this by developing my app as an extension of PM first then later ported it to be a standalone app? There must be a way to load extension on the fly to test it, I think. Even though it's still a slow trial and error process, it's much faster than the route I said above. Still noway comparable to the ability to just hit F5 to see your changes get rendered like with .html file, though.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 3270
Joined: 2015-12-09, 15:45
Contact:

Re: Where to find documents about UXP?

Post by moonbat » 2021-04-16, 01:49

djgpp wrote:
2021-04-16, 00:55
And what about setting IDE for JS, e.g: Eclipse?
I use Spket's Eclipse plugin. There's a link to an update site for Eclipse here. If you point it to the PM install directory it will support code completion for some APIs, and it has its own editors for Javascript and XUL.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 9930
Joined: 2012-10-09, 19:37
Location: Sector 001

Re: Where to find documents about UXP?

Post by New Tobin Paradigm » 2021-04-16, 02:21

Yes you would have to issue a build command everytime. Also, i think you have no idea what you are trying to get into and are years away from even trying. So maybe you should take your outdated system and your outdated and busted debian and discontinued intel processor and poor intel graphics and focus on something a bit more pressing and obtainable like maybe forking an old Firefox extension?

Also the way ambassador is setup is not exactly standard but cobbled together build system wise and would be a terrible model for you.

I help people to reach attainable goals not whimical fantasy five minutes after they show up based on no experience. Until you accept reality and prove yourself I see no reason to humor you.
I'M COMBINING THE FORCE FIELD WITH ENERGY POWER!
Image

User avatar
djgpp
Moonbather
Moonbather
Posts: 64
Joined: 2021-01-26, 05:39

Re: Where to find documents about UXP?

Post by djgpp » 2021-04-16, 02:48

New Tobin Paradigm wrote:
2021-04-16, 02:21
Yes you would have to issue a build command everytime. Also, i think you have no idea what you are trying to get into and are years away from even trying. So maybe you should take your outdated system and your outdated and busted debian and discontinued intel processor and poor intel graphics and focus on something a bit more pressing and obtainable like maybe forking an old Firefox extension?

Also the way ambassador is setup is not exactly standard but cobbled together build system wise and would be a terrible model for you.

I help people to reach attainable goals not whimical fantasy five minutes after they show up based on no experience. Until you accept reality and prove yourself I see no reason to humor you.
How to fork Firefox extension? If I can I wanted to fork WikiDictionary, if I recall it name right.

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 9930
Joined: 2012-10-09, 19:37
Location: Sector 001

Re: Where to find documents about UXP?

Post by New Tobin Paradigm » 2021-04-16, 02:55

That is for you to learn. The Developer Site has a link to RealityRipple's MDN archive with info that would help in general and dpmo also has info on how to submit. Keep in mind most Mozilla documentation may be out of date but still may apply conceptually but specifics may be diffetent.

Also if it is jetpack based then you should either move along or create it a replacement from scratch. Also obey all licenses and rebrand.
I'M COMBINING THE FORCE FIELD WITH ENERGY POWER!
Image

vannilla
Board Warrior
Board Warrior
Posts: 1683
Joined: 2018-05-05, 13:29

Re: Where to find documents about UXP?

Post by vannilla » 2021-04-16, 06:59

djgpp wrote:
2021-04-16, 00:55
You definitely can't code JS without an IDE.
Off-topic:
Ha ha ha ha ha ha ha ha ha ha ha ha ha!
*Wheezes*
djgpp wrote:
2021-04-16, 02:48
How to fork Firefox extension?
If you're stumped because you can't figure out what to do from official (or anyway officially distributed) resources, read other people's code.
There are plenty of simple extensions you can learn from, out there.

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 9930
Joined: 2012-10-09, 19:37
Location: Sector 001

Re: Where to find documents about UXP?

Post by New Tobin Paradigm » 2021-04-16, 07:10

You can't?
0e5f37c7-d84a-48cb-a4e1-aac94c9e9c81.jpg
I'M COMBINING THE FORCE FIELD WITH ENERGY POWER!
Image

User avatar
athenian200
Contributing developer
Contributing developer
Posts: 406
Joined: 2018-10-28, 19:56
Location: Texas
Contact:

Re: Where to find documents about UXP?

Post by athenian200 » 2021-04-16, 07:37

djgpp wrote:
2021-04-16, 00:55
You definitely can't code JS without an IDE.
I've seen people code JS on SATA before, though. Don't know why you'd need IDE.
"The rising sun will eventually set / A newborn's life will fade. / From sun to moon, moon to sun... / Give peaceful rest to the living dead." — The Legend of Zelda: Ocarina of Time

Image

User avatar
jobbautista9
Lunatic
Lunatic
Posts: 342
Joined: 2020-11-03, 06:47
Location: Philippines
Contact:

Re: Where to find documents about UXP?

Post by jobbautista9 » 2021-04-16, 07:38

djgpp wrote:
2021-04-16, 00:55
You definitely can't code JS without an IDE.
Wait, you guys don't code in SCSI?
Last edited by jobbautista9 on 2021-04-16, 07:40, edited 1 time in total.
Cyndaquil is the best starter, except in Pokemon Mystery Dungeon, which sucks. I still love PMD though!

Developer of Ambassador in Window Menu, BrowserTickTock, CacheSwitch, Chrome Navigator, Cite4Wiki, Clickity Touch 'n Push, ColorPili, EditDatContent, EditDatTitle, Esrever, Go Menu, User Agent Status, Website Navigation Bar, and Yet Another about:config Helper.

My PGP public key (My copy on rw.rs)

Avatar by @MaxiOrphy of Instagram.

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 9930
Joined: 2012-10-09, 19:37
Location: Sector 001

Re: Where to find documents about UXP?

Post by New Tobin Paradigm » 2021-04-16, 07:39

Nah dood. Though you could do it on an MFM if you really wanted to. If you do though in 2021.. All the power to you!
I'M COMBINING THE FORCE FIELD WITH ENERGY POWER!
Image

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 30196
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Where to find documents about UXP?

Post by Moonchild » 2021-04-16, 10:28

Off-topic:
For those for whom the TLAs get too thick. IDE is also "Integrated Development Environment" not just the I/O interface standard
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 9930
Joined: 2012-10-09, 19:37
Location: Sector 001

Re: Where to find documents about UXP?

Post by New Tobin Paradigm » 2021-04-16, 13:35

>the_joke.jpg
I'M COMBINING THE FORCE FIELD WITH ENERGY POWER!
Image

Post Reply