Feed Advanced Search

Feb 21 2020

patrickelectric committed R1034:fe89e88c472b: positionsource: Add more warning flags (authored by patrickelectric).
positionsource: Add more warning flags
Feb 21 2020, 5:27 PM
patrickelectric committed R1034:440eba9b34c7: lib: Add more warning flags (authored by patrickelectric).
lib: Add more warning flags
Feb 21 2020, 5:27 PM
patrickelectric committed R1034:13faf0c7c11f: gstreamer: Add more warning flags (authored by patrickelectric).
gstreamer: Add more warning flags
Feb 21 2020, 5:27 PM
patrickelectric committed R1034:1e2ace17e434: src: Add more warning flags (authored by patrickelectric).
src: Add more warning flags
Feb 21 2020, 5:27 PM
patrickelectric committed R1034:1603e6a0215d: positionsource: Add missing header (authored by patrickelectric).
positionsource: Add missing header
Feb 21 2020, 5:23 PM
patrickelectric committed R1034:8b001148902f: mavlink: Ignore -Wpedantic in mavlink include (authored by patrickelectric).
mavlink: Ignore -Wpedantic in mavlink include
Feb 21 2020, 5:06 PM
patrickelectric committed R1034:41b2011f9e56: main: Remove warnings from gst (authored by patrickelectric).
main: Remove warnings from gst
Feb 21 2020, 11:09 AM
patrickelectric committed R1034:1e47246bf4ec: plugins: ryzetello: Add new warning flags (authored by patrickelectric).
plugins: ryzetello: Add new warning flags
Feb 21 2020, 11:09 AM
patrickelectric committed R1034:bf52a6986671: gstreamer: Use forward declaraction for GstElement and GstMessage (authored by patrickelectric).
gstreamer: Use forward declaraction for GstElement and GstMessage
Feb 21 2020, 11:09 AM
patrickelectric committed R1034:444447274a75: plugins: mavlink: Add new warning flags (authored by patrickelectric).
plugins: mavlink: Add new warning flags
Feb 21 2020, 11:09 AM
patrickelectric committed R1034:374abfa597cd: plugins: parrot: Add new warning flags (authored by patrickelectric).
plugins: parrot: Add new warning flags
Feb 21 2020, 11:09 AM
patrickelectric committed R1034:baf3f4d23e1c: vehicleparameters: Add new warning flags (authored by patrickelectric).
vehicleparameters: Add new warning flags
Feb 21 2020, 11:09 AM
patrickelectric committed R1034:c4adb88836bc: positionsource: Add new warning flags (authored by patrickelectric).
positionsource: Add new warning flags
Feb 21 2020, 11:09 AM
patrickelectric committed R1034:d73d85ab19c8: lib: Add new warning flags (authored by patrickelectric).
lib: Add new warning flags
Feb 21 2020, 11:09 AM
patrickelectric committed R1034:3be6b34e3a66: src: Add new warning flags (authored by patrickelectric).
src: Add new warning flags
Feb 21 2020, 11:09 AM
patrickelectric committed R1034:2a64bfbd8e9e: gstreamer: Add CMakeLists (authored by patrickelectric).
gstreamer: Add CMakeLists
Feb 21 2020, 11:09 AM
patrickelectric committed R1034:317bbbe3188c: src: Use gstreamer library (authored by patrickelectric).
src: Use gstreamer library
Feb 21 2020, 11:09 AM
patrickelectric committed R1034:5b293a7414dd: mavlink: Add MSVC and old GCC version tests (authored by patrickelectric).
mavlink: Add MSVC and old GCC version tests
Feb 21 2020, 10:43 AM

Feb 19 2020

patrickelectric accepted D27499: Add KDE ClangFormat on CMake and run the target.

Feb 19 2020, 12:50 PM

Jan 27 2020

patrickelectric committed R1034:13c0c67d1c9f: FindMavlink: Make mavlink 2.0 the default version (authored by patrickelectric).
FindMavlink: Make mavlink 2.0 the default version
Jan 27 2020, 12:48 PM

Jan 26 2020

patrickelectric closed D26751: ECMAddAppIcon: Add sc in regex to extract extension from valid names.
Jan 26 2020, 12:54 PM · Build System, Frameworks
patrickelectric committed R240:e8abb9601c7d: ECMAddAppIcon: Add sc in regex to extract extension from valid names (authored by patrickelectric).
ECMAddAppIcon: Add sc in regex to extract extension from valid names
Jan 26 2020, 12:54 PM

Jan 20 2020

patrickelectric added a comment to D26751: ECMAddAppIcon: Add sc in regex to extract extension from valid names.

@apol I did update the commit body to explain why.
For the text I used https://regex101.com with the icon in the commit body and printing the variables of CMAKE_MATCH_1 and CMAKE_MATCH_2
Let me know if you agree with this to land the patch, this is necessary to continue D26752

Jan 20 2020, 12:09 PM · Build System, Frameworks
patrickelectric updated the diff for D26751: ECMAddAppIcon: Add sc in regex to extract extension from valid names.

Add commit body

Jan 20 2020, 12:03 PM · Build System, Frameworks
patrickelectric added a comment to D26752: ECMAddAppIcon: Do not warn about mac and window icons if isnt a OS specific build.

Hi @cgiboudeaux, thanks for the explanation, I'll take a look and get back here.

Jan 20 2020, 10:46 AM · Build System, Frameworks

Jan 19 2020

patrickelectric added a comment to D26752: ECMAddAppIcon: Do not warn about mac and window icons if isnt a OS specific build.

Hi @cgiboudeaux and @bcooksley, there is a reason of why this patch is valid. Have you read the commit message ?

Jan 19 2020, 10:57 PM · Build System, Frameworks
patrickelectric committed R1034:e215c1ba296b: gstreamer: Run clang-format in .c (authored by patrickelectric).
gstreamer: Run clang-format in .c
Jan 19 2020, 4:51 PM
patrickelectric committed R1034:b93cd9561123: gstreamerintegration: Add test for videoOutput pointer (authored by patrickelectric).
gstreamerintegration: Add test for videoOutput pointer
Jan 19 2020, 4:49 PM
patrickelectric committed R1034:d0a4f5136785: gstreamerintegration: Add assert for pipeline (authored by patrickelectric).
gstreamerintegration: Add assert for pipeline
Jan 19 2020, 4:49 PM

Jan 18 2020

patrickelectric committed R1034:58669f5edaeb: vehiclesupportpluginmodel: Use any_of (authored by patrickelectric).
vehiclesupportpluginmodel: Use any_of
Jan 18 2020, 4:26 PM
patrickelectric committed R1034:67af51e165c1: vehicleparameters: Add Q_UNUSED in loadDescriptionFile (authored by patrickelectric).
vehicleparameters: Add Q_UNUSED in loadDescriptionFile
Jan 18 2020, 4:26 PM
patrickelectric committed R1034:6356857d8b46: mavlink: Move GSC check to mavlinkconnection (authored by patrickelectric).
mavlink: Move GSC check to mavlinkconnection
Jan 18 2020, 4:26 PM
patrickelectric committed R1034:fc905a1b26bb: abstractvehicle: Add missing Q_INVOKABLE in setControllerGpsPosition (authored by patrickelectric).
abstractvehicle: Add missing Q_INVOKABLE in setControllerGpsPosition
Jan 18 2020, 4:25 PM
patrickelectric retitled D26752: ECMAddAppIcon: Do not warn about mac and window icons if isnt a OS specific build from ECMAddAppIcon: Do not warn about mac icons if isnt a mac build to ECMAddAppIcon: Do not warn about mac and window icons if isnt a OS specific build.
Jan 18 2020, 2:08 PM · Build System, Frameworks
patrickelectric added reviewers for D26752: ECMAddAppIcon: Do not warn about mac and window icons if isnt a OS specific build: apol, tcanabrava.
Jan 18 2020, 2:04 PM · Build System, Frameworks
patrickelectric requested review of D26752: ECMAddAppIcon: Do not warn about mac and window icons if isnt a OS specific build.
Jan 18 2020, 2:03 PM · Build System, Frameworks
patrickelectric added a reviewer for D26751: ECMAddAppIcon: Add sc in regex to extract extension from valid names: apol.
Jan 18 2020, 1:50 PM · Build System, Frameworks
patrickelectric added a comment to D26751: ECMAddAppIcon: Add sc in regex to extract extension from valid names.

From ECMInstallIcons:

Jan 18 2020, 1:46 PM · Build System, Frameworks
patrickelectric requested review of D26751: ECMAddAppIcon: Add sc in regex to extract extension from valid names.
Jan 18 2020, 1:44 PM · Build System, Frameworks

Jan 3 2020

patrickelectric committed R1034:f0646437fb8a: Vehicle: Update item to use the new role style (authored by patrickelectric).
Vehicle: Update item to use the new role style
Jan 3 2020, 1:00 PM
patrickelectric committed R1034:7810bc0980fc: mavlink: Fetch parameters and use parametermodel (authored by patrickelectric).
mavlink: Fetch parameters and use parametermodel
Jan 3 2020, 1:00 PM
patrickelectric committed R1034:4d944939c86c: vehiclesupportpluginmodel: Remove capitalized role names (authored by patrickelectric).
vehiclesupportpluginmodel: Remove capitalized role names
Jan 3 2020, 1:00 PM
patrickelectric committed R1034:7a2c48d0a59c: vehicleparameters: First version (authored by patrickelectric).
vehicleparameters: First version
Jan 3 2020, 1:00 PM

Dec 26 2019

patrickelectric committed R1034:951969814065: positionsource: Add missing periods (authored by patrickelectric).
positionsource: Add missing periods
Dec 26 2019, 10:59 PM
patrickelectric committed R1034:0a1af2d2754d: FlightControls: Use new position source from kirogi plugin (authored by patrickelectric).
FlightControls: Use new position source from kirogi plugin
Dec 26 2019, 10:21 PM
patrickelectric committed R1034:555e2f459ac0: positionsource: First version (authored by patrickelectric).
positionsource: First version
Dec 26 2019, 10:21 PM
patrickelectric committed R1034:0680e5dd8794: main: Use PositionSource (authored by patrickelectric).
main: Use PositionSource
Dec 26 2019, 10:21 PM

Dec 24 2019

patrickelectric committed R1034:1b3654c8a8b9: Merge branch 'fix_style' into 'master' (authored by patrickelectric).
Merge branch 'fix_style' into 'master'
Dec 24 2019, 5:19 PM
patrickelectric committed R1034:d669a4d0130c: mavlinkvehicle: Fix code style (authored by patrickelectric).
mavlinkvehicle: Fix code style
Dec 24 2019, 5:19 PM
patrickelectric committed R1034:df49d2825ddd: Merge branch 'position_invalidate' into 'master' (authored by patrickelectric).
Merge branch 'position_invalidate' into 'master'
Dec 24 2019, 4:38 PM
patrickelectric committed R1034:a47a080e5e8b: mavlinkvehicle: Invalidate position information if values are invalid (authored by patrickelectric).
mavlinkvehicle: Invalidate position information if values are invalid
Dec 24 2019, 4:38 PM
patrickelectric committed R1034:87921560e5d4: YawBar: Allow vehicle feedback if the vehicle is not ready to fly (authored by patrickelectric).
YawBar: Allow vehicle feedback if the vehicle is not ready to fly
Dec 24 2019, 4:38 PM
patrickelectric committed R1034:81823f0932c6: Merge branch 'remove_ready' into 'master' (authored by patrickelectric).
Merge branch 'remove_ready' into 'master'
Dec 24 2019, 4:38 PM
patrickelectric committed R1034:bb9198cda3f4: vehicle: Allow vehicle feedback if the vehicle is not ready to fly (authored by patrickelectric).
vehicle: Allow vehicle feedback if the vehicle is not ready to fly
Dec 24 2019, 4:38 PM
patrickelectric committed R1034:1ae2565fa4a4: PitchBar: Allow vehicle feedback if the vehicle is not ready to fly (authored by patrickelectric).
PitchBar: Allow vehicle feedback if the vehicle is not ready to fly
Dec 24 2019, 4:38 PM
patrickelectric committed R1034:6e3870b26e9c: FlightControls: Allow vehicle feedback if the vehicle is not ready to fly (authored by patrickelectric).
FlightControls: Allow vehicle feedback if the vehicle is not ready to fly
Dec 24 2019, 4:38 PM
patrickelectric committed R1034:3826f8e1cfbd: CMakeLists: Add DEBUG_QML option to enable QML profiller (authored by patrickelectric).
CMakeLists: Add DEBUG_QML option to enable QML profiller
Dec 24 2019, 4:37 PM
patrickelectric committed R1034:01b04b6f5210: Merge branch 'qt_debug_profiller' into 'master' (authored by patrickelectric).
Merge branch 'qt_debug_profiller' into 'master'
Dec 24 2019, 4:37 PM
patrickelectric committed R1034:a72da0ca73e7: Merge branch 'move_yaw' into 'master' (authored by patrickelectric).
Merge branch 'move_yaw' into 'master'
Dec 24 2019, 4:37 PM
patrickelectric committed R1034:f24e0072f9c4: FlightControls: Move yaw indicator if the inputMode changes visibility (authored by patrickelectric).
FlightControls: Move yaw indicator if the inputMode changes visibility
Dec 24 2019, 4:37 PM
patrickelectric committed R1034:a073ef4607a8: Merge branch 'do_not_trust_udp' into 'master' (authored by patrickelectric).
Merge branch 'do_not_trust_udp' into 'master'
Dec 24 2019, 4:36 PM
patrickelectric committed R1034:6348a7fe4752: mavlinkconnection: Do not trust UDP to set the vehicle as connected (authored by patrickelectric).
mavlinkconnection: Do not trust UDP to set the vehicle as connected
Dec 24 2019, 4:36 PM
patrickelectric committed R1034:658cfb96fa4a: Merge branch 'new_altitude' into 'master' (authored by patrickelectric).
Merge branch 'new_altitude' into 'master'
Dec 24 2019, 4:36 PM
patrickelectric committed R1034:327caaf8d896: mavlinkvehicle: Use global_position_int if altitude messages is not valid (authored by patrickelectric).
mavlinkvehicle: Use global_position_int if altitude messages is not valid
Dec 24 2019, 4:36 PM
patrickelectric committed R1034:3497b86093c5: FlightControls: Set yaw property (authored by patrickelectric).
FlightControls: Set yaw property
Dec 24 2019, 2:58 AM
patrickelectric committed R1034:79a4ded6a444: FlightControls: Remove limit checks (authored by patrickelectric).
FlightControls: Remove limit checks
Dec 24 2019, 2:57 AM

Dec 23 2019

patrickelectric added a comment to D26130: Simplify return logic.

This is pointless, most compilers would do NRVO (+ move assign) here... which would be neatly obliterated by the ternary operator. This is a pessimisation you're proposing here, not an optimization.

I don't know what you are talking about, this is using return time optimization. have you tested the code or just assumed that ternaries will not do NRVO?

OK, let me try again.

I did benchmark old and new before my first reply (and I wonder why I wrote pessimisation previously, I think I got carried away a bit, apologies). What I meant was that: if and when there is a small measurable gain, I don't think it is as dramatic as you make it sound. The point I was trying to make was that since the ternary will prevent NRVO, you're trading one return optimization (NRVO) for another (RVO). In other words, the same amount of objects will be involved. It's far from the "there was no return optimization now there's one" that I understood you're trumping. Thus the gain between the two versions when there is, is unlikely to come from RVO. It is mostly about avoiding the move assignment in the newer version (roughly a couple pointers copy).

Now, the really interesting bit you did is wrapping "d->" in QStringLiteral, that's what gives a large gain for the dpointer case (when I did the benchmarking I did it with QStringLiteral in both versions, otherwise I knew it was just unfair).

Obviously I'd be totally cool with just a QStringLiteral change since it would have real value (divides time by three roughly, this is definitely a large gain).

Dec 23 2019, 8:55 PM · Frameworks
patrickelectric committed R1034:40e25611e4b3: parrot: Use pragma once (authored by patrickelectric).
parrot: Use pragma once
Dec 23 2019, 4:42 PM
patrickelectric committed R1034:d502a90b184d: ryzetello: Use pragma once (authored by patrickelectric).
ryzetello: Use pragma once
Dec 23 2019, 4:42 PM
patrickelectric committed R1034:c0f4d0320513: src: Use pragma once (authored by patrickelectric).
src: Use pragma once
Dec 23 2019, 4:42 PM
patrickelectric committed R1034:6c55ef2078bd: lib: Use pragma once (authored by patrickelectric).
lib: Use pragma once
Dec 23 2019, 4:42 PM
patrickelectric committed R1034:69d4699bd707: gstreamer: Use pragma once (authored by patrickelectric).
gstreamer: Use pragma once
Dec 23 2019, 4:42 PM
patrickelectric committed R1034:8a6160c6bea0: PitchBar: Fix readonly usage (authored by patrickelectric).
PitchBar: Fix readonly usage
Dec 23 2019, 4:41 PM
patrickelectric committed R1034:31352a8d435a: README: Update MAVLink information (authored by patrickelectric).
README: Update MAVLink information
Dec 23 2019, 4:26 PM
patrickelectric committed R1034:6823704d9b02: CMakelists: Add BUILD_MAVLINNK option (authored by patrickelectric).
CMakelists: Add BUILD_MAVLINNK option
Dec 23 2019, 4:26 PM
patrickelectric committed R1034:8df091445576: FlightControls: Add YawBar (authored by patrickelectric).
FlightControls: Add YawBar
Dec 23 2019, 4:00 PM
patrickelectric committed R1034:932483a3fe6f: Add YawBar component (authored by patrickelectric).
Add YawBar component
Dec 23 2019, 4:00 PM
patrickelectric committed R1034:d917262a2bbf: gitignore: First commit (authored by patrickelectric).
gitignore: First commit
Dec 23 2019, 3:58 PM
patrickelectric committed R1034:95f021b06145: VirtualHorizon: Use Item to clip circle (authored by patrickelectric).
VirtualHorizon: Use Item to clip circle
Dec 23 2019, 2:46 AM
patrickelectric committed R1034:4a1657247877: PitchBar: Improve design (authored by patrickelectric).
PitchBar: Improve design
Dec 23 2019, 2:25 AM
patrickelectric committed R1034:6c829a0f08ed: mavlink: Plugin first version (authored by patrickelectric).
mavlink: Plugin first version
Dec 23 2019, 2:20 AM

Dec 22 2019

patrickelectric committed R1034:da07afdecf59: CMakeLists: Add KDEClangFormat (authored by patrickelectric).
CMakeLists: Add KDEClangFormat
Dec 22 2019, 9:20 PM
patrickelectric committed R1034:078ff5ec5058: Format code with new provided ECM clang-format target (authored by patrickelectric).
Format code with new provided ECM clang-format target
Dec 22 2019, 9:20 PM
patrickelectric committed R1034:a6d53089c5cf: main: Add author Patrick (authored by patrickelectric).
main: Add author Patrick
Dec 22 2019, 8:47 PM
patrickelectric committed R1034:490bd95ecbb2: AUTHORS: Add Patrick (authored by patrickelectric).
AUTHORS: Add Patrick
Dec 22 2019, 8:47 PM

Dec 20 2019

patrickelectric accepted D26130: Simplify return logic.
Dec 20 2019, 7:41 PM · Frameworks
patrickelectric added inline comments to D26131: Braces around for, break early..
Dec 20 2019, 7:40 PM · Frameworks

Dec 15 2019

patrickelectric committed R1034:ef3d2c9f1b89: FlighControls: Show roll and pitch indicator if vehicle is not flying (authored by patrickelectric).
FlighControls: Show roll and pitch indicator if vehicle is not flying
Dec 15 2019, 3:19 PM
patrickelectric committed R1034:5e83486ff5dd: FlighControls: Show altitude information when vehicle is not flying (authored by patrickelectric).
FlighControls: Show altitude information when vehicle is not flying
Dec 15 2019, 3:19 PM
patrickelectric committed R1034:e1797fc74b66: FlightControls: Send interface joystick signals when the vehicle is not flying (authored by patrickelectric).
FlightControls: Send interface joystick signals when the vehicle is not flying
Dec 15 2019, 3:00 PM
patrickelectric committed R1034:f1c42e1bf471: Gamepad: Improve gamepad signal logic (authored by patrickelectric).
Gamepad: Improve gamepad signal logic
Dec 15 2019, 3:00 PM
patrickelectric committed R1034:fd85177913f2: vehiclesupportpluginmodel: Look for plugins in relative path (authored by patrickelectric).
vehiclesupportpluginmodel: Look for plugins in relative path
Dec 15 2019, 2:57 PM
patrickelectric committed R1034:377adc5ac983: main: Add relative path for lib/qml to avoid unnecessary system installation (authored by patrickelectric).
main: Add relative path for lib/qml to avoid unnecessary system installation
Dec 15 2019, 2:57 PM

Sep 21 2019

patrickelectric committed R232:045684197b8f: Merge branch 'ReadMeUpdates' into 'master' (authored by patrickelectric).
Merge branch 'ReadMeUpdates' into 'master'
Sep 21 2019, 1:22 PM

Aug 28 2019

patrickelectric committed R1034:643fbeeecd61: main: Check if object is valid before accessing it (authored by patrickelectric).
main: Check if object is valid before accessing it
Aug 28 2019, 9:43 PM

Aug 25 2019

patrickelectric accepted D23455: Fix Crash on Tab Close.
Aug 25 2019, 9:03 PM · Atelier: General Development

Aug 17 2019

patrickelectric accepted D22927: Clean up detection of plugins..
Aug 17 2019, 1:07 PM · Atelier: AtCore

Aug 12 2019

patrickelectric committed R1034:01d71470196c: main: Update position without a connected device (authored by patrickelectric).
main: Update position without a connected device
Aug 12 2019, 5:45 AM

Aug 11 2019

patrickelectric committed R1034:46df5a68a886: main: Check if there is item before setWindow call for player (authored by patrickelectric).
main: Check if there is item before setWindow call for player
Aug 11 2019, 1:55 AM

Aug 5 2019

patrickelectric accepted D22931: Safer MachineInfo Key Reads.
Aug 5 2019, 11:52 AM · Atelier: AtCore