Displaying 20 results from an estimated 40 matches for "index_".
Did you mean:
index
2006 Nov 23
0
Two repeatable crash bugs in Ferret proper
...rret::Index::Index.new(
:field_infos => field_infos,
:path =>''./exercisequotebugindex'',
:create => true )
index << { :comment_id => 1, :comment_body => "weird URL, huh? [a href=\"
http://www.hotelbogotaberlin.com/bogota_e/index_e.html/index_e.html/index_e.html/index_e.html/index_e.html/index_e.html/index_e.html/index_e.html/index_e.html/index_e.html/index_e.html/index_e.html/index_e.html/index_e.html/index_e.html/index_e.html/index_e.html\"]"
}
--- My system specs
Ubuntu 6.06.1 LTS (under VMWare)
ruby 1.8.4 (2...
2007 Oct 17
0
libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie.c
...LL; iter = iter->next)
- {
- SwfdecLayout layout;
- PangoLayout *playout;
- int width;
- guint length;
- SwfdecBlock *block;
-
- block = (SwfdecBlock *)iter->data;
- if (iter->next != NULL) {
- length =
- ((SwfdecBlock *)(iter->next->data))->index_ - block->index_;
- } else {
- length = paragraphs[i].text_length - block->index_;
- }
-
- if (skip > length) {
- skip -= length;
- continue;
- }
-
- // create layout
- playout = layout.layout = pango_cairo_create_layout (cr);
-
- // set rendering position...
2008 May 20
0
[PATCH] Fix compilation on 64-bit platforms
...c_text_field_movie.c
index 1f7bc4b..729c2e2 100644
--- a/swfdec/swfdec_text_field_movie.c
+++ b/swfdec/swfdec_text_field_movie.c
@@ -524,7 +524,7 @@ swfdec_text_field_movie_mouse_cursor (SwfdecActor *actor)
{
SwfdecTextFieldMovie *text = SWFDEC_TEXT_FIELD_MOVIE (actor);
double x, y;
- guint index_;
+ gsize index_;
const SwfdecTextAttributes *attr;
gboolean hit;
@@ -559,7 +559,7 @@ swfdec_text_field_movie_mouse_press (SwfdecActor *actor, guint button)
{
SwfdecTextFieldMovie *text = SWFDEC_TEXT_FIELD_MOVIE (actor);
double x, y;
- guint index_;
+ gsize index_;
gboolean hit;...
2007 Nov 04
0
7 commits - libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h libswfdec/swfdec_text_field_movie_html.c
.../libswfdec/swfdec_text_field_movie.c b/libswfdec/swfdec_text_field_movie.c
index 36b3596..08afd73 100644
--- a/libswfdec/swfdec_text_field_movie.c
+++ b/libswfdec/swfdec_text_field_movie.c
@@ -136,6 +136,7 @@ swfdec_text_field_movie_generate_paragraph (SwfdecTextFieldMovie *text,
paragraph->index_ = start_index;
paragraph->length = length;
+ paragraph->newline = (text->input->str[start_index + length - 1] == '\n');
paragraph->blocks = NULL;
paragraph->attrs = NULL;
@@ -519,6 +520,7 @@ swfdec_text_field_movie_get_layouts (SwfdecTextFieldMovie *text, int *...
2007 Oct 29
0
20 commits - libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h
...not pointer
diff --git a/libswfdec/swfdec_text_field_movie.c b/libswfdec/swfdec_text_field_movie.c
index d50bdb9..881327c 100644
--- a/libswfdec/swfdec_text_field_movie.c
+++ b/libswfdec/swfdec_text_field_movie.c
@@ -102,7 +102,7 @@ swfdec_text_paragraph_add_block (SwfdecParagraph *paragraph, int index_,
static void
swfdec_text_field_movie_generate_paragraph (SwfdecTextFieldMovie *text,
- SwfdecParagraph *paragraph, guint start_index, guint end_index)
+ SwfdecParagraph *paragraph, guint start_index, guint length)
{
SwfdecTextFormat *format, *format_prev;
guint index_;
@@ -113,18 +...
2007 Oct 17
0
6 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c
...B: none
+ * I: none
+ * U: none
+ */
+static GString *
+swfdec_text_field_movie_html_text_append_paragraph (SwfdecTextFieldMovie *text,
+ GString *string, guint start_index, guint end_index)
+{
+ SwfdecTextFormat *format, *format_prev, *format_font;
+ GSList *iter, *fonts, *iter_font;
+ guint index_, index_prev;
+ gboolean textformat, bullet, font;
+ char *escaped;
+
+ g_return_val_if_fail (SWFDEC_IS_TEXT_FIELD_MOVIE (text), string);
+ g_return_val_if_fail (string != NULL, string);
+ g_return_val_if_fail (start_index < end_index, string);
+
+ g_return_val_if_fail (text->formats !=...
2007 Nov 01
0
libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie_html.c
...iff --git a/libswfdec/swfdec_text_field_movie.c b/libswfdec/swfdec_text_field_movie.c
index 4dd9c07..5d499b2 100644
--- a/libswfdec/swfdec_text_field_movie.c
+++ b/libswfdec/swfdec_text_field_movie.c
@@ -1063,6 +1063,10 @@ swfdec_text_field_movie_set_text_format (SwfdecTextFieldMovie *text,
findex_new = g_new (SwfdecFormatIndex, 1);
findex_new->index_ = end_index;
findex_new->format = swfdec_text_format_copy (findex->format);
+ if (findex_new->format == NULL) {
+ g_free (findex_new);
+ break;
+ }
iter = g_slist_insert (iter, findex_new, 1);
}...
2007 Nov 02
0
5 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_array.h libswfdec/swfdec_as_date.c libswfdec/swfdec_as_date.h libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_filter.c
...graphs, FALSE);
}
@@ -487,9 +513,14 @@ swfdec_text_field_movie_get_layouts (SwfdecTextFieldMovie *text, int *num,
pango_layout_set_attributes (playout, attr_list);
pango_attr_list_unref (attr_list);
- pango_layout_set_text (playout,
- text->input->str + paragraphs[i].index_ + block->index_ + skip,
- paragraphs[i].length - block->index_ - skip);
+ if (text->text->password) {
+ pango_layout_set_text (playout, text->asterisks,
+ paragraphs[i].length - block->index_ - skip);
+ } else {
+ pango_layout_set_text (playout,
+ text->inpu...
2007 Jun 28
7
new to rails... suitable for what I wanna do?
Hi,
I have created and now maintain the website ratsdeville.com (http://
ratsdeville.com/index_e.html for english) for my brother. He creates
more and more content for it each week and I''m seriously feeling the
pain now archiving everything manually and making sure that links
works once items are archived (which I lost control of).
Like you can see, it is basically a news site about...
2007 Oct 31
0
2 commits - libswfdec/swfdec_sound.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie_html.c
...t) g_utf8_strlen (text->input->str, -1));
+ g_return_if_fail (end_index <= text->input->len);
g_assert (text->formats != NULL);
g_assert (text->formats->data != NULL);
@@ -1051,7 +1051,7 @@ swfdec_text_field_movie_set_text_format (SwfdecTextFieldMovie *text,
findex_end_index =
((SwfdecFormatIndex *)iter->next->data)->index_;
} else {
- findex_end_index = g_utf8_strlen (text->input->str, -1);
+ findex_end_index = text->input->len;
}
if (findex_end_index <= start_index)
@@ -1113,7 +1113,7 @@ swfdec_text_field_...
2005 Jan 25
3
OT: pinout for"standard"telephoneheadsetrequired.?
> Many thanks Julian.
Are you looking for the pinout for a single plug 2.5mm (cellphone)
headset or a dual plug 3.5mm (computer) headset?
--
Nabeel Jafferali
Tel: +1 (416) 628-9342 Toronto
+1 (646) 225-7426 New York
FWD: 46990
Email/MSN: nabeel<at>jafferali.net
2003 Sep 03
5
OT - Headsets for Cisco 7940/7960
This is Off-Topic for Asterisk, but I wanted to get some feedback on headsets for Cisco 7940/7960 phones.
We have about 10-20 people who wants/needs a headset for their phone & was hoping to collect some real-world input.
Thanks!!
2008 Mar 05
0
Index Searcher Causes GC Memory Error: "irb: double free or corruption"
...ll break this entirely
# self.searcher = Ferret::Search::Searcher.new(Ferret::Index::IndexReader.new(paths) )
self.sub_searchers = []
paths.each do |cur_path|
begin
sub_s = Ferret::Search::Searcher.new(cur_path )
self.sub_searchers << sub_s if sub_s
rescue Exception => index_e
puts "** IndexSearcher.new: #{index_e.message}"
end
end
if self.sub_searchers.size > 0
self.searcher = Ferret::Search::MultiSearcher.new(self.sub_searchers)
else
self.searcher = (Ferret::I.new).searcher
end
self.object_type = object_type
end
# This doc/[]...
2007 Dec 08
2
New Mailbox Format Plugin Help
I would like to develop a new mailbox format for a very specialized
application. Can anyone point me in the appropriate direction to get
started writing a plugin?
More detail for anyone interested:
I need to store mail in a format that's quickly accessible and
modifiable to an external process. This is for a very low-volume mail
system (averaging less than 50 messages stored at any one
2004 Aug 31
5
OT: Headset for Cisco 7960?
Sorry, I know it's OT, but does anyone know of a relatively inexpensive
headset that is compatible with the Cisco 7960?
I've tried the headset off Norstar phones, doesn't seem to work with or
without the amp.
------------------------------------------------------------------------
| nate carlson | natecars@natecarlson.com | http://www.natecarlson.com |
| depriving some poor
2007 Oct 13
0
5 commits - libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_xml.c test/trace
...bed_fonts)
- SWFDEC_FIXME ("Using embed fonts in TextField not supported");
+ // FIXME: embed fonts
attr_font = pango_attr_family_new (format->font);
attr_font->start_index = 0;
@@ -213,8 +212,7 @@ swfdec_text_field_movie_generate_paragra
attr_font->end_index = index_ - start_index;
swfdec_text_paragraph_add_attribute (paragraph, attr_font);
- if (text->text->embed_fonts)
- SWFDEC_FIXME ("Using embed fonts in TextField not supported");
+ // FIXME: embed fonts
attr_font = pango_attr_family_new (format->font);
at...
2007 Aug 17
0
Branch 'vivi' - 3 commits - player/Makefile.am player/swfdec_debug_movies.c player/swfdec_debug_movies.h vivified/core vivified/ui
...debug_movies_get_flags (GtkTreeModel *tree_model)
-{
- REPORT;
- return 0;
-}
-
-static gint
-swfdec_debug_movies_get_n_columns (GtkTreeModel *tree_model)
-{
- REPORT;
- return SWFDEC_DEBUG_MOVIES_N_COLUMNS;
-}
-
-static GType
-swfdec_debug_movies_get_column_type (GtkTreeModel *tree_model, gint index_)
-{
- REPORT;
- switch (index_) {
- case SWFDEC_DEBUG_MOVIES_COLUMN_MOVIE:
- return G_TYPE_POINTER;
- case SWFDEC_DEBUG_MOVIES_COLUMN_NAME:
- return G_TYPE_STRING;
- case SWFDEC_DEBUG_MOVIES_COLUMN_DEPTH:
- return G_TYPE_INT;
- case SWFDEC_DEBUG_MOVIES_COLUMN_TYPE:
-...
2009 Sep 20
1
plugin development guide for non-FS backing store
Hi, folks.
I was wondering if anyone has some sort of guide or reference on
plugin development.
We are trying to develop a non-filesystem backing store.
So basically we do not store mailboxes for users in local filesystem.
We do RPC call
to fetch from fileservers.
Thank you in advance.
Chang
2004 Aug 27
1
memdisk and OS/2
...e
cannot get the sources for this driver, then creating an alternate
driver is the only way to go.
Is there an alternate Interrupt 13 driver for OS/2?
I have also looked into something that is also called memdisk by Veit
Kannegieser.
His homepage is here: http://www-user.tu-cottbus.de/~kannegv/index_e.htm
You can get the program from here:
http://hobbes.nmsu.edu/cgi-bin/h-viewer?sh=1&fname=/pub/os2/util/startup/memdisk.zip
And even the sources for the program here:
http://www-user.tu-cottbus.de/~kannegv/quelle/memdisk.arj
It was a bit difficult to get Veit's memdisk up and running bu...
2005 Jan 24
1
OT: pinout for "standard" telephone headset required.?
Hi,
I have a Cisco 7960G phone for which I know the pinout of the headset socket.
I have a couple of standard telephone headsets which I do not know the
pinout of.
I'd like to connect the two. If I have the pinout of a normal/standard
headset I can
rewire the ones I have to match the cisco.
Thanks
Mike