Skip to content
代码片段 群组 项目
该项目从 https://gitlab.com/gnu-octave/octave.git 镜像。 Pull mirroring failed .
由于尝试失败次数过多,仓库镜像已暂停,可以由项目维护者或所有者恢复。
上次成功更新
  1. 5月 27, 2024
  2. 5月 26, 2024
  3. 5月 27, 2024
  4. 5月 26, 2024
  5. 5月 25, 2024
    • Torsten Lilge's avatar
      redirect stdout and stderr into experimental terminal widget · b57d48ed
      Torsten Lilge 创作于
      * command-widget.cc (command_widget): open temp files for redirecting
        stdout and stderr, setup a file system watcher for signals on changes
        to these files;
        (~command_widget): close and remove the temp. files;
        (insert_interpreter_output): use the style as second argument
        (print_stream): add new contents of temp. files for stdout and stderr
        to the end of the terminal contents;
        (notice_settings): set the terminal preferences to the new lexer of
        the console;
        (console): create and set new lexer;
        (new_command_line): use prompt style for the prompt;
        (execute_command): use second command line argument for the style;
        (append_string): use style as second argument and style the added
        text accordingly;
      
      * command-widget.h (console) append_string with second argument for style,
        (command_widget): now with destructor, new method print_stream,
        insert_interpreter_output with second argument for style, new class
        variables for temp. file descriptors and file system watcher
      
      * console-lexer.cc/h: new lexer derived from QScintillas default lexer
        for styling the terminal output, styles used so far: Default, Error,
        and Prompt
      
      * gui-preferences-cs.h: new constants for error and prompt colors
      
      * libgui/src/module.mk: new files console_lexer.cc/h
      
      * qt-interpreter-events.cc (display_exception): interpreter_output_signal
        with second argument for the style, here Error style
      
      * qt-interpreter-events.h: interpreter_output_signal with second
        argument for the style
      
      * terminal-dock-widget.h: interpreter_output_signal with second
        argument for the style
      b57d48ed
  6. 5月 24, 2024
  7. 5月 23, 2024
  8. 5月 21, 2024
  9. 5月 20, 2024
  10. 5月 19, 2024
  11. 5月 18, 2024
  12. 5月 17, 2024
    • Arun Giridhar's avatar
      maint: Update Qt macros to avoid name collisions · 20e11dcc
      Arun Giridhar 创作于
      It is a known problem with Qt that terms like "signals", "slots", and "emit"
      can conflict with other libraries using those identifiers. So far, Octave
      has not had that problem, but to allow for potential future use of third-party
      libraries, especially the C++17 STL's parallelization functions, these terms
      are being updated to their Qt-specific collision-safe versions.
      
      Discussion: https://octave.discourse.group/t/updating-qt-macro-names-to-avoid-name-collisions/5627
      and discussions linked therein.
      
      This patch makes the following changes through the part of the Octave codebase
      using Qt:
      
      * signals --> Q_SIGNALS
      * slots --> Q_SLOTS
      * emit --> Q_EMIT
      
      The above changes were guided and verified by passing "-DQT_NO_KEYWORDS"
      to CXXFLAGS when building Octave.
      20e11dcc
  13. 5月 18, 2024
    • John W. Eaton's avatar
      delete obsolete Qt .pro files · cc60137c
      John W. Eaton 创作于
      The .pro files in libgui were not used in the Octave build system and
      were out of date.  Remove them to avoid confusion.
      
      * libgui/gui.pro, libgui/qterminal/libqterminal/libqterminal.pro,
      libgui/qterminal/qterminal.pro,
      libgui/qterminal/qterminal/qterminal.pro: Delete obsolete files.
      cc60137c
    • John W. Eaton's avatar
      use range-based for loop instead of Qt foreach macro · 56b665c0
      John W. Eaton 创作于
      * TerminalView.cpp: (QRegion TerminalView::hotSpotRegion,
      TerminalView::dropEvent): Replace foreach with range based for loop.
      (TerminalView::paintEvent): If HAVE_QREGION_ITERATORS is not defined,
      use Q_FOREACH instead of foreach.
      
      * QWinTerminalImpl.cpp (QWinTerminalImpl::dropEvent):
      Replace foreach with range based for loop.
      
      * gui-utils.cc (adjust_to_screen):
      Replace foreach with range based for loop.
      56b665c0
  14. 5月 17, 2024
    • Nicholas R. Jankowski's avatar
      hist.m: Avoid error when Y value range is very small (bug #65714). · ab779156
      Nicholas R. Jankowski 创作于
      * hist.m: Add check for the distance between max and min Y value when
      calculating the bin locations.  If distance is less than 20*eps, use
      calculation for distance = 0 to avoid error where X value separation is
      smaller than eps and appear non-unique.  Add BISTs to check for no error
      with small Y values with and without a specified number of bins.
      * NEWS.9.md: Addd note about fix to hist.m line under Improvements and Fixes.
      ab779156
    • Rik's avatar
      maint: merge stable to default · 8adf3003
      Rik 创作于
      8adf3003
    • Rik's avatar
      Preserve "position" property of figure when object is reset() (bug #65750) · d59565b0
      Rik 创作于
      * graphics.cc (figure::reset_default_properties): Remove "innerposition", an
      alias to "position", from the list of properties to reset.  Remove
      "paperpositionmode" from list of properties to reset.
      * graphics.cc (Freset): Update BIST test for figure objects to verify
      "position" and "paperposition" are not reset.
      d59565b0
    • Markus Mützel's avatar
      glob-match.cc: Silence compiler warning with GCC 14. · 5d9a1254
      Markus Mützel 创作于
      * liboctave/util/glob-match.cc (symbol_match::match): GCC 14 warns about
      potentially using an uninitialized variable when 'sym_wildc_idx' is incremented.
      That is never an issue because it will always be initialized when that part of
      the code is reached. Silence that compiler warning anyway by initializing it
      with a dummy value early on.
      5d9a1254
  15. 5月 16, 2024
  16. 5月 14, 2024
  17. 5月 13, 2024
  18. 5月 11, 2024
  19. 5月 10, 2024