- Update to version 0.7.0

PR:		60939
Submitted by:	Ports Fury
This commit is contained in:
Kirill Ponomarev 2004-01-05 17:12:16 +00:00
parent a8b8eb0b03
commit 587486b6b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97375
22 changed files with 4 additions and 263 deletions

View File

@ -7,7 +7,7 @@
#
PORTNAME= viewklass
PORTVERSION= 0.6.0
PORTVERSION= 0.7.0
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

View File

@ -1 +1 @@
MD5 (ViewKlass-0.6.0.tar.gz) = 90395d31bda325f312d645c1ffaec48b
MD5 (ViewKlass-0.7.0.tar.gz) = c9d8897173cc18bd668949eef6907a56

View File

@ -1,12 +0,0 @@
--- ./Vk/VkAlignmentGroup.h.orig Wed Jul 23 02:43:07 2003
+++ ./Vk/VkAlignmentGroup.h Wed Jul 23 02:45:35 2003
@@ -24,6 +24,9 @@
#include <Vk/VkWidgetList.h>
#include <Vk/VkOptionMenu.h>
+#include <iostream>
+
+using std::ostream;
class VkAlignmentGroup : public VkWidgetList {
public:

View File

@ -1,12 +0,0 @@
--- ./Vk/VkCallbackList.h.orig Wed Jul 23 02:06:54 2003
+++ ./Vk/VkCallbackList.h Wed Jul 23 02:07:15 2003
@@ -44,6 +44,9 @@
#include <Vk/VkComponent.h>
#include <Vk/VkCallbackObject.h>
+using std::vector;
+using std::string;
+
struct VkCallbackListEntry {
enum CallbackType type;
VkCallbackObject *component;

View File

@ -1,11 +0,0 @@
--- ./Vk/VkCallbackObject.h.orig Wed Jul 23 02:07:33 2003
+++ ./Vk/VkCallbackObject.h Wed Jul 23 02:07:48 2003
@@ -42,6 +42,8 @@
#include <Vk/VkConfig.h>
+using std::vector;
+
class VkCallbackObject;
typedef void (VkCallbackObject::*VkCallbackMethod)(

View File

@ -1,24 +0,0 @@
--- ./Vk/VkComponentList.h.orig Wed Jul 23 02:09:51 2003
+++ ./Vk/VkComponentList.h Wed Jul 23 02:18:22 2003
@@ -41,6 +41,8 @@
#include <Vk/VkConfig.h>
+using std::vector;
+
class VkComponent;
class VkComponentList {
@@ -59,10 +61,10 @@
VkComponent* operator[](int indx) const { return elements[indx]; }
void insert(int pos, VkComponent* c)
- { elements.insert(&elements[pos], c); }
+ { elements.insert(elements.begin () + pos, c); }
void remove(int pos)
- { elements.erase(&elements[pos]); }
+ { elements.erase(elements.begin () + pos); }
private:
vector<VkComponent*> elements;

View File

@ -1,11 +0,0 @@
--- ./Vk/VkDialogManager.h.orig Wed Jul 23 02:13:42 2003
+++ ./Vk/VkDialogManager.h Wed Jul 23 02:13:57 2003
@@ -49,6 +49,8 @@
#include <Vk/VkResource.h>
#include <Vk/VkSimpleWindow.h>
+using std::string;
+
class VkDialogManager : public VkComponent {
public:
typedef enum {OK, APPLY, CANCEL} VkDialogReason;

View File

@ -1,11 +0,0 @@
--- ./Vk/VkMenuItem.h.orig Wed Jul 23 02:22:17 2003
+++ ./Vk/VkMenuItem.h Wed Jul 23 02:22:29 2003
@@ -41,6 +41,8 @@
#include <Vk/VkComponent.h>
#include <Vk/VkWidgetList.h>
+using std::string;
+
typedef enum {ACTION, ACTIONWIDGET, CONFIRMFIRSTACTION, TOGGLE, LABEL,
SEPARATOR, SUBMENU, RADIOSUBMENU, BAR, OPTION, POPUP, OBJECT,
END} VkMenuItemType;

View File

@ -1,12 +0,0 @@
--- ./Vk/VkNameList.h.orig Wed Jul 23 02:23:57 2003
+++ ./Vk/VkNameList.h Wed Jul 23 02:24:28 2003
@@ -43,6 +43,9 @@
#include <Xm/Xm.h>
#include <Vk/VkConfig.h>
+using std::vector;
+using std::string;
+
class VkNameList {
public:
VkNameList();

View File

@ -1,11 +0,0 @@
--- ./Vk/VkPrefItem.h.orig Wed Jul 23 02:40:46 2003
+++ ./Vk/VkPrefItem.h Wed Jul 23 02:41:01 2003
@@ -45,6 +45,8 @@
#include <string>
+using std::string;
+
class VkPrefItem : public VkComponent {
public:
enum VkPrefItemType {PI_group, PI_list, PI_radio, PI_text, PI_toggle,

View File

@ -1,11 +0,0 @@
--- ./VkAlignmentGroup.C.orig Wed Jul 23 02:44:15 2003
+++ ./VkAlignmentGroup.C Wed Jul 23 02:45:22 2003
@@ -36,6 +36,8 @@
#include <Vk/VkAlignmentGroup.h>
+using std::endl;
+
VkAlignmentGroup::VkAlignmentGroup()
: VkWidgetList(),
_maxWidth(0),

View File

@ -1,12 +0,0 @@
--- ./VkCallbackObject.C.orig Wed Jul 23 02:08:26 2003
+++ ./VkCallbackObject.C Wed Jul 23 02:09:04 2003
@@ -45,6 +45,9 @@
#include <Vk/VkCallbackObject.h>
#include <Vk/VkCallbackList.h>
+using std::cerr;
+using std::endl;
+
VkCallbackObject::VkCallbackObject()
{
}

View File

@ -1,13 +0,0 @@
--- ./VkComponent.C.orig Wed Jul 23 02:12:18 2003
+++ ./VkComponent.C Wed Jul 23 02:13:09 2003
@@ -46,6 +46,10 @@
#include <Vk/VkComponent.h>
#include <Vk/VkApp.h>
+using std::string;
+using std::cerr;
+using std::endl;
+
const char *const VkComponent::deleteCallback = "VkComponentDeleteCallback";
VkComponent::VkComponent(const char *name)

View File

@ -1,11 +0,0 @@
--- ./VkNameList.C.orig Wed Jul 23 02:39:09 2003
+++ ./VkNameList.C Wed Jul 23 02:39:23 2003
@@ -105,7 +105,7 @@
}
void
-VkNameList::remove(int index, int count=1)
+VkNameList::remove(int index, int count)
{
_contents.erase(_contents.begin() + index,
_contents.begin() + index + count);

View File

@ -1,11 +0,0 @@
--- ./VkPipe.C.orig Wed Jul 23 02:33:13 2003
+++ ./VkPipe.C Wed Jul 23 03:05:28 2003
@@ -67,7 +67,7 @@
_input->attach(pipefd[0], XtInputReadMask);
_input->addCallback(VkInput::inputCallback,
this,
- (VkCallbackMethod)&(VkPipe::handleInput));
+ (VkCallbackMethod)(&VkPipe::handleInput));
}
VkPipe::~VkPipe()

View File

@ -1,13 +0,0 @@
--- ./VkPrefRadio.C.orig Wed Jul 23 02:42:07 2003
+++ ./VkPrefRadio.C Wed Jul 23 02:42:38 2003
@@ -40,6 +40,10 @@
#include <Xm/Form.h>
#include <Vk/VkPrefRadio.h>
+#include <iostream>
+
+using std::cerr;
+using std::endl;
// A VkPrefRadio is a vertical VkPrefGroup with no label
VkPrefRadio::VkPrefRadio(const char *name,

View File

@ -1,31 +0,0 @@
--- ./VkRadioGroup.C.orig Wed Jul 23 02:25:08 2003
+++ ./VkRadioGroup.C Wed Jul 23 02:31:58 2003
@@ -47,11 +47,15 @@
#include <Xm/ToggleBG.h>
#include <Xm/PushB.h>
#include <Xm/PushBG.h>
+#include <iostream>
+
+using std::cerr;
+using std::endl;
VkRadioGroup::VkRadioGroup()
: VkWidgetList()
{
- _currentlySelected = 0;
+ //_currentlySelected = 0;
}
void
@@ -77,9 +81,9 @@
void
VkRadioGroup::remove(Widget item)
{
- if (*_currentlySelected == item)
+ /*if (*_currentlySelected == item)
_currentlySelected = 0;
- else if (_currentlySelected > VkWidgetList::find(item))
+ else */ if (_currentlySelected > VkWidgetList::find(item))
_currentlySelected --;
XtRemoveCallback(item, XmNvalueChangedCallback,

View File

@ -1,13 +0,0 @@
--- ./VkSimpleWindow.C.orig Wed Jul 23 02:18:56 2003
+++ ./VkSimpleWindow.C Wed Jul 23 02:20:37 2003
@@ -44,6 +44,10 @@
#include <X11/Xutil.h>
#include <X11/Xmu/Editres.h>
+using std::cerr;
+using std::endl;
+using std::exception;
+
static char* rcsid
#ifdef __GNUC__
__attribute__ ((unused))

View File

@ -1,13 +0,0 @@
--- ./VkSubProcess.C.orig Wed Jul 23 02:39:49 2003
+++ ./VkSubProcess.C Wed Jul 23 02:40:21 2003
@@ -40,6 +40,10 @@
#include <signal.h>
#include <stdio.h>
#include <unistd.h> // for exec*
+#include <iostream>
+
+using std::cerr;
+using std::endl;
VkSubProcess::VkSubProcess(char *prog,
VkNameList *given,

View File

@ -1,16 +0,0 @@
--- VkTrace.C.orig Thu Jul 11 08:46:58 2002
+++ VkTrace.C Wed Jul 23 03:22:53 2003
@@ -28,8 +28,13 @@
#include <stdio.h>
#include <time.h>
#include <string.h>
+#include <stdarg.h>
#include <Vk/VkTrace.h>
+#include <fstream>
+
+using std::ofstream;
+using std::endl;
ofstream* vkTraceOut = 0;

View File

@ -1,13 +0,0 @@
--- ./VkWindow.C.orig Wed Jul 23 02:21:06 2003
+++ ./VkWindow.C Wed Jul 23 02:21:39 2003
@@ -42,6 +42,10 @@
#include <Vk/VkWindow.h>
#include <iostream.h>
+using std::cerr;
+using std::endl;
+using std::exception;
+
VkWindow::VkWindow(const char* name,
ArgList args,
Cardinal argCount)

View File

@ -34,11 +34,13 @@ include/Vk/VkMenuLabel.h
include/Vk/VkMenuSeparator.h
include/Vk/VkMenuToggle.h
include/Vk/VkMenuUndoManager.h
include/Vk/VkMessageDialog.h
include/Vk/VkModel.h
include/Vk/VkNameList.h
include/Vk/VkOptionMenu.h
include/Vk/VkPeriodic.h
include/Vk/VkPipe.h
include/Vk/VkPixmap.h
include/Vk/VkPopupMenu.h
include/Vk/VkPrefCustom.h
include/Vk/VkPrefDialog.h