Displaying 6 results from an estimated 6 matches for "column_type".
2007 Feb 01
0
Branch 'interpreter' - 9 commits - libswfdec/js libswfdec/swfdec_script.c libswfdec/swfdec_script.h player/swfdec_debug_stack.c test/trace
...for the type of the object on the stack
diff --git a/player/swfdec_debug_stack.c b/player/swfdec_debug_stack.c
index 2eef4ed..5b25626 100644
--- a/player/swfdec_debug_stack.c
+++ b/player/swfdec_debug_stack.c
@@ -30,17 +30,37 @@ G_DEFINE_TYPE (SwfdecDebugStack, swfdec_
enum {
COLUMN_LINE,
+ COLUMN_TYPE,
COLUMN_CONTENT,
N_COLUMNS
};
+static const char *
+swfdec_get_jsval_type (JSContext *cx, jsval val)
+{
+ if (JSVAL_IS_VOID (val))
+ return "undefined";
+ if (JSVAL_IS_NULL (val))
+ return "null";
+ if (JSVAL_IS_INT (val))
+ return "Integer";
+ if...
2011 Nov 08
3
Reading a specific column of a csv file in a loop
Dear all:
I have two larges files with 2000 columns. For each file I am
performing a loop to extract the "i"th element of each file and create
a data frame with both "i"th elements in order to perform further
analysis. I am not extracting all the "i"th elements but only certain
which I am indicating on a vector called "d".
See an example of my code below
2006 Jul 08
9
How to handle dynamically columned tables in rails
...schema
designs, etc. Just select the columns and types (from a very limited
list -- date, text, longtext).
Of course in PHP I could just have the program create tables and keep
another table of the lists that has each column in a particular list in
a row (list_num, name_of_list, column_name, column_type).
Another way to do it that doesn''t result in the end user having to
create new tables is to have a table that has core columns for ALL lists
(id, title, description) and then join that table to columns by type of
data on the fly.
So, select * from core_list_items where list_num=X and...
2008 Nov 08
8
scaffold not working like i hoped......
Hi:
i''ve tried this on three macs (tiger, panther, etc).. and my ROR is up
to date on each.
My models and controllers aren''t displaying all my mysql db fields.
When I run script/generate scaffold Planner ... it builds the
controller, model, and all the rest.
When I go to test the app and new controller, now called planners no
content is listed... and all I ever get is the
2007 Jul 04
0
Branch 'as' - 25 commits - libswfdec/Makefile.am libswfdec/swfdec_as_boolean.c libswfdec/swfdec_as_boolean.h libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c
...calls back into the engine */
- const char *s = swfdec_as_value_to_string (SWFDEC_AS_CONTEXT (debug->manager->player), val);
+ char *s = swfdec_as_value_to_debug (val);
gtk_list_store_append (store, &iter);
gtk_list_store_set (store, &iter, COLUMN_LINE, ++i,
COLUMN_TYPE, swfdec_get_value_type (SWFDEC_AS_CONTEXT (debug->manager->player), val),
COLUMN_CONTENT, s, -1);
+ g_free (s);
}
}
diff-tree 5e272397358c36cb5a88da6824dd8ce0f1b2d80d (from 66fd508e7b615605b416c4bf66c7c39942e2e97b)
Author: Benjamin Otte <otte at gnome.org>
Date: Tue J...
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
...en_get_flags (GtkTreeModel *tree_model)
+{
+ REPORT;
+ return 0;
+}
+
+static gint
+swfedit_token_get_n_columns (GtkTreeModel *tree_model)
+{
+ SwfeditToken *token = SWFEDIT_TOKEN (tree_model);
+
+ REPORT;
+ return token->tokens->len;
+}
+
+static GType
+swfedit_token_get_column_type (GtkTreeModel *tree_model, gint index_)
+{
+ REPORT;
+ switch (index_) {
+ case SWFEDIT_COLUMN_NAME:
+ return G_TYPE_STRING;
+ case SWFEDIT_COLUMN_VALUE_VISIBLE:
+ return G_TYPE_BOOLEAN;
+ case SWFEDIT_COLUMN_VALUE:
+ return G_TYPE_STRING;
+ default:
+ b...