Skip to content
Snippets Groups Projects
  1. Oct 18, 2015
  2. Oct 17, 2015
    • Kahrl's avatar
      Fix GUITable selection issues with trees · c4d18623
      Kahrl authored
      - setOpenedTrees(): this internal function was calling setSelected()
        to update m_selected. Since setSelected() calls autoScroll(),
        this caused the scrollbar to scroll back to the selected row
        in some cases when that shouldn't be done.
      
        For example, clicking the "+" to open a tree caused autoscroll.
      
        Fix this by making setOpenedTrees() modify m_selected directly.
      
      - setDynamicData(): set scrollbar position after calling
        setSelected(), not before. This avoids setSelected()'s autoscroll
        messing up the scrollbar position again.
      
      - setSelected(): If an invisible row is selected, open all parents
        of the selected row in order to make the selected row visible.
      
        This fixes the issue where all the trees are closed again whenever
        you return from the setting edit dialog to the settings tab.
      c4d18623
    • PilzAdam's avatar
      New settings tab contain all possible settings · 006ef5b4
      PilzAdam authored
      Settings are automatically parsed from builtin/settingtypes.txt
      The edit dialog automatically adjust based on the type of setting
      006ef5b4
    • Rui's avatar
      Fix == to = · 06e5d0f5
      Rui authored
      06e5d0f5
    • kwolekr's avatar
      Fix missing include on AIX · 6ba9d654
      kwolekr authored
      6ba9d654
    • kwolekr's avatar
      Refactor Thread class to improve readability and portability · 765a834c
      kwolekr authored
      - Fix some incompatibilities with obscure platforms (AIX and WinCE)
      - Clean up Thread class interface
      - Add m_ prefix to private member variables
      - Simplify platform-dependent logic, reducing preprocessor
        conditional clauses and improving readibility
      - Add Thread class documentation
      765a834c
    • kwolekr's avatar
      Refactor thread utility interface · 6be74d17
      kwolekr authored
      - Add "thr_" prefix to thread utility functions
      - Compare threadid_ts in a portable manner, where possible
      6be74d17
    • est31's avatar
      Fix crash regression when invsize formspec gets used · 836486a9
      est31 authored
      The invsize formspec element is outdated. Even though,
      it is still supported, only a deprecation warning is shown,
      introduced by commit [1]. The lua context passed to the
      log_deprecated method added by commit [1] is NULL for the
      invsize deprecation warning, as its run on the client and not
      the server.
      
      Commit [1] has removed checks for NULL inside the log_deprecated
      method, resulting in a crash when a formspec with an invsize
      element is parsed. This commit puts the check back.
      
      Fixes #3260.
      
      Referenced commits:
      
      [1]: b5acec0a "Add proper lua api deprecated handling"
      
      [2]: 7b8d3729 "Use warningstream for deprecated field messages and refactor log_deprecated"
      836486a9
  3. Oct 15, 2015
  4. Oct 14, 2015
  5. Oct 12, 2015
  6. Oct 10, 2015
  7. Oct 09, 2015
  8. Oct 07, 2015
  9. Oct 06, 2015
  10. Oct 05, 2015
  11. Oct 04, 2015
  12. Oct 03, 2015
  13. Oct 02, 2015
  14. Sep 30, 2015
    • est31's avatar
      Fix some SRP issues · 0bf1984d
      est31 authored
      -> Remove memory allocation bugs
      -> Merge changes from upstream, enabling customizeable memory allocation
      0bf1984d
  15. Sep 29, 2015
    • est31's avatar
      Some map border related fixes · 2a7d01b8
      est31 authored
      1. Check for entity addition success in spawn_item implementation
      2. Check for success in item_drop callback, so that the player
      doesn't lose the item if they are outside bounds and try to drop it.
      3. When existing player joins game, check that their position is inside
      map bounds. If not, set their position to the return value of findSpawnPos().
      4. Make findSpawnPos() respect the border
      
      2 fixes a lua crash if a player drops an item outside map bounds.
      3 fixes an assertion crash if a player leaves when being outside map bounds,
      and then rejoins.
      2a7d01b8
Loading