Commit Graph

2872 Commits

Author SHA1 Message Date
Matthias Koefferlein f6c9df7d28 Fixed #787 - the results of const reference return values need to be copied as the holder object may go out of scope 2021-05-08 22:27:14 +02:00
Matthias Köfferlein 918e1487c2
Merge pull request #792 from Kazzz-S/0.26.12-mac1
Synced with the latest Homebrew formula names.
2021-05-08 22:25:26 +02:00
Kazunari Sekigawa 40ba0d53a3 Synced with the latest Homebrew formula names. 2021-05-08 09:05:49 +09:00
Matthias Köfferlein e61253b312
Merge pull request #785 from Kazzz-S/0.26.12-mac1
Changes in the build system for Mac
2021-05-04 23:24:53 +02:00
Kazunari Sekigawa 68b6928d10 Updated Homebrew-related documents. 2021-05-01 07:04:13 +09:00
Kazunari Sekigawa 8237c58ff4 Modified the build system for macOS to test an M1 Mac. 2021-04-29 21:26:46 +09:00
Matthias Koefferlein 36d8c08d22 Refinement of the undo fix. 2021-04-24 18:51:57 +02:00
Matthias Koefferlein 3097ed1929 Updated changelogs for 0.26.12 2021-04-21 21:42:36 +02:00
Matthias Koefferlein 65f62afbaa Updated changelog. 2021-04-21 21:40:02 +02:00
Matthias Koefferlein d383f4a413 Porting 930586110 to 0.26 (problem with hidden undo) 2021-04-18 15:30:09 +02:00
Matthias Köfferlein e724dcdb45 Fixed issue #750 (#752) 2021-03-30 12:40:57 +02:00
Matthias Köfferlein 4bb959eb6d
Merge pull request #743 from Kazzz-S/0.26.11-mac1
Added a new option to control "-without-qt-uitools"
2021-03-14 23:43:34 +01:00
Kazunari Sekigawa 30267ebe0e Added a new option to control "-without-qt-uitools" 2021-03-01 19:23:21 +09:00
Matthias Koefferlein 853535b8b3 Fixed a build error for QtBinding-less builds 2021-02-28 23:30:12 +01:00
Matthias Koefferlein 5e0239c3d1 Test stability for Windows/32bit 2021-02-28 14:02:17 +01:00
Matthias Koefferlein 8d6a43b6d2 More unit test stability 2021-02-28 10:55:29 +01:00
Matthias Koefferlein 5a31d243ff Added a build system option to enable/disable uitools support as some distributions do not support that 2021-02-27 19:10:12 +01:00
Matthias Koefferlein 889f31835b Stupid typo fixed 2021-02-27 00:02:28 +01:00
Matthias Koefferlein d7b557175e Squashed commit of the following:
commit 2a8a2d228d
Author: Matthias Koefferlein <matthias@koefferlein.de>
Date:   Fri Feb 26 23:54:08 2021 +0100

    One more fix.

commit 8c4d76505c
Author: Matthias Koefferlein <matthias@koefferlein.de>
Date:   Fri Feb 26 23:03:07 2021 +0100

    More patches for uitools-less build for CentOS 8

commit 2ac28292b8
Author: Matthias Koefferlein <matthias@koefferlein.de>
Date:   Fri Feb 26 22:52:27 2021 +0100

    First steps for fixing build on CentOS 8 without uitools
2021-02-26 23:59:53 +01:00
Matthias Koefferlein 25d5eae965 Fixed a merge issue. 2021-02-25 23:28:46 +01:00
Matthias Koefferlein 96386383d0 Fixed a linker issue 2021-02-25 23:07:23 +01:00
Matthias Koefferlein f299b3aaa2 Updated version 2021-02-25 22:07:50 +01:00
Matthias Koefferlein ba869a0666 Updated Changelog 2021-02-25 22:07:18 +01:00
Matthias Koefferlein 5aec4cf2cb Fixed #728 2021-02-25 22:04:39 +01:00
Matthias Koefferlein 4070923785 Updated Changelog. 2021-02-25 21:38:15 +01:00
Matthias Köfferlein c55020601c * #730: providing a new Qt module named QtUiTools for QUiLoader class support.
* Fixed a compile error on Mac

* Added QtUiTools to some more places

* Fixed a linker issue in the QtUiTools Python lib

* On occasion fixed a infinite recursion problem in the debugger

The recursion happened because by mistake I instantiated a
QApplication inside an in-application Python script. This
crashed the debugger due to infinite recursion. This is not
a real use case but to prevent similar issues, a recursion
sentinel was added.

* Removed QCoreApplication#notify from script bindings

Reasoning: "notify" made standalone scripts using QApplication and
QUiLoader virtually impossible.

Problem description:
- When a QApplication object is instantiated, e.g. in Python, the Qt binding
  will install reimplementation hooks as the object may be dynamically
  extended.
- A notify is virtual this means the *every* "notify" call in the application
  is routed through the interpreter.
- For one thing this will slow down the application
- But as "notify" is called a zillion times this has more than this side effect.
- Specifically "notify" is called from within the QWidget constructor to
  indicate a new widget. Then, if a QDialog for example is instatiated, it's
  base class constructor will call "notify" when the object isn't ready yet.
- This has another severe side effect: as the object isn't ready yet, it gets
  registered in the Python space with the wrong class and QDialog is not visible
  as such.

To mitigate these problems, the most efficient solution is to disable "notify"
in general. There is hardly any use case in a script environment (in C++,
apart from hacking the only reasonable use case is exception handling, but
this does not apply to scripts). For providing the call functionality of
"notify" you should better use "postEvent" or "sendEvent" anyway.

So farewell QCoreApplication.notify ...

* Fixed python test for QtUiTools module

* Fixed UiTools test on Qt4 - QUiLoader needs an application object

Co-authored-by: Kazunari Sekigawa <kazunari.sekigawa@gmail.com>
2021-02-25 21:36:34 +01:00
Matthias Köfferlein 915ef7c630 Fixed issue by providing a compatibility bridge between tl::Stream (abstract paths) and tl::URI (#734) 2021-02-25 21:32:08 +01:00
Matthias Koefferlein d6cb59d13b Fixed type in date of Changelog. 2021-02-13 09:55:08 +01:00
Kazunari Sekigawa eacaf1780e
Update of the build system for macOS (#725)
* Updated the background image for mac DMGs.

* Updated a convenience tool for making DMGs for macOS.
2021-02-08 22:06:38 +01:00
Matthias Koefferlein b695a2b2c1 Updated Changelog 2021-02-06 22:47:29 +01:00
Matthias Koefferlein 99280481fe Fixed #726. 2021-02-06 22:46:18 +01:00
Matthias Koefferlein 287dbce783 Updated Changelog 2021-02-04 21:27:04 +01:00
Matthias Koefferlein ac1cf0880d Fixed #723 2021-02-04 21:25:18 +01:00
Matthias Koefferlein e54952874c Updated Changelog. 2021-02-02 23:05:23 +01:00
Matthias Koefferlein 502b673b4c Updated changelog. 2021-02-02 22:54:33 +01:00
Matthias Köfferlein a0cc5fa52a Issue 720 (#721)
* Implemented a backup scheme for the file writer.

* Also consider backup files when the writer fails.

* Removed test exception

* Added config option for number of backups.
2021-02-02 22:50:59 +01:00
Matthias Koefferlein ca05a83021 Updated changelog. 2021-02-02 22:47:43 +01:00
Matthias Koefferlein 0bedc4edac Removed inclusion of APPDATA into search path on Windows - this was pulling DLLs from other installations. 2021-02-02 22:45:07 +01:00
Matthias ab7db78ee8 Fixed crash in WebDAV access test observed on MacOS, but probably also relevant for other platforms. 2021-02-02 10:53:03 -08:00
Matthias Koefferlein 84863cce71 Yet another test suite Python compatibility fix. 2021-02-01 22:14:18 +01:00
Matthias Koefferlein e1fbeca184 Compatibility with older Ruby and Python versions in unit tests. 2021-02-01 22:14:05 +01:00
Matthias Koefferlein 17195ef9d4 Updated copyright file 2021-02-01 12:38:45 +01:00
Matthias Koefferlein c3c8f20e36 Fixed some merge issues 2021-02-01 10:13:44 +01:00
Matthias Koefferlein 6c6d2c9aee Updated changelog. 2021-01-31 20:24:03 +01:00
Matthias Koefferlein 881479636f Adapted test data to 0.26. 2021-01-31 20:04:06 +01:00
Matthias Köfferlein 47d9001ba6 Issue 718 (#719)
* WIP: first part of fix - generation of hole cutlines

First problem was that hole cutlines got extended
over the whole length and sometimes lead to coincident
edges which are difficult to resolve for the polygon
cutter.

* Refined solution, fixed #718

- disabled elaborate hole insertion procedure for now as the
  performance impact has to be assessed yet and the new scheme
  will break many tests
- stricter rejection of ambiguous configurations in the polygon cutter
- fallback is boolean AND now since there is no need to re-invoke the
  polygon cutter (we can't do so as we made it more strict).
  Performance-wise we replace a merge by an AND step which may even be
  faster the output is smaller and the polygon cutter does not need
  to be re-invoked.

* Compatibility with other STLs
2021-01-31 19:23:36 +01:00
Matthias Köfferlein bed82733e6 Fixed #709. (#714) 2021-01-31 19:21:54 +01:00
Kazunari Sekigawa 1243962478
Update of the macOS development environment for Big Sur (#711)
* In the MacPorts environment, Ruby 2.7 is used.

* Updated the build tools for Mac supporting Qt-5.15.2 from MacPorts.

* Updated the Ruby environment for BigSur and Catalina.

* To update the Mac DMG maker to support Big Sur.

* Updated the resource files for Mac DMGs.
2021-01-27 12:43:48 +01:00
Matthias Koefferlein f3923f5875 Fixed Qt-less builds. 2021-01-27 12:42:15 +01:00
Matthias Koefferlein 0c8e38893b Fixed Qt-less builds. 2021-01-27 12:42:09 +01:00