From 528615a9d77eeaec508ded0d2b74ce27ac16a41b Mon Sep 17 00:00:00 2001 From: Erwin Lejeune Date: Wed, 5 Aug 2020 15:32:03 +0200 Subject: [PATCH 1/3] correct typo in attribute consts --- constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/constants.go b/constants.go index 3e2e7f7..46f43c3 100644 --- a/constants.go +++ b/constants.go @@ -325,7 +325,7 @@ const ( AttributePrinterInfo = "printer-info" AttributePrinterLocation = "printer-location" AttributePrinterName = "printer-name" - AttributePrinterStateReason = "printer-state-reason" + AttributePrinterStateReasons = "printer-state-reasons" AttributeJobPrinterURI = "job-printer-uri" AttributeMemberURIs = "member-uris" AttributeDocumentNumber = "document-number" From cbbd7226c22c37e4ffd91fdf590f03ad0e587b85 Mon Sep 17 00:00:00 2001 From: Erwin Lejeune Date: Wed, 5 Aug 2020 15:34:58 +0200 Subject: [PATCH 2/3] use new attribute name in default printer attributes --- .vscode/c_cpp_properties.json | 17 +++++++++++++++++ .vscode/settings.json | 5 +++++ constants.go | 4 ++-- 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 .vscode/c_cpp_properties.json create mode 100644 .vscode/settings.json diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..2d519ad --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,17 @@ +{ + "configurations": [ + { + "browse": { + "databaseFilename": "", + "limitSymbolsToIncludedHeaders": true + }, + "includePath": [ + "/opt/ros/melodic/include/**", + "/home/erwin/catkin_ws/src/ros-xenomai-bridge/ros_nrt/reactive_navigation/include/**", + "/home/erwin/catkin_ws/src/ros-xenomai-bridge/ros_nrt/xddp_utilities/include/**", + "/usr/include/**" + ], + "name": "ROS" + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..a560512 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "python.autoComplete.extraPaths": [ + "/opt/ros/melodic/lib/python2.7/dist-packages" + ] +} \ No newline at end of file diff --git a/constants.go b/constants.go index 46f43c3..21e0c12 100644 --- a/constants.go +++ b/constants.go @@ -325,7 +325,7 @@ const ( AttributePrinterInfo = "printer-info" AttributePrinterLocation = "printer-location" AttributePrinterName = "printer-name" - AttributePrinterStateReasons = "printer-state-reasons" + AttributePrinterStateReasons = "printer-state-reasons" AttributeJobPrinterURI = "job-printer-uri" AttributeMemberURIs = "member-uris" AttributeDocumentNumber = "document-number" @@ -357,7 +357,7 @@ const ( var ( DefaultClassAttributes = []string{AttributePrinterName, AttributeMemberNames} DefaultPrinterAttributes = []string{AttributePrinterName, AttributePrinterType, AttributePrinterLocation, AttributePrinterInfo, - AttributePrinterMarkAndModel, AttributePrinterState, AttributePrinterStateMessage, AttributePrinterStateReason, + AttributePrinterMarkAndModel, AttributePrinterState, AttributePrinterStateMessage, AttributePrinterStateReasons, AttributePrinterUriSupported, AttributeDeviceURI, AttributePrinterIsShared} DefaultJobAttributes = []string{AttributeJobID, AttributeJobName, AttributePrinterURI, AttributeJobState, AttributeJobStateReason, AttributeJobHoldUntil, AttributeJobMediaProgress, AttributeJobKilobyteOctets, AttributeNumberOfDocuments, AttributeCopies, From 93eb75528d32efb549c4a47d1e8e483c2e6e62fe Mon Sep 17 00:00:00 2001 From: Erwin Lejeune Date: Wed, 5 Aug 2020 15:35:22 +0200 Subject: [PATCH 3/3] remove .vscode --- .vscode/c_cpp_properties.json | 17 ----------------- .vscode/settings.json | 5 ----- 2 files changed, 22 deletions(-) delete mode 100644 .vscode/c_cpp_properties.json delete mode 100644 .vscode/settings.json diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json deleted file mode 100644 index 2d519ad..0000000 --- a/.vscode/c_cpp_properties.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "configurations": [ - { - "browse": { - "databaseFilename": "", - "limitSymbolsToIncludedHeaders": true - }, - "includePath": [ - "/opt/ros/melodic/include/**", - "/home/erwin/catkin_ws/src/ros-xenomai-bridge/ros_nrt/reactive_navigation/include/**", - "/home/erwin/catkin_ws/src/ros-xenomai-bridge/ros_nrt/xddp_utilities/include/**", - "/usr/include/**" - ], - "name": "ROS" - } - ] -} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index a560512..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "python.autoComplete.extraPaths": [ - "/opt/ros/melodic/lib/python2.7/dist-packages" - ] -} \ No newline at end of file