Menu

#190 Combination of the push and xpush routines making xpush(push -x) and push stays the same.

Incomplete
closed-duplicate
None
5
2013-08-05
2013-06-17
Nyah Check
No

This command merges the push and xpush routines for BRL-CAD making the xpush 'push -x' but however i'm still working on making it recognise the xpush case for an object and automatically perform the xpush without necessarily using the push -x option.

still to convert file to diff format

1 Attachments

Related

Patches: #190

Discussion

  • Nyah Check

    Nyah Check - 2013-06-19

    modified push to recognise the xpush in case the -x option is ommited or ignored.

     
  • Nyah Check

    Nyah Check - 2013-06-26

    modified CMakeLists file in (src/libged) to accomdate new push command and remove xpush

     
  • Nyah Check

    Nyah Check - 2013-06-26

    modified ged.h file to remove xpush so as to support only new push command

     
  • Nyah Check

    Nyah Check - 2013-06-26

    modified setup.c file to accomodate new push only command

     
  • Nyah Check

    Nyah Check - 2013-06-26

    modified tclcad_obj.c file to accomodate new push only command and blank pull command.

     
  • Sean Morrison

    Sean Morrison - 2013-06-27

    Nyah, you need to provide some instruction here. What are we supposed to do with all of these files? If they're all related, they should be one patch file. If they are not related and will apply cleanly/independently, you need to say that. If they need to be applied in any particular order, you need to say that. Having us guessing or spending time to figure it out is a waste of time.

     
  • Nyah Check

    Nyah Check - 2013-06-27

    ok thanks for the comment Sean will get on it and provide further info
    on the patches by tomorrow.

    Thanks
    Nyah

    On 6/27/13, Sean Morrison brlcad@users.sf.net wrote:

    Nyah, you need to provide some instruction here. What are we supposed to do
    with all of these files? If they're all related, they should be one patch
    file. If they are not related and will apply cleanly/independently, you
    need to say that. If they need to be applied in any particular order, you
    need to say that. Having us guessing or spending time to figure it out is a
    waste of time.


    [patches:#190] Combination of the push and xpush routines making
    xpush(push -x) and push stays the same.

    Status: open
    Created: Mon Jun 17, 2013 08:22 PM UTC by Nyah Check
    Last Updated: Wed Jun 26, 2013 05:57 PM UTC
    Owner: nobody

    This command merges the push and xpush routines for BRL-CAD making the xpush
    'push -x' but however i'm still working on making it recognise the xpush
    case for an object and automatically perform the xpush without necessarily
    using the push -x option.

    still to convert file to diff format


    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/brlcad/patches/190/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

     

    Related

    Patches: #190

  • Nyah Check

    Nyah Check - 2013-06-28

    Well Sean this is the order in which the changes will be applied
    CMakeLists_patch to(/src/libged/)
    ged_h.patch(/include/ged.h)
    setup_patch(/include/mged/setup.c)
    tclcad_obj_patch(/src/libtclcad/tclcad_obj.c)
    then
    push_patch(/src/libged/push.c)

    apply them in this order it should compile cleanly. but however here is the modified push_patch you should apply and ignore the one above.
    I know this new routine still needs some work. Still working hard on it.

     
  • Sean Morrison

    Sean Morrison - 2013-06-28

    Nyah, those are all separate files... and from your description, it sounds like they're all related. As I stated, since they are all related, they should be in just one patch file. SVN will do this for you... There are lots of tutorials on how to do this (like http://ariejan.net/2007/07/03/how-to-create-and-apply-a-patch-with-subversion/).

    That said, it really matters what you mean by "it needs some more work". If you mean it does not conform to our style, that is not acceptable. If you mean it is incomplete but compiles cleanly and has no downsides to being applied, that would be acceptable. You want patches to be the bare minimum that will apply, compile, and run without issue, even if there is "more" to be done. Style, indentation, and bad symbol names, however, are not optional.

    Please repost as a single patchfile that conforms with HACKING, thanks!

     
  • Nyah Check

    Nyah Check - 2013-06-29

    all the submitted files are in diff format..

    Well i'll still verify make sure its in diff format.. :)

    On Fri, Jun 28, 2013 at 8:44 PM, Sean Morrison brlcad@users.sf.net wrote:

    Nyah, those are all separate files... and from your description, it sounds
    like they're all related. As I stated, since they are all related, they
    should be in just one patch file. SVN will do this for you... There are
    lots of tutorials on how to do this (like
    http://ariejan.net/2007/07/03/how-to-create-and-apply-a-patch-with-subversion/
    ).

    That said, it really matters what you mean by "it needs some more work".
    If you mean it does not conform to our style, that is not acceptable. If
    you mean it is incomplete but compiles cleanly and has no downsides to
    being applied, that would be acceptable. You want patches to be the bare
    minimum that will apply, compile, and run without issue, even if there is
    "more" to be done. Style, indentation, and bad symbol names, however, are
    not optional.

    Please repost as a single patchfile that conforms with HACKING, thanks!

    Status: open
    Created: Mon Jun 17, 2013 08:22 PM UTC by Nyah Check
    Last Updated: Fri Jun 28, 2013 07:10 PM UTC
    Owner: nobody

    This command merges the push and xpush routines for BRL-CAD making the
    xpush 'push -x' but however i'm still working on making it recognise the
    xpush case for an object and automatically perform the xpush without
    necessarily using the push -x option.

    still to convert file to diff format

    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/brlcad/patches/190/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

     

    Related

    Patches: #190

  • Sean Morrison

    Sean Morrison - 2013-06-29

    The problem isn't that they're in diff format, it's that they are in separate files. Don't just run the "diff" command. Run the "svn diff" command. Read the link I posted, read the single patch file that results.

     
  • Nyah Check

    Nyah Check - 2013-07-02

    ok i'll try to make them a single patch file.

    On Sat, Jun 29, 2013 at 12:44 PM, Sean Morrison brlcad@users.sf.net wrote:

    The problem isn't that they're in diff format, it's that they are in
    separate files. Don't just run the "diff" command. Run the "svn diff"
    command. Read the link I posted, read the single patch file that results.


    Status: open
    Created: Mon Jun 17, 2013 08:22 PM UTC by Nyah Check
    Last Updated: Fri Jun 28, 2013 07:44 PM UTC
    Owner: nobody

    This command merges the push and xpush routines for BRL-CAD making the
    xpush 'push -x' but however i'm still working on making it recognise the
    xpush case for an object and automatically perform the xpush without
    necessarily using the push -x option.

    still to convert file to diff format

    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/brlcad/patches/190/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

     

    Related

    Patches: #190

  • Cliff Yapp

    Cliff Yapp - 2013-07-17

    Nyah,

    Where are you with creating a single patch file for this change?

     
  • Nyah Check

    Nyah Check - 2013-07-17

    here is the single patch for this change

     
  • Nyah Check

    Nyah Check - 2013-07-17

    here is the patch file that lists all the changes.

    On 7/17/13, Cliff Yapp starseeker@users.sf.net wrote:

    Nyah,

    Where are you with creating a single patch file for this change?


    [patches:#190] Combination of the push and xpush routines making
    xpush(push -x) and push stays the same.

    Status: open
    Created: Mon Jun 17, 2013 08:22 PM UTC by Nyah Check
    Last Updated: Sat Jun 29, 2013 11:44 AM UTC
    Owner: nobody

    This command merges the push and xpush routines for BRL-CAD making the xpush
    'push -x' but however i'm still working on making it recognise the xpush
    case for an object and automatically perform the xpush without necessarily
    using the push -x option.

    still to convert file to diff format


    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/brlcad/patches/190/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

     

    Related

    Patches: #190

  • Nyah Check

    Nyah Check - 2013-07-17

    Here is the patch file that shows all the changes made

     
  • Sean Morrison

    Sean Morrison - 2013-07-20

    Nyah, this patch is not in the right format, does not apply cleanly, and does not appear to be based off of an svn checkout. Is there a reason for this?

    It's been stated numerous times now to make sure your patches apply cleanly to a fresh checkout. Moreover, if I read the file, it looks like there are little whitespace inconsistencies being introduced (e.g., "push -x", "push -x ", " #include", ...). Please take care of these issues so the patch may be applied.

     
  • Sean Morrison

    Sean Morrison - 2013-07-20
    • status: open --> pending-rejected
     
  • Nyah Check

    Nyah Check - 2013-07-21

    we'll have Internet connection in the Lab tomorrow so i'll make the patches
    from an svn checkout and submit.

    On Sat, Jul 20, 2013 at 4:45 AM, Sean Morrison brlcad@users.sf.net wrote:

    • status: open --> pending-rejected

    Status: pending-rejected

    Created: Mon Jun 17, 2013 08:22 PM UTC by Nyah Check
    Last Updated: Sat Jul 20, 2013 03:45 AM UTC
    Owner: nobody

    This command merges the push and xpush routines for BRL-CAD making the
    xpush 'push -x' but however i'm still working on making it recognise the
    xpush case for an object and automatically perform the xpush without
    necessarily using the push -x option.

    still to convert file to diff format

    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/brlcad/patches/190/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

     

    Related

    Patches: #190

  • Sean Morrison

    Sean Morrison - 2013-08-05
    • status: pending-rejected --> closed-duplicate
    • assigned_to: Sean Morrison
     
  • Sean Morrison

    Sean Morrison - 2013-08-05

    Updated change was resubmitted as patch 217. Closing this one out as rejected/duplicate.

     

Log in to post a comment.