Revision: 76414
          http://sourceforge.net/p/brlcad/code/76414
Author:   starseeker
Date:     2020-07-22 13:13:48 +0000 (Wed, 22 Jul 2020)
Log Message:
-----------
Another milestone - make regress now passes.

Modified Paths:
--------------
    brlcad/branches/gedplugins/src/libged/copy/copy.c
    brlcad/branches/gedplugins/src/libged/group/group.c
    brlcad/branches/gedplugins/src/libged/include/plugin.h
    brlcad/branches/gedplugins/src/libged/move/move.c
    brlcad/branches/gedplugins/src/libged/region/region.c
    brlcad/branches/gedplugins/src/libged/view/view.c

Modified: brlcad/branches/gedplugins/src/libged/copy/copy.c
===================================================================
--- brlcad/branches/gedplugins/src/libged/copy/copy.c   2020-07-22 13:01:29 UTC 
(rev 76413)
+++ brlcad/branches/gedplugins/src/libged/copy/copy.c   2020-07-22 13:13:48 UTC 
(rev 76414)
@@ -83,17 +83,16 @@
 
 #ifdef GED_PLUGIN
 #include "../include/plugin.h"
-struct ged_cmd_impl copy_cmd_impl = {
-    "copy",
-    ged_copy_core,
-    GED_CMD_DEFAULT
-};
-
+struct ged_cmd_impl copy_cmd_impl = {"copy", ged_copy_core, GED_CMD_DEFAULT};
 const struct ged_cmd copy_cmd = { &copy_cmd_impl };
-const struct ged_cmd *copy_cmds[] = { &copy_cmd, NULL };
 
-static const struct ged_plugin pinfo = { copy_cmds, 1 };
+struct ged_cmd_impl cp_cmd_impl = {"cp", ged_copy_core, GED_CMD_DEFAULT};
+const struct ged_cmd cp_cmd = { &cp_cmd_impl };
 
+const struct ged_cmd *copy_cmds[] = { &copy_cmd, &cp_cmd, NULL };
+
+static const struct ged_plugin pinfo = { copy_cmds, 2 };
+
 COMPILER_DLLEXPORT const struct ged_plugin *ged_plugin_info()
 {
     return &pinfo;

Modified: brlcad/branches/gedplugins/src/libged/group/group.c
===================================================================
--- brlcad/branches/gedplugins/src/libged/group/group.c 2020-07-22 13:01:29 UTC 
(rev 76413)
+++ brlcad/branches/gedplugins/src/libged/group/group.c 2020-07-22 13:13:48 UTC 
(rev 76414)
@@ -62,17 +62,16 @@
 
 #ifdef GED_PLUGIN
 #include "../include/plugin.h"
-struct ged_cmd_impl group_cmd_impl = {
-    "group",
-    ged_group_core,
-    GED_CMD_DEFAULT
-};
-
+struct ged_cmd_impl group_cmd_impl = {"group", ged_group_core, 
GED_CMD_DEFAULT};
 const struct ged_cmd group_cmd = { &group_cmd_impl };
-const struct ged_cmd *group_cmds[] = { &group_cmd, NULL };
 
-static const struct ged_plugin pinfo = { group_cmds, 1 };
+struct ged_cmd_impl g_cmd_impl = {"g", ged_group_core, GED_CMD_DEFAULT};
+const struct ged_cmd g_cmd = { &g_cmd_impl };
 
+const struct ged_cmd *group_cmds[] = { &group_cmd, &g_cmd, NULL };
+
+static const struct ged_plugin pinfo = { group_cmds, 2 };
+
 COMPILER_DLLEXPORT const struct ged_plugin *ged_plugin_info()
 {
     return &pinfo;

Modified: brlcad/branches/gedplugins/src/libged/include/plugin.h
===================================================================
--- brlcad/branches/gedplugins/src/libged/include/plugin.h      2020-07-22 
13:01:29 UTC (rev 76413)
+++ brlcad/branches/gedplugins/src/libged/include/plugin.h      2020-07-22 
13:13:48 UTC (rev 76414)
@@ -1,3 +1,28 @@
+/*                        P L U G I N . H
+ * BRL-CAD
+ *
+ * Copyright (c) 2020 United States Government as represented by
+ * the U.S. Army Research Laboratory.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this file; see the file named COPYING for more
+ * information.
+ */
+/** @file plugin.h
+ *
+ * Brief description
+ *
+ */
+
 #include "../ged_private.h"
 
 extern void *ged_cmds;

Modified: brlcad/branches/gedplugins/src/libged/move/move.c
===================================================================
--- brlcad/branches/gedplugins/src/libged/move/move.c   2020-07-22 13:01:29 UTC 
(rev 76413)
+++ brlcad/branches/gedplugins/src/libged/move/move.c   2020-07-22 13:13:48 UTC 
(rev 76414)
@@ -124,17 +124,17 @@
 
 #ifdef GED_PLUGIN
 #include "../include/plugin.h"
-struct ged_cmd_impl move_cmd_impl = {
-    "move",
-    ged_move_core,
-    GED_CMD_DEFAULT
-};
 
+struct ged_cmd_impl move_cmd_impl = {"move", ged_move_core, GED_CMD_DEFAULT};
 const struct ged_cmd move_cmd = { &move_cmd_impl };
-const struct ged_cmd *move_cmds[] = { &move_cmd, NULL };
 
-static const struct ged_plugin pinfo = { move_cmds, 1 };
+struct ged_cmd_impl mv_cmd_impl = {"mv", ged_move_core, GED_CMD_DEFAULT};
+const struct ged_cmd mv_cmd = { &mv_cmd_impl };
 
+const struct ged_cmd *move_cmds[] = { &move_cmd, &mv_cmd, NULL };
+
+static const struct ged_plugin pinfo = { move_cmds, 2 };
+
 COMPILER_DLLEXPORT const struct ged_plugin *ged_plugin_info()
 {
     return &pinfo;

Modified: brlcad/branches/gedplugins/src/libged/region/region.c
===================================================================
--- brlcad/branches/gedplugins/src/libged/region/region.c       2020-07-22 
13:01:29 UTC (rev 76413)
+++ brlcad/branches/gedplugins/src/libged/region/region.c       2020-07-22 
13:13:48 UTC (rev 76414)
@@ -115,17 +115,16 @@
 
 #ifdef GED_PLUGIN
 #include "../include/plugin.h"
-struct ged_cmd_impl region_cmd_impl = {
-    "region",
-    ged_region_core,
-    GED_CMD_DEFAULT
-};
-
+struct ged_cmd_impl region_cmd_impl = {"region", ged_region_core, 
GED_CMD_DEFAULT};
 const struct ged_cmd region_cmd = { &region_cmd_impl };
-const struct ged_cmd *region_cmds[] = { &region_cmd, NULL };
 
-static const struct ged_plugin pinfo = { region_cmds, 1 };
+struct ged_cmd_impl r_cmd_impl = {"r", ged_region_core, GED_CMD_DEFAULT};
+const struct ged_cmd r_cmd = { &r_cmd_impl };
 
+const struct ged_cmd *region_cmds[] = { &region_cmd, &r_cmd, NULL };
+
+static const struct ged_plugin pinfo = { region_cmds, 2 };
+
 COMPILER_DLLEXPORT const struct ged_plugin *ged_plugin_info()
 {
     return &pinfo;

Modified: brlcad/branches/gedplugins/src/libged/view/view.c
===================================================================
--- brlcad/branches/gedplugins/src/libged/view/view.c   2020-07-22 13:01:29 UTC 
(rev 76413)
+++ brlcad/branches/gedplugins/src/libged/view/view.c   2020-07-22 13:13:48 UTC 
(rev 76414)
@@ -107,6 +107,9 @@
 struct ged_cmd_impl aet_cmd_impl = {"aet", ged_aet_core, GED_CMD_DEFAULT};
 const struct ged_cmd aet_cmd = { &aet_cmd_impl };
 
+struct ged_cmd_impl ae_cmd_impl = {"ae", ged_aet_core, GED_CMD_DEFAULT};
+const struct ged_cmd ae_cmd = { &ae_cmd_impl };
+
 struct ged_cmd_impl center_cmd_impl = {"center", ged_center_core, 
GED_CMD_DEFAULT};
 const struct ged_cmd center_cmd = { &center_cmd_impl };
 
@@ -127,6 +130,7 @@
     &quat_cmd,
     &ypr_cmd,
     &aet_cmd,
+    &ae_cmd,
     &center_cmd,
     &eye_cmd,
     &size_cmd,
@@ -135,7 +139,7 @@
     NULL
 };
 
-static const struct ged_plugin pinfo = { view_cmds, 9 };
+static const struct ged_plugin pinfo = { view_cmds, 10 };
 
 COMPILER_DLLEXPORT const struct ged_plugin *ged_plugin_info()
 {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to