1 2001-08-06 Juergen Vigna <jug@sad.it>
3 * text.C (getVisibleRow): fix up row clearing a bit.
5 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7 * minibuffer.C: make sure the X server sees the changes in the input.
9 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11 * paragraph.C (getFont): split into...
13 (getLayoutFont): and this
14 * paragraph_pimpl.C (realizeFont): calling this
16 * text2.C (getFont): split into...
18 (getLabelFont): and this
19 (realizeFont): all three calling this
21 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
24 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
26 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
28 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
30 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
31 layouts from the Quote inset insertion.
33 2001-08-03 Juergen Vigna <jug@sad.it>
35 * BufferView_pimpl.C (update): do the fitCursor only at the end!
37 * screen.C (drawFromTo): don't call fitcursor here and do the loop
38 only if status not is already CHANGED_IN_DRAW (second level).
40 * text.C (draw): don't set the need_break_row when inside an
43 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
45 * buffer.C (parseSingleLyXformat2Token): handle more latex
48 * bufferview_funcs.[hC]: change function names to
49 begin with small char, adjust other files.
51 2001-08-02 André Pönitz <poenitz@gmx.net>
54 BufferView_pimpl.C: remove broken special code for math-greek
56 2001-08-02 Juergen Vigna <jug@sad.it>
58 * BufferView_pimpl.C (update): redone this function so that we
59 update the text again if there was a CHANGE_IN_DRAW.
61 * screen.C (cursorToggle): removed LyXText parameter and recoded.
62 (drawFromTo): added a new internal bool which is used by draw() and
64 (general): some cursor drawing problems fixed.
66 2001-08-01 Juergen Vigna <jug@sad.it>
68 * lyxfind.C (LyXFind): fixed
69 (SearchForward): ditto
70 (SearchBackward): ditto
72 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
73 spurius drawing of the cursor in the main area.
75 * text2.C (status): small fix which could lead to a segfault!
76 (clearSelection): remove unneeded BufferView param.
78 2001-08-01 André Pönitz <poenitz@gmx.net>
80 * lyxfunc.C: small change due to changed mathed interface
82 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
84 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
86 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
88 * lyxfunc.c: fail gracefully if file doesn't exist
93 * BufferView_pimpl.C: IsDirWriteable() proto changed
95 * LyXView.C: fix updateWindowTitle() to store the last title
97 2001-07-31 Juergen Vigna <jug@sad.it>
99 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
100 the font (wrong since using of Paragraph::highestFontInRange).
102 * paragraph.C (highestFontInRange): added a default_size parameter.
104 * text.C (getVisibleRow): minor clear row changes (still not perfect).
105 (setHeightOfRow): reformat
107 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
109 * converter.[hC] + affected files: move to (inital-char)lowercase
112 * ParagraphParameters.C (ParagraphParameters): remove commented code
114 * PainterBase.[Ch]: remove commented code
116 * LaTeXFeatures.h: add "bool floats" for float.sty
118 * LaTeXFeatures.C (LaTeXFeatures): init floats
119 (require): handle float
120 (getPackages): do it with floats
122 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
124 * BufferView_pimpl.C (Dispatch): improve handling of
125 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
127 * commandtags.h: #include lyxfont.h here temporarily to avoid
130 * bufferlist.h: include LString.h here.
132 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
134 * text2.C (getStringToIndex): new method.
136 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
138 * *: Reduced header file dependencies all over.
140 2001-07-30 Baruch Even <baruch@lyx.org>
142 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
144 2001-07-29 Baruch Even <baruch@lyx.org>
146 * buffer.C (readInset): Changed GRAPHICS to Graphics.
148 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
150 * ParameterStruct.h (endif): add a default constructor to make
151 sure that all variables is initialized.
153 * ParagraphParameters.C (ParagraphParameters): adjust
155 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
157 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
158 index; also, check that there is something to index, and that it
159 does not span over several paragraphs.
160 (doubleClick): use WHOLE_WORD_STRICT for double click.
162 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
164 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
167 2001-07-26 Baruch Even <baruch@lyx.org>
169 * buffer.C (readInset): Changed to call up InsetGraphics when reading
170 an InsetFig figure, backwards compatible reading of old figure code.
172 2001-07-27 Juergen Vigna <jug@sad.it>
174 * text2.C: font.realize function adaption.
176 * text.C (draw): add a warnings lyxerr text if needed.
178 * layout.C: font.realize function adaption.
180 * language.C: add inherit_language and implement it's handlings
182 * bufferview_funcs.C (StyleReset): remove language parameter from
183 font creation (should be language_inherit now).
185 * bufferparams.C (writeFile): handle ignore_language.
187 * paragraph.C (getFontSettings): the language has to be resolved
188 otherwise we have problems in LyXFont!
190 * lyxfont.C (lyxWriteChanges): added document_language parameter
191 (update): removed unneeded language parameter
193 * paragraph.C (validate): fixed wrong output of color-package when
194 using interface colors for certain fonts in certain environments,
195 which should not seen as that on the final output.
197 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
199 * BufferView_pimpl.C:
204 * LyXAction.C: add thesaurus support
207 * lyxfind.C: add "once" parameter, for thesaurus, to not
208 move to the next match
210 2001-07-26 Juergen Vigna <jug@sad.it>
212 * lyxfont.C (realize): honor ignore_language too!
215 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
217 * text.C (draw): one place more for ignore_language to not draw
220 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
222 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
224 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
226 * buffer.C (parseSingleLyXformat2Token): a more general fix for
227 the minipage conversion problem.
229 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
231 * buffer.C (parseSingleLyXformat2Token): check minipage if we
234 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
236 * BufferView.h: don't forward declare WorkArea
238 * BufferView.C: don't include WorkArea.h
240 2001-07-25 André Pönitz <poenitz@gmx.net>
244 * lyxfunc.C: new LFUN 'math-space'
246 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
248 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
250 * text2.C (toggleInset): call open/close
252 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
254 * lyxfunc.C (dispatch): add debug for the disabled case
256 * font.C (buttonText): make similar to rectText
258 * buffer.C (readInset): comment out parsing of insetlist and
261 * PainterBase.C (rectText): small correction
263 * BufferView_pimpl.C: comment out insettheorem and insetlist
265 * commandtags.h: ditto
267 2001-07-24 Juergen Vigna <jug@sad.it>
269 * text.C (draw): honor the ignore_language.
271 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
273 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
275 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
278 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
280 * lyxtext.h: remove unused (and unimplemented) methods
282 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
284 * text.C (getVisibleRow): honor background color
287 * Painter.h: remove default color argument for fillRectangle
289 * text.C (backgroundColor): new method
291 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
293 * text.C (getVisibleRow): adjust
295 * font.[Ch] (rectText): new method, metrics
296 (buttonText): new method, metrics
298 * PainterBase.[hC]: make rectText and buttonText always draw and take
301 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
303 * ToolbarDefaults.C (read):
304 * MenuBackend.C (read): allow escaping in all strings
306 * BufferView_pimpl.C (insertAndEditInset): new method.
307 (Dispatch): use insertAndEditInset whenever appropriate.
309 * BufferView_pimpl.C (insertNote): removed
311 * BufferView_pimpl.C (smartQuote): new method, moved from
312 BufferView; if an insetquote cannot be inserted, insert a '"'
315 * BufferView2.C: remove insertCorrectQuote();
317 * lyxfunc.C (getStatus): Add support for all remaingin
320 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
322 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
323 command (necessary to pass " as parameter of self-insert.
325 * text.C (selectWordWhenUnderCursor):
326 (selectWord): add word_location parameter
327 (selectWordWhenUnderCursor): same + remove special code for word
329 (selectNextWord): use kind() to guess type of insetspecialchar,
332 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
333 (insertErtContents): create ert insets as collapsed.
334 (readInset): better compatibility code for Info inset.
336 2001-07-20 Juergen Vigna <jug@sad.it>
338 * lyxfunc.C (dispatch): use always LyXFind now!
340 * text2.C (init): add a reinit flag so that the LyXText can be
341 reinited instead of deleted and reallocated (used in InsetText).
343 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
349 2001-07-18 Juergen Vigna <jug@sad.it>
351 * text.C (selectNextWord): handle insets inside inset by calling
352 always the bv->text functions so that we can go up the_locking_inset!
354 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
355 in strange locations when inside an inset!
357 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
358 handling to include insets.
360 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
362 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
364 * LyXAction.C (init):
366 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
367 LIGATURE_BREAK, since the name is so stupid.
369 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
371 * buffer.C (readInset): enable reading of new InsetNotes as well as old
374 * FontLoader.C: remove FORMS_H_LOCATION cruft.
376 * sp_form.[Ch]: remove.
378 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
380 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
383 * src/buffer.C (readInset): ditto.
385 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
387 * BufferView_pimpl.C (specialChar): new method. Obsoletes
388 menuSeparator(), endOfSentenceDot(), ldots() and
389 hyphenationPoint(), which are therefore removed.
390 (Dispatch): handle LFUN_HYPHENATION_BREAK.
392 * LyXAction.C (init):
393 * commandtags.h: add LFUN_HYPHENATION_BREAK.
395 * paragraph.C (getWord): removed.
397 * BufferView_pimpl.C (Dispatch): use last word or selection for
398 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
400 * lyx_main.C (queryUserLyXDir): do not ask before creating
401 user_dir, except if it has been named explicitely.
403 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
405 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
406 a document of zero size.
408 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
410 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
411 approriately in the c-tor and in require().
412 (getPackages): output the appropriate LaTeX for natbib support.
414 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
415 variables "use_natbib" and "use_numerical_citations" when reading the
417 (readInset): read the various natbib cite commands.
418 (validate): white-space change.
420 * bufferparams.[Ch]: new variables "bool use_natbib" and
421 "bool use_numerical_citations".
422 (writeFile): output them in the LyX file.
424 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
426 * lyxfunc.C (getStatus): add support for all the inset insertion
429 * text2.C (insertInset):
430 * paragraph.C (insetAllowed):
431 * BufferView_pimpl.C (insertInset): update to take in account the
432 renaming of insertInsetAllowed
434 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
436 * text2.C (getInset): new method. returns inset at cursor position.
438 * BufferView_pimpl.C (Dispatch): changes because of this.
440 * LyXAction.C (init): rename open-stuff to inset-toggle.
442 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
444 * text2.C (toggleInset): renamed from openStuff; use
447 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
449 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
451 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
453 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
455 * buffer.C (readLyXformat2): Add filename to the error dialog
457 2001-07-18 Juergen Vigna <jug@sad.it>
459 * tabular.C (GetCellNumber): put an assert here instead of the check!
461 2001-07-17 Juergen Vigna <jug@sad.it>
463 * BufferView_pimpl.C (toggleSelection): adapted too.
465 * text.C (selectNextWord): adapted for use with insets.
466 (selectSelectedWord): ditto
468 2001-07-17 Juergen Vigna <jug@sad.it>
470 * sp_spell.C (PSpell): fix initialitation order.
472 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
474 * paragraph.C: spacing
476 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
478 * sp_spell.C: repair language selection for pspell
480 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
482 * lyxfunc.h: change more methods to begin with lower char.
484 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
486 * buffer.C (parseSingleLyXformat2Token): Generate error insets
489 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
491 * buffer.C (readLyXformat2): Generate an error dialog if there are
494 2001-07-16 Juergen Vigna <jug@sad.it>
496 * sp_spell.C: always compile ISpell part.
498 * lyxrc.C: added use_pspell entry and it's handling.
500 2001-07-13 Juergen Vigna <jug@sad.it>
502 * sp_spell.C: removed double includes.
504 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
506 Consistent use of Lsstream.h:
507 * Lsstream.h: added using std::stringstream for consistencies sake.
509 * buffer.C: removed using std::stringstream
511 * lyxfont.C (stateText):
512 * paragraph.C (asString):
513 * text.C (selectNextWord, selectSelectedWord):
514 * text2.C (setCounter):
515 * vspace.C (asString, asLatexString):
516 std::ostringstream -> ostringstream.
518 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
520 * LyXAction.C: add LFUN_HELP_ABOUTLYX
521 * commandtags.h: add LFUN_HELP_ABOUTLYX
522 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
524 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
526 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
528 * lyx_gui_misc.C: remove spellchecker
529 * lyxfunc.C: showSpellchecker
534 * sp_form.[Ch]: removed
535 * spellchecker.[Ch]: removed
537 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
539 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
541 (simpleTeXSpecialChars): Simply print the input character without
542 any special translation if pass_thru is set.
544 * layout.h: Added bool pass_thru to layout class for being able to
545 implement pass through of a paragraph for Literate Programming.
547 * layout.C: add LT_PASS_THRU to LayoutTags enum.
548 * layout.C (LyXLayout): set pass_thru to flase in constructor.
549 * layout.C (Read): add "passthru" to list of layout tags and add
550 code to set the pass_thru boolean when it is read.
552 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
554 * trans_decl.h: remove allowed from KmodInfo
556 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
560 * paragraph_pimpl.C (erase): use boost::prior
562 * Painter.C (text): use data() instead of c_str() when length is
564 * WorkArea.C (putClipboard): ditto
565 * font.h (width): ditto
567 * BufferView2.C: use it-> instead of (*it). for iterators
569 * paragraph_pimpl.C: ditto
571 * minibuffer.C: ditto
580 * MenuBackend.C: ditto
585 * ColorHandler.C (LyXColorHandler): ditto
587 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
589 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
591 * text2.C (openStuff): reintroduce this method (which had been
592 nuked in NEW_INSETS frenzy).
594 * lyxfunc.C (Dispatch): when an action has not been handled, use
595 its name in the error message, not its number.
597 * paragraph.C (inInset): change method name to begin with lowercase.
600 * text2.C: updates because of this.
602 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
604 * ToolbarDefaults.C (add): add spaces in error message
606 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
608 * buffer.C (readLyXformat2): initialize the ert comp. variables.
609 (readLyXformat2): rename return_par to first_par, use lyxlex's
610 pushToken and remove the manual push handling.
611 (parseSingleLyXformat2Token): add another ert comp. variable:
612 in_tabular, rename return_par to first_par. handle newlines better
614 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
616 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
618 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
620 * text2.C (getParFromID): removed
622 * buffer.C (getParFromID): new method moved form lyxtext.
623 * BufferView2.C (insertErrors): adjust
624 (setCursorFromRow): adjust
625 * BufferView_pimpl.C (restorePosition): adjust
626 * lyxfunc.C (Dispatch): adjust
627 * undo_funcs.C (textUndo): adjust
629 (textHandleUndo): adjust
630 (textHandleUndo): adjust
632 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
634 * buffer.C: up' the LYX_FORMAT
636 * lyxfont.h: turn NO_LATEX on as default
638 * buffer.C (insertErtContents): new methods of tex style compability.
639 (parseSingleLyXformat2Token): use it several places.
640 * tabular.C (OldFormatRead): and here
642 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
644 * text2.C: remove some commented code.
647 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
648 * trans.C: changes because of the above.
650 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
652 * text2.C (setCounter): Fix counters bug with bibliography layout.
654 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
656 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
658 (simpleTeXSpecialChars): ditto
660 2001-07-06 Juergen Vigna <jug@sad.it>
662 * a lot of files: changed the access to LyXText::status and the
663 call of undo-functions.
665 * undo.[Ch]: added a inset_id to the undo informations.
667 * undo_funcs.[Ch]: added and moved here all undo functions.
669 * lyxtext.h: give the status enum a weight, made status_ a private
670 variable and made accessor functions for it, removed the whole bunch
671 of undo-functions as they are now in their own file, make some
672 functions publically available. Added function ownerParagraph with
675 * paragraph.[Ch]: added "bool same_ids" to the constructor,
676 made InInset() a const function, added getParFromID() function.
678 * buffer.[Ch]: added const version for inset_iterator functions,
679 added getInsetFromID() function.
681 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
682 changed undo functions for new version.
684 2001-07-05 Juergen Vigna <jug@sad.it>
686 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
687 unknow mechanism does not call the proper constructor but only this
688 one also if I request the other!?
690 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
692 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
694 * text2.C (LyXText): use initialization lists.
696 * lyxtext.h (Selection): initialize set_ and mark_
697 (init): remove method
699 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
701 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
703 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
705 * screen.[Ch]: change method names to begin with lowercase
707 * BufferView_pimpl.C (updateScrollbar): simplify further and
708 hopefully make it a bit faster.
710 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
712 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
713 calling directly xforms functions.
715 * Painter.C (Painter):
716 * lyx_cb.C (MenuWrite):
717 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
720 * lyx_gui.C: remove bogus guiruntime extern declaration.
722 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
724 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
726 (redoDrawingOfParagraph): ditto
727 (redoParagraphs): ditto
728 (cutSelection): don't create a object for CutAndPaste use the
729 static method directly
730 (pasteSelection): ditto
732 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
735 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
737 * modifications to some other files because of this.
739 * Makefile.am (lyx_SOURCES): add XFormsView
741 * XFormsView.[Ch]: new files
743 * LyXView.[Ch]: make LyXView a base class for the gui handling for
744 the main window. Move the gui dependent stuff to XFormsView
746 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
748 * tabular.C (GetCellInset): update cur_cell also in the row/col
749 version of this function.
751 * lyxfunc.C: no need to include figure_form.h here.
757 * lyxvc.C: no need to include forms.h here.
759 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
761 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
763 * lyxfunc.C (Dispatch):
765 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
766 constructor argument.
768 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
770 * paragraph.C (Paragraph): dont't clear, and just set layout.
771 (makeSameLayout): use params's copy contructor.
773 * ParagraphParameters.[Ch] (makeSame): delete method
775 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
777 * Variables.[Ch]: fix indentation, rename set to isSet
779 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
781 * lyxfunc.C (Dispatch): fix typo
783 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
785 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
788 * bufferlist.C: include assert.h for emergencyWrite().
790 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
792 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
793 give up at last (bug #425202) !
795 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
801 * spellchecker.C: strip spellchecker options and bring up
802 preferences tab instead
804 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
806 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
807 the istringstream constructor
809 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
811 * paragraph.C (getLayout): fix return value
813 * paragraph.h: do not declare getLayout as inline.
815 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
817 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
819 * lyxcursor.h (operator<): new func
820 (operator>): new func
821 (operator>=): new func
822 (operator<=): new func
824 * text.C (changeCase): use selection.start and selection.end
825 (changeRegionCase): require from to be <= to. Require par to be a
828 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
830 2001-06-27 Juergen Vigna <jug@sad.it>
832 * text.C (cursorLeftOneWord): changed to return the cursor and added
833 overlay with BufferView * parameter which calls this one.
835 (selectWord): use new getWord function.
836 (changeCase): renamed from changeWordCase as and extended to work
839 * lyxtext.h: added enum word_location
841 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
842 changeCase as this operates now also on selections.
844 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
846 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
848 * many files: send debug output to Debug::INFO instead of
851 * converter.C (View):
853 (Move): send debug output to Debug::FILES instead of console.
855 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
857 * lyxfunc.C (getStatus): use func_status
859 * func_status.h: new header, describing the results of
862 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
865 2001-06-25 The LyX Project <jug@sad.it>
867 * buffer.C (sgmlOpenTag):
869 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
871 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
873 * text2.C: remove some dead code
875 * tabular.C (GetCellInset): store the last cell checked (gotten)
877 * tabular.h: add the helper for the speedup
879 * lyxtext.h: remove some dead code
881 2001-06-26 The LyX Project <Asger>
883 * paragraph.C: Change export to LaTeX of alignment to
884 \begin{center} and family for better roundtrip work with reLyX.
886 * Tune the math drawing a bit.
888 2001-06-25 The LyX Project <Asger>
890 * LColor.C (LColor): New color for math background. New color
893 2001-06-25 The LyX Project <jug@sad.it>
895 * lyxfunc.C (MenuNew): remove extra check for .lyx file
898 * bufferlist.C (newFile): do not restrict to files ending with
901 * BufferView_pimpl.C (MenuInsertLyXFile):
903 2001-06-24 The LyX Project <jug@sad.it>
905 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
908 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
910 * lyxtext.h: rename most methods to begin with a small char.
911 Lots of changes because of this.
913 * paragraph.C (Paragraph): do not call fitToSize
914 (erase): call Pimpl::erase
915 (insertChar): call Pimpl::insertChar
916 (insertInset): call Pipl::insertInset
917 (breakParagraph): do not call fitToSize
918 (breakParagraphConservative): do not call fitToSize
919 (fitToSize): remove method
921 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
923 2001-06-24 The LyX Project <Asger>
925 * Fix Qt compilation^2
927 2001-06-24 The LyX Project <jug@sad.it>
929 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
930 depthHook(getDepth()-1).
933 * ParagraphParameters.h:
934 * ParameterStruct.h: change type of depth to unsigned int ==
935 depth_type. Many adaptations to other files before of that.
937 2001-06-24 The LyX Project <Asger>
939 * Fix Qt compilation.
941 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
943 * paragraph.h: renamed several methods to begin with small letter.
944 several changes to many parts of the code because of this.
946 2001-06-23 The LyX Project <jug@sad.it>
948 * text2.C (InsertStringAsLines): renamed from InsertStringA;
949 rewritten to discard all double spaces when KeepEmpty is off
950 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
951 to only handle newlines but not fiddle with spaces and friends.
953 * lyxfunc.C (MenuNew): when doing 'new from template', use
954 template_path as default directory
956 2001-06-23 The LyX Project <Asger>
958 * Clean-up of header file includes all over
959 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
961 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
963 * paragraph.h: renamed from lyxparagraph.h
965 2001-06-23 Asger <lyx@violet.home.sad.it>
967 * Buffer.h: Removed Buffer::resize
968 * BufferList.h: Removed BufferList::resize
969 * LyXView.h: Added LyXView::resize. This way, we will only reflow
970 the document lazily when we change the width, or the font settings.
972 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
974 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
976 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
978 * buffer.h: remove out of date comment
980 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
983 * screen.C: fix "theoretical" GC leak
985 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
987 * LaTeX.C (scanAuxFile):
988 (deplog): remove trailing \r when reading stream (useful under
991 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
993 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
994 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
995 and BufferView::theLockingInset(Inset*), so should use them and not
996 access bv_->text->the_locking_inset directly.
998 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
1000 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1003 * tex-defs.h: remove old unused file
1005 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
1007 * BufferView_pimpl.C: fix typo, remove minibuffer message
1008 when buffer has loaded
1010 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1012 * lyxfunc.C (Dispatch): use stringstream
1013 (MenuNew): use stringstream
1014 (Open): use stringstream
1016 * importer.C (Import): use stringstream
1018 * bufferview_funcs.C (CurrentState): use stringstream
1020 * LaTeX.C (run): use stringstream
1022 * BufferView_pimpl.C (savePosition): use stringstream
1023 (restorePosition): use stringstream
1024 (MenuInsertLyXFile): use stringstream
1026 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
1039 * vspace.C: removed // -*- C++ -*- as first line.
1042 * version.h: added // -*- C++ -*- as first line.
1044 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1046 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
1048 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
1051 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1053 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
1056 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1058 * gettext.C: include LString.h even when --disable-nls is on.
1060 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1062 * converter.h (Get): changed argument type from int to
1063 FormatList::size_type to avoid unnecessary conversion.
1065 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
1068 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1070 * gettext.h: include LString.h even when --disable-nls is on.
1072 2001-06-07 Juergen Vigna <jug@sad.it>
1074 * text.C (BreakAgain): subst spaces with tabs.
1076 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
1077 (resizeInsetsLyXText): set force on resizeLyXText.
1079 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1081 * gettext.h (gettext_init):
1082 (locale_init): use a real definition instead of a macro
1084 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1086 * Bufferview_pimpl.C:
1088 * LColor.C: further lcolor tidies
1090 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1092 * BufferView_pimpl.C (updateScrollbar): simplify.
1094 * BufferView2.C: don't include insets/insetinfo.h, change
1095 prototype for insertInset and call the Pimpl version. let
1096 updateInset call Pimpl version.
1098 * BufferView.h: move inset_slept to BufferView::Pimpl, move
1099 gotoInset to BufferView::Pimpl
1101 2001-06-01 Juergen Vigna <jug@sad.it>
1103 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
1104 inside a LockingInset (is the update needed at all?).
1106 2001-05-31 Juergen Vigna <jug@sad.it>
1108 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
1109 here not the old one otherwise how should we compare it afterwards
1112 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1117 * FontInfo.C: bring C functions into global namespace when
1120 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1122 * LString.h: make sure config.h has been loaded before LString.h.
1124 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
1125 (one for each char read by EatLine!).
1127 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
1130 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1132 * paragraph.C (BreakParagraph): set the inset_owner in the new par
1133 to the same as the par we break from
1135 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1137 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
1139 * MenuBackend.C (expand): also create menu entries for wide
1140 versions of the floats.
1142 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
1144 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
1146 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
1147 frontends/Makefile.am
1153 * tabular.C (getTokenValue): add std::
1155 * tabular-old.C (getTokenValue): add std::
1156 (getTokenValue): ditto
1157 (getTokenValue): ditto
1159 * screen.C (ToggleSelection): adjust
1161 * lyxtext.h: put selection cursors inside a Selection struct.
1163 * lyxfunc.C (moveCursorUpdate): adjust
1165 * lyxfont.C (latexWriteStartChanges): add std::
1169 * font.h: delete with(char const *, LyXFont const &)
1171 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
1173 * FontInfo.C (getFontname): add std::
1175 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1176 (workAreaButtonPress): adjust
1177 (tripleClick): adjust
1179 (moveCursorUpdate): adjust
1182 * BufferView2.C (gotoInset): adjust
1184 2001-05-30 Juergen Vigna <jug@sad.it>
1186 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
1187 to check pspell I add this as default as I now have new pspell
1188 libraries and they seem to use this.
1190 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1192 * text2.C (CutSelection): make the cursor valid before the call to
1195 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1197 * kbsequence.C (parse): de-uglify a bit the parsing code, which
1198 relied on 0 terminated strings and other horrors. Bug found due to
1199 the new assert in lyxstring!
1201 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
1204 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1206 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
1209 * lyxfunc.C (processKeySym): change method of getting to the
1212 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
1213 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
1214 * BufferView_pimpl.[Ch]: here as private methods.
1216 2001-05-28 Juergen Vigna <jug@sad.it>
1218 * text.C (SetHeightOfRow): added the update() call again as it is
1219 needed to initialize inset dimensions!
1221 2001-05-16 Juergen Vigna <jug@sad.it>
1223 * text2.C (SetCharFont): Add new function with BufferView * and
1224 bool toggleall parameters for setting insets internal fonts.
1225 (SetFont): Freeze the undo as we may change fonts in Insets and
1226 all this change should be inside only one Undo!
1228 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
1229 setting font's in insets as for them we have the SetFont function!
1231 2001-05-15 Juergen Vigna <jug@sad.it>
1233 * text2.C (ClearSelection): to be sure we REALLY don't have any
1236 * tabular.C (TeXCellPreamble): fixed the left border problem for
1239 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
1241 * LaTeX.C (deplog): Make sure that the main .tex file is in the
1244 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1246 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
1247 LFUN_BREAKPARAGRAPH.
1249 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
1250 help test to "internal only", similar for LFUN_INSERT_URL
1252 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
1253 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
1254 auto_region_delete and deadkeys.
1256 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
1259 * LColor.C: remove some dead entries, tidy a little
1261 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1263 * lyxfunc.C (processKeySym): comment the Escape handling, remove
1265 (Dispatch): implement LFUN_ESCAPE
1267 * commandtags.h: add LFUN_ESCAPE
1269 * LyXAction.C (init): add entry for LFUN_ESCAPE
1271 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
1272 Remove commented code.
1273 (insertNote): moved here
1274 (open_new_inset): moved here
1276 * BufferView[2].[Ch]: move insertNote and open_new_inset to
1279 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1281 * kbmap.C (findbinding): clean it up and make it work correctly.
1283 * lyx_main.C (init): do not pass argc and argv as parameters
1285 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1287 * buffer.C: fix path for OS/2 & Win32
1291 * lyx_main.C: Added os:: class.
1293 * os2_defines.h: update
1295 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1297 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
1298 better by trying again with reduced state.
1300 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1302 * lyxrc.C (read): print error about invalid key sequence only when
1303 debugging (because not all latinX keysyms are known to some X
1306 * kbsequence.C (getiso): add a few std:: qualifiers
1307 (getiso): comment out extra return statement.
1309 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1311 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
1313 (Dispatch): enhance the accent inset a bit. (not perfect)
1315 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1317 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
1319 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1321 * bufferlist.C (emergencyWrite): fix assert() call
1323 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
1325 * text.C (InsertChar): Added trivial patch to only send the "you
1326 can not do multiple spaces this way" message once during a
1329 2001-05-08 Baruch Even <baruch@lyx.org>
1331 * Makefile.am: Changed order of libraries to get LyX to link properly
1332 with the gnome frontend.
1334 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1336 * LaTeXFeatures.h: add a std:: qualifier
1338 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1340 * paragraph.C (String): use stringstream
1342 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1344 * paragraph.C (writeFile): remove footflag arg
1346 * buffer.C (makeLaTeXFile): use stringstream
1347 (latexParagraphs): remove footnot gurba
1349 * LaTeXFeatures.C (getPackages): use stringstream
1350 (getMacros): likewise
1351 (getTClassPreamble): likewise
1352 (getFloatDefinitions): new method
1354 * paragraph.C (writeFile): reindent
1357 * WorkArea.h: revert the xpos + etc changes.
1359 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
1361 * lyxparagraph.[Ch]: add copy constructor, remove Clone
1363 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
1364 (pasteSelection): likewise
1365 * text2.C (CreateUndo): likewise
1367 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1369 * minibuffer.C (peek_event): temporarily reduce the functionality
1370 of the minibuffer (to allow args on lfuns)
1372 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
1373 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
1375 * buffer.C (readInset): add compability reading of old float
1376 lists, add reading of new style float list.
1377 (readInset): avoid reevaluation of inscmd.getCmdName()
1378 (getLists): reindent
1380 * MenuBackend.C (MenuItem): implement parsing of
1381 md_floatlistinsert and md_floatinsert.
1382 (expand::LastFiles): move initalizaton of iterators out of loop,
1384 (expand::Documents): introduce typdedef vector<string> Strings,
1386 (expand::ExportFormats): introduce typedef vector<Format const *>
1387 Formats, and use it.
1388 (expand): implement FloatListInsert and FloatInsert.
1390 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
1391 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
1392 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
1394 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
1396 (Dispatch::LFUN_FLOAT_LIST): implement
1398 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1400 * LaTeX.C (run): Fix problem with --export code.
1402 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1404 * BufferView.[Ch] (workarea): removed.
1405 (getClipboard) new method; wrapper for workarea()->getClipboard()
1407 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
1410 * WorkArea.h (width, height, xpos, ypos): These methods all
1411 returned the dimensions of the work_area sub-area of WorkArea,
1412 resulting in a position error if the WorkArea were resized. Now
1413 return the dimensions of the entire WorkArea.
1415 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
1417 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1419 * LaTeX.C (deplog): correct the syntax of regex reg1
1421 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1423 * undo.C: remove !NEW_INSETS cruft
1425 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1427 * text2.C: remove !NEW_INSETS cruft
1429 * text.C: remove !NEW_INSETS cruft
1431 * tabular.C: remove !NEW_INSETS cruft
1433 * spellchecker.C: remove !NEW_INSETS cruft
1435 * lyxtext.h: remove !NEW_INSETS cruft
1437 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
1439 * lyxfunc.C: remove !NEW_INSETS cruft
1441 * lyxfind.C: remove !NEW_INSETS cruft
1443 * lyx_cb.C: remove !NEW_INSETS cruft
1445 * figureForm.C: remove !NEW_INSETS cruft
1447 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
1449 * buffer.[Ch]: remove !NEW_INSETS cruft
1451 * ToolbarDefaults.C: remove !NEW_INSETS cruft
1453 * CutAndPaste.C: remove !NEW_INSETS cruft
1455 * BufferView_pimpl.C: remove !NEW_INSETS cruft
1457 * BufferView2.C: remove !NEW_INSETS cruft
1459 * BufferView.h: remove !NEW_INSETS cruft
1461 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1463 * Lsstream.h: include LString.h before the sstream headers to
1464 fix problem with gcc 2.95.3 and lyxstring
1466 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1468 * lyx_main.C: add using directives when needed for C functions
1469 declared in std:: namespace.
1471 2001-04-27 Juergen Vigna <jug@sad.it>
1473 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
1474 (SetHeightOfRow): comment out the update call should not be needed!
1476 2001-04-13 Juergen Vigna <jug@sad.it>
1478 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
1479 (LyXTabular): tried to minimize operator= operations (and realized
1480 hopfully Lars wish).
1482 2001-04-27 Juergen Vigna <jug@sad.it>
1484 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
1486 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1488 * lyxfunc.C (Dispatch): hack to make listof algorithm work
1490 * buffer.C (readInset): hack to make listof algorithm work
1492 * BufferView_pimpl.C: hack to make listof algorithm work
1494 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1496 * LyXAction.C: removed all !NEW_INSETS cruft
1497 (init): moved lfun_item in method
1499 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
1501 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1503 * BufferView2.C (theLockingInset): white space.
1505 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1507 * minibuffer.C: include <iostream>
1509 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
1511 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
1513 * commandtags.h: add LFUN_TRANSPOSE_CHARS
1515 * text.[Ch] (TransposeChars): new method
1517 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1519 * call message directly through LyXView instead of through LyXFunc
1520 * BufferView2.C: adjust
1521 * BufferView_pimpl.C: adjust
1522 * FontLoader.C: adjust
1524 * bufferview_funcs.C: adjust
1525 * converter.C: adjust
1526 * figureForm.C: adjust
1527 * importer.C: adjust
1529 * lyx_gui_misc.C: adjust
1533 + more files in subdirs
1535 * lyxparagraph.h (size): move up int file
1538 * adjust all uses of Assert to lyx::Assert.
1540 * BufferView2.C (ChangeCitationsIfUnique): adjust for
1541 lyxfunctional in namespace lyx
1542 * layout.C (hasLayout): ditto
1545 (delete_layout): ditto
1546 (NumberOfClass): ditto
1547 * converter.C (GetFormat): ditto
1552 * bufferlist.C (getFileNames): ditto
1553 (emergencyWriteAll): ditto
1556 * MenuBackend.C (hasSubmenu): ditto
1559 * BufferView_pimpl.C (getInsetByCode): ditto
1561 2001-04-18 Juergen Vigna <jug@sad.it>
1563 * vspace.C (asLatexString): fixed the 100% problem.
1565 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1567 * lyxfunc.C (Dispatch):
1569 * minibuffer.h: add a few std:: qualifiers
1571 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1573 * minibuffer.[Ch]: reimplement so that commands is initiated and
1574 run from lyxfunc, simplified som handling, and made the completion
1575 and history code for complete. wip.
1577 * lyxfunc.C (processKeySym): call message
1578 (miniDispatch): new temporary method
1579 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
1580 (LFUN_MESSAGE): implement
1581 (LFUN_MESSAGE_PUSH): implement
1582 (LFUN_MESSAGE_POP): implement
1583 (initMiniBuffer): the initial/defualt minibuffer message.
1585 * lyxfont.[Ch]: inline some more getters
1587 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
1589 * lyx_gui_misc.[Ch] (WriteStatus): remove method
1591 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
1592 (AutoSave): use LFUN_MESSAGE
1593 (Reconfigure): ditto
1595 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
1597 * figureForm.C: use LFUN_MESSAGE
1599 * converter.C (runLaTeX): use LFUN_MESSAGE
1601 * bufferview_funcs.C: use LFUN_MESSAGE
1603 (changeDepth): ditto
1605 * bufferparams.h: use boost::
1607 * bufferlist.h: inherit privately from noncopyable
1609 * bufferlist.C (loadLyXFile): remove some commented code.
1611 * buffer.C (runChktex): use LFUN_MESSAGE
1613 * ShareContainer.h: inherit privately from noncopyable
1615 * ParagraphParameters.[hC] (depth): inline it.
1617 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
1619 (message): new method
1620 (messagePush): ditto
1622 (show): init minibuffer
1623 (showState): direct call
1625 * LaTeX.[Ch]: inherit privately from noncopyable
1626 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
1627 instead of WriteStatus.
1629 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
1631 * BufferView_pimpl.C (buffer): don't init minibuffer
1632 (workAreaButtonPress): use LFUN_MESSAGE
1633 (workAreaButtonRelease): ditto
1634 (savePosition): ditto
1635 (restorePosition): ditto
1636 (MenuInsertLyXFile): ditto
1637 (workAreaExpose): don't init minibuffer
1638 (update): remove commented code, simplify
1640 * BufferView2.C (openStuff): use LFUN_MESSAGE
1641 (toggleFloat): ditto
1644 (copyEnvironment): ditto
1645 (pasteEnvironment): ditto
1650 (updateInset): remove some commented code
1652 * lastfiles.h: inherit privately from noncopyable
1657 * lyxlex_pimpl.h: ditto
1659 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
1660 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
1661 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1663 * LyXAction.h: inherit privately from noncopyable, add methods
1664 func_begin, func_end, returning iterators to the func map.
1666 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
1667 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1668 (func_begin): new method
1669 (func_end): new method
1671 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
1673 (copySelection): ditto
1674 (pasteSelection): ditto
1676 * BufferView.C: whitespace change
1677 * BufferView.h: inherit privately from noncopyable
1679 2001-04-16 Allan Rae <rae@lyx.org>
1681 * tabular-old.C (l_getline):
1682 * spellchecker.C (sc_check_word):
1683 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
1684 an unrecognised preprocessor directive. So ensure they're wrapped.
1686 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
1688 * src/exporter.C (Export): Give an error message when path to file
1691 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
1693 * LaTeX.C (deplog): Always check that foundfile exists.
1695 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1698 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
1700 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1702 * tabular.[Ch] (getLabelList): implement new method
1704 * minibuffer.h: comment ouf setTiimer
1706 * minibuffer.C (ExecutingCB): constify res
1707 (peek_event): constify s
1708 (Set): constify ntext
1709 (Init): constify nicename
1711 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
1713 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
1714 (savePosition): use two params to Minibuffer::Set
1715 (restorePosition): ditto
1717 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1719 * lyx_main.C: include language.h
1721 * Makefile.am (lyx_main.o): add language.h
1723 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1729 * CutAndPaste.C: include gettext.h
1731 * lyxfont.h: remove old hack with ON and OFF.
1734 * lyxfont.h: do not include language.h...
1739 * bufferview_funcs.C:
1745 * paragraph.C: ... but do it here instead
1747 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1749 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
1751 * tabular.C: small reformat
1753 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
1756 (BreakParagraph): ditto
1757 (SetOnlyLayout): ditto
1760 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
1763 * lastfiles.C: removed most using decl, add std:: where needed
1765 * buffer.C: ws changes
1767 * MenuBackend.C (class compare_format): put into anon namespace
1768 (expand): constify label, names, action, action2
1771 * text.C (SingleWidth): constify font
1772 (IsBoundary): constify rtl2
1773 (GetVisibleRow): constify ww
1775 * LaTeX.C (deplog): constify logfile
1777 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
1779 (workAreaExpose): constify widthChange, heightChange
1781 * lyxrow.C (par): moved
1784 * lyxrow.h: as inlines here
1786 * lyxfont.h (shape): moved from lyxfont.C
1787 (emph): moved from lyxfont.C
1789 * lyxfont.C (LyXFont): use initialization list for all
1791 (shape): move to lyxfont.h as inline
1792 (emph): move to lyxfont.h as inline
1795 2001-04-04 Juergen Vigna <jug@sad.it>
1797 * vspace.C: had to include stdio.h for use of sscanf
1799 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
1802 * BufferView_pimpl.h: remove xforms cruft. Both classes are
1803 independent of xforms.
1805 2001-04-02 Juergen Vigna <jug@sad.it>
1807 * spellchecker.C: fixed namespace placing!
1809 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1811 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
1812 the LyXParagraph * is 0.
1814 2001-03-29 Juergen Vigna <jug@sad.it>
1816 * vspace.C: added support for %, c%, p%, l%.
1817 (stringFromUnit): added helper function.
1818 (asLatexString): changed to give right results for the %-values.
1820 * buffer.C: convert the widthp in a width%.
1822 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1824 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
1827 * figureForm.[Ch]: stripped the FD_from_figure manipulation
1828 code out of lux_cb.[Ch], ready for its (imminent?) removal.
1830 * lyx_cb.[Ch]: see above.
1832 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
1836 * lyx.[Ch]: replaced by figure_form.[Ch].
1840 * lyxfunc.C: changed headers associated with above changes.
1842 2001-03-27 Juergen Vigna <jug@sad.it>
1844 * BufferView_pimpl.C: set the temporary cursor right!
1846 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1848 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
1850 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1852 * LString.h: removed "using std::getline"!
1854 * BufferView_pimpl.C (Dispatch): changes due to changes in
1855 InsetInclude::Params.
1857 * buffer.C (tag_name): removed redundant break statements as they were
1858 producing lots of warnings with my compiler.
1860 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1862 * LString.h: add "using std::getline" when using the real <string>.
1864 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
1866 * buffer.C: removed bitset usage.
1867 PAR_TAG moved to an anonymous name space.
1868 (tag_name): new funtion, also in the anonymous namespace.
1869 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
1870 (makeDocBookFile): clean code. Completed transition from string arrays
1872 (SimpleDocBookOnePar): code clean.
1874 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1876 * tabular.C: add some comments.
1878 2001-03-22 Juergen Vigna <jug@sad.it>
1880 * buffer.C (parseSingleLyXformat2Token): redone the minipage
1881 compatibility read a bit and fixed bug with minipage in different
1884 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
1886 * buffer.C (pop_tag): removed.
1887 (push_tag): removed.
1888 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
1889 array replaced with vector. Added support for CDATA sections.
1890 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
1892 (makeDocBookFile): XML conformant declaration of CDATA section,
1893 fixed bug related to <emphasis> in the first paragraph char.
1894 (sgmlOpenTag): exclude empty tags.
1895 (sgmlCloseTag): ditto.
1897 * buffer.h (pop_tag): removed.
1898 (push_tag): removed.
1900 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1902 * language.h (Languages): added size_type and size().
1904 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1906 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
1907 response on compability reading of minipages. One probliem is that
1908 the old usage of minipages was «flertydig»
1910 * several files here and in subdirs: don't use static at file
1911 scope use anon namespaces instead.
1913 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
1915 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
1916 LaTeX output. This is necessary for Literate document
1919 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1921 * buffer.C: insert hfill when needed.
1923 * tabular.C (l_getline): use string::erase, small whitespace change.
1925 * BufferView_pimpl.C: try the anon namespace.
1928 2001-03-16 Juergen Vigna <jug@sad.it>
1930 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
1931 otherwise it won't open options-dialogs.
1933 * buffer.C: honor pextraWidth(p) on converting minipages.
1935 * tabular.C (l_getline): changed the functions to strip trailing \r.
1937 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1939 * BufferView_pimpl.C:
1940 * minibuffer..C: added "using SigC::slot" declaration.
1942 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1944 * lyxlex_pimpl.h: noncopyable is in namespace boost.
1950 * paragraph.C: ditto
1952 * lyxtext.h: NO_PEXTRA
1954 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
1956 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
1957 * ParameterStruct.h: ditto
1958 * ParagraphParameters.h: ditto
1959 * lyxparagraph.h: ditto
1961 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1963 * buffer.C: add compability for minipage alignment.
1964 (latexParagraphs): remove unwanted pextra check.
1966 * several files: remove CXX_WORKING_NAMESPACES
1968 * buffer.C (pop_tag): tie is in namespace boost
1970 * BufferView.h: noncopyable is in namespace boost
1975 * lastfiles.h: ditto
1976 * bufferlist.h: ditto
1977 * ShareContainer.h: ditto
1979 * LyXAction.h: ditto
1982 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1984 * Merging changes from BRANCH_MVC back into HEAD.
1986 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
1988 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
1990 * BufferView_pimpl.C: change from intl.C
1994 * Makefile.am: move combox.*
2000 * intl.C: remove dialog (covered by prefs)
2002 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2004 * lyxfunc.C (Dispatch): removed redundant break statement.
2006 2001-03-14 Juergen Vigna <jug@sad.it>
2008 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
2010 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2012 * buffer.C: add hack to fix compability reading of minipages.
2014 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
2016 * buffer.C (getLists): Cleanup.
2018 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2020 * lyxfont.C (update): don't honor toggleall on font size.
2022 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
2026 * Makefile.am: moved to frontends/xforms/
2030 * BufferView_pimpl.C: changes for moved mathpanel
2032 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2034 * gettext.h: fix gettext_init() in --disable-nls
2036 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2038 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
2040 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
2043 * lyx.h: strip external form
2045 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2047 * BufferView_pimpl.C: add comment, destroySplash()
2049 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2051 * BufferView_pimpl.C:
2055 * lyxfunc.C: use re-worked insetinclude
2057 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2059 * buffer.C: add using std::stringstream.
2061 * lyx_cb.C: readd using std::ios.
2063 * buffer.C: add using std::map.
2065 * BufferView_pimpl.C: add using std::vector.
2067 * ShareContainer.h: add std:: to swap.
2069 * buffer.h: add some typedefs
2070 * buffer.C (getLists): use them
2071 (getLists): renamed from getTocList.
2072 add a counter for the different float types and use it in the
2074 (getLists): use the same counter for the NEW_INSETS and the "non"
2077 * lyx_cb.h: remove unused items, includes, using etc.
2079 * ShareContainer.h: remove some commented code, add more comments
2080 and "documentation".
2082 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2084 * buffer.C (getTocList): make the list also when NEW_INSETS is
2087 * buffer.h: remove TocType
2089 * buffer.C (getTocList): change to return a map<string,
2090 vector<TocItem> >, implement for dynamic number of list.
2092 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
2093 * text2.C (PasteSelection): adjust
2094 * CutAndPaste.C (pasteSelection): adjust
2096 * FloatList.C (FloatList): update from the new_insets branch.
2097 * Floating.[Ch]: ditto
2098 * LaTeXFeatures.C: ditto
2100 * lyxlex_pimpl.C: ditto
2102 * paragraph.C (Last): remove when NEW_INSETS is defined.
2104 * other file: changes because of the above.
2106 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2108 * lyxparagraph.h: rename next to next_, previous to previous_,
2109 make them private for NEW_INSETS. Rename Next() to next(),
2110 Previous() to previous().
2112 * other files: changes because of the above.
2114 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
2117 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
2120 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2122 * main.C (main): pass lyx_localedir to gettext_init().
2124 * gettext.h: remove locale_init and gettext_init macros
2126 * gettext.C (locale_init): new function
2127 (gettext_init): new function
2129 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
2132 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
2134 * Moved credits to frontends:
2135 * credits.[Ch]: removed
2136 * credits_form.[Ch]: removed
2137 * lyx_gui_misc.C: remove credits stuff
2140 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2142 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
2144 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
2145 unneeded destructor.
2147 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
2148 a standalone pointer again.
2150 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
2152 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
2158 * ToolbarDefaults.C:
2167 * BufferView_pimpl.C: use new file dialog in GUII
2170 * lyx_cb.C: remove LayoutsCB to Toolbar
2172 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2174 * ShareContainer.h (get): add std:: qualifier
2176 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2178 * ShareContainer.h: define a proper ShareContainer::value_type
2179 type (and use typename to please compaq cxx)
2181 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2183 * lyxparagraph.h: move serveral local vars to
2184 ParameterStruct/ParagraphParameters., use ShareContainer in
2185 FontTable., make vars in FontTable private and add getter and
2188 * paragraph.C: changes because of the above.
2190 * lyxfont.h: remove copy constructor and copy assignment. (the
2191 default ones is ok), move number inside FontBits. move inlines to
2194 * lyxfont.C: add number to initializaton of statics, move several
2195 inlines here. constify several local vars. some whitespace
2196 cleanup. Dont hide outerscope variables.
2198 * Spacing.h: add two new constructors to match the set methods.
2200 * ShareContainer.h: new file, will perhaps be moved to support
2202 * ParameterStruct.h: new file
2204 * ParagraphParameters.h: new file
2206 * ParagraphParameters.C: new file
2208 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
2209 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
2211 * BufferView_pimpl.C: ParagraphParameter changes.
2212 * buffer.C: Likewise.
2213 * bufferview_funcs.C: Likewise.
2215 * text2.C: Likewise.
2217 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2219 * lyxfind.C (LyXReplace): do not redefine default argument in
2221 (IsStringInText): ditto
2222 (SearchForward): ditto
2223 (SearchBackward): ditto
2225 2001-03-06 Juergen Vigna <jug@sad.it>
2227 * lyxfind.C (IsStringInText): put parentes around expressions.
2229 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
2231 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
2233 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
2235 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
2237 * stl_string_fwd.h: add comment
2239 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
2242 * tabular.C: remove unused DocBook methods
2248 killed DO_USE_DEFAULT_LANGUAGE
2250 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2252 * lyx_gui.C: do not include language.h.
2254 * bufferview_funcs.C (ToggleAndShow): do not provide optional
2255 arguments in function implementation.
2257 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2259 * BufferView_pimpl.C: add <ctime>
2261 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2263 * BufferView_pimpl.C: add using std::find_if
2265 2001-02-27 José Matos <jamatos@fep.up.pt>
2267 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
2270 2001-02-11 José Matos <jamatos@fep.up.pt>
2272 * buffer.C (makeDocBookFile): command styles now have a parameter as
2275 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
2277 * layout_forms.[Ch]: removed
2278 * lyx_cb.[Ch]: out character
2279 * lyx_gui.C: out character
2280 * lyx_gui_misc.C: out character
2281 * bufferview_funcs.C: : out character,
2282 added toggleall as parameter in ToggleAndShow
2284 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
2286 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
2288 * text2.C (SetCurrentFont): Disable number property at boundary.
2290 2001-02-26 Juergen Vigna <jug@sad.it>
2292 * lyxfunc.C (getStatus): added a string argument override function so
2293 that this is correctly called from LyXFunc::Dispatch if it contains a
2294 do_not_use_argument which is used!
2295 (Dispatch): added check for "custom" export and call appropriate func.
2297 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
2299 * lyxrc.C: Add language_command_local, language_use_babel and
2300 language_global_options.
2302 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
2304 * buffer.C (makeLaTeXFile): Use language_use_babel and
2305 language_global_options.
2307 2001-02-23 Juergen Vigna <jug@sad.it>
2309 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
2310 which works with LyXText and putted it inside BufferView. Here now we
2311 only call for that part the BufferView::Dispatch() function.
2313 * BufferView.C (Dispatch): added.
2315 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
2316 functions which needs to use a LyXText over from LyXFunc.
2317 (MenuInsertLyXFile): added
2318 (getInsetByCode): added
2319 (moveCursorUpdate): added
2320 (static TEXT): added
2322 2001-02-22 Juergen Vigna <jug@sad.it>
2324 * BufferView_pimpl.C (update): call a status update to see if LyXText
2327 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2329 * vc-backend.C (revert): implement for CVS
2330 (getLog): implement for CVS
2332 2001-02-20 Juergen Vigna <jug@sad.it>
2334 * text2.C (ClearSelection): added BufferView param for inset_owner call
2336 * lyxfunc.C (TEXT): added this function and use it instead of
2337 directly owner->view()-text of getLyXText().
2339 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
2341 * src/layout_forms.C: out preamble
2342 * src/layout_forms.h: out preamble
2343 * src/lyx_cb.C: out preamble
2344 * src/lyx_cb.h: out preamble
2345 * src/lyx_gui.C: out preamble
2346 * src/lyx_gui_misc.C: out preamble
2347 * src/lyxfunc.C: connect with guii preamble
2349 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
2351 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
2353 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
2355 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
2356 whether to run bibtex.
2358 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
2360 * Makefile.am (lyx_SOURCES): Remove BackStack.h
2362 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
2364 * Makefile.am (lyx_SOURCES): removed bibforms.h
2368 * text.C (GetVisibleRow): make several local vars const
2370 * tabular.C: small cleanup.
2372 * lyxserver.C (callback): use compare instead of strncmp
2374 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
2375 inlines to after class or to paragraph.C
2377 * lyxfont.h: remove friend operator!=
2379 * converter.h: move friend bool operator< to non friend and after
2382 * combox.h: small cleanup
2384 * buffer.h: doxygen, remove unused constructor, move inclas inlies
2385 to inlines after class def.
2387 * buffer.C (pop_tag): use string operations instead of strcmp
2389 * bmtable.c: doxygen, small cleanup
2391 * LaTeX.h: remove friend operator==
2393 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2405 * BufferView_pimpl.C:
2406 * BufferView.[Ch]: remove cruft
2408 2001-02-14 Juergen Vigna <jug@sad.it>
2410 * lyxfunc.C: removed #if 0 unused code
2412 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
2414 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
2416 * text2.C (SetSelection): added a BufferView * parameter
2418 2001-02-13 Juergen Vigna <jug@sad.it>
2420 * lyxfunc.C (Dispatch): fixed protected blank problem.
2421 * BufferView2.C (protectedBlank): added LyxText * parameter.
2423 * tabular.C (AppendRow): forgot to set row_info of newly added row.
2424 (AppendColumn): same as above for column_info.
2426 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
2427 (moveCursorUpdate): use a LyXText param for support of InsetText.
2429 * BufferView_pimpl.C (doubleClick): added support for InsetText.
2430 (tripleClick): ditto
2432 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
2434 * BufferView_pimpl.C (update): added LyXText param to honor insets.
2436 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
2438 * text2.C (SetSelection): set correct update status if inset_owner
2441 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
2443 * tabular.C: remove some commented code.
2445 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
2447 * BufferView_pimpl.C: call hideSplash()
2449 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
2452 * bibforms.h: remove
2455 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
2456 add LFUN_CHILD_CREATE
2458 * counters.h: fix tiny typo
2463 * lyx.C: move splash to frontends/xforms/
2465 * lyx_gui_misc.C: move Include and Bibform to frontends
2467 * lyxvc.h: clarify comment
2469 * vspace.C: tiny housekeeping
2471 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
2473 * text.C (PrepareToPrint): RTL Fix.
2475 * paragraph.C (GetUChar): New method.
2476 (String): Use GetUChar.
2478 * buffer.C (asciiParagraph): Use GetUChar.
2480 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
2482 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
2484 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
2487 * buffer.C: rename to getLogName(), handle
2488 build log / latex log nicely
2490 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2493 * MenuBackend.h: remove support for reference menuitem type.
2495 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
2497 * BufferView_pimpl.C: housekeeping
2498 * BufferView_pimpl.h:
2503 * minibuffer.h: move Timeout GUI-I
2505 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
2507 * lyxrc.C (read): Update converters data-structures.
2509 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
2511 * LaTeX.h (operator!=): add operator != for Aux_Info
2513 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
2515 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
2517 * LaTeXLog.C: deleted, useful code moved to Buffer
2520 * buffer.C: new function getLatexLogName()
2526 * lyxfunc.C: use frontends for LaTeX and VC logs
2528 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2530 * LaTeX.h: yet another std:: that Allan forgot.
2532 * Variables.C (set): renamed from isset(), because this clashes
2533 with some HP-UX macros (grr).
2535 2001-02-06 Allan Rae <rae@lyx.org>
2537 * LaTeX.h: Another bug fix. Missing std:: this time.
2539 2001-02-04 Allan Rae <rae@lyx.org>
2541 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
2542 floats problem. I've left it commented out because it's not quite
2543 correct. It should also test that the current object is a table or
2544 figure inset. But I haven't gotten around to figuring out how to do
2545 that. I *think* it'll be something like: "table" == inset.type()
2547 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
2550 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
2552 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
2553 all the citation/databases/styles in the auxilary file.
2554 (run): Rerun latex if there was a babel language error.
2556 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
2558 * text.C (Backspace): Preserve the font when changing newline char
2560 (BreakParagraph): If the cursor is before a space, delete the space.
2562 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
2564 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
2566 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
2567 new argument (code).
2568 (ChangeCitationsIfUnique): New method.
2570 * paragraph.C (GetPositionOfInset): Handle bibkey.
2572 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2574 * BufferView_pimpl.h: change type of Position::par_pos to
2575 LyXParagraph::size_type.
2577 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
2579 * BufferView_pimpl.C (savePosition, restorePosition): Write
2580 messages to minibuffer.
2582 2001-01-28 José Matos <jamatos@fep.up.pt>
2584 * buffer.C (makeDocBookFile): adds support for document language.
2585 A silly restriction on the name of LatexCommand types where removed.
2586 Added support for CDATA sections, allows to chars unescaped, used
2587 among others in code, to avoid escape < and >.
2589 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2591 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
2592 saved positions instrad of a stack. Furthermore, a position is
2593 stored using paragraph id/paragraph position.
2595 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
2596 Remove LFUN_REF_BACK.
2598 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2600 * converter.C (dvipdfm_options): New method.
2602 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
2604 * vspace.C (isValidLength): Fix for empty input string.
2606 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2608 * LyXAction.C (init): change description of LFUN_FIGURE to
2611 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2613 * LaTeX.C: add using directive
2615 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2617 * MenuBackend.C (expand): Fix the sorting of the formats.
2619 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
2621 * lyx_main.C: tiny error message fix
2623 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2625 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
2626 calling fl_initialize(). This fixes the problem with ',' as
2627 decimal separator in text files.
2629 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2631 * trans.C (process): Fix the keymap bug.
2633 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
2635 * LaTeX.C (scanAuxFiles): New method. Provides support for
2636 multiple bibliographies (when using the bibtopic/bibunits pacakges).
2637 (scanLogFile) Scan for "run BibTeX" messages.
2639 * buffer.C (makeLaTeXFile): Do not load the ae package when using
2640 OT1 font encoding. Also, load the aecompl package if the ae
2643 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
2645 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2647 * texrow.C (increasePos): turn two error messages into debug
2650 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
2652 * LaTeX.C (scanAux): Handle the \@input macro.
2653 (runBibTeX): Use scanAux().
2655 * language.C (latex_options_): New field.
2657 * LaTeXFeatures.C (getMacros): Add language macros.
2659 * buffer.C (makeLaTeXFile): Small fix.
2661 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2663 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
2665 * text2.C: add a using directive.
2667 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
2672 * lyxfunc.C: kill LyXBell.
2674 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
2676 * text.C (IsBoundary): Remove the error message
2678 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
2680 * lyxrc.C (setDefaults): Correct initialization value for
2683 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
2685 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
2688 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
2691 * src/LyXAction.C: Added reference-next.
2693 * text.C (InsertChar): Use contains instead of strchr.
2695 * lyx_cb.C (MenuInsertLabel): Enable default value code.
2697 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
2699 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
2700 alignment commands (when needed).
2702 * text.C (InsertChar): Add ':' to number separator chars.