Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
magicseteditor
Commits
b9346d22
Commit
b9346d22
authored
Jan 24, 2011
by
twanvl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
linux: added console_panel to makefile, removed junk from error.hpp
parent
f938b569
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
13 deletions
+25
-13
Makefile.am
Makefile.am
+1
-0
Makefile.in
Makefile.in
+24
-2
src/util/error.hpp
src/util/error.hpp
+0
-11
No files found.
Makefile.am
View file @
b9346d22
...
@@ -116,6 +116,7 @@ magicseteditor_SOURCES += ./src/gui/set/window.cpp
...
@@ -116,6 +116,7 @@ magicseteditor_SOURCES += ./src/gui/set/window.cpp
magicseteditor_SOURCES
+=
./src/gui/set/stats_panel.cpp
magicseteditor_SOURCES
+=
./src/gui/set/stats_panel.cpp
magicseteditor_SOURCES
+=
./src/gui/set/cards_panel.cpp
magicseteditor_SOURCES
+=
./src/gui/set/cards_panel.cpp
magicseteditor_SOURCES
+=
./src/gui/set/style_panel.cpp
magicseteditor_SOURCES
+=
./src/gui/set/style_panel.cpp
magicseteditor_SOURCES
+=
./src/gui/set/console_panel.cpp
magicseteditor_SOURCES
+=
./src/gui/set/set_info_panel.cpp
magicseteditor_SOURCES
+=
./src/gui/set/set_info_panel.cpp
magicseteditor_SOURCES
+=
./src/gui/html_export_window.cpp
magicseteditor_SOURCES
+=
./src/gui/html_export_window.cpp
magicseteditor_SOURCES
+=
./src/gui/new_window.cpp
magicseteditor_SOURCES
+=
./src/gui/new_window.cpp
...
...
Makefile.in
View file @
b9346d22
...
@@ -112,7 +112,8 @@ am__magicseteditor_SOURCES_DIST = ./src/util/prec.gch ./src/main.cpp \
...
@@ -112,7 +112,8 @@ am__magicseteditor_SOURCES_DIST = ./src/util/prec.gch ./src/main.cpp \
./src/gui/set/keywords_panel.cpp ./src/gui/set/panel.cpp \
./src/gui/set/keywords_panel.cpp ./src/gui/set/panel.cpp \
./src/gui/set/random_pack_panel.cpp ./src/gui/set/window.cpp \
./src/gui/set/random_pack_panel.cpp ./src/gui/set/window.cpp \
./src/gui/set/stats_panel.cpp ./src/gui/set/cards_panel.cpp \
./src/gui/set/stats_panel.cpp ./src/gui/set/cards_panel.cpp \
./src/gui/set/style_panel.cpp ./src/gui/set/set_info_panel.cpp \
./src/gui/set/style_panel.cpp ./src/gui/set/console_panel.cpp \
./src/gui/set/set_info_panel.cpp \
./src/gui/html_export_window.cpp ./src/gui/new_window.cpp \
./src/gui/html_export_window.cpp ./src/gui/new_window.cpp \
./src/gui/thumbnail_thread.cpp ./src/gui/util.cpp \
./src/gui/thumbnail_thread.cpp ./src/gui/util.cpp \
./src/gui/welcome_window.cpp ./src/gui/auto_replace_window.cpp \
./src/gui/welcome_window.cpp ./src/gui/auto_replace_window.cpp \
...
@@ -243,6 +244,7 @@ am_magicseteditor_OBJECTS = $(am__objects_1) \
...
@@ -243,6 +244,7 @@ am_magicseteditor_OBJECTS = $(am__objects_1) \
./src/gui/set/magicseteditor-stats_panel.$(OBJEXT) \
./src/gui/set/magicseteditor-stats_panel.$(OBJEXT) \
./src/gui/set/magicseteditor-cards_panel.$(OBJEXT) \
./src/gui/set/magicseteditor-cards_panel.$(OBJEXT) \
./src/gui/set/magicseteditor-style_panel.$(OBJEXT) \
./src/gui/set/magicseteditor-style_panel.$(OBJEXT) \
./src/gui/set/magicseteditor-console_panel.$(OBJEXT) \
./src/gui/set/magicseteditor-set_info_panel.$(OBJEXT) \
./src/gui/set/magicseteditor-set_info_panel.$(OBJEXT) \
./src/gui/magicseteditor-html_export_window.$(OBJEXT) \
./src/gui/magicseteditor-html_export_window.$(OBJEXT) \
./src/gui/magicseteditor-new_window.$(OBJEXT) \
./src/gui/magicseteditor-new_window.$(OBJEXT) \
...
@@ -527,7 +529,8 @@ magicseteditor_SOURCES = $(am__append_1) ./src/main.cpp \
...
@@ -527,7 +529,8 @@ magicseteditor_SOURCES = $(am__append_1) ./src/main.cpp \
./src/gui/set/keywords_panel.cpp ./src/gui/set/panel.cpp \
./src/gui/set/keywords_panel.cpp ./src/gui/set/panel.cpp \
./src/gui/set/random_pack_panel.cpp ./src/gui/set/window.cpp \
./src/gui/set/random_pack_panel.cpp ./src/gui/set/window.cpp \
./src/gui/set/stats_panel.cpp ./src/gui/set/cards_panel.cpp \
./src/gui/set/stats_panel.cpp ./src/gui/set/cards_panel.cpp \
./src/gui/set/style_panel.cpp ./src/gui/set/set_info_panel.cpp \
./src/gui/set/style_panel.cpp ./src/gui/set/console_panel.cpp \
./src/gui/set/set_info_panel.cpp \
./src/gui/html_export_window.cpp ./src/gui/new_window.cpp \
./src/gui/html_export_window.cpp ./src/gui/new_window.cpp \
./src/gui/thumbnail_thread.cpp ./src/gui/util.cpp \
./src/gui/thumbnail_thread.cpp ./src/gui/util.cpp \
./src/gui/welcome_window.cpp ./src/gui/auto_replace_window.cpp \
./src/gui/welcome_window.cpp ./src/gui/auto_replace_window.cpp \
...
@@ -952,6 +955,9 @@ src/gui/set/$(DEPDIR)/$(am__dirstamp):
...
@@ -952,6 +955,9 @@ src/gui/set/$(DEPDIR)/$(am__dirstamp):
./src/gui/set/magicseteditor-style_panel.$(OBJEXT): \
./src/gui/set/magicseteditor-style_panel.$(OBJEXT): \
src/gui/set/$(am__dirstamp) \
src/gui/set/$(am__dirstamp) \
src/gui/set/$(DEPDIR)/$(am__dirstamp)
src/gui/set/$(DEPDIR)/$(am__dirstamp)
./src/gui/set/magicseteditor-console_panel.$(OBJEXT): \
src/gui/set/$(am__dirstamp) \
src/gui/set/$(DEPDIR)/$(am__dirstamp)
./src/gui/set/magicseteditor-set_info_panel.$(OBJEXT): \
./src/gui/set/magicseteditor-set_info_panel.$(OBJEXT): \
src/gui/set/$(am__dirstamp) \
src/gui/set/$(am__dirstamp) \
src/gui/set/$(DEPDIR)/$(am__dirstamp)
src/gui/set/$(DEPDIR)/$(am__dirstamp)
...
@@ -1338,6 +1344,7 @@ mostlyclean-compile:
...
@@ -1338,6 +1344,7 @@ mostlyclean-compile:
-rm -f ./src/gui/magicseteditor-util.$(OBJEXT)
-rm -f ./src/gui/magicseteditor-util.$(OBJEXT)
-rm -f ./src/gui/magicseteditor-welcome_window.$(OBJEXT)
-rm -f ./src/gui/magicseteditor-welcome_window.$(OBJEXT)
-rm -f ./src/gui/set/magicseteditor-cards_panel.$(OBJEXT)
-rm -f ./src/gui/set/magicseteditor-cards_panel.$(OBJEXT)
-rm -f ./src/gui/set/magicseteditor-console_panel.$(OBJEXT)
-rm -f ./src/gui/set/magicseteditor-keywords_panel.$(OBJEXT)
-rm -f ./src/gui/set/magicseteditor-keywords_panel.$(OBJEXT)
-rm -f ./src/gui/set/magicseteditor-panel.$(OBJEXT)
-rm -f ./src/gui/set/magicseteditor-panel.$(OBJEXT)
-rm -f ./src/gui/set/magicseteditor-random_pack_panel.$(OBJEXT)
-rm -f ./src/gui/set/magicseteditor-random_pack_panel.$(OBJEXT)
...
@@ -1515,6 +1522,7 @@ distclean-compile:
...
@@ -1515,6 +1522,7 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./src/gui/control/$(DEPDIR)/magicseteditor-text_ctrl.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./src/gui/control/$(DEPDIR)/magicseteditor-text_ctrl.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./src/gui/control/$(DEPDIR)/magicseteditor-tree_list.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./src/gui/control/$(DEPDIR)/magicseteditor-tree_list.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./src/gui/set/$(DEPDIR)/magicseteditor-cards_panel.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./src/gui/set/$(DEPDIR)/magicseteditor-cards_panel.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./src/gui/set/$(DEPDIR)/magicseteditor-console_panel.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./src/gui/set/$(DEPDIR)/magicseteditor-keywords_panel.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./src/gui/set/$(DEPDIR)/magicseteditor-keywords_panel.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./src/gui/set/$(DEPDIR)/magicseteditor-panel.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./src/gui/set/$(DEPDIR)/magicseteditor-panel.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./src/gui/set/$(DEPDIR)/magicseteditor-random_pack_panel.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./src/gui/set/$(DEPDIR)/magicseteditor-random_pack_panel.Po@am__quote@
...
@@ -2716,6 +2724,20 @@ distclean-compile:
...
@@ -2716,6 +2724,20 @@ distclean-compile:
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(magicseteditor_CXXFLAGS) $(CXXFLAGS) -c -o ./src/gui/set/magicseteditor-style_panel.obj `if test -f './src/gui/set/style_panel.cpp'; then $(CYGPATH_W) './src/gui/set/style_panel.cpp'; else $(CYGPATH_W) '$(srcdir)/./src/gui/set/style_panel.cpp'; fi`
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(magicseteditor_CXXFLAGS) $(CXXFLAGS) -c -o ./src/gui/set/magicseteditor-style_panel.obj `if test -f './src/gui/set/style_panel.cpp'; then $(CYGPATH_W) './src/gui/set/style_panel.cpp'; else $(CYGPATH_W) '$(srcdir)/./src/gui/set/style_panel.cpp'; fi`
./src/gui/set/magicseteditor-console_panel.o: ./src/gui/set/console_panel.cpp
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(magicseteditor_CXXFLAGS) $(CXXFLAGS) -MT ./src/gui/set/magicseteditor-console_panel.o -MD -MP -MF ./src/gui/set/$(DEPDIR)/magicseteditor-console_panel.Tpo -c -o ./src/gui/set/magicseteditor-console_panel.o `test -f './src/gui/set/console_panel.cpp' || echo '$(srcdir)/'`./src/gui/set/console_panel.cpp
@am__fastdepCXX_TRUE@ $(am__mv) ./src/gui/set/$(DEPDIR)/magicseteditor-console_panel.Tpo ./src/gui/set/$(DEPDIR)/magicseteditor-console_panel.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='./src/gui/set/console_panel.cpp' object='./src/gui/set/magicseteditor-console_panel.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(magicseteditor_CXXFLAGS) $(CXXFLAGS) -c -o ./src/gui/set/magicseteditor-console_panel.o `test -f './src/gui/set/console_panel.cpp' || echo '$(srcdir)/'`./src/gui/set/console_panel.cpp
./src/gui/set/magicseteditor-console_panel.obj: ./src/gui/set/console_panel.cpp
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(magicseteditor_CXXFLAGS) $(CXXFLAGS) -MT ./src/gui/set/magicseteditor-console_panel.obj -MD -MP -MF ./src/gui/set/$(DEPDIR)/magicseteditor-console_panel.Tpo -c -o ./src/gui/set/magicseteditor-console_panel.obj `if test -f './src/gui/set/console_panel.cpp'; then $(CYGPATH_W) './src/gui/set/console_panel.cpp'; else $(CYGPATH_W) '$(srcdir)/./src/gui/set/console_panel.cpp'; fi`
@am__fastdepCXX_TRUE@ $(am__mv) ./src/gui/set/$(DEPDIR)/magicseteditor-console_panel.Tpo ./src/gui/set/$(DEPDIR)/magicseteditor-console_panel.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='./src/gui/set/console_panel.cpp' object='./src/gui/set/magicseteditor-console_panel.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(magicseteditor_CXXFLAGS) $(CXXFLAGS) -c -o ./src/gui/set/magicseteditor-console_panel.obj `if test -f './src/gui/set/console_panel.cpp'; then $(CYGPATH_W) './src/gui/set/console_panel.cpp'; else $(CYGPATH_W) '$(srcdir)/./src/gui/set/console_panel.cpp'; fi`
./src/gui/set/magicseteditor-set_info_panel.o: ./src/gui/set/set_info_panel.cpp
./src/gui/set/magicseteditor-set_info_panel.o: ./src/gui/set/set_info_panel.cpp
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(magicseteditor_CXXFLAGS) $(CXXFLAGS) -MT ./src/gui/set/magicseteditor-set_info_panel.o -MD -MP -MF ./src/gui/set/$(DEPDIR)/magicseteditor-set_info_panel.Tpo -c -o ./src/gui/set/magicseteditor-set_info_panel.o `test -f './src/gui/set/set_info_panel.cpp' || echo '$(srcdir)/'`./src/gui/set/set_info_panel.cpp
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(magicseteditor_CXXFLAGS) $(CXXFLAGS) -MT ./src/gui/set/magicseteditor-set_info_panel.o -MD -MP -MF ./src/gui/set/$(DEPDIR)/magicseteditor-set_info_panel.Tpo -c -o ./src/gui/set/magicseteditor-set_info_panel.o `test -f './src/gui/set/set_info_panel.cpp' || echo '$(srcdir)/'`./src/gui/set/set_info_panel.cpp
@am__fastdepCXX_TRUE@ $(am__mv) ./src/gui/set/$(DEPDIR)/magicseteditor-set_info_panel.Tpo ./src/gui/set/$(DEPDIR)/magicseteditor-set_info_panel.Po
@am__fastdepCXX_TRUE@ $(am__mv) ./src/gui/set/$(DEPDIR)/magicseteditor-set_info_panel.Tpo ./src/gui/set/$(DEPDIR)/magicseteditor-set_info_panel.Po
...
...
src/util/error.hpp
View file @
b9346d22
...
@@ -132,17 +132,6 @@ class ScriptErrorNoMember : public ScriptError {
...
@@ -132,17 +132,6 @@ class ScriptErrorNoMember : public ScriptError {
:
ScriptError
(
_ERROR_2_
(
"has no member"
,
type
,
member
))
{}
:
ScriptError
(
_ERROR_2_
(
"has no member"
,
type
,
member
))
{}
};
};
// ----------------------------------------------------------------------------- : Bounds checking
template
<
typename
T
>
T
&
at
(
vector
<
T
>&
x
,
size_t
pos
)
{
if
(
pos
<
x
.
size
())
{
return
x
[
pos
];
}
else
{
throw
InternalError
(
_
(
"vector<T> index out of bounds: %d > %d, where T = "
)
+
typeid
(
x
).
name
());
}
}
// ----------------------------------------------------------------------------- : Error/message handling
// ----------------------------------------------------------------------------- : Error/message handling
/// Should a popup be shown for internal errors?
/// Should a popup be shown for internal errors?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment