Page 1 of 1

How to revert to old Search & Replace dialog?

Posted: Wed May 11, 2016 10:05 pm
by lifepower
It seems that CodeLite 9.1.x introduced new "Search & Replace" dialog that appears on bottom and is somehow an addition to previous "Search" dialog.

However, it seems to have some bugs and it does seem to feel like a downgrade from earlier dialog, requiring more effort to do the same tasks as before. Is there an option somewhere to revert back to the previous dialog (fully functional dialog that appeared in its own window)?

Re: How to revert to old Search & Replace dialog?

Posted: Thu May 12, 2016 11:24 am
by eranif
You can't. The fastest way is to fix these bugs (and they will get fixed before the next release)
That's the whole idea of weekly builds - to see what was broken ;)

Eran

Re: How to revert to old Search & Replace dialog?

Posted: Thu May 12, 2016 6:38 pm
by lifepower
Thanks, looking forward to it! :)

Re: How to revert to old Search & Replace dialog?

Posted: Fri May 13, 2016 4:15 pm
by eranif
These bugs are fixed in git master

Eran

Re: How to revert to old Search & Replace dialog?

Posted: Sat May 14, 2016 7:47 pm
by lifepower
Thanks, but after pulling latest revision, build breaks with:
[ 59%] Building CXX object DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/PostgreSqlDbAdapter.cpp.o
[ 59%] Building CXX object git/CMakeFiles/git.dir/git.cpp.o
/data1/dev/codelite/CMakePlugin/CMakeGenerator.cpp: In member function ‘wxString CMakeGenerator::GenerateProject(ProjectPtr, bool, const wxString&)’:
/data1/dev/codelite/CMakePlugin/CMakeGenerator.cpp:264:5: error: ‘for_each’ is not a member of ‘std’
std::for_each(vfiles.begin(), vfiles.end(), [&](const Project::FileInfo& fi) {
^
CMakePlugin/CMakeFiles/CMakePlugin.dir/build.make:302: recipe for target 'CMakePlugin/CMakeFiles/CMakePlugin.dir/CMakeGenerator.cpp.o' failed
make[2]: *** [CMakePlugin/CMakeFiles/CMakePlugin.dir/CMakeGenerator.cpp.o] Error 1
CMakeFiles/Makefile2:1596: recipe for target 'CMakePlugin/CMakeFiles/CMakePlugin.dir/all' failed
make[1]: *** [CMakePlugin/CMakeFiles/CMakePlugin.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 59%] Building CXX object DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/constraint.cpp.o
[ 59%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/workspacesvnsettings.cpp.o
[ 60%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/svn_local_properties.cpp.o
[ 61%] Building CXX object DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/db_explorer_settings.cpp.o
[ 62%] Building CXX object git/CMakeFiles/git.dir/gitCloneDlg.cpp.o
[ 62%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/subversion2_ui.cpp.o
[ 62%] Building CXX object DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/table.cpp.o
[ 62%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/SvnInfoDialog.cpp.o
[ 62%] Building CXX object DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/view.cpp.o
[ 62%] Building CXX object git/CMakeFiles/git.dir/dataviewfilesmodel.cpp.o
[ 62%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/svn_command_handlers.cpp.o
[ 62%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/svn_copy_dialog.cpp.o
[ 62%] Building CXX object DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/ErdPanel.cpp.o
[ 62%] Building CXX object git/CMakeFiles/git.dir/gitentry.cpp.o
[ 62%] Building CXX object git/CMakeFiles/git.dir/gitSettingsDlg.cpp.o
[ 62%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/svn_checkout_dialog.cpp.o
[ 62%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/subversion2.cpp.o
[ 62%] Building CXX object git/CMakeFiles/git.dir/gitui_git_bitmaps.cpp.o
[ 62%] Building CXX object DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/CreateForeignKey.cpp.o
[ 62%] Building CXX object DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/GUI_databaseexplorer_bitmaps.cpp.o
[ 62%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/svnxml.cpp.o
[ 62%] Building CXX object git/CMakeFiles/git.dir/GitApplyPatchDlg.cpp.o
[ 62%] Building CXX object DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/DbSettingDialog.cpp.o
[ 62%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/SvnBlameFrame.cpp.o
[ 62%] Linking CXX shared library ../lib/git.so
[ 62%] Built target git
[ 62%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/svncommandhandler.cpp.o
[ 62%] Building CXX object DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/AdapterSelectDlg.cpp.o
[ 62%] Building CXX object DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/PostgreSqlType.cpp.o
[ 62%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/svn_login_dialog.cpp.o
[ 62%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/svnblameeditor.cpp.o
[ 62%] Building CXX object Subversion2/CMakeFiles/Subversion.dir/subversion_password_db.cpp.o
[ 62%] Building CXX object DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/imageexportdialog.cpp.o
[ 63%] Linking CXX shared library ../lib/Subversion.so
[ 63%] Linking CXX shared library ../lib/DatabaseExplorer.so
[ 63%] Built target Subversion
[ 63%] Built target DatabaseExplorer
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Actually, I've encountered this same issue when trying to build CodeLite on another laptop few days ago. The solution was to use an older revision, in my case, #263e924d321e5485e805661aa60b21ce5dd68a0c, which compiles fine.

Re: How to revert to old Search & Replace dialog?

Posted: Sat May 14, 2016 9:31 pm
by eranif
Should be fixed now
Eran

Re: How to revert to old Search & Replace dialog?

Posted: Sun May 15, 2016 3:16 am
by lifepower
Everything seems to work now, many thanks!