Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify Browser compile-time options #648

Open
mgroeber9110 opened this issue Sep 19, 2024 · 4 comments
Open

Clarify Browser compile-time options #648

mgroeber9110 opened this issue Sep 19, 2024 · 4 comments

Comments

@mgroeber9110
Copy link
Contributor

One cleanup task I would like to try is to radically simplify the compile-time options (especially options.goh) of WebMagick again.

There are lots of build and product variants that we are probably no longer interested in (GPC, NDO, Yago, ...), so I would like to remove most of the conditional processing of options and have one straightforward options file that just enables all the options we want to keep in FreeGEOS, and perhaps documents the ones we have deactivated.

This includes things like:

  • Keep the spinning globe animation?
  • Kids Guard
  • Which icons should be in the toolbar?
  • What settings can be changed by the user?
    • What are the default values of these settings?
  • Links to other apps (e.g. HTML Editor)

I would ideally like to keep most of the features that were added at some point, but perhaps remove a few project-specific variants that no longer have any use (e.g. EarthLink setup, alternative cache for specific hosts, perhaps even the spinning globe) so that we get a better view of what features we want to preserve in WebMagick.

@HubertHuckevoll
Copy link
Collaborator

Hi Marcus, I've already worked on this quite a bit but it's not in the master yet. I especially cleaned up the goh file with the ui components which was quite a task. I also fixed a tricky bug in the MDI handling of the browser along the way. However, I died exactly at the point where I had to decide, about how to go on with the options.goh.

@HubertHuckevoll
Copy link
Collaborator

My work is here, just let me know if you want to take over - so we don't work on the same stuff twice...

https://github.com/HubertHuckevoll/pcgeos/tree/browser-ui-multi

@mgroeber9110
Copy link
Contributor Author

mgroeber9110 commented Sep 22, 2024

If you already started on this, perhaps we can use this ticket to discuss what could be done. My strategy would have been roughly like this:

  • Move the few fixed -D options from local.mk into options and remove the conditional defines in the .gp file
  • Decide which PRODUCT to use as the basis (NDO or GPC), probably trying to use the same as BBE
    • This brings up an interesting question: I noticed that we currently compile with PRODUCT_ (i.e. no name). Is this intentional, and does it match the latest BBE, which I guess is what we want to recreate? Or did we somehow lose the correct PRODUCT define in some cleanup operation?
  • Move all defines not part of this variant (e.g. "Yago") into comments, so we see what is left.

Then, we can gradually decide if we want to bring some product-specific variants back because they demonstrate interesting ideas (e.g. GPC local pages?).

We also have the GPC browser as a separate app that we may want to remove at some point, because it seems to be mostly a fork of the BBX browser that we no longer maintain.

@mgroeber9110
Copy link
Contributor Author

For reference, here is a screenshot of WebMagick 3.0 menus from BBE 4.13, so we can see what features were included:

grafik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants