-2000-10-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+2000-10-17 Angus Leeming <a.leeming@ic.ac.uk>
+
+ * lib/CREDITS: clean up
+
+2000-10-16 Angus Leeming <a.leeming@ic.ac.uk>
+
+ * src/combox.[Ch] (select): changed argument back to int
+ * src/combox.C (peek_event): removed num_bytes as it is declared but
+ never referenced.
+
+ * src/frontends/xforms/FormDocument.C (class_apply, bullets_apply):
+ modified calls to Combox::select() to remove warnings about type
+ conversion.
+
+ * src/insets/insetbutton.C (width): explicit cast to remove warning
+ about type conversion.
+
+ * src/insets/insetcite.C (getScreenLabel): use string::size_type not
+ size_t.
+
+ * src/insets/insettabular.[Ch]: variables inset_pos, sel_pos_start and
+ sel_pos_end, refering to cursor position are changed to
+ LyXParagraph::size_type.
+
+ * src/insets/insettext.h (cpos): returns LyXParagraph::size_type,
+ consistent with LyXCursor::pos().
+ (inset_pos): changed to LyXParagraph::size_type for same reason.
+
+ * src/insets/insettext.C (resizeLyXText): changed some temporary
+ variables refing to cursor position to LyXParagraph::size_type.
+
2000-10-16 John Levon <moz@compsoc.man.ac.uk>
* src/frontends/kde/<various>: The Great Renaming,
add FormParagraph
+2000-10-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* src/frontends/support/Makefile.am (EXTRA_DIST): re-fix.
2000-10-13 Dekel Tsur <dekelts@tau.ac.il>
* src/text.C (GetColumnNearX): Fixed disabled code.
-
+
2000-10-13 Lars Gullik Bjønnes <larsbj@lyx.org>
* configure.in (CPPFLAGS): add snprintf and vsnprintf to
* src/insets/insetbutton.C (width): Changed to work with no GUI.
* src/insets/insetbib.C (bibitemWidest): ditto.
* src/lyx_gui_misc.C (AskQuestion,AskConfirmation,askForText): ditto.
-
+
2000-10-03 Juergen Vigna <jug@sad.it>
* src/BufferView2.C (theLockingInset): removed const because of
* src/frontends/xforms/Toolbar_pimpl.C:
* src/lyx_cb.C (LayoutsCB): added Combox * to function call.
-2000-09-14 Garst Reese <reese@isn.net>
+2000-09-14 Garst Reese <reese@isn.net>
* lib/tex/hollywood.cls changed length of parenthicals to 1.5in
moved usepackage{xxx}'s to beginning of file. Changed left margin
* src/lyxrc.C, src/lyxrc.h, src/BufferView_pimpl.C,
lib/lyxrc.example: added option \wheel_jump
-2000-07-04 R. Lahaye <lahaye@postech.ac.kr>
+2000-07-04 R. Lahaye <lahaye@postech.ac.kr>
* src/lyx_gui.C src/lyx_main.C: add support for -geometry, and
remove support for -width,-height,-xpos and -ypos.
@bJohn Levon
@iE-mail moz@compsoc.man.ac.uk
KDE port
-@bJose' Matos
+@bJosé Matos
@iE-mail: jamatos@novalis.fc.up.pt
linuxdoc sgml support
@bTino Meinen
@bAndre Spiegel
@iE-mail: spiegel@inf.fu-berlin.de
vertical spaces
-@bDavid Sua'rez de Lis
+@bDavid Suárez de Lis
@iE-mail: excalibor@iname.com
maintaining es.po since v1.0.0 and other small i18n issues
small fixes (some work, others didn't)
src/frontends/gnome/FormToc.C
src/frontends/gnome/FormUrl.C
src/frontends/gnome/Menubar_pimpl.C
+src/frontends/kde/citationdlg.C
+src/frontends/kde/copyrightdlgdata.C
src/frontends/kde/FormCitation.C
-src/frontends/kde/formcitationdialog.C
src/frontends/kde/FormCopyright.C
-src/frontends/kde/formcopyrightdialogdata.C
src/frontends/kde/FormIndex.C
-src/frontends/kde/formindexdialog.C
+src/frontends/kde/FormParagraph.C
src/frontends/kde/FormPrint.C
-src/frontends/kde/formprintdialogdata.C
src/frontends/kde/FormRef.C
-src/frontends/kde/formrefdialog.C
src/frontends/kde/FormToc.C
-src/frontends/kde/formtocdialog.C
src/frontends/kde/FormUrl.C
-src/frontends/kde/formurldialog.C
+src/frontends/kde/indexdlg.C
+src/frontends/kde/indexdlgdata.C
+src/frontends/kde/paradlg.C
+src/frontends/kde/paraextradlg.C
+src/frontends/kde/paraextradlgdata.C
+src/frontends/kde/parageneraldlg.C
+src/frontends/kde/parageneraldlgdata.C
+src/frontends/kde/printdlg.C
+src/frontends/kde/printdlgdata.C
+src/frontends/kde/refdlg.C
+src/frontends/kde/tocdlg.C
+src/frontends/kde/urldlg.C
src/frontends/xforms/FormBase.h
src/frontends/xforms/FormCitation.C
src/frontends/xforms/form_citation.C
}
-void Combox::select(size_t i)
+void Combox::select(int i)
{
if (!browser || !button) return;
if (i > 0 && i <= fl_get_browser_maxline(browser)) sel = i;
if (static_cast<XEvent*>(xev)->type != KeyPress) return 0;
char s_r[10]; s_r[9] = '\0';
- static int num_bytes;
KeySym keysym_return;
- num_bytes = XLookupString(&static_cast<XEvent*>(xev)->xkey, s_r, 10,
- &keysym_return, 0);
+ XLookupString(&static_cast<XEvent*>(xev)->xkey, s_r, 10,
+ &keysym_return, 0);
XFlush(fl_get_display());
switch (keysym_return) {
case XK_Down:
string const getline() const;
/// Select an arbitrary item
- void select(size_t);
+ void select(int);
///
bool select_text(string const &);
_("Errors loading new document class."),
_("Reverting to original document class."));
#ifdef USE_CLASS_COMBO
- combo_doc_class->select(params.textclass + 1);
+ combo_doc_class->select(int(params.textclass) + 1);
#else
fl_set_choice(class_->choice_doc_class,
params.textclass + 1);
_("Unable to switch to new document class."),
_("Reverting to original document class."));
#ifdef USE_CLASS_COMBO
- combo_doc_class->select(lv_->buffer()->params.textclass + 1);
+ combo_doc_class->select(int(lv_->buffer()->params.textclass) + 1);
#else
fl_set_choice(class_->choice_doc_class,
lv_->buffer()->params.textclass + 1);
insetspecialchar.h \
insettabular.C \
insettabular.h \
- insettheorem.C \
- insettheorem.h \
insettext.C \
insettext.h \
+ insettheorem.C \
+ insettheorem.h \
insettoc.C \
insettoc.h \
inseturl.C \
int width, ascent, descent;
string s = getScreenLabel();
if (!bv)
- return s.length();
+ int(s.length());
if (Editable()) {
bv->painter().buttonText(0, 0, s, font,
// Final comma allows while loop to cover all keys
keys = frontStrip(split(keys, label, ',')) + ",";
- size_t const maxSize = 40;
+ string::size_type const maxSize = 40;
while (contains( keys, "," )) {
string key;
keys = frontStrip(split(keys, key, ','));
- size_t size = label.size() + 2 + key.size();
+ string::size_type size = label.size() + 2 + key.size();
if( size >= maxSize ) {
label += ", ...";
break;
}
if (!no_selection) {
HideInsetCursor(bv);
- int const old_pos = sel_pos_end;
+ LyXParagraph::size_type const old_pos = sel_pos_end;
int const old_cell = actcell;
setPos(bv, x, y);
///
mutable LyXCursor old_cursor;
///
- mutable int inset_pos;
+ mutable LyXParagraph::size_type inset_pos;
///
mutable unsigned int inset_x;
///
mutable unsigned int inset_y;
///
- mutable int sel_pos_start;
+ mutable LyXParagraph::size_type sel_pos_start;
///
- mutable int sel_pos_end;
+ mutable LyXParagraph::size_type sel_pos_end;
///
mutable int sel_cell_start;
///
}
-int InsetText::cpos(BufferView * bv) const
+LyXParagraph::size_type InsetText::cpos(BufferView * bv) const
{
return TEXT(bv)->cursor.pos();
}
LyXParagraph * lpar = 0;
LyXParagraph * selstartpar = 0;
LyXParagraph * selendpar = 0;
- int pos = 0;
- int selstartpos = 0;
- int selendpos = 0;
+ LyXParagraph::size_type pos = 0;
+ LyXParagraph::size_type selstartpos = 0;
+ LyXParagraph::size_type selendpos = 0;
int selection = 0;
int mark_set = 0;
///
int cy(BufferView *) const;
///
- int cpos(BufferView *) const;
+ LyXParagraph::size_type cpos(BufferView *) const;
///
LyXParagraph * cpar(BufferView *) const;
///
///
LyXParagraph * inset_par;
///
- int inset_pos;
+ LyXParagraph::size_type inset_pos;
///
mutable int inset_x;
///