1 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
3 * buffer.C (parseSingleLyXformat2Token): Generate error insets
6 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
8 * buffer.C (readLyXformat2): Generate an error dialog if there are
11 2001-07-16 Juergen Vigna <jug@sad.it>
13 * sp_spell.C: always compile ISpell part.
15 * lyxrc.C: added use_pspell entry and it's handling.
17 2001-07-13 Juergen Vigna <jug@sad.it>
19 * sp_spell.C: removed double includes.
21 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
23 Consistent use of Lsstream.h:
24 * Lsstream.h: added using std::stringstream for consistencies sake.
26 * buffer.C: removed using std::stringstream
28 * lyxfont.C (stateText):
29 * paragraph.C (asString):
30 * text.C (selectNextWord, selectSelectedWord):
31 * text2.C (setCounter):
32 * vspace.C (asString, asLatexString):
33 std::ostringstream -> ostringstream.
35 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
37 * LyXAction.C: add LFUN_HELP_ABOUTLYX
38 * commandtags.h: add LFUN_HELP_ABOUTLYX
39 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
41 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
43 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
45 * lyx_gui_misc.C: remove spellchecker
46 * lyxfunc.C: showSpellchecker
51 * sp_form.[Ch]: removed
52 * spellchecker.[Ch]: removed
54 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
56 * trans_decl.h: remove allowed from KmodInfo
58 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
62 * paragraph_pimpl.C (erase): use boost::prior
64 * Painter.C (text): use data() instead of c_str() when length is
66 * WorkArea.C (putClipboard): ditto
67 * font.h (width): ditto
69 * BufferView2.C: use it-> instead of (*it). for iterators
71 * paragraph_pimpl.C: ditto
82 * MenuBackend.C: ditto
87 * ColorHandler.C (LyXColorHandler): ditto
89 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
91 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
93 * text2.C (openStuff): reintroduce this method (which had been
94 nuked in NEW_INSETS frenzy).
96 * lyxfunc.C (Dispatch): when an action has not been handled, use
97 its name in the error message, not its number.
99 * paragraph.C (inInset): change method name to begin with lowercase.
102 * text2.C: updates because of this.
104 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
106 * ToolbarDefaults.C (add): add spaces in error message
108 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
110 * buffer.C (readLyXformat2): initialize the ert comp. variables.
111 (readLyXformat2): rename return_par to first_par, use lyxlex's
112 pushToken and remove the manual push handling.
113 (parseSingleLyXformat2Token): add another ert comp. variable:
114 in_tabular, rename return_par to first_par. handle newlines better
116 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
118 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
120 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
122 * text2.C (getParFromID): removed
124 * buffer.C (getParFromID): new method moved form lyxtext.
125 * BufferView2.C (insertErrors): adjust
126 (setCursorFromRow): adjust
127 * BufferView_pimpl.C (restorePosition): adjust
128 * lyxfunc.C (Dispatch): adjust
129 * undo_funcs.C (textUndo): adjust
131 (textHandleUndo): adjust
132 (textHandleUndo): adjust
134 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
136 * buffer.C: up' the LYX_FORMAT
138 * lyxfont.h: turn NO_LATEX on as default
140 * buffer.C (insertErtContents): new methods of tex style compability.
141 (parseSingleLyXformat2Token): use it several places.
142 * tabular.C (OldFormatRead): and here
144 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
146 * text2.C: remove some commented code.
149 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
150 * trans.C: changes because of the above.
152 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
154 * text2.C (setCounter): Fix counters bug with bibliography layout.
156 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
158 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
160 (simpleTeXSpecialChars): ditto
162 2001-07-06 Juergen Vigna <jug@sad.it>
164 * a lot of files: changed the access to LyXText::status and the
165 call of undo-functions.
167 * undo.[Ch]: added a inset_id to the undo informations.
169 * undo_funcs.[Ch]: added and moved here all undo functions.
171 * lyxtext.h: give the status enum a weight, made status_ a private
172 variable and made accessor functions for it, removed the whole bunch
173 of undo-functions as they are now in their own file, make some
174 functions publically available. Added function ownerParagraph with
177 * paragraph.[Ch]: added "bool same_ids" to the constructor,
178 made InInset() a const function, added getParFromID() function.
180 * buffer.[Ch]: added const version for inset_iterator functions,
181 added getInsetFromID() function.
183 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
184 changed undo functions for new version.
186 2001-07-05 Juergen Vigna <jug@sad.it>
188 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
189 unknow mechanism does not call the proper constructor but only this
190 one also if I request the other!?
192 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
194 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
196 * text2.C (LyXText): use initialization lists.
198 * lyxtext.h (Selection): initialize set_ and mark_
199 (init): remove method
201 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
203 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
205 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
207 * screen.[Ch]: change method names to begin with lowercase
209 * BufferView_pimpl.C (updateScrollbar): simplify further and
210 hopefully make it a bit faster.
212 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
214 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
215 calling directly xforms functions.
217 * Painter.C (Painter):
218 * lyx_cb.C (MenuWrite):
219 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
222 * lyx_gui.C: remove bogus guiruntime extern declaration.
224 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
226 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
228 (redoDrawingOfParagraph): ditto
229 (redoParagraphs): ditto
230 (cutSelection): don't create a object for CutAndPaste use the
231 static method directly
232 (pasteSelection): ditto
234 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
237 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
239 * modifications to some other files because of this.
241 * Makefile.am (lyx_SOURCES): add XFormsView
243 * XFormsView.[Ch]: new files
245 * LyXView.[Ch]: make LyXView a base class for the gui handling for
246 the main window. Move the gui dependent stuff to XFormsView
248 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
250 * tabular.C (GetCellInset): update cur_cell also in the row/col
251 version of this function.
253 * lyxfunc.C: no need to include figure_form.h here.
259 * lyxvc.C: no need to include forms.h here.
261 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
263 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
265 * lyxfunc.C (Dispatch):
267 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
268 constructor argument.
270 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
272 * paragraph.C (Paragraph): dont't clear, and just set layout.
273 (makeSameLayout): use params's copy contructor.
275 * ParagraphParameters.[Ch] (makeSame): delete method
277 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
279 * Variables.[Ch]: fix indentation, rename set to isSet
281 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
283 * lyxfunc.C (Dispatch): fix typo
285 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
287 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
290 * bufferlist.C: include assert.h for emergencyWrite().
292 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
294 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
295 give up at last (bug #425202) !
297 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
303 * spellchecker.C: strip spellchecker options and bring up
304 preferences tab instead
306 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
308 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
309 the istringstream constructor
311 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
313 * paragraph.C (getLayout): fix return value
315 * paragraph.h: do not declare getLayout as inline.
317 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
319 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
321 * lyxcursor.h (operator<): new func
322 (operator>): new func
323 (operator>=): new func
324 (operator<=): new func
326 * text.C (changeCase): use selection.start and selection.end
327 (changeRegionCase): require from to be <= to. Require par to be a
330 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
332 2001-06-27 Juergen Vigna <jug@sad.it>
334 * text.C (cursorLeftOneWord): changed to return the cursor and added
335 overlay with BufferView * parameter which calls this one.
337 (selectWord): use new getWord function.
338 (changeCase): renamed from changeWordCase as and extended to work
341 * lyxtext.h: added enum word_location
343 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
344 changeCase as this operates now also on selections.
346 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
348 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
350 * many files: send debug output to Debug::INFO instead of
353 * converter.C (View):
355 (Move): send debug output to Debug::FILES instead of console.
357 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
359 * lyxfunc.C (getStatus): use func_status
361 * func_status.h: new header, describing the results of
364 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
367 2001-06-25 The LyX Project <jug@sad.it>
369 * buffer.C (sgmlOpenTag):
371 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
373 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
375 * text2.C: remove some dead code
377 * tabular.C (GetCellInset): store the last cell checked (gotten)
379 * tabular.h: add the helper for the speedup
381 * lyxtext.h: remove some dead code
383 2001-06-26 The LyX Project <Asger>
385 * paragraph.C: Change export to LaTeX of alignment to
386 \begin{center} and family for better roundtrip work with reLyX.
388 * Tune the math drawing a bit.
390 2001-06-25 The LyX Project <Asger>
392 * LColor.C (LColor): New color for math background. New color
395 2001-06-25 The LyX Project <jug@sad.it>
397 * lyxfunc.C (MenuNew): remove extra check for .lyx file
400 * bufferlist.C (newFile): do not restrict to files ending with
403 * BufferView_pimpl.C (MenuInsertLyXFile):
405 2001-06-24 The LyX Project <jug@sad.it>
407 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
410 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
412 * lyxtext.h: rename most methods to begin with a small char.
413 Lots of changes because of this.
415 * paragraph.C (Paragraph): do not call fitToSize
416 (erase): call Pimpl::erase
417 (insertChar): call Pimpl::insertChar
418 (insertInset): call Pipl::insertInset
419 (breakParagraph): do not call fitToSize
420 (breakParagraphConservative): do not call fitToSize
421 (fitToSize): remove method
423 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
425 2001-06-24 The LyX Project <Asger>
427 * Fix Qt compilation^2
429 2001-06-24 The LyX Project <jug@sad.it>
431 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
432 depthHook(getDepth()-1).
435 * ParagraphParameters.h:
436 * ParameterStruct.h: change type of depth to unsigned int ==
437 depth_type. Many adaptations to other files before of that.
439 2001-06-24 The LyX Project <Asger>
441 * Fix Qt compilation.
443 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
445 * paragraph.h: renamed several methods to begin with small letter.
446 several changes to many parts of the code because of this.
448 2001-06-23 The LyX Project <jug@sad.it>
450 * text2.C (InsertStringAsLines): renamed from InsertStringA;
451 rewritten to discard all double spaces when KeepEmpty is off
452 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
453 to only handle newlines but not fiddle with spaces and friends.
455 * lyxfunc.C (MenuNew): when doing 'new from template', use
456 template_path as default directory
458 2001-06-23 The LyX Project <Asger>
460 * Clean-up of header file includes all over
461 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
463 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
465 * paragraph.h: renamed from lyxparagraph.h
467 2001-06-23 Asger <lyx@violet.home.sad.it>
469 * Buffer.h: Removed Buffer::resize
470 * BufferList.h: Removed BufferList::resize
471 * LyXView.h: Added LyXView::resize. This way, we will only reflow
472 the document lazily when we change the width, or the font settings.
474 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
476 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
478 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
480 * buffer.h: remove out of date comment
482 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
485 * screen.C: fix "theoretical" GC leak
487 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
489 * LaTeX.C (scanAuxFile):
490 (deplog): remove trailing \r when reading stream (useful under
493 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
495 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
496 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
497 and BufferView::theLockingInset(Inset*), so should use them and not
498 access bv_->text->the_locking_inset directly.
500 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
502 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
505 * tex-defs.h: remove old unused file
507 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
509 * BufferView_pimpl.C: fix typo, remove minibuffer message
510 when buffer has loaded
512 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
514 * lyxfunc.C (Dispatch): use stringstream
515 (MenuNew): use stringstream
516 (Open): use stringstream
518 * importer.C (Import): use stringstream
520 * bufferview_funcs.C (CurrentState): use stringstream
522 * LaTeX.C (run): use stringstream
524 * BufferView_pimpl.C (savePosition): use stringstream
525 (restorePosition): use stringstream
526 (MenuInsertLyXFile): use stringstream
528 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
541 * vspace.C: removed // -*- C++ -*- as first line.
544 * version.h: added // -*- C++ -*- as first line.
546 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
548 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
550 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
553 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
555 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
558 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
560 * gettext.C: include LString.h even when --disable-nls is on.
562 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
564 * converter.h (Get): changed argument type from int to
565 FormatList::size_type to avoid unnecessary conversion.
567 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
570 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
572 * gettext.h: include LString.h even when --disable-nls is on.
574 2001-06-07 Juergen Vigna <jug@sad.it>
576 * text.C (BreakAgain): subst spaces with tabs.
578 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
579 (resizeInsetsLyXText): set force on resizeLyXText.
581 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
583 * gettext.h (gettext_init):
584 (locale_init): use a real definition instead of a macro
586 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
588 * Bufferview_pimpl.C:
590 * LColor.C: further lcolor tidies
592 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
594 * BufferView_pimpl.C (updateScrollbar): simplify.
596 * BufferView2.C: don't include insets/insetinfo.h, change
597 prototype for insertInset and call the Pimpl version. let
598 updateInset call Pimpl version.
600 * BufferView.h: move inset_slept to BufferView::Pimpl, move
601 gotoInset to BufferView::Pimpl
603 2001-06-01 Juergen Vigna <jug@sad.it>
605 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
606 inside a LockingInset (is the update needed at all?).
608 2001-05-31 Juergen Vigna <jug@sad.it>
610 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
611 here not the old one otherwise how should we compare it afterwards
614 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
619 * FontInfo.C: bring C functions into global namespace when
622 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
624 * LString.h: make sure config.h has been loaded before LString.h.
626 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
627 (one for each char read by EatLine!).
629 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
632 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
634 * paragraph.C (BreakParagraph): set the inset_owner in the new par
635 to the same as the par we break from
637 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
639 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
641 * MenuBackend.C (expand): also create menu entries for wide
642 versions of the floats.
644 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
646 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
648 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
649 frontends/Makefile.am
655 * tabular.C (getTokenValue): add std::
657 * tabular-old.C (getTokenValue): add std::
658 (getTokenValue): ditto
659 (getTokenValue): ditto
661 * screen.C (ToggleSelection): adjust
663 * lyxtext.h: put selection cursors inside a Selection struct.
665 * lyxfunc.C (moveCursorUpdate): adjust
667 * lyxfont.C (latexWriteStartChanges): add std::
671 * font.h: delete with(char const *, LyXFont const &)
673 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
675 * FontInfo.C (getFontname): add std::
677 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
678 (workAreaButtonPress): adjust
679 (tripleClick): adjust
681 (moveCursorUpdate): adjust
684 * BufferView2.C (gotoInset): adjust
686 2001-05-30 Juergen Vigna <jug@sad.it>
688 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
689 to check pspell I add this as default as I now have new pspell
690 libraries and they seem to use this.
692 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
694 * text2.C (CutSelection): make the cursor valid before the call to
697 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
699 * kbsequence.C (parse): de-uglify a bit the parsing code, which
700 relied on 0 terminated strings and other horrors. Bug found due to
701 the new assert in lyxstring!
703 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
706 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
708 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
711 * lyxfunc.C (processKeySym): change method of getting to the
714 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
715 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
716 * BufferView_pimpl.[Ch]: here as private methods.
718 2001-05-28 Juergen Vigna <jug@sad.it>
720 * text.C (SetHeightOfRow): added the update() call again as it is
721 needed to initialize inset dimensions!
723 2001-05-16 Juergen Vigna <jug@sad.it>
725 * text2.C (SetCharFont): Add new function with BufferView * and
726 bool toggleall parameters for setting insets internal fonts.
727 (SetFont): Freeze the undo as we may change fonts in Insets and
728 all this change should be inside only one Undo!
730 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
731 setting font's in insets as for them we have the SetFont function!
733 2001-05-15 Juergen Vigna <jug@sad.it>
735 * text2.C (ClearSelection): to be sure we REALLY don't have any
738 * tabular.C (TeXCellPreamble): fixed the left border problem for
741 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
743 * LaTeX.C (deplog): Make sure that the main .tex file is in the
746 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
748 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
751 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
752 help test to "internal only", similar for LFUN_INSERT_URL
754 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
755 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
756 auto_region_delete and deadkeys.
758 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
761 * LColor.C: remove some dead entries, tidy a little
763 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
765 * lyxfunc.C (processKeySym): comment the Escape handling, remove
767 (Dispatch): implement LFUN_ESCAPE
769 * commandtags.h: add LFUN_ESCAPE
771 * LyXAction.C (init): add entry for LFUN_ESCAPE
773 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
774 Remove commented code.
775 (insertNote): moved here
776 (open_new_inset): moved here
778 * BufferView[2].[Ch]: move insertNote and open_new_inset to
781 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
783 * kbmap.C (findbinding): clean it up and make it work correctly.
785 * lyx_main.C (init): do not pass argc and argv as parameters
787 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
789 * buffer.C: fix path for OS/2 & Win32
793 * lyx_main.C: Added os:: class.
795 * os2_defines.h: update
797 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
799 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
800 better by trying again with reduced state.
802 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
804 * lyxrc.C (read): print error about invalid key sequence only when
805 debugging (because not all latinX keysyms are known to some X
808 * kbsequence.C (getiso): add a few std:: qualifiers
809 (getiso): comment out extra return statement.
811 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
813 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
815 (Dispatch): enhance the accent inset a bit. (not perfect)
817 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
819 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
821 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
823 * bufferlist.C (emergencyWrite): fix assert() call
825 2001-05-04 Kayvan A. Sylvan <kayvan@camel.internal.sylvan.com>
827 * text.C (InsertChar): Added trivial patch to only send the "you
828 can not do multiple spaces this way" message once during a
831 2001-05-08 Baruch Even <baruch@lyx.org>
833 * Makefile.am: Changed order of libraries to get LyX to link properly
834 with the gnome frontend.
836 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
838 * LaTeXFeatures.h: add a std:: qualifier
840 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
842 * paragraph.C (String): use stringstream
844 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
846 * paragraph.C (writeFile): remove footflag arg
848 * buffer.C (makeLaTeXFile): use stringstream
849 (latexParagraphs): remove footnot gurba
851 * LaTeXFeatures.C (getPackages): use stringstream
852 (getMacros): likewise
853 (getTClassPreamble): likewise
854 (getFloatDefinitions): new method
856 * paragraph.C (writeFile): reindent
859 * WorkArea.h: revert the xpos + etc changes.
861 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
863 * lyxparagraph.[Ch]: add copy constructor, remove Clone
865 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
866 (pasteSelection): likewise
867 * text2.C (CreateUndo): likewise
869 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
871 * minibuffer.C (peek_event): temporarily reduce the functionality
872 of the minibuffer (to allow args on lfuns)
874 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
875 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
877 * buffer.C (readInset): add compability reading of old float
878 lists, add reading of new style float list.
879 (readInset): avoid reevaluation of inscmd.getCmdName()
882 * MenuBackend.C (MenuItem): implement parsing of
883 md_floatlistinsert and md_floatinsert.
884 (expand::LastFiles): move initalizaton of iterators out of loop,
886 (expand::Documents): introduce typdedef vector<string> Strings,
888 (expand::ExportFormats): introduce typedef vector<Format const *>
890 (expand): implement FloatListInsert and FloatInsert.
892 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
893 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
894 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
896 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
898 (Dispatch::LFUN_FLOAT_LIST): implement
900 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
902 * LaTeX.C (run): Fix problem with --export code.
904 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
906 * BufferView.[Ch] (workarea): removed.
907 (getClipboard) new method; wrapper for workarea()->getClipboard()
909 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
912 * WorkArea.h (width, height, xpos, ypos): These methods all
913 returned the dimensions of the work_area sub-area of WorkArea,
914 resulting in a position error if the WorkArea were resized. Now
915 return the dimensions of the entire WorkArea.
917 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
919 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
921 * LaTeX.C (deplog): correct the syntax of regex reg1
923 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
925 * undo.C: remove !NEW_INSETS cruft
927 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
929 * text2.C: remove !NEW_INSETS cruft
931 * text.C: remove !NEW_INSETS cruft
933 * tabular.C: remove !NEW_INSETS cruft
935 * spellchecker.C: remove !NEW_INSETS cruft
937 * lyxtext.h: remove !NEW_INSETS cruft
939 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
941 * lyxfunc.C: remove !NEW_INSETS cruft
943 * lyxfind.C: remove !NEW_INSETS cruft
945 * lyx_cb.C: remove !NEW_INSETS cruft
947 * figureForm.C: remove !NEW_INSETS cruft
949 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
951 * buffer.[Ch]: remove !NEW_INSETS cruft
953 * ToolbarDefaults.C: remove !NEW_INSETS cruft
955 * CutAndPaste.C: remove !NEW_INSETS cruft
957 * BufferView_pimpl.C: remove !NEW_INSETS cruft
959 * BufferView2.C: remove !NEW_INSETS cruft
961 * BufferView.h: remove !NEW_INSETS cruft
963 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
965 * Lsstream.h: include LString.h before the sstream headers to
966 fix problem with gcc 2.95.3 and lyxstring
968 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
970 * lyx_main.C: add using directives when needed for C functions
971 declared in std:: namespace.
973 2001-04-27 Juergen Vigna <jug@sad.it>
975 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
976 (SetHeightOfRow): comment out the update call should not be needed!
978 2001-04-13 Juergen Vigna <jug@sad.it>
980 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
981 (LyXTabular): tried to minimize operator= operations (and realized
984 2001-04-27 Juergen Vigna <jug@sad.it>
986 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
988 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
990 * lyxfunc.C (Dispatch): hack to make listof algorithm work
992 * buffer.C (readInset): hack to make listof algorithm work
994 * BufferView_pimpl.C: hack to make listof algorithm work
996 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
998 * LyXAction.C: removed all !NEW_INSETS cruft
999 (init): moved lfun_item in method
1001 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
1003 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1005 * BufferView2.C (theLockingInset): white space.
1007 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1009 * minibuffer.C: include <iostream>
1011 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
1013 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
1015 * commandtags.h: add LFUN_TRANSPOSE_CHARS
1017 * text.[Ch] (TransposeChars): new method
1019 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1021 * call message directly through LyXView instead of through LyXFunc
1022 * BufferView2.C: adjust
1023 * BufferView_pimpl.C: adjust
1024 * FontLoader.C: adjust
1026 * bufferview_funcs.C: adjust
1027 * converter.C: adjust
1028 * figureForm.C: adjust
1029 * importer.C: adjust
1031 * lyx_gui_misc.C: adjust
1035 + more files in subdirs
1037 * lyxparagraph.h (size): move up int file
1040 * adjust all uses of Assert to lyx::Assert.
1042 * BufferView2.C (ChangeCitationsIfUnique): adjust for
1043 lyxfunctional in namespace lyx
1044 * layout.C (hasLayout): ditto
1047 (delete_layout): ditto
1048 (NumberOfClass): ditto
1049 * converter.C (GetFormat): ditto
1054 * bufferlist.C (getFileNames): ditto
1055 (emergencyWriteAll): ditto
1058 * MenuBackend.C (hasSubmenu): ditto
1061 * BufferView_pimpl.C (getInsetByCode): ditto
1063 2001-04-18 Juergen Vigna <jug@sad.it>
1065 * vspace.C (asLatexString): fixed the 100% problem.
1067 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1069 * lyxfunc.C (Dispatch):
1071 * minibuffer.h: add a few std:: qualifiers
1073 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1075 * minibuffer.[Ch]: reimplement so that commands is initiated and
1076 run from lyxfunc, simplified som handling, and made the completion
1077 and history code for complete. wip.
1079 * lyxfunc.C (processKeySym): call message
1080 (miniDispatch): new temporary method
1081 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
1082 (LFUN_MESSAGE): implement
1083 (LFUN_MESSAGE_PUSH): implement
1084 (LFUN_MESSAGE_POP): implement
1085 (initMiniBuffer): the initial/defualt minibuffer message.
1087 * lyxfont.[Ch]: inline some more getters
1089 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
1091 * lyx_gui_misc.[Ch] (WriteStatus): remove method
1093 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
1094 (AutoSave): use LFUN_MESSAGE
1095 (Reconfigure): ditto
1097 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
1099 * figureForm.C: use LFUN_MESSAGE
1101 * converter.C (runLaTeX): use LFUN_MESSAGE
1103 * bufferview_funcs.C: use LFUN_MESSAGE
1105 (changeDepth): ditto
1107 * bufferparams.h: use boost::
1109 * bufferlist.h: inherit privately from noncopyable
1111 * bufferlist.C (loadLyXFile): remove some commented code.
1113 * buffer.C (runChktex): use LFUN_MESSAGE
1115 * ShareContainer.h: inherit privately from noncopyable
1117 * ParagraphParameters.[hC] (depth): inline it.
1119 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
1121 (message): new method
1122 (messagePush): ditto
1124 (show): init minibuffer
1125 (showState): direct call
1127 * LaTeX.[Ch]: inherit privately from noncopyable
1128 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
1129 instead of WriteStatus.
1131 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
1133 * BufferView_pimpl.C (buffer): don't init minibuffer
1134 (workAreaButtonPress): use LFUN_MESSAGE
1135 (workAreaButtonRelease): ditto
1136 (savePosition): ditto
1137 (restorePosition): ditto
1138 (MenuInsertLyXFile): ditto
1139 (workAreaExpose): don't init minibuffer
1140 (update): remove commented code, simplify
1142 * BufferView2.C (openStuff): use LFUN_MESSAGE
1143 (toggleFloat): ditto
1146 (copyEnvironment): ditto
1147 (pasteEnvironment): ditto
1152 (updateInset): remove some commented code
1154 * lastfiles.h: inherit privately from noncopyable
1159 * lyxlex_pimpl.h: ditto
1161 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
1162 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
1163 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1165 * LyXAction.h: inherit privately from noncopyable, add methods
1166 func_begin, func_end, returning iterators to the func map.
1168 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
1169 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1170 (func_begin): new method
1171 (func_end): new method
1173 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
1175 (copySelection): ditto
1176 (pasteSelection): ditto
1178 * BufferView.C: whitespace change
1179 * BufferView.h: inherit privately from noncopyable
1181 2001-04-16 Allan Rae <rae@lyx.org>
1183 * tabular-old.C (l_getline):
1184 * spellchecker.C (sc_check_word):
1185 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
1186 an unrecognised preprocessor directive. So ensure they're wrapped.
1188 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
1190 * src/exporter.C (Export): Give an error message when path to file
1193 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
1195 * LaTeX.C (deplog): Always check that foundfile exists.
1197 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1200 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
1202 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1204 * tabular.[Ch] (getLabelList): implement new method
1206 * minibuffer.h: comment ouf setTiimer
1208 * minibuffer.C (ExecutingCB): constify res
1209 (peek_event): constify s
1210 (Set): constify ntext
1211 (Init): constify nicename
1213 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
1215 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
1216 (savePosition): use two params to Minibuffer::Set
1217 (restorePosition): ditto
1219 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1221 * lyx_main.C: include language.h
1223 * Makefile.am (lyx_main.o): add language.h
1225 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1231 * CutAndPaste.C: include gettext.h
1233 * lyxfont.h: remove old hack with ON and OFF.
1236 * lyxfont.h: do not include language.h...
1241 * bufferview_funcs.C:
1247 * paragraph.C: ... but do it here instead
1249 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1251 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
1253 * tabular.C: small reformat
1255 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
1258 (BreakParagraph): ditto
1259 (SetOnlyLayout): ditto
1262 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
1265 * lastfiles.C: removed most using decl, add std:: where needed
1267 * buffer.C: ws changes
1269 * MenuBackend.C (class compare_format): put into anon namespace
1270 (expand): constify label, names, action, action2
1273 * text.C (SingleWidth): constify font
1274 (IsBoundary): constify rtl2
1275 (GetVisibleRow): constify ww
1277 * LaTeX.C (deplog): constify logfile
1279 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
1281 (workAreaExpose): constify widthChange, heightChange
1283 * lyxrow.C (par): moved
1286 * lyxrow.h: as inlines here
1288 * lyxfont.h (shape): moved from lyxfont.C
1289 (emph): moved from lyxfont.C
1291 * lyxfont.C (LyXFont): use initialization list for all
1293 (shape): move to lyxfont.h as inline
1294 (emph): move to lyxfont.h as inline
1297 2001-04-04 Juergen Vigna <jug@sad.it>
1299 * vspace.C: had to include stdio.h for use of sscanf
1301 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
1304 * BufferView_pimpl.h: remove xforms cruft. Both classes are
1305 independent of xforms.
1307 2001-04-02 Juergen Vigna <jug@sad.it>
1309 * spellchecker.C: fixed namespace placing!
1311 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1313 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
1314 the LyXParagraph * is 0.
1316 2001-03-29 Juergen Vigna <jug@sad.it>
1318 * vspace.C: added support for %, c%, p%, l%.
1319 (stringFromUnit): added helper function.
1320 (asLatexString): changed to give right results for the %-values.
1322 * buffer.C: convert the widthp in a width%.
1324 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1326 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
1329 * figureForm.[Ch]: stripped the FD_from_figure manipulation
1330 code out of lux_cb.[Ch], ready for its (imminent?) removal.
1332 * lyx_cb.[Ch]: see above.
1334 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
1338 * lyx.[Ch]: replaced by figure_form.[Ch].
1342 * lyxfunc.C: changed headers associated with above changes.
1344 2001-03-27 Juergen Vigna <jug@sad.it>
1346 * BufferView_pimpl.C: set the temporary cursor right!
1348 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1350 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
1352 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1354 * LString.h: removed "using std::getline"!
1356 * BufferView_pimpl.C (Dispatch): changes due to changes in
1357 InsetInclude::Params.
1359 * buffer.C (tag_name): removed redundant break statements as they were
1360 producing lots of warnings with my compiler.
1362 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1364 * LString.h: add "using std::getline" when using the real <string>.
1366 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
1368 * buffer.C: removed bitset usage.
1369 PAR_TAG moved to an anonymous name space.
1370 (tag_name): new funtion, also in the anonymous namespace.
1371 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
1372 (makeDocBookFile): clean code. Completed transition from string arrays
1374 (SimpleDocBookOnePar): code clean.
1376 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1378 * tabular.C: add some comments.
1380 2001-03-22 Juergen Vigna <jug@sad.it>
1382 * buffer.C (parseSingleLyXformat2Token): redone the minipage
1383 compatibility read a bit and fixed bug with minipage in different
1386 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
1388 * buffer.C (pop_tag): removed.
1389 (push_tag): removed.
1390 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
1391 array replaced with vector. Added support for CDATA sections.
1392 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
1394 (makeDocBookFile): XML conformant declaration of CDATA section,
1395 fixed bug related to <emphasis> in the first paragraph char.
1396 (sgmlOpenTag): exclude empty tags.
1397 (sgmlCloseTag): ditto.
1399 * buffer.h (pop_tag): removed.
1400 (push_tag): removed.
1402 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1404 * language.h (Languages): added size_type and size().
1406 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1408 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
1409 response on compability reading of minipages. One probliem is that
1410 the old usage of minipages was «flertydig»
1412 * several files here and in subdirs: don't use static at file
1413 scope use anon namespaces instead.
1415 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
1417 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
1418 LaTeX output. This is necessary for Literate document
1421 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1423 * buffer.C: insert hfill when needed.
1425 * tabular.C (l_getline): use string::erase, small whitespace change.
1427 * BufferView_pimpl.C: try the anon namespace.
1430 2001-03-16 Juergen Vigna <jug@sad.it>
1432 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
1433 otherwise it won't open options-dialogs.
1435 * buffer.C: honor pextraWidth(p) on converting minipages.
1437 * tabular.C (l_getline): changed the functions to strip trailing \r.
1439 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1441 * BufferView_pimpl.C:
1442 * minibuffer..C: added "using SigC::slot" declaration.
1444 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1446 * lyxlex_pimpl.h: noncopyable is in namespace boost.
1452 * paragraph.C: ditto
1454 * lyxtext.h: NO_PEXTRA
1456 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
1458 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
1459 * ParameterStruct.h: ditto
1460 * ParagraphParameters.h: ditto
1461 * lyxparagraph.h: ditto
1463 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1465 * buffer.C: add compability for minipage alignment.
1466 (latexParagraphs): remove unwanted pextra check.
1468 * several files: remove CXX_WORKING_NAMESPACES
1470 * buffer.C (pop_tag): tie is in namespace boost
1472 * BufferView.h: noncopyable is in namespace boost
1477 * lastfiles.h: ditto
1478 * bufferlist.h: ditto
1479 * ShareContainer.h: ditto
1481 * LyXAction.h: ditto
1484 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1486 * Merging changes from BRANCH_MVC back into HEAD.
1488 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
1490 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
1492 * BufferView_pimpl.C: change from intl.C
1496 * Makefile.am: move combox.*
1502 * intl.C: remove dialog (covered by prefs)
1504 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1506 * lyxfunc.C (Dispatch): removed redundant break statement.
1508 2001-03-14 Juergen Vigna <jug@sad.it>
1510 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
1512 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1514 * buffer.C: add hack to fix compability reading of minipages.
1516 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
1518 * buffer.C (getLists): Cleanup.
1520 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1522 * lyxfont.C (update): don't honor toggleall on font size.
1524 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
1528 * Makefile.am: moved to frontends/xforms/
1532 * BufferView_pimpl.C: changes for moved mathpanel
1534 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1536 * gettext.h: fix gettext_init() in --disable-nls
1538 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1540 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
1542 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
1545 * lyx.h: strip external form
1547 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1549 * BufferView_pimpl.C: add comment, destroySplash()
1551 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1553 * BufferView_pimpl.C:
1557 * lyxfunc.C: use re-worked insetinclude
1559 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1561 * buffer.C: add using std::stringstream.
1563 * lyx_cb.C: readd using std::ios.
1565 * buffer.C: add using std::map.
1567 * BufferView_pimpl.C: add using std::vector.
1569 * ShareContainer.h: add std:: to swap.
1571 * buffer.h: add some typedefs
1572 * buffer.C (getLists): use them
1573 (getLists): renamed from getTocList.
1574 add a counter for the different float types and use it in the
1576 (getLists): use the same counter for the NEW_INSETS and the "non"
1579 * lyx_cb.h: remove unused items, includes, using etc.
1581 * ShareContainer.h: remove some commented code, add more comments
1582 and "documentation".
1584 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1586 * buffer.C (getTocList): make the list also when NEW_INSETS is
1589 * buffer.h: remove TocType
1591 * buffer.C (getTocList): change to return a map<string,
1592 vector<TocItem> >, implement for dynamic number of list.
1594 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
1595 * text2.C (PasteSelection): adjust
1596 * CutAndPaste.C (pasteSelection): adjust
1598 * FloatList.C (FloatList): update from the new_insets branch.
1599 * Floating.[Ch]: ditto
1600 * LaTeXFeatures.C: ditto
1602 * lyxlex_pimpl.C: ditto
1604 * paragraph.C (Last): remove when NEW_INSETS is defined.
1606 * other file: changes because of the above.
1608 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1610 * lyxparagraph.h: rename next to next_, previous to previous_,
1611 make them private for NEW_INSETS. Rename Next() to next(),
1612 Previous() to previous().
1614 * other files: changes because of the above.
1616 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
1619 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
1622 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1624 * main.C (main): pass lyx_localedir to gettext_init().
1626 * gettext.h: remove locale_init and gettext_init macros
1628 * gettext.C (locale_init): new function
1629 (gettext_init): new function
1631 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
1634 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
1636 * Moved credits to frontends:
1637 * credits.[Ch]: removed
1638 * credits_form.[Ch]: removed
1639 * lyx_gui_misc.C: remove credits stuff
1642 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1644 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
1646 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
1647 unneeded destructor.
1649 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
1650 a standalone pointer again.
1652 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
1654 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
1660 * ToolbarDefaults.C:
1669 * BufferView_pimpl.C: use new file dialog in GUII
1672 * lyx_cb.C: remove LayoutsCB to Toolbar
1674 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1676 * ShareContainer.h (get): add std:: qualifier
1678 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1680 * ShareContainer.h: define a proper ShareContainer::value_type
1681 type (and use typename to please compaq cxx)
1683 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1685 * lyxparagraph.h: move serveral local vars to
1686 ParameterStruct/ParagraphParameters., use ShareContainer in
1687 FontTable., make vars in FontTable private and add getter and
1690 * paragraph.C: changes because of the above.
1692 * lyxfont.h: remove copy constructor and copy assignment. (the
1693 default ones is ok), move number inside FontBits. move inlines to
1696 * lyxfont.C: add number to initializaton of statics, move several
1697 inlines here. constify several local vars. some whitespace
1698 cleanup. Dont hide outerscope variables.
1700 * Spacing.h: add two new constructors to match the set methods.
1702 * ShareContainer.h: new file, will perhaps be moved to support
1704 * ParameterStruct.h: new file
1706 * ParagraphParameters.h: new file
1708 * ParagraphParameters.C: new file
1710 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
1711 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
1713 * BufferView_pimpl.C: ParagraphParameter changes.
1714 * buffer.C: Likewise.
1715 * bufferview_funcs.C: Likewise.
1717 * text2.C: Likewise.
1719 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1721 * lyxfind.C (LyXReplace): do not redefine default argument in
1723 (IsStringInText): ditto
1724 (SearchForward): ditto
1725 (SearchBackward): ditto
1727 2001-03-06 Juergen Vigna <jug@sad.it>
1729 * lyxfind.C (IsStringInText): put parentes around expressions.
1731 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
1733 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
1735 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
1737 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
1739 * stl_string_fwd.h: add comment
1741 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
1744 * tabular.C: remove unused DocBook methods
1750 killed DO_USE_DEFAULT_LANGUAGE
1752 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1754 * lyx_gui.C: do not include language.h.
1756 * bufferview_funcs.C (ToggleAndShow): do not provide optional
1757 arguments in function implementation.
1759 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1761 * BufferView_pimpl.C: add <ctime>
1763 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1765 * BufferView_pimpl.C: add using std::find_if
1767 2001-02-27 José Matos <jamatos@fep.up.pt>
1769 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
1772 2001-02-11 José Matos <jamatos@fep.up.pt>
1774 * buffer.C (makeDocBookFile): command styles now have a parameter as
1777 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
1779 * layout_forms.[Ch]: removed
1780 * lyx_cb.[Ch]: out character
1781 * lyx_gui.C: out character
1782 * lyx_gui_misc.C: out character
1783 * bufferview_funcs.C: : out character,
1784 added toggleall as parameter in ToggleAndShow
1786 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
1788 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
1790 * text2.C (SetCurrentFont): Disable number property at boundary.
1792 2001-02-26 Juergen Vigna <jug@sad.it>
1794 * lyxfunc.C (getStatus): added a string argument override function so
1795 that this is correctly called from LyXFunc::Dispatch if it contains a
1796 do_not_use_argument which is used!
1797 (Dispatch): added check for "custom" export and call appropriate func.
1799 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
1801 * lyxrc.C: Add language_command_local, language_use_babel and
1802 language_global_options.
1804 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
1806 * buffer.C (makeLaTeXFile): Use language_use_babel and
1807 language_global_options.
1809 2001-02-23 Juergen Vigna <jug@sad.it>
1811 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
1812 which works with LyXText and putted it inside BufferView. Here now we
1813 only call for that part the BufferView::Dispatch() function.
1815 * BufferView.C (Dispatch): added.
1817 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
1818 functions which needs to use a LyXText over from LyXFunc.
1819 (MenuInsertLyXFile): added
1820 (getInsetByCode): added
1821 (moveCursorUpdate): added
1822 (static TEXT): added
1824 2001-02-22 Juergen Vigna <jug@sad.it>
1826 * BufferView_pimpl.C (update): call a status update to see if LyXText
1829 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1831 * vc-backend.C (revert): implement for CVS
1832 (getLog): implement for CVS
1834 2001-02-20 Juergen Vigna <jug@sad.it>
1836 * text2.C (ClearSelection): added BufferView param for inset_owner call
1838 * lyxfunc.C (TEXT): added this function and use it instead of
1839 directly owner->view()-text of getLyXText().
1841 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
1843 * src/layout_forms.C: out preamble
1844 * src/layout_forms.h: out preamble
1845 * src/lyx_cb.C: out preamble
1846 * src/lyx_cb.h: out preamble
1847 * src/lyx_gui.C: out preamble
1848 * src/lyx_gui_misc.C: out preamble
1849 * src/lyxfunc.C: connect with guii preamble
1851 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1853 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
1855 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
1857 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
1858 whether to run bibtex.
1860 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
1862 * Makefile.am (lyx_SOURCES): Remove BackStack.h
1864 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1866 * Makefile.am (lyx_SOURCES): removed bibforms.h
1870 * text.C (GetVisibleRow): make several local vars const
1872 * tabular.C: small cleanup.
1874 * lyxserver.C (callback): use compare instead of strncmp
1876 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
1877 inlines to after class or to paragraph.C
1879 * lyxfont.h: remove friend operator!=
1881 * converter.h: move friend bool operator< to non friend and after
1884 * combox.h: small cleanup
1886 * buffer.h: doxygen, remove unused constructor, move inclas inlies
1887 to inlines after class def.
1889 * buffer.C (pop_tag): use string operations instead of strcmp
1891 * bmtable.c: doxygen, small cleanup
1893 * LaTeX.h: remove friend operator==
1895 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1907 * BufferView_pimpl.C:
1908 * BufferView.[Ch]: remove cruft
1910 2001-02-14 Juergen Vigna <jug@sad.it>
1912 * lyxfunc.C: removed #if 0 unused code
1914 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
1916 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
1918 * text2.C (SetSelection): added a BufferView * parameter
1920 2001-02-13 Juergen Vigna <jug@sad.it>
1922 * lyxfunc.C (Dispatch): fixed protected blank problem.
1923 * BufferView2.C (protectedBlank): added LyxText * parameter.
1925 * tabular.C (AppendRow): forgot to set row_info of newly added row.
1926 (AppendColumn): same as above for column_info.
1928 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
1929 (moveCursorUpdate): use a LyXText param for support of InsetText.
1931 * BufferView_pimpl.C (doubleClick): added support for InsetText.
1932 (tripleClick): ditto
1934 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
1936 * BufferView_pimpl.C (update): added LyXText param to honor insets.
1938 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
1940 * text2.C (SetSelection): set correct update status if inset_owner
1943 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1945 * tabular.C: remove some commented code.
1947 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1949 * BufferView_pimpl.C: call hideSplash()
1951 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
1954 * bibforms.h: remove
1957 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
1958 add LFUN_CHILD_CREATE
1960 * counters.h: fix tiny typo
1965 * lyx.C: move splash to frontends/xforms/
1967 * lyx_gui_misc.C: move Include and Bibform to frontends
1969 * lyxvc.h: clarify comment
1971 * vspace.C: tiny housekeeping
1973 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1975 * text.C (PrepareToPrint): RTL Fix.
1977 * paragraph.C (GetUChar): New method.
1978 (String): Use GetUChar.
1980 * buffer.C (asciiParagraph): Use GetUChar.
1982 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1984 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
1986 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
1989 * buffer.C: rename to getLogName(), handle
1990 build log / latex log nicely
1992 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1995 * MenuBackend.h: remove support for reference menuitem type.
1997 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
1999 * BufferView_pimpl.C: housekeeping
2000 * BufferView_pimpl.h:
2005 * minibuffer.h: move Timeout GUI-I
2007 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
2009 * lyxrc.C (read): Update converters data-structures.
2011 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
2013 * LaTeX.h (operator!=): add operator != for Aux_Info
2015 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
2017 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
2019 * LaTeXLog.C: deleted, useful code moved to Buffer
2022 * buffer.C: new function getLatexLogName()
2028 * lyxfunc.C: use frontends for LaTeX and VC logs
2030 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2032 * LaTeX.h: yet another std:: that Allan forgot.
2034 * Variables.C (set): renamed from isset(), because this clashes
2035 with some HP-UX macros (grr).
2037 2001-02-06 Allan Rae <rae@lyx.org>
2039 * LaTeX.h: Another bug fix. Missing std:: this time.
2041 2001-02-04 Allan Rae <rae@lyx.org>
2043 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
2044 floats problem. I've left it commented out because it's not quite
2045 correct. It should also test that the current object is a table or
2046 figure inset. But I haven't gotten around to figuring out how to do
2047 that. I *think* it'll be something like: "table" == inset.type()
2049 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
2052 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
2054 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
2055 all the citation/databases/styles in the auxilary file.
2056 (run): Rerun latex if there was a babel language error.
2058 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
2060 * text.C (Backspace): Preserve the font when changing newline char
2062 (BreakParagraph): If the cursor is before a space, delete the space.
2064 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
2066 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
2068 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
2069 new argument (code).
2070 (ChangeCitationsIfUnique): New method.
2072 * paragraph.C (GetPositionOfInset): Handle bibkey.
2074 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2076 * BufferView_pimpl.h: change type of Position::par_pos to
2077 LyXParagraph::size_type.
2079 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
2081 * BufferView_pimpl.C (savePosition, restorePosition): Write
2082 messages to minibuffer.
2084 2001-01-28 José Matos <jamatos@fep.up.pt>
2086 * buffer.C (makeDocBookFile): adds support for document language.
2087 A silly restriction on the name of LatexCommand types where removed.
2088 Added support for CDATA sections, allows to chars unescaped, used
2089 among others in code, to avoid escape < and >.
2091 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2093 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
2094 saved positions instrad of a stack. Furthermore, a position is
2095 stored using paragraph id/paragraph position.
2097 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
2098 Remove LFUN_REF_BACK.
2100 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2102 * converter.C (dvipdfm_options): New method.
2104 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
2106 * vspace.C (isValidLength): Fix for empty input string.
2108 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2110 * LyXAction.C (init): change description of LFUN_FIGURE to
2113 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2115 * LaTeX.C: add using directive
2117 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2119 * MenuBackend.C (expand): Fix the sorting of the formats.
2121 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
2123 * lyx_main.C: tiny error message fix
2125 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2127 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
2128 calling fl_initialize(). This fixes the problem with ',' as
2129 decimal separator in text files.
2131 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2133 * trans.C (process): Fix the keymap bug.
2135 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
2137 * LaTeX.C (scanAuxFiles): New method. Provides support for
2138 multiple bibliographies (when using the bibtopic/bibunits pacakges).
2139 (scanLogFile) Scan for "run BibTeX" messages.
2141 * buffer.C (makeLaTeXFile): Do not load the ae package when using
2142 OT1 font encoding. Also, load the aecompl package if the ae
2145 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
2147 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2149 * texrow.C (increasePos): turn two error messages into debug
2152 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
2154 * LaTeX.C (scanAux): Handle the \@input macro.
2155 (runBibTeX): Use scanAux().
2157 * language.C (latex_options_): New field.
2159 * LaTeXFeatures.C (getMacros): Add language macros.
2161 * buffer.C (makeLaTeXFile): Small fix.
2163 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2165 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
2167 * text2.C: add a using directive.
2169 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
2174 * lyxfunc.C: kill LyXBell.
2176 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
2178 * text.C (IsBoundary): Remove the error message
2180 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
2182 * lyxrc.C (setDefaults): Correct initialization value for
2185 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
2187 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
2190 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
2193 * src/LyXAction.C: Added reference-next.
2195 * text.C (InsertChar): Use contains instead of strchr.
2197 * lyx_cb.C (MenuInsertLabel): Enable default value code.
2199 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
2201 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
2202 alignment commands (when needed).
2204 * text.C (InsertChar): Add ':' to number separator chars.