1 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
3 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
5 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8 the minipage conversion problem.
10 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17 * BufferView.h: don't forward declare WorkArea
19 * BufferView.C: don't include WorkArea.h
21 2001-07-25 André Pönitz <poenitz@gmx.net>
25 * lyxfunc.C: new LFUN 'math-space'
27 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
29 * text2.C (toggleInset): call open/close
31 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
33 * lyxfunc.C (dispatch): add debug for the disabled case
35 * font.C (buttonText): make similar to rectText
37 * buffer.C (readInset): comment out parsing of insetlist and
40 * PainterBase.C (rectText): small correction
42 * BufferView_pimpl.C: comment out insettheorem and insetlist
44 * commandtags.h: ditto
46 2001-07-24 Juergen Vigna <jug@sad.it>
48 * text.C (draw): honor the ignore_language.
50 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
52 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
54 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
57 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
59 * lyxtext.h: remove unused (and unimplemented) methods
61 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
63 * text.C (getVisibleRow): honor background color
66 * Painter.h: remove default color argument for fillRectangle
68 * text.C (backgroundColor): new method
70 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
72 * text.C (getVisibleRow): adjust
74 * font.[Ch] (rectText): new method, metrics
75 (buttonText): new method, metrics
77 * PainterBase.[hC]: make rectText and buttonText always draw and take
80 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
82 * ToolbarDefaults.C (read):
83 * MenuBackend.C (read): allow escaping in all strings
85 * BufferView_pimpl.C (insertAndEditInset): new method.
86 (Dispatch): use insertAndEditInset whenever appropriate.
88 * BufferView_pimpl.C (insertNote): removed
90 * BufferView_pimpl.C (smartQuote): new method, moved from
91 BufferView; if an insetquote cannot be inserted, insert a '"'
94 * BufferView2.C: remove insertCorrectQuote();
96 * lyxfunc.C (getStatus): Add support for all remaingin
99 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
101 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
102 command (necessary to pass " as parameter of self-insert.
104 * text.C (selectWordWhenUnderCursor):
105 (selectWord): add word_location parameter
106 (selectWordWhenUnderCursor): same + remove special code for word
108 (selectNextWord): use kind() to guess type of insetspecialchar,
111 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
112 (insertErtContents): create ert insets as collapsed.
113 (readInset): better compatibility code for Info inset.
115 2001-07-20 Juergen Vigna <jug@sad.it>
117 * lyxfunc.C (dispatch): use always LyXFind now!
119 * text2.C (init): add a reinit flag so that the LyXText can be
120 reinited instead of deleted and reallocated (used in InsetText).
122 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
128 2001-07-18 Juergen Vigna <jug@sad.it>
130 * text.C (selectNextWord): handle insets inside inset by calling
131 always the bv->text functions so that we can go up the_locking_inset!
133 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
134 in strange locations when inside an inset!
136 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
137 handling to include insets.
139 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
141 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
143 * LyXAction.C (init):
145 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
146 LIGATURE_BREAK, since the name is so stupid.
148 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
150 * buffer.C (readInset): enable reading of new InsetNotes as well as old
153 * FontLoader.C: remove FORMS_H_LOCATION cruft.
155 * sp_form.[Ch]: remove.
157 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
159 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
162 * src/buffer.C (readInset): ditto.
164 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
166 * BufferView_pimpl.C (specialChar): new method. Obsoletes
167 menuSeparator(), endOfSentenceDot(), ldots() and
168 hyphenationPoint(), which are therefore removed.
169 (Dispatch): handle LFUN_HYPHENATION_BREAK.
171 * LyXAction.C (init):
172 * commandtags.h: add LFUN_HYPHENATION_BREAK.
174 * paragraph.C (getWord): removed.
176 * BufferView_pimpl.C (Dispatch): use last word or selection for
177 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
179 * lyx_main.C (queryUserLyXDir): do not ask before creating
180 user_dir, except if it has been named explicitely.
182 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
184 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
185 a document of zero size.
187 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
189 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
190 approriately in the c-tor and in require().
191 (getPackages): output the appropriate LaTeX for natbib support.
193 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
194 variables "use_natbib" and "use_numerical_citations" when reading the
196 (readInset): read the various natbib cite commands.
197 (validate): white-space change.
199 * bufferparams.[Ch]: new variables "bool use_natbib" and
200 "bool use_numerical_citations".
201 (writeFile): output them in the LyX file.
203 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
205 * lyxfunc.C (getStatus): add support for all the inset insertion
208 * text2.C (insertInset):
209 * paragraph.C (insetAllowed):
210 * BufferView_pimpl.C (insertInset): update to take in account the
211 renaming of insertInsetAllowed
213 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
215 * text2.C (getInset): new method. returns inset at cursor position.
217 * BufferView_pimpl.C (Dispatch): changes because of this.
219 * LyXAction.C (init): rename open-stuff to inset-toggle.
221 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
223 * text2.C (toggleInset): renamed from openStuff; use
226 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
228 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
230 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
232 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
234 * buffer.C (readLyXformat2): Add filename to the error dialog
236 2001-07-18 Juergen Vigna <jug@sad.it>
238 * tabular.C (GetCellNumber): put an assert here instead of the check!
240 2001-07-17 Juergen Vigna <jug@sad.it>
242 * BufferView_pimpl.C (toggleSelection): adapted too.
244 * text.C (selectNextWord): adapted for use with insets.
245 (selectSelectedWord): ditto
247 2001-07-17 Juergen Vigna <jug@sad.it>
249 * sp_spell.C (PSpell): fix initialitation order.
251 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
253 * paragraph.C: spacing
255 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
257 * sp_spell.C: repair language selection for pspell
259 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
261 * lyxfunc.h: change more methods to begin with lower char.
263 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
265 * buffer.C (parseSingleLyXformat2Token): Generate error insets
268 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
270 * buffer.C (readLyXformat2): Generate an error dialog if there are
273 2001-07-16 Juergen Vigna <jug@sad.it>
275 * sp_spell.C: always compile ISpell part.
277 * lyxrc.C: added use_pspell entry and it's handling.
279 2001-07-13 Juergen Vigna <jug@sad.it>
281 * sp_spell.C: removed double includes.
283 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
285 Consistent use of Lsstream.h:
286 * Lsstream.h: added using std::stringstream for consistencies sake.
288 * buffer.C: removed using std::stringstream
290 * lyxfont.C (stateText):
291 * paragraph.C (asString):
292 * text.C (selectNextWord, selectSelectedWord):
293 * text2.C (setCounter):
294 * vspace.C (asString, asLatexString):
295 std::ostringstream -> ostringstream.
297 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
299 * LyXAction.C: add LFUN_HELP_ABOUTLYX
300 * commandtags.h: add LFUN_HELP_ABOUTLYX
301 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
303 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
305 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
307 * lyx_gui_misc.C: remove spellchecker
308 * lyxfunc.C: showSpellchecker
313 * sp_form.[Ch]: removed
314 * spellchecker.[Ch]: removed
316 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
318 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
320 (simpleTeXSpecialChars): Simply print the input character without
321 any special translation if pass_thru is set.
323 * layout.h: Added bool pass_thru to layout class for being able to
324 implement pass through of a paragraph for Literate Programming.
326 * layout.C: add LT_PASS_THRU to LayoutTags enum.
327 * layout.C (LyXLayout): set pass_thru to flase in constructor.
328 * layout.C (Read): add "passthru" to list of layout tags and add
329 code to set the pass_thru boolean when it is read.
331 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
333 * trans_decl.h: remove allowed from KmodInfo
335 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
339 * paragraph_pimpl.C (erase): use boost::prior
341 * Painter.C (text): use data() instead of c_str() when length is
343 * WorkArea.C (putClipboard): ditto
344 * font.h (width): ditto
346 * BufferView2.C: use it-> instead of (*it). for iterators
348 * paragraph_pimpl.C: ditto
350 * minibuffer.C: ditto
359 * MenuBackend.C: ditto
364 * ColorHandler.C (LyXColorHandler): ditto
366 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
368 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
370 * text2.C (openStuff): reintroduce this method (which had been
371 nuked in NEW_INSETS frenzy).
373 * lyxfunc.C (Dispatch): when an action has not been handled, use
374 its name in the error message, not its number.
376 * paragraph.C (inInset): change method name to begin with lowercase.
379 * text2.C: updates because of this.
381 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
383 * ToolbarDefaults.C (add): add spaces in error message
385 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
387 * buffer.C (readLyXformat2): initialize the ert comp. variables.
388 (readLyXformat2): rename return_par to first_par, use lyxlex's
389 pushToken and remove the manual push handling.
390 (parseSingleLyXformat2Token): add another ert comp. variable:
391 in_tabular, rename return_par to first_par. handle newlines better
393 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
395 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
397 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
399 * text2.C (getParFromID): removed
401 * buffer.C (getParFromID): new method moved form lyxtext.
402 * BufferView2.C (insertErrors): adjust
403 (setCursorFromRow): adjust
404 * BufferView_pimpl.C (restorePosition): adjust
405 * lyxfunc.C (Dispatch): adjust
406 * undo_funcs.C (textUndo): adjust
408 (textHandleUndo): adjust
409 (textHandleUndo): adjust
411 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
413 * buffer.C: up' the LYX_FORMAT
415 * lyxfont.h: turn NO_LATEX on as default
417 * buffer.C (insertErtContents): new methods of tex style compability.
418 (parseSingleLyXformat2Token): use it several places.
419 * tabular.C (OldFormatRead): and here
421 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
423 * text2.C: remove some commented code.
426 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
427 * trans.C: changes because of the above.
429 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
431 * text2.C (setCounter): Fix counters bug with bibliography layout.
433 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
435 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
437 (simpleTeXSpecialChars): ditto
439 2001-07-06 Juergen Vigna <jug@sad.it>
441 * a lot of files: changed the access to LyXText::status and the
442 call of undo-functions.
444 * undo.[Ch]: added a inset_id to the undo informations.
446 * undo_funcs.[Ch]: added and moved here all undo functions.
448 * lyxtext.h: give the status enum a weight, made status_ a private
449 variable and made accessor functions for it, removed the whole bunch
450 of undo-functions as they are now in their own file, make some
451 functions publically available. Added function ownerParagraph with
454 * paragraph.[Ch]: added "bool same_ids" to the constructor,
455 made InInset() a const function, added getParFromID() function.
457 * buffer.[Ch]: added const version for inset_iterator functions,
458 added getInsetFromID() function.
460 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
461 changed undo functions for new version.
463 2001-07-05 Juergen Vigna <jug@sad.it>
465 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
466 unknow mechanism does not call the proper constructor but only this
467 one also if I request the other!?
469 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
471 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
473 * text2.C (LyXText): use initialization lists.
475 * lyxtext.h (Selection): initialize set_ and mark_
476 (init): remove method
478 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
480 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
482 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
484 * screen.[Ch]: change method names to begin with lowercase
486 * BufferView_pimpl.C (updateScrollbar): simplify further and
487 hopefully make it a bit faster.
489 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
491 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
492 calling directly xforms functions.
494 * Painter.C (Painter):
495 * lyx_cb.C (MenuWrite):
496 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
499 * lyx_gui.C: remove bogus guiruntime extern declaration.
501 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
503 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
505 (redoDrawingOfParagraph): ditto
506 (redoParagraphs): ditto
507 (cutSelection): don't create a object for CutAndPaste use the
508 static method directly
509 (pasteSelection): ditto
511 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
514 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
516 * modifications to some other files because of this.
518 * Makefile.am (lyx_SOURCES): add XFormsView
520 * XFormsView.[Ch]: new files
522 * LyXView.[Ch]: make LyXView a base class for the gui handling for
523 the main window. Move the gui dependent stuff to XFormsView
525 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
527 * tabular.C (GetCellInset): update cur_cell also in the row/col
528 version of this function.
530 * lyxfunc.C: no need to include figure_form.h here.
536 * lyxvc.C: no need to include forms.h here.
538 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
540 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
542 * lyxfunc.C (Dispatch):
544 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
545 constructor argument.
547 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
549 * paragraph.C (Paragraph): dont't clear, and just set layout.
550 (makeSameLayout): use params's copy contructor.
552 * ParagraphParameters.[Ch] (makeSame): delete method
554 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
556 * Variables.[Ch]: fix indentation, rename set to isSet
558 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
560 * lyxfunc.C (Dispatch): fix typo
562 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
564 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
567 * bufferlist.C: include assert.h for emergencyWrite().
569 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
571 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
572 give up at last (bug #425202) !
574 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
580 * spellchecker.C: strip spellchecker options and bring up
581 preferences tab instead
583 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
585 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
586 the istringstream constructor
588 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
590 * paragraph.C (getLayout): fix return value
592 * paragraph.h: do not declare getLayout as inline.
594 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
596 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
598 * lyxcursor.h (operator<): new func
599 (operator>): new func
600 (operator>=): new func
601 (operator<=): new func
603 * text.C (changeCase): use selection.start and selection.end
604 (changeRegionCase): require from to be <= to. Require par to be a
607 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
609 2001-06-27 Juergen Vigna <jug@sad.it>
611 * text.C (cursorLeftOneWord): changed to return the cursor and added
612 overlay with BufferView * parameter which calls this one.
614 (selectWord): use new getWord function.
615 (changeCase): renamed from changeWordCase as and extended to work
618 * lyxtext.h: added enum word_location
620 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
621 changeCase as this operates now also on selections.
623 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
625 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
627 * many files: send debug output to Debug::INFO instead of
630 * converter.C (View):
632 (Move): send debug output to Debug::FILES instead of console.
634 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
636 * lyxfunc.C (getStatus): use func_status
638 * func_status.h: new header, describing the results of
641 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
644 2001-06-25 The LyX Project <jug@sad.it>
646 * buffer.C (sgmlOpenTag):
648 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
650 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
652 * text2.C: remove some dead code
654 * tabular.C (GetCellInset): store the last cell checked (gotten)
656 * tabular.h: add the helper for the speedup
658 * lyxtext.h: remove some dead code
660 2001-06-26 The LyX Project <Asger>
662 * paragraph.C: Change export to LaTeX of alignment to
663 \begin{center} and family for better roundtrip work with reLyX.
665 * Tune the math drawing a bit.
667 2001-06-25 The LyX Project <Asger>
669 * LColor.C (LColor): New color for math background. New color
672 2001-06-25 The LyX Project <jug@sad.it>
674 * lyxfunc.C (MenuNew): remove extra check for .lyx file
677 * bufferlist.C (newFile): do not restrict to files ending with
680 * BufferView_pimpl.C (MenuInsertLyXFile):
682 2001-06-24 The LyX Project <jug@sad.it>
684 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
687 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
689 * lyxtext.h: rename most methods to begin with a small char.
690 Lots of changes because of this.
692 * paragraph.C (Paragraph): do not call fitToSize
693 (erase): call Pimpl::erase
694 (insertChar): call Pimpl::insertChar
695 (insertInset): call Pipl::insertInset
696 (breakParagraph): do not call fitToSize
697 (breakParagraphConservative): do not call fitToSize
698 (fitToSize): remove method
700 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
702 2001-06-24 The LyX Project <Asger>
704 * Fix Qt compilation^2
706 2001-06-24 The LyX Project <jug@sad.it>
708 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
709 depthHook(getDepth()-1).
712 * ParagraphParameters.h:
713 * ParameterStruct.h: change type of depth to unsigned int ==
714 depth_type. Many adaptations to other files before of that.
716 2001-06-24 The LyX Project <Asger>
718 * Fix Qt compilation.
720 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
722 * paragraph.h: renamed several methods to begin with small letter.
723 several changes to many parts of the code because of this.
725 2001-06-23 The LyX Project <jug@sad.it>
727 * text2.C (InsertStringAsLines): renamed from InsertStringA;
728 rewritten to discard all double spaces when KeepEmpty is off
729 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
730 to only handle newlines but not fiddle with spaces and friends.
732 * lyxfunc.C (MenuNew): when doing 'new from template', use
733 template_path as default directory
735 2001-06-23 The LyX Project <Asger>
737 * Clean-up of header file includes all over
738 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
740 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
742 * paragraph.h: renamed from lyxparagraph.h
744 2001-06-23 Asger <lyx@violet.home.sad.it>
746 * Buffer.h: Removed Buffer::resize
747 * BufferList.h: Removed BufferList::resize
748 * LyXView.h: Added LyXView::resize. This way, we will only reflow
749 the document lazily when we change the width, or the font settings.
751 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
753 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
755 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
757 * buffer.h: remove out of date comment
759 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
762 * screen.C: fix "theoretical" GC leak
764 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
766 * LaTeX.C (scanAuxFile):
767 (deplog): remove trailing \r when reading stream (useful under
770 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
772 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
773 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
774 and BufferView::theLockingInset(Inset*), so should use them and not
775 access bv_->text->the_locking_inset directly.
777 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
779 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
782 * tex-defs.h: remove old unused file
784 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
786 * BufferView_pimpl.C: fix typo, remove minibuffer message
787 when buffer has loaded
789 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
791 * lyxfunc.C (Dispatch): use stringstream
792 (MenuNew): use stringstream
793 (Open): use stringstream
795 * importer.C (Import): use stringstream
797 * bufferview_funcs.C (CurrentState): use stringstream
799 * LaTeX.C (run): use stringstream
801 * BufferView_pimpl.C (savePosition): use stringstream
802 (restorePosition): use stringstream
803 (MenuInsertLyXFile): use stringstream
805 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
818 * vspace.C: removed // -*- C++ -*- as first line.
821 * version.h: added // -*- C++ -*- as first line.
823 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
825 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
827 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
830 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
832 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
835 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
837 * gettext.C: include LString.h even when --disable-nls is on.
839 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
841 * converter.h (Get): changed argument type from int to
842 FormatList::size_type to avoid unnecessary conversion.
844 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
847 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
849 * gettext.h: include LString.h even when --disable-nls is on.
851 2001-06-07 Juergen Vigna <jug@sad.it>
853 * text.C (BreakAgain): subst spaces with tabs.
855 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
856 (resizeInsetsLyXText): set force on resizeLyXText.
858 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
860 * gettext.h (gettext_init):
861 (locale_init): use a real definition instead of a macro
863 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
865 * Bufferview_pimpl.C:
867 * LColor.C: further lcolor tidies
869 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
871 * BufferView_pimpl.C (updateScrollbar): simplify.
873 * BufferView2.C: don't include insets/insetinfo.h, change
874 prototype for insertInset and call the Pimpl version. let
875 updateInset call Pimpl version.
877 * BufferView.h: move inset_slept to BufferView::Pimpl, move
878 gotoInset to BufferView::Pimpl
880 2001-06-01 Juergen Vigna <jug@sad.it>
882 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
883 inside a LockingInset (is the update needed at all?).
885 2001-05-31 Juergen Vigna <jug@sad.it>
887 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
888 here not the old one otherwise how should we compare it afterwards
891 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
896 * FontInfo.C: bring C functions into global namespace when
899 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
901 * LString.h: make sure config.h has been loaded before LString.h.
903 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
904 (one for each char read by EatLine!).
906 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
909 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
911 * paragraph.C (BreakParagraph): set the inset_owner in the new par
912 to the same as the par we break from
914 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
916 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
918 * MenuBackend.C (expand): also create menu entries for wide
919 versions of the floats.
921 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
923 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
925 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
926 frontends/Makefile.am
932 * tabular.C (getTokenValue): add std::
934 * tabular-old.C (getTokenValue): add std::
935 (getTokenValue): ditto
936 (getTokenValue): ditto
938 * screen.C (ToggleSelection): adjust
940 * lyxtext.h: put selection cursors inside a Selection struct.
942 * lyxfunc.C (moveCursorUpdate): adjust
944 * lyxfont.C (latexWriteStartChanges): add std::
948 * font.h: delete with(char const *, LyXFont const &)
950 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
952 * FontInfo.C (getFontname): add std::
954 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
955 (workAreaButtonPress): adjust
956 (tripleClick): adjust
958 (moveCursorUpdate): adjust
961 * BufferView2.C (gotoInset): adjust
963 2001-05-30 Juergen Vigna <jug@sad.it>
965 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
966 to check pspell I add this as default as I now have new pspell
967 libraries and they seem to use this.
969 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
971 * text2.C (CutSelection): make the cursor valid before the call to
974 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
976 * kbsequence.C (parse): de-uglify a bit the parsing code, which
977 relied on 0 terminated strings and other horrors. Bug found due to
978 the new assert in lyxstring!
980 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
983 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
985 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
988 * lyxfunc.C (processKeySym): change method of getting to the
991 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
992 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
993 * BufferView_pimpl.[Ch]: here as private methods.
995 2001-05-28 Juergen Vigna <jug@sad.it>
997 * text.C (SetHeightOfRow): added the update() call again as it is
998 needed to initialize inset dimensions!
1000 2001-05-16 Juergen Vigna <jug@sad.it>
1002 * text2.C (SetCharFont): Add new function with BufferView * and
1003 bool toggleall parameters for setting insets internal fonts.
1004 (SetFont): Freeze the undo as we may change fonts in Insets and
1005 all this change should be inside only one Undo!
1007 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
1008 setting font's in insets as for them we have the SetFont function!
1010 2001-05-15 Juergen Vigna <jug@sad.it>
1012 * text2.C (ClearSelection): to be sure we REALLY don't have any
1015 * tabular.C (TeXCellPreamble): fixed the left border problem for
1018 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
1020 * LaTeX.C (deplog): Make sure that the main .tex file is in the
1023 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1025 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
1026 LFUN_BREAKPARAGRAPH.
1028 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
1029 help test to "internal only", similar for LFUN_INSERT_URL
1031 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
1032 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
1033 auto_region_delete and deadkeys.
1035 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
1038 * LColor.C: remove some dead entries, tidy a little
1040 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1042 * lyxfunc.C (processKeySym): comment the Escape handling, remove
1044 (Dispatch): implement LFUN_ESCAPE
1046 * commandtags.h: add LFUN_ESCAPE
1048 * LyXAction.C (init): add entry for LFUN_ESCAPE
1050 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
1051 Remove commented code.
1052 (insertNote): moved here
1053 (open_new_inset): moved here
1055 * BufferView[2].[Ch]: move insertNote and open_new_inset to
1058 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1060 * kbmap.C (findbinding): clean it up and make it work correctly.
1062 * lyx_main.C (init): do not pass argc and argv as parameters
1064 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1066 * buffer.C: fix path for OS/2 & Win32
1070 * lyx_main.C: Added os:: class.
1072 * os2_defines.h: update
1074 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1076 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
1077 better by trying again with reduced state.
1079 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1081 * lyxrc.C (read): print error about invalid key sequence only when
1082 debugging (because not all latinX keysyms are known to some X
1085 * kbsequence.C (getiso): add a few std:: qualifiers
1086 (getiso): comment out extra return statement.
1088 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1090 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
1092 (Dispatch): enhance the accent inset a bit. (not perfect)
1094 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1096 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
1098 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1100 * bufferlist.C (emergencyWrite): fix assert() call
1102 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
1104 * text.C (InsertChar): Added trivial patch to only send the "you
1105 can not do multiple spaces this way" message once during a
1108 2001-05-08 Baruch Even <baruch@lyx.org>
1110 * Makefile.am: Changed order of libraries to get LyX to link properly
1111 with the gnome frontend.
1113 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1115 * LaTeXFeatures.h: add a std:: qualifier
1117 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1119 * paragraph.C (String): use stringstream
1121 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1123 * paragraph.C (writeFile): remove footflag arg
1125 * buffer.C (makeLaTeXFile): use stringstream
1126 (latexParagraphs): remove footnot gurba
1128 * LaTeXFeatures.C (getPackages): use stringstream
1129 (getMacros): likewise
1130 (getTClassPreamble): likewise
1131 (getFloatDefinitions): new method
1133 * paragraph.C (writeFile): reindent
1136 * WorkArea.h: revert the xpos + etc changes.
1138 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
1140 * lyxparagraph.[Ch]: add copy constructor, remove Clone
1142 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
1143 (pasteSelection): likewise
1144 * text2.C (CreateUndo): likewise
1146 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1148 * minibuffer.C (peek_event): temporarily reduce the functionality
1149 of the minibuffer (to allow args on lfuns)
1151 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
1152 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
1154 * buffer.C (readInset): add compability reading of old float
1155 lists, add reading of new style float list.
1156 (readInset): avoid reevaluation of inscmd.getCmdName()
1157 (getLists): reindent
1159 * MenuBackend.C (MenuItem): implement parsing of
1160 md_floatlistinsert and md_floatinsert.
1161 (expand::LastFiles): move initalizaton of iterators out of loop,
1163 (expand::Documents): introduce typdedef vector<string> Strings,
1165 (expand::ExportFormats): introduce typedef vector<Format const *>
1166 Formats, and use it.
1167 (expand): implement FloatListInsert and FloatInsert.
1169 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
1170 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
1171 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
1173 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
1175 (Dispatch::LFUN_FLOAT_LIST): implement
1177 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1179 * LaTeX.C (run): Fix problem with --export code.
1181 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1183 * BufferView.[Ch] (workarea): removed.
1184 (getClipboard) new method; wrapper for workarea()->getClipboard()
1186 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
1189 * WorkArea.h (width, height, xpos, ypos): These methods all
1190 returned the dimensions of the work_area sub-area of WorkArea,
1191 resulting in a position error if the WorkArea were resized. Now
1192 return the dimensions of the entire WorkArea.
1194 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
1196 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1198 * LaTeX.C (deplog): correct the syntax of regex reg1
1200 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1202 * undo.C: remove !NEW_INSETS cruft
1204 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1206 * text2.C: remove !NEW_INSETS cruft
1208 * text.C: remove !NEW_INSETS cruft
1210 * tabular.C: remove !NEW_INSETS cruft
1212 * spellchecker.C: remove !NEW_INSETS cruft
1214 * lyxtext.h: remove !NEW_INSETS cruft
1216 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
1218 * lyxfunc.C: remove !NEW_INSETS cruft
1220 * lyxfind.C: remove !NEW_INSETS cruft
1222 * lyx_cb.C: remove !NEW_INSETS cruft
1224 * figureForm.C: remove !NEW_INSETS cruft
1226 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
1228 * buffer.[Ch]: remove !NEW_INSETS cruft
1230 * ToolbarDefaults.C: remove !NEW_INSETS cruft
1232 * CutAndPaste.C: remove !NEW_INSETS cruft
1234 * BufferView_pimpl.C: remove !NEW_INSETS cruft
1236 * BufferView2.C: remove !NEW_INSETS cruft
1238 * BufferView.h: remove !NEW_INSETS cruft
1240 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1242 * Lsstream.h: include LString.h before the sstream headers to
1243 fix problem with gcc 2.95.3 and lyxstring
1245 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1247 * lyx_main.C: add using directives when needed for C functions
1248 declared in std:: namespace.
1250 2001-04-27 Juergen Vigna <jug@sad.it>
1252 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
1253 (SetHeightOfRow): comment out the update call should not be needed!
1255 2001-04-13 Juergen Vigna <jug@sad.it>
1257 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
1258 (LyXTabular): tried to minimize operator= operations (and realized
1259 hopfully Lars wish).
1261 2001-04-27 Juergen Vigna <jug@sad.it>
1263 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
1265 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1267 * lyxfunc.C (Dispatch): hack to make listof algorithm work
1269 * buffer.C (readInset): hack to make listof algorithm work
1271 * BufferView_pimpl.C: hack to make listof algorithm work
1273 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1275 * LyXAction.C: removed all !NEW_INSETS cruft
1276 (init): moved lfun_item in method
1278 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
1280 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1282 * BufferView2.C (theLockingInset): white space.
1284 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1286 * minibuffer.C: include <iostream>
1288 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
1290 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
1292 * commandtags.h: add LFUN_TRANSPOSE_CHARS
1294 * text.[Ch] (TransposeChars): new method
1296 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1298 * call message directly through LyXView instead of through LyXFunc
1299 * BufferView2.C: adjust
1300 * BufferView_pimpl.C: adjust
1301 * FontLoader.C: adjust
1303 * bufferview_funcs.C: adjust
1304 * converter.C: adjust
1305 * figureForm.C: adjust
1306 * importer.C: adjust
1308 * lyx_gui_misc.C: adjust
1312 + more files in subdirs
1314 * lyxparagraph.h (size): move up int file
1317 * adjust all uses of Assert to lyx::Assert.
1319 * BufferView2.C (ChangeCitationsIfUnique): adjust for
1320 lyxfunctional in namespace lyx
1321 * layout.C (hasLayout): ditto
1324 (delete_layout): ditto
1325 (NumberOfClass): ditto
1326 * converter.C (GetFormat): ditto
1331 * bufferlist.C (getFileNames): ditto
1332 (emergencyWriteAll): ditto
1335 * MenuBackend.C (hasSubmenu): ditto
1338 * BufferView_pimpl.C (getInsetByCode): ditto
1340 2001-04-18 Juergen Vigna <jug@sad.it>
1342 * vspace.C (asLatexString): fixed the 100% problem.
1344 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1346 * lyxfunc.C (Dispatch):
1348 * minibuffer.h: add a few std:: qualifiers
1350 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1352 * minibuffer.[Ch]: reimplement so that commands is initiated and
1353 run from lyxfunc, simplified som handling, and made the completion
1354 and history code for complete. wip.
1356 * lyxfunc.C (processKeySym): call message
1357 (miniDispatch): new temporary method
1358 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
1359 (LFUN_MESSAGE): implement
1360 (LFUN_MESSAGE_PUSH): implement
1361 (LFUN_MESSAGE_POP): implement
1362 (initMiniBuffer): the initial/defualt minibuffer message.
1364 * lyxfont.[Ch]: inline some more getters
1366 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
1368 * lyx_gui_misc.[Ch] (WriteStatus): remove method
1370 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
1371 (AutoSave): use LFUN_MESSAGE
1372 (Reconfigure): ditto
1374 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
1376 * figureForm.C: use LFUN_MESSAGE
1378 * converter.C (runLaTeX): use LFUN_MESSAGE
1380 * bufferview_funcs.C: use LFUN_MESSAGE
1382 (changeDepth): ditto
1384 * bufferparams.h: use boost::
1386 * bufferlist.h: inherit privately from noncopyable
1388 * bufferlist.C (loadLyXFile): remove some commented code.
1390 * buffer.C (runChktex): use LFUN_MESSAGE
1392 * ShareContainer.h: inherit privately from noncopyable
1394 * ParagraphParameters.[hC] (depth): inline it.
1396 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
1398 (message): new method
1399 (messagePush): ditto
1401 (show): init minibuffer
1402 (showState): direct call
1404 * LaTeX.[Ch]: inherit privately from noncopyable
1405 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
1406 instead of WriteStatus.
1408 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
1410 * BufferView_pimpl.C (buffer): don't init minibuffer
1411 (workAreaButtonPress): use LFUN_MESSAGE
1412 (workAreaButtonRelease): ditto
1413 (savePosition): ditto
1414 (restorePosition): ditto
1415 (MenuInsertLyXFile): ditto
1416 (workAreaExpose): don't init minibuffer
1417 (update): remove commented code, simplify
1419 * BufferView2.C (openStuff): use LFUN_MESSAGE
1420 (toggleFloat): ditto
1423 (copyEnvironment): ditto
1424 (pasteEnvironment): ditto
1429 (updateInset): remove some commented code
1431 * lastfiles.h: inherit privately from noncopyable
1436 * lyxlex_pimpl.h: ditto
1438 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
1439 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
1440 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1442 * LyXAction.h: inherit privately from noncopyable, add methods
1443 func_begin, func_end, returning iterators to the func map.
1445 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
1446 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1447 (func_begin): new method
1448 (func_end): new method
1450 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
1452 (copySelection): ditto
1453 (pasteSelection): ditto
1455 * BufferView.C: whitespace change
1456 * BufferView.h: inherit privately from noncopyable
1458 2001-04-16 Allan Rae <rae@lyx.org>
1460 * tabular-old.C (l_getline):
1461 * spellchecker.C (sc_check_word):
1462 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
1463 an unrecognised preprocessor directive. So ensure they're wrapped.
1465 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
1467 * src/exporter.C (Export): Give an error message when path to file
1470 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
1472 * LaTeX.C (deplog): Always check that foundfile exists.
1474 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1477 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
1479 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1481 * tabular.[Ch] (getLabelList): implement new method
1483 * minibuffer.h: comment ouf setTiimer
1485 * minibuffer.C (ExecutingCB): constify res
1486 (peek_event): constify s
1487 (Set): constify ntext
1488 (Init): constify nicename
1490 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
1492 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
1493 (savePosition): use two params to Minibuffer::Set
1494 (restorePosition): ditto
1496 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1498 * lyx_main.C: include language.h
1500 * Makefile.am (lyx_main.o): add language.h
1502 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1508 * CutAndPaste.C: include gettext.h
1510 * lyxfont.h: remove old hack with ON and OFF.
1513 * lyxfont.h: do not include language.h...
1518 * bufferview_funcs.C:
1524 * paragraph.C: ... but do it here instead
1526 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1528 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
1530 * tabular.C: small reformat
1532 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
1535 (BreakParagraph): ditto
1536 (SetOnlyLayout): ditto
1539 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
1542 * lastfiles.C: removed most using decl, add std:: where needed
1544 * buffer.C: ws changes
1546 * MenuBackend.C (class compare_format): put into anon namespace
1547 (expand): constify label, names, action, action2
1550 * text.C (SingleWidth): constify font
1551 (IsBoundary): constify rtl2
1552 (GetVisibleRow): constify ww
1554 * LaTeX.C (deplog): constify logfile
1556 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
1558 (workAreaExpose): constify widthChange, heightChange
1560 * lyxrow.C (par): moved
1563 * lyxrow.h: as inlines here
1565 * lyxfont.h (shape): moved from lyxfont.C
1566 (emph): moved from lyxfont.C
1568 * lyxfont.C (LyXFont): use initialization list for all
1570 (shape): move to lyxfont.h as inline
1571 (emph): move to lyxfont.h as inline
1574 2001-04-04 Juergen Vigna <jug@sad.it>
1576 * vspace.C: had to include stdio.h for use of sscanf
1578 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
1581 * BufferView_pimpl.h: remove xforms cruft. Both classes are
1582 independent of xforms.
1584 2001-04-02 Juergen Vigna <jug@sad.it>
1586 * spellchecker.C: fixed namespace placing!
1588 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1590 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
1591 the LyXParagraph * is 0.
1593 2001-03-29 Juergen Vigna <jug@sad.it>
1595 * vspace.C: added support for %, c%, p%, l%.
1596 (stringFromUnit): added helper function.
1597 (asLatexString): changed to give right results for the %-values.
1599 * buffer.C: convert the widthp in a width%.
1601 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1603 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
1606 * figureForm.[Ch]: stripped the FD_from_figure manipulation
1607 code out of lux_cb.[Ch], ready for its (imminent?) removal.
1609 * lyx_cb.[Ch]: see above.
1611 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
1615 * lyx.[Ch]: replaced by figure_form.[Ch].
1619 * lyxfunc.C: changed headers associated with above changes.
1621 2001-03-27 Juergen Vigna <jug@sad.it>
1623 * BufferView_pimpl.C: set the temporary cursor right!
1625 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1627 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
1629 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1631 * LString.h: removed "using std::getline"!
1633 * BufferView_pimpl.C (Dispatch): changes due to changes in
1634 InsetInclude::Params.
1636 * buffer.C (tag_name): removed redundant break statements as they were
1637 producing lots of warnings with my compiler.
1639 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1641 * LString.h: add "using std::getline" when using the real <string>.
1643 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
1645 * buffer.C: removed bitset usage.
1646 PAR_TAG moved to an anonymous name space.
1647 (tag_name): new funtion, also in the anonymous namespace.
1648 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
1649 (makeDocBookFile): clean code. Completed transition from string arrays
1651 (SimpleDocBookOnePar): code clean.
1653 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1655 * tabular.C: add some comments.
1657 2001-03-22 Juergen Vigna <jug@sad.it>
1659 * buffer.C (parseSingleLyXformat2Token): redone the minipage
1660 compatibility read a bit and fixed bug with minipage in different
1663 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
1665 * buffer.C (pop_tag): removed.
1666 (push_tag): removed.
1667 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
1668 array replaced with vector. Added support for CDATA sections.
1669 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
1671 (makeDocBookFile): XML conformant declaration of CDATA section,
1672 fixed bug related to <emphasis> in the first paragraph char.
1673 (sgmlOpenTag): exclude empty tags.
1674 (sgmlCloseTag): ditto.
1676 * buffer.h (pop_tag): removed.
1677 (push_tag): removed.
1679 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1681 * language.h (Languages): added size_type and size().
1683 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1685 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
1686 response on compability reading of minipages. One probliem is that
1687 the old usage of minipages was «flertydig»
1689 * several files here and in subdirs: don't use static at file
1690 scope use anon namespaces instead.
1692 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
1694 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
1695 LaTeX output. This is necessary for Literate document
1698 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1700 * buffer.C: insert hfill when needed.
1702 * tabular.C (l_getline): use string::erase, small whitespace change.
1704 * BufferView_pimpl.C: try the anon namespace.
1707 2001-03-16 Juergen Vigna <jug@sad.it>
1709 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
1710 otherwise it won't open options-dialogs.
1712 * buffer.C: honor pextraWidth(p) on converting minipages.
1714 * tabular.C (l_getline): changed the functions to strip trailing \r.
1716 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1718 * BufferView_pimpl.C:
1719 * minibuffer..C: added "using SigC::slot" declaration.
1721 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1723 * lyxlex_pimpl.h: noncopyable is in namespace boost.
1729 * paragraph.C: ditto
1731 * lyxtext.h: NO_PEXTRA
1733 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
1735 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
1736 * ParameterStruct.h: ditto
1737 * ParagraphParameters.h: ditto
1738 * lyxparagraph.h: ditto
1740 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1742 * buffer.C: add compability for minipage alignment.
1743 (latexParagraphs): remove unwanted pextra check.
1745 * several files: remove CXX_WORKING_NAMESPACES
1747 * buffer.C (pop_tag): tie is in namespace boost
1749 * BufferView.h: noncopyable is in namespace boost
1754 * lastfiles.h: ditto
1755 * bufferlist.h: ditto
1756 * ShareContainer.h: ditto
1758 * LyXAction.h: ditto
1761 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1763 * Merging changes from BRANCH_MVC back into HEAD.
1765 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
1767 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
1769 * BufferView_pimpl.C: change from intl.C
1773 * Makefile.am: move combox.*
1779 * intl.C: remove dialog (covered by prefs)
1781 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1783 * lyxfunc.C (Dispatch): removed redundant break statement.
1785 2001-03-14 Juergen Vigna <jug@sad.it>
1787 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
1789 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1791 * buffer.C: add hack to fix compability reading of minipages.
1793 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
1795 * buffer.C (getLists): Cleanup.
1797 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1799 * lyxfont.C (update): don't honor toggleall on font size.
1801 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
1805 * Makefile.am: moved to frontends/xforms/
1809 * BufferView_pimpl.C: changes for moved mathpanel
1811 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1813 * gettext.h: fix gettext_init() in --disable-nls
1815 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1817 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
1819 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
1822 * lyx.h: strip external form
1824 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1826 * BufferView_pimpl.C: add comment, destroySplash()
1828 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1830 * BufferView_pimpl.C:
1834 * lyxfunc.C: use re-worked insetinclude
1836 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1838 * buffer.C: add using std::stringstream.
1840 * lyx_cb.C: readd using std::ios.
1842 * buffer.C: add using std::map.
1844 * BufferView_pimpl.C: add using std::vector.
1846 * ShareContainer.h: add std:: to swap.
1848 * buffer.h: add some typedefs
1849 * buffer.C (getLists): use them
1850 (getLists): renamed from getTocList.
1851 add a counter for the different float types and use it in the
1853 (getLists): use the same counter for the NEW_INSETS and the "non"
1856 * lyx_cb.h: remove unused items, includes, using etc.
1858 * ShareContainer.h: remove some commented code, add more comments
1859 and "documentation".
1861 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1863 * buffer.C (getTocList): make the list also when NEW_INSETS is
1866 * buffer.h: remove TocType
1868 * buffer.C (getTocList): change to return a map<string,
1869 vector<TocItem> >, implement for dynamic number of list.
1871 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
1872 * text2.C (PasteSelection): adjust
1873 * CutAndPaste.C (pasteSelection): adjust
1875 * FloatList.C (FloatList): update from the new_insets branch.
1876 * Floating.[Ch]: ditto
1877 * LaTeXFeatures.C: ditto
1879 * lyxlex_pimpl.C: ditto
1881 * paragraph.C (Last): remove when NEW_INSETS is defined.
1883 * other file: changes because of the above.
1885 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1887 * lyxparagraph.h: rename next to next_, previous to previous_,
1888 make them private for NEW_INSETS. Rename Next() to next(),
1889 Previous() to previous().
1891 * other files: changes because of the above.
1893 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
1896 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
1899 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1901 * main.C (main): pass lyx_localedir to gettext_init().
1903 * gettext.h: remove locale_init and gettext_init macros
1905 * gettext.C (locale_init): new function
1906 (gettext_init): new function
1908 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
1911 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
1913 * Moved credits to frontends:
1914 * credits.[Ch]: removed
1915 * credits_form.[Ch]: removed
1916 * lyx_gui_misc.C: remove credits stuff
1919 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1921 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
1923 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
1924 unneeded destructor.
1926 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
1927 a standalone pointer again.
1929 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
1931 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
1937 * ToolbarDefaults.C:
1946 * BufferView_pimpl.C: use new file dialog in GUII
1949 * lyx_cb.C: remove LayoutsCB to Toolbar
1951 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1953 * ShareContainer.h (get): add std:: qualifier
1955 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1957 * ShareContainer.h: define a proper ShareContainer::value_type
1958 type (and use typename to please compaq cxx)
1960 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1962 * lyxparagraph.h: move serveral local vars to
1963 ParameterStruct/ParagraphParameters., use ShareContainer in
1964 FontTable., make vars in FontTable private and add getter and
1967 * paragraph.C: changes because of the above.
1969 * lyxfont.h: remove copy constructor and copy assignment. (the
1970 default ones is ok), move number inside FontBits. move inlines to
1973 * lyxfont.C: add number to initializaton of statics, move several
1974 inlines here. constify several local vars. some whitespace
1975 cleanup. Dont hide outerscope variables.
1977 * Spacing.h: add two new constructors to match the set methods.
1979 * ShareContainer.h: new file, will perhaps be moved to support
1981 * ParameterStruct.h: new file
1983 * ParagraphParameters.h: new file
1985 * ParagraphParameters.C: new file
1987 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
1988 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
1990 * BufferView_pimpl.C: ParagraphParameter changes.
1991 * buffer.C: Likewise.
1992 * bufferview_funcs.C: Likewise.
1994 * text2.C: Likewise.
1996 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1998 * lyxfind.C (LyXReplace): do not redefine default argument in
2000 (IsStringInText): ditto
2001 (SearchForward): ditto
2002 (SearchBackward): ditto
2004 2001-03-06 Juergen Vigna <jug@sad.it>
2006 * lyxfind.C (IsStringInText): put parentes around expressions.
2008 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
2010 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
2012 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
2014 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
2016 * stl_string_fwd.h: add comment
2018 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
2021 * tabular.C: remove unused DocBook methods
2027 killed DO_USE_DEFAULT_LANGUAGE
2029 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2031 * lyx_gui.C: do not include language.h.
2033 * bufferview_funcs.C (ToggleAndShow): do not provide optional
2034 arguments in function implementation.
2036 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2038 * BufferView_pimpl.C: add <ctime>
2040 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2042 * BufferView_pimpl.C: add using std::find_if
2044 2001-02-27 José Matos <jamatos@fep.up.pt>
2046 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
2049 2001-02-11 José Matos <jamatos@fep.up.pt>
2051 * buffer.C (makeDocBookFile): command styles now have a parameter as
2054 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
2056 * layout_forms.[Ch]: removed
2057 * lyx_cb.[Ch]: out character
2058 * lyx_gui.C: out character
2059 * lyx_gui_misc.C: out character
2060 * bufferview_funcs.C: : out character,
2061 added toggleall as parameter in ToggleAndShow
2063 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
2065 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
2067 * text2.C (SetCurrentFont): Disable number property at boundary.
2069 2001-02-26 Juergen Vigna <jug@sad.it>
2071 * lyxfunc.C (getStatus): added a string argument override function so
2072 that this is correctly called from LyXFunc::Dispatch if it contains a
2073 do_not_use_argument which is used!
2074 (Dispatch): added check for "custom" export and call appropriate func.
2076 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
2078 * lyxrc.C: Add language_command_local, language_use_babel and
2079 language_global_options.
2081 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
2083 * buffer.C (makeLaTeXFile): Use language_use_babel and
2084 language_global_options.
2086 2001-02-23 Juergen Vigna <jug@sad.it>
2088 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
2089 which works with LyXText and putted it inside BufferView. Here now we
2090 only call for that part the BufferView::Dispatch() function.
2092 * BufferView.C (Dispatch): added.
2094 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
2095 functions which needs to use a LyXText over from LyXFunc.
2096 (MenuInsertLyXFile): added
2097 (getInsetByCode): added
2098 (moveCursorUpdate): added
2099 (static TEXT): added
2101 2001-02-22 Juergen Vigna <jug@sad.it>
2103 * BufferView_pimpl.C (update): call a status update to see if LyXText
2106 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2108 * vc-backend.C (revert): implement for CVS
2109 (getLog): implement for CVS
2111 2001-02-20 Juergen Vigna <jug@sad.it>
2113 * text2.C (ClearSelection): added BufferView param for inset_owner call
2115 * lyxfunc.C (TEXT): added this function and use it instead of
2116 directly owner->view()-text of getLyXText().
2118 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
2120 * src/layout_forms.C: out preamble
2121 * src/layout_forms.h: out preamble
2122 * src/lyx_cb.C: out preamble
2123 * src/lyx_cb.h: out preamble
2124 * src/lyx_gui.C: out preamble
2125 * src/lyx_gui_misc.C: out preamble
2126 * src/lyxfunc.C: connect with guii preamble
2128 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
2130 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
2132 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
2134 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
2135 whether to run bibtex.
2137 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
2139 * Makefile.am (lyx_SOURCES): Remove BackStack.h
2141 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
2143 * Makefile.am (lyx_SOURCES): removed bibforms.h
2147 * text.C (GetVisibleRow): make several local vars const
2149 * tabular.C: small cleanup.
2151 * lyxserver.C (callback): use compare instead of strncmp
2153 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
2154 inlines to after class or to paragraph.C
2156 * lyxfont.h: remove friend operator!=
2158 * converter.h: move friend bool operator< to non friend and after
2161 * combox.h: small cleanup
2163 * buffer.h: doxygen, remove unused constructor, move inclas inlies
2164 to inlines after class def.
2166 * buffer.C (pop_tag): use string operations instead of strcmp
2168 * bmtable.c: doxygen, small cleanup
2170 * LaTeX.h: remove friend operator==
2172 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2184 * BufferView_pimpl.C:
2185 * BufferView.[Ch]: remove cruft
2187 2001-02-14 Juergen Vigna <jug@sad.it>
2189 * lyxfunc.C: removed #if 0 unused code
2191 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
2193 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
2195 * text2.C (SetSelection): added a BufferView * parameter
2197 2001-02-13 Juergen Vigna <jug@sad.it>
2199 * lyxfunc.C (Dispatch): fixed protected blank problem.
2200 * BufferView2.C (protectedBlank): added LyxText * parameter.
2202 * tabular.C (AppendRow): forgot to set row_info of newly added row.
2203 (AppendColumn): same as above for column_info.
2205 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
2206 (moveCursorUpdate): use a LyXText param for support of InsetText.
2208 * BufferView_pimpl.C (doubleClick): added support for InsetText.
2209 (tripleClick): ditto
2211 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
2213 * BufferView_pimpl.C (update): added LyXText param to honor insets.
2215 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
2217 * text2.C (SetSelection): set correct update status if inset_owner
2220 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
2222 * tabular.C: remove some commented code.
2224 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
2226 * BufferView_pimpl.C: call hideSplash()
2228 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
2231 * bibforms.h: remove
2234 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
2235 add LFUN_CHILD_CREATE
2237 * counters.h: fix tiny typo
2242 * lyx.C: move splash to frontends/xforms/
2244 * lyx_gui_misc.C: move Include and Bibform to frontends
2246 * lyxvc.h: clarify comment
2248 * vspace.C: tiny housekeeping
2250 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
2252 * text.C (PrepareToPrint): RTL Fix.
2254 * paragraph.C (GetUChar): New method.
2255 (String): Use GetUChar.
2257 * buffer.C (asciiParagraph): Use GetUChar.
2259 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
2261 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
2263 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
2266 * buffer.C: rename to getLogName(), handle
2267 build log / latex log nicely
2269 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2272 * MenuBackend.h: remove support for reference menuitem type.
2274 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
2276 * BufferView_pimpl.C: housekeeping
2277 * BufferView_pimpl.h:
2282 * minibuffer.h: move Timeout GUI-I
2284 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
2286 * lyxrc.C (read): Update converters data-structures.
2288 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
2290 * LaTeX.h (operator!=): add operator != for Aux_Info
2292 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
2294 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
2296 * LaTeXLog.C: deleted, useful code moved to Buffer
2299 * buffer.C: new function getLatexLogName()
2305 * lyxfunc.C: use frontends for LaTeX and VC logs
2307 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2309 * LaTeX.h: yet another std:: that Allan forgot.
2311 * Variables.C (set): renamed from isset(), because this clashes
2312 with some HP-UX macros (grr).
2314 2001-02-06 Allan Rae <rae@lyx.org>
2316 * LaTeX.h: Another bug fix. Missing std:: this time.
2318 2001-02-04 Allan Rae <rae@lyx.org>
2320 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
2321 floats problem. I've left it commented out because it's not quite
2322 correct. It should also test that the current object is a table or
2323 figure inset. But I haven't gotten around to figuring out how to do
2324 that. I *think* it'll be something like: "table" == inset.type()
2326 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
2329 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
2331 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
2332 all the citation/databases/styles in the auxilary file.
2333 (run): Rerun latex if there was a babel language error.
2335 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
2337 * text.C (Backspace): Preserve the font when changing newline char
2339 (BreakParagraph): If the cursor is before a space, delete the space.
2341 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
2343 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
2345 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
2346 new argument (code).
2347 (ChangeCitationsIfUnique): New method.
2349 * paragraph.C (GetPositionOfInset): Handle bibkey.
2351 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2353 * BufferView_pimpl.h: change type of Position::par_pos to
2354 LyXParagraph::size_type.
2356 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
2358 * BufferView_pimpl.C (savePosition, restorePosition): Write
2359 messages to minibuffer.
2361 2001-01-28 José Matos <jamatos@fep.up.pt>
2363 * buffer.C (makeDocBookFile): adds support for document language.
2364 A silly restriction on the name of LatexCommand types where removed.
2365 Added support for CDATA sections, allows to chars unescaped, used
2366 among others in code, to avoid escape < and >.
2368 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2370 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
2371 saved positions instrad of a stack. Furthermore, a position is
2372 stored using paragraph id/paragraph position.
2374 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
2375 Remove LFUN_REF_BACK.
2377 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2379 * converter.C (dvipdfm_options): New method.
2381 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
2383 * vspace.C (isValidLength): Fix for empty input string.
2385 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2387 * LyXAction.C (init): change description of LFUN_FIGURE to
2390 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2392 * LaTeX.C: add using directive
2394 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2396 * MenuBackend.C (expand): Fix the sorting of the formats.
2398 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
2400 * lyx_main.C: tiny error message fix
2402 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2404 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
2405 calling fl_initialize(). This fixes the problem with ',' as
2406 decimal separator in text files.
2408 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2410 * trans.C (process): Fix the keymap bug.
2412 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
2414 * LaTeX.C (scanAuxFiles): New method. Provides support for
2415 multiple bibliographies (when using the bibtopic/bibunits pacakges).
2416 (scanLogFile) Scan for "run BibTeX" messages.
2418 * buffer.C (makeLaTeXFile): Do not load the ae package when using
2419 OT1 font encoding. Also, load the aecompl package if the ae
2422 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
2424 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2426 * texrow.C (increasePos): turn two error messages into debug
2429 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
2431 * LaTeX.C (scanAux): Handle the \@input macro.
2432 (runBibTeX): Use scanAux().
2434 * language.C (latex_options_): New field.
2436 * LaTeXFeatures.C (getMacros): Add language macros.
2438 * buffer.C (makeLaTeXFile): Small fix.
2440 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2442 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
2444 * text2.C: add a using directive.
2446 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
2451 * lyxfunc.C: kill LyXBell.
2453 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
2455 * text.C (IsBoundary): Remove the error message
2457 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
2459 * lyxrc.C (setDefaults): Correct initialization value for
2462 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
2464 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
2467 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
2470 * src/LyXAction.C: Added reference-next.
2472 * text.C (InsertChar): Use contains instead of strchr.
2474 * lyx_cb.C (MenuInsertLabel): Enable default value code.
2476 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
2478 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
2479 alignment commands (when needed).
2481 * text.C (InsertChar): Add ':' to number separator chars.