Commit [12a431] Maximize Restore History

+ Support for MSVC 2008 in bakefile.

+ Small cmd file that calls bakefile_gen and then makes a copy of the VS2008 solution file, so that it can be opened and upgraded by VS 2010 keeping the VS 2008 untouched.
* svn:ignore set for VS 2010 upgrade report files.
* Moved URIProcessor & C to core; moved dependencies on metadata and gui to higher level helper classes.
+ ProcessableObject.h: removed dependency of TemplateProcessor on metadataitem.h.
+ HtmlHeaderMetadataItemVisitor to build property page headers in a cleaner way.

svn path=/trunk/flamerobin/; revision=2006

Nando Dessena Nando Dessena 2010-10-09

1 2 3 > >> (Page 1 of 3)
added bakefile_gen_vs2010.cmd
added flamerobin.sln
added flamerobin_flamerobin.vcproj
added flamerobin_ibpp.vcproj
added src/core/ProcessableObject.h
added src/gui/GUIURIHandlerHelper.cpp
added src/gui/GUIURIHandlerHelper.h
added src/gui/HtmlHeaderMetadataItemVisitor.cpp
added src/gui/HtmlHeaderMetadataItemVisitor.h
added src/metadata/MetadataItemURIHandlerHelper.cpp
added src/metadata/MetadataItemURIHandlerHelper.h
changed Bakefiles.bkgen
changed Makefile.in
changed flamerobin.bkl
changed flamerobin_flamerobin.dsp
changed html-templates
changed html-templates/DOMAIN.html
changed html-templates/TABLE.html
changed makefile.bcc
changed makefile.mgw
changed makefile.vc
changed src
changed src/addconstrainthandler.cpp
changed src/core
changed src/core/TemplateProcessor.cpp
changed src/core/TemplateProcessor.h
changed src/databasehandler.cpp
changed src/gui
changed src/gui/ConfdefTemplateProcessor.cpp
changed src/gui/ConfdefTemplateProcessor.h
changed src/gui/CreateIndexDialog.cpp
changed src/gui/ExecuteSqlFrame.cpp
changed src/gui/FieldPropertiesDialog.cpp
changed src/gui/HtmlTemplateProcessor.cpp
changed src/gui/HtmlTemplateProcessor.h
changed src/gui/MainFrame.cpp
changed src/gui/MetadataItemPropertiesFrame.cpp
changed src/gui/PreferencesDialog.cpp
changed src/gui/PrivilegesDialog.cpp
changed src/gui/ReorderFieldsDialog.cpp
changed src/gui/TriggerWizardDialog.cpp
changed src/gui/UserDialog.cpp
changed src/gui/controls
changed src/gui/controls/PrintableHtmlWindow.cpp
changed src/metadata
changed src/metadata/MetadataTemplateCmdHandler.cpp
changed src/metadata/metadataitem.h
changed src/metadata/privilege.cpp
changed src/metadata/privilege.h
changed src/objectdescriptionhandler.cpp
changed src/sql
changed src/sql/SqlTemplateProcessor.cpp
changed src/sql/SqlTemplateProcessor.h
copied src/urihandler.cpp -> src/core/URIProcessor.cpp
copied src/urihandler.h -> src/core/URIProcessor.h
bakefile_gen_vs2010.cmd Diff Switch to side-by-side view
Loading...
flamerobin.sln Diff Switch to side-by-side view
Loading...
flamerobin_flamerobin.vcproj Diff Switch to side-by-side view
Loading...
flamerobin_ibpp.vcproj Diff Switch to side-by-side view
Loading...
src/core/ProcessableObject.h Diff Switch to side-by-side view
Loading...
src/gui/GUIURIHandlerHelper.cpp Diff Switch to side-by-side view
Loading...
src/gui/GUIURIHandlerHelper.h Diff Switch to side-by-side view
Loading...
src/gui/HtmlHeaderMetadataItemVisitor.cpp Diff Switch to side-by-side view
Loading...
src/gui/HtmlHeaderMetadataItemVisitor.h Diff Switch to side-by-side view
Loading...
src/metadata/MetadataItemURIHandlerHelper.cpp Diff Switch to side-by-side view
Loading...
src/metadata/MetadataItemURIHandlerHelper.h Diff Switch to side-by-side view
Loading...
Bakefiles.bkgen Diff Switch to side-by-side view
Loading...
Makefile.in Diff Switch to side-by-side view
Loading...
flamerobin.bkl Diff Switch to side-by-side view
Loading...
flamerobin_flamerobin.dsp Diff Switch to side-by-side view
Loading...
html-templates
Directory.
html-templates/DOMAIN.html Diff Switch to side-by-side view
Loading...
html-templates/TABLE.html Diff Switch to side-by-side view
Loading...
makefile.bcc Diff Switch to side-by-side view
Loading...
makefile.mgw Diff Switch to side-by-side view
Loading...
makefile.vc Diff Switch to side-by-side view
Loading...
src
Directory.
src/addconstrainthandler.cpp Diff Switch to side-by-side view
Loading...
src/core
Directory.
src/core/TemplateProcessor.cpp Diff Switch to side-by-side view
Loading...
src/core/TemplateProcessor.h Diff Switch to side-by-side view
Loading...
src/databasehandler.cpp Diff Switch to side-by-side view
Loading...
src/gui
Directory.
src/gui/ConfdefTemplateProcessor.cpp Diff Switch to side-by-side view
Loading...
src/gui/ConfdefTemplateProcessor.h Diff Switch to side-by-side view
Loading...
src/gui/CreateIndexDialog.cpp Diff Switch to side-by-side view
Loading...
src/gui/ExecuteSqlFrame.cpp Diff Switch to side-by-side view
Loading...
src/gui/FieldPropertiesDialog.cpp Diff Switch to side-by-side view
Loading...
src/gui/HtmlTemplateProcessor.cpp Diff Switch to side-by-side view
Loading...
src/gui/HtmlTemplateProcessor.h Diff Switch to side-by-side view
Loading...
src/gui/MainFrame.cpp Diff Switch to side-by-side view
Loading...
src/gui/MetadataItemPropertiesFrame.cpp Diff Switch to side-by-side view
Loading...
src/gui/PreferencesDialog.cpp Diff Switch to side-by-side view
Loading...
src/gui/PrivilegesDialog.cpp Diff Switch to side-by-side view
Loading...
src/gui/ReorderFieldsDialog.cpp Diff Switch to side-by-side view
Loading...
src/gui/TriggerWizardDialog.cpp Diff Switch to side-by-side view
Loading...
src/gui/UserDialog.cpp Diff Switch to side-by-side view
Loading...
src/gui/controls
Directory.
src/gui/controls/PrintableHtmlWindow.cpp Diff Switch to side-by-side view
Loading...
src/metadata
Directory.
src/metadata/MetadataTemplateCmdHandler.cpp Diff Switch to side-by-side view
Loading...
src/metadata/metadataitem.h Diff Switch to side-by-side view
Loading...
src/metadata/privilege.cpp Diff Switch to side-by-side view
Loading...
src/metadata/privilege.h Diff Switch to side-by-side view
Loading...
src/objectdescriptionhandler.cpp Diff Switch to side-by-side view
Loading...
src/sql
Directory.
src/sql/SqlTemplateProcessor.cpp Diff Switch to side-by-side view
Loading...
src/sql/SqlTemplateProcessor.h Diff Switch to side-by-side view
Loading...
src/urihandler.cpp to src/core/URIProcessor.cpp
--- a/src/urihandler.cpp
+++ b/src/core/URIProcessor.cpp
@@ -41,8 +41,7 @@
 #include <list>
 #include <algorithm>
 
-#include "metadata/metadataitem.h"
-#include "urihandler.h"
+#include "core/URIProcessor.h"
 //-----------------------------------------------------------------------------
 URI::URI()
 {
@@ -184,21 +183,3 @@
         processorM->removeHandler(this);
 }
 //-----------------------------------------------------------------------------
-wxWindow* URIHandler::getWindow(const URI& uri)
-{
-    wxString ms = uri.getParam(wxT("parent_window"));       // window
-    unsigned long mo;
-    if (!ms.ToULong(&mo))
-        return 0;
-    return (wxWindow*)mo;
-}
-//-----------------------------------------------------------------------------
-void* URIHandler::getObject(const URI& uri)
-{
-    wxString ms = uri.getParam(wxT("object_handle"));      // object
-    unsigned long mo;
-    if (!ms.ToULong(&mo))
-        return 0;
-    return MetadataItem::getObjectFromHandle(mo);
-}
-//-----------------------------------------------------------------------------
src/urihandler.h to src/core/URIProcessor.h
--- a/src/urihandler.h
+++ b/src/core/URIProcessor.h
@@ -25,13 +25,13 @@
 
 */
 
-#ifndef FR_URIHANDLER_H
-#define FR_URIHANDLER_H
+#ifndef FR_URIPROCESSOR_H
+#define FR_URIPROCESSOR_H
 
 #include <list>
 #include <map>
+
 //-----------------------------------------------------------------------------
-//! almost like a struct, but with few helper functions
 class URI
 {
 public:
@@ -100,15 +100,10 @@
         */
         return 1024;
     }
-
-    // some helper functions
-    wxWindow *getWindow(const URI& uri);
-    void *getObject(const URI& uri);
-
 private:
     URIProcessor* processorM;
     void setProcessor(URIProcessor* const processor);
 };
 //-----------------------------------------------------------------------------
 
-#endif
+#endif // FR_URIPROCESSOR_H
1 2 3 > >> (Page 1 of 3)