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

Various refactoring #562

Merged
merged 8 commits into from
Nov 3, 2024
Merged

Various refactoring #562

merged 8 commits into from
Nov 3, 2024

Commits on Nov 1, 2024

  1. $LET variable streamlining

    - refactor $LET variable handling for easier addition of new presets and exposing internal values to the currently compiling program
    - exposed DEPENDENCY_SOCKETS for conditional compiling of net helper functions in auto-include afterlastline.bm
    - added DEBUG_IS_ACTIVE variable indicating program is compiling with $DEBUG features, closes #29
    RhoSigma-QB64 committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    ca43881 View commit details
    Browse the repository at this point in the history
  2. Make HTTP stable

    - no longer requires HTTP support to be enabled by $UNSTABLE:HTTP flag, instead libcurl is always pulled together with DEPENDENCY_SOCKETS
    - adapted helper function WhatisMyIP$ to use libcurl features which are always available now
    - deleted unneeded $UNSTABLE http tests and revoved the flag from the remaining http tests
    RhoSigma-QB64 committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    c506682 View commit details
    Browse the repository at this point in the history
  3. Remove unused code

    - removes some unreliable commented code sections (updating)
    - guess we won't ever go to reactivate and fix this anyway
    RhoSigma-QB64 committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    e67a9b8 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2024

  1. $COLOR refactoring

    - reworked to run through the new auto-include logic, rather than by faking a real $INCLUDE internally
    - added error messages in case someone is trying to use both color sets in the same program
    - for the rare case someone really needs both, the $COLOR:0 constants are also added to $COLOR:32, but "z" prefixed
    RhoSigma-QB64 committed Nov 2, 2024
    Configuration menu
    Copy the full SHA
    1082246 View commit details
    Browse the repository at this point in the history
  2. Adding auto-include tests

    - tests to prove the files are auto-included as expected
    - testing the exposed $DEBUG state flag
    - cleaning the dependency system
    - final adjustments
    RhoSigma-QB64 committed Nov 2, 2024
    Configuration menu
    Copy the full SHA
    28367bd View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2024

  1. Adapting source base

    - adapting all source files to use the new constants provided through auto-include beforefirstline.bi
    - removed the old constants from global/constants.bi
    - some formatting
    RhoSigma-QB64 committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    67fd607 View commit details
    Browse the repository at this point in the history
  2. Update internal/source

    - updating the bootstrap compiler to work under the new conditions
    RhoSigma-QB64 committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    428bc16 View commit details
    Browse the repository at this point in the history
  3. Fixing tests

    - this is ridiculous, just because line numbers have changed it fails
    - somebody should rethink that test system
    - meantime we more fixing the tests, than errors in the source they shall unveil
    RhoSigma-QB64 committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    df436b1 View commit details
    Browse the repository at this point in the history