1 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
4 index; also, check that there is something to index, and that it
5 does not span over several paragraphs.
6 (doubleClick): use WHOLE_WORD_STRICT for double click.
8 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13 2001-07-27 Juergen Vigna <jug@sad.it>
15 * text2.C: font.realize function adaption.
17 * text.C (draw): add a warnings lyxerr text if needed.
19 * layout.C: font.realize function adaption.
21 * language.C: add inherit_language and implement it's handlings
23 * bufferview_funcs.C (StyleReset): remove language parameter from
24 font creation (should be language_inherit now).
26 * bufferparams.C (writeFile): handle ignore_language.
28 * paragraph.C (getFontSettings): the language has to be resolved
29 otherwise we have problems in LyXFont!
31 * lyxfont.C (lyxWriteChanges): added document_language parameter
32 (update): removed unneeded language parameter
34 * paragraph.C (validate): fixed wrong output of color-package when
35 using interface colors for certain fonts in certain environments,
36 which should not seen as that on the final output.
38 2001-07-26 Juergen Vigna <jug@sad.it>
40 * lyxfont.C (realize): honor ignore_language too!
43 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
45 * text.C (draw): one place more for ignore_language to not draw
48 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
50 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
52 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
54 * buffer.C (parseSingleLyXformat2Token): a more general fix for
55 the minipage conversion problem.
57 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
59 * buffer.C (parseSingleLyXformat2Token): check minipage if we
62 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
64 * BufferView.h: don't forward declare WorkArea
66 * BufferView.C: don't include WorkArea.h
68 2001-07-25 André Pönitz <poenitz@gmx.net>
72 * lyxfunc.C: new LFUN 'math-space'
74 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
76 * text2.C (toggleInset): call open/close
78 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
80 * lyxfunc.C (dispatch): add debug for the disabled case
82 * font.C (buttonText): make similar to rectText
84 * buffer.C (readInset): comment out parsing of insetlist and
87 * PainterBase.C (rectText): small correction
89 * BufferView_pimpl.C: comment out insettheorem and insetlist
91 * commandtags.h: ditto
93 2001-07-24 Juergen Vigna <jug@sad.it>
95 * text.C (draw): honor the ignore_language.
97 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
99 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
101 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
104 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
106 * lyxtext.h: remove unused (and unimplemented) methods
108 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
110 * text.C (getVisibleRow): honor background color
113 * Painter.h: remove default color argument for fillRectangle
115 * text.C (backgroundColor): new method
117 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
119 * text.C (getVisibleRow): adjust
121 * font.[Ch] (rectText): new method, metrics
122 (buttonText): new method, metrics
124 * PainterBase.[hC]: make rectText and buttonText always draw and take
127 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
129 * ToolbarDefaults.C (read):
130 * MenuBackend.C (read): allow escaping in all strings
132 * BufferView_pimpl.C (insertAndEditInset): new method.
133 (Dispatch): use insertAndEditInset whenever appropriate.
135 * BufferView_pimpl.C (insertNote): removed
137 * BufferView_pimpl.C (smartQuote): new method, moved from
138 BufferView; if an insetquote cannot be inserted, insert a '"'
141 * BufferView2.C: remove insertCorrectQuote();
143 * lyxfunc.C (getStatus): Add support for all remaingin
146 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
148 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
149 command (necessary to pass " as parameter of self-insert.
151 * text.C (selectWordWhenUnderCursor):
152 (selectWord): add word_location parameter
153 (selectWordWhenUnderCursor): same + remove special code for word
155 (selectNextWord): use kind() to guess type of insetspecialchar,
158 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
159 (insertErtContents): create ert insets as collapsed.
160 (readInset): better compatibility code for Info inset.
162 2001-07-20 Juergen Vigna <jug@sad.it>
164 * lyxfunc.C (dispatch): use always LyXFind now!
166 * text2.C (init): add a reinit flag so that the LyXText can be
167 reinited instead of deleted and reallocated (used in InsetText).
169 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
175 2001-07-18 Juergen Vigna <jug@sad.it>
177 * text.C (selectNextWord): handle insets inside inset by calling
178 always the bv->text functions so that we can go up the_locking_inset!
180 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
181 in strange locations when inside an inset!
183 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
184 handling to include insets.
186 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
188 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
190 * LyXAction.C (init):
192 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
193 LIGATURE_BREAK, since the name is so stupid.
195 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
197 * buffer.C (readInset): enable reading of new InsetNotes as well as old
200 * FontLoader.C: remove FORMS_H_LOCATION cruft.
202 * sp_form.[Ch]: remove.
204 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
206 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
209 * src/buffer.C (readInset): ditto.
211 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
213 * BufferView_pimpl.C (specialChar): new method. Obsoletes
214 menuSeparator(), endOfSentenceDot(), ldots() and
215 hyphenationPoint(), which are therefore removed.
216 (Dispatch): handle LFUN_HYPHENATION_BREAK.
218 * LyXAction.C (init):
219 * commandtags.h: add LFUN_HYPHENATION_BREAK.
221 * paragraph.C (getWord): removed.
223 * BufferView_pimpl.C (Dispatch): use last word or selection for
224 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
226 * lyx_main.C (queryUserLyXDir): do not ask before creating
227 user_dir, except if it has been named explicitely.
229 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
231 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
232 a document of zero size.
234 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
236 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
237 approriately in the c-tor and in require().
238 (getPackages): output the appropriate LaTeX for natbib support.
240 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
241 variables "use_natbib" and "use_numerical_citations" when reading the
243 (readInset): read the various natbib cite commands.
244 (validate): white-space change.
246 * bufferparams.[Ch]: new variables "bool use_natbib" and
247 "bool use_numerical_citations".
248 (writeFile): output them in the LyX file.
250 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
252 * lyxfunc.C (getStatus): add support for all the inset insertion
255 * text2.C (insertInset):
256 * paragraph.C (insetAllowed):
257 * BufferView_pimpl.C (insertInset): update to take in account the
258 renaming of insertInsetAllowed
260 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
262 * text2.C (getInset): new method. returns inset at cursor position.
264 * BufferView_pimpl.C (Dispatch): changes because of this.
266 * LyXAction.C (init): rename open-stuff to inset-toggle.
268 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
270 * text2.C (toggleInset): renamed from openStuff; use
273 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
275 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
277 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
279 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
281 * buffer.C (readLyXformat2): Add filename to the error dialog
283 2001-07-18 Juergen Vigna <jug@sad.it>
285 * tabular.C (GetCellNumber): put an assert here instead of the check!
287 2001-07-17 Juergen Vigna <jug@sad.it>
289 * BufferView_pimpl.C (toggleSelection): adapted too.
291 * text.C (selectNextWord): adapted for use with insets.
292 (selectSelectedWord): ditto
294 2001-07-17 Juergen Vigna <jug@sad.it>
296 * sp_spell.C (PSpell): fix initialitation order.
298 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
300 * paragraph.C: spacing
302 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
304 * sp_spell.C: repair language selection for pspell
306 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
308 * lyxfunc.h: change more methods to begin with lower char.
310 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
312 * buffer.C (parseSingleLyXformat2Token): Generate error insets
315 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
317 * buffer.C (readLyXformat2): Generate an error dialog if there are
320 2001-07-16 Juergen Vigna <jug@sad.it>
322 * sp_spell.C: always compile ISpell part.
324 * lyxrc.C: added use_pspell entry and it's handling.
326 2001-07-13 Juergen Vigna <jug@sad.it>
328 * sp_spell.C: removed double includes.
330 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
332 Consistent use of Lsstream.h:
333 * Lsstream.h: added using std::stringstream for consistencies sake.
335 * buffer.C: removed using std::stringstream
337 * lyxfont.C (stateText):
338 * paragraph.C (asString):
339 * text.C (selectNextWord, selectSelectedWord):
340 * text2.C (setCounter):
341 * vspace.C (asString, asLatexString):
342 std::ostringstream -> ostringstream.
344 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
346 * LyXAction.C: add LFUN_HELP_ABOUTLYX
347 * commandtags.h: add LFUN_HELP_ABOUTLYX
348 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
350 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
352 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
354 * lyx_gui_misc.C: remove spellchecker
355 * lyxfunc.C: showSpellchecker
360 * sp_form.[Ch]: removed
361 * spellchecker.[Ch]: removed
363 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
365 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
367 (simpleTeXSpecialChars): Simply print the input character without
368 any special translation if pass_thru is set.
370 * layout.h: Added bool pass_thru to layout class for being able to
371 implement pass through of a paragraph for Literate Programming.
373 * layout.C: add LT_PASS_THRU to LayoutTags enum.
374 * layout.C (LyXLayout): set pass_thru to flase in constructor.
375 * layout.C (Read): add "passthru" to list of layout tags and add
376 code to set the pass_thru boolean when it is read.
378 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
380 * trans_decl.h: remove allowed from KmodInfo
382 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
386 * paragraph_pimpl.C (erase): use boost::prior
388 * Painter.C (text): use data() instead of c_str() when length is
390 * WorkArea.C (putClipboard): ditto
391 * font.h (width): ditto
393 * BufferView2.C: use it-> instead of (*it). for iterators
395 * paragraph_pimpl.C: ditto
397 * minibuffer.C: ditto
406 * MenuBackend.C: ditto
411 * ColorHandler.C (LyXColorHandler): ditto
413 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
415 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
417 * text2.C (openStuff): reintroduce this method (which had been
418 nuked in NEW_INSETS frenzy).
420 * lyxfunc.C (Dispatch): when an action has not been handled, use
421 its name in the error message, not its number.
423 * paragraph.C (inInset): change method name to begin with lowercase.
426 * text2.C: updates because of this.
428 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
430 * ToolbarDefaults.C (add): add spaces in error message
432 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
434 * buffer.C (readLyXformat2): initialize the ert comp. variables.
435 (readLyXformat2): rename return_par to first_par, use lyxlex's
436 pushToken and remove the manual push handling.
437 (parseSingleLyXformat2Token): add another ert comp. variable:
438 in_tabular, rename return_par to first_par. handle newlines better
440 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
442 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
444 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
446 * text2.C (getParFromID): removed
448 * buffer.C (getParFromID): new method moved form lyxtext.
449 * BufferView2.C (insertErrors): adjust
450 (setCursorFromRow): adjust
451 * BufferView_pimpl.C (restorePosition): adjust
452 * lyxfunc.C (Dispatch): adjust
453 * undo_funcs.C (textUndo): adjust
455 (textHandleUndo): adjust
456 (textHandleUndo): adjust
458 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
460 * buffer.C: up' the LYX_FORMAT
462 * lyxfont.h: turn NO_LATEX on as default
464 * buffer.C (insertErtContents): new methods of tex style compability.
465 (parseSingleLyXformat2Token): use it several places.
466 * tabular.C (OldFormatRead): and here
468 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
470 * text2.C: remove some commented code.
473 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
474 * trans.C: changes because of the above.
476 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
478 * text2.C (setCounter): Fix counters bug with bibliography layout.
480 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
482 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
484 (simpleTeXSpecialChars): ditto
486 2001-07-06 Juergen Vigna <jug@sad.it>
488 * a lot of files: changed the access to LyXText::status and the
489 call of undo-functions.
491 * undo.[Ch]: added a inset_id to the undo informations.
493 * undo_funcs.[Ch]: added and moved here all undo functions.
495 * lyxtext.h: give the status enum a weight, made status_ a private
496 variable and made accessor functions for it, removed the whole bunch
497 of undo-functions as they are now in their own file, make some
498 functions publically available. Added function ownerParagraph with
501 * paragraph.[Ch]: added "bool same_ids" to the constructor,
502 made InInset() a const function, added getParFromID() function.
504 * buffer.[Ch]: added const version for inset_iterator functions,
505 added getInsetFromID() function.
507 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
508 changed undo functions for new version.
510 2001-07-05 Juergen Vigna <jug@sad.it>
512 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
513 unknow mechanism does not call the proper constructor but only this
514 one also if I request the other!?
516 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
518 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
520 * text2.C (LyXText): use initialization lists.
522 * lyxtext.h (Selection): initialize set_ and mark_
523 (init): remove method
525 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
527 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
529 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
531 * screen.[Ch]: change method names to begin with lowercase
533 * BufferView_pimpl.C (updateScrollbar): simplify further and
534 hopefully make it a bit faster.
536 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
538 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
539 calling directly xforms functions.
541 * Painter.C (Painter):
542 * lyx_cb.C (MenuWrite):
543 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
546 * lyx_gui.C: remove bogus guiruntime extern declaration.
548 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
550 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
552 (redoDrawingOfParagraph): ditto
553 (redoParagraphs): ditto
554 (cutSelection): don't create a object for CutAndPaste use the
555 static method directly
556 (pasteSelection): ditto
558 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
561 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
563 * modifications to some other files because of this.
565 * Makefile.am (lyx_SOURCES): add XFormsView
567 * XFormsView.[Ch]: new files
569 * LyXView.[Ch]: make LyXView a base class for the gui handling for
570 the main window. Move the gui dependent stuff to XFormsView
572 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
574 * tabular.C (GetCellInset): update cur_cell also in the row/col
575 version of this function.
577 * lyxfunc.C: no need to include figure_form.h here.
583 * lyxvc.C: no need to include forms.h here.
585 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
587 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
589 * lyxfunc.C (Dispatch):
591 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
592 constructor argument.
594 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
596 * paragraph.C (Paragraph): dont't clear, and just set layout.
597 (makeSameLayout): use params's copy contructor.
599 * ParagraphParameters.[Ch] (makeSame): delete method
601 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
603 * Variables.[Ch]: fix indentation, rename set to isSet
605 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
607 * lyxfunc.C (Dispatch): fix typo
609 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
611 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
614 * bufferlist.C: include assert.h for emergencyWrite().
616 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
618 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
619 give up at last (bug #425202) !
621 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
627 * spellchecker.C: strip spellchecker options and bring up
628 preferences tab instead
630 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
632 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
633 the istringstream constructor
635 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
637 * paragraph.C (getLayout): fix return value
639 * paragraph.h: do not declare getLayout as inline.
641 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
643 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
645 * lyxcursor.h (operator<): new func
646 (operator>): new func
647 (operator>=): new func
648 (operator<=): new func
650 * text.C (changeCase): use selection.start and selection.end
651 (changeRegionCase): require from to be <= to. Require par to be a
654 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
656 2001-06-27 Juergen Vigna <jug@sad.it>
658 * text.C (cursorLeftOneWord): changed to return the cursor and added
659 overlay with BufferView * parameter which calls this one.
661 (selectWord): use new getWord function.
662 (changeCase): renamed from changeWordCase as and extended to work
665 * lyxtext.h: added enum word_location
667 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
668 changeCase as this operates now also on selections.
670 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
672 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
674 * many files: send debug output to Debug::INFO instead of
677 * converter.C (View):
679 (Move): send debug output to Debug::FILES instead of console.
681 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
683 * lyxfunc.C (getStatus): use func_status
685 * func_status.h: new header, describing the results of
688 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
691 2001-06-25 The LyX Project <jug@sad.it>
693 * buffer.C (sgmlOpenTag):
695 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
697 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
699 * text2.C: remove some dead code
701 * tabular.C (GetCellInset): store the last cell checked (gotten)
703 * tabular.h: add the helper for the speedup
705 * lyxtext.h: remove some dead code
707 2001-06-26 The LyX Project <Asger>
709 * paragraph.C: Change export to LaTeX of alignment to
710 \begin{center} and family for better roundtrip work with reLyX.
712 * Tune the math drawing a bit.
714 2001-06-25 The LyX Project <Asger>
716 * LColor.C (LColor): New color for math background. New color
719 2001-06-25 The LyX Project <jug@sad.it>
721 * lyxfunc.C (MenuNew): remove extra check for .lyx file
724 * bufferlist.C (newFile): do not restrict to files ending with
727 * BufferView_pimpl.C (MenuInsertLyXFile):
729 2001-06-24 The LyX Project <jug@sad.it>
731 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
734 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
736 * lyxtext.h: rename most methods to begin with a small char.
737 Lots of changes because of this.
739 * paragraph.C (Paragraph): do not call fitToSize
740 (erase): call Pimpl::erase
741 (insertChar): call Pimpl::insertChar
742 (insertInset): call Pipl::insertInset
743 (breakParagraph): do not call fitToSize
744 (breakParagraphConservative): do not call fitToSize
745 (fitToSize): remove method
747 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
749 2001-06-24 The LyX Project <Asger>
751 * Fix Qt compilation^2
753 2001-06-24 The LyX Project <jug@sad.it>
755 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
756 depthHook(getDepth()-1).
759 * ParagraphParameters.h:
760 * ParameterStruct.h: change type of depth to unsigned int ==
761 depth_type. Many adaptations to other files before of that.
763 2001-06-24 The LyX Project <Asger>
765 * Fix Qt compilation.
767 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
769 * paragraph.h: renamed several methods to begin with small letter.
770 several changes to many parts of the code because of this.
772 2001-06-23 The LyX Project <jug@sad.it>
774 * text2.C (InsertStringAsLines): renamed from InsertStringA;
775 rewritten to discard all double spaces when KeepEmpty is off
776 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
777 to only handle newlines but not fiddle with spaces and friends.
779 * lyxfunc.C (MenuNew): when doing 'new from template', use
780 template_path as default directory
782 2001-06-23 The LyX Project <Asger>
784 * Clean-up of header file includes all over
785 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
787 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
789 * paragraph.h: renamed from lyxparagraph.h
791 2001-06-23 Asger <lyx@violet.home.sad.it>
793 * Buffer.h: Removed Buffer::resize
794 * BufferList.h: Removed BufferList::resize
795 * LyXView.h: Added LyXView::resize. This way, we will only reflow
796 the document lazily when we change the width, or the font settings.
798 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
800 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
802 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
804 * buffer.h: remove out of date comment
806 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
809 * screen.C: fix "theoretical" GC leak
811 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
813 * LaTeX.C (scanAuxFile):
814 (deplog): remove trailing \r when reading stream (useful under
817 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
819 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
820 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
821 and BufferView::theLockingInset(Inset*), so should use them and not
822 access bv_->text->the_locking_inset directly.
824 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
826 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
829 * tex-defs.h: remove old unused file
831 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
833 * BufferView_pimpl.C: fix typo, remove minibuffer message
834 when buffer has loaded
836 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
838 * lyxfunc.C (Dispatch): use stringstream
839 (MenuNew): use stringstream
840 (Open): use stringstream
842 * importer.C (Import): use stringstream
844 * bufferview_funcs.C (CurrentState): use stringstream
846 * LaTeX.C (run): use stringstream
848 * BufferView_pimpl.C (savePosition): use stringstream
849 (restorePosition): use stringstream
850 (MenuInsertLyXFile): use stringstream
852 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
865 * vspace.C: removed // -*- C++ -*- as first line.
868 * version.h: added // -*- C++ -*- as first line.
870 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
872 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
874 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
877 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
879 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
882 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
884 * gettext.C: include LString.h even when --disable-nls is on.
886 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
888 * converter.h (Get): changed argument type from int to
889 FormatList::size_type to avoid unnecessary conversion.
891 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
894 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
896 * gettext.h: include LString.h even when --disable-nls is on.
898 2001-06-07 Juergen Vigna <jug@sad.it>
900 * text.C (BreakAgain): subst spaces with tabs.
902 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
903 (resizeInsetsLyXText): set force on resizeLyXText.
905 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
907 * gettext.h (gettext_init):
908 (locale_init): use a real definition instead of a macro
910 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
912 * Bufferview_pimpl.C:
914 * LColor.C: further lcolor tidies
916 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
918 * BufferView_pimpl.C (updateScrollbar): simplify.
920 * BufferView2.C: don't include insets/insetinfo.h, change
921 prototype for insertInset and call the Pimpl version. let
922 updateInset call Pimpl version.
924 * BufferView.h: move inset_slept to BufferView::Pimpl, move
925 gotoInset to BufferView::Pimpl
927 2001-06-01 Juergen Vigna <jug@sad.it>
929 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
930 inside a LockingInset (is the update needed at all?).
932 2001-05-31 Juergen Vigna <jug@sad.it>
934 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
935 here not the old one otherwise how should we compare it afterwards
938 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
943 * FontInfo.C: bring C functions into global namespace when
946 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
948 * LString.h: make sure config.h has been loaded before LString.h.
950 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
951 (one for each char read by EatLine!).
953 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
956 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
958 * paragraph.C (BreakParagraph): set the inset_owner in the new par
959 to the same as the par we break from
961 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
963 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
965 * MenuBackend.C (expand): also create menu entries for wide
966 versions of the floats.
968 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
970 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
972 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
973 frontends/Makefile.am
979 * tabular.C (getTokenValue): add std::
981 * tabular-old.C (getTokenValue): add std::
982 (getTokenValue): ditto
983 (getTokenValue): ditto
985 * screen.C (ToggleSelection): adjust
987 * lyxtext.h: put selection cursors inside a Selection struct.
989 * lyxfunc.C (moveCursorUpdate): adjust
991 * lyxfont.C (latexWriteStartChanges): add std::
995 * font.h: delete with(char const *, LyXFont const &)
997 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
999 * FontInfo.C (getFontname): add std::
1001 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1002 (workAreaButtonPress): adjust
1003 (tripleClick): adjust
1005 (moveCursorUpdate): adjust
1008 * BufferView2.C (gotoInset): adjust
1010 2001-05-30 Juergen Vigna <jug@sad.it>
1012 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
1013 to check pspell I add this as default as I now have new pspell
1014 libraries and they seem to use this.
1016 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1018 * text2.C (CutSelection): make the cursor valid before the call to
1021 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1023 * kbsequence.C (parse): de-uglify a bit the parsing code, which
1024 relied on 0 terminated strings and other horrors. Bug found due to
1025 the new assert in lyxstring!
1027 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
1030 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1032 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
1035 * lyxfunc.C (processKeySym): change method of getting to the
1038 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
1039 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
1040 * BufferView_pimpl.[Ch]: here as private methods.
1042 2001-05-28 Juergen Vigna <jug@sad.it>
1044 * text.C (SetHeightOfRow): added the update() call again as it is
1045 needed to initialize inset dimensions!
1047 2001-05-16 Juergen Vigna <jug@sad.it>
1049 * text2.C (SetCharFont): Add new function with BufferView * and
1050 bool toggleall parameters for setting insets internal fonts.
1051 (SetFont): Freeze the undo as we may change fonts in Insets and
1052 all this change should be inside only one Undo!
1054 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
1055 setting font's in insets as for them we have the SetFont function!
1057 2001-05-15 Juergen Vigna <jug@sad.it>
1059 * text2.C (ClearSelection): to be sure we REALLY don't have any
1062 * tabular.C (TeXCellPreamble): fixed the left border problem for
1065 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
1067 * LaTeX.C (deplog): Make sure that the main .tex file is in the
1070 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1072 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
1073 LFUN_BREAKPARAGRAPH.
1075 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
1076 help test to "internal only", similar for LFUN_INSERT_URL
1078 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
1079 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
1080 auto_region_delete and deadkeys.
1082 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
1085 * LColor.C: remove some dead entries, tidy a little
1087 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1089 * lyxfunc.C (processKeySym): comment the Escape handling, remove
1091 (Dispatch): implement LFUN_ESCAPE
1093 * commandtags.h: add LFUN_ESCAPE
1095 * LyXAction.C (init): add entry for LFUN_ESCAPE
1097 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
1098 Remove commented code.
1099 (insertNote): moved here
1100 (open_new_inset): moved here
1102 * BufferView[2].[Ch]: move insertNote and open_new_inset to
1105 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1107 * kbmap.C (findbinding): clean it up and make it work correctly.
1109 * lyx_main.C (init): do not pass argc and argv as parameters
1111 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1113 * buffer.C: fix path for OS/2 & Win32
1117 * lyx_main.C: Added os:: class.
1119 * os2_defines.h: update
1121 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1123 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
1124 better by trying again with reduced state.
1126 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1128 * lyxrc.C (read): print error about invalid key sequence only when
1129 debugging (because not all latinX keysyms are known to some X
1132 * kbsequence.C (getiso): add a few std:: qualifiers
1133 (getiso): comment out extra return statement.
1135 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1137 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
1139 (Dispatch): enhance the accent inset a bit. (not perfect)
1141 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1143 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
1145 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1147 * bufferlist.C (emergencyWrite): fix assert() call
1149 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
1151 * text.C (InsertChar): Added trivial patch to only send the "you
1152 can not do multiple spaces this way" message once during a
1155 2001-05-08 Baruch Even <baruch@lyx.org>
1157 * Makefile.am: Changed order of libraries to get LyX to link properly
1158 with the gnome frontend.
1160 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1162 * LaTeXFeatures.h: add a std:: qualifier
1164 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1166 * paragraph.C (String): use stringstream
1168 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1170 * paragraph.C (writeFile): remove footflag arg
1172 * buffer.C (makeLaTeXFile): use stringstream
1173 (latexParagraphs): remove footnot gurba
1175 * LaTeXFeatures.C (getPackages): use stringstream
1176 (getMacros): likewise
1177 (getTClassPreamble): likewise
1178 (getFloatDefinitions): new method
1180 * paragraph.C (writeFile): reindent
1183 * WorkArea.h: revert the xpos + etc changes.
1185 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
1187 * lyxparagraph.[Ch]: add copy constructor, remove Clone
1189 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
1190 (pasteSelection): likewise
1191 * text2.C (CreateUndo): likewise
1193 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1195 * minibuffer.C (peek_event): temporarily reduce the functionality
1196 of the minibuffer (to allow args on lfuns)
1198 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
1199 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
1201 * buffer.C (readInset): add compability reading of old float
1202 lists, add reading of new style float list.
1203 (readInset): avoid reevaluation of inscmd.getCmdName()
1204 (getLists): reindent
1206 * MenuBackend.C (MenuItem): implement parsing of
1207 md_floatlistinsert and md_floatinsert.
1208 (expand::LastFiles): move initalizaton of iterators out of loop,
1210 (expand::Documents): introduce typdedef vector<string> Strings,
1212 (expand::ExportFormats): introduce typedef vector<Format const *>
1213 Formats, and use it.
1214 (expand): implement FloatListInsert and FloatInsert.
1216 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
1217 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
1218 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
1220 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
1222 (Dispatch::LFUN_FLOAT_LIST): implement
1224 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1226 * LaTeX.C (run): Fix problem with --export code.
1228 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1230 * BufferView.[Ch] (workarea): removed.
1231 (getClipboard) new method; wrapper for workarea()->getClipboard()
1233 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
1236 * WorkArea.h (width, height, xpos, ypos): These methods all
1237 returned the dimensions of the work_area sub-area of WorkArea,
1238 resulting in a position error if the WorkArea were resized. Now
1239 return the dimensions of the entire WorkArea.
1241 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
1243 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1245 * LaTeX.C (deplog): correct the syntax of regex reg1
1247 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1249 * undo.C: remove !NEW_INSETS cruft
1251 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1253 * text2.C: remove !NEW_INSETS cruft
1255 * text.C: remove !NEW_INSETS cruft
1257 * tabular.C: remove !NEW_INSETS cruft
1259 * spellchecker.C: remove !NEW_INSETS cruft
1261 * lyxtext.h: remove !NEW_INSETS cruft
1263 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
1265 * lyxfunc.C: remove !NEW_INSETS cruft
1267 * lyxfind.C: remove !NEW_INSETS cruft
1269 * lyx_cb.C: remove !NEW_INSETS cruft
1271 * figureForm.C: remove !NEW_INSETS cruft
1273 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
1275 * buffer.[Ch]: remove !NEW_INSETS cruft
1277 * ToolbarDefaults.C: remove !NEW_INSETS cruft
1279 * CutAndPaste.C: remove !NEW_INSETS cruft
1281 * BufferView_pimpl.C: remove !NEW_INSETS cruft
1283 * BufferView2.C: remove !NEW_INSETS cruft
1285 * BufferView.h: remove !NEW_INSETS cruft
1287 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1289 * Lsstream.h: include LString.h before the sstream headers to
1290 fix problem with gcc 2.95.3 and lyxstring
1292 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1294 * lyx_main.C: add using directives when needed for C functions
1295 declared in std:: namespace.
1297 2001-04-27 Juergen Vigna <jug@sad.it>
1299 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
1300 (SetHeightOfRow): comment out the update call should not be needed!
1302 2001-04-13 Juergen Vigna <jug@sad.it>
1304 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
1305 (LyXTabular): tried to minimize operator= operations (and realized
1306 hopfully Lars wish).
1308 2001-04-27 Juergen Vigna <jug@sad.it>
1310 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
1312 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1314 * lyxfunc.C (Dispatch): hack to make listof algorithm work
1316 * buffer.C (readInset): hack to make listof algorithm work
1318 * BufferView_pimpl.C: hack to make listof algorithm work
1320 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1322 * LyXAction.C: removed all !NEW_INSETS cruft
1323 (init): moved lfun_item in method
1325 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
1327 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1329 * BufferView2.C (theLockingInset): white space.
1331 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1333 * minibuffer.C: include <iostream>
1335 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
1337 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
1339 * commandtags.h: add LFUN_TRANSPOSE_CHARS
1341 * text.[Ch] (TransposeChars): new method
1343 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1345 * call message directly through LyXView instead of through LyXFunc
1346 * BufferView2.C: adjust
1347 * BufferView_pimpl.C: adjust
1348 * FontLoader.C: adjust
1350 * bufferview_funcs.C: adjust
1351 * converter.C: adjust
1352 * figureForm.C: adjust
1353 * importer.C: adjust
1355 * lyx_gui_misc.C: adjust
1359 + more files in subdirs
1361 * lyxparagraph.h (size): move up int file
1364 * adjust all uses of Assert to lyx::Assert.
1366 * BufferView2.C (ChangeCitationsIfUnique): adjust for
1367 lyxfunctional in namespace lyx
1368 * layout.C (hasLayout): ditto
1371 (delete_layout): ditto
1372 (NumberOfClass): ditto
1373 * converter.C (GetFormat): ditto
1378 * bufferlist.C (getFileNames): ditto
1379 (emergencyWriteAll): ditto
1382 * MenuBackend.C (hasSubmenu): ditto
1385 * BufferView_pimpl.C (getInsetByCode): ditto
1387 2001-04-18 Juergen Vigna <jug@sad.it>
1389 * vspace.C (asLatexString): fixed the 100% problem.
1391 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1393 * lyxfunc.C (Dispatch):
1395 * minibuffer.h: add a few std:: qualifiers
1397 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1399 * minibuffer.[Ch]: reimplement so that commands is initiated and
1400 run from lyxfunc, simplified som handling, and made the completion
1401 and history code for complete. wip.
1403 * lyxfunc.C (processKeySym): call message
1404 (miniDispatch): new temporary method
1405 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
1406 (LFUN_MESSAGE): implement
1407 (LFUN_MESSAGE_PUSH): implement
1408 (LFUN_MESSAGE_POP): implement
1409 (initMiniBuffer): the initial/defualt minibuffer message.
1411 * lyxfont.[Ch]: inline some more getters
1413 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
1415 * lyx_gui_misc.[Ch] (WriteStatus): remove method
1417 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
1418 (AutoSave): use LFUN_MESSAGE
1419 (Reconfigure): ditto
1421 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
1423 * figureForm.C: use LFUN_MESSAGE
1425 * converter.C (runLaTeX): use LFUN_MESSAGE
1427 * bufferview_funcs.C: use LFUN_MESSAGE
1429 (changeDepth): ditto
1431 * bufferparams.h: use boost::
1433 * bufferlist.h: inherit privately from noncopyable
1435 * bufferlist.C (loadLyXFile): remove some commented code.
1437 * buffer.C (runChktex): use LFUN_MESSAGE
1439 * ShareContainer.h: inherit privately from noncopyable
1441 * ParagraphParameters.[hC] (depth): inline it.
1443 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
1445 (message): new method
1446 (messagePush): ditto
1448 (show): init minibuffer
1449 (showState): direct call
1451 * LaTeX.[Ch]: inherit privately from noncopyable
1452 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
1453 instead of WriteStatus.
1455 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
1457 * BufferView_pimpl.C (buffer): don't init minibuffer
1458 (workAreaButtonPress): use LFUN_MESSAGE
1459 (workAreaButtonRelease): ditto
1460 (savePosition): ditto
1461 (restorePosition): ditto
1462 (MenuInsertLyXFile): ditto
1463 (workAreaExpose): don't init minibuffer
1464 (update): remove commented code, simplify
1466 * BufferView2.C (openStuff): use LFUN_MESSAGE
1467 (toggleFloat): ditto
1470 (copyEnvironment): ditto
1471 (pasteEnvironment): ditto
1476 (updateInset): remove some commented code
1478 * lastfiles.h: inherit privately from noncopyable
1483 * lyxlex_pimpl.h: ditto
1485 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
1486 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
1487 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1489 * LyXAction.h: inherit privately from noncopyable, add methods
1490 func_begin, func_end, returning iterators to the func map.
1492 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
1493 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1494 (func_begin): new method
1495 (func_end): new method
1497 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
1499 (copySelection): ditto
1500 (pasteSelection): ditto
1502 * BufferView.C: whitespace change
1503 * BufferView.h: inherit privately from noncopyable
1505 2001-04-16 Allan Rae <rae@lyx.org>
1507 * tabular-old.C (l_getline):
1508 * spellchecker.C (sc_check_word):
1509 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
1510 an unrecognised preprocessor directive. So ensure they're wrapped.
1512 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
1514 * src/exporter.C (Export): Give an error message when path to file
1517 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
1519 * LaTeX.C (deplog): Always check that foundfile exists.
1521 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1524 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
1526 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1528 * tabular.[Ch] (getLabelList): implement new method
1530 * minibuffer.h: comment ouf setTiimer
1532 * minibuffer.C (ExecutingCB): constify res
1533 (peek_event): constify s
1534 (Set): constify ntext
1535 (Init): constify nicename
1537 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
1539 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
1540 (savePosition): use two params to Minibuffer::Set
1541 (restorePosition): ditto
1543 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1545 * lyx_main.C: include language.h
1547 * Makefile.am (lyx_main.o): add language.h
1549 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1555 * CutAndPaste.C: include gettext.h
1557 * lyxfont.h: remove old hack with ON and OFF.
1560 * lyxfont.h: do not include language.h...
1565 * bufferview_funcs.C:
1571 * paragraph.C: ... but do it here instead
1573 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1575 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
1577 * tabular.C: small reformat
1579 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
1582 (BreakParagraph): ditto
1583 (SetOnlyLayout): ditto
1586 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
1589 * lastfiles.C: removed most using decl, add std:: where needed
1591 * buffer.C: ws changes
1593 * MenuBackend.C (class compare_format): put into anon namespace
1594 (expand): constify label, names, action, action2
1597 * text.C (SingleWidth): constify font
1598 (IsBoundary): constify rtl2
1599 (GetVisibleRow): constify ww
1601 * LaTeX.C (deplog): constify logfile
1603 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
1605 (workAreaExpose): constify widthChange, heightChange
1607 * lyxrow.C (par): moved
1610 * lyxrow.h: as inlines here
1612 * lyxfont.h (shape): moved from lyxfont.C
1613 (emph): moved from lyxfont.C
1615 * lyxfont.C (LyXFont): use initialization list for all
1617 (shape): move to lyxfont.h as inline
1618 (emph): move to lyxfont.h as inline
1621 2001-04-04 Juergen Vigna <jug@sad.it>
1623 * vspace.C: had to include stdio.h for use of sscanf
1625 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
1628 * BufferView_pimpl.h: remove xforms cruft. Both classes are
1629 independent of xforms.
1631 2001-04-02 Juergen Vigna <jug@sad.it>
1633 * spellchecker.C: fixed namespace placing!
1635 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1637 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
1638 the LyXParagraph * is 0.
1640 2001-03-29 Juergen Vigna <jug@sad.it>
1642 * vspace.C: added support for %, c%, p%, l%.
1643 (stringFromUnit): added helper function.
1644 (asLatexString): changed to give right results for the %-values.
1646 * buffer.C: convert the widthp in a width%.
1648 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1650 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
1653 * figureForm.[Ch]: stripped the FD_from_figure manipulation
1654 code out of lux_cb.[Ch], ready for its (imminent?) removal.
1656 * lyx_cb.[Ch]: see above.
1658 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
1662 * lyx.[Ch]: replaced by figure_form.[Ch].
1666 * lyxfunc.C: changed headers associated with above changes.
1668 2001-03-27 Juergen Vigna <jug@sad.it>
1670 * BufferView_pimpl.C: set the temporary cursor right!
1672 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1674 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
1676 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1678 * LString.h: removed "using std::getline"!
1680 * BufferView_pimpl.C (Dispatch): changes due to changes in
1681 InsetInclude::Params.
1683 * buffer.C (tag_name): removed redundant break statements as they were
1684 producing lots of warnings with my compiler.
1686 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1688 * LString.h: add "using std::getline" when using the real <string>.
1690 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
1692 * buffer.C: removed bitset usage.
1693 PAR_TAG moved to an anonymous name space.
1694 (tag_name): new funtion, also in the anonymous namespace.
1695 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
1696 (makeDocBookFile): clean code. Completed transition from string arrays
1698 (SimpleDocBookOnePar): code clean.
1700 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1702 * tabular.C: add some comments.
1704 2001-03-22 Juergen Vigna <jug@sad.it>
1706 * buffer.C (parseSingleLyXformat2Token): redone the minipage
1707 compatibility read a bit and fixed bug with minipage in different
1710 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
1712 * buffer.C (pop_tag): removed.
1713 (push_tag): removed.
1714 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
1715 array replaced with vector. Added support for CDATA sections.
1716 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
1718 (makeDocBookFile): XML conformant declaration of CDATA section,
1719 fixed bug related to <emphasis> in the first paragraph char.
1720 (sgmlOpenTag): exclude empty tags.
1721 (sgmlCloseTag): ditto.
1723 * buffer.h (pop_tag): removed.
1724 (push_tag): removed.
1726 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1728 * language.h (Languages): added size_type and size().
1730 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1732 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
1733 response on compability reading of minipages. One probliem is that
1734 the old usage of minipages was «flertydig»
1736 * several files here and in subdirs: don't use static at file
1737 scope use anon namespaces instead.
1739 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
1741 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
1742 LaTeX output. This is necessary for Literate document
1745 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1747 * buffer.C: insert hfill when needed.
1749 * tabular.C (l_getline): use string::erase, small whitespace change.
1751 * BufferView_pimpl.C: try the anon namespace.
1754 2001-03-16 Juergen Vigna <jug@sad.it>
1756 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
1757 otherwise it won't open options-dialogs.
1759 * buffer.C: honor pextraWidth(p) on converting minipages.
1761 * tabular.C (l_getline): changed the functions to strip trailing \r.
1763 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1765 * BufferView_pimpl.C:
1766 * minibuffer..C: added "using SigC::slot" declaration.
1768 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1770 * lyxlex_pimpl.h: noncopyable is in namespace boost.
1776 * paragraph.C: ditto
1778 * lyxtext.h: NO_PEXTRA
1780 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
1782 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
1783 * ParameterStruct.h: ditto
1784 * ParagraphParameters.h: ditto
1785 * lyxparagraph.h: ditto
1787 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1789 * buffer.C: add compability for minipage alignment.
1790 (latexParagraphs): remove unwanted pextra check.
1792 * several files: remove CXX_WORKING_NAMESPACES
1794 * buffer.C (pop_tag): tie is in namespace boost
1796 * BufferView.h: noncopyable is in namespace boost
1801 * lastfiles.h: ditto
1802 * bufferlist.h: ditto
1803 * ShareContainer.h: ditto
1805 * LyXAction.h: ditto
1808 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1810 * Merging changes from BRANCH_MVC back into HEAD.
1812 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
1814 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
1816 * BufferView_pimpl.C: change from intl.C
1820 * Makefile.am: move combox.*
1826 * intl.C: remove dialog (covered by prefs)
1828 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1830 * lyxfunc.C (Dispatch): removed redundant break statement.
1832 2001-03-14 Juergen Vigna <jug@sad.it>
1834 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
1836 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1838 * buffer.C: add hack to fix compability reading of minipages.
1840 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
1842 * buffer.C (getLists): Cleanup.
1844 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1846 * lyxfont.C (update): don't honor toggleall on font size.
1848 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
1852 * Makefile.am: moved to frontends/xforms/
1856 * BufferView_pimpl.C: changes for moved mathpanel
1858 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1860 * gettext.h: fix gettext_init() in --disable-nls
1862 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1864 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
1866 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
1869 * lyx.h: strip external form
1871 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1873 * BufferView_pimpl.C: add comment, destroySplash()
1875 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1877 * BufferView_pimpl.C:
1881 * lyxfunc.C: use re-worked insetinclude
1883 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1885 * buffer.C: add using std::stringstream.
1887 * lyx_cb.C: readd using std::ios.
1889 * buffer.C: add using std::map.
1891 * BufferView_pimpl.C: add using std::vector.
1893 * ShareContainer.h: add std:: to swap.
1895 * buffer.h: add some typedefs
1896 * buffer.C (getLists): use them
1897 (getLists): renamed from getTocList.
1898 add a counter for the different float types and use it in the
1900 (getLists): use the same counter for the NEW_INSETS and the "non"
1903 * lyx_cb.h: remove unused items, includes, using etc.
1905 * ShareContainer.h: remove some commented code, add more comments
1906 and "documentation".
1908 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1910 * buffer.C (getTocList): make the list also when NEW_INSETS is
1913 * buffer.h: remove TocType
1915 * buffer.C (getTocList): change to return a map<string,
1916 vector<TocItem> >, implement for dynamic number of list.
1918 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
1919 * text2.C (PasteSelection): adjust
1920 * CutAndPaste.C (pasteSelection): adjust
1922 * FloatList.C (FloatList): update from the new_insets branch.
1923 * Floating.[Ch]: ditto
1924 * LaTeXFeatures.C: ditto
1926 * lyxlex_pimpl.C: ditto
1928 * paragraph.C (Last): remove when NEW_INSETS is defined.
1930 * other file: changes because of the above.
1932 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1934 * lyxparagraph.h: rename next to next_, previous to previous_,
1935 make them private for NEW_INSETS. Rename Next() to next(),
1936 Previous() to previous().
1938 * other files: changes because of the above.
1940 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
1943 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
1946 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1948 * main.C (main): pass lyx_localedir to gettext_init().
1950 * gettext.h: remove locale_init and gettext_init macros
1952 * gettext.C (locale_init): new function
1953 (gettext_init): new function
1955 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
1958 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
1960 * Moved credits to frontends:
1961 * credits.[Ch]: removed
1962 * credits_form.[Ch]: removed
1963 * lyx_gui_misc.C: remove credits stuff
1966 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1968 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
1970 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
1971 unneeded destructor.
1973 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
1974 a standalone pointer again.
1976 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
1978 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
1984 * ToolbarDefaults.C:
1993 * BufferView_pimpl.C: use new file dialog in GUII
1996 * lyx_cb.C: remove LayoutsCB to Toolbar
1998 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2000 * ShareContainer.h (get): add std:: qualifier
2002 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2004 * ShareContainer.h: define a proper ShareContainer::value_type
2005 type (and use typename to please compaq cxx)
2007 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2009 * lyxparagraph.h: move serveral local vars to
2010 ParameterStruct/ParagraphParameters., use ShareContainer in
2011 FontTable., make vars in FontTable private and add getter and
2014 * paragraph.C: changes because of the above.
2016 * lyxfont.h: remove copy constructor and copy assignment. (the
2017 default ones is ok), move number inside FontBits. move inlines to
2020 * lyxfont.C: add number to initializaton of statics, move several
2021 inlines here. constify several local vars. some whitespace
2022 cleanup. Dont hide outerscope variables.
2024 * Spacing.h: add two new constructors to match the set methods.
2026 * ShareContainer.h: new file, will perhaps be moved to support
2028 * ParameterStruct.h: new file
2030 * ParagraphParameters.h: new file
2032 * ParagraphParameters.C: new file
2034 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
2035 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
2037 * BufferView_pimpl.C: ParagraphParameter changes.
2038 * buffer.C: Likewise.
2039 * bufferview_funcs.C: Likewise.
2041 * text2.C: Likewise.
2043 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2045 * lyxfind.C (LyXReplace): do not redefine default argument in
2047 (IsStringInText): ditto
2048 (SearchForward): ditto
2049 (SearchBackward): ditto
2051 2001-03-06 Juergen Vigna <jug@sad.it>
2053 * lyxfind.C (IsStringInText): put parentes around expressions.
2055 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
2057 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
2059 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
2061 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
2063 * stl_string_fwd.h: add comment
2065 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
2068 * tabular.C: remove unused DocBook methods
2074 killed DO_USE_DEFAULT_LANGUAGE
2076 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2078 * lyx_gui.C: do not include language.h.
2080 * bufferview_funcs.C (ToggleAndShow): do not provide optional
2081 arguments in function implementation.
2083 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2085 * BufferView_pimpl.C: add <ctime>
2087 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2089 * BufferView_pimpl.C: add using std::find_if
2091 2001-02-27 José Matos <jamatos@fep.up.pt>
2093 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
2096 2001-02-11 José Matos <jamatos@fep.up.pt>
2098 * buffer.C (makeDocBookFile): command styles now have a parameter as
2101 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
2103 * layout_forms.[Ch]: removed
2104 * lyx_cb.[Ch]: out character
2105 * lyx_gui.C: out character
2106 * lyx_gui_misc.C: out character
2107 * bufferview_funcs.C: : out character,
2108 added toggleall as parameter in ToggleAndShow
2110 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
2112 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
2114 * text2.C (SetCurrentFont): Disable number property at boundary.
2116 2001-02-26 Juergen Vigna <jug@sad.it>
2118 * lyxfunc.C (getStatus): added a string argument override function so
2119 that this is correctly called from LyXFunc::Dispatch if it contains a
2120 do_not_use_argument which is used!
2121 (Dispatch): added check for "custom" export and call appropriate func.
2123 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
2125 * lyxrc.C: Add language_command_local, language_use_babel and
2126 language_global_options.
2128 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
2130 * buffer.C (makeLaTeXFile): Use language_use_babel and
2131 language_global_options.
2133 2001-02-23 Juergen Vigna <jug@sad.it>
2135 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
2136 which works with LyXText and putted it inside BufferView. Here now we
2137 only call for that part the BufferView::Dispatch() function.
2139 * BufferView.C (Dispatch): added.
2141 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
2142 functions which needs to use a LyXText over from LyXFunc.
2143 (MenuInsertLyXFile): added
2144 (getInsetByCode): added
2145 (moveCursorUpdate): added
2146 (static TEXT): added
2148 2001-02-22 Juergen Vigna <jug@sad.it>
2150 * BufferView_pimpl.C (update): call a status update to see if LyXText
2153 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2155 * vc-backend.C (revert): implement for CVS
2156 (getLog): implement for CVS
2158 2001-02-20 Juergen Vigna <jug@sad.it>
2160 * text2.C (ClearSelection): added BufferView param for inset_owner call
2162 * lyxfunc.C (TEXT): added this function and use it instead of
2163 directly owner->view()-text of getLyXText().
2165 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
2167 * src/layout_forms.C: out preamble
2168 * src/layout_forms.h: out preamble
2169 * src/lyx_cb.C: out preamble
2170 * src/lyx_cb.h: out preamble
2171 * src/lyx_gui.C: out preamble
2172 * src/lyx_gui_misc.C: out preamble
2173 * src/lyxfunc.C: connect with guii preamble
2175 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
2177 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
2179 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
2181 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
2182 whether to run bibtex.
2184 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
2186 * Makefile.am (lyx_SOURCES): Remove BackStack.h
2188 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
2190 * Makefile.am (lyx_SOURCES): removed bibforms.h
2194 * text.C (GetVisibleRow): make several local vars const
2196 * tabular.C: small cleanup.
2198 * lyxserver.C (callback): use compare instead of strncmp
2200 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
2201 inlines to after class or to paragraph.C
2203 * lyxfont.h: remove friend operator!=
2205 * converter.h: move friend bool operator< to non friend and after
2208 * combox.h: small cleanup
2210 * buffer.h: doxygen, remove unused constructor, move inclas inlies
2211 to inlines after class def.
2213 * buffer.C (pop_tag): use string operations instead of strcmp
2215 * bmtable.c: doxygen, small cleanup
2217 * LaTeX.h: remove friend operator==
2219 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2231 * BufferView_pimpl.C:
2232 * BufferView.[Ch]: remove cruft
2234 2001-02-14 Juergen Vigna <jug@sad.it>
2236 * lyxfunc.C: removed #if 0 unused code
2238 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
2240 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
2242 * text2.C (SetSelection): added a BufferView * parameter
2244 2001-02-13 Juergen Vigna <jug@sad.it>
2246 * lyxfunc.C (Dispatch): fixed protected blank problem.
2247 * BufferView2.C (protectedBlank): added LyxText * parameter.
2249 * tabular.C (AppendRow): forgot to set row_info of newly added row.
2250 (AppendColumn): same as above for column_info.
2252 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
2253 (moveCursorUpdate): use a LyXText param for support of InsetText.
2255 * BufferView_pimpl.C (doubleClick): added support for InsetText.
2256 (tripleClick): ditto
2258 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
2260 * BufferView_pimpl.C (update): added LyXText param to honor insets.
2262 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
2264 * text2.C (SetSelection): set correct update status if inset_owner
2267 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
2269 * tabular.C: remove some commented code.
2271 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
2273 * BufferView_pimpl.C: call hideSplash()
2275 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
2278 * bibforms.h: remove
2281 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
2282 add LFUN_CHILD_CREATE
2284 * counters.h: fix tiny typo
2289 * lyx.C: move splash to frontends/xforms/
2291 * lyx_gui_misc.C: move Include and Bibform to frontends
2293 * lyxvc.h: clarify comment
2295 * vspace.C: tiny housekeeping
2297 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
2299 * text.C (PrepareToPrint): RTL Fix.
2301 * paragraph.C (GetUChar): New method.
2302 (String): Use GetUChar.
2304 * buffer.C (asciiParagraph): Use GetUChar.
2306 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
2308 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
2310 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
2313 * buffer.C: rename to getLogName(), handle
2314 build log / latex log nicely
2316 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2319 * MenuBackend.h: remove support for reference menuitem type.
2321 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
2323 * BufferView_pimpl.C: housekeeping
2324 * BufferView_pimpl.h:
2329 * minibuffer.h: move Timeout GUI-I
2331 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
2333 * lyxrc.C (read): Update converters data-structures.
2335 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
2337 * LaTeX.h (operator!=): add operator != for Aux_Info
2339 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
2341 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
2343 * LaTeXLog.C: deleted, useful code moved to Buffer
2346 * buffer.C: new function getLatexLogName()
2352 * lyxfunc.C: use frontends for LaTeX and VC logs
2354 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2356 * LaTeX.h: yet another std:: that Allan forgot.
2358 * Variables.C (set): renamed from isset(), because this clashes
2359 with some HP-UX macros (grr).
2361 2001-02-06 Allan Rae <rae@lyx.org>
2363 * LaTeX.h: Another bug fix. Missing std:: this time.
2365 2001-02-04 Allan Rae <rae@lyx.org>
2367 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
2368 floats problem. I've left it commented out because it's not quite
2369 correct. It should also test that the current object is a table or
2370 figure inset. But I haven't gotten around to figuring out how to do
2371 that. I *think* it'll be something like: "table" == inset.type()
2373 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
2376 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
2378 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
2379 all the citation/databases/styles in the auxilary file.
2380 (run): Rerun latex if there was a babel language error.
2382 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
2384 * text.C (Backspace): Preserve the font when changing newline char
2386 (BreakParagraph): If the cursor is before a space, delete the space.
2388 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
2390 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
2392 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
2393 new argument (code).
2394 (ChangeCitationsIfUnique): New method.
2396 * paragraph.C (GetPositionOfInset): Handle bibkey.
2398 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2400 * BufferView_pimpl.h: change type of Position::par_pos to
2401 LyXParagraph::size_type.
2403 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
2405 * BufferView_pimpl.C (savePosition, restorePosition): Write
2406 messages to minibuffer.
2408 2001-01-28 José Matos <jamatos@fep.up.pt>
2410 * buffer.C (makeDocBookFile): adds support for document language.
2411 A silly restriction on the name of LatexCommand types where removed.
2412 Added support for CDATA sections, allows to chars unescaped, used
2413 among others in code, to avoid escape < and >.
2415 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2417 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
2418 saved positions instrad of a stack. Furthermore, a position is
2419 stored using paragraph id/paragraph position.
2421 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
2422 Remove LFUN_REF_BACK.
2424 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2426 * converter.C (dvipdfm_options): New method.
2428 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
2430 * vspace.C (isValidLength): Fix for empty input string.
2432 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2434 * LyXAction.C (init): change description of LFUN_FIGURE to
2437 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2439 * LaTeX.C: add using directive
2441 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2443 * MenuBackend.C (expand): Fix the sorting of the formats.
2445 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
2447 * lyx_main.C: tiny error message fix
2449 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2451 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
2452 calling fl_initialize(). This fixes the problem with ',' as
2453 decimal separator in text files.
2455 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2457 * trans.C (process): Fix the keymap bug.
2459 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
2461 * LaTeX.C (scanAuxFiles): New method. Provides support for
2462 multiple bibliographies (when using the bibtopic/bibunits pacakges).
2463 (scanLogFile) Scan for "run BibTeX" messages.
2465 * buffer.C (makeLaTeXFile): Do not load the ae package when using
2466 OT1 font encoding. Also, load the aecompl package if the ae
2469 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
2471 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2473 * texrow.C (increasePos): turn two error messages into debug
2476 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
2478 * LaTeX.C (scanAux): Handle the \@input macro.
2479 (runBibTeX): Use scanAux().
2481 * language.C (latex_options_): New field.
2483 * LaTeXFeatures.C (getMacros): Add language macros.
2485 * buffer.C (makeLaTeXFile): Small fix.
2487 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2489 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
2491 * text2.C: add a using directive.
2493 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
2498 * lyxfunc.C: kill LyXBell.
2500 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
2502 * text.C (IsBoundary): Remove the error message
2504 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
2506 * lyxrc.C (setDefaults): Correct initialization value for
2509 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
2511 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
2514 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
2517 * src/LyXAction.C: Added reference-next.
2519 * text.C (InsertChar): Use contains instead of strchr.
2521 * lyx_cb.C (MenuInsertLabel): Enable default value code.
2523 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
2525 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
2526 alignment commands (when needed).
2528 * text.C (InsertChar): Add ':' to number separator chars.