Branch: master

55e9906b 2014-04-24 20:33:06 Timothy Pearson
Add timebase controls to scope part
Build debug symbols package
M clients/tde/debian/control
M clients/tde/debian/rules
M clients/tde/src/part/logicanalyzer/Makefile.in
M clients/tde/src/part/scope/layout.ui
M clients/tde/src/part/scope/part.cpp
M clients/tde/src/part/scope/part.h
M clients/tde/src/widgets/tracewidget.cpp
M servers/gpib_server_lin/src/scope_functions.cpp
diff --git a/clients/tde/debian/control b/clients/tde/debian/control
index 85a06f6..8739149 100644
--- a/clients/tde/debian/control
+++ b/clients/tde/debian/control
@@ -12,3 +12,13 @@
 Recommends: kerberostray-trinity
 Description: remote laboratory client [Trinity]
  Remote Laboratory Client for Trinity
+
+Package: remote-laboratory-client-trinity-dbg
+Section: devel
+Architecture: any
+Priority: extra
+Depends: remote-laboratory-client-trinity (= ${binary:Version}), tdelibs-trinity-dbg
+Description: debugging symbols for the Remote Laboratory Client [Trinity]
+ This package contains the debugging symbols associated with remote-laboratory-client-trinity.
+ They will automatically be used by gdb for debugging remote-laboratory-client-trinity-related
+ issues.
diff --git a/clients/tde/debian/rules b/clients/tde/debian/rules
index 1f58c4a..0316512 100755
--- a/clients/tde/debian/rules
+++ b/clients/tde/debian/rules
@@ -7,6 +7,7 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include debian/cdbs/kde.mk
 include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/cdbs/1/rules/utils.mk
 
 DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
 DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
@@ -17,7 +18,7 @@
 
 DEB_DH_ALWAYS_EXCLUDE=.svn
 
-DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --disable-debug
+DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
 
 post-patches:: debian/stamp-bootstrap
 
@@ -27,7 +28,7 @@
 	! [ -f /usr/share/libtool/config/ltmain.sh ] || \
 		cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
 	cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
-	
+
 	make -f admin/Makefile.common cvs
 	touch debian/stamp-bootstrap
 
diff --git a/clients/tde/src/part/logicanalyzer/Makefile.in b/clients/tde/src/part/logicanalyzer/Makefile.in
index e8301f4..38470dd 100644
--- a/clients/tde/src/part/logicanalyzer/Makefile.in
+++ b/clients/tde/src/part/logicanalyzer/Makefile.in
@@ -1,10 +1,10 @@
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
+# Makefile.in generated by automake 1.11 from Makefile.am.
 # KDE tags expanded automatically by am_edit - $Revision$ 
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
+# Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -17,23 +17,6 @@
 @SET_MAKE@
 
 VPATH = @srcdir@
-am__make_dryrun = \
-  { \
-    am__dry=no; \
-    case $$MAKEFLAGS in \
-      *\\[\ \	]*) \
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
-      *) \
-        for am__flg in $$MAKEFLAGS; do \
-          case $$am__flg in \
-            *=*|--*) ;; \
-            *n*) am__dry=yes; break;; \
-          esac; \
-        done;; \
-    esac; \
-    test $$am__dry = yes; \
-  }
 pkgdatadir = $(datadir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
@@ -85,12 +68,6 @@
 am__base_list = \
   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__uninstall_files_from_dir = { \
-  test -z "$$files" \
-    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
-    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
-         $(am__cd) "$$dir" && rm -f $$files; }; \
-  }
 am__installdirs = "$(DESTDIR)$(kde_moduledir)"
 LTLIBRARIES = $(kde_module_LTLIBRARIES)
 am__DEPENDENCIES_1 =
@@ -141,11 +118,6 @@
 	$(LDFLAGS) -o $@
 SOURCES = $(libremotelab_logicanalyzer_la_SOURCES)
 DIST_SOURCES = $(libremotelab_logicanalyzer_la_SOURCES)
-am__can_run_installinfo = \
-  case $$AM_UPDATE_INFO_DIR in \
-    n|no|NO) false;; \
-    *) (install-info --version) >/dev/null 2>&1;; \
-  esac
 ETAGS = etags
 CTAGS = ctags
 #>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -177,7 +149,6 @@
 DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
 DEFS = @DEFS@
 DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
 DOXYGEN = @DOXYGEN@
 DOXYGEN_PROJECT_NAME = @DOXYGEN_PROJECT_NAME@
 DOXYGEN_PROJECT_NUMBER = @DOXYGEN_PROJECT_NUMBER@
@@ -276,7 +247,6 @@
 LTLIBOBJS = @LTLIBOBJS@
 MAKEINFO = @MAKEINFO@
 MAKETDEWIDGETS = @MAKETDEWIDGETS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
 MCOPIDL = @MCOPIDL@
 MEINPROC = @MEINPROC@
 MKDIR_P = @MKDIR_P@
@@ -295,7 +265,6 @@
 PACKAGE_NAME = @PACKAGE_NAME@
 PACKAGE_STRING = @PACKAGE_STRING@
 PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
 PACKAGE_VERSION = @PACKAGE_VERSION@
 PATH_SEPARATOR = @PATH_SEPARATOR@
 PERL = @PERL@
@@ -336,7 +305,6 @@
 abs_srcdir = @abs_srcdir@
 abs_top_builddir = @abs_top_builddir@
 abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
@@ -394,6 +362,7 @@
 libexecdir = @libexecdir@
 localedir = @localedir@
 localstatedir = @localstatedir@
+lt_ECHO = @lt_ECHO@
 mandir = @mandir@
 mkdir_p = @mkdir_p@
 oldincludedir = @oldincludedir@
@@ -487,6 +456,7 @@
 $(am__aclocal_m4_deps):
 install-kde_moduleLTLIBRARIES: $(kde_module_LTLIBRARIES)
 	@$(NORMAL_INSTALL)
+	test -z "$(kde_moduledir)" || $(MKDIR_P) "$(DESTDIR)$(kde_moduledir)"
 	@list='$(kde_module_LTLIBRARIES)'; test -n "$(kde_moduledir)" || list=; \
 	list2=; for p in $$list; do \
 	  if test -f $$p; then \
@@ -494,8 +464,6 @@
 	  else :; fi; \
 	done; \
 	test -z "$$list2" || { \
-	  echo " $(MKDIR_P) '$(DESTDIR)$(kde_moduledir)'"; \
-	  $(MKDIR_P) "$(DESTDIR)$(kde_moduledir)" || exit 1; \
 	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(kde_moduledir)'"; \
 	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(kde_moduledir)"; \
 	}
@@ -517,7 +485,7 @@
 	  echo "rm -f \"$${dir}/so_locations\""; \
 	  rm -f "$${dir}/so_locations"; \
 	done
-libremotelab_logicanalyzer.la: $(libremotelab_logicanalyzer_la_OBJECTS) $(libremotelab_logicanalyzer_la_DEPENDENCIES) $(EXTRA_libremotelab_logicanalyzer_la_DEPENDENCIES) 
+libremotelab_logicanalyzer.la: $(libremotelab_logicanalyzer_la_OBJECTS) $(libremotelab_logicanalyzer_la_DEPENDENCIES) 
 	$(libremotelab_logicanalyzer_la_LINK) -rpath $(kde_moduledir) $(libremotelab_logicanalyzer_la_OBJECTS) $(libremotelab_logicanalyzer_la_LIBADD) $(LIBS)
 
 mostlyclean-compile:
@@ -654,15 +622,10 @@
 
 installcheck: installcheck-am
 install-strip:
-	if test -z '$(STRIP)'; then \
-	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-	      install; \
-	else \
-	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-	fi
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
 mostlyclean-generic:
 
 clean-generic:
diff --git a/clients/tde/src/part/scope/layout.ui b/clients/tde/src/part/scope/layout.ui
index b81f97b..f680d86 100644
--- a/clients/tde/src/part/scope/layout.ui
+++ b/clients/tde/src/part/scope/layout.ui
@@ -104,6 +104,11 @@
 							</widget>
 							<widget class="TQWidget" row="1" column="0" colspan="2">
 								<property name="name">
+									<cstring>timebaseControlLayoutWidget</cstring>
+								</property>
+							</widget>
+							<widget class="TQWidget" row="2" column="0" colspan="2">
+								<property name="name">
 									<cstring>traceControlLayoutWidget</cstring>
 								</property>
 							</widget>
@@ -151,6 +156,24 @@
 							</widget>
 						</grid>
 					</widget>
+					<widget class="TQGroupBox" row="2" column="1">
+						<property name="name">
+							<cstring>groupOscilloscopeTestNotes</cstring>
+						</property>
+						<property name="title">
+							<string>Notes</string>
+						</property>
+						<grid>
+							<widget class="KTextEdit" row="0" column="0" colspan="1">
+								<property name="name">
+									<cstring>userNotes</cstring>
+								</property>
+								<property name="text">
+									<string></string>
+								</property>
+							</widget>
+						</grid>
+					</widget>
 				</grid>
 			</widget>
 		</grid>
diff --git a/clients/tde/src/part/scope/part.cpp b/clients/tde/src/part/scope/part.cpp
index 15fc12f..f61e8a9 100644
--- a/clients/tde/src/part/scope/part.cpp
+++ b/clients/tde/src/part/scope/part.cpp
@@ -30,6 +30,7 @@
 #include <tdefiledialog.h>
 #include <tdeparts/genericfactory.h>
 #include <kstatusbar.h>
 ** Diff limit reached (max: 250 lines) **