diff options
| -rw-r--r-- | api/ec_pluginapi.h | 17 | ||||
| -rw-r--r-- | core/basic-services.cpp | 17 | ||||
| -rw-r--r-- | core/commonheaders.h | 18 | ||||
| -rw-r--r-- | core/constants.h | 23 | ||||
| -rw-r--r-- | core/globals.h | 18 | ||||
| -rw-r--r-- | core/main.cpp | 16 | ||||
| -rw-r--r-- | core/modules.cpp | 17 | ||||
| -rw-r--r-- | core/modules.h | 18 | ||||
| -rw-r--r-- | core/services.cpp | 17 | ||||
| -rw-r--r-- | core/services.h | 18 | ||||
| -rw-r--r-- | core/utf8.cpp | 21 | ||||
| -rw-r--r-- | core/utf8.h | 18 | ||||
| -rw-r--r-- | evil_core.workspace.session | 47 |
13 files changed, 218 insertions, 47 deletions
diff --git a/api/ec_pluginapi.h b/api/ec_pluginapi.h index 0387a16..6e4073b 100644 --- a/api/ec_pluginapi.h +++ b/api/ec_pluginapi.h @@ -1,3 +1,20 @@ +/* Copyright 2010 sss + * This file is part of evil_core. + * + * evil_core is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * evil_core is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with evil_core. If not, see <http://www.gnu.org/licenses/>.*/ +
+
#ifndef PLUGINAPI_H_INCLUDED
#define PLUGINAPI_H_INCLUDED
diff --git a/core/basic-services.cpp b/core/basic-services.cpp index ffefa3a..536a718 100644 --- a/core/basic-services.cpp +++ b/core/basic-services.cpp @@ -1,3 +1,20 @@ +/* Copyright 2010 sss + * This file is part of evil_core. + * + * evil_core is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * evil_core is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with evil_core. If not, see <http://www.gnu.org/licenses/>.*/ + + #include "commonheaders.h" void *get_version(void*) diff --git a/core/commonheaders.h b/core/commonheaders.h index 7815095..a5bd4ef 100644 --- a/core/commonheaders.h +++ b/core/commonheaders.h @@ -1,3 +1,21 @@ +/* Copyright 2010 sss + * This file is part of evil_core. + * + * evil_core is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * evil_core is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with evil_core. If not, see <http://www.gnu.org/licenses/>.*/ +
+
+
#ifndef COMMONHEADERS_H_INCLUDED
#define COMMONHEADERS_H_INCLUDED
diff --git a/core/constants.h b/core/constants.h index edce9aa..d183c35 100644 --- a/core/constants.h +++ b/core/constants.h @@ -1 +1,22 @@ -const unsigned long ec_version = 0x00000001;
\ No newline at end of file +/* Copyright 2010 sss + * This file is part of evil_core. + * + * evil_core is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * evil_core is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with evil_core. If not, see <http://www.gnu.org/licenses/>.*/ + +#ifndef CONSTANTS_H +#define CONSTANTS_H + +const unsigned long ec_version = 0x00000001; + +#endif
\ No newline at end of file diff --git a/core/globals.h b/core/globals.h index 2fb7bdc..e9c94a1 100644 --- a/core/globals.h +++ b/core/globals.h @@ -1,3 +1,21 @@ +/* Copyright 2010 sss + * This file is part of evil_core. + * + * evil_core is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * evil_core is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with evil_core. If not, see <http://www.gnu.org/licenses/>.*/ + + + #ifndef GLOBALS_H #define GLOBALS_H diff --git a/core/main.cpp b/core/main.cpp index 2d0ca24..64c14d5 100644 --- a/core/main.cpp +++ b/core/main.cpp @@ -1,3 +1,19 @@ +/* Copyright 2010 sss + * This file is part of evil_core. + * + * evil_core is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * evil_core is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with evil_core. If not, see <http://www.gnu.org/licenses/>.*/ + #include "commonheaders.h" diff --git a/core/modules.cpp b/core/modules.cpp index 437c401..e5e9bc7 100644 --- a/core/modules.cpp +++ b/core/modules.cpp @@ -1,3 +1,20 @@ +/* Copyright 2010 sss + * This file is part of evil_core. + * + * evil_core is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * evil_core is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with evil_core. If not, see <http://www.gnu.org/licenses/>.*/ + + #include "commonheaders.h" extern std::list<plugin*> plugins; diff --git a/core/modules.h b/core/modules.h index c8b0306..6cdd0f6 100644 --- a/core/modules.h +++ b/core/modules.h @@ -1,3 +1,21 @@ +/* Copyright 2010 sss + * This file is part of evil_core. + * + * evil_core is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * evil_core is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with evil_core. If not, see <http://www.gnu.org/licenses/>.*/ +
+
+
#ifndef MODULE_H_INCLUDED
#define MODULE_H_INCLUDED
diff --git a/core/services.cpp b/core/services.cpp index 3c4baed..06e060c 100644 --- a/core/services.cpp +++ b/core/services.cpp @@ -1,3 +1,20 @@ +/* Copyright 2010 sss + * This file is part of evil_core. + * + * evil_core is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * evil_core is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with evil_core. If not, see <http://www.gnu.org/licenses/>.*/ + + #include "commonheaders.h" extern std::list<service*> services; diff --git a/core/services.h b/core/services.h index c498fc4..15da2f3 100644 --- a/core/services.h +++ b/core/services.h @@ -1,3 +1,21 @@ +/* Copyright 2010 sss + * This file is part of evil_core. + * + * evil_core is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * evil_core is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with evil_core. If not, see <http://www.gnu.org/licenses/>.*/ +
+
+
#ifndef SERVICES_H_INCLUDED
#define SERVICES_H_INCLUDED
diff --git a/core/utf8.cpp b/core/utf8.cpp index 197684a..7425af0 100644 --- a/core/utf8.cpp +++ b/core/utf8.cpp @@ -1,3 +1,20 @@ +/* Copyright 2010 sss + * This file is part of evil_core. + * + * evil_core is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * evil_core is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with evil_core. If not, see <http://www.gnu.org/licenses/>.*/ + + #include "commonheaders.h" std::string toUTF8(std::wstring str) @@ -10,7 +27,9 @@ std::string toUTF8(std::wstring str) std::string toUTF8(std::string str) { std::string ustr; - utf8::utf16to8(str.begin(), str.end(), back_inserter(ustr)); + std::string tmpstr; + utf8::replace_invalid(str.begin(), str.end(), back_inserter(tmpstr)); + utf8::utf16to8(tmpstr.begin(), tmpstr.end(), back_inserter(ustr)); return ustr; } diff --git a/core/utf8.h b/core/utf8.h index b386a3c..5882f07 100644 --- a/core/utf8.h +++ b/core/utf8.h @@ -1,3 +1,21 @@ +/* Copyright 2010 sss + * This file is part of evil_core. + * + * evil_core is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * evil_core is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with evil_core. If not, see <http://www.gnu.org/licenses/>.*/ + + + #ifndef UTF8_H #define UTF8_H diff --git a/evil_core.workspace.session b/evil_core.workspace.session index 0bcba60..62ba6ab 100644 --- a/evil_core.workspace.session +++ b/evil_core.workspace.session @@ -1,51 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> <Session Name="/home/sss/install/git/ec/evil_core.workspace"> - <int Value="6" Name="m_selectedTab"/> + <int Value="0" Name="m_selectedTab"/> <wxString Value="/home/sss/install/git/ec/evil_core.workspace" Name="m_workspaceName"/> - <TabInfoArray Name="TabInfoArray"> - <TabInfo> - <wxString Value="/home/sss/install/git/ec/core/services.cpp" Name="FileName"/> - <int Value="0" Name="FirstVisibleLine"/> - <int Value="0" Name="CurrentLine"/> - <wxArrayString Name="Bookmarks"/> - </TabInfo> - <TabInfo> - <wxString Value="/home/sss/install/git/ec/core/basic-services.cpp" Name="FileName"/> - <int Value="0" Name="FirstVisibleLine"/> - <int Value="8" Name="CurrentLine"/> - <wxArrayString Name="Bookmarks"/> - </TabInfo> - <TabInfo> - <wxString Value="/home/sss/install/git/ec/core/commonheaders.h" Name="FileName"/> - <int Value="0" Name="FirstVisibleLine"/> - <int Value="22" Name="CurrentLine"/> - <wxArrayString Name="Bookmarks"/> - </TabInfo> - <TabInfo> - <wxString Value="/home/sss/install/git/ec/api/ec_pluginapi.h" Name="FileName"/> - <int Value="0" Name="FirstVisibleLine"/> - <int Value="26" Name="CurrentLine"/> - <wxArrayString Name="Bookmarks"/> - </TabInfo> - <TabInfo> - <wxString Value="/home/sss/install/git/ec/core/main.cpp" Name="FileName"/> - <int Value="0" Name="FirstVisibleLine"/> - <int Value="11" Name="CurrentLine"/> - <wxArrayString Name="Bookmarks"/> - </TabInfo> - <TabInfo> - <wxString Value="/home/sss/install/git/ec/core/modules.cpp" Name="FileName"/> - <int Value="52" Name="FirstVisibleLine"/> - <int Value="61" Name="CurrentLine"/> - <wxArrayString Name="Bookmarks"/> - </TabInfo> - <TabInfo> - <wxString Value="/home/sss/install/git/ec/plugins/example/main.cpp" Name="FileName"/> - <int Value="13" Name="FirstVisibleLine"/> - <int Value="22" Name="CurrentLine"/> - <wxArrayString Name="Bookmarks"/> - </TabInfo> - </TabInfoArray> + <TabInfoArray Name="TabInfoArray"/> <SerializedObject Name="m_breakpoints"> <long Value="0" Name="Count"/> </SerializedObject> |
