Searched +hist:58 +hist:cf7360 (Results 1 - 4 of 4) sorted by relevance

/haiku/src/apps/terminal/
H A DTermWindow.hdiff 54197c61 Thu Nov 18 17:11:58 MST 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Don't send TermView pointers around in messages. When the message is processed
the pointer might already be invalid. Use SessionID instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39499 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff d365030e Thu Nov 18 08:08:58 MST 2010 Ingo Weinhold <ingo_weinhold@gmx.de> * Added a listener interface to SmartTabView and moved functionality that
doesn't belong in SmartTabView to TermWindow. This also allowed to get rid of
TermWindow::TabView.
* Also check for double clicks on tabs. No action attached yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39480 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 58cf7360 Tue Jan 29 17:39:28 MST 2008 Stefano Ceccherini <stefano.ceccherini@gmail.com> Added shortcuts to increase and decrease the font size. Since
these key combinations (ALT + +/-) can't be used on many keymaps, we
might want to change. Moved view resizing to a private window method.
Seems to work, more or less (ticket #1334)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23791 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 58cf7360 Tue Jan 29 17:39:28 MST 2008 Stefano Ceccherini <stefano.ceccherini@gmail.com> Added shortcuts to increase and decrease the font size. Since
these key combinations (ALT + +/-) can't be used on many keymaps, we
might want to change. Moved view resizing to a private window method.
Seems to work, more or less (ticket #1334)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23791 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff f3d05c8b Tue Jul 17 01:58:37 MDT 2007 Stefano Ceccherini <stefano.ceccherini@gmail.com> Encapsulated low level terminal stuff into a Shell class, which also
supersedes spawn_shell(). Removed window parameter from TermParse. Since
we already have a pointer to the view, we just call Window() on it (only
used in one place, no need to save a pointer). Other cleanups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21628 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 15b4543f Fri Apr 20 09:58:16 MDT 2007 Axel Dörfler <axeld@pinc-software.de> Header was not self-containing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20771 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 54197c6163dc15cec4b102fc3f76df3a2631b508 Thu Nov 18 17:11:58 MST 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Don't send TermView pointers around in messages. When the message is processed
the pointer might already be invalid. Use SessionID instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39499 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff d365030ea5013ef738a30274677d70e280a1f8eb Thu Nov 18 08:08:58 MST 2010 Ingo Weinhold <ingo_weinhold@gmx.de> * Added a listener interface to SmartTabView and moved functionality that
doesn't belong in SmartTabView to TermWindow. This also allowed to get rid of
TermWindow::TabView.
* Also check for double clicks on tabs. No action attached yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39480 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 58cf7360ca244204ce36f51f6dca8b0e93afccf5 Tue Jan 29 17:39:28 MST 2008 Stefano Ceccherini <stefano.ceccherini@gmail.com> Added shortcuts to increase and decrease the font size. Since
these key combinations (ALT + +/-) can't be used on many keymaps, we
might want to change. Moved view resizing to a private window method.
Seems to work, more or less (ticket #1334)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23791 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff f3d05c8b3ae5de10c8402ed38793fd38605ed13f Tue Jul 17 01:58:37 MDT 2007 Stefano Ceccherini <stefano.ceccherini@gmail.com> Encapsulated low level terminal stuff into a Shell class, which also
supersedes spawn_shell(). Removed window parameter from TermParse. Since
we already have a pointer to the view, we just call Window() on it (only
used in one place, no need to save a pointer). Other cleanups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21628 a95241bf-73f2-0310-859d-f6bbb57e9c96
H A DTermView.hdiff 58cf7360 Tue Jan 29 17:39:28 MST 2008 Stefano Ceccherini <stefano.ceccherini@gmail.com> Added shortcuts to increase and decrease the font size. Since
these key combinations (ALT + +/-) can't be used on many keymaps, we
might want to change. Moved view resizing to a private window method.
Seems to work, more or less (ticket #1334)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23791 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 58cf7360 Tue Jan 29 17:39:28 MST 2008 Stefano Ceccherini <stefano.ceccherini@gmail.com> Added shortcuts to increase and decrease the font size. Since
these key combinations (ALT + +/-) can't be used on many keymaps, we
might want to change. Moved view resizing to a private window method.
Seems to work, more or less (ticket #1334)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23791 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff ee3f1027 Tue Dec 04 03:58:31 MST 2007 Stefano Ceccherini <stefano.ceccherini@gmail.com> Selecting text from right to left didn't work. I disabled the use of
ResizeSelection() because it didn't support this. Selecting text flicker
a lot now, it will be fixed later. Selection should be changed to work a
bit more like BTextView. This fixes bug #1638


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23058 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff f3d05c8b Tue Jul 17 01:58:37 MDT 2007 Stefano Ceccherini <stefano.ceccherini@gmail.com> Encapsulated low level terminal stuff into a Shell class, which also
supersedes spawn_shell(). Removed window parameter from TermParse. Since
we already have a pointer to the view, we just call Window() on it (only
used in one place, no need to save a pointer). Other cleanups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21628 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 645b01f2 Wed Jun 27 18:58:03 MDT 2007 Stefano Ceccherini <stefano.ceccherini@gmail.com> Got rid of fSelected, no need to maintain a separate variable to check
if we have a selection. Now there's a "HasSelection()" method which just
checks if fSelStart and fSelEnd are different.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21520 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 58cf7360ca244204ce36f51f6dca8b0e93afccf5 Tue Jan 29 17:39:28 MST 2008 Stefano Ceccherini <stefano.ceccherini@gmail.com> Added shortcuts to increase and decrease the font size. Since
these key combinations (ALT + +/-) can't be used on many keymaps, we
might want to change. Moved view resizing to a private window method.
Seems to work, more or less (ticket #1334)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23791 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff ee3f1027befc09eaf6f2674fc3a8920b62c0af11 Tue Dec 04 03:58:31 MST 2007 Stefano Ceccherini <stefano.ceccherini@gmail.com> Selecting text from right to left didn't work. I disabled the use of
ResizeSelection() because it didn't support this. Selecting text flicker
a lot now, it will be fixed later. Selection should be changed to work a
bit more like BTextView. This fixes bug #1638


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23058 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff f3d05c8b3ae5de10c8402ed38793fd38605ed13f Tue Jul 17 01:58:37 MDT 2007 Stefano Ceccherini <stefano.ceccherini@gmail.com> Encapsulated low level terminal stuff into a Shell class, which also
supersedes spawn_shell(). Removed window parameter from TermParse. Since
we already have a pointer to the view, we just call Window() on it (only
used in one place, no need to save a pointer). Other cleanups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21628 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 645b01f225aafb51645570d0add2dc3904a7d433 Wed Jun 27 18:58:03 MDT 2007 Stefano Ceccherini <stefano.ceccherini@gmail.com> Got rid of fSelected, no need to maintain a separate variable to check
if we have a selection. Now there's a "HasSelection()" method which just
checks if fSelStart and fSelEnd are different.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21520 a95241bf-73f2-0310-859d-f6bbb57e9c96
H A DTermWindow.cppdiff 9e47d4f7 Wed Dec 04 05:28:58 MST 2013 Adrien Destugues <pulkomandy@pulkomandy.tk> Terminal tabs: use B_WITH_FROM_LABEL

B_WIDTH_FROM_WIDEST leads to only 2 or 3 tabs visible when one of the
tabs has a long title. This can be rather annoying as we have no way
of scrolling the tabs to see the ones that are pushed out of the window.
diff 55eb18ef Thu May 09 22:52:58 MDT 2013 John Scipione <jscipione@gmail.com> Terminal: Move the find window under your cursor

on open moving the window back into the screen if necessary.
diff 54197c61 Thu Nov 18 17:11:58 MST 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Don't send TermView pointers around in messages. When the message is processed
the pointer might already be invalid. Use SessionID instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39499 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff d365030e Thu Nov 18 08:08:58 MST 2010 Ingo Weinhold <ingo_weinhold@gmx.de> * Added a listener interface to SmartTabView and moved functionality that
doesn't belong in SmartTabView to TermWindow. This also allowed to get rid of
TermWindow::TabView.
* Also check for double clicks on tabs. No action attached yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39480 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 5afe0aef Thu Nov 18 06:58:49 MST 2010 Ingo Weinhold <ingo_weinhold@gmx.de> * Use B_WIDTH_FROM_WIDEST for tabs, so the titles aren't truncated
unnecessarily.
* Invalidate the complete tab view after setting a label. Otherwise we'd get
artifacts when the label gets shorter.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39478 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 58cf7360 Tue Jan 29 17:39:28 MST 2008 Stefano Ceccherini <stefano.ceccherini@gmail.com> Added shortcuts to increase and decrease the font size. Since
these key combinations (ALT + +/-) can't be used on many keymaps, we
might want to change. Moved view resizing to a private window method.
Seems to work, more or less (ticket #1334)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23791 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 58cf7360 Tue Jan 29 17:39:28 MST 2008 Stefano Ceccherini <stefano.ceccherini@gmail.com> Added shortcuts to increase and decrease the font size. Since
these key combinations (ALT + +/-) can't be used on many keymaps, we
might want to change. Moved view resizing to a private window method.
Seems to work, more or less (ticket #1334)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23791 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff f3d05c8b Tue Jul 17 01:58:37 MDT 2007 Stefano Ceccherini <stefano.ceccherini@gmail.com> Encapsulated low level terminal stuff into a Shell class, which also
supersedes spawn_shell(). Removed window parameter from TermParse. Since
we already have a pointer to the view, we just call Window() on it (only
used in one place, no need to save a pointer). Other cleanups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21628 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 9e47d4f714a395d060ecb4113042532bdb82ebcb Wed Dec 04 05:28:58 MST 2013 Adrien Destugues <pulkomandy@pulkomandy.tk> Terminal tabs: use B_WITH_FROM_LABEL

B_WIDTH_FROM_WIDEST leads to only 2 or 3 tabs visible when one of the
tabs has a long title. This can be rather annoying as we have no way
of scrolling the tabs to see the ones that are pushed out of the window.
diff 55eb18ef2f0fe1db4c60bcceaee15c5d259ea856 Thu May 09 22:52:58 MDT 2013 John Scipione <jscipione@gmail.com> Terminal: Move the find window under your cursor

on open moving the window back into the screen if necessary.
H A DTermView.cppdiff a02f7c7b Tue Dec 17 14:58:38 MST 2019 Zotyamester <szatmary.zoltan1222@gmail.com> Terminal: Fix double-freed memory

The base problem was, that every time I opened KeyMap while a Terminal
was opened too, it eventually crashed. I followed along the trace and
found that the code first frees the keymap and keymapchars in the
_UpdateKeymap() and then calls SetKeymap for every tab opened which
also tries to free the old keymap and keymapchars.

TermWindow's _UpdateKeymap() method first frees the old keymap and keymapchars:

delete fKeymap;
delete[] fKeymapChars;

and then calls SetKeyMap for every tab which tries to free the old keymap and keymapchars again:

for (int32 i = 0; i < fTabView->CountTabs(); i++) {
TermView* view = _TermViewAt(i);
view->SetKeymap(fKeymap, fKeymapChars);
}

So TermView simply is not responsible for the memory, it merily has a pointer.

Fixes #15502.

Change-Id: Id08c863d811fbb72cce9be4c8fff2d3eb5f0064f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2037
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
diff 0dd40534 Mon Jun 16 17:13:58 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> Also invalidate the cursor position when it remains the same, but the
screen was scrolled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25981 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 58cf7360 Tue Jan 29 17:39:28 MST 2008 Stefano Ceccherini <stefano.ceccherini@gmail.com> Added shortcuts to increase and decrease the font size. Since
these key combinations (ALT + +/-) can't be used on many keymaps, we
might want to change. Moved view resizing to a private window method.
Seems to work, more or less (ticket #1334)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23791 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 58cf7360 Tue Jan 29 17:39:28 MST 2008 Stefano Ceccherini <stefano.ceccherini@gmail.com> Added shortcuts to increase and decrease the font size. Since
these key combinations (ALT + +/-) can't be used on many keymaps, we
might want to change. Moved view resizing to a private window method.
Seems to work, more or less (ticket #1334)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23791 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff ee3f1027 Tue Dec 04 03:58:31 MST 2007 Stefano Ceccherini <stefano.ceccherini@gmail.com> Selecting text from right to left didn't work. I disabled the use of
ResizeSelection() because it didn't support this. Selecting text flicker
a lot now, it will be fixed later. Selection should be changed to work a
bit more like BTextView. This fixes bug #1638


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23058 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff f3d05c8b Tue Jul 17 01:58:37 MDT 2007 Stefano Ceccherini <stefano.ceccherini@gmail.com> Encapsulated low level terminal stuff into a Shell class, which also
supersedes spawn_shell(). Removed window parameter from TermParse. Since
we already have a pointer to the view, we just call Window() on it (only
used in one place, no need to save a pointer). Other cleanups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21628 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 645b01f2 Wed Jun 27 18:58:03 MDT 2007 Stefano Ceccherini <stefano.ceccherini@gmail.com> Got rid of fSelected, no need to maintain a separate variable to check
if we have a selection. Now there's a "HasSelection()" method which just
checks if fSelStart and fSelEnd are different.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21520 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 0dd40534ebf04da76712f7d405aec3f21bbacce3 Mon Jun 16 17:13:58 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> Also invalidate the cursor position when it remains the same, but the
screen was scrolled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25981 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 58cf7360ca244204ce36f51f6dca8b0e93afccf5 Tue Jan 29 17:39:28 MST 2008 Stefano Ceccherini <stefano.ceccherini@gmail.com> Added shortcuts to increase and decrease the font size. Since
these key combinations (ALT + +/-) can't be used on many keymaps, we
might want to change. Moved view resizing to a private window method.
Seems to work, more or less (ticket #1334)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23791 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff ee3f1027befc09eaf6f2674fc3a8920b62c0af11 Tue Dec 04 03:58:31 MST 2007 Stefano Ceccherini <stefano.ceccherini@gmail.com> Selecting text from right to left didn't work. I disabled the use of
ResizeSelection() because it didn't support this. Selecting text flicker
a lot now, it will be fixed later. Selection should be changed to work a
bit more like BTextView. This fixes bug #1638


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23058 a95241bf-73f2-0310-859d-f6bbb57e9c96

Completed in 333 milliseconds