1 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
5 * text2.C (LyXText): use initialization lists.
7 * lyxtext.h (Selection): initialize set_ and mark_
10 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16 * screen.[Ch]: change method names to begin with lowercase
18 * BufferView_pimpl.C (updateScrollbar): simplify further and
19 hopefully make it a bit faster.
21 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
23 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
24 calling directly xforms functions.
26 * Painter.C (Painter):
27 * lyx_cb.C (MenuWrite):
28 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
31 * lyx_gui.C: remove bogus guiruntime extern declaration.
33 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
35 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
37 (redoDrawingOfParagraph): ditto
38 (redoParagraphs): ditto
39 (cutSelection): don't create a object for CutAndPaste use the
40 static method directly
41 (pasteSelection): ditto
43 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
46 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
48 * modifications to some other files because of this.
50 * Makefile.am (lyx_SOURCES): add XFormsView
52 * XFormsView.[Ch]: new files
54 * LyXView.[Ch]: make LyXView a base class for the gui handling for
55 the main window. Move the gui dependent stuff to XFormsView
57 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
59 * tabular.C (GetCellInset): update cur_cell also in the row/col
60 version of this function.
62 * lyxfunc.C: no need to include figure_form.h here.
68 * lyxvc.C: no need to include forms.h here.
70 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
72 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
74 * lyxfunc.C (Dispatch):
76 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
79 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
81 * paragraph.C (Paragraph): dont't clear, and just set layout.
82 (makeSameLayout): use params's copy contructor.
84 * ParagraphParameters.[Ch] (makeSame): delete method
86 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
88 * Variables.[Ch]: fix indentation, rename set to isSet
90 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
92 * lyxfunc.C (Dispatch): fix typo
94 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
96 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
99 * bufferlist.C: include assert.h for emergencyWrite().
101 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
103 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
104 give up at last (bug #425202) !
106 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
112 * spellchecker.C: strip spellchecker options and bring up
113 preferences tab instead
115 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
117 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
118 the istringstream constructor
120 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
122 * paragraph.C (getLayout): fix return value
124 * paragraph.h: do not declare getLayout as inline.
126 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
128 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
130 * lyxcursor.h (operator<): new func
131 (operator>): new func
132 (operator>=): new func
133 (operator<=): new func
135 * text.C (changeCase): use selection.start and selection.end
136 (changeRegionCase): require from to be <= to. Require par to be a
139 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
141 2001-06-27 Juergen Vigna <jug@sad.it>
143 * text.C (cursorLeftOneWord): changed to return the cursor and added
144 overlay with BufferView * parameter which calls this one.
146 (selectWord): use new getWord function.
147 (changeCase): renamed from changeWordCase as and extended to work
150 * lyxtext.h: added enum word_location
152 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
153 changeCase as this operates now also on selections.
155 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
157 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
159 * many files: send debug output to Debug::INFO instead of
162 * converter.C (View):
164 (Move): send debug output to Debug::FILES instead of console.
166 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
168 * lyxfunc.C (getStatus): use func_status
170 * func_status.h: new header, describing the results of
173 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
176 2001-06-25 The LyX Project <jug@sad.it>
178 * buffer.C (sgmlOpenTag):
180 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
182 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
184 * text2.C: remove some dead code
186 * tabular.C (GetCellInset): store the last cell checked (gotten)
188 * tabular.h: add the helper for the speedup
190 * lyxtext.h: remove some dead code
192 2001-06-26 The LyX Project <Asger>
194 * paragraph.C: Change export to LaTeX of alignment to
195 \begin{center} and family for better roundtrip work with reLyX.
197 * Tune the math drawing a bit.
199 2001-06-25 The LyX Project <Asger>
201 * LColor.C (LColor): New color for math background. New color
204 2001-06-25 The LyX Project <jug@sad.it>
206 * lyxfunc.C (MenuNew): remove extra check for .lyx file
209 * bufferlist.C (newFile): do not restrict to files ending with
212 * BufferView_pimpl.C (MenuInsertLyXFile):
214 2001-06-24 The LyX Project <jug@sad.it>
216 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
219 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
221 * lyxtext.h: rename most methods to begin with a small char.
222 Lots of changes because of this.
224 * paragraph.C (Paragraph): do not call fitToSize
225 (erase): call Pimpl::erase
226 (insertChar): call Pimpl::insertChar
227 (insertInset): call Pipl::insertInset
228 (breakParagraph): do not call fitToSize
229 (breakParagraphConservative): do not call fitToSize
230 (fitToSize): remove method
232 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
234 2001-06-24 The LyX Project <Asger>
236 * Fix Qt compilation^2
238 2001-06-24 The LyX Project <jug@sad.it>
240 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
241 depthHook(getDepth()-1).
244 * ParagraphParameters.h:
245 * ParameterStruct.h: change type of depth to unsigned int ==
246 depth_type. Many adaptations to other files before of that.
248 2001-06-24 The LyX Project <Asger>
250 * Fix Qt compilation.
252 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
254 * paragraph.h: renamed several methods to begin with small letter.
255 several changes to many parts of the code because of this.
257 2001-06-23 The LyX Project <jug@sad.it>
259 * text2.C (InsertStringAsLines): renamed from InsertStringA;
260 rewritten to discard all double spaces when KeepEmpty is off
261 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
262 to only handle newlines but not fiddle with spaces and friends.
264 * lyxfunc.C (MenuNew): when doing 'new from template', use
265 template_path as default directory
267 2001-06-23 The LyX Project <Asger>
269 * Clean-up of header file includes all over
270 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
272 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
274 * paragraph.h: renamed from lyxparagraph.h
276 2001-06-23 Asger <lyx@violet.home.sad.it>
278 * Buffer.h: Removed Buffer::resize
279 * BufferList.h: Removed BufferList::resize
280 * LyXView.h: Added LyXView::resize. This way, we will only reflow
281 the document lazily when we change the width, or the font settings.
283 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
285 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
287 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
289 * buffer.h: remove out of date comment
291 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
294 * screen.C: fix "theoretical" GC leak
296 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
298 * LaTeX.C (scanAuxFile):
299 (deplog): remove trailing \r when reading stream (useful under
302 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
304 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
305 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
306 and BufferView::theLockingInset(Inset*), so should use them and not
307 access bv_->text->the_locking_inset directly.
309 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
311 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
314 * tex-defs.h: remove old unused file
316 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
318 * BufferView_pimpl.C: fix typo, remove minibuffer message
319 when buffer has loaded
321 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
323 * lyxfunc.C (Dispatch): use stringstream
324 (MenuNew): use stringstream
325 (Open): use stringstream
327 * importer.C (Import): use stringstream
329 * bufferview_funcs.C (CurrentState): use stringstream
331 * LaTeX.C (run): use stringstream
333 * BufferView_pimpl.C (savePosition): use stringstream
334 (restorePosition): use stringstream
335 (MenuInsertLyXFile): use stringstream
337 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
350 * vspace.C: removed // -*- C++ -*- as first line.
353 * version.h: added // -*- C++ -*- as first line.
355 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
357 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
359 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
362 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
364 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
367 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
369 * gettext.C: include LString.h even when --disable-nls is on.
371 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
373 * converter.h (Get): changed argument type from int to
374 FormatList::size_type to avoid unnecessary conversion.
376 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
379 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
381 * gettext.h: include LString.h even when --disable-nls is on.
383 2001-06-07 Juergen Vigna <jug@sad.it>
385 * text.C (BreakAgain): subst spaces with tabs.
387 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
388 (resizeInsetsLyXText): set force on resizeLyXText.
390 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
392 * gettext.h (gettext_init):
393 (locale_init): use a real definition instead of a macro
395 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
397 * Bufferview_pimpl.C:
399 * LColor.C: further lcolor tidies
401 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
403 * BufferView_pimpl.C (updateScrollbar): simplify.
405 * BufferView2.C: don't include insets/insetinfo.h, change
406 prototype for insertInset and call the Pimpl version. let
407 updateInset call Pimpl version.
409 * BufferView.h: move inset_slept to BufferView::Pimpl, move
410 gotoInset to BufferView::Pimpl
412 2001-06-01 Juergen Vigna <jug@sad.it>
414 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
415 inside a LockingInset (is the update needed at all?).
417 2001-05-31 Juergen Vigna <jug@sad.it>
419 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
420 here not the old one otherwise how should we compare it afterwards
423 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
428 * FontInfo.C: bring C functions into global namespace when
431 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
433 * LString.h: make sure config.h has been loaded before LString.h.
435 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
436 (one for each char read by EatLine!).
438 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
441 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
443 * paragraph.C (BreakParagraph): set the inset_owner in the new par
444 to the same as the par we break from
446 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
448 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
450 * MenuBackend.C (expand): also create menu entries for wide
451 versions of the floats.
453 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
455 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
457 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
458 frontends/Makefile.am
464 * tabular.C (getTokenValue): add std::
466 * tabular-old.C (getTokenValue): add std::
467 (getTokenValue): ditto
468 (getTokenValue): ditto
470 * screen.C (ToggleSelection): adjust
472 * lyxtext.h: put selection cursors inside a Selection struct.
474 * lyxfunc.C (moveCursorUpdate): adjust
476 * lyxfont.C (latexWriteStartChanges): add std::
480 * font.h: delete with(char const *, LyXFont const &)
482 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
484 * FontInfo.C (getFontname): add std::
486 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
487 (workAreaButtonPress): adjust
488 (tripleClick): adjust
490 (moveCursorUpdate): adjust
493 * BufferView2.C (gotoInset): adjust
495 2001-05-30 Juergen Vigna <jug@sad.it>
497 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
498 to check pspell I add this as default as I now have new pspell
499 libraries and they seem to use this.
501 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
503 * text2.C (CutSelection): make the cursor valid before the call to
506 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
508 * kbsequence.C (parse): de-uglify a bit the parsing code, which
509 relied on 0 terminated strings and other horrors. Bug found due to
510 the new assert in lyxstring!
512 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
515 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
517 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
520 * lyxfunc.C (processKeySym): change method of getting to the
523 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
524 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
525 * BufferView_pimpl.[Ch]: here as private methods.
527 2001-05-28 Juergen Vigna <jug@sad.it>
529 * text.C (SetHeightOfRow): added the update() call again as it is
530 needed to initialize inset dimensions!
532 2001-05-16 Juergen Vigna <jug@sad.it>
534 * text2.C (SetCharFont): Add new function with BufferView * and
535 bool toggleall parameters for setting insets internal fonts.
536 (SetFont): Freeze the undo as we may change fonts in Insets and
537 all this change should be inside only one Undo!
539 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
540 setting font's in insets as for them we have the SetFont function!
542 2001-05-15 Juergen Vigna <jug@sad.it>
544 * text2.C (ClearSelection): to be sure we REALLY don't have any
547 * tabular.C (TeXCellPreamble): fixed the left border problem for
550 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
552 * LaTeX.C (deplog): Make sure that the main .tex file is in the
555 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
557 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
560 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
561 help test to "internal only", similar for LFUN_INSERT_URL
563 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
564 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
565 auto_region_delete and deadkeys.
567 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
570 * LColor.C: remove some dead entries, tidy a little
572 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
574 * lyxfunc.C (processKeySym): comment the Escape handling, remove
576 (Dispatch): implement LFUN_ESCAPE
578 * commandtags.h: add LFUN_ESCAPE
580 * LyXAction.C (init): add entry for LFUN_ESCAPE
582 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
583 Remove commented code.
584 (insertNote): moved here
585 (open_new_inset): moved here
587 * BufferView[2].[Ch]: move insertNote and open_new_inset to
590 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
592 * kbmap.C (findbinding): clean it up and make it work correctly.
594 * lyx_main.C (init): do not pass argc and argv as parameters
596 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
598 * buffer.C: fix path for OS/2 & Win32
602 * lyx_main.C: Added os:: class.
604 * os2_defines.h: update
606 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
608 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
609 better by trying again with reduced state.
611 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
613 * lyxrc.C (read): print error about invalid key sequence only when
614 debugging (because not all latinX keysyms are known to some X
617 * kbsequence.C (getiso): add a few std:: qualifiers
618 (getiso): comment out extra return statement.
620 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
622 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
624 (Dispatch): enhance the accent inset a bit. (not perfect)
626 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
628 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
630 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
632 * bufferlist.C (emergencyWrite): fix assert() call
634 2001-05-04 Kayvan A. Sylvan <kayvan@camel.internal.sylvan.com>
636 * text.C (InsertChar): Added trivial patch to only send the "you
637 can not do multiple spaces this way" message once during a
640 2001-05-08 Baruch Even <baruch@lyx.org>
642 * Makefile.am: Changed order of libraries to get LyX to link properly
643 with the gnome frontend.
645 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
647 * LaTeXFeatures.h: add a std:: qualifier
649 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
651 * paragraph.C (String): use stringstream
653 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
655 * paragraph.C (writeFile): remove footflag arg
657 * buffer.C (makeLaTeXFile): use stringstream
658 (latexParagraphs): remove footnot gurba
660 * LaTeXFeatures.C (getPackages): use stringstream
661 (getMacros): likewise
662 (getTClassPreamble): likewise
663 (getFloatDefinitions): new method
665 * paragraph.C (writeFile): reindent
668 * WorkArea.h: revert the xpos + etc changes.
670 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
672 * lyxparagraph.[Ch]: add copy constructor, remove Clone
674 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
675 (pasteSelection): likewise
676 * text2.C (CreateUndo): likewise
678 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
680 * minibuffer.C (peek_event): temporarily reduce the functionality
681 of the minibuffer (to allow args on lfuns)
683 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
684 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
686 * buffer.C (readInset): add compability reading of old float
687 lists, add reading of new style float list.
688 (readInset): avoid reevaluation of inscmd.getCmdName()
691 * MenuBackend.C (MenuItem): implement parsing of
692 md_floatlistinsert and md_floatinsert.
693 (expand::LastFiles): move initalizaton of iterators out of loop,
695 (expand::Documents): introduce typdedef vector<string> Strings,
697 (expand::ExportFormats): introduce typedef vector<Format const *>
699 (expand): implement FloatListInsert and FloatInsert.
701 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
702 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
703 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
705 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
707 (Dispatch::LFUN_FLOAT_LIST): implement
709 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
711 * LaTeX.C (run): Fix problem with --export code.
713 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
715 * BufferView.[Ch] (workarea): removed.
716 (getClipboard) new method; wrapper for workarea()->getClipboard()
718 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
721 * WorkArea.h (width, height, xpos, ypos): These methods all
722 returned the dimensions of the work_area sub-area of WorkArea,
723 resulting in a position error if the WorkArea were resized. Now
724 return the dimensions of the entire WorkArea.
726 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
728 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
730 * LaTeX.C (deplog): correct the syntax of regex reg1
732 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
734 * undo.C: remove !NEW_INSETS cruft
736 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
738 * text2.C: remove !NEW_INSETS cruft
740 * text.C: remove !NEW_INSETS cruft
742 * tabular.C: remove !NEW_INSETS cruft
744 * spellchecker.C: remove !NEW_INSETS cruft
746 * lyxtext.h: remove !NEW_INSETS cruft
748 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
750 * lyxfunc.C: remove !NEW_INSETS cruft
752 * lyxfind.C: remove !NEW_INSETS cruft
754 * lyx_cb.C: remove !NEW_INSETS cruft
756 * figureForm.C: remove !NEW_INSETS cruft
758 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
760 * buffer.[Ch]: remove !NEW_INSETS cruft
762 * ToolbarDefaults.C: remove !NEW_INSETS cruft
764 * CutAndPaste.C: remove !NEW_INSETS cruft
766 * BufferView_pimpl.C: remove !NEW_INSETS cruft
768 * BufferView2.C: remove !NEW_INSETS cruft
770 * BufferView.h: remove !NEW_INSETS cruft
772 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
774 * Lsstream.h: include LString.h before the sstream headers to
775 fix problem with gcc 2.95.3 and lyxstring
777 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
779 * lyx_main.C: add using directives when needed for C functions
780 declared in std:: namespace.
782 2001-04-27 Juergen Vigna <jug@sad.it>
784 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
785 (SetHeightOfRow): comment out the update call should not be needed!
787 2001-04-13 Juergen Vigna <jug@sad.it>
789 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
790 (LyXTabular): tried to minimize operator= operations (and realized
793 2001-04-27 Juergen Vigna <jug@sad.it>
795 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
797 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
799 * lyxfunc.C (Dispatch): hack to make listof algorithm work
801 * buffer.C (readInset): hack to make listof algorithm work
803 * BufferView_pimpl.C: hack to make listof algorithm work
805 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
807 * LyXAction.C: removed all !NEW_INSETS cruft
808 (init): moved lfun_item in method
810 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
812 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
814 * BufferView2.C (theLockingInset): white space.
816 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
818 * minibuffer.C: include <iostream>
820 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
822 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
824 * commandtags.h: add LFUN_TRANSPOSE_CHARS
826 * text.[Ch] (TransposeChars): new method
828 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
830 * call message directly through LyXView instead of through LyXFunc
831 * BufferView2.C: adjust
832 * BufferView_pimpl.C: adjust
833 * FontLoader.C: adjust
835 * bufferview_funcs.C: adjust
836 * converter.C: adjust
837 * figureForm.C: adjust
840 * lyx_gui_misc.C: adjust
844 + more files in subdirs
846 * lyxparagraph.h (size): move up int file
849 * adjust all uses of Assert to lyx::Assert.
851 * BufferView2.C (ChangeCitationsIfUnique): adjust for
852 lyxfunctional in namespace lyx
853 * layout.C (hasLayout): ditto
856 (delete_layout): ditto
857 (NumberOfClass): ditto
858 * converter.C (GetFormat): ditto
863 * bufferlist.C (getFileNames): ditto
864 (emergencyWriteAll): ditto
867 * MenuBackend.C (hasSubmenu): ditto
870 * BufferView_pimpl.C (getInsetByCode): ditto
872 2001-04-18 Juergen Vigna <jug@sad.it>
874 * vspace.C (asLatexString): fixed the 100% problem.
876 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
878 * lyxfunc.C (Dispatch):
880 * minibuffer.h: add a few std:: qualifiers
882 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
884 * minibuffer.[Ch]: reimplement so that commands is initiated and
885 run from lyxfunc, simplified som handling, and made the completion
886 and history code for complete. wip.
888 * lyxfunc.C (processKeySym): call message
889 (miniDispatch): new temporary method
890 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
891 (LFUN_MESSAGE): implement
892 (LFUN_MESSAGE_PUSH): implement
893 (LFUN_MESSAGE_POP): implement
894 (initMiniBuffer): the initial/defualt minibuffer message.
896 * lyxfont.[Ch]: inline some more getters
898 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
900 * lyx_gui_misc.[Ch] (WriteStatus): remove method
902 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
903 (AutoSave): use LFUN_MESSAGE
906 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
908 * figureForm.C: use LFUN_MESSAGE
910 * converter.C (runLaTeX): use LFUN_MESSAGE
912 * bufferview_funcs.C: use LFUN_MESSAGE
916 * bufferparams.h: use boost::
918 * bufferlist.h: inherit privately from noncopyable
920 * bufferlist.C (loadLyXFile): remove some commented code.
922 * buffer.C (runChktex): use LFUN_MESSAGE
924 * ShareContainer.h: inherit privately from noncopyable
926 * ParagraphParameters.[hC] (depth): inline it.
928 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
930 (message): new method
933 (show): init minibuffer
934 (showState): direct call
936 * LaTeX.[Ch]: inherit privately from noncopyable
937 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
938 instead of WriteStatus.
940 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
942 * BufferView_pimpl.C (buffer): don't init minibuffer
943 (workAreaButtonPress): use LFUN_MESSAGE
944 (workAreaButtonRelease): ditto
945 (savePosition): ditto
946 (restorePosition): ditto
947 (MenuInsertLyXFile): ditto
948 (workAreaExpose): don't init minibuffer
949 (update): remove commented code, simplify
951 * BufferView2.C (openStuff): use LFUN_MESSAGE
955 (copyEnvironment): ditto
956 (pasteEnvironment): ditto
961 (updateInset): remove some commented code
963 * lastfiles.h: inherit privately from noncopyable
968 * lyxlex_pimpl.h: ditto
970 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
971 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
972 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
974 * LyXAction.h: inherit privately from noncopyable, add methods
975 func_begin, func_end, returning iterators to the func map.
977 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
978 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
979 (func_begin): new method
980 (func_end): new method
982 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
984 (copySelection): ditto
985 (pasteSelection): ditto
987 * BufferView.C: whitespace change
988 * BufferView.h: inherit privately from noncopyable
990 2001-04-16 Allan Rae <rae@lyx.org>
992 * tabular-old.C (l_getline):
993 * spellchecker.C (sc_check_word):
994 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
995 an unrecognised preprocessor directive. So ensure they're wrapped.
997 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
999 * src/exporter.C (Export): Give an error message when path to file
1002 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
1004 * LaTeX.C (deplog): Always check that foundfile exists.
1006 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1009 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
1011 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1013 * tabular.[Ch] (getLabelList): implement new method
1015 * minibuffer.h: comment ouf setTiimer
1017 * minibuffer.C (ExecutingCB): constify res
1018 (peek_event): constify s
1019 (Set): constify ntext
1020 (Init): constify nicename
1022 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
1024 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
1025 (savePosition): use two params to Minibuffer::Set
1026 (restorePosition): ditto
1028 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1030 * lyx_main.C: include language.h
1032 * Makefile.am (lyx_main.o): add language.h
1034 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1040 * CutAndPaste.C: include gettext.h
1042 * lyxfont.h: remove old hack with ON and OFF.
1045 * lyxfont.h: do not include language.h...
1050 * bufferview_funcs.C:
1056 * paragraph.C: ... but do it here instead
1058 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1060 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
1062 * tabular.C: small reformat
1064 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
1067 (BreakParagraph): ditto
1068 (SetOnlyLayout): ditto
1071 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
1074 * lastfiles.C: removed most using decl, add std:: where needed
1076 * buffer.C: ws changes
1078 * MenuBackend.C (class compare_format): put into anon namespace
1079 (expand): constify label, names, action, action2
1082 * text.C (SingleWidth): constify font
1083 (IsBoundary): constify rtl2
1084 (GetVisibleRow): constify ww
1086 * LaTeX.C (deplog): constify logfile
1088 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
1090 (workAreaExpose): constify widthChange, heightChange
1092 * lyxrow.C (par): moved
1095 * lyxrow.h: as inlines here
1097 * lyxfont.h (shape): moved from lyxfont.C
1098 (emph): moved from lyxfont.C
1100 * lyxfont.C (LyXFont): use initialization list for all
1102 (shape): move to lyxfont.h as inline
1103 (emph): move to lyxfont.h as inline
1106 2001-04-04 Juergen Vigna <jug@sad.it>
1108 * vspace.C: had to include stdio.h for use of sscanf
1110 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
1113 * BufferView_pimpl.h: remove xforms cruft. Both classes are
1114 independent of xforms.
1116 2001-04-02 Juergen Vigna <jug@sad.it>
1118 * spellchecker.C: fixed namespace placing!
1120 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1122 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
1123 the LyXParagraph * is 0.
1125 2001-03-29 Juergen Vigna <jug@sad.it>
1127 * vspace.C: added support for %, c%, p%, l%.
1128 (stringFromUnit): added helper function.
1129 (asLatexString): changed to give right results for the %-values.
1131 * buffer.C: convert the widthp in a width%.
1133 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1135 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
1138 * figureForm.[Ch]: stripped the FD_from_figure manipulation
1139 code out of lux_cb.[Ch], ready for its (imminent?) removal.
1141 * lyx_cb.[Ch]: see above.
1143 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
1147 * lyx.[Ch]: replaced by figure_form.[Ch].
1151 * lyxfunc.C: changed headers associated with above changes.
1153 2001-03-27 Juergen Vigna <jug@sad.it>
1155 * BufferView_pimpl.C: set the temporary cursor right!
1157 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1159 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
1161 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1163 * LString.h: removed "using std::getline"!
1165 * BufferView_pimpl.C (Dispatch): changes due to changes in
1166 InsetInclude::Params.
1168 * buffer.C (tag_name): removed redundant break statements as they were
1169 producing lots of warnings with my compiler.
1171 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1173 * LString.h: add "using std::getline" when using the real <string>.
1175 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
1177 * buffer.C: removed bitset usage.
1178 PAR_TAG moved to an anonymous name space.
1179 (tag_name): new funtion, also in the anonymous namespace.
1180 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
1181 (makeDocBookFile): clean code. Completed transition from string arrays
1183 (SimpleDocBookOnePar): code clean.
1185 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1187 * tabular.C: add some comments.
1189 2001-03-22 Juergen Vigna <jug@sad.it>
1191 * buffer.C (parseSingleLyXformat2Token): redone the minipage
1192 compatibility read a bit and fixed bug with minipage in different
1195 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
1197 * buffer.C (pop_tag): removed.
1198 (push_tag): removed.
1199 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
1200 array replaced with vector. Added support for CDATA sections.
1201 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
1203 (makeDocBookFile): XML conformant declaration of CDATA section,
1204 fixed bug related to <emphasis> in the first paragraph char.
1205 (sgmlOpenTag): exclude empty tags.
1206 (sgmlCloseTag): ditto.
1208 * buffer.h (pop_tag): removed.
1209 (push_tag): removed.
1211 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1213 * language.h (Languages): added size_type and size().
1215 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1217 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
1218 response on compability reading of minipages. One probliem is that
1219 the old usage of minipages was «flertydig»
1221 * several files here and in subdirs: don't use static at file
1222 scope use anon namespaces instead.
1224 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
1226 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
1227 LaTeX output. This is necessary for Literate document
1230 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1232 * buffer.C: insert hfill when needed.
1234 * tabular.C (l_getline): use string::erase, small whitespace change.
1236 * BufferView_pimpl.C: try the anon namespace.
1239 2001-03-16 Juergen Vigna <jug@sad.it>
1241 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
1242 otherwise it won't open options-dialogs.
1244 * buffer.C: honor pextraWidth(p) on converting minipages.
1246 * tabular.C (l_getline): changed the functions to strip trailing \r.
1248 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1250 * BufferView_pimpl.C:
1251 * minibuffer..C: added "using SigC::slot" declaration.
1253 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1255 * lyxlex_pimpl.h: noncopyable is in namespace boost.
1261 * paragraph.C: ditto
1263 * lyxtext.h: NO_PEXTRA
1265 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
1267 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
1268 * ParameterStruct.h: ditto
1269 * ParagraphParameters.h: ditto
1270 * lyxparagraph.h: ditto
1272 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1274 * buffer.C: add compability for minipage alignment.
1275 (latexParagraphs): remove unwanted pextra check.
1277 * several files: remove CXX_WORKING_NAMESPACES
1279 * buffer.C (pop_tag): tie is in namespace boost
1281 * BufferView.h: noncopyable is in namespace boost
1286 * lastfiles.h: ditto
1287 * bufferlist.h: ditto
1288 * ShareContainer.h: ditto
1290 * LyXAction.h: ditto
1293 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1295 * Merging changes from BRANCH_MVC back into HEAD.
1297 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
1299 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
1301 * BufferView_pimpl.C: change from intl.C
1305 * Makefile.am: move combox.*
1311 * intl.C: remove dialog (covered by prefs)
1313 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1315 * lyxfunc.C (Dispatch): removed redundant break statement.
1317 2001-03-14 Juergen Vigna <jug@sad.it>
1319 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
1321 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1323 * buffer.C: add hack to fix compability reading of minipages.
1325 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
1327 * buffer.C (getLists): Cleanup.
1329 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1331 * lyxfont.C (update): don't honor toggleall on font size.
1333 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
1337 * Makefile.am: moved to frontends/xforms/
1341 * BufferView_pimpl.C: changes for moved mathpanel
1343 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1345 * gettext.h: fix gettext_init() in --disable-nls
1347 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1349 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
1351 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
1354 * lyx.h: strip external form
1356 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1358 * BufferView_pimpl.C: add comment, destroySplash()
1360 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1362 * BufferView_pimpl.C:
1366 * lyxfunc.C: use re-worked insetinclude
1368 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1370 * buffer.C: add using std::stringstream.
1372 * lyx_cb.C: readd using std::ios.
1374 * buffer.C: add using std::map.
1376 * BufferView_pimpl.C: add using std::vector.
1378 * ShareContainer.h: add std:: to swap.
1380 * buffer.h: add some typedefs
1381 * buffer.C (getLists): use them
1382 (getLists): renamed from getTocList.
1383 add a counter for the different float types and use it in the
1385 (getLists): use the same counter for the NEW_INSETS and the "non"
1388 * lyx_cb.h: remove unused items, includes, using etc.
1390 * ShareContainer.h: remove some commented code, add more comments
1391 and "documentation".
1393 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1395 * buffer.C (getTocList): make the list also when NEW_INSETS is
1398 * buffer.h: remove TocType
1400 * buffer.C (getTocList): change to return a map<string,
1401 vector<TocItem> >, implement for dynamic number of list.
1403 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
1404 * text2.C (PasteSelection): adjust
1405 * CutAndPaste.C (pasteSelection): adjust
1407 * FloatList.C (FloatList): update from the new_insets branch.
1408 * Floating.[Ch]: ditto
1409 * LaTeXFeatures.C: ditto
1411 * lyxlex_pimpl.C: ditto
1413 * paragraph.C (Last): remove when NEW_INSETS is defined.
1415 * other file: changes because of the above.
1417 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1419 * lyxparagraph.h: rename next to next_, previous to previous_,
1420 make them private for NEW_INSETS. Rename Next() to next(),
1421 Previous() to previous().
1423 * other files: changes because of the above.
1425 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
1428 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
1431 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1433 * main.C (main): pass lyx_localedir to gettext_init().
1435 * gettext.h: remove locale_init and gettext_init macros
1437 * gettext.C (locale_init): new function
1438 (gettext_init): new function
1440 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
1443 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
1445 * Moved credits to frontends:
1446 * credits.[Ch]: removed
1447 * credits_form.[Ch]: removed
1448 * lyx_gui_misc.C: remove credits stuff
1451 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1453 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
1455 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
1456 unneeded destructor.
1458 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
1459 a standalone pointer again.
1461 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
1463 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
1469 * ToolbarDefaults.C:
1478 * BufferView_pimpl.C: use new file dialog in GUII
1481 * lyx_cb.C: remove LayoutsCB to Toolbar
1483 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1485 * ShareContainer.h (get): add std:: qualifier
1487 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1489 * ShareContainer.h: define a proper ShareContainer::value_type
1490 type (and use typename to please compaq cxx)
1492 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1494 * lyxparagraph.h: move serveral local vars to
1495 ParameterStruct/ParagraphParameters., use ShareContainer in
1496 FontTable., make vars in FontTable private and add getter and
1499 * paragraph.C: changes because of the above.
1501 * lyxfont.h: remove copy constructor and copy assignment. (the
1502 default ones is ok), move number inside FontBits. move inlines to
1505 * lyxfont.C: add number to initializaton of statics, move several
1506 inlines here. constify several local vars. some whitespace
1507 cleanup. Dont hide outerscope variables.
1509 * Spacing.h: add two new constructors to match the set methods.
1511 * ShareContainer.h: new file, will perhaps be moved to support
1513 * ParameterStruct.h: new file
1515 * ParagraphParameters.h: new file
1517 * ParagraphParameters.C: new file
1519 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
1520 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
1522 * BufferView_pimpl.C: ParagraphParameter changes.
1523 * buffer.C: Likewise.
1524 * bufferview_funcs.C: Likewise.
1526 * text2.C: Likewise.
1528 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1530 * lyxfind.C (LyXReplace): do not redefine default argument in
1532 (IsStringInText): ditto
1533 (SearchForward): ditto
1534 (SearchBackward): ditto
1536 2001-03-06 Juergen Vigna <jug@sad.it>
1538 * lyxfind.C (IsStringInText): put parentes around expressions.
1540 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
1542 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
1544 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
1546 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
1548 * stl_string_fwd.h: add comment
1550 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
1553 * tabular.C: remove unused DocBook methods
1559 killed DO_USE_DEFAULT_LANGUAGE
1561 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1563 * lyx_gui.C: do not include language.h.
1565 * bufferview_funcs.C (ToggleAndShow): do not provide optional
1566 arguments in function implementation.
1568 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1570 * BufferView_pimpl.C: add <ctime>
1572 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1574 * BufferView_pimpl.C: add using std::find_if
1576 2001-02-27 José Matos <jamatos@fep.up.pt>
1578 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
1581 2001-02-11 José Matos <jamatos@fep.up.pt>
1583 * buffer.C (makeDocBookFile): command styles now have a parameter as
1586 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
1588 * layout_forms.[Ch]: removed
1589 * lyx_cb.[Ch]: out character
1590 * lyx_gui.C: out character
1591 * lyx_gui_misc.C: out character
1592 * bufferview_funcs.C: : out character,
1593 added toggleall as parameter in ToggleAndShow
1595 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
1597 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
1599 * text2.C (SetCurrentFont): Disable number property at boundary.
1601 2001-02-26 Juergen Vigna <jug@sad.it>
1603 * lyxfunc.C (getStatus): added a string argument override function so
1604 that this is correctly called from LyXFunc::Dispatch if it contains a
1605 do_not_use_argument which is used!
1606 (Dispatch): added check for "custom" export and call appropriate func.
1608 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
1610 * lyxrc.C: Add language_command_local, language_use_babel and
1611 language_global_options.
1613 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
1615 * buffer.C (makeLaTeXFile): Use language_use_babel and
1616 language_global_options.
1618 2001-02-23 Juergen Vigna <jug@sad.it>
1620 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
1621 which works with LyXText and putted it inside BufferView. Here now we
1622 only call for that part the BufferView::Dispatch() function.
1624 * BufferView.C (Dispatch): added.
1626 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
1627 functions which needs to use a LyXText over from LyXFunc.
1628 (MenuInsertLyXFile): added
1629 (getInsetByCode): added
1630 (moveCursorUpdate): added
1631 (static TEXT): added
1633 2001-02-22 Juergen Vigna <jug@sad.it>
1635 * BufferView_pimpl.C (update): call a status update to see if LyXText
1638 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1640 * vc-backend.C (revert): implement for CVS
1641 (getLog): implement for CVS
1643 2001-02-20 Juergen Vigna <jug@sad.it>
1645 * text2.C (ClearSelection): added BufferView param for inset_owner call
1647 * lyxfunc.C (TEXT): added this function and use it instead of
1648 directly owner->view()-text of getLyXText().
1650 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
1652 * src/layout_forms.C: out preamble
1653 * src/layout_forms.h: out preamble
1654 * src/lyx_cb.C: out preamble
1655 * src/lyx_cb.h: out preamble
1656 * src/lyx_gui.C: out preamble
1657 * src/lyx_gui_misc.C: out preamble
1658 * src/lyxfunc.C: connect with guii preamble
1660 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1662 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
1664 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
1666 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
1667 whether to run bibtex.
1669 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
1671 * Makefile.am (lyx_SOURCES): Remove BackStack.h
1673 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1675 * Makefile.am (lyx_SOURCES): removed bibforms.h
1679 * text.C (GetVisibleRow): make several local vars const
1681 * tabular.C: small cleanup.
1683 * lyxserver.C (callback): use compare instead of strncmp
1685 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
1686 inlines to after class or to paragraph.C
1688 * lyxfont.h: remove friend operator!=
1690 * converter.h: move friend bool operator< to non friend and after
1693 * combox.h: small cleanup
1695 * buffer.h: doxygen, remove unused constructor, move inclas inlies
1696 to inlines after class def.
1698 * buffer.C (pop_tag): use string operations instead of strcmp
1700 * bmtable.c: doxygen, small cleanup
1702 * LaTeX.h: remove friend operator==
1704 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1716 * BufferView_pimpl.C:
1717 * BufferView.[Ch]: remove cruft
1719 2001-02-14 Juergen Vigna <jug@sad.it>
1721 * lyxfunc.C: removed #if 0 unused code
1723 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
1725 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
1727 * text2.C (SetSelection): added a BufferView * parameter
1729 2001-02-13 Juergen Vigna <jug@sad.it>
1731 * lyxfunc.C (Dispatch): fixed protected blank problem.
1732 * BufferView2.C (protectedBlank): added LyxText * parameter.
1734 * tabular.C (AppendRow): forgot to set row_info of newly added row.
1735 (AppendColumn): same as above for column_info.
1737 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
1738 (moveCursorUpdate): use a LyXText param for support of InsetText.
1740 * BufferView_pimpl.C (doubleClick): added support for InsetText.
1741 (tripleClick): ditto
1743 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
1745 * BufferView_pimpl.C (update): added LyXText param to honor insets.
1747 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
1749 * text2.C (SetSelection): set correct update status if inset_owner
1752 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1754 * tabular.C: remove some commented code.
1756 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1758 * BufferView_pimpl.C: call hideSplash()
1760 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
1763 * bibforms.h: remove
1766 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
1767 add LFUN_CHILD_CREATE
1769 * counters.h: fix tiny typo
1774 * lyx.C: move splash to frontends/xforms/
1776 * lyx_gui_misc.C: move Include and Bibform to frontends
1778 * lyxvc.h: clarify comment
1780 * vspace.C: tiny housekeeping
1782 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1784 * text.C (PrepareToPrint): RTL Fix.
1786 * paragraph.C (GetUChar): New method.
1787 (String): Use GetUChar.
1789 * buffer.C (asciiParagraph): Use GetUChar.
1791 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1793 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
1795 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
1798 * buffer.C: rename to getLogName(), handle
1799 build log / latex log nicely
1801 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1804 * MenuBackend.h: remove support for reference menuitem type.
1806 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
1808 * BufferView_pimpl.C: housekeeping
1809 * BufferView_pimpl.h:
1814 * minibuffer.h: move Timeout GUI-I
1816 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
1818 * lyxrc.C (read): Update converters data-structures.
1820 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
1822 * LaTeX.h (operator!=): add operator != for Aux_Info
1824 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
1826 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
1828 * LaTeXLog.C: deleted, useful code moved to Buffer
1831 * buffer.C: new function getLatexLogName()
1837 * lyxfunc.C: use frontends for LaTeX and VC logs
1839 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1841 * LaTeX.h: yet another std:: that Allan forgot.
1843 * Variables.C (set): renamed from isset(), because this clashes
1844 with some HP-UX macros (grr).
1846 2001-02-06 Allan Rae <rae@lyx.org>
1848 * LaTeX.h: Another bug fix. Missing std:: this time.
1850 2001-02-04 Allan Rae <rae@lyx.org>
1852 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
1853 floats problem. I've left it commented out because it's not quite
1854 correct. It should also test that the current object is a table or
1855 figure inset. But I haven't gotten around to figuring out how to do
1856 that. I *think* it'll be something like: "table" == inset.type()
1858 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
1861 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1863 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
1864 all the citation/databases/styles in the auxilary file.
1865 (run): Rerun latex if there was a babel language error.
1867 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
1869 * text.C (Backspace): Preserve the font when changing newline char
1871 (BreakParagraph): If the cursor is before a space, delete the space.
1873 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
1875 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1877 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
1878 new argument (code).
1879 (ChangeCitationsIfUnique): New method.
1881 * paragraph.C (GetPositionOfInset): Handle bibkey.
1883 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1885 * BufferView_pimpl.h: change type of Position::par_pos to
1886 LyXParagraph::size_type.
1888 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
1890 * BufferView_pimpl.C (savePosition, restorePosition): Write
1891 messages to minibuffer.
1893 2001-01-28 José Matos <jamatos@fep.up.pt>
1895 * buffer.C (makeDocBookFile): adds support for document language.
1896 A silly restriction on the name of LatexCommand types where removed.
1897 Added support for CDATA sections, allows to chars unescaped, used
1898 among others in code, to avoid escape < and >.
1900 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1902 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
1903 saved positions instrad of a stack. Furthermore, a position is
1904 stored using paragraph id/paragraph position.
1906 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
1907 Remove LFUN_REF_BACK.
1909 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1911 * converter.C (dvipdfm_options): New method.
1913 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1915 * vspace.C (isValidLength): Fix for empty input string.
1917 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1919 * LyXAction.C (init): change description of LFUN_FIGURE to
1922 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1924 * LaTeX.C: add using directive
1926 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1928 * MenuBackend.C (expand): Fix the sorting of the formats.
1930 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
1932 * lyx_main.C: tiny error message fix
1934 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1936 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
1937 calling fl_initialize(). This fixes the problem with ',' as
1938 decimal separator in text files.
1940 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1942 * trans.C (process): Fix the keymap bug.
1944 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1946 * LaTeX.C (scanAuxFiles): New method. Provides support for
1947 multiple bibliographies (when using the bibtopic/bibunits pacakges).
1948 (scanLogFile) Scan for "run BibTeX" messages.
1950 * buffer.C (makeLaTeXFile): Do not load the ae package when using
1951 OT1 font encoding. Also, load the aecompl package if the ae
1954 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
1956 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1958 * texrow.C (increasePos): turn two error messages into debug
1961 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1963 * LaTeX.C (scanAux): Handle the \@input macro.
1964 (runBibTeX): Use scanAux().
1966 * language.C (latex_options_): New field.
1968 * LaTeXFeatures.C (getMacros): Add language macros.
1970 * buffer.C (makeLaTeXFile): Small fix.
1972 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1974 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
1976 * text2.C: add a using directive.
1978 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
1983 * lyxfunc.C: kill LyXBell.
1985 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
1987 * text.C (IsBoundary): Remove the error message
1989 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
1991 * lyxrc.C (setDefaults): Correct initialization value for
1994 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1996 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
1999 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
2002 * src/LyXAction.C: Added reference-next.
2004 * text.C (InsertChar): Use contains instead of strchr.
2006 * lyx_cb.C (MenuInsertLabel): Enable default value code.
2008 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
2010 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
2011 alignment commands (when needed).
2013 * text.C (InsertChar): Add ':' to number separator chars.