This repository was archived by the owner on Jan 16, 2024. It is now read-only.
chore(deps): update dependency @nodegui/nodegui to v0.63.0#30
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
chore(deps): update dependency @nodegui/nodegui to v0.63.0#30renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
16710fb to
a89451e
Compare
a89451e to
a227eb9
Compare
a227eb9 to
6714bee
Compare
6714bee to
602757b
Compare
602757b to
f0953a7
Compare
f0953a7 to
07d74cf
Compare
07d74cf to
7363dc7
Compare
7363dc7 to
0d7d81d
Compare
0d7d81d to
4bc23cc
Compare
4bc23cc to
09da91d
Compare
09da91d to
0b78e13
Compare
0b78e13 to
fce29c6
Compare
fce29c6 to
b896ea2
Compare
b896ea2 to
56c0004
Compare
56c0004 to
5fe06bf
Compare
a6bcbd1 to
d54c9e0
Compare
d54c9e0 to
d36c2ea
Compare
d36c2ea to
00fdbfd
Compare
00fdbfd to
3e54f77
Compare
3e54f77 to
da6f11b
Compare
da6f11b to
5810c9e
Compare
5810c9e to
be63b3c
Compare
be63b3c to
7e2289b
Compare
7e2289b to
8932389
Compare
8932389 to
b489252
Compare
b489252 to
e97aba1
Compare
e97aba1 to
3ef9ce5
Compare
3ef9ce5 to
8c53478
Compare
8c53478 to
f011c1c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.2.1->0.63.0Release Notes
nodegui/nodegui (@nodegui/nodegui)
v0.63.0Compare Source
Added:
QDragEnterEventclass #1034QPixmap.setDevicePixelRatio()#1033QPainter.drawPixmap()#1033QPixmap.convertFromImage()#1033Changes:
v0.62.0Compare Source
Changes:
v0.61.2Compare Source
Changed:
QScrollAreain plugins.v0.61.1Compare Source
Changed:
QScrollAreagenericv0.61.0Compare Source
Added:
QApplicationmethods (#1011)Changed:
EventListenerOptionsandEventWidgettypes (#1011)v0.60.0Compare Source
Added:
QMenuandQMenuBarmethods, properties, and signals.v0.59.2Compare Source
Fixes:
QWidget.layout()v0.59.1Compare Source
Minor release.
Changes:
QSplittercode into amacro.hfile for easier subclassing in plugins.v0.59.0Compare Source
Added Input Method related events and methods.
Changes:
QWidget.updateMicroFocus()methodQInputMethodEventclassQInputMethodQueryEventclassQWidget.inputMethodHints()&QWidget.setInputMethodHints()v0.58.0Compare Source
This is the first stable release of NodeGui based on Qt 6 instead of the older Qt 5. This release is also paired with an upgrade in
qodeto match NodeJs v18.12.1.The biggest change in Qt 6 which may affect NodeGui based applications is the High DPI support. If you are using nodegui plugins, they may have to be upgraded to support Qt6 too.
Changes:
@nodegui/qodeversion 18.12.1 (or higher).applicationDisplayNameChanged&lastWindowClosedsignals toQApplicationQPaintergained many methods related to drawing with fractional pixel sizes and HiDPI rendering.QTableWidgetgained methodsclearSelection(),selectAll(),scrollToBottom(), andscrollToTop().v0.57.3Compare Source
Fixes:
v0.57.2Compare Source
What's Changed
New Contributors
Full Changelog: nodegui/nodegui@v0.57.1...v0.57.2
v0.57.1Compare Source
What's Changed
Full Changelog: nodegui/nodegui@v0.57.0...v0.57.1
v0.57.0: 0.57.0Compare Source
Added:
windowStateChangedsignal toQWindowhorizontalScrollBar()&verticalScrollBar()toQAbstractScrollAreaQSizeandQSizeFv0.56.0: 0.56.0Compare Source
Added:
QIcongainedactualSize(),addFile(),addPixmap(),availableSizes(),isNull(),name(),paint(), andswap()methodsv0.55.0: 0.55.0Compare Source
Added:
done()andaccept()toQDialogand subclasses and cleaned up the hierarchy situationsizeHintForIndex()andvisualRect()toQAbstractItemViewChanges:
v0.54.0: 0.54.0Compare Source
QAbstractItemDelegatesupport to allow plugins to create their own custom item delegates.v0.53.0: 0.53.0Compare Source
Added:
QObject.addEventListener()to receiveQEventsafter default processing has happened.QWidget.contentsRect()QWidget.childAt()QWidget.focusProxy()QWidget.focusWidget()QWidget.isAncestorOf()QWidget.isEnabledTo(()QWidget.isVisibleTo()QWidget.nativeParentWidget()QWidget.nextInFocusChain()QWidget.parentWidget()QWidget.previousInFocusChain()QWidget.setFocusProxy()QWidget.stackUnder()QWidget.window()v0.52.0: 0.52.0Compare Source
This release contains a big update to how NodeGui manages the memory and lifecycle for
QObjectinstances and their subclasses.Note: These changes are NOT 100% backwards compatible with previous versions of NodeGui.
Highlights
Node*in between classes are gone. EveryQObjectis a subclass ofQObjecton the JS side just like in Qt C++.QObjectinstances is tracked and propagated to the JS wrappers resulting in fewer complete crashes / segfaults and replacing them with more useful null object exceptions on the JS side.QObjectmethods related to object trees.QObject.parent()andQObject.children()return wrappers of the correct subclasses.myWidget.parent() === myWidget.parent().Detailed API Changes
On the JavaScript / TypeScript side were these changes:
QObject.children()QObject.parent()QObject.delete()QObject.deleteLater()NodeObject, useQObjectinstead.NodeWidget, useQWidgetinstead.NodeFrame, useQFrameinstead.NodeLayout, useQLayoutinstead.NodeDateTimeEdit, useQDateTimeEditinstead.NodeDialog, useQDialoginstead.NodeTextEdit, useQTextEditinstead.NodeListView, useQListViewinstead.NodeTableView, useQTableViewinstead.NodeHeaderView, useQHeaderViewinstead.QWidget.layoutis no longer a property, it is a method like in C++ Qt, i.e.QWidget.layout(). Changing it is done withQWidget.setLayout().QScrollAreacaused some weird bugs but they have been fixed. If you need a flexbox layout inside aQScrollAreathen add a single content widget use flexbox on its children.Upgrade Notes for Application Developers
The biggest change for applications is the removal of
Node*classes. Replace mentions of these classes with their normal Qt counterparts. See "Detailed API Changes" above.Upgrade Notes for Plugin developers
This version is mostly likely not backwards compatible on a binary level. You should update your plugin to require this version of NodeGui and then fix any errors.
There are some changes needed to update wrappers for
QObjectsubclasses.Registering wrappers
C++ wrapper classes should use the
QOBJECT_REGISTER_WRAPPERmacro in theirinit()method to register the mapping from aQObjectsubclass to a C++ wrapper.For example, in
qdial_wrap.cppwe have:This says that instances of
QDialcan be wrapped withQDialWrap. This mapping is used by methods such asQObject.parent()andQObject.children()which need to take opaque C++ objects and wrap them before returning them.The same needs to happen on the JS side too. In the matching wrapper JS class, the JS wrapper needs to be registered with
wrapperCache, mapping it to the name of its C++ wrapper counterpart. ForQDialthis looks like:Using the C++ Wrapper Cache
Finally, if you have a wrapper which needs to return another
QObjectinstance, you can use the wrapper cache directly and let it choose the correct wrapper or a cached one. The implementation ofQObject.parent()demonstrates this:v0.51.0: 0.51.0Compare Source
Features:
QWidget::grab()#941 (thanks Jake Kerr)v0.50.0: 0.50.0Compare Source
Features:
QTimerEventandQObject.startTimer()andQObject.killTimer()QScreen.grabWindow()Changes:
QTabBar.setTabButton()accept nullv0.49.0: 0.49.0Compare Source
Added:
QWindowQMoveEventv0.48.0: 0.48.0Compare Source
QLineEditv0.47.0: 0.47.0Compare Source
Minor fixes and improvements:
QWidget.mapTo()andQWidget.mapFrom()QStylePixelMetricQGridLayout.addWidget()andQGridLayout.addLayout()v0.46.0: 0.46.0Compare Source
Changes:
QWindowneeded by apps to implement "Custom client-side window decorations".QWidget.winId()QWindowcan now emitQEventbased events like normal widgets.QGridLayout.addWidget()Bug fixes:
QLineEdit.setText()accept an empty stringv0.45.4: 0.45.4Compare Source
Fix:
v0.45.3: 0.45.3Compare Source
Fix:
v0.45.0: 0.45.0Compare Source
This only contains changes to how NodeGui is built and installed. Previously, the C++ parts of NodeGui would be compiled at npm install time. Now we are precompiling all of NodeGui including the C++ binaries and they are downloaded during install. You should see faster and more robust installs. The requirement to have a C++ compiler and CMake available just to do JS based development is gone too.
The C++ binary is placed in
build/Releaselike before. If there are any problems, please open an issue in GitHub.v0.44.2: 0.44.2 test releaseCompare Source
ignore this. Just testing the CI/CD setup.
v0.44.0: 0.44.0Compare Source
QWidgetmethods and propertiesv0.43.0: 0.43.0Compare Source
QResizeEventclassQWidget.setFixedHeight(),QWidget.setFixedWidth(), andQWidget.sizeHint()QWidget.setParent()v0.42.0: 0.42.0Compare Source
QClipboardQWindowandQScreenand their signals.QDesktopWidget. (UseQWindowandQScreeninstead)HandleScopein the C++ and avoid playing with undefined behaviour.v0.41.0: 0.41.0Compare Source
QSplitter(thanks NinZine)QWidgetQBrushas an argument toQPainter.setBrush()(thanks NinZine)QObjectswhich have a parentv0.40.1Compare Source
v0.39.1: 0.39.1Compare Source
Fix
QPenwhich was simply broken.v0.39.0: 0.39.0Compare Source
QPaintermethodsQSizeFandQFontMetricsFclassesv0.38.0: 0.38.0Compare Source
QStyle.polish(),QStyle.unpolish(), andQWidget.style()setSizePolicy(), set max/min width/height methods toQWidgetQFontMetricsmethodscount()toQStackedWidgetdumpObjectTree()&dumpObjectTree()toQObjectQHeaderViewmethodsQWidgetTableItemwrapper. (Thanks NathanaelA)v0.37.3: 0.37.3Compare Source
Fixes:
QTableView.verticalHeader()was returning the wrong header object.v0.37.0: 0.37.0Compare Source
This release features a lot of work round Qt's Model View classes. It is now possible to subclass
QAbstractItemModelandQAbstractTableModelto create your own models to use withQTableView. This is a Work in Progress, but is already useful for many use cases.QAbstractItemViewreceived many methodsQItemSelectionModelwas added.QFontreceived bold methodsQWidgetreceived more geometry related methods.QStyleFactory. You can now set your application widget style onQApplicationtoo.v0.36.0: 0.36.0Compare Source
Upgrades qode to v16.4.0 (upgrades nodejs to v16.4.0)
Bugfix: Promises/microtasks not running.
v0.35.0: 0.35.0Compare Source
QApplication.setStyleSheet()QColor.rgb()andQColor.rgba()QPalettev0.34.0: 0.34.0Compare Source
QPainter, string lists inQVariant, and default args forQClipboard(#858)QInputEventmethods (#853)SliderAction(#852)QObject::event()(#850 )v0.33.3: 0.33.3Compare Source
Testing auto release
v0.33.2: 0.33.2Compare Source
Workflow checks
v0.33.1: 0.33.1Compare Source
adds prebuilt mini qt support for M1 macs
v0.33.0: 0.33.0Compare Source
#848
v0.32.1: 0.32.1Compare Source
https://github.com/nodegui/nodegui/pull/847
v0.32.0: 0.32.0Compare Source
https://github.com/nodegui/nodegui/pull/845
v0.31.0: 0.31.0Compare Source
https://github.com/nodegui/nodegui/pull/844
v0.30.3: 0.30.3Compare Source
https://github.com/nodegui/nodegui/pull/837
v0.30.2: 0.30.2Compare Source
Yoga Layout version bump
ScrollArea fix
v0.30.1: 0.30.1Compare Source
Bug fix: Makes sure post install script is running
v0.30.0: 0.30.0Compare Source
Flex layout buggy behaviour fix: https://github.com/nodegui/nodegui/pull/814
QImage setPixelColor fix
QFontemetrics added
v0.29.0: 0.29.0Compare Source
Typescript v4 support
QImage support
v0.28.1: 0.28.1Compare Source
Adds support for using mirrors when downloading qt
v0.28.0: 0.28.0Compare Source
QTableWidget and QTableWidgetItem
dep updates
v0.27.0: 0.27.0Compare Source
Adds QDesktopWidget
v0.26.0: 0.26.0Compare Source
Adds QSvgWidget
v0.25.0: 0.25.0Compare Source
v0.24.0: 0.24.0Compare Source
Bug fixes for:
Adds QDrag
v0.23.1: 0.23.1Compare Source
Adds QMimeData, additional methods to QUrl, and more Dropping support
v0.23.0: 0.23.0Compare Source
Adds QMouseWheelEvent
Adds QTabletEvent
Adds QNativeGestureEvents
Adds Drag and Drop events and support
Thanks a lot @swittk
v0.22.0: 0.22.0Compare Source
QGridLayout
Yoga fixes for latest gcc
v0.21.0: 0.21.0Compare Source
Plugin cmake fix
QWidget additional getters
v0.20.0: 0.20.0Compare Source
fromString for QDate related classes
QGraphicsShadow support
QTreewidget methods
Additional Qpainter support
Bump to qode v2.1.0 - nodejs v14.2.0
v0.19.0: 0.19.0Compare Source
QTextEdit and QTextBrowser added
Bug fixes related to multiple widgets
Bring back event loop awaker.
v0.18.2Compare Source
v0.18.1: 0.18.1Compare Source
Fixes contextmenu issues
Updates qtreewidget
v0.18.0: 0.18.0Compare Source
Adds QStandardModel - Thanks @mspencer92
Thanks @feng8848 for all of the below
Add QDoubleSpinBox
Add QBrush
Add QListView and improve QListWidget
Add QErrorMessage
Add QFontDialog
Add QProgressDialog
Add QLCDNumber
dependency updates and security patches
v0.17.0: 0.17.0Compare Source
QTabBar support
More QTreewidget functions
QColorDialog support
More tab functions
QDoubleSpinbox support
Memory and perf fixes
v0.16.1: 0.16.1Compare Source
Adds performance fixes
Memoize once certain expensive widget functions
v0.16.0: 0.16.0Compare Source
Adds QClipboard pixmap support
Security and performance improvements
v0.15.5: 0.15.5Compare Source
Performance issue fixes for stylesheet re-render
v0.15.4Compare Source
v0.15.3: 0.15.3Compare Source
bumps artifact installer and adds precise checks for ensuring to install qt libs only when needed
v0.15.2: 0.15.2Compare Source
Bugfix for windows: Adds proper qode.lib path
v0.15.1: 0.15.1Compare Source
Switch to Using Qode 2.0 🚀 .
This means now we should be able to develop plugins which use additional Qt libs that are now packed with default installation of nodegui quite easily.
This also means you can use your own version of Qt as well (it can be any compatible version 5.1x or your own compiled version aswell). To do this just set QT_INSTALL_DIR environment variable and do an npm install.
Adds QSettings
QTabView support
QTab methods
QPicture
QFrame
Dependency version upgrades
Prebuild binaries have been switched off for this release since it requires a bit more work after Qode2.0 changes. But should be made available in the upcoming releases.
v0.13.4Compare Source
QFontDatabase familites
Basic QScrollbar and bug fixes
QDateEdit and QTimeEdit bug fixes
MacOSX 10.9 and up support for prebuilt binaries
v0.13.3Compare Source
Adds QInputDialog
v0.13.2Compare Source
Bugfix for QMovie breaking on error.
Bugfix for delayed event delivery.
v0.13.1Compare Source
Bug fix: Prebuilt binaries for windows now includes lib, node and exp files for plugin builds
v0.13.0Compare Source
Major release 🎉
v0.12.1: 0.12.1Compare Source
Bugfix
Adds QComboBox setters
Fixes QObject inheritance for multiple widgets
v0.12.0: 0.12.0Compare Source
QBoxLayout - InsertWidget and stretch
Typed event handlers - Now get autocomplete and typescript type checking support for all event handlers.
Breaking change:
Event handlers are now typed so the syntax is slightly different.
v0.11.0: 0.11.0Compare Source
Breaking change:
widget.geometry()now return QRect instance instead of plain js object.v0.10.0: 0.10.0Compare Source
Adds QFileDialog
More events and signals to QSystemTrayIcon
Add zIndex like methods to QWIdget
Adds custom font support using QFontDatabase
Adds QTableWidget support
Adds QToolButton
Bugfixes and more methods for QStackwidget and QLabel
Performance improvements for FlexLayout (via throttling)
v0.9.1: 0.9.1Compare Source
Bug fix: flex layout insertbeforeChild
QVariant types
v0.9.0: 0.9.0Compare Source
Adds QComboxBox - select widget
Adds QGroupBox
Adds style() getter for QApplication
FlexLayout bugfixes
BoxLayout fixes
v0.8.0: 0.8.0Compare Source
Adds QBoxLayout
Fixes layout issues with FlexLayout
Adds QStackedWidget
v0.7.0: 0.7.0Compare Source
Adds QMovie - for gifs and webp
Adds AbstractButton
Bugfix: default font issue fix
v0.6.9Compare Source
v0.6.8: 0.6.8Compare Source
Bugfix: inline stylesheets, removes spdlog
v0.6.7: 0.6.7Compare Source
QMainWindow takeCentralWidget
v0.6.6: 0.6.6Compare Source
Flexlayout calculation bugfixes
v0.6.5: 0.6.5Compare Source
Patch release to revert to the default flex config
v0.6.3: 0.6.3Compare Source
Adds QObject
Adds basic QVariant support.
QLinedit - echo mode
FlexLayout - Adds support for dynamic layouts. Now FlexLayout calculates its size by itself.
Test cases and bug fixes
QMouseEvent wrapper
QAbstract button.
~Breaking Change~
~The default flex style is changed to that of web instead of mobile.~
~So default flex-direction is now 'row' instead of 'column' and default stretching behaviour also matches web.~
This is a breaking change in terms of styling.-> reverted in 0.6.5Other Major changes
So now on any widget you could do:
This will work for any public property on a widget or component that inherits from QObject.
To see the list of properties see qt docs for now. Example doc: https://doc.qt.io/qt-5/qabstractbutton.html#properties
v0.5.1Compare Source
v0.5.0Compare Source
v0.4.0: 0.4.0Compare Source
QAction - seperator
Bugfix for double memory free on deletion of parent widget
QLabel - openexternallink
QScrollArea - setWidgetResizable and takeWidget fix
QMainWindow - center
v0.3.1: 0.3.1Compare Source
Adds QIcon - isMask setIsMask Thanks @dimitarnestorov
Adds QAction - checkable and checked
Fixes broken build on Ubuntu 19.10
v0.3.0: 0.3.0 - NodeGuiCompare Source
Adds SystemTrayIcon support
Adds Menu support
Adds MenuBar support
Adds QAction for menu and context menus on tray icons
Adds QShortcut for Keyboard shortcuts
Bugfix: Crash on KeyEvent
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.