1 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * ParameterStruct.h (endif): add a default constructor to make
4 sure that all variables is initialized.
6 * ParagraphParameters.C (ParagraphParameters): adjust
8 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11 index; also, check that there is something to index, and that it
12 does not span over several paragraphs.
13 (doubleClick): use WHOLE_WORD_STRICT for double click.
15 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
17 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
20 2001-07-26 Baruch Even <baruch@lyx.org>
22 * buffer.C (readInset): Changed to call up InsetGraphics when reading
23 an InsetFig figure, backwards compatible reading of old figure code.
25 2001-07-27 Juergen Vigna <jug@sad.it>
27 * text2.C: font.realize function adaption.
29 * text.C (draw): add a warnings lyxerr text if needed.
31 * layout.C: font.realize function adaption.
33 * language.C: add inherit_language and implement it's handlings
35 * bufferview_funcs.C (StyleReset): remove language parameter from
36 font creation (should be language_inherit now).
38 * bufferparams.C (writeFile): handle ignore_language.
40 * paragraph.C (getFontSettings): the language has to be resolved
41 otherwise we have problems in LyXFont!
43 * lyxfont.C (lyxWriteChanges): added document_language parameter
44 (update): removed unneeded language parameter
46 * paragraph.C (validate): fixed wrong output of color-package when
47 using interface colors for certain fonts in certain environments,
48 which should not seen as that on the final output.
50 2001-07-26 Juergen Vigna <jug@sad.it>
52 * lyxfont.C (realize): honor ignore_language too!
55 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
57 * text.C (draw): one place more for ignore_language to not draw
60 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
62 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
64 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
66 * buffer.C (parseSingleLyXformat2Token): a more general fix for
67 the minipage conversion problem.
69 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
71 * buffer.C (parseSingleLyXformat2Token): check minipage if we
74 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
76 * BufferView.h: don't forward declare WorkArea
78 * BufferView.C: don't include WorkArea.h
80 2001-07-25 André Pönitz <poenitz@gmx.net>
84 * lyxfunc.C: new LFUN 'math-space'
86 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
88 * text2.C (toggleInset): call open/close
90 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
92 * lyxfunc.C (dispatch): add debug for the disabled case
94 * font.C (buttonText): make similar to rectText
96 * buffer.C (readInset): comment out parsing of insetlist and
99 * PainterBase.C (rectText): small correction
101 * BufferView_pimpl.C: comment out insettheorem and insetlist
103 * commandtags.h: ditto
105 2001-07-24 Juergen Vigna <jug@sad.it>
107 * text.C (draw): honor the ignore_language.
109 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
111 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
113 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
116 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
118 * lyxtext.h: remove unused (and unimplemented) methods
120 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
122 * text.C (getVisibleRow): honor background color
125 * Painter.h: remove default color argument for fillRectangle
127 * text.C (backgroundColor): new method
129 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
131 * text.C (getVisibleRow): adjust
133 * font.[Ch] (rectText): new method, metrics
134 (buttonText): new method, metrics
136 * PainterBase.[hC]: make rectText and buttonText always draw and take
139 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
141 * ToolbarDefaults.C (read):
142 * MenuBackend.C (read): allow escaping in all strings
144 * BufferView_pimpl.C (insertAndEditInset): new method.
145 (Dispatch): use insertAndEditInset whenever appropriate.
147 * BufferView_pimpl.C (insertNote): removed
149 * BufferView_pimpl.C (smartQuote): new method, moved from
150 BufferView; if an insetquote cannot be inserted, insert a '"'
153 * BufferView2.C: remove insertCorrectQuote();
155 * lyxfunc.C (getStatus): Add support for all remaingin
158 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
160 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
161 command (necessary to pass " as parameter of self-insert.
163 * text.C (selectWordWhenUnderCursor):
164 (selectWord): add word_location parameter
165 (selectWordWhenUnderCursor): same + remove special code for word
167 (selectNextWord): use kind() to guess type of insetspecialchar,
170 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
171 (insertErtContents): create ert insets as collapsed.
172 (readInset): better compatibility code for Info inset.
174 2001-07-20 Juergen Vigna <jug@sad.it>
176 * lyxfunc.C (dispatch): use always LyXFind now!
178 * text2.C (init): add a reinit flag so that the LyXText can be
179 reinited instead of deleted and reallocated (used in InsetText).
181 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
187 2001-07-18 Juergen Vigna <jug@sad.it>
189 * text.C (selectNextWord): handle insets inside inset by calling
190 always the bv->text functions so that we can go up the_locking_inset!
192 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
193 in strange locations when inside an inset!
195 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
196 handling to include insets.
198 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
200 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
202 * LyXAction.C (init):
204 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
205 LIGATURE_BREAK, since the name is so stupid.
207 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
209 * buffer.C (readInset): enable reading of new InsetNotes as well as old
212 * FontLoader.C: remove FORMS_H_LOCATION cruft.
214 * sp_form.[Ch]: remove.
216 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
218 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
221 * src/buffer.C (readInset): ditto.
223 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
225 * BufferView_pimpl.C (specialChar): new method. Obsoletes
226 menuSeparator(), endOfSentenceDot(), ldots() and
227 hyphenationPoint(), which are therefore removed.
228 (Dispatch): handle LFUN_HYPHENATION_BREAK.
230 * LyXAction.C (init):
231 * commandtags.h: add LFUN_HYPHENATION_BREAK.
233 * paragraph.C (getWord): removed.
235 * BufferView_pimpl.C (Dispatch): use last word or selection for
236 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
238 * lyx_main.C (queryUserLyXDir): do not ask before creating
239 user_dir, except if it has been named explicitely.
241 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
243 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
244 a document of zero size.
246 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
248 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
249 approriately in the c-tor and in require().
250 (getPackages): output the appropriate LaTeX for natbib support.
252 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
253 variables "use_natbib" and "use_numerical_citations" when reading the
255 (readInset): read the various natbib cite commands.
256 (validate): white-space change.
258 * bufferparams.[Ch]: new variables "bool use_natbib" and
259 "bool use_numerical_citations".
260 (writeFile): output them in the LyX file.
262 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
264 * lyxfunc.C (getStatus): add support for all the inset insertion
267 * text2.C (insertInset):
268 * paragraph.C (insetAllowed):
269 * BufferView_pimpl.C (insertInset): update to take in account the
270 renaming of insertInsetAllowed
272 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
274 * text2.C (getInset): new method. returns inset at cursor position.
276 * BufferView_pimpl.C (Dispatch): changes because of this.
278 * LyXAction.C (init): rename open-stuff to inset-toggle.
280 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
282 * text2.C (toggleInset): renamed from openStuff; use
285 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
287 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
289 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
291 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
293 * buffer.C (readLyXformat2): Add filename to the error dialog
295 2001-07-18 Juergen Vigna <jug@sad.it>
297 * tabular.C (GetCellNumber): put an assert here instead of the check!
299 2001-07-17 Juergen Vigna <jug@sad.it>
301 * BufferView_pimpl.C (toggleSelection): adapted too.
303 * text.C (selectNextWord): adapted for use with insets.
304 (selectSelectedWord): ditto
306 2001-07-17 Juergen Vigna <jug@sad.it>
308 * sp_spell.C (PSpell): fix initialitation order.
310 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
312 * paragraph.C: spacing
314 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
316 * sp_spell.C: repair language selection for pspell
318 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
320 * lyxfunc.h: change more methods to begin with lower char.
322 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
324 * buffer.C (parseSingleLyXformat2Token): Generate error insets
327 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
329 * buffer.C (readLyXformat2): Generate an error dialog if there are
332 2001-07-16 Juergen Vigna <jug@sad.it>
334 * sp_spell.C: always compile ISpell part.
336 * lyxrc.C: added use_pspell entry and it's handling.
338 2001-07-13 Juergen Vigna <jug@sad.it>
340 * sp_spell.C: removed double includes.
342 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
344 Consistent use of Lsstream.h:
345 * Lsstream.h: added using std::stringstream for consistencies sake.
347 * buffer.C: removed using std::stringstream
349 * lyxfont.C (stateText):
350 * paragraph.C (asString):
351 * text.C (selectNextWord, selectSelectedWord):
352 * text2.C (setCounter):
353 * vspace.C (asString, asLatexString):
354 std::ostringstream -> ostringstream.
356 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
358 * LyXAction.C: add LFUN_HELP_ABOUTLYX
359 * commandtags.h: add LFUN_HELP_ABOUTLYX
360 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
362 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
364 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
366 * lyx_gui_misc.C: remove spellchecker
367 * lyxfunc.C: showSpellchecker
372 * sp_form.[Ch]: removed
373 * spellchecker.[Ch]: removed
375 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
377 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
379 (simpleTeXSpecialChars): Simply print the input character without
380 any special translation if pass_thru is set.
382 * layout.h: Added bool pass_thru to layout class for being able to
383 implement pass through of a paragraph for Literate Programming.
385 * layout.C: add LT_PASS_THRU to LayoutTags enum.
386 * layout.C (LyXLayout): set pass_thru to flase in constructor.
387 * layout.C (Read): add "passthru" to list of layout tags and add
388 code to set the pass_thru boolean when it is read.
390 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
392 * trans_decl.h: remove allowed from KmodInfo
394 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
398 * paragraph_pimpl.C (erase): use boost::prior
400 * Painter.C (text): use data() instead of c_str() when length is
402 * WorkArea.C (putClipboard): ditto
403 * font.h (width): ditto
405 * BufferView2.C: use it-> instead of (*it). for iterators
407 * paragraph_pimpl.C: ditto
409 * minibuffer.C: ditto
418 * MenuBackend.C: ditto
423 * ColorHandler.C (LyXColorHandler): ditto
425 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
427 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
429 * text2.C (openStuff): reintroduce this method (which had been
430 nuked in NEW_INSETS frenzy).
432 * lyxfunc.C (Dispatch): when an action has not been handled, use
433 its name in the error message, not its number.
435 * paragraph.C (inInset): change method name to begin with lowercase.
438 * text2.C: updates because of this.
440 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
442 * ToolbarDefaults.C (add): add spaces in error message
444 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
446 * buffer.C (readLyXformat2): initialize the ert comp. variables.
447 (readLyXformat2): rename return_par to first_par, use lyxlex's
448 pushToken and remove the manual push handling.
449 (parseSingleLyXformat2Token): add another ert comp. variable:
450 in_tabular, rename return_par to first_par. handle newlines better
452 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
454 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
456 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
458 * text2.C (getParFromID): removed
460 * buffer.C (getParFromID): new method moved form lyxtext.
461 * BufferView2.C (insertErrors): adjust
462 (setCursorFromRow): adjust
463 * BufferView_pimpl.C (restorePosition): adjust
464 * lyxfunc.C (Dispatch): adjust
465 * undo_funcs.C (textUndo): adjust
467 (textHandleUndo): adjust
468 (textHandleUndo): adjust
470 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
472 * buffer.C: up' the LYX_FORMAT
474 * lyxfont.h: turn NO_LATEX on as default
476 * buffer.C (insertErtContents): new methods of tex style compability.
477 (parseSingleLyXformat2Token): use it several places.
478 * tabular.C (OldFormatRead): and here
480 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
482 * text2.C: remove some commented code.
485 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
486 * trans.C: changes because of the above.
488 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
490 * text2.C (setCounter): Fix counters bug with bibliography layout.
492 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
494 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
496 (simpleTeXSpecialChars): ditto
498 2001-07-06 Juergen Vigna <jug@sad.it>
500 * a lot of files: changed the access to LyXText::status and the
501 call of undo-functions.
503 * undo.[Ch]: added a inset_id to the undo informations.
505 * undo_funcs.[Ch]: added and moved here all undo functions.
507 * lyxtext.h: give the status enum a weight, made status_ a private
508 variable and made accessor functions for it, removed the whole bunch
509 of undo-functions as they are now in their own file, make some
510 functions publically available. Added function ownerParagraph with
513 * paragraph.[Ch]: added "bool same_ids" to the constructor,
514 made InInset() a const function, added getParFromID() function.
516 * buffer.[Ch]: added const version for inset_iterator functions,
517 added getInsetFromID() function.
519 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
520 changed undo functions for new version.
522 2001-07-05 Juergen Vigna <jug@sad.it>
524 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
525 unknow mechanism does not call the proper constructor but only this
526 one also if I request the other!?
528 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
530 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
532 * text2.C (LyXText): use initialization lists.
534 * lyxtext.h (Selection): initialize set_ and mark_
535 (init): remove method
537 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
539 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
541 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
543 * screen.[Ch]: change method names to begin with lowercase
545 * BufferView_pimpl.C (updateScrollbar): simplify further and
546 hopefully make it a bit faster.
548 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
550 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
551 calling directly xforms functions.
553 * Painter.C (Painter):
554 * lyx_cb.C (MenuWrite):
555 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
558 * lyx_gui.C: remove bogus guiruntime extern declaration.
560 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
562 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
564 (redoDrawingOfParagraph): ditto
565 (redoParagraphs): ditto
566 (cutSelection): don't create a object for CutAndPaste use the
567 static method directly
568 (pasteSelection): ditto
570 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
573 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
575 * modifications to some other files because of this.
577 * Makefile.am (lyx_SOURCES): add XFormsView
579 * XFormsView.[Ch]: new files
581 * LyXView.[Ch]: make LyXView a base class for the gui handling for
582 the main window. Move the gui dependent stuff to XFormsView
584 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
586 * tabular.C (GetCellInset): update cur_cell also in the row/col
587 version of this function.
589 * lyxfunc.C: no need to include figure_form.h here.
595 * lyxvc.C: no need to include forms.h here.
597 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
599 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
601 * lyxfunc.C (Dispatch):
603 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
604 constructor argument.
606 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
608 * paragraph.C (Paragraph): dont't clear, and just set layout.
609 (makeSameLayout): use params's copy contructor.
611 * ParagraphParameters.[Ch] (makeSame): delete method
613 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
615 * Variables.[Ch]: fix indentation, rename set to isSet
617 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
619 * lyxfunc.C (Dispatch): fix typo
621 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
623 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
626 * bufferlist.C: include assert.h for emergencyWrite().
628 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
630 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
631 give up at last (bug #425202) !
633 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
639 * spellchecker.C: strip spellchecker options and bring up
640 preferences tab instead
642 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
644 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
645 the istringstream constructor
647 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
649 * paragraph.C (getLayout): fix return value
651 * paragraph.h: do not declare getLayout as inline.
653 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
655 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
657 * lyxcursor.h (operator<): new func
658 (operator>): new func
659 (operator>=): new func
660 (operator<=): new func
662 * text.C (changeCase): use selection.start and selection.end
663 (changeRegionCase): require from to be <= to. Require par to be a
666 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
668 2001-06-27 Juergen Vigna <jug@sad.it>
670 * text.C (cursorLeftOneWord): changed to return the cursor and added
671 overlay with BufferView * parameter which calls this one.
673 (selectWord): use new getWord function.
674 (changeCase): renamed from changeWordCase as and extended to work
677 * lyxtext.h: added enum word_location
679 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
680 changeCase as this operates now also on selections.
682 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
684 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
686 * many files: send debug output to Debug::INFO instead of
689 * converter.C (View):
691 (Move): send debug output to Debug::FILES instead of console.
693 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
695 * lyxfunc.C (getStatus): use func_status
697 * func_status.h: new header, describing the results of
700 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
703 2001-06-25 The LyX Project <jug@sad.it>
705 * buffer.C (sgmlOpenTag):
707 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
709 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
711 * text2.C: remove some dead code
713 * tabular.C (GetCellInset): store the last cell checked (gotten)
715 * tabular.h: add the helper for the speedup
717 * lyxtext.h: remove some dead code
719 2001-06-26 The LyX Project <Asger>
721 * paragraph.C: Change export to LaTeX of alignment to
722 \begin{center} and family for better roundtrip work with reLyX.
724 * Tune the math drawing a bit.
726 2001-06-25 The LyX Project <Asger>
728 * LColor.C (LColor): New color for math background. New color
731 2001-06-25 The LyX Project <jug@sad.it>
733 * lyxfunc.C (MenuNew): remove extra check for .lyx file
736 * bufferlist.C (newFile): do not restrict to files ending with
739 * BufferView_pimpl.C (MenuInsertLyXFile):
741 2001-06-24 The LyX Project <jug@sad.it>
743 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
746 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
748 * lyxtext.h: rename most methods to begin with a small char.
749 Lots of changes because of this.
751 * paragraph.C (Paragraph): do not call fitToSize
752 (erase): call Pimpl::erase
753 (insertChar): call Pimpl::insertChar
754 (insertInset): call Pipl::insertInset
755 (breakParagraph): do not call fitToSize
756 (breakParagraphConservative): do not call fitToSize
757 (fitToSize): remove method
759 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
761 2001-06-24 The LyX Project <Asger>
763 * Fix Qt compilation^2
765 2001-06-24 The LyX Project <jug@sad.it>
767 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
768 depthHook(getDepth()-1).
771 * ParagraphParameters.h:
772 * ParameterStruct.h: change type of depth to unsigned int ==
773 depth_type. Many adaptations to other files before of that.
775 2001-06-24 The LyX Project <Asger>
777 * Fix Qt compilation.
779 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
781 * paragraph.h: renamed several methods to begin with small letter.
782 several changes to many parts of the code because of this.
784 2001-06-23 The LyX Project <jug@sad.it>
786 * text2.C (InsertStringAsLines): renamed from InsertStringA;
787 rewritten to discard all double spaces when KeepEmpty is off
788 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
789 to only handle newlines but not fiddle with spaces and friends.
791 * lyxfunc.C (MenuNew): when doing 'new from template', use
792 template_path as default directory
794 2001-06-23 The LyX Project <Asger>
796 * Clean-up of header file includes all over
797 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
799 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
801 * paragraph.h: renamed from lyxparagraph.h
803 2001-06-23 Asger <lyx@violet.home.sad.it>
805 * Buffer.h: Removed Buffer::resize
806 * BufferList.h: Removed BufferList::resize
807 * LyXView.h: Added LyXView::resize. This way, we will only reflow
808 the document lazily when we change the width, or the font settings.
810 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
812 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
814 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
816 * buffer.h: remove out of date comment
818 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
821 * screen.C: fix "theoretical" GC leak
823 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
825 * LaTeX.C (scanAuxFile):
826 (deplog): remove trailing \r when reading stream (useful under
829 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
831 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
832 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
833 and BufferView::theLockingInset(Inset*), so should use them and not
834 access bv_->text->the_locking_inset directly.
836 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
838 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
841 * tex-defs.h: remove old unused file
843 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
845 * BufferView_pimpl.C: fix typo, remove minibuffer message
846 when buffer has loaded
848 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
850 * lyxfunc.C (Dispatch): use stringstream
851 (MenuNew): use stringstream
852 (Open): use stringstream
854 * importer.C (Import): use stringstream
856 * bufferview_funcs.C (CurrentState): use stringstream
858 * LaTeX.C (run): use stringstream
860 * BufferView_pimpl.C (savePosition): use stringstream
861 (restorePosition): use stringstream
862 (MenuInsertLyXFile): use stringstream
864 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
877 * vspace.C: removed // -*- C++ -*- as first line.
880 * version.h: added // -*- C++ -*- as first line.
882 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
884 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
886 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
889 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
891 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
894 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
896 * gettext.C: include LString.h even when --disable-nls is on.
898 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
900 * converter.h (Get): changed argument type from int to
901 FormatList::size_type to avoid unnecessary conversion.
903 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
906 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
908 * gettext.h: include LString.h even when --disable-nls is on.
910 2001-06-07 Juergen Vigna <jug@sad.it>
912 * text.C (BreakAgain): subst spaces with tabs.
914 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
915 (resizeInsetsLyXText): set force on resizeLyXText.
917 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
919 * gettext.h (gettext_init):
920 (locale_init): use a real definition instead of a macro
922 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
924 * Bufferview_pimpl.C:
926 * LColor.C: further lcolor tidies
928 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
930 * BufferView_pimpl.C (updateScrollbar): simplify.
932 * BufferView2.C: don't include insets/insetinfo.h, change
933 prototype for insertInset and call the Pimpl version. let
934 updateInset call Pimpl version.
936 * BufferView.h: move inset_slept to BufferView::Pimpl, move
937 gotoInset to BufferView::Pimpl
939 2001-06-01 Juergen Vigna <jug@sad.it>
941 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
942 inside a LockingInset (is the update needed at all?).
944 2001-05-31 Juergen Vigna <jug@sad.it>
946 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
947 here not the old one otherwise how should we compare it afterwards
950 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
955 * FontInfo.C: bring C functions into global namespace when
958 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
960 * LString.h: make sure config.h has been loaded before LString.h.
962 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
963 (one for each char read by EatLine!).
965 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
968 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
970 * paragraph.C (BreakParagraph): set the inset_owner in the new par
971 to the same as the par we break from
973 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
975 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
977 * MenuBackend.C (expand): also create menu entries for wide
978 versions of the floats.
980 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
982 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
984 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
985 frontends/Makefile.am
991 * tabular.C (getTokenValue): add std::
993 * tabular-old.C (getTokenValue): add std::
994 (getTokenValue): ditto
995 (getTokenValue): ditto
997 * screen.C (ToggleSelection): adjust
999 * lyxtext.h: put selection cursors inside a Selection struct.
1001 * lyxfunc.C (moveCursorUpdate): adjust
1003 * lyxfont.C (latexWriteStartChanges): add std::
1007 * font.h: delete with(char const *, LyXFont const &)
1009 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
1011 * FontInfo.C (getFontname): add std::
1013 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1014 (workAreaButtonPress): adjust
1015 (tripleClick): adjust
1017 (moveCursorUpdate): adjust
1020 * BufferView2.C (gotoInset): adjust
1022 2001-05-30 Juergen Vigna <jug@sad.it>
1024 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
1025 to check pspell I add this as default as I now have new pspell
1026 libraries and they seem to use this.
1028 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1030 * text2.C (CutSelection): make the cursor valid before the call to
1033 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1035 * kbsequence.C (parse): de-uglify a bit the parsing code, which
1036 relied on 0 terminated strings and other horrors. Bug found due to
1037 the new assert in lyxstring!
1039 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
1042 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1044 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
1047 * lyxfunc.C (processKeySym): change method of getting to the
1050 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
1051 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
1052 * BufferView_pimpl.[Ch]: here as private methods.
1054 2001-05-28 Juergen Vigna <jug@sad.it>
1056 * text.C (SetHeightOfRow): added the update() call again as it is
1057 needed to initialize inset dimensions!
1059 2001-05-16 Juergen Vigna <jug@sad.it>
1061 * text2.C (SetCharFont): Add new function with BufferView * and
1062 bool toggleall parameters for setting insets internal fonts.
1063 (SetFont): Freeze the undo as we may change fonts in Insets and
1064 all this change should be inside only one Undo!
1066 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
1067 setting font's in insets as for them we have the SetFont function!
1069 2001-05-15 Juergen Vigna <jug@sad.it>
1071 * text2.C (ClearSelection): to be sure we REALLY don't have any
1074 * tabular.C (TeXCellPreamble): fixed the left border problem for
1077 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
1079 * LaTeX.C (deplog): Make sure that the main .tex file is in the
1082 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1084 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
1085 LFUN_BREAKPARAGRAPH.
1087 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
1088 help test to "internal only", similar for LFUN_INSERT_URL
1090 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
1091 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
1092 auto_region_delete and deadkeys.
1094 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
1097 * LColor.C: remove some dead entries, tidy a little
1099 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1101 * lyxfunc.C (processKeySym): comment the Escape handling, remove
1103 (Dispatch): implement LFUN_ESCAPE
1105 * commandtags.h: add LFUN_ESCAPE
1107 * LyXAction.C (init): add entry for LFUN_ESCAPE
1109 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
1110 Remove commented code.
1111 (insertNote): moved here
1112 (open_new_inset): moved here
1114 * BufferView[2].[Ch]: move insertNote and open_new_inset to
1117 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1119 * kbmap.C (findbinding): clean it up and make it work correctly.
1121 * lyx_main.C (init): do not pass argc and argv as parameters
1123 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1125 * buffer.C: fix path for OS/2 & Win32
1129 * lyx_main.C: Added os:: class.
1131 * os2_defines.h: update
1133 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1135 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
1136 better by trying again with reduced state.
1138 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1140 * lyxrc.C (read): print error about invalid key sequence only when
1141 debugging (because not all latinX keysyms are known to some X
1144 * kbsequence.C (getiso): add a few std:: qualifiers
1145 (getiso): comment out extra return statement.
1147 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1149 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
1151 (Dispatch): enhance the accent inset a bit. (not perfect)
1153 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1155 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
1157 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1159 * bufferlist.C (emergencyWrite): fix assert() call
1161 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
1163 * text.C (InsertChar): Added trivial patch to only send the "you
1164 can not do multiple spaces this way" message once during a
1167 2001-05-08 Baruch Even <baruch@lyx.org>
1169 * Makefile.am: Changed order of libraries to get LyX to link properly
1170 with the gnome frontend.
1172 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1174 * LaTeXFeatures.h: add a std:: qualifier
1176 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1178 * paragraph.C (String): use stringstream
1180 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1182 * paragraph.C (writeFile): remove footflag arg
1184 * buffer.C (makeLaTeXFile): use stringstream
1185 (latexParagraphs): remove footnot gurba
1187 * LaTeXFeatures.C (getPackages): use stringstream
1188 (getMacros): likewise
1189 (getTClassPreamble): likewise
1190 (getFloatDefinitions): new method
1192 * paragraph.C (writeFile): reindent
1195 * WorkArea.h: revert the xpos + etc changes.
1197 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
1199 * lyxparagraph.[Ch]: add copy constructor, remove Clone
1201 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
1202 (pasteSelection): likewise
1203 * text2.C (CreateUndo): likewise
1205 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1207 * minibuffer.C (peek_event): temporarily reduce the functionality
1208 of the minibuffer (to allow args on lfuns)
1210 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
1211 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
1213 * buffer.C (readInset): add compability reading of old float
1214 lists, add reading of new style float list.
1215 (readInset): avoid reevaluation of inscmd.getCmdName()
1216 (getLists): reindent
1218 * MenuBackend.C (MenuItem): implement parsing of
1219 md_floatlistinsert and md_floatinsert.
1220 (expand::LastFiles): move initalizaton of iterators out of loop,
1222 (expand::Documents): introduce typdedef vector<string> Strings,
1224 (expand::ExportFormats): introduce typedef vector<Format const *>
1225 Formats, and use it.
1226 (expand): implement FloatListInsert and FloatInsert.
1228 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
1229 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
1230 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
1232 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
1234 (Dispatch::LFUN_FLOAT_LIST): implement
1236 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1238 * LaTeX.C (run): Fix problem with --export code.
1240 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1242 * BufferView.[Ch] (workarea): removed.
1243 (getClipboard) new method; wrapper for workarea()->getClipboard()
1245 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
1248 * WorkArea.h (width, height, xpos, ypos): These methods all
1249 returned the dimensions of the work_area sub-area of WorkArea,
1250 resulting in a position error if the WorkArea were resized. Now
1251 return the dimensions of the entire WorkArea.
1253 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
1255 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1257 * LaTeX.C (deplog): correct the syntax of regex reg1
1259 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1261 * undo.C: remove !NEW_INSETS cruft
1263 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1265 * text2.C: remove !NEW_INSETS cruft
1267 * text.C: remove !NEW_INSETS cruft
1269 * tabular.C: remove !NEW_INSETS cruft
1271 * spellchecker.C: remove !NEW_INSETS cruft
1273 * lyxtext.h: remove !NEW_INSETS cruft
1275 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
1277 * lyxfunc.C: remove !NEW_INSETS cruft
1279 * lyxfind.C: remove !NEW_INSETS cruft
1281 * lyx_cb.C: remove !NEW_INSETS cruft
1283 * figureForm.C: remove !NEW_INSETS cruft
1285 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
1287 * buffer.[Ch]: remove !NEW_INSETS cruft
1289 * ToolbarDefaults.C: remove !NEW_INSETS cruft
1291 * CutAndPaste.C: remove !NEW_INSETS cruft
1293 * BufferView_pimpl.C: remove !NEW_INSETS cruft
1295 * BufferView2.C: remove !NEW_INSETS cruft
1297 * BufferView.h: remove !NEW_INSETS cruft
1299 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1301 * Lsstream.h: include LString.h before the sstream headers to
1302 fix problem with gcc 2.95.3 and lyxstring
1304 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1306 * lyx_main.C: add using directives when needed for C functions
1307 declared in std:: namespace.
1309 2001-04-27 Juergen Vigna <jug@sad.it>
1311 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
1312 (SetHeightOfRow): comment out the update call should not be needed!
1314 2001-04-13 Juergen Vigna <jug@sad.it>
1316 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
1317 (LyXTabular): tried to minimize operator= operations (and realized
1318 hopfully Lars wish).
1320 2001-04-27 Juergen Vigna <jug@sad.it>
1322 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
1324 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1326 * lyxfunc.C (Dispatch): hack to make listof algorithm work
1328 * buffer.C (readInset): hack to make listof algorithm work
1330 * BufferView_pimpl.C: hack to make listof algorithm work
1332 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1334 * LyXAction.C: removed all !NEW_INSETS cruft
1335 (init): moved lfun_item in method
1337 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
1339 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1341 * BufferView2.C (theLockingInset): white space.
1343 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1345 * minibuffer.C: include <iostream>
1347 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
1349 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
1351 * commandtags.h: add LFUN_TRANSPOSE_CHARS
1353 * text.[Ch] (TransposeChars): new method
1355 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1357 * call message directly through LyXView instead of through LyXFunc
1358 * BufferView2.C: adjust
1359 * BufferView_pimpl.C: adjust
1360 * FontLoader.C: adjust
1362 * bufferview_funcs.C: adjust
1363 * converter.C: adjust
1364 * figureForm.C: adjust
1365 * importer.C: adjust
1367 * lyx_gui_misc.C: adjust
1371 + more files in subdirs
1373 * lyxparagraph.h (size): move up int file
1376 * adjust all uses of Assert to lyx::Assert.
1378 * BufferView2.C (ChangeCitationsIfUnique): adjust for
1379 lyxfunctional in namespace lyx
1380 * layout.C (hasLayout): ditto
1383 (delete_layout): ditto
1384 (NumberOfClass): ditto
1385 * converter.C (GetFormat): ditto
1390 * bufferlist.C (getFileNames): ditto
1391 (emergencyWriteAll): ditto
1394 * MenuBackend.C (hasSubmenu): ditto
1397 * BufferView_pimpl.C (getInsetByCode): ditto
1399 2001-04-18 Juergen Vigna <jug@sad.it>
1401 * vspace.C (asLatexString): fixed the 100% problem.
1403 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1405 * lyxfunc.C (Dispatch):
1407 * minibuffer.h: add a few std:: qualifiers
1409 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1411 * minibuffer.[Ch]: reimplement so that commands is initiated and
1412 run from lyxfunc, simplified som handling, and made the completion
1413 and history code for complete. wip.
1415 * lyxfunc.C (processKeySym): call message
1416 (miniDispatch): new temporary method
1417 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
1418 (LFUN_MESSAGE): implement
1419 (LFUN_MESSAGE_PUSH): implement
1420 (LFUN_MESSAGE_POP): implement
1421 (initMiniBuffer): the initial/defualt minibuffer message.
1423 * lyxfont.[Ch]: inline some more getters
1425 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
1427 * lyx_gui_misc.[Ch] (WriteStatus): remove method
1429 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
1430 (AutoSave): use LFUN_MESSAGE
1431 (Reconfigure): ditto
1433 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
1435 * figureForm.C: use LFUN_MESSAGE
1437 * converter.C (runLaTeX): use LFUN_MESSAGE
1439 * bufferview_funcs.C: use LFUN_MESSAGE
1441 (changeDepth): ditto
1443 * bufferparams.h: use boost::
1445 * bufferlist.h: inherit privately from noncopyable
1447 * bufferlist.C (loadLyXFile): remove some commented code.
1449 * buffer.C (runChktex): use LFUN_MESSAGE
1451 * ShareContainer.h: inherit privately from noncopyable
1453 * ParagraphParameters.[hC] (depth): inline it.
1455 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
1457 (message): new method
1458 (messagePush): ditto
1460 (show): init minibuffer
1461 (showState): direct call
1463 * LaTeX.[Ch]: inherit privately from noncopyable
1464 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
1465 instead of WriteStatus.
1467 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
1469 * BufferView_pimpl.C (buffer): don't init minibuffer
1470 (workAreaButtonPress): use LFUN_MESSAGE
1471 (workAreaButtonRelease): ditto
1472 (savePosition): ditto
1473 (restorePosition): ditto
1474 (MenuInsertLyXFile): ditto
1475 (workAreaExpose): don't init minibuffer
1476 (update): remove commented code, simplify
1478 * BufferView2.C (openStuff): use LFUN_MESSAGE
1479 (toggleFloat): ditto
1482 (copyEnvironment): ditto
1483 (pasteEnvironment): ditto
1488 (updateInset): remove some commented code
1490 * lastfiles.h: inherit privately from noncopyable
1495 * lyxlex_pimpl.h: ditto
1497 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
1498 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
1499 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1501 * LyXAction.h: inherit privately from noncopyable, add methods
1502 func_begin, func_end, returning iterators to the func map.
1504 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
1505 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1506 (func_begin): new method
1507 (func_end): new method
1509 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
1511 (copySelection): ditto
1512 (pasteSelection): ditto
1514 * BufferView.C: whitespace change
1515 * BufferView.h: inherit privately from noncopyable
1517 2001-04-16 Allan Rae <rae@lyx.org>
1519 * tabular-old.C (l_getline):
1520 * spellchecker.C (sc_check_word):
1521 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
1522 an unrecognised preprocessor directive. So ensure they're wrapped.
1524 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
1526 * src/exporter.C (Export): Give an error message when path to file
1529 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
1531 * LaTeX.C (deplog): Always check that foundfile exists.
1533 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1536 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
1538 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1540 * tabular.[Ch] (getLabelList): implement new method
1542 * minibuffer.h: comment ouf setTiimer
1544 * minibuffer.C (ExecutingCB): constify res
1545 (peek_event): constify s
1546 (Set): constify ntext
1547 (Init): constify nicename
1549 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
1551 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
1552 (savePosition): use two params to Minibuffer::Set
1553 (restorePosition): ditto
1555 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1557 * lyx_main.C: include language.h
1559 * Makefile.am (lyx_main.o): add language.h
1561 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1567 * CutAndPaste.C: include gettext.h
1569 * lyxfont.h: remove old hack with ON and OFF.
1572 * lyxfont.h: do not include language.h...
1577 * bufferview_funcs.C:
1583 * paragraph.C: ... but do it here instead
1585 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1587 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
1589 * tabular.C: small reformat
1591 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
1594 (BreakParagraph): ditto
1595 (SetOnlyLayout): ditto
1598 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
1601 * lastfiles.C: removed most using decl, add std:: where needed
1603 * buffer.C: ws changes
1605 * MenuBackend.C (class compare_format): put into anon namespace
1606 (expand): constify label, names, action, action2
1609 * text.C (SingleWidth): constify font
1610 (IsBoundary): constify rtl2
1611 (GetVisibleRow): constify ww
1613 * LaTeX.C (deplog): constify logfile
1615 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
1617 (workAreaExpose): constify widthChange, heightChange
1619 * lyxrow.C (par): moved
1622 * lyxrow.h: as inlines here
1624 * lyxfont.h (shape): moved from lyxfont.C
1625 (emph): moved from lyxfont.C
1627 * lyxfont.C (LyXFont): use initialization list for all
1629 (shape): move to lyxfont.h as inline
1630 (emph): move to lyxfont.h as inline
1633 2001-04-04 Juergen Vigna <jug@sad.it>
1635 * vspace.C: had to include stdio.h for use of sscanf
1637 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
1640 * BufferView_pimpl.h: remove xforms cruft. Both classes are
1641 independent of xforms.
1643 2001-04-02 Juergen Vigna <jug@sad.it>
1645 * spellchecker.C: fixed namespace placing!
1647 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1649 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
1650 the LyXParagraph * is 0.
1652 2001-03-29 Juergen Vigna <jug@sad.it>
1654 * vspace.C: added support for %, c%, p%, l%.
1655 (stringFromUnit): added helper function.
1656 (asLatexString): changed to give right results for the %-values.
1658 * buffer.C: convert the widthp in a width%.
1660 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1662 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
1665 * figureForm.[Ch]: stripped the FD_from_figure manipulation
1666 code out of lux_cb.[Ch], ready for its (imminent?) removal.
1668 * lyx_cb.[Ch]: see above.
1670 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
1674 * lyx.[Ch]: replaced by figure_form.[Ch].
1678 * lyxfunc.C: changed headers associated with above changes.
1680 2001-03-27 Juergen Vigna <jug@sad.it>
1682 * BufferView_pimpl.C: set the temporary cursor right!
1684 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1686 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
1688 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1690 * LString.h: removed "using std::getline"!
1692 * BufferView_pimpl.C (Dispatch): changes due to changes in
1693 InsetInclude::Params.
1695 * buffer.C (tag_name): removed redundant break statements as they were
1696 producing lots of warnings with my compiler.
1698 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1700 * LString.h: add "using std::getline" when using the real <string>.
1702 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
1704 * buffer.C: removed bitset usage.
1705 PAR_TAG moved to an anonymous name space.
1706 (tag_name): new funtion, also in the anonymous namespace.
1707 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
1708 (makeDocBookFile): clean code. Completed transition from string arrays
1710 (SimpleDocBookOnePar): code clean.
1712 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1714 * tabular.C: add some comments.
1716 2001-03-22 Juergen Vigna <jug@sad.it>
1718 * buffer.C (parseSingleLyXformat2Token): redone the minipage
1719 compatibility read a bit and fixed bug with minipage in different
1722 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
1724 * buffer.C (pop_tag): removed.
1725 (push_tag): removed.
1726 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
1727 array replaced with vector. Added support for CDATA sections.
1728 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
1730 (makeDocBookFile): XML conformant declaration of CDATA section,
1731 fixed bug related to <emphasis> in the first paragraph char.
1732 (sgmlOpenTag): exclude empty tags.
1733 (sgmlCloseTag): ditto.
1735 * buffer.h (pop_tag): removed.
1736 (push_tag): removed.
1738 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1740 * language.h (Languages): added size_type and size().
1742 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1744 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
1745 response on compability reading of minipages. One probliem is that
1746 the old usage of minipages was «flertydig»
1748 * several files here and in subdirs: don't use static at file
1749 scope use anon namespaces instead.
1751 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
1753 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
1754 LaTeX output. This is necessary for Literate document
1757 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1759 * buffer.C: insert hfill when needed.
1761 * tabular.C (l_getline): use string::erase, small whitespace change.
1763 * BufferView_pimpl.C: try the anon namespace.
1766 2001-03-16 Juergen Vigna <jug@sad.it>
1768 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
1769 otherwise it won't open options-dialogs.
1771 * buffer.C: honor pextraWidth(p) on converting minipages.
1773 * tabular.C (l_getline): changed the functions to strip trailing \r.
1775 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1777 * BufferView_pimpl.C:
1778 * minibuffer..C: added "using SigC::slot" declaration.
1780 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1782 * lyxlex_pimpl.h: noncopyable is in namespace boost.
1788 * paragraph.C: ditto
1790 * lyxtext.h: NO_PEXTRA
1792 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
1794 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
1795 * ParameterStruct.h: ditto
1796 * ParagraphParameters.h: ditto
1797 * lyxparagraph.h: ditto
1799 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1801 * buffer.C: add compability for minipage alignment.
1802 (latexParagraphs): remove unwanted pextra check.
1804 * several files: remove CXX_WORKING_NAMESPACES
1806 * buffer.C (pop_tag): tie is in namespace boost
1808 * BufferView.h: noncopyable is in namespace boost
1813 * lastfiles.h: ditto
1814 * bufferlist.h: ditto
1815 * ShareContainer.h: ditto
1817 * LyXAction.h: ditto
1820 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1822 * Merging changes from BRANCH_MVC back into HEAD.
1824 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
1826 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
1828 * BufferView_pimpl.C: change from intl.C
1832 * Makefile.am: move combox.*
1838 * intl.C: remove dialog (covered by prefs)
1840 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1842 * lyxfunc.C (Dispatch): removed redundant break statement.
1844 2001-03-14 Juergen Vigna <jug@sad.it>
1846 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
1848 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1850 * buffer.C: add hack to fix compability reading of minipages.
1852 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
1854 * buffer.C (getLists): Cleanup.
1856 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1858 * lyxfont.C (update): don't honor toggleall on font size.
1860 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
1864 * Makefile.am: moved to frontends/xforms/
1868 * BufferView_pimpl.C: changes for moved mathpanel
1870 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1872 * gettext.h: fix gettext_init() in --disable-nls
1874 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1876 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
1878 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
1881 * lyx.h: strip external form
1883 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1885 * BufferView_pimpl.C: add comment, destroySplash()
1887 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1889 * BufferView_pimpl.C:
1893 * lyxfunc.C: use re-worked insetinclude
1895 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1897 * buffer.C: add using std::stringstream.
1899 * lyx_cb.C: readd using std::ios.
1901 * buffer.C: add using std::map.
1903 * BufferView_pimpl.C: add using std::vector.
1905 * ShareContainer.h: add std:: to swap.
1907 * buffer.h: add some typedefs
1908 * buffer.C (getLists): use them
1909 (getLists): renamed from getTocList.
1910 add a counter for the different float types and use it in the
1912 (getLists): use the same counter for the NEW_INSETS and the "non"
1915 * lyx_cb.h: remove unused items, includes, using etc.
1917 * ShareContainer.h: remove some commented code, add more comments
1918 and "documentation".
1920 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1922 * buffer.C (getTocList): make the list also when NEW_INSETS is
1925 * buffer.h: remove TocType
1927 * buffer.C (getTocList): change to return a map<string,
1928 vector<TocItem> >, implement for dynamic number of list.
1930 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
1931 * text2.C (PasteSelection): adjust
1932 * CutAndPaste.C (pasteSelection): adjust
1934 * FloatList.C (FloatList): update from the new_insets branch.
1935 * Floating.[Ch]: ditto
1936 * LaTeXFeatures.C: ditto
1938 * lyxlex_pimpl.C: ditto
1940 * paragraph.C (Last): remove when NEW_INSETS is defined.
1942 * other file: changes because of the above.
1944 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1946 * lyxparagraph.h: rename next to next_, previous to previous_,
1947 make them private for NEW_INSETS. Rename Next() to next(),
1948 Previous() to previous().
1950 * other files: changes because of the above.
1952 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
1955 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
1958 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1960 * main.C (main): pass lyx_localedir to gettext_init().
1962 * gettext.h: remove locale_init and gettext_init macros
1964 * gettext.C (locale_init): new function
1965 (gettext_init): new function
1967 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
1970 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
1972 * Moved credits to frontends:
1973 * credits.[Ch]: removed
1974 * credits_form.[Ch]: removed
1975 * lyx_gui_misc.C: remove credits stuff
1978 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1980 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
1982 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
1983 unneeded destructor.
1985 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
1986 a standalone pointer again.
1988 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
1990 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
1996 * ToolbarDefaults.C:
2005 * BufferView_pimpl.C: use new file dialog in GUII
2008 * lyx_cb.C: remove LayoutsCB to Toolbar
2010 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2012 * ShareContainer.h (get): add std:: qualifier
2014 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2016 * ShareContainer.h: define a proper ShareContainer::value_type
2017 type (and use typename to please compaq cxx)
2019 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2021 * lyxparagraph.h: move serveral local vars to
2022 ParameterStruct/ParagraphParameters., use ShareContainer in
2023 FontTable., make vars in FontTable private and add getter and
2026 * paragraph.C: changes because of the above.
2028 * lyxfont.h: remove copy constructor and copy assignment. (the
2029 default ones is ok), move number inside FontBits. move inlines to
2032 * lyxfont.C: add number to initializaton of statics, move several
2033 inlines here. constify several local vars. some whitespace
2034 cleanup. Dont hide outerscope variables.
2036 * Spacing.h: add two new constructors to match the set methods.
2038 * ShareContainer.h: new file, will perhaps be moved to support
2040 * ParameterStruct.h: new file
2042 * ParagraphParameters.h: new file
2044 * ParagraphParameters.C: new file
2046 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
2047 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
2049 * BufferView_pimpl.C: ParagraphParameter changes.
2050 * buffer.C: Likewise.
2051 * bufferview_funcs.C: Likewise.
2053 * text2.C: Likewise.
2055 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2057 * lyxfind.C (LyXReplace): do not redefine default argument in
2059 (IsStringInText): ditto
2060 (SearchForward): ditto
2061 (SearchBackward): ditto
2063 2001-03-06 Juergen Vigna <jug@sad.it>
2065 * lyxfind.C (IsStringInText): put parentes around expressions.
2067 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
2069 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
2071 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
2073 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
2075 * stl_string_fwd.h: add comment
2077 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
2080 * tabular.C: remove unused DocBook methods
2086 killed DO_USE_DEFAULT_LANGUAGE
2088 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2090 * lyx_gui.C: do not include language.h.
2092 * bufferview_funcs.C (ToggleAndShow): do not provide optional
2093 arguments in function implementation.
2095 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2097 * BufferView_pimpl.C: add <ctime>
2099 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2101 * BufferView_pimpl.C: add using std::find_if
2103 2001-02-27 José Matos <jamatos@fep.up.pt>
2105 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
2108 2001-02-11 José Matos <jamatos@fep.up.pt>
2110 * buffer.C (makeDocBookFile): command styles now have a parameter as
2113 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
2115 * layout_forms.[Ch]: removed
2116 * lyx_cb.[Ch]: out character
2117 * lyx_gui.C: out character
2118 * lyx_gui_misc.C: out character
2119 * bufferview_funcs.C: : out character,
2120 added toggleall as parameter in ToggleAndShow
2122 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
2124 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
2126 * text2.C (SetCurrentFont): Disable number property at boundary.
2128 2001-02-26 Juergen Vigna <jug@sad.it>
2130 * lyxfunc.C (getStatus): added a string argument override function so
2131 that this is correctly called from LyXFunc::Dispatch if it contains a
2132 do_not_use_argument which is used!
2133 (Dispatch): added check for "custom" export and call appropriate func.
2135 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
2137 * lyxrc.C: Add language_command_local, language_use_babel and
2138 language_global_options.
2140 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
2142 * buffer.C (makeLaTeXFile): Use language_use_babel and
2143 language_global_options.
2145 2001-02-23 Juergen Vigna <jug@sad.it>
2147 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
2148 which works with LyXText and putted it inside BufferView. Here now we
2149 only call for that part the BufferView::Dispatch() function.
2151 * BufferView.C (Dispatch): added.
2153 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
2154 functions which needs to use a LyXText over from LyXFunc.
2155 (MenuInsertLyXFile): added
2156 (getInsetByCode): added
2157 (moveCursorUpdate): added
2158 (static TEXT): added
2160 2001-02-22 Juergen Vigna <jug@sad.it>
2162 * BufferView_pimpl.C (update): call a status update to see if LyXText
2165 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2167 * vc-backend.C (revert): implement for CVS
2168 (getLog): implement for CVS
2170 2001-02-20 Juergen Vigna <jug@sad.it>
2172 * text2.C (ClearSelection): added BufferView param for inset_owner call
2174 * lyxfunc.C (TEXT): added this function and use it instead of
2175 directly owner->view()-text of getLyXText().
2177 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
2179 * src/layout_forms.C: out preamble
2180 * src/layout_forms.h: out preamble
2181 * src/lyx_cb.C: out preamble
2182 * src/lyx_cb.h: out preamble
2183 * src/lyx_gui.C: out preamble
2184 * src/lyx_gui_misc.C: out preamble
2185 * src/lyxfunc.C: connect with guii preamble
2187 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
2189 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
2191 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
2193 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
2194 whether to run bibtex.
2196 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
2198 * Makefile.am (lyx_SOURCES): Remove BackStack.h
2200 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
2202 * Makefile.am (lyx_SOURCES): removed bibforms.h
2206 * text.C (GetVisibleRow): make several local vars const
2208 * tabular.C: small cleanup.
2210 * lyxserver.C (callback): use compare instead of strncmp
2212 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
2213 inlines to after class or to paragraph.C
2215 * lyxfont.h: remove friend operator!=
2217 * converter.h: move friend bool operator< to non friend and after
2220 * combox.h: small cleanup
2222 * buffer.h: doxygen, remove unused constructor, move inclas inlies
2223 to inlines after class def.
2225 * buffer.C (pop_tag): use string operations instead of strcmp
2227 * bmtable.c: doxygen, small cleanup
2229 * LaTeX.h: remove friend operator==
2231 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2243 * BufferView_pimpl.C:
2244 * BufferView.[Ch]: remove cruft
2246 2001-02-14 Juergen Vigna <jug@sad.it>
2248 * lyxfunc.C: removed #if 0 unused code
2250 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
2252 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
2254 * text2.C (SetSelection): added a BufferView * parameter
2256 2001-02-13 Juergen Vigna <jug@sad.it>
2258 * lyxfunc.C (Dispatch): fixed protected blank problem.
2259 * BufferView2.C (protectedBlank): added LyxText * parameter.
2261 * tabular.C (AppendRow): forgot to set row_info of newly added row.
2262 (AppendColumn): same as above for column_info.
2264 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
2265 (moveCursorUpdate): use a LyXText param for support of InsetText.
2267 * BufferView_pimpl.C (doubleClick): added support for InsetText.
2268 (tripleClick): ditto
2270 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
2272 * BufferView_pimpl.C (update): added LyXText param to honor insets.
2274 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
2276 * text2.C (SetSelection): set correct update status if inset_owner
2279 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
2281 * tabular.C: remove some commented code.
2283 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
2285 * BufferView_pimpl.C: call hideSplash()
2287 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
2290 * bibforms.h: remove
2293 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
2294 add LFUN_CHILD_CREATE
2296 * counters.h: fix tiny typo
2301 * lyx.C: move splash to frontends/xforms/
2303 * lyx_gui_misc.C: move Include and Bibform to frontends
2305 * lyxvc.h: clarify comment
2307 * vspace.C: tiny housekeeping
2309 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
2311 * text.C (PrepareToPrint): RTL Fix.
2313 * paragraph.C (GetUChar): New method.
2314 (String): Use GetUChar.
2316 * buffer.C (asciiParagraph): Use GetUChar.
2318 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
2320 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
2322 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
2325 * buffer.C: rename to getLogName(), handle
2326 build log / latex log nicely
2328 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2331 * MenuBackend.h: remove support for reference menuitem type.
2333 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
2335 * BufferView_pimpl.C: housekeeping
2336 * BufferView_pimpl.h:
2341 * minibuffer.h: move Timeout GUI-I
2343 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
2345 * lyxrc.C (read): Update converters data-structures.
2347 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
2349 * LaTeX.h (operator!=): add operator != for Aux_Info
2351 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
2353 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
2355 * LaTeXLog.C: deleted, useful code moved to Buffer
2358 * buffer.C: new function getLatexLogName()
2364 * lyxfunc.C: use frontends for LaTeX and VC logs
2366 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2368 * LaTeX.h: yet another std:: that Allan forgot.
2370 * Variables.C (set): renamed from isset(), because this clashes
2371 with some HP-UX macros (grr).
2373 2001-02-06 Allan Rae <rae@lyx.org>
2375 * LaTeX.h: Another bug fix. Missing std:: this time.
2377 2001-02-04 Allan Rae <rae@lyx.org>
2379 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
2380 floats problem. I've left it commented out because it's not quite
2381 correct. It should also test that the current object is a table or
2382 figure inset. But I haven't gotten around to figuring out how to do
2383 that. I *think* it'll be something like: "table" == inset.type()
2385 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
2388 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
2390 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
2391 all the citation/databases/styles in the auxilary file.
2392 (run): Rerun latex if there was a babel language error.
2394 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
2396 * text.C (Backspace): Preserve the font when changing newline char
2398 (BreakParagraph): If the cursor is before a space, delete the space.
2400 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
2402 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
2404 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
2405 new argument (code).
2406 (ChangeCitationsIfUnique): New method.
2408 * paragraph.C (GetPositionOfInset): Handle bibkey.
2410 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2412 * BufferView_pimpl.h: change type of Position::par_pos to
2413 LyXParagraph::size_type.
2415 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
2417 * BufferView_pimpl.C (savePosition, restorePosition): Write
2418 messages to minibuffer.
2420 2001-01-28 José Matos <jamatos@fep.up.pt>
2422 * buffer.C (makeDocBookFile): adds support for document language.
2423 A silly restriction on the name of LatexCommand types where removed.
2424 Added support for CDATA sections, allows to chars unescaped, used
2425 among others in code, to avoid escape < and >.
2427 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2429 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
2430 saved positions instrad of a stack. Furthermore, a position is
2431 stored using paragraph id/paragraph position.
2433 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
2434 Remove LFUN_REF_BACK.
2436 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2438 * converter.C (dvipdfm_options): New method.
2440 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
2442 * vspace.C (isValidLength): Fix for empty input string.
2444 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2446 * LyXAction.C (init): change description of LFUN_FIGURE to
2449 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2451 * LaTeX.C: add using directive
2453 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2455 * MenuBackend.C (expand): Fix the sorting of the formats.
2457 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
2459 * lyx_main.C: tiny error message fix
2461 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2463 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
2464 calling fl_initialize(). This fixes the problem with ',' as
2465 decimal separator in text files.
2467 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2469 * trans.C (process): Fix the keymap bug.
2471 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
2473 * LaTeX.C (scanAuxFiles): New method. Provides support for
2474 multiple bibliographies (when using the bibtopic/bibunits pacakges).
2475 (scanLogFile) Scan for "run BibTeX" messages.
2477 * buffer.C (makeLaTeXFile): Do not load the ae package when using
2478 OT1 font encoding. Also, load the aecompl package if the ae
2481 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
2483 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2485 * texrow.C (increasePos): turn two error messages into debug
2488 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
2490 * LaTeX.C (scanAux): Handle the \@input macro.
2491 (runBibTeX): Use scanAux().
2493 * language.C (latex_options_): New field.
2495 * LaTeXFeatures.C (getMacros): Add language macros.
2497 * buffer.C (makeLaTeXFile): Small fix.
2499 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2501 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
2503 * text2.C: add a using directive.
2505 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
2510 * lyxfunc.C: kill LyXBell.
2512 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
2514 * text.C (IsBoundary): Remove the error message
2516 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
2518 * lyxrc.C (setDefaults): Correct initialization value for
2521 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
2523 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
2526 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
2529 * src/LyXAction.C: Added reference-next.
2531 * text.C (InsertChar): Use contains instead of strchr.
2533 * lyx_cb.C (MenuInsertLabel): Enable default value code.
2535 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
2537 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
2538 alignment commands (when needed).
2540 * text.C (InsertChar): Add ':' to number separator chars.