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

13 #23

Merged
merged 118 commits into from
Aug 29, 2023
Merged

13 #23

merged 118 commits into from
Aug 29, 2023

Commits on Mar 26, 2023

  1. Configuration menu
    Copy the full SHA
    ac31c10 View commit details
    Browse the repository at this point in the history
  2. Doc: Bump release version.

    michicc committed Mar 26, 2023
    Configuration menu
    Copy the full SHA
    2a787aa View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2023

  1. Change: [NewGRF] Extend the D8xx (DCxx) string area up to FFFF.

    This adds the Exxx and Fxxx blocks to the usable range for NewGRF
    local strings. TTDPatch uses these ranges for internal strings, but as
    we don't support any of them anyway, it is "free" real estate for us.
    michicc authored and rubidium42 committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    80590af View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    63d607a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cf546c1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    144d404 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2491418 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0fb6b3c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    da9f226 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    617d794 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0604f57 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    addf30e View commit details
    Browse the repository at this point in the history
  11. Fix #10059: [Script] Clamp config item values to int32

    Also prevent random_deviation to be below 0.
    SamuXarick authored and rubidium42 committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    4b7099f View commit details
    Browse the repository at this point in the history
  12. Fix #10059: [Script] Let custom values on a config item be up to 10 d…

    …igits + 1 for sign
    SamuXarick authored and rubidium42 committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    381f1ac View commit details
    Browse the repository at this point in the history
  13. Fix: [Script] Save config item values up to 10 digits + 1 for sign + …

    …1 for termination, enough to fit min and max int
    SamuXarick authored and rubidium42 committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    81b53b3 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    803c523 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    fedb77a View commit details
    Browse the repository at this point in the history
  16. Change: Avoid crashing to the side of a train

    When a road vehicle is already running on a multi level crossing, and a train shows up ahead, don't make the road vehicle crash on the side of the train.
    SamuXarick authored and rubidium42 committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    d78ab6a View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    430630e View commit details
    Browse the repository at this point in the history
  18. Fix #10469, 5e14a20: [Script] League Table rating element is a int64 …

    …everywhere else
    SamuXarick authored and rubidium42 committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    70d5683 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    f1fdcd7 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    330a823 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    4b40e93 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    f16a110 View commit details
    Browse the repository at this point in the history
  23. Fix #10568: "can savegame be loaded check" failed in dedicated server

     * If loading fails, it usually returns SL_REINIT which doesn't trigger check
     * If savegame has NewGRFs, it complains NewGRFs are not allowed in intro game
    rubidium42 committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    261d674 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    86beadc View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    eaec433 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2023

  1. Configuration menu
    Copy the full SHA
    4a1361b View commit details
    Browse the repository at this point in the history
  2. Codechange: Check NewGRF feature is defined before processing any spr…

    …ite group mapping.
    
    Previously this was checked after loading ids, or repeatedly checked for
    each item.
    PeterN authored and LordAro committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    d510e0b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4c75615 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    67bd6ab View commit details
    Browse the repository at this point in the history
  5. Fix: Check ID for name is within bounds.

    PeterN authored and LordAro committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    808dfc0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    353a6d4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    15a32fa View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    090913c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7f987c8 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2023

  1. Fix: Abort loading savegame if road vehicle is on invalid road type. …

    …(#10622)
    
    This can happen if NewGRFs are missing so that engine or road type definitions are wrong.
    PeterN authored and glx22 committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    f4f35a1 View commit details
    Browse the repository at this point in the history
  2. Fix #10637: Incorrect water infra total when building multi-tile object

    Wrong tile used in ownership checks
    JGRennison authored and glx22 committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    78512af View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    da20e0f View commit details
    Browse the repository at this point in the history
  4. Fix #10638: Incorrect water infra total when building canal over object

    In the case where the object is on an unowned canal tile and
    the new canal tile is owned
    JGRennison authored and glx22 committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    08a5637 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ff7e8c2 View commit details
    Browse the repository at this point in the history
  6. Fix #10665: CheckEngines should ignore wagons when determining availa…

    …ble vehicles at the start date. (#10673)
    aeonofdiscord authored and glx22 committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    e16fcb2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4883d38 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    df1ba20 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    28e845d View commit details
    Browse the repository at this point in the history
  10. Fix: Set TC_NO_SHADE only for shaded engine in purchase list.

    Additionally use TC_FORCE to prevent additional colours in the shaded text.
    PeterN authored and glx22 committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    f895d7e View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b70df6e View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e53caf8 View commit details
    Browse the repository at this point in the history
  13. Fix: Typo in variable name.

    michicc authored and glx22 committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    85d2f80 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    439ecbc View commit details
    Browse the repository at this point in the history
  15. Fix: crash in emscripten when saving games (#10758)

    Don't allocate 128KB on stack, but rather on the heap.
    TrueBrain authored and glx22 committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    0569331 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    b8eca7d View commit details
    Browse the repository at this point in the history
  17. Fix: [Win32] Text line breaking did not properly handle punctuation c…

    …haracters. (#10775)
    michicc authored and glx22 committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    df41716 View commit details
    Browse the repository at this point in the history
  18. Fix: disable "redundant move" warnings for GCC (#10803)

    GCC warns about redundant std::move while clang warns when they are missing, so we silence the less harmful one
    glx22 committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    4cc0c21 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    7969907 View commit details
    Browse the repository at this point in the history
  20. Fix: Rail waypoint selection window not closed

    When rail toolbar or rail waypoint build windows closed
    JGRennison authored and glx22 committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    a75a90b View commit details
    Browse the repository at this point in the history
  21. Fix: Ask FontConfig for the face index when opening fonts. (#10878)

    This allows selection of the correct face in truetype fonts containing
    multiple faces.
    PeterN authored and glx22 committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    680eb6b View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    89259af View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    c381535 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    2d8d9c4 View commit details
    Browse the repository at this point in the history
  25. Codechange: Use window parent association for dropdowns.

    This replaces the separate window class and number properties, and
    allows the window system to close dropdowns automatically.
    PeterN authored and glx22 committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    81e5cd2 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    53709f0 View commit details
    Browse the repository at this point in the history
  27. Fix: Wayland crash on startup due to Pango also using FontConfig (#10…

    …916)
    
    Basically, we haven't been a good neighbour. Turns out you shouldn't
    actually call FcFini when you are done, as some library might still
    want to use FontConfig. And they use a shared instance for their
    administration.
    
    The idea is that you call FcInit once, and use FcConfigReference
    after that to get an instance, you can release. This entry is
    ref-counted, and things happen automatically based on that.
    
    At least, I think.
    TrueBrain authored and glx22 committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    57a6233 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    5320077 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    3ae1a80 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    220b08b View commit details
    Browse the repository at this point in the history
  31. Fix: [SDL] unify the way X11 and Wayland handle mouse events

    Basically, we drop RelativeMode completely, and use the same trick
    as used by the Windows driver: read all motion events till the last
    one, and use that as value.
    TrueBrain committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    2ce9f64 View commit details
    Browse the repository at this point in the history
  32. Codechange: simplify UpdateCursorPositionRelative

    The function is only called with fix_at=true, so don't support
    the other cases.
    TrueBrain committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    b8d66fc View commit details
    Browse the repository at this point in the history
  33. Codechange: remove queue_wrap / last_position from mouse movement

    No backend uses it anymore, so also no longer any need to support
    it.
    TrueBrain committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    045e818 View commit details
    Browse the repository at this point in the history
  34. Add: [Linux] change default scroll mode to non-mouse-lock (#10920)

    Wayland doesn't support mouse warping, X11 only for native
    systems (so not for remote desktop, WSLg, etc), and emscripten
    neither without complications. All these cannot offer a
    mouse-lock.
    TrueBrain committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    6f7d44c View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    00bcda7 View commit details
    Browse the repository at this point in the history
  36. Fix #10502: Refit engine before attaching free wagons. (#10926)

    Caused by incorrect order of operations when buying a train engine with refit and attaching free wagons.
    PeterN authored and TrueBrain committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    b5a38cb View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    83a857a View commit details
    Browse the repository at this point in the history
  38. Fix: crash when window can't be placed on low resolution screens. (#1…

    …0932)
    
    Co-authored-by: Jonathan G Rennison <[email protected]>
    TrueBrain and JGRennison committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    2a0e2f1 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    4a7d93b View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    46d30aa View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    0f81c20 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2023

  1. Configuration menu
    Copy the full SHA
    57946c8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    374a51c View commit details
    Browse the repository at this point in the history
  3. Fix dec7ff6: Dropdowns would close if their tooltip appeared. (#10939)

    Solution is to not focus any tooltips, so that the dropdown doesn't lose focus. Tooltips don't accept any input so this does not change their behaviour.
    PeterN authored and TrueBrain committed Jun 10, 2023
    Configuration menu
    Copy the full SHA
    4949bd8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dea0f7e View commit details
    Browse the repository at this point in the history
  5. Fix dec7ff6: Dropdowns couldn't be closed by pressing the parent butt…

    …on. (#10954)
    
    Since dropdowns self-close, the detection of re-clicking a dropdown
    button no longer worked, as the dropdown is already closed.
    
    Instead set (and then test) a flag on the parent widget to indicate that
    the dropdown closed. This method avoids looping windows on every click.
    PeterN authored and TrueBrain committed Jun 10, 2023
    Configuration menu
    Copy the full SHA
    ab0924f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ed9895d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4aded39 View commit details
    Browse the repository at this point in the history
  8. Update: Backport language changes

    LordAro authored and TrueBrain committed Jun 10, 2023
    Configuration menu
    Copy the full SHA
    9580aef View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d4df692 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2023

  1. Fix 07add7a: [Win32] use full monitor resolution for fullscreen (#10985)

    On Windows in fullscreen you cannot reach the top with
    the cursor for the halve of the height of your toolbar.
    
    Additionally, on Win10 in fullscreen you can see the actual toolbar.
    TrueBrain committed Jun 11, 2023
    Configuration menu
    Copy the full SHA
    4b7fcac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ee6e30e View commit details
    Browse the repository at this point in the history
  3. Doc: Bump release version.

    TrueBrain committed Jun 11, 2023
    Configuration menu
    Copy the full SHA
    e80cb48 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    402baa6 View commit details
    Browse the repository at this point in the history
  5. Change: [Actions] Upgrade import-codesign-certs dependency in macOS b…

    …uild workflow
    orudge authored and glx22 committed Jun 11, 2023
    Configuration menu
    Copy the full SHA
    7cdb8c9 View commit details
    Browse the repository at this point in the history
  6. Revert ee6e30e: pretending 13.2.1 was 13.2 didn't work

    This reverts commit ee6e30e.
    glx22 committed Jun 11, 2023
    Configuration menu
    Copy the full SHA
    6916807 View commit details
    Browse the repository at this point in the history
  7. Doc: Bump release version.

    glx22 committed Jun 11, 2023
    Configuration menu
    Copy the full SHA
    5cc06f5 View commit details
    Browse the repository at this point in the history
  8. Doc: Changelog for 13.3

    glx22 committed Jun 11, 2023
    Configuration menu
    Copy the full SHA
    d854bb8 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2023

  1. Fix #10987: Double-close of dropdown stopped land-info tool working a…

    …s default. (#11000)
    
    Clicking and releasing on the query toolbar icon is meant to select the land-info tool.
    
    This did not work as during closing a window, OnFocusLost() is called, which then closes the window again. These two calls toggled the land-info tool one and off in the same action.
    
    Resolve by not calling Window::Close in OnFocusLost() if the window is already closing.
    PeterN authored and LordAro committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    5cd9c6d View commit details
    Browse the repository at this point in the history
  2. Fix #11043: Don't choose toolbar dropdown option if focus is lost. (#…

    …11044)
    
    Since dropdown menus now get closed if they lose focus, 'instant close' dropdowns (i.e. the toolbar dropdowns) should no longer execute their action to avoid unintended actions.
    PeterN authored and LordAro committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    1e1f1fa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6dc5c4f View commit details
    Browse the repository at this point in the history
  4. Fix: Error logging in game and admin server HandlePacket

    Don't invent a packet type in the log message if we can't/don't
    read a packet type at all.
    Fix packet type not being logged when appropriate.
    JGRennison authored and LordAro committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    a198262 View commit details
    Browse the repository at this point in the history
  5. Fix #11016: Defer deletion of client and server game socket handlers

    This fixes various use after free scenarios in error handling paths
    JGRennison authored and LordAro committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    5150f3b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    31913d0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9e05fa3 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2023

  1. Configuration menu
    Copy the full SHA
    80ed387 View commit details
    Browse the repository at this point in the history
  2. Doc: Bump release version.

    glx22 committed Jul 29, 2023
    Configuration menu
    Copy the full SHA
    7cc3bc0 View commit details
    Browse the repository at this point in the history
  3. Doc: Changelog for 13.4

    glx22 committed Jul 29, 2023
    Configuration menu
    Copy the full SHA
    dbcf165 View commit details
    Browse the repository at this point in the history
  4. Change: release with (much) newer versions of dependencies for Generi…

    …c Linux (#10484)
    TrueBrain authored and glx22 committed Jul 29, 2023
    Configuration menu
    Copy the full SHA
    ad29d24 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    64db854 View commit details
    Browse the repository at this point in the history
  6. Fix: [CI] enable audio (alsa / jack / pulse) for generic Linux builds…

    … (#11051)
    
    SDL needs to see the header files when compiling to enable those
    drivers runtime. It doesn't actually link against them: it just
    needs to see the headers.
    TrueBrain authored and glx22 committed Jul 29, 2023
    Configuration menu
    Copy the full SHA
    60fe3fc View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    eedd9fb View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ba86e11 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    132098d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7e457a3 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2023

  1. Configuration menu
    Copy the full SHA
    a113d88 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    538ee72 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2023

  1. Configuration menu
    Copy the full SHA
    e2f2a4d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9d4e769 View commit details
    Browse the repository at this point in the history
  3. We don't need no Quit button!

    pelya authored and MiguelHorta committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    ed05787 View commit details
    Browse the repository at this point in the history
  4. Merge tag '13.4' into 13

    MiguelHorta committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    31a55c0 View commit details
    Browse the repository at this point in the history
  5. Bump .ottdrev to 13.4

    MiguelHorta committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    606be85 View commit details
    Browse the repository at this point in the history