1 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
5 * lyxfunc.C (Dispatch):
7 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12 * paragraph.C (Paragraph): dont't clear, and just set layout.
13 (makeSameLayout): use params's copy contructor.
15 * ParagraphParameters.[Ch] (makeSame): delete method
17 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
19 * Variables.[Ch]: fix indentation, rename set to isSet
21 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
23 * lyxfunc.C (Dispatch): fix typo
25 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
27 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
30 * bufferlist.C: include assert.h for emergencyWrite().
32 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
34 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
35 give up at last (bug #425202) !
37 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
43 * spellchecker.C: strip spellchecker options and bring up
44 preferences tab instead
46 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
48 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
49 the istringstream constructor
51 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
53 * paragraph.C (getLayout): fix return value
55 * paragraph.h: do not declare getLayout as inline.
57 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
59 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
61 * lyxcursor.h (operator<): new func
63 (operator>=): new func
64 (operator<=): new func
66 * text.C (changeCase): use selection.start and selection.end
67 (changeRegionCase): require from to be <= to. Require par to be a
70 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
72 2001-06-27 Juergen Vigna <jug@sad.it>
74 * text.C (cursorLeftOneWord): changed to return the cursor and added
75 overlay with BufferView * parameter which calls this one.
77 (selectWord): use new getWord function.
78 (changeCase): renamed from changeWordCase as and extended to work
81 * lyxtext.h: added enum word_location
83 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
84 changeCase as this operates now also on selections.
86 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
88 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
90 * many files: send debug output to Debug::INFO instead of
95 (Move): send debug output to Debug::FILES instead of console.
97 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
99 * lyxfunc.C (getStatus): use func_status
101 * func_status.h: new header, describing the results of
104 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
107 2001-06-25 The LyX Project <jug@sad.it>
109 * buffer.C (sgmlOpenTag):
111 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
113 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
115 * text2.C: remove some dead code
117 * tabular.C (GetCellInset): store the last cell checked (gotten)
119 * tabular.h: add the helper for the speedup
121 * lyxtext.h: remove some dead code
123 2001-06-26 The LyX Project <Asger>
125 * paragraph.C: Change export to LaTeX of alignment to
126 \begin{center} and family for better roundtrip work with reLyX.
128 * Tune the math drawing a bit.
130 2001-06-25 The LyX Project <Asger>
132 * LColor.C (LColor): New color for math background. New color
135 2001-06-25 The LyX Project <jug@sad.it>
137 * lyxfunc.C (MenuNew): remove extra check for .lyx file
140 * bufferlist.C (newFile): do not restrict to files ending with
143 * BufferView_pimpl.C (MenuInsertLyXFile):
145 2001-06-24 The LyX Project <jug@sad.it>
147 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
150 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
152 * lyxtext.h: rename most methods to begin with a small char.
153 Lots of changes because of this.
155 * paragraph.C (Paragraph): do not call fitToSize
156 (erase): call Pimpl::erase
157 (insertChar): call Pimpl::insertChar
158 (insertInset): call Pipl::insertInset
159 (breakParagraph): do not call fitToSize
160 (breakParagraphConservative): do not call fitToSize
161 (fitToSize): remove method
163 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
165 2001-06-24 The LyX Project <Asger>
167 * Fix Qt compilation^2
169 2001-06-24 The LyX Project <jug@sad.it>
171 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
172 depthHook(getDepth()-1).
175 * ParagraphParameters.h:
176 * ParameterStruct.h: change type of depth to unsigned int ==
177 depth_type. Many adaptations to other files before of that.
179 2001-06-24 The LyX Project <Asger>
181 * Fix Qt compilation.
183 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
185 * paragraph.h: renamed several methods to begin with small letter.
186 several changes to many parts of the code because of this.
188 2001-06-23 The LyX Project <jug@sad.it>
190 * text2.C (InsertStringAsLines): renamed from InsertStringA;
191 rewritten to discard all double spaces when KeepEmpty is off
192 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
193 to only handle newlines but not fiddle with spaces and friends.
195 * lyxfunc.C (MenuNew): when doing 'new from template', use
196 template_path as default directory
198 2001-06-23 The LyX Project <Asger>
200 * Clean-up of header file includes all over
201 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
203 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
205 * paragraph.h: renamed from lyxparagraph.h
207 2001-06-23 Asger <lyx@violet.home.sad.it>
209 * Buffer.h: Removed Buffer::resize
210 * BufferList.h: Removed BufferList::resize
211 * LyXView.h: Added LyXView::resize. This way, we will only reflow
212 the document lazily when we change the width, or the font settings.
214 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
216 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
218 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
220 * buffer.h: remove out of date comment
222 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
225 * screen.C: fix "theoretical" GC leak
227 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
229 * LaTeX.C (scanAuxFile):
230 (deplog): remove trailing \r when reading stream (useful under
233 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
235 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
236 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
237 and BufferView::theLockingInset(Inset*), so should use them and not
238 access bv_->text->the_locking_inset directly.
240 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
242 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
245 * tex-defs.h: remove old unused file
247 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
249 * BufferView_pimpl.C: fix typo, remove minibuffer message
250 when buffer has loaded
252 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
254 * lyxfunc.C (Dispatch): use stringstream
255 (MenuNew): use stringstream
256 (Open): use stringstream
258 * importer.C (Import): use stringstream
260 * bufferview_funcs.C (CurrentState): use stringstream
262 * LaTeX.C (run): use stringstream
264 * BufferView_pimpl.C (savePosition): use stringstream
265 (restorePosition): use stringstream
266 (MenuInsertLyXFile): use stringstream
268 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
281 * vspace.C: removed // -*- C++ -*- as first line.
284 * version.h: added // -*- C++ -*- as first line.
286 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
288 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
290 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
293 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
295 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
298 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
300 * gettext.C: include LString.h even when --disable-nls is on.
302 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
304 * converter.h (Get): changed argument type from int to
305 FormatList::size_type to avoid unnecessary conversion.
307 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
310 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
312 * gettext.h: include LString.h even when --disable-nls is on.
314 2001-06-07 Juergen Vigna <jug@sad.it>
316 * text.C (BreakAgain): subst spaces with tabs.
318 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
319 (resizeInsetsLyXText): set force on resizeLyXText.
321 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
323 * gettext.h (gettext_init):
324 (locale_init): use a real definition instead of a macro
326 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
328 * Bufferview_pimpl.C:
330 * LColor.C: further lcolor tidies
332 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
334 * BufferView_pimpl.C (updateScrollbar): simplify.
336 * BufferView2.C: don't include insets/insetinfo.h, change
337 prototype for insertInset and call the Pimpl version. let
338 updateInset call Pimpl version.
340 * BufferView.h: move inset_slept to BufferView::Pimpl, move
341 gotoInset to BufferView::Pimpl
343 2001-06-01 Juergen Vigna <jug@sad.it>
345 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
346 inside a LockingInset (is the update needed at all?).
348 2001-05-31 Juergen Vigna <jug@sad.it>
350 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
351 here not the old one otherwise how should we compare it afterwards
354 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
359 * FontInfo.C: bring C functions into global namespace when
362 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
364 * LString.h: make sure config.h has been loaded before LString.h.
366 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
367 (one for each char read by EatLine!).
369 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
372 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
374 * paragraph.C (BreakParagraph): set the inset_owner in the new par
375 to the same as the par we break from
377 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
379 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
381 * MenuBackend.C (expand): also create menu entries for wide
382 versions of the floats.
384 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
386 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
388 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
389 frontends/Makefile.am
395 * tabular.C (getTokenValue): add std::
397 * tabular-old.C (getTokenValue): add std::
398 (getTokenValue): ditto
399 (getTokenValue): ditto
401 * screen.C (ToggleSelection): adjust
403 * lyxtext.h: put selection cursors inside a Selection struct.
405 * lyxfunc.C (moveCursorUpdate): adjust
407 * lyxfont.C (latexWriteStartChanges): add std::
411 * font.h: delete with(char const *, LyXFont const &)
413 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
415 * FontInfo.C (getFontname): add std::
417 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
418 (workAreaButtonPress): adjust
419 (tripleClick): adjust
421 (moveCursorUpdate): adjust
424 * BufferView2.C (gotoInset): adjust
426 2001-05-30 Juergen Vigna <jug@sad.it>
428 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
429 to check pspell I add this as default as I now have new pspell
430 libraries and they seem to use this.
432 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
434 * text2.C (CutSelection): make the cursor valid before the call to
437 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
439 * kbsequence.C (parse): de-uglify a bit the parsing code, which
440 relied on 0 terminated strings and other horrors. Bug found due to
441 the new assert in lyxstring!
443 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
446 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
448 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
451 * lyxfunc.C (processKeySym): change method of getting to the
454 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
455 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
456 * BufferView_pimpl.[Ch]: here as private methods.
458 2001-05-28 Juergen Vigna <jug@sad.it>
460 * text.C (SetHeightOfRow): added the update() call again as it is
461 needed to initialize inset dimensions!
463 2001-05-16 Juergen Vigna <jug@sad.it>
465 * text2.C (SetCharFont): Add new function with BufferView * and
466 bool toggleall parameters for setting insets internal fonts.
467 (SetFont): Freeze the undo as we may change fonts in Insets and
468 all this change should be inside only one Undo!
470 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
471 setting font's in insets as for them we have the SetFont function!
473 2001-05-15 Juergen Vigna <jug@sad.it>
475 * text2.C (ClearSelection): to be sure we REALLY don't have any
478 * tabular.C (TeXCellPreamble): fixed the left border problem for
481 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
483 * LaTeX.C (deplog): Make sure that the main .tex file is in the
486 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
488 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
491 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
492 help test to "internal only", similar for LFUN_INSERT_URL
494 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
495 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
496 auto_region_delete and deadkeys.
498 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
501 * LColor.C: remove some dead entries, tidy a little
503 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
505 * lyxfunc.C (processKeySym): comment the Escape handling, remove
507 (Dispatch): implement LFUN_ESCAPE
509 * commandtags.h: add LFUN_ESCAPE
511 * LyXAction.C (init): add entry for LFUN_ESCAPE
513 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
514 Remove commented code.
515 (insertNote): moved here
516 (open_new_inset): moved here
518 * BufferView[2].[Ch]: move insertNote and open_new_inset to
521 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
523 * kbmap.C (findbinding): clean it up and make it work correctly.
525 * lyx_main.C (init): do not pass argc and argv as parameters
527 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
529 * buffer.C: fix path for OS/2 & Win32
533 * lyx_main.C: Added os:: class.
535 * os2_defines.h: update
537 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
539 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
540 better by trying again with reduced state.
542 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
544 * lyxrc.C (read): print error about invalid key sequence only when
545 debugging (because not all latinX keysyms are known to some X
548 * kbsequence.C (getiso): add a few std:: qualifiers
549 (getiso): comment out extra return statement.
551 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
553 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
555 (Dispatch): enhance the accent inset a bit. (not perfect)
557 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
559 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
561 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
563 * bufferlist.C (emergencyWrite): fix assert() call
565 2001-05-04 Kayvan A. Sylvan <kayvan@camel.internal.sylvan.com>
567 * text.C (InsertChar): Added trivial patch to only send the "you
568 can not do multiple spaces this way" message once during a
571 2001-05-08 Baruch Even <baruch@lyx.org>
573 * Makefile.am: Changed order of libraries to get LyX to link properly
574 with the gnome frontend.
576 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
578 * LaTeXFeatures.h: add a std:: qualifier
580 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
582 * paragraph.C (String): use stringstream
584 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
586 * paragraph.C (writeFile): remove footflag arg
588 * buffer.C (makeLaTeXFile): use stringstream
589 (latexParagraphs): remove footnot gurba
591 * LaTeXFeatures.C (getPackages): use stringstream
592 (getMacros): likewise
593 (getTClassPreamble): likewise
594 (getFloatDefinitions): new method
596 * paragraph.C (writeFile): reindent
599 * WorkArea.h: revert the xpos + etc changes.
601 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
603 * lyxparagraph.[Ch]: add copy constructor, remove Clone
605 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
606 (pasteSelection): likewise
607 * text2.C (CreateUndo): likewise
609 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
611 * minibuffer.C (peek_event): temporarily reduce the functionality
612 of the minibuffer (to allow args on lfuns)
614 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
615 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
617 * buffer.C (readInset): add compability reading of old float
618 lists, add reading of new style float list.
619 (readInset): avoid reevaluation of inscmd.getCmdName()
622 * MenuBackend.C (MenuItem): implement parsing of
623 md_floatlistinsert and md_floatinsert.
624 (expand::LastFiles): move initalizaton of iterators out of loop,
626 (expand::Documents): introduce typdedef vector<string> Strings,
628 (expand::ExportFormats): introduce typedef vector<Format const *>
630 (expand): implement FloatListInsert and FloatInsert.
632 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
633 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
634 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
636 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
638 (Dispatch::LFUN_FLOAT_LIST): implement
640 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
642 * LaTeX.C (run): Fix problem with --export code.
644 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
646 * BufferView.[Ch] (workarea): removed.
647 (getClipboard) new method; wrapper for workarea()->getClipboard()
649 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
652 * WorkArea.h (width, height, xpos, ypos): These methods all
653 returned the dimensions of the work_area sub-area of WorkArea,
654 resulting in a position error if the WorkArea were resized. Now
655 return the dimensions of the entire WorkArea.
657 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
659 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
661 * LaTeX.C (deplog): correct the syntax of regex reg1
663 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
665 * undo.C: remove !NEW_INSETS cruft
667 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
669 * text2.C: remove !NEW_INSETS cruft
671 * text.C: remove !NEW_INSETS cruft
673 * tabular.C: remove !NEW_INSETS cruft
675 * spellchecker.C: remove !NEW_INSETS cruft
677 * lyxtext.h: remove !NEW_INSETS cruft
679 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
681 * lyxfunc.C: remove !NEW_INSETS cruft
683 * lyxfind.C: remove !NEW_INSETS cruft
685 * lyx_cb.C: remove !NEW_INSETS cruft
687 * figureForm.C: remove !NEW_INSETS cruft
689 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
691 * buffer.[Ch]: remove !NEW_INSETS cruft
693 * ToolbarDefaults.C: remove !NEW_INSETS cruft
695 * CutAndPaste.C: remove !NEW_INSETS cruft
697 * BufferView_pimpl.C: remove !NEW_INSETS cruft
699 * BufferView2.C: remove !NEW_INSETS cruft
701 * BufferView.h: remove !NEW_INSETS cruft
703 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
705 * Lsstream.h: include LString.h before the sstream headers to
706 fix problem with gcc 2.95.3 and lyxstring
708 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
710 * lyx_main.C: add using directives when needed for C functions
711 declared in std:: namespace.
713 2001-04-27 Juergen Vigna <jug@sad.it>
715 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
716 (SetHeightOfRow): comment out the update call should not be needed!
718 2001-04-13 Juergen Vigna <jug@sad.it>
720 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
721 (LyXTabular): tried to minimize operator= operations (and realized
724 2001-04-27 Juergen Vigna <jug@sad.it>
726 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
728 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
730 * lyxfunc.C (Dispatch): hack to make listof algorithm work
732 * buffer.C (readInset): hack to make listof algorithm work
734 * BufferView_pimpl.C: hack to make listof algorithm work
736 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
738 * LyXAction.C: removed all !NEW_INSETS cruft
739 (init): moved lfun_item in method
741 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
743 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
745 * BufferView2.C (theLockingInset): white space.
747 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
749 * minibuffer.C: include <iostream>
751 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
753 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
755 * commandtags.h: add LFUN_TRANSPOSE_CHARS
757 * text.[Ch] (TransposeChars): new method
759 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
761 * call message directly through LyXView instead of through LyXFunc
762 * BufferView2.C: adjust
763 * BufferView_pimpl.C: adjust
764 * FontLoader.C: adjust
766 * bufferview_funcs.C: adjust
767 * converter.C: adjust
768 * figureForm.C: adjust
771 * lyx_gui_misc.C: adjust
775 + more files in subdirs
777 * lyxparagraph.h (size): move up int file
780 * adjust all uses of Assert to lyx::Assert.
782 * BufferView2.C (ChangeCitationsIfUnique): adjust for
783 lyxfunctional in namespace lyx
784 * layout.C (hasLayout): ditto
787 (delete_layout): ditto
788 (NumberOfClass): ditto
789 * converter.C (GetFormat): ditto
794 * bufferlist.C (getFileNames): ditto
795 (emergencyWriteAll): ditto
798 * MenuBackend.C (hasSubmenu): ditto
801 * BufferView_pimpl.C (getInsetByCode): ditto
803 2001-04-18 Juergen Vigna <jug@sad.it>
805 * vspace.C (asLatexString): fixed the 100% problem.
807 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
809 * lyxfunc.C (Dispatch):
811 * minibuffer.h: add a few std:: qualifiers
813 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
815 * minibuffer.[Ch]: reimplement so that commands is initiated and
816 run from lyxfunc, simplified som handling, and made the completion
817 and history code for complete. wip.
819 * lyxfunc.C (processKeySym): call message
820 (miniDispatch): new temporary method
821 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
822 (LFUN_MESSAGE): implement
823 (LFUN_MESSAGE_PUSH): implement
824 (LFUN_MESSAGE_POP): implement
825 (initMiniBuffer): the initial/defualt minibuffer message.
827 * lyxfont.[Ch]: inline some more getters
829 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
831 * lyx_gui_misc.[Ch] (WriteStatus): remove method
833 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
834 (AutoSave): use LFUN_MESSAGE
837 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
839 * figureForm.C: use LFUN_MESSAGE
841 * converter.C (runLaTeX): use LFUN_MESSAGE
843 * bufferview_funcs.C: use LFUN_MESSAGE
847 * bufferparams.h: use boost::
849 * bufferlist.h: inherit privately from noncopyable
851 * bufferlist.C (loadLyXFile): remove some commented code.
853 * buffer.C (runChktex): use LFUN_MESSAGE
855 * ShareContainer.h: inherit privately from noncopyable
857 * ParagraphParameters.[hC] (depth): inline it.
859 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
861 (message): new method
864 (show): init minibuffer
865 (showState): direct call
867 * LaTeX.[Ch]: inherit privately from noncopyable
868 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
869 instead of WriteStatus.
871 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
873 * BufferView_pimpl.C (buffer): don't init minibuffer
874 (workAreaButtonPress): use LFUN_MESSAGE
875 (workAreaButtonRelease): ditto
876 (savePosition): ditto
877 (restorePosition): ditto
878 (MenuInsertLyXFile): ditto
879 (workAreaExpose): don't init minibuffer
880 (update): remove commented code, simplify
882 * BufferView2.C (openStuff): use LFUN_MESSAGE
886 (copyEnvironment): ditto
887 (pasteEnvironment): ditto
892 (updateInset): remove some commented code
894 * lastfiles.h: inherit privately from noncopyable
899 * lyxlex_pimpl.h: ditto
901 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
902 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
903 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
905 * LyXAction.h: inherit privately from noncopyable, add methods
906 func_begin, func_end, returning iterators to the func map.
908 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
909 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
910 (func_begin): new method
911 (func_end): new method
913 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
915 (copySelection): ditto
916 (pasteSelection): ditto
918 * BufferView.C: whitespace change
919 * BufferView.h: inherit privately from noncopyable
921 2001-04-16 Allan Rae <rae@lyx.org>
923 * tabular-old.C (l_getline):
924 * spellchecker.C (sc_check_word):
925 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
926 an unrecognised preprocessor directive. So ensure they're wrapped.
928 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
930 * src/exporter.C (Export): Give an error message when path to file
933 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
935 * LaTeX.C (deplog): Always check that foundfile exists.
937 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
940 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
942 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
944 * tabular.[Ch] (getLabelList): implement new method
946 * minibuffer.h: comment ouf setTiimer
948 * minibuffer.C (ExecutingCB): constify res
949 (peek_event): constify s
950 (Set): constify ntext
951 (Init): constify nicename
953 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
955 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
956 (savePosition): use two params to Minibuffer::Set
957 (restorePosition): ditto
959 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
961 * lyx_main.C: include language.h
963 * Makefile.am (lyx_main.o): add language.h
965 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
971 * CutAndPaste.C: include gettext.h
973 * lyxfont.h: remove old hack with ON and OFF.
976 * lyxfont.h: do not include language.h...
981 * bufferview_funcs.C:
987 * paragraph.C: ... but do it here instead
989 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
991 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
993 * tabular.C: small reformat
995 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
998 (BreakParagraph): ditto
999 (SetOnlyLayout): ditto
1002 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
1005 * lastfiles.C: removed most using decl, add std:: where needed
1007 * buffer.C: ws changes
1009 * MenuBackend.C (class compare_format): put into anon namespace
1010 (expand): constify label, names, action, action2
1013 * text.C (SingleWidth): constify font
1014 (IsBoundary): constify rtl2
1015 (GetVisibleRow): constify ww
1017 * LaTeX.C (deplog): constify logfile
1019 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
1021 (workAreaExpose): constify widthChange, heightChange
1023 * lyxrow.C (par): moved
1026 * lyxrow.h: as inlines here
1028 * lyxfont.h (shape): moved from lyxfont.C
1029 (emph): moved from lyxfont.C
1031 * lyxfont.C (LyXFont): use initialization list for all
1033 (shape): move to lyxfont.h as inline
1034 (emph): move to lyxfont.h as inline
1037 2001-04-04 Juergen Vigna <jug@sad.it>
1039 * vspace.C: had to include stdio.h for use of sscanf
1041 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
1044 * BufferView_pimpl.h: remove xforms cruft. Both classes are
1045 independent of xforms.
1047 2001-04-02 Juergen Vigna <jug@sad.it>
1049 * spellchecker.C: fixed namespace placing!
1051 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1053 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
1054 the LyXParagraph * is 0.
1056 2001-03-29 Juergen Vigna <jug@sad.it>
1058 * vspace.C: added support for %, c%, p%, l%.
1059 (stringFromUnit): added helper function.
1060 (asLatexString): changed to give right results for the %-values.
1062 * buffer.C: convert the widthp in a width%.
1064 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1066 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
1069 * figureForm.[Ch]: stripped the FD_from_figure manipulation
1070 code out of lux_cb.[Ch], ready for its (imminent?) removal.
1072 * lyx_cb.[Ch]: see above.
1074 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
1078 * lyx.[Ch]: replaced by figure_form.[Ch].
1082 * lyxfunc.C: changed headers associated with above changes.
1084 2001-03-27 Juergen Vigna <jug@sad.it>
1086 * BufferView_pimpl.C: set the temporary cursor right!
1088 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1090 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
1092 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1094 * LString.h: removed "using std::getline"!
1096 * BufferView_pimpl.C (Dispatch): changes due to changes in
1097 InsetInclude::Params.
1099 * buffer.C (tag_name): removed redundant break statements as they were
1100 producing lots of warnings with my compiler.
1102 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1104 * LString.h: add "using std::getline" when using the real <string>.
1106 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
1108 * buffer.C: removed bitset usage.
1109 PAR_TAG moved to an anonymous name space.
1110 (tag_name): new funtion, also in the anonymous namespace.
1111 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
1112 (makeDocBookFile): clean code. Completed transition from string arrays
1114 (SimpleDocBookOnePar): code clean.
1116 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1118 * tabular.C: add some comments.
1120 2001-03-22 Juergen Vigna <jug@sad.it>
1122 * buffer.C (parseSingleLyXformat2Token): redone the minipage
1123 compatibility read a bit and fixed bug with minipage in different
1126 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
1128 * buffer.C (pop_tag): removed.
1129 (push_tag): removed.
1130 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
1131 array replaced with vector. Added support for CDATA sections.
1132 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
1134 (makeDocBookFile): XML conformant declaration of CDATA section,
1135 fixed bug related to <emphasis> in the first paragraph char.
1136 (sgmlOpenTag): exclude empty tags.
1137 (sgmlCloseTag): ditto.
1139 * buffer.h (pop_tag): removed.
1140 (push_tag): removed.
1142 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1144 * language.h (Languages): added size_type and size().
1146 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1148 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
1149 response on compability reading of minipages. One probliem is that
1150 the old usage of minipages was «flertydig»
1152 * several files here and in subdirs: don't use static at file
1153 scope use anon namespaces instead.
1155 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
1157 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
1158 LaTeX output. This is necessary for Literate document
1161 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1163 * buffer.C: insert hfill when needed.
1165 * tabular.C (l_getline): use string::erase, small whitespace change.
1167 * BufferView_pimpl.C: try the anon namespace.
1170 2001-03-16 Juergen Vigna <jug@sad.it>
1172 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
1173 otherwise it won't open options-dialogs.
1175 * buffer.C: honor pextraWidth(p) on converting minipages.
1177 * tabular.C (l_getline): changed the functions to strip trailing \r.
1179 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1181 * BufferView_pimpl.C:
1182 * minibuffer..C: added "using SigC::slot" declaration.
1184 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1186 * lyxlex_pimpl.h: noncopyable is in namespace boost.
1192 * paragraph.C: ditto
1194 * lyxtext.h: NO_PEXTRA
1196 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
1198 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
1199 * ParameterStruct.h: ditto
1200 * ParagraphParameters.h: ditto
1201 * lyxparagraph.h: ditto
1203 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1205 * buffer.C: add compability for minipage alignment.
1206 (latexParagraphs): remove unwanted pextra check.
1208 * several files: remove CXX_WORKING_NAMESPACES
1210 * buffer.C (pop_tag): tie is in namespace boost
1212 * BufferView.h: noncopyable is in namespace boost
1217 * lastfiles.h: ditto
1218 * bufferlist.h: ditto
1219 * ShareContainer.h: ditto
1221 * LyXAction.h: ditto
1224 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1226 * Merging changes from BRANCH_MVC back into HEAD.
1228 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
1230 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
1232 * BufferView_pimpl.C: change from intl.C
1236 * Makefile.am: move combox.*
1242 * intl.C: remove dialog (covered by prefs)
1244 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1246 * lyxfunc.C (Dispatch): removed redundant break statement.
1248 2001-03-14 Juergen Vigna <jug@sad.it>
1250 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
1252 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1254 * buffer.C: add hack to fix compability reading of minipages.
1256 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
1258 * buffer.C (getLists): Cleanup.
1260 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1262 * lyxfont.C (update): don't honor toggleall on font size.
1264 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
1268 * Makefile.am: moved to frontends/xforms/
1272 * BufferView_pimpl.C: changes for moved mathpanel
1274 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1276 * gettext.h: fix gettext_init() in --disable-nls
1278 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1280 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
1282 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
1285 * lyx.h: strip external form
1287 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1289 * BufferView_pimpl.C: add comment, destroySplash()
1291 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1293 * BufferView_pimpl.C:
1297 * lyxfunc.C: use re-worked insetinclude
1299 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1301 * buffer.C: add using std::stringstream.
1303 * lyx_cb.C: readd using std::ios.
1305 * buffer.C: add using std::map.
1307 * BufferView_pimpl.C: add using std::vector.
1309 * ShareContainer.h: add std:: to swap.
1311 * buffer.h: add some typedefs
1312 * buffer.C (getLists): use them
1313 (getLists): renamed from getTocList.
1314 add a counter for the different float types and use it in the
1316 (getLists): use the same counter for the NEW_INSETS and the "non"
1319 * lyx_cb.h: remove unused items, includes, using etc.
1321 * ShareContainer.h: remove some commented code, add more comments
1322 and "documentation".
1324 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1326 * buffer.C (getTocList): make the list also when NEW_INSETS is
1329 * buffer.h: remove TocType
1331 * buffer.C (getTocList): change to return a map<string,
1332 vector<TocItem> >, implement for dynamic number of list.
1334 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
1335 * text2.C (PasteSelection): adjust
1336 * CutAndPaste.C (pasteSelection): adjust
1338 * FloatList.C (FloatList): update from the new_insets branch.
1339 * Floating.[Ch]: ditto
1340 * LaTeXFeatures.C: ditto
1342 * lyxlex_pimpl.C: ditto
1344 * paragraph.C (Last): remove when NEW_INSETS is defined.
1346 * other file: changes because of the above.
1348 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1350 * lyxparagraph.h: rename next to next_, previous to previous_,
1351 make them private for NEW_INSETS. Rename Next() to next(),
1352 Previous() to previous().
1354 * other files: changes because of the above.
1356 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
1359 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
1362 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1364 * main.C (main): pass lyx_localedir to gettext_init().
1366 * gettext.h: remove locale_init and gettext_init macros
1368 * gettext.C (locale_init): new function
1369 (gettext_init): new function
1371 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
1374 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
1376 * Moved credits to frontends:
1377 * credits.[Ch]: removed
1378 * credits_form.[Ch]: removed
1379 * lyx_gui_misc.C: remove credits stuff
1382 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1384 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
1386 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
1387 unneeded destructor.
1389 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
1390 a standalone pointer again.
1392 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
1394 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
1400 * ToolbarDefaults.C:
1409 * BufferView_pimpl.C: use new file dialog in GUII
1412 * lyx_cb.C: remove LayoutsCB to Toolbar
1414 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1416 * ShareContainer.h (get): add std:: qualifier
1418 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1420 * ShareContainer.h: define a proper ShareContainer::value_type
1421 type (and use typename to please compaq cxx)
1423 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1425 * lyxparagraph.h: move serveral local vars to
1426 ParameterStruct/ParagraphParameters., use ShareContainer in
1427 FontTable., make vars in FontTable private and add getter and
1430 * paragraph.C: changes because of the above.
1432 * lyxfont.h: remove copy constructor and copy assignment. (the
1433 default ones is ok), move number inside FontBits. move inlines to
1436 * lyxfont.C: add number to initializaton of statics, move several
1437 inlines here. constify several local vars. some whitespace
1438 cleanup. Dont hide outerscope variables.
1440 * Spacing.h: add two new constructors to match the set methods.
1442 * ShareContainer.h: new file, will perhaps be moved to support
1444 * ParameterStruct.h: new file
1446 * ParagraphParameters.h: new file
1448 * ParagraphParameters.C: new file
1450 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
1451 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
1453 * BufferView_pimpl.C: ParagraphParameter changes.
1454 * buffer.C: Likewise.
1455 * bufferview_funcs.C: Likewise.
1457 * text2.C: Likewise.
1459 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1461 * lyxfind.C (LyXReplace): do not redefine default argument in
1463 (IsStringInText): ditto
1464 (SearchForward): ditto
1465 (SearchBackward): ditto
1467 2001-03-06 Juergen Vigna <jug@sad.it>
1469 * lyxfind.C (IsStringInText): put parentes around expressions.
1471 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
1473 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
1475 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
1477 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
1479 * stl_string_fwd.h: add comment
1481 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
1484 * tabular.C: remove unused DocBook methods
1490 killed DO_USE_DEFAULT_LANGUAGE
1492 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1494 * lyx_gui.C: do not include language.h.
1496 * bufferview_funcs.C (ToggleAndShow): do not provide optional
1497 arguments in function implementation.
1499 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1501 * BufferView_pimpl.C: add <ctime>
1503 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1505 * BufferView_pimpl.C: add using std::find_if
1507 2001-02-27 José Matos <jamatos@fep.up.pt>
1509 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
1512 2001-02-11 José Matos <jamatos@fep.up.pt>
1514 * buffer.C (makeDocBookFile): command styles now have a parameter as
1517 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
1519 * layout_forms.[Ch]: removed
1520 * lyx_cb.[Ch]: out character
1521 * lyx_gui.C: out character
1522 * lyx_gui_misc.C: out character
1523 * bufferview_funcs.C: : out character,
1524 added toggleall as parameter in ToggleAndShow
1526 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
1528 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
1530 * text2.C (SetCurrentFont): Disable number property at boundary.
1532 2001-02-26 Juergen Vigna <jug@sad.it>
1534 * lyxfunc.C (getStatus): added a string argument override function so
1535 that this is correctly called from LyXFunc::Dispatch if it contains a
1536 do_not_use_argument which is used!
1537 (Dispatch): added check for "custom" export and call appropriate func.
1539 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
1541 * lyxrc.C: Add language_command_local, language_use_babel and
1542 language_global_options.
1544 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
1546 * buffer.C (makeLaTeXFile): Use language_use_babel and
1547 language_global_options.
1549 2001-02-23 Juergen Vigna <jug@sad.it>
1551 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
1552 which works with LyXText and putted it inside BufferView. Here now we
1553 only call for that part the BufferView::Dispatch() function.
1555 * BufferView.C (Dispatch): added.
1557 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
1558 functions which needs to use a LyXText over from LyXFunc.
1559 (MenuInsertLyXFile): added
1560 (getInsetByCode): added
1561 (moveCursorUpdate): added
1562 (static TEXT): added
1564 2001-02-22 Juergen Vigna <jug@sad.it>
1566 * BufferView_pimpl.C (update): call a status update to see if LyXText
1569 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1571 * vc-backend.C (revert): implement for CVS
1572 (getLog): implement for CVS
1574 2001-02-20 Juergen Vigna <jug@sad.it>
1576 * text2.C (ClearSelection): added BufferView param for inset_owner call
1578 * lyxfunc.C (TEXT): added this function and use it instead of
1579 directly owner->view()-text of getLyXText().
1581 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
1583 * src/layout_forms.C: out preamble
1584 * src/layout_forms.h: out preamble
1585 * src/lyx_cb.C: out preamble
1586 * src/lyx_cb.h: out preamble
1587 * src/lyx_gui.C: out preamble
1588 * src/lyx_gui_misc.C: out preamble
1589 * src/lyxfunc.C: connect with guii preamble
1591 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1593 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
1595 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
1597 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
1598 whether to run bibtex.
1600 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
1602 * Makefile.am (lyx_SOURCES): Remove BackStack.h
1604 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1606 * Makefile.am (lyx_SOURCES): removed bibforms.h
1610 * text.C (GetVisibleRow): make several local vars const
1612 * tabular.C: small cleanup.
1614 * lyxserver.C (callback): use compare instead of strncmp
1616 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
1617 inlines to after class or to paragraph.C
1619 * lyxfont.h: remove friend operator!=
1621 * converter.h: move friend bool operator< to non friend and after
1624 * combox.h: small cleanup
1626 * buffer.h: doxygen, remove unused constructor, move inclas inlies
1627 to inlines after class def.
1629 * buffer.C (pop_tag): use string operations instead of strcmp
1631 * bmtable.c: doxygen, small cleanup
1633 * LaTeX.h: remove friend operator==
1635 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1647 * BufferView_pimpl.C:
1648 * BufferView.[Ch]: remove cruft
1650 2001-02-14 Juergen Vigna <jug@sad.it>
1652 * lyxfunc.C: removed #if 0 unused code
1654 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
1656 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
1658 * text2.C (SetSelection): added a BufferView * parameter
1660 2001-02-13 Juergen Vigna <jug@sad.it>
1662 * lyxfunc.C (Dispatch): fixed protected blank problem.
1663 * BufferView2.C (protectedBlank): added LyxText * parameter.
1665 * tabular.C (AppendRow): forgot to set row_info of newly added row.
1666 (AppendColumn): same as above for column_info.
1668 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
1669 (moveCursorUpdate): use a LyXText param for support of InsetText.
1671 * BufferView_pimpl.C (doubleClick): added support for InsetText.
1672 (tripleClick): ditto
1674 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
1676 * BufferView_pimpl.C (update): added LyXText param to honor insets.
1678 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
1680 * text2.C (SetSelection): set correct update status if inset_owner
1683 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1685 * tabular.C: remove some commented code.
1687 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1689 * BufferView_pimpl.C: call hideSplash()
1691 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
1694 * bibforms.h: remove
1697 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
1698 add LFUN_CHILD_CREATE
1700 * counters.h: fix tiny typo
1705 * lyx.C: move splash to frontends/xforms/
1707 * lyx_gui_misc.C: move Include and Bibform to frontends
1709 * lyxvc.h: clarify comment
1711 * vspace.C: tiny housekeeping
1713 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1715 * text.C (PrepareToPrint): RTL Fix.
1717 * paragraph.C (GetUChar): New method.
1718 (String): Use GetUChar.
1720 * buffer.C (asciiParagraph): Use GetUChar.
1722 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1724 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
1726 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
1729 * buffer.C: rename to getLogName(), handle
1730 build log / latex log nicely
1732 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1735 * MenuBackend.h: remove support for reference menuitem type.
1737 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
1739 * BufferView_pimpl.C: housekeeping
1740 * BufferView_pimpl.h:
1745 * minibuffer.h: move Timeout GUI-I
1747 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
1749 * lyxrc.C (read): Update converters data-structures.
1751 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
1753 * LaTeX.h (operator!=): add operator != for Aux_Info
1755 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
1757 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
1759 * LaTeXLog.C: deleted, useful code moved to Buffer
1762 * buffer.C: new function getLatexLogName()
1768 * lyxfunc.C: use frontends for LaTeX and VC logs
1770 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1772 * LaTeX.h: yet another std:: that Allan forgot.
1774 * Variables.C (set): renamed from isset(), because this clashes
1775 with some HP-UX macros (grr).
1777 2001-02-06 Allan Rae <rae@lyx.org>
1779 * LaTeX.h: Another bug fix. Missing std:: this time.
1781 2001-02-04 Allan Rae <rae@lyx.org>
1783 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
1784 floats problem. I've left it commented out because it's not quite
1785 correct. It should also test that the current object is a table or
1786 figure inset. But I haven't gotten around to figuring out how to do
1787 that. I *think* it'll be something like: "table" == inset.type()
1789 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
1792 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1794 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
1795 all the citation/databases/styles in the auxilary file.
1796 (run): Rerun latex if there was a babel language error.
1798 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
1800 * text.C (Backspace): Preserve the font when changing newline char
1802 (BreakParagraph): If the cursor is before a space, delete the space.
1804 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
1806 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1808 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
1809 new argument (code).
1810 (ChangeCitationsIfUnique): New method.
1812 * paragraph.C (GetPositionOfInset): Handle bibkey.
1814 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1816 * BufferView_pimpl.h: change type of Position::par_pos to
1817 LyXParagraph::size_type.
1819 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
1821 * BufferView_pimpl.C (savePosition, restorePosition): Write
1822 messages to minibuffer.
1824 2001-01-28 José Matos <jamatos@fep.up.pt>
1826 * buffer.C (makeDocBookFile): adds support for document language.
1827 A silly restriction on the name of LatexCommand types where removed.
1828 Added support for CDATA sections, allows to chars unescaped, used
1829 among others in code, to avoid escape < and >.
1831 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1833 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
1834 saved positions instrad of a stack. Furthermore, a position is
1835 stored using paragraph id/paragraph position.
1837 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
1838 Remove LFUN_REF_BACK.
1840 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1842 * converter.C (dvipdfm_options): New method.
1844 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1846 * vspace.C (isValidLength): Fix for empty input string.
1848 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1850 * LyXAction.C (init): change description of LFUN_FIGURE to
1853 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1855 * LaTeX.C: add using directive
1857 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1859 * MenuBackend.C (expand): Fix the sorting of the formats.
1861 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
1863 * lyx_main.C: tiny error message fix
1865 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1867 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
1868 calling fl_initialize(). This fixes the problem with ',' as
1869 decimal separator in text files.
1871 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1873 * trans.C (process): Fix the keymap bug.
1875 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1877 * LaTeX.C (scanAuxFiles): New method. Provides support for
1878 multiple bibliographies (when using the bibtopic/bibunits pacakges).
1879 (scanLogFile) Scan for "run BibTeX" messages.
1881 * buffer.C (makeLaTeXFile): Do not load the ae package when using
1882 OT1 font encoding. Also, load the aecompl package if the ae
1885 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
1887 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1889 * texrow.C (increasePos): turn two error messages into debug
1892 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1894 * LaTeX.C (scanAux): Handle the \@input macro.
1895 (runBibTeX): Use scanAux().
1897 * language.C (latex_options_): New field.
1899 * LaTeXFeatures.C (getMacros): Add language macros.
1901 * buffer.C (makeLaTeXFile): Small fix.
1903 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1905 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
1907 * text2.C: add a using directive.
1909 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
1914 * lyxfunc.C: kill LyXBell.
1916 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
1918 * text.C (IsBoundary): Remove the error message
1920 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
1922 * lyxrc.C (setDefaults): Correct initialization value for
1925 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1927 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
1930 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
1933 * src/LyXAction.C: Added reference-next.
1935 * text.C (InsertChar): Use contains instead of strchr.
1937 * lyx_cb.C (MenuInsertLabel): Enable default value code.
1939 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
1941 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
1942 alignment commands (when needed).
1944 * text.C (InsertChar): Add ':' to number separator chars.