<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
<tr>
<td>
This is an automatically generated e-mail. To reply, visit:
<a href="http://git.reviewboard.kde.org/r/106508/">http://git.reviewboard.kde.org/r/106508/</a>
</td>
</tr>
</table>
<br />
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<p style="margin-top: 0;">On September 24th, 2012, 2:57 p.m., <b>David Nolden</b> wrote:</p>
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">I think this is useful, but I'd prefer the "bdir!" command to do a bidirectional switch between build- and project-dir, keeping the relative sub-directory alive, eg.:
kdevplatform/shell$ b! -> kdevplatform_builddir/shell
and
kdevplatform_builddir/shell$ b! -> kdevplatform/shell
It could keep the semantics if the current path is not within the projects dir, eg.:
kdevplatform/shell$ b! kdevelop -> kdevelop_builddir
And the current behavior could be achieved through p!; b!
Also I think that the explanation about prefixes in "help!" is cluttering the output a bit too much, maybe this should be moved into a "help! project" subsection.</pre>
</blockquote>
</blockquote>
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Forward direction done; backward - seems unimplementable "cleanly" with current interfaces (which allow only item -> build directory, not vice versa). Any suggestions on how to dirty-hack the reverse translation?</pre>
<br />
<p>- Ivan</p>
<br />
<p>On September 27th, 2012, 5 p.m., Ivan Shapovalov wrote:</p>
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('http://git.reviewboard.kde.org/media/rb/images/review_request_box_top_bg.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
<tr>
<td>
<div>Review request for KDevelop.</div>
<div>By Ivan Shapovalov.</div>
<p style="color: grey;"><i>Updated Sept. 27, 2012, 5 p.m.</i></p>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
<tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">This adds 2 new commands for syncing the shell working directory (in kdevplatform_shell_environment.sh).
These are
- "project!", which navigates to the root directory of a project, and
- "bdir!", which navigates to the build directory of a project (if one is returned by the build manager), using shell's cwd (if in source tree) to find the corresponding subdirectory in the build tree.
These commands take an optional argument - project name, which (if exists) is handled as a target project name prefix and is collated in case-insensitive mode.
Thus, to navigate to kdevplatform's root directory one may type "project! kdevpl".
If that argument is not given, the project of currently open document is selected.
Reason: I just found these commands useful. Maybe someone else also will.</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
<tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Used the newly-added commands for a sufficiently long time period (~2 weeks).</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">
<li>shell/projectcontroller.h <span style="color: grey">(e21345f)</span></li>
<li>shell/projectcontroller.cpp <span style="color: grey">(bc557bd)</span></li>
<li>util/kdevplatform_shell_environment.sh <span style="color: grey">(d428f6c)</span></li>
</ul>
<p><a href="http://git.reviewboard.kde.org/r/106508/diff/" style="margin-left: 3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>