1 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
3 * converter.C (Formats::view): reverted! Incorrect fix.
5 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7 * converter.C (Formats::view): only output the -paper option
8 if the dvi viewer is xdvi, thereby fixing bug #233429.
10 2001-08-23 Herbert Voss <voss@perce>
12 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
16 * Spacing.h (Spacing): Set space to Default on in the default
19 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
21 * vc-backend.h (RCS::versionString): add RCS to version
22 (CVS::versionString): add CVS to version
24 * vc-backend.C (scanMaster): do not add CVS to version.
25 (scanMaster): do not add RCS to version
27 * lyxvc.C (versionString): new method
29 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
31 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
33 * Spacing.C (set): initialize fval
35 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
37 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
40 2001-08-16 Juergen Vigna <jug@sad.it>
42 * lyxfunc.C (dispatch): implemented the new FINISHED states.
44 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
49 * text2.C: setParagraph takes linespacing now
51 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
53 * LyxAction.C: add internal LFUN_CITATION_INSERT
55 * LyXView.C: actually apply fix
57 * bufferlist.C: fix open non-existent file
59 * lyxfind.C: fix indentation
61 * lyxfunc.C: remove unneeded assert, fix typo
63 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
65 * MenuBackend.C: use "Floatname List"
67 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
69 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
70 when converting LaTeX layout to insetERT.
71 Generate a non-collapsed float when reading old float
73 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
75 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
78 2001-08-13 Juergen Vigna <jug@sad.it>
80 * text.C (fill): return 0 instead of 20 as this seems to be the more
83 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
85 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
88 2001-08-13 Juergen Vigna <jug@sad.it>
90 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
92 (SearchBackward): comment out the unlocking of the inset_owner this
95 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
97 * Many files: Remove inherit_language, and add latex_language
99 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
102 2001-08-10 Juergen Vigna <jug@sad.it>
104 * text.C (prepareToPrint): fixed hfill-width in draw!
106 * BufferView2.C (selectLastWord): save the selection cursor as this
107 now is cleared in the function LyXText::clearSelection!
109 2001-08-08 Juergen Vigna <jug@sad.it>
111 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
112 BACKSPACE type functions.
114 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
115 is only cutted from the document but not put in the cut-buffer, where
116 still the old stuff should be.
118 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
120 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
122 * tabular.C (SetWidthOfCell): fixed special case where the width
124 (LeftLine): handle '|' in align_special.
126 (LeftAlreadyDrawed): ditto
127 (SetWidthOfCell): ditto
129 2001-08-07 Juergen Vigna <jug@sad.it>
131 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
133 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
135 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
138 2001-08-06 Juergen Vigna <jug@sad.it>
140 * text.C (getVisibleRow): fix up row clearing a bit.
142 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
144 * minibuffer.C: make sure the X server sees the changes in the input.
146 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
148 * paragraph.C (getFont): split into...
150 (getLayoutFont): and this
151 * paragraph_pimpl.C (realizeFont): calling this
153 * text2.C (getFont): split into...
154 (getLayoutFont): this
155 (getLabelFont): and this
156 (realizeFont): all three calling this
158 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
161 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
163 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
165 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
167 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
168 layouts from the Quote inset insertion.
170 2001-08-03 Juergen Vigna <jug@sad.it>
172 * BufferView_pimpl.C (update): do the fitCursor only at the end!
174 * screen.C (drawFromTo): don't call fitcursor here and do the loop
175 only if status not is already CHANGED_IN_DRAW (second level).
177 * text.C (draw): don't set the need_break_row when inside an
180 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
182 * buffer.C (parseSingleLyXformat2Token): handle more latex
185 * bufferview_funcs.[hC]: change function names to
186 begin with small char, adjust other files.
188 2001-08-02 André Pönitz <poenitz@gmx.net>
191 BufferView_pimpl.C: remove broken special code for math-greek
193 2001-08-02 Juergen Vigna <jug@sad.it>
195 * BufferView_pimpl.C (update): redone this function so that we
196 update the text again if there was a CHANGE_IN_DRAW.
198 * screen.C (cursorToggle): removed LyXText parameter and recoded.
199 (drawFromTo): added a new internal bool which is used by draw() and
201 (general): some cursor drawing problems fixed.
203 2001-08-01 Juergen Vigna <jug@sad.it>
205 * lyxfind.C (LyXFind): fixed
206 (SearchForward): ditto
207 (SearchBackward): ditto
209 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
210 spurius drawing of the cursor in the main area.
212 * text2.C (status): small fix which could lead to a segfault!
213 (clearSelection): remove unneeded BufferView param.
215 2001-08-01 André Pönitz <poenitz@gmx.net>
217 * lyxfunc.C: small change due to changed mathed interface
219 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
221 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
223 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
225 * lyxfunc.c: fail gracefully if file doesn't exist
230 * BufferView_pimpl.C: IsDirWriteable() proto changed
232 * LyXView.C: fix updateWindowTitle() to store the last title
234 2001-07-31 Juergen Vigna <jug@sad.it>
236 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
237 the font (wrong since using of Paragraph::highestFontInRange).
239 * paragraph.C (highestFontInRange): added a default_size parameter.
241 * text.C (getVisibleRow): minor clear row changes (still not perfect).
242 (setHeightOfRow): reformat
244 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
246 * converter.[hC] + affected files: move to (inital-char)lowercase
249 * ParagraphParameters.C (ParagraphParameters): remove commented code
251 * PainterBase.[Ch]: remove commented code
253 * LaTeXFeatures.h: add "bool floats" for float.sty
255 * LaTeXFeatures.C (LaTeXFeatures): init floats
256 (require): handle float
257 (getPackages): do it with floats
259 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
261 * BufferView_pimpl.C (Dispatch): improve handling of
262 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
264 * commandtags.h: #include lyxfont.h here temporarily to avoid
267 * bufferlist.h: include LString.h here.
269 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
271 * text2.C (getStringToIndex): new method.
273 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
275 * *: Reduced header file dependencies all over.
277 2001-07-30 Baruch Even <baruch@lyx.org>
279 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
281 2001-07-29 Baruch Even <baruch@lyx.org>
283 * buffer.C (readInset): Changed GRAPHICS to Graphics.
285 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
287 * ParameterStruct.h (endif): add a default constructor to make
288 sure that all variables is initialized.
290 * ParagraphParameters.C (ParagraphParameters): adjust
292 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
294 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
295 index; also, check that there is something to index, and that it
296 does not span over several paragraphs.
297 (doubleClick): use WHOLE_WORD_STRICT for double click.
299 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
301 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
304 2001-07-26 Baruch Even <baruch@lyx.org>
306 * buffer.C (readInset): Changed to call up InsetGraphics when reading
307 an InsetFig figure, backwards compatible reading of old figure code.
309 2001-07-27 Juergen Vigna <jug@sad.it>
311 * text2.C: font.realize function adaption.
313 * text.C (draw): add a warnings lyxerr text if needed.
315 * layout.C: font.realize function adaption.
317 * language.C: add inherit_language and implement it's handlings
319 * bufferview_funcs.C (StyleReset): remove language parameter from
320 font creation (should be language_inherit now).
322 * bufferparams.C (writeFile): handle ignore_language.
324 * paragraph.C (getFontSettings): the language has to be resolved
325 otherwise we have problems in LyXFont!
327 * lyxfont.C (lyxWriteChanges): added document_language parameter
328 (update): removed unneeded language parameter
330 * paragraph.C (validate): fixed wrong output of color-package when
331 using interface colors for certain fonts in certain environments,
332 which should not seen as that on the final output.
334 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
336 * BufferView_pimpl.C:
341 * LyXAction.C: add thesaurus support
344 * lyxfind.C: add "once" parameter, for thesaurus, to not
345 move to the next match
347 2001-07-26 Juergen Vigna <jug@sad.it>
349 * lyxfont.C (realize): honor ignore_language too!
352 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
354 * text.C (draw): one place more for ignore_language to not draw
357 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
359 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
361 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
363 * buffer.C (parseSingleLyXformat2Token): a more general fix for
364 the minipage conversion problem.
366 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
368 * buffer.C (parseSingleLyXformat2Token): check minipage if we
371 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
373 * BufferView.h: don't forward declare WorkArea
375 * BufferView.C: don't include WorkArea.h
377 2001-07-25 André Pönitz <poenitz@gmx.net>
381 * lyxfunc.C: new LFUN 'math-space'
383 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
385 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
387 * text2.C (toggleInset): call open/close
389 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
391 * lyxfunc.C (dispatch): add debug for the disabled case
393 * font.C (buttonText): make similar to rectText
395 * buffer.C (readInset): comment out parsing of insetlist and
398 * PainterBase.C (rectText): small correction
400 * BufferView_pimpl.C: comment out insettheorem and insetlist
402 * commandtags.h: ditto
404 2001-07-24 Juergen Vigna <jug@sad.it>
406 * text.C (draw): honor the ignore_language.
408 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
410 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
412 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
415 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
417 * lyxtext.h: remove unused (and unimplemented) methods
419 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
421 * text.C (getVisibleRow): honor background color
424 * Painter.h: remove default color argument for fillRectangle
426 * text.C (backgroundColor): new method
428 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
430 * text.C (getVisibleRow): adjust
432 * font.[Ch] (rectText): new method, metrics
433 (buttonText): new method, metrics
435 * PainterBase.[hC]: make rectText and buttonText always draw and take
438 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
440 * ToolbarDefaults.C (read):
441 * MenuBackend.C (read): allow escaping in all strings
443 * BufferView_pimpl.C (insertAndEditInset): new method.
444 (Dispatch): use insertAndEditInset whenever appropriate.
446 * BufferView_pimpl.C (insertNote): removed
448 * BufferView_pimpl.C (smartQuote): new method, moved from
449 BufferView; if an insetquote cannot be inserted, insert a '"'
452 * BufferView2.C: remove insertCorrectQuote();
454 * lyxfunc.C (getStatus): Add support for all remaingin
457 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
459 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
460 command (necessary to pass " as parameter of self-insert.
462 * text.C (selectWordWhenUnderCursor):
463 (selectWord): add word_location parameter
464 (selectWordWhenUnderCursor): same + remove special code for word
466 (selectNextWord): use kind() to guess type of insetspecialchar,
469 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
470 (insertErtContents): create ert insets as collapsed.
471 (readInset): better compatibility code for Info inset.
473 2001-07-20 Juergen Vigna <jug@sad.it>
475 * lyxfunc.C (dispatch): use always LyXFind now!
477 * text2.C (init): add a reinit flag so that the LyXText can be
478 reinited instead of deleted and reallocated (used in InsetText).
480 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
486 2001-07-18 Juergen Vigna <jug@sad.it>
488 * text.C (selectNextWord): handle insets inside inset by calling
489 always the bv->text functions so that we can go up the_locking_inset!
491 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
492 in strange locations when inside an inset!
494 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
495 handling to include insets.
497 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
499 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
501 * LyXAction.C (init):
503 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
504 LIGATURE_BREAK, since the name is so stupid.
506 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
508 * buffer.C (readInset): enable reading of new InsetNotes as well as old
511 * FontLoader.C: remove FORMS_H_LOCATION cruft.
513 * sp_form.[Ch]: remove.
515 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
517 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
520 * src/buffer.C (readInset): ditto.
522 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
524 * BufferView_pimpl.C (specialChar): new method. Obsoletes
525 menuSeparator(), endOfSentenceDot(), ldots() and
526 hyphenationPoint(), which are therefore removed.
527 (Dispatch): handle LFUN_HYPHENATION_BREAK.
529 * LyXAction.C (init):
530 * commandtags.h: add LFUN_HYPHENATION_BREAK.
532 * paragraph.C (getWord): removed.
534 * BufferView_pimpl.C (Dispatch): use last word or selection for
535 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
537 * lyx_main.C (queryUserLyXDir): do not ask before creating
538 user_dir, except if it has been named explicitely.
540 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
542 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
543 a document of zero size.
545 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
547 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
548 approriately in the c-tor and in require().
549 (getPackages): output the appropriate LaTeX for natbib support.
551 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
552 variables "use_natbib" and "use_numerical_citations" when reading the
554 (readInset): read the various natbib cite commands.
555 (validate): white-space change.
557 * bufferparams.[Ch]: new variables "bool use_natbib" and
558 "bool use_numerical_citations".
559 (writeFile): output them in the LyX file.
561 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
563 * lyxfunc.C (getStatus): add support for all the inset insertion
566 * text2.C (insertInset):
567 * paragraph.C (insetAllowed):
568 * BufferView_pimpl.C (insertInset): update to take in account the
569 renaming of insertInsetAllowed
571 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
573 * text2.C (getInset): new method. returns inset at cursor position.
575 * BufferView_pimpl.C (Dispatch): changes because of this.
577 * LyXAction.C (init): rename open-stuff to inset-toggle.
579 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
581 * text2.C (toggleInset): renamed from openStuff; use
584 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
586 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
588 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
590 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
592 * buffer.C (readLyXformat2): Add filename to the error dialog
594 2001-07-18 Juergen Vigna <jug@sad.it>
596 * tabular.C (GetCellNumber): put an assert here instead of the check!
598 2001-07-17 Juergen Vigna <jug@sad.it>
600 * BufferView_pimpl.C (toggleSelection): adapted too.
602 * text.C (selectNextWord): adapted for use with insets.
603 (selectSelectedWord): ditto
605 2001-07-17 Juergen Vigna <jug@sad.it>
607 * sp_spell.C (PSpell): fix initialitation order.
609 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
611 * paragraph.C: spacing
613 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
615 * sp_spell.C: repair language selection for pspell
617 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
619 * lyxfunc.h: change more methods to begin with lower char.
621 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
623 * buffer.C (parseSingleLyXformat2Token): Generate error insets
626 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
628 * buffer.C (readLyXformat2): Generate an error dialog if there are
631 2001-07-16 Juergen Vigna <jug@sad.it>
633 * sp_spell.C: always compile ISpell part.
635 * lyxrc.C: added use_pspell entry and it's handling.
637 2001-07-13 Juergen Vigna <jug@sad.it>
639 * sp_spell.C: removed double includes.
641 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
643 Consistent use of Lsstream.h:
644 * Lsstream.h: added using std::stringstream for consistencies sake.
646 * buffer.C: removed using std::stringstream
648 * lyxfont.C (stateText):
649 * paragraph.C (asString):
650 * text.C (selectNextWord, selectSelectedWord):
651 * text2.C (setCounter):
652 * vspace.C (asString, asLatexString):
653 std::ostringstream -> ostringstream.
655 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
657 * LyXAction.C: add LFUN_HELP_ABOUTLYX
658 * commandtags.h: add LFUN_HELP_ABOUTLYX
659 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
661 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
663 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
665 * lyx_gui_misc.C: remove spellchecker
666 * lyxfunc.C: showSpellchecker
671 * sp_form.[Ch]: removed
672 * spellchecker.[Ch]: removed
674 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
676 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
678 (simpleTeXSpecialChars): Simply print the input character without
679 any special translation if pass_thru is set.
681 * layout.h: Added bool pass_thru to layout class for being able to
682 implement pass through of a paragraph for Literate Programming.
684 * layout.C: add LT_PASS_THRU to LayoutTags enum.
685 * layout.C (LyXLayout): set pass_thru to flase in constructor.
686 * layout.C (Read): add "passthru" to list of layout tags and add
687 code to set the pass_thru boolean when it is read.
689 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
691 * trans_decl.h: remove allowed from KmodInfo
693 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
697 * paragraph_pimpl.C (erase): use boost::prior
699 * Painter.C (text): use data() instead of c_str() when length is
701 * WorkArea.C (putClipboard): ditto
702 * font.h (width): ditto
704 * BufferView2.C: use it-> instead of (*it). for iterators
706 * paragraph_pimpl.C: ditto
708 * minibuffer.C: ditto
717 * MenuBackend.C: ditto
722 * ColorHandler.C (LyXColorHandler): ditto
724 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
726 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
728 * text2.C (openStuff): reintroduce this method (which had been
729 nuked in NEW_INSETS frenzy).
731 * lyxfunc.C (Dispatch): when an action has not been handled, use
732 its name in the error message, not its number.
734 * paragraph.C (inInset): change method name to begin with lowercase.
737 * text2.C: updates because of this.
739 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
741 * ToolbarDefaults.C (add): add spaces in error message
743 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
745 * buffer.C (readLyXformat2): initialize the ert comp. variables.
746 (readLyXformat2): rename return_par to first_par, use lyxlex's
747 pushToken and remove the manual push handling.
748 (parseSingleLyXformat2Token): add another ert comp. variable:
749 in_tabular, rename return_par to first_par. handle newlines better
751 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
753 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
755 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
757 * text2.C (getParFromID): removed
759 * buffer.C (getParFromID): new method moved form lyxtext.
760 * BufferView2.C (insertErrors): adjust
761 (setCursorFromRow): adjust
762 * BufferView_pimpl.C (restorePosition): adjust
763 * lyxfunc.C (Dispatch): adjust
764 * undo_funcs.C (textUndo): adjust
766 (textHandleUndo): adjust
767 (textHandleUndo): adjust
769 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
771 * buffer.C: up' the LYX_FORMAT
773 * lyxfont.h: turn NO_LATEX on as default
775 * buffer.C (insertErtContents): new methods of tex style compability.
776 (parseSingleLyXformat2Token): use it several places.
777 * tabular.C (OldFormatRead): and here
779 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
781 * text2.C: remove some commented code.
784 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
785 * trans.C: changes because of the above.
787 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
789 * text2.C (setCounter): Fix counters bug with bibliography layout.
791 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
793 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
795 (simpleTeXSpecialChars): ditto
797 2001-07-06 Juergen Vigna <jug@sad.it>
799 * a lot of files: changed the access to LyXText::status and the
800 call of undo-functions.
802 * undo.[Ch]: added a inset_id to the undo informations.
804 * undo_funcs.[Ch]: added and moved here all undo functions.
806 * lyxtext.h: give the status enum a weight, made status_ a private
807 variable and made accessor functions for it, removed the whole bunch
808 of undo-functions as they are now in their own file, make some
809 functions publically available. Added function ownerParagraph with
812 * paragraph.[Ch]: added "bool same_ids" to the constructor,
813 made InInset() a const function, added getParFromID() function.
815 * buffer.[Ch]: added const version for inset_iterator functions,
816 added getInsetFromID() function.
818 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
819 changed undo functions for new version.
821 2001-07-05 Juergen Vigna <jug@sad.it>
823 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
824 unknow mechanism does not call the proper constructor but only this
825 one also if I request the other!?
827 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
829 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
831 * text2.C (LyXText): use initialization lists.
833 * lyxtext.h (Selection): initialize set_ and mark_
834 (init): remove method
836 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
838 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
840 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
842 * screen.[Ch]: change method names to begin with lowercase
844 * BufferView_pimpl.C (updateScrollbar): simplify further and
845 hopefully make it a bit faster.
847 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
849 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
850 calling directly xforms functions.
852 * Painter.C (Painter):
853 * lyx_cb.C (MenuWrite):
854 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
857 * lyx_gui.C: remove bogus guiruntime extern declaration.
859 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
861 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
863 (redoDrawingOfParagraph): ditto
864 (redoParagraphs): ditto
865 (cutSelection): don't create a object for CutAndPaste use the
866 static method directly
867 (pasteSelection): ditto
869 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
872 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
874 * modifications to some other files because of this.
876 * Makefile.am (lyx_SOURCES): add XFormsView
878 * XFormsView.[Ch]: new files
880 * LyXView.[Ch]: make LyXView a base class for the gui handling for
881 the main window. Move the gui dependent stuff to XFormsView
883 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
885 * tabular.C (GetCellInset): update cur_cell also in the row/col
886 version of this function.
888 * lyxfunc.C: no need to include figure_form.h here.
894 * lyxvc.C: no need to include forms.h here.
896 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
898 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
900 * lyxfunc.C (Dispatch):
902 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
903 constructor argument.
905 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
907 * paragraph.C (Paragraph): dont't clear, and just set layout.
908 (makeSameLayout): use params's copy contructor.
910 * ParagraphParameters.[Ch] (makeSame): delete method
912 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
914 * Variables.[Ch]: fix indentation, rename set to isSet
916 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
918 * lyxfunc.C (Dispatch): fix typo
920 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
922 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
925 * bufferlist.C: include assert.h for emergencyWrite().
927 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
929 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
930 give up at last (bug #425202) !
932 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
938 * spellchecker.C: strip spellchecker options and bring up
939 preferences tab instead
941 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
943 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
944 the istringstream constructor
946 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
948 * paragraph.C (getLayout): fix return value
950 * paragraph.h: do not declare getLayout as inline.
952 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
954 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
956 * lyxcursor.h (operator<): new func
957 (operator>): new func
958 (operator>=): new func
959 (operator<=): new func
961 * text.C (changeCase): use selection.start and selection.end
962 (changeRegionCase): require from to be <= to. Require par to be a
965 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
967 2001-06-27 Juergen Vigna <jug@sad.it>
969 * text.C (cursorLeftOneWord): changed to return the cursor and added
970 overlay with BufferView * parameter which calls this one.
972 (selectWord): use new getWord function.
973 (changeCase): renamed from changeWordCase as and extended to work
976 * lyxtext.h: added enum word_location
978 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
979 changeCase as this operates now also on selections.
981 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
983 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
985 * many files: send debug output to Debug::INFO instead of
988 * converter.C (View):
990 (Move): send debug output to Debug::FILES instead of console.
992 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
994 * lyxfunc.C (getStatus): use func_status
996 * func_status.h: new header, describing the results of
999 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
1002 2001-06-25 The LyX Project <jug@sad.it>
1004 * buffer.C (sgmlOpenTag):
1006 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
1008 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1010 * text2.C: remove some dead code
1012 * tabular.C (GetCellInset): store the last cell checked (gotten)
1014 * tabular.h: add the helper for the speedup
1016 * lyxtext.h: remove some dead code
1018 2001-06-26 The LyX Project <Asger>
1020 * paragraph.C: Change export to LaTeX of alignment to
1021 \begin{center} and family for better roundtrip work with reLyX.
1023 * Tune the math drawing a bit.
1025 2001-06-25 The LyX Project <Asger>
1027 * LColor.C (LColor): New color for math background. New color
1030 2001-06-25 The LyX Project <jug@sad.it>
1032 * lyxfunc.C (MenuNew): remove extra check for .lyx file
1035 * bufferlist.C (newFile): do not restrict to files ending with
1038 * BufferView_pimpl.C (MenuInsertLyXFile):
1040 2001-06-24 The LyX Project <jug@sad.it>
1042 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
1045 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1047 * lyxtext.h: rename most methods to begin with a small char.
1048 Lots of changes because of this.
1050 * paragraph.C (Paragraph): do not call fitToSize
1051 (erase): call Pimpl::erase
1052 (insertChar): call Pimpl::insertChar
1053 (insertInset): call Pipl::insertInset
1054 (breakParagraph): do not call fitToSize
1055 (breakParagraphConservative): do not call fitToSize
1056 (fitToSize): remove method
1058 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
1060 2001-06-24 The LyX Project <Asger>
1062 * Fix Qt compilation^2
1064 2001-06-24 The LyX Project <jug@sad.it>
1066 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
1067 depthHook(getDepth()-1).
1070 * ParagraphParameters.h:
1071 * ParameterStruct.h: change type of depth to unsigned int ==
1072 depth_type. Many adaptations to other files before of that.
1074 2001-06-24 The LyX Project <Asger>
1076 * Fix Qt compilation.
1078 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1080 * paragraph.h: renamed several methods to begin with small letter.
1081 several changes to many parts of the code because of this.
1083 2001-06-23 The LyX Project <jug@sad.it>
1085 * text2.C (InsertStringAsLines): renamed from InsertStringA;
1086 rewritten to discard all double spaces when KeepEmpty is off
1087 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
1088 to only handle newlines but not fiddle with spaces and friends.
1090 * lyxfunc.C (MenuNew): when doing 'new from template', use
1091 template_path as default directory
1093 2001-06-23 The LyX Project <Asger>
1095 * Clean-up of header file includes all over
1096 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
1098 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1100 * paragraph.h: renamed from lyxparagraph.h
1102 2001-06-23 Asger <lyx@violet.home.sad.it>
1104 * Buffer.h: Removed Buffer::resize
1105 * BufferList.h: Removed BufferList::resize
1106 * LyXView.h: Added LyXView::resize. This way, we will only reflow
1107 the document lazily when we change the width, or the font settings.
1109 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1111 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
1113 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1115 * buffer.h: remove out of date comment
1117 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1120 * screen.C: fix "theoretical" GC leak
1122 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1124 * LaTeX.C (scanAuxFile):
1125 (deplog): remove trailing \r when reading stream (useful under
1128 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1130 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
1131 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
1132 and BufferView::theLockingInset(Inset*), so should use them and not
1133 access bv_->text->the_locking_inset directly.
1135 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
1137 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1140 * tex-defs.h: remove old unused file
1142 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
1144 * BufferView_pimpl.C: fix typo, remove minibuffer message
1145 when buffer has loaded
1147 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1149 * lyxfunc.C (Dispatch): use stringstream
1150 (MenuNew): use stringstream
1151 (Open): use stringstream
1153 * importer.C (Import): use stringstream
1155 * bufferview_funcs.C (CurrentState): use stringstream
1157 * LaTeX.C (run): use stringstream
1159 * BufferView_pimpl.C (savePosition): use stringstream
1160 (restorePosition): use stringstream
1161 (MenuInsertLyXFile): use stringstream
1163 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
1176 * vspace.C: removed // -*- C++ -*- as first line.
1179 * version.h: added // -*- C++ -*- as first line.
1181 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1183 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
1185 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
1188 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1190 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
1193 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1195 * gettext.C: include LString.h even when --disable-nls is on.
1197 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1199 * converter.h (Get): changed argument type from int to
1200 FormatList::size_type to avoid unnecessary conversion.
1202 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
1205 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1207 * gettext.h: include LString.h even when --disable-nls is on.
1209 2001-06-07 Juergen Vigna <jug@sad.it>
1211 * text.C (BreakAgain): subst spaces with tabs.
1213 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
1214 (resizeInsetsLyXText): set force on resizeLyXText.
1216 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1218 * gettext.h (gettext_init):
1219 (locale_init): use a real definition instead of a macro
1221 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1223 * Bufferview_pimpl.C:
1225 * LColor.C: further lcolor tidies
1227 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1229 * BufferView_pimpl.C (updateScrollbar): simplify.
1231 * BufferView2.C: don't include insets/insetinfo.h, change
1232 prototype for insertInset and call the Pimpl version. let
1233 updateInset call Pimpl version.
1235 * BufferView.h: move inset_slept to BufferView::Pimpl, move
1236 gotoInset to BufferView::Pimpl
1238 2001-06-01 Juergen Vigna <jug@sad.it>
1240 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
1241 inside a LockingInset (is the update needed at all?).
1243 2001-05-31 Juergen Vigna <jug@sad.it>
1245 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
1246 here not the old one otherwise how should we compare it afterwards
1249 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1254 * FontInfo.C: bring C functions into global namespace when
1257 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1259 * LString.h: make sure config.h has been loaded before LString.h.
1261 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
1262 (one for each char read by EatLine!).
1264 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
1267 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1269 * paragraph.C (BreakParagraph): set the inset_owner in the new par
1270 to the same as the par we break from
1272 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1274 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
1276 * MenuBackend.C (expand): also create menu entries for wide
1277 versions of the floats.
1279 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
1281 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
1283 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
1284 frontends/Makefile.am
1290 * tabular.C (getTokenValue): add std::
1292 * tabular-old.C (getTokenValue): add std::
1293 (getTokenValue): ditto
1294 (getTokenValue): ditto
1296 * screen.C (ToggleSelection): adjust
1298 * lyxtext.h: put selection cursors inside a Selection struct.
1300 * lyxfunc.C (moveCursorUpdate): adjust
1302 * lyxfont.C (latexWriteStartChanges): add std::
1306 * font.h: delete with(char const *, LyXFont const &)
1308 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
1310 * FontInfo.C (getFontname): add std::
1312 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1313 (workAreaButtonPress): adjust
1314 (tripleClick): adjust
1316 (moveCursorUpdate): adjust
1319 * BufferView2.C (gotoInset): adjust
1321 2001-05-30 Juergen Vigna <jug@sad.it>
1323 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
1324 to check pspell I add this as default as I now have new pspell
1325 libraries and they seem to use this.
1327 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1329 * text2.C (CutSelection): make the cursor valid before the call to
1332 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1334 * kbsequence.C (parse): de-uglify a bit the parsing code, which
1335 relied on 0 terminated strings and other horrors. Bug found due to
1336 the new assert in lyxstring!
1338 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
1341 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1343 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
1346 * lyxfunc.C (processKeySym): change method of getting to the
1349 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
1350 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
1351 * BufferView_pimpl.[Ch]: here as private methods.
1353 2001-05-28 Juergen Vigna <jug@sad.it>
1355 * text.C (SetHeightOfRow): added the update() call again as it is
1356 needed to initialize inset dimensions!
1358 2001-05-16 Juergen Vigna <jug@sad.it>
1360 * text2.C (SetCharFont): Add new function with BufferView * and
1361 bool toggleall parameters for setting insets internal fonts.
1362 (SetFont): Freeze the undo as we may change fonts in Insets and
1363 all this change should be inside only one Undo!
1365 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
1366 setting font's in insets as for them we have the SetFont function!
1368 2001-05-15 Juergen Vigna <jug@sad.it>
1370 * text2.C (ClearSelection): to be sure we REALLY don't have any
1373 * tabular.C (TeXCellPreamble): fixed the left border problem for
1376 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
1378 * LaTeX.C (deplog): Make sure that the main .tex file is in the
1381 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1383 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
1384 LFUN_BREAKPARAGRAPH.
1386 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
1387 help test to "internal only", similar for LFUN_INSERT_URL
1389 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
1390 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
1391 auto_region_delete and deadkeys.
1393 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
1396 * LColor.C: remove some dead entries, tidy a little
1398 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1400 * lyxfunc.C (processKeySym): comment the Escape handling, remove
1402 (Dispatch): implement LFUN_ESCAPE
1404 * commandtags.h: add LFUN_ESCAPE
1406 * LyXAction.C (init): add entry for LFUN_ESCAPE
1408 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
1409 Remove commented code.
1410 (insertNote): moved here
1411 (open_new_inset): moved here
1413 * BufferView[2].[Ch]: move insertNote and open_new_inset to
1416 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1418 * kbmap.C (findbinding): clean it up and make it work correctly.
1420 * lyx_main.C (init): do not pass argc and argv as parameters
1422 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1424 * buffer.C: fix path for OS/2 & Win32
1428 * lyx_main.C: Added os:: class.
1430 * os2_defines.h: update
1432 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1434 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
1435 better by trying again with reduced state.
1437 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1439 * lyxrc.C (read): print error about invalid key sequence only when
1440 debugging (because not all latinX keysyms are known to some X
1443 * kbsequence.C (getiso): add a few std:: qualifiers
1444 (getiso): comment out extra return statement.
1446 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1448 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
1450 (Dispatch): enhance the accent inset a bit. (not perfect)
1452 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1454 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
1456 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1458 * bufferlist.C (emergencyWrite): fix assert() call
1460 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
1462 * text.C (InsertChar): Added trivial patch to only send the "you
1463 can not do multiple spaces this way" message once during a
1466 2001-05-08 Baruch Even <baruch@lyx.org>
1468 * Makefile.am: Changed order of libraries to get LyX to link properly
1469 with the gnome frontend.
1471 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1473 * LaTeXFeatures.h: add a std:: qualifier
1475 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1477 * paragraph.C (String): use stringstream
1479 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1481 * paragraph.C (writeFile): remove footflag arg
1483 * buffer.C (makeLaTeXFile): use stringstream
1484 (latexParagraphs): remove footnot gurba
1486 * LaTeXFeatures.C (getPackages): use stringstream
1487 (getMacros): likewise
1488 (getTClassPreamble): likewise
1489 (getFloatDefinitions): new method
1491 * paragraph.C (writeFile): reindent
1494 * WorkArea.h: revert the xpos + etc changes.
1496 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
1498 * lyxparagraph.[Ch]: add copy constructor, remove Clone
1500 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
1501 (pasteSelection): likewise
1502 * text2.C (CreateUndo): likewise
1504 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1506 * minibuffer.C (peek_event): temporarily reduce the functionality
1507 of the minibuffer (to allow args on lfuns)
1509 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
1510 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
1512 * buffer.C (readInset): add compability reading of old float
1513 lists, add reading of new style float list.
1514 (readInset): avoid reevaluation of inscmd.getCmdName()
1515 (getLists): reindent
1517 * MenuBackend.C (MenuItem): implement parsing of
1518 md_floatlistinsert and md_floatinsert.
1519 (expand::LastFiles): move initalizaton of iterators out of loop,
1521 (expand::Documents): introduce typdedef vector<string> Strings,
1523 (expand::ExportFormats): introduce typedef vector<Format const *>
1524 Formats, and use it.
1525 (expand): implement FloatListInsert and FloatInsert.
1527 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
1528 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
1529 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
1531 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
1533 (Dispatch::LFUN_FLOAT_LIST): implement
1535 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1537 * LaTeX.C (run): Fix problem with --export code.
1539 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1541 * BufferView.[Ch] (workarea): removed.
1542 (getClipboard) new method; wrapper for workarea()->getClipboard()
1544 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
1547 * WorkArea.h (width, height, xpos, ypos): These methods all
1548 returned the dimensions of the work_area sub-area of WorkArea,
1549 resulting in a position error if the WorkArea were resized. Now
1550 return the dimensions of the entire WorkArea.
1552 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
1554 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1556 * LaTeX.C (deplog): correct the syntax of regex reg1
1558 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1560 * undo.C: remove !NEW_INSETS cruft
1562 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1564 * text2.C: remove !NEW_INSETS cruft
1566 * text.C: remove !NEW_INSETS cruft
1568 * tabular.C: remove !NEW_INSETS cruft
1570 * spellchecker.C: remove !NEW_INSETS cruft
1572 * lyxtext.h: remove !NEW_INSETS cruft
1574 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
1576 * lyxfunc.C: remove !NEW_INSETS cruft
1578 * lyxfind.C: remove !NEW_INSETS cruft
1580 * lyx_cb.C: remove !NEW_INSETS cruft
1582 * figureForm.C: remove !NEW_INSETS cruft
1584 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
1586 * buffer.[Ch]: remove !NEW_INSETS cruft
1588 * ToolbarDefaults.C: remove !NEW_INSETS cruft
1590 * CutAndPaste.C: remove !NEW_INSETS cruft
1592 * BufferView_pimpl.C: remove !NEW_INSETS cruft
1594 * BufferView2.C: remove !NEW_INSETS cruft
1596 * BufferView.h: remove !NEW_INSETS cruft
1598 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1600 * Lsstream.h: include LString.h before the sstream headers to
1601 fix problem with gcc 2.95.3 and lyxstring
1603 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1605 * lyx_main.C: add using directives when needed for C functions
1606 declared in std:: namespace.
1608 2001-04-27 Juergen Vigna <jug@sad.it>
1610 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
1611 (SetHeightOfRow): comment out the update call should not be needed!
1613 2001-04-13 Juergen Vigna <jug@sad.it>
1615 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
1616 (LyXTabular): tried to minimize operator= operations (and realized
1617 hopfully Lars wish).
1619 2001-04-27 Juergen Vigna <jug@sad.it>
1621 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
1623 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1625 * lyxfunc.C (Dispatch): hack to make listof algorithm work
1627 * buffer.C (readInset): hack to make listof algorithm work
1629 * BufferView_pimpl.C: hack to make listof algorithm work
1631 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1633 * LyXAction.C: removed all !NEW_INSETS cruft
1634 (init): moved lfun_item in method
1636 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
1638 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1640 * BufferView2.C (theLockingInset): white space.
1642 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1644 * minibuffer.C: include <iostream>
1646 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
1648 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
1650 * commandtags.h: add LFUN_TRANSPOSE_CHARS
1652 * text.[Ch] (TransposeChars): new method
1654 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1656 * call message directly through LyXView instead of through LyXFunc
1657 * BufferView2.C: adjust
1658 * BufferView_pimpl.C: adjust
1659 * FontLoader.C: adjust
1661 * bufferview_funcs.C: adjust
1662 * converter.C: adjust
1663 * figureForm.C: adjust
1664 * importer.C: adjust
1666 * lyx_gui_misc.C: adjust
1670 + more files in subdirs
1672 * lyxparagraph.h (size): move up int file
1675 * adjust all uses of Assert to lyx::Assert.
1677 * BufferView2.C (ChangeCitationsIfUnique): adjust for
1678 lyxfunctional in namespace lyx
1679 * layout.C (hasLayout): ditto
1682 (delete_layout): ditto
1683 (NumberOfClass): ditto
1684 * converter.C (GetFormat): ditto
1689 * bufferlist.C (getFileNames): ditto
1690 (emergencyWriteAll): ditto
1693 * MenuBackend.C (hasSubmenu): ditto
1696 * BufferView_pimpl.C (getInsetByCode): ditto
1698 2001-04-18 Juergen Vigna <jug@sad.it>
1700 * vspace.C (asLatexString): fixed the 100% problem.
1702 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1704 * lyxfunc.C (Dispatch):
1706 * minibuffer.h: add a few std:: qualifiers
1708 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1710 * minibuffer.[Ch]: reimplement so that commands is initiated and
1711 run from lyxfunc, simplified som handling, and made the completion
1712 and history code for complete. wip.
1714 * lyxfunc.C (processKeySym): call message
1715 (miniDispatch): new temporary method
1716 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
1717 (LFUN_MESSAGE): implement
1718 (LFUN_MESSAGE_PUSH): implement
1719 (LFUN_MESSAGE_POP): implement
1720 (initMiniBuffer): the initial/defualt minibuffer message.
1722 * lyxfont.[Ch]: inline some more getters
1724 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
1726 * lyx_gui_misc.[Ch] (WriteStatus): remove method
1728 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
1729 (AutoSave): use LFUN_MESSAGE
1730 (Reconfigure): ditto
1732 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
1734 * figureForm.C: use LFUN_MESSAGE
1736 * converter.C (runLaTeX): use LFUN_MESSAGE
1738 * bufferview_funcs.C: use LFUN_MESSAGE
1740 (changeDepth): ditto
1742 * bufferparams.h: use boost::
1744 * bufferlist.h: inherit privately from noncopyable
1746 * bufferlist.C (loadLyXFile): remove some commented code.
1748 * buffer.C (runChktex): use LFUN_MESSAGE
1750 * ShareContainer.h: inherit privately from noncopyable
1752 * ParagraphParameters.[hC] (depth): inline it.
1754 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
1756 (message): new method
1757 (messagePush): ditto
1759 (show): init minibuffer
1760 (showState): direct call
1762 * LaTeX.[Ch]: inherit privately from noncopyable
1763 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
1764 instead of WriteStatus.
1766 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
1768 * BufferView_pimpl.C (buffer): don't init minibuffer
1769 (workAreaButtonPress): use LFUN_MESSAGE
1770 (workAreaButtonRelease): ditto
1771 (savePosition): ditto
1772 (restorePosition): ditto
1773 (MenuInsertLyXFile): ditto
1774 (workAreaExpose): don't init minibuffer
1775 (update): remove commented code, simplify
1777 * BufferView2.C (openStuff): use LFUN_MESSAGE
1778 (toggleFloat): ditto
1781 (copyEnvironment): ditto
1782 (pasteEnvironment): ditto
1787 (updateInset): remove some commented code
1789 * lastfiles.h: inherit privately from noncopyable
1794 * lyxlex_pimpl.h: ditto
1796 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
1797 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
1798 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1800 * LyXAction.h: inherit privately from noncopyable, add methods
1801 func_begin, func_end, returning iterators to the func map.
1803 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
1804 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1805 (func_begin): new method
1806 (func_end): new method
1808 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
1810 (copySelection): ditto
1811 (pasteSelection): ditto
1813 * BufferView.C: whitespace change
1814 * BufferView.h: inherit privately from noncopyable
1816 2001-04-16 Allan Rae <rae@lyx.org>
1818 * tabular-old.C (l_getline):
1819 * spellchecker.C (sc_check_word):
1820 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
1821 an unrecognised preprocessor directive. So ensure they're wrapped.
1823 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
1825 * src/exporter.C (Export): Give an error message when path to file
1828 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
1830 * LaTeX.C (deplog): Always check that foundfile exists.
1832 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1835 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
1837 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1839 * tabular.[Ch] (getLabelList): implement new method
1841 * minibuffer.h: comment ouf setTiimer
1843 * minibuffer.C (ExecutingCB): constify res
1844 (peek_event): constify s
1845 (Set): constify ntext
1846 (Init): constify nicename
1848 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
1850 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
1851 (savePosition): use two params to Minibuffer::Set
1852 (restorePosition): ditto
1854 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1856 * lyx_main.C: include language.h
1858 * Makefile.am (lyx_main.o): add language.h
1860 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1866 * CutAndPaste.C: include gettext.h
1868 * lyxfont.h: remove old hack with ON and OFF.
1871 * lyxfont.h: do not include language.h...
1876 * bufferview_funcs.C:
1882 * paragraph.C: ... but do it here instead
1884 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1886 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
1888 * tabular.C: small reformat
1890 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
1893 (BreakParagraph): ditto
1894 (SetOnlyLayout): ditto
1897 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
1900 * lastfiles.C: removed most using decl, add std:: where needed
1902 * buffer.C: ws changes
1904 * MenuBackend.C (class compare_format): put into anon namespace
1905 (expand): constify label, names, action, action2
1908 * text.C (SingleWidth): constify font
1909 (IsBoundary): constify rtl2
1910 (GetVisibleRow): constify ww
1912 * LaTeX.C (deplog): constify logfile
1914 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
1916 (workAreaExpose): constify widthChange, heightChange
1918 * lyxrow.C (par): moved
1921 * lyxrow.h: as inlines here
1923 * lyxfont.h (shape): moved from lyxfont.C
1924 (emph): moved from lyxfont.C
1926 * lyxfont.C (LyXFont): use initialization list for all
1928 (shape): move to lyxfont.h as inline
1929 (emph): move to lyxfont.h as inline
1932 2001-04-04 Juergen Vigna <jug@sad.it>
1934 * vspace.C: had to include stdio.h for use of sscanf
1936 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
1939 * BufferView_pimpl.h: remove xforms cruft. Both classes are
1940 independent of xforms.
1942 2001-04-02 Juergen Vigna <jug@sad.it>
1944 * spellchecker.C: fixed namespace placing!
1946 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1948 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
1949 the LyXParagraph * is 0.
1951 2001-03-29 Juergen Vigna <jug@sad.it>
1953 * vspace.C: added support for %, c%, p%, l%.
1954 (stringFromUnit): added helper function.
1955 (asLatexString): changed to give right results for the %-values.
1957 * buffer.C: convert the widthp in a width%.
1959 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1961 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
1964 * figureForm.[Ch]: stripped the FD_from_figure manipulation
1965 code out of lux_cb.[Ch], ready for its (imminent?) removal.
1967 * lyx_cb.[Ch]: see above.
1969 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
1973 * lyx.[Ch]: replaced by figure_form.[Ch].
1977 * lyxfunc.C: changed headers associated with above changes.
1979 2001-03-27 Juergen Vigna <jug@sad.it>
1981 * BufferView_pimpl.C: set the temporary cursor right!
1983 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1985 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
1987 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1989 * LString.h: removed "using std::getline"!
1991 * BufferView_pimpl.C (Dispatch): changes due to changes in
1992 InsetInclude::Params.
1994 * buffer.C (tag_name): removed redundant break statements as they were
1995 producing lots of warnings with my compiler.
1997 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1999 * LString.h: add "using std::getline" when using the real <string>.
2001 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
2003 * buffer.C: removed bitset usage.
2004 PAR_TAG moved to an anonymous name space.
2005 (tag_name): new funtion, also in the anonymous namespace.
2006 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
2007 (makeDocBookFile): clean code. Completed transition from string arrays
2009 (SimpleDocBookOnePar): code clean.
2011 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2013 * tabular.C: add some comments.
2015 2001-03-22 Juergen Vigna <jug@sad.it>
2017 * buffer.C (parseSingleLyXformat2Token): redone the minipage
2018 compatibility read a bit and fixed bug with minipage in different
2021 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
2023 * buffer.C (pop_tag): removed.
2024 (push_tag): removed.
2025 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
2026 array replaced with vector. Added support for CDATA sections.
2027 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
2029 (makeDocBookFile): XML conformant declaration of CDATA section,
2030 fixed bug related to <emphasis> in the first paragraph char.
2031 (sgmlOpenTag): exclude empty tags.
2032 (sgmlCloseTag): ditto.
2034 * buffer.h (pop_tag): removed.
2035 (push_tag): removed.
2037 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
2039 * language.h (Languages): added size_type and size().
2041 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2043 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
2044 response on compability reading of minipages. One probliem is that
2045 the old usage of minipages was «flertydig»
2047 * several files here and in subdirs: don't use static at file
2048 scope use anon namespaces instead.
2050 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
2052 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
2053 LaTeX output. This is necessary for Literate document
2056 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2058 * buffer.C: insert hfill when needed.
2060 * tabular.C (l_getline): use string::erase, small whitespace change.
2062 * BufferView_pimpl.C: try the anon namespace.
2065 2001-03-16 Juergen Vigna <jug@sad.it>
2067 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
2068 otherwise it won't open options-dialogs.
2070 * buffer.C: honor pextraWidth(p) on converting minipages.
2072 * tabular.C (l_getline): changed the functions to strip trailing \r.
2074 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
2076 * BufferView_pimpl.C:
2077 * minibuffer..C: added "using SigC::slot" declaration.
2079 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2081 * lyxlex_pimpl.h: noncopyable is in namespace boost.
2087 * paragraph.C: ditto
2089 * lyxtext.h: NO_PEXTRA
2091 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
2093 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
2094 * ParameterStruct.h: ditto
2095 * ParagraphParameters.h: ditto
2096 * lyxparagraph.h: ditto
2098 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2100 * buffer.C: add compability for minipage alignment.
2101 (latexParagraphs): remove unwanted pextra check.
2103 * several files: remove CXX_WORKING_NAMESPACES
2105 * buffer.C (pop_tag): tie is in namespace boost
2107 * BufferView.h: noncopyable is in namespace boost
2112 * lastfiles.h: ditto
2113 * bufferlist.h: ditto
2114 * ShareContainer.h: ditto
2116 * LyXAction.h: ditto
2119 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2121 * Merging changes from BRANCH_MVC back into HEAD.
2123 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
2125 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
2127 * BufferView_pimpl.C: change from intl.C
2131 * Makefile.am: move combox.*
2137 * intl.C: remove dialog (covered by prefs)
2139 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2141 * lyxfunc.C (Dispatch): removed redundant break statement.
2143 2001-03-14 Juergen Vigna <jug@sad.it>
2145 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
2147 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2149 * buffer.C: add hack to fix compability reading of minipages.
2151 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
2153 * buffer.C (getLists): Cleanup.
2155 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2157 * lyxfont.C (update): don't honor toggleall on font size.
2159 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
2163 * Makefile.am: moved to frontends/xforms/
2167 * BufferView_pimpl.C: changes for moved mathpanel
2169 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2171 * gettext.h: fix gettext_init() in --disable-nls
2173 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2175 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
2177 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
2180 * lyx.h: strip external form
2182 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2184 * BufferView_pimpl.C: add comment, destroySplash()
2186 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2188 * BufferView_pimpl.C:
2192 * lyxfunc.C: use re-worked insetinclude
2194 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2196 * buffer.C: add using std::stringstream.
2198 * lyx_cb.C: readd using std::ios.
2200 * buffer.C: add using std::map.
2202 * BufferView_pimpl.C: add using std::vector.
2204 * ShareContainer.h: add std:: to swap.
2206 * buffer.h: add some typedefs
2207 * buffer.C (getLists): use them
2208 (getLists): renamed from getTocList.
2209 add a counter for the different float types and use it in the
2211 (getLists): use the same counter for the NEW_INSETS and the "non"
2214 * lyx_cb.h: remove unused items, includes, using etc.
2216 * ShareContainer.h: remove some commented code, add more comments
2217 and "documentation".
2219 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2221 * buffer.C (getTocList): make the list also when NEW_INSETS is
2224 * buffer.h: remove TocType
2226 * buffer.C (getTocList): change to return a map<string,
2227 vector<TocItem> >, implement for dynamic number of list.
2229 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
2230 * text2.C (PasteSelection): adjust
2231 * CutAndPaste.C (pasteSelection): adjust
2233 * FloatList.C (FloatList): update from the new_insets branch.
2234 * Floating.[Ch]: ditto
2235 * LaTeXFeatures.C: ditto
2237 * lyxlex_pimpl.C: ditto
2239 * paragraph.C (Last): remove when NEW_INSETS is defined.
2241 * other file: changes because of the above.
2243 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2245 * lyxparagraph.h: rename next to next_, previous to previous_,
2246 make them private for NEW_INSETS. Rename Next() to next(),
2247 Previous() to previous().
2249 * other files: changes because of the above.
2251 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
2254 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
2257 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2259 * main.C (main): pass lyx_localedir to gettext_init().
2261 * gettext.h: remove locale_init and gettext_init macros
2263 * gettext.C (locale_init): new function
2264 (gettext_init): new function
2266 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
2269 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
2271 * Moved credits to frontends:
2272 * credits.[Ch]: removed
2273 * credits_form.[Ch]: removed
2274 * lyx_gui_misc.C: remove credits stuff
2277 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2279 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
2281 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
2282 unneeded destructor.
2284 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
2285 a standalone pointer again.
2287 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
2289 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
2295 * ToolbarDefaults.C:
2304 * BufferView_pimpl.C: use new file dialog in GUII
2307 * lyx_cb.C: remove LayoutsCB to Toolbar
2309 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2311 * ShareContainer.h (get): add std:: qualifier
2313 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2315 * ShareContainer.h: define a proper ShareContainer::value_type
2316 type (and use typename to please compaq cxx)
2318 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2320 * lyxparagraph.h: move serveral local vars to
2321 ParameterStruct/ParagraphParameters., use ShareContainer in
2322 FontTable., make vars in FontTable private and add getter and
2325 * paragraph.C: changes because of the above.
2327 * lyxfont.h: remove copy constructor and copy assignment. (the
2328 default ones is ok), move number inside FontBits. move inlines to
2331 * lyxfont.C: add number to initializaton of statics, move several
2332 inlines here. constify several local vars. some whitespace
2333 cleanup. Dont hide outerscope variables.
2335 * Spacing.h: add two new constructors to match the set methods.
2337 * ShareContainer.h: new file, will perhaps be moved to support
2339 * ParameterStruct.h: new file
2341 * ParagraphParameters.h: new file
2343 * ParagraphParameters.C: new file
2345 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
2346 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
2348 * BufferView_pimpl.C: ParagraphParameter changes.
2349 * buffer.C: Likewise.
2350 * bufferview_funcs.C: Likewise.
2352 * text2.C: Likewise.
2354 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2356 * lyxfind.C (LyXReplace): do not redefine default argument in
2358 (IsStringInText): ditto
2359 (SearchForward): ditto
2360 (SearchBackward): ditto
2362 2001-03-06 Juergen Vigna <jug@sad.it>
2364 * lyxfind.C (IsStringInText): put parentes around expressions.
2366 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
2368 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
2370 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
2372 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
2374 * stl_string_fwd.h: add comment
2376 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
2379 * tabular.C: remove unused DocBook methods
2385 killed DO_USE_DEFAULT_LANGUAGE
2387 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2389 * lyx_gui.C: do not include language.h.
2391 * bufferview_funcs.C (ToggleAndShow): do not provide optional
2392 arguments in function implementation.
2394 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2396 * BufferView_pimpl.C: add <ctime>
2398 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2400 * BufferView_pimpl.C: add using std::find_if
2402 2001-02-27 José Matos <jamatos@fep.up.pt>
2404 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
2407 2001-02-11 José Matos <jamatos@fep.up.pt>
2409 * buffer.C (makeDocBookFile): command styles now have a parameter as
2412 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
2414 * layout_forms.[Ch]: removed
2415 * lyx_cb.[Ch]: out character
2416 * lyx_gui.C: out character
2417 * lyx_gui_misc.C: out character
2418 * bufferview_funcs.C: : out character,
2419 added toggleall as parameter in ToggleAndShow
2421 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
2423 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
2425 * text2.C (SetCurrentFont): Disable number property at boundary.
2427 2001-02-26 Juergen Vigna <jug@sad.it>
2429 * lyxfunc.C (getStatus): added a string argument override function so
2430 that this is correctly called from LyXFunc::Dispatch if it contains a
2431 do_not_use_argument which is used!
2432 (Dispatch): added check for "custom" export and call appropriate func.
2434 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
2436 * lyxrc.C: Add language_command_local, language_use_babel and
2437 language_global_options.
2439 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
2441 * buffer.C (makeLaTeXFile): Use language_use_babel and
2442 language_global_options.
2444 2001-02-23 Juergen Vigna <jug@sad.it>
2446 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
2447 which works with LyXText and putted it inside BufferView. Here now we
2448 only call for that part the BufferView::Dispatch() function.
2450 * BufferView.C (Dispatch): added.
2452 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
2453 functions which needs to use a LyXText over from LyXFunc.
2454 (MenuInsertLyXFile): added
2455 (getInsetByCode): added
2456 (moveCursorUpdate): added
2457 (static TEXT): added
2459 2001-02-22 Juergen Vigna <jug@sad.it>
2461 * BufferView_pimpl.C (update): call a status update to see if LyXText
2464 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2466 * vc-backend.C (revert): implement for CVS
2467 (getLog): implement for CVS
2469 2001-02-20 Juergen Vigna <jug@sad.it>
2471 * text2.C (ClearSelection): added BufferView param for inset_owner call
2473 * lyxfunc.C (TEXT): added this function and use it instead of
2474 directly owner->view()-text of getLyXText().
2476 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
2478 * src/layout_forms.C: out preamble
2479 * src/layout_forms.h: out preamble
2480 * src/lyx_cb.C: out preamble
2481 * src/lyx_cb.h: out preamble
2482 * src/lyx_gui.C: out preamble
2483 * src/lyx_gui_misc.C: out preamble
2484 * src/lyxfunc.C: connect with guii preamble
2486 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
2488 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
2490 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
2492 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
2493 whether to run bibtex.
2495 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
2497 * Makefile.am (lyx_SOURCES): Remove BackStack.h
2499 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
2501 * Makefile.am (lyx_SOURCES): removed bibforms.h
2505 * text.C (GetVisibleRow): make several local vars const
2507 * tabular.C: small cleanup.
2509 * lyxserver.C (callback): use compare instead of strncmp
2511 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
2512 inlines to after class or to paragraph.C
2514 * lyxfont.h: remove friend operator!=
2516 * converter.h: move friend bool operator< to non friend and after
2519 * combox.h: small cleanup
2521 * buffer.h: doxygen, remove unused constructor, move inclas inlies
2522 to inlines after class def.
2524 * buffer.C (pop_tag): use string operations instead of strcmp
2526 * bmtable.c: doxygen, small cleanup
2528 * LaTeX.h: remove friend operator==
2530 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2542 * BufferView_pimpl.C:
2543 * BufferView.[Ch]: remove cruft
2545 2001-02-14 Juergen Vigna <jug@sad.it>
2547 * lyxfunc.C: removed #if 0 unused code
2549 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
2551 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
2553 * text2.C (SetSelection): added a BufferView * parameter
2555 2001-02-13 Juergen Vigna <jug@sad.it>
2557 * lyxfunc.C (Dispatch): fixed protected blank problem.
2558 * BufferView2.C (protectedBlank): added LyxText * parameter.
2560 * tabular.C (AppendRow): forgot to set row_info of newly added row.
2561 (AppendColumn): same as above for column_info.
2563 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
2564 (moveCursorUpdate): use a LyXText param for support of InsetText.
2566 * BufferView_pimpl.C (doubleClick): added support for InsetText.
2567 (tripleClick): ditto
2569 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
2571 * BufferView_pimpl.C (update): added LyXText param to honor insets.
2573 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
2575 * text2.C (SetSelection): set correct update status if inset_owner
2578 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
2580 * tabular.C: remove some commented code.
2582 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
2584 * BufferView_pimpl.C: call hideSplash()
2586 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
2589 * bibforms.h: remove
2592 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
2593 add LFUN_CHILD_CREATE
2595 * counters.h: fix tiny typo
2600 * lyx.C: move splash to frontends/xforms/
2602 * lyx_gui_misc.C: move Include and Bibform to frontends
2604 * lyxvc.h: clarify comment
2606 * vspace.C: tiny housekeeping
2608 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
2610 * text.C (PrepareToPrint): RTL Fix.
2612 * paragraph.C (GetUChar): New method.
2613 (String): Use GetUChar.
2615 * buffer.C (asciiParagraph): Use GetUChar.
2617 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
2619 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
2621 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
2624 * buffer.C: rename to getLogName(), handle
2625 build log / latex log nicely
2627 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2630 * MenuBackend.h: remove support for reference menuitem type.
2632 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
2634 * BufferView_pimpl.C: housekeeping
2635 * BufferView_pimpl.h:
2640 * minibuffer.h: move Timeout GUI-I
2642 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
2644 * lyxrc.C (read): Update converters data-structures.
2646 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
2648 * LaTeX.h (operator!=): add operator != for Aux_Info
2650 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
2652 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
2654 * LaTeXLog.C: deleted, useful code moved to Buffer
2657 * buffer.C: new function getLatexLogName()
2663 * lyxfunc.C: use frontends for LaTeX and VC logs
2665 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2667 * LaTeX.h: yet another std:: that Allan forgot.
2669 * Variables.C (set): renamed from isset(), because this clashes
2670 with some HP-UX macros (grr).
2672 2001-02-06 Allan Rae <rae@lyx.org>
2674 * LaTeX.h: Another bug fix. Missing std:: this time.
2676 2001-02-04 Allan Rae <rae@lyx.org>
2678 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
2679 floats problem. I've left it commented out because it's not quite
2680 correct. It should also test that the current object is a table or
2681 figure inset. But I haven't gotten around to figuring out how to do
2682 that. I *think* it'll be something like: "table" == inset.type()
2684 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
2687 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
2689 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
2690 all the citation/databases/styles in the auxilary file.
2691 (run): Rerun latex if there was a babel language error.
2693 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
2695 * text.C (Backspace): Preserve the font when changing newline char
2697 (BreakParagraph): If the cursor is before a space, delete the space.
2699 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
2701 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
2703 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
2704 new argument (code).
2705 (ChangeCitationsIfUnique): New method.
2707 * paragraph.C (GetPositionOfInset): Handle bibkey.
2709 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2711 * BufferView_pimpl.h: change type of Position::par_pos to
2712 LyXParagraph::size_type.
2714 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
2716 * BufferView_pimpl.C (savePosition, restorePosition): Write
2717 messages to minibuffer.
2719 2001-01-28 José Matos <jamatos@fep.up.pt>
2721 * buffer.C (makeDocBookFile): adds support for document language.
2722 A silly restriction on the name of LatexCommand types where removed.
2723 Added support for CDATA sections, allows to chars unescaped, used
2724 among others in code, to avoid escape < and >.
2726 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2728 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
2729 saved positions instrad of a stack. Furthermore, a position is
2730 stored using paragraph id/paragraph position.
2732 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
2733 Remove LFUN_REF_BACK.
2735 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2737 * converter.C (dvipdfm_options): New method.
2739 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
2741 * vspace.C (isValidLength): Fix for empty input string.
2743 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2745 * LyXAction.C (init): change description of LFUN_FIGURE to
2748 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2750 * LaTeX.C: add using directive
2752 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2754 * MenuBackend.C (expand): Fix the sorting of the formats.
2756 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
2758 * lyx_main.C: tiny error message fix
2760 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2762 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
2763 calling fl_initialize(). This fixes the problem with ',' as
2764 decimal separator in text files.
2766 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2768 * trans.C (process): Fix the keymap bug.
2770 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
2772 * LaTeX.C (scanAuxFiles): New method. Provides support for
2773 multiple bibliographies (when using the bibtopic/bibunits pacakges).
2774 (scanLogFile) Scan for "run BibTeX" messages.
2776 * buffer.C (makeLaTeXFile): Do not load the ae package when using
2777 OT1 font encoding. Also, load the aecompl package if the ae
2780 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
2782 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2784 * texrow.C (increasePos): turn two error messages into debug
2787 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
2789 * LaTeX.C (scanAux): Handle the \@input macro.
2790 (runBibTeX): Use scanAux().
2792 * language.C (latex_options_): New field.
2794 * LaTeXFeatures.C (getMacros): Add language macros.
2796 * buffer.C (makeLaTeXFile): Small fix.
2798 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2800 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
2802 * text2.C: add a using directive.
2804 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
2809 * lyxfunc.C: kill LyXBell.
2811 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
2813 * text.C (IsBoundary): Remove the error message
2815 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
2817 * lyxrc.C (setDefaults): Correct initialization value for
2820 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
2822 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
2825 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
2828 * src/LyXAction.C: Added reference-next.
2830 * text.C (InsertChar): Use contains instead of strchr.
2832 * lyx_cb.C (MenuInsertLabel): Enable default value code.
2834 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
2836 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
2837 alignment commands (when needed).
2839 * text.C (InsertChar): Add ':' to number separator chars.