#
b3fd8cd8 |
|
16-Dec-2018 |
Humdinger <humdingerb@gmail.com> |
TextSearch: don't hard-code Pe editor When double-clicking a result in TextSearch, it opens the file with the preferred application for that file type. In case you search through e.g. a HTML file, that would be most probably WebPositive, which is not what you want normally. TextSearch has the setting "Open files in Pe" which forces all files to be opened in the Pe editor. With this change, it will force the files to be opened in the preferred app for text/x-source-code. Change-Id: I0920a5f2497c01b16be0ac7563fbab942b67ef24 Reviewed-on: https://review.haiku-os.org/769 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
653c7676 |
|
07-Nov-2017 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
TextSearch: several small improvements * Wakeup periodically search thread, cancelling should be more responsive now... * Show Lines setting is now saved too * Fix a bug, current file is display again while searching. * Always pass line number, if any, to invoked app. Works with StyledEdit as with Pe. Partially fix #13289. Another change will add "open with" context menu and remove "Open with Pe".
|
#
33d4c8a6 |
|
06-Nov-2017 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
TextSearch: way speeder by using xargs + grep * Previously, each file was starting a shell to run grep command on it. Very suboptimal performance, big overhead. * Now a thread write each file path to xargs input, while another start xargs, let it distribute files on grep processes (one per cpu) and collect results asap. * This bring results way faster than previously. * Rename Escape Text setting into Regular Expression, as name was more after shell workaround than after function. * While it doesn't use a native text searching, by reusing both grep and xargs power, it answer the main issue with #9529.
|
#
f8f8d2bb |
|
01-Apr-2015 |
Augustin Cavalier <waddlesplash@gmail.com> |
Revert "TextSearch: use BString-based searching instead of Grep-based." This reverts commit 1e9f5f5be4c8419c2085f51c78c9ac02ef13377b. As per discussion on the ML.
|
#
1e9f5f5b |
|
31-Mar-2015 |
Augustin Cavalier <waddlesplash@gmail.com> |
TextSearch: use BString-based searching instead of Grep-based. Huge performance improvement. Fixes #9529.
|
#
05840b4c |
|
31-Mar-2015 |
Augustin Cavalier <waddlesplash@gmail.com> |
TextSearch: don't save the 'show contents' option. Also get rid of the redundant menu option.
|
#
c0722add |
|
04-May-2013 |
Jérôme Duval <jerome.duval@gmail.com> |
TextSearch: some 64 bit fixes
|
#
10075eae |
|
21-Oct-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Fixed search history: chicken and egg problem - it couldn't save the history if it couldn't load it. * Shortened license text. * Automatic whitespace cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33693 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7c9d86d7 |
|
08-Sep-2008 |
Stephan Aßmus <superstippi@gmx.de> |
Change default settings to "Invoke in Pe" if Pe is installed. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27373 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
38960785 |
|
03-Aug-2008 |
Stephan Aßmus <superstippi@gmx.de> |
* Refactoring, added const specifiers to helper methods that don't modify the object. * Improved check that enforces search pattern history limit to also handle the case when the limit is changed in the source. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26787 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
68450777 |
|
04-Aug-2008 |
Stephan Aßmus <superstippi@gmx.de> |
Refactoring * FileIterator is now a mostly abstract interface * FolderIterator is the currently only implementation (there could be MessageIterator for an even better separation, which would read the top level search folders from the BMessage with the selected poses, but it would mostly use the same code for traversing the subfolders anyways so I left that for the time being.) * The Grepper and FolderIterator now copy the current settings from the Model at instantiation. Since they run in a separate thread and the Model may actually be changed from the Window thread, I think this is just a cleaner and more safe solution. * Cleanup here and there. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26786 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e1ebbfbb |
|
02-Aug-2008 |
François Revol <revol@free.fr> |
Fix gcc4 build. my->beers--; git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26748 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
edf2516d |
|
02-Aug-2008 |
Stephan Aßmus <superstippi@gmx.de> |
Moved TextSearch to apps folder, since it's actually a regular app. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26738 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f8f8d2bbece9d16213f5bab86584502bee94a22a |
|
01-Apr-2015 |
Augustin Cavalier <waddlesplash@gmail.com> |
Revert "TextSearch: use BString-based searching instead of Grep-based." This reverts commit 1e9f5f5be4c8419c2085f51c78c9ac02ef13377b. As per discussion on the ML.
|
#
1e9f5f5be4c8419c2085f51c78c9ac02ef13377b |
|
31-Mar-2015 |
Augustin Cavalier <waddlesplash@gmail.com> |
TextSearch: use BString-based searching instead of Grep-based. Huge performance improvement. Fixes #9529.
|
#
05840b4c2a30d02e26feb69279475ce6ba91ce46 |
|
31-Mar-2015 |
Augustin Cavalier <waddlesplash@gmail.com> |
TextSearch: don't save the 'show contents' option. Also get rid of the redundant menu option.
|
#
c0722add753912f2c678964522fd8bd81803f668 |
|
04-May-2013 |
Jérôme Duval <jerome.duval@gmail.com> |
TextSearch: some 64 bit fixes
|
#
10075eae29f544e16078db9341d6a0e77f7fa114 |
|
21-Oct-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Fixed search history: chicken and egg problem - it couldn't save the history if it couldn't load it. * Shortened license text. * Automatic whitespace cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33693 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7c9d86d7c1667b4e5403613a450f8b81e52b7fd5 |
|
08-Sep-2008 |
Stephan Aßmus <superstippi@gmx.de> |
Change default settings to "Invoke in Pe" if Pe is installed. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27373 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
38960785430b187ad632ad3a9bc2cf8d6f183a55 |
|
03-Aug-2008 |
Stephan Aßmus <superstippi@gmx.de> |
* Refactoring, added const specifiers to helper methods that don't modify the object. * Improved check that enforces search pattern history limit to also handle the case when the limit is changed in the source. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26787 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
684507777be0a6a0acbbc67ed1bf60ce299e7dd1 |
|
04-Aug-2008 |
Stephan Aßmus <superstippi@gmx.de> |
Refactoring * FileIterator is now a mostly abstract interface * FolderIterator is the currently only implementation (there could be MessageIterator for an even better separation, which would read the top level search folders from the BMessage with the selected poses, but it would mostly use the same code for traversing the subfolders anyways so I left that for the time being.) * The Grepper and FolderIterator now copy the current settings from the Model at instantiation. Since they run in a separate thread and the Model may actually be changed from the Window thread, I think this is just a cleaner and more safe solution. * Cleanup here and there. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26786 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e1ebbfbbd88c92bb73b79898b8df40be72a48b97 |
|
02-Aug-2008 |
François Revol <revol@free.fr> |
Fix gcc4 build. my->beers--; git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26748 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
edf2516d608ceca834fcb09d2a8a0be39c6c7c36 |
|
02-Aug-2008 |
Stephan Aßmus <superstippi@gmx.de> |
Moved TextSearch to apps folder, since it's actually a regular app. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26738 a95241bf-73f2-0310-859d-f6bbb57e9c96
|