1 2004-08-16 José Matos <jamatos@lyx.org>
3 * ParagraphParameters.C (write):
4 * Spacing.C (writeFile):
5 * bufferparams.C (writeLaTeX):
6 * lyx_cb.C (Reconfigure):
8 * tabular.C (write): remove unnecessary space at end of line.
11 2004-08-16 José Matos <jamatos@lyx.org>
13 * text.C (readParagraph): remove debug message.
15 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
17 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
20 * output_plaintext.C (asciiParagraph): set depth correctly
22 * outputparams.h: add member depth
24 * paragraph_funcs.C (ownerPar): remove.
26 * text2.C (setCounter): remove first_pit; comment out some
27 non-working code that uses ownerPar
29 * BufferView.C (getParentLanguage): remove. Not used anymore, and
32 2004-08-16 José Matos <jamatos@lyx.org>
34 * text.C (readParToken, readParagraph, read): report all unknown tokens.
35 For the same level of importance use the same chanel to report problems.
36 (read): add code to deal with \begin_body and \end_body.
39 2004-08-15 José Matos <jamatos@lyx.org>
41 * lyxlex.C (getString): fix comment, buffer::readBody is now
44 * tex-strings.C (string_papersize): Default -> default,
45 Custom -> custom, for consistency with other options.
47 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
51 * Makefile.am: support pch
53 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
55 * text.C (readParToken): remove the static LyXFont variable and
56 pass it as a parameter instead. This fixes a nasty bug where an
57 inset will be inserted with a bad font in some situations
58 (readParagraph): adapt
60 * text2.C (setCounter): reduce number of calls to pars_[pit]
62 * text.C (singleWidth): add an assert, fix a test
64 * rowpainter.C (paintText): reduce number of calls to singleWidth
66 * paragraph.C (isHfill):
69 2004-08-14 André Pönitz <poenitz@gmx.net>
74 * lyxtext.h (several functions): use a Paragraph & argument
77 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
79 * metricsinfo.h: add a new field ltr_pos to PainterInfo
81 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
83 * text.C (singleWidth): remove useless test
85 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
87 * tabular.h: remove bogus comments
89 * tabular.C (getDescentOfRow):
90 (isPartOfMultiColumn): add assertions
92 * lyxlength.C (inPixels): remove #warning
94 2004-08-14 André Pönitz <poenitz@gmx.net>
96 * paragraph.h: inline getChar()
98 * BufferView.h: remove unused declarations
100 2004-08-14 José Matos <jamatos@lyx.org>
102 * Buffer.[Ch] (readDocument): new name for old readBody.
103 * Buffer.C: new file format, new keywords: \begin_document,
104 \begin_header, \begin_body, \end_body.
106 * bufferparams.C (readToken): replace all calls to lex.nextToken
107 by lex.next(). Do the same to eatLine except where really needed.
109 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
110 line when writing to the lyx file.
112 * output_plaintext.C (asciiParagraph): fix Bibliography style
115 * text.C (read): fix end of file handling.
117 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
119 * MenuBackend.C (Menu::operator[]): new method to access
120 individual menu items
121 (Menu::hasFunc): new method. search for an item that corresponds
123 (MenuBackend::specialMenu): new method
124 (MenuBackend::expand): if a special menu has been set, skip
125 entries whose func() appears in this menu
127 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
129 * text3.C: use Debug::DEBUG a bit more
131 * text.C (leftMargin): try to simplify a tiny bit change var x to
132 l_margin. Dont output the wide margins always.
133 (rightMargin): no margin in inner texts
135 * rowpainter.h (nestMargin): new func
136 (changebarMargin): new func
137 (rightMargin): new func
139 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
143 * factory.C (createInset): modify setDrawFrame
145 * cursor.C: use Debug::DEBUG a bit more
147 2004-08-14 André Pönitz <poenitz@gmx.net>
150 * Makefile.am: new files to accomodate an 'external' (x,y)-position
151 cache for all insets in (at least partially) visible (top-level)
154 * BufferView_pimpl.C: reset external coord cache before every update.
155 This means the coord cache only contains valid entries.
157 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
160 * BufferView_pimpl.C (getInsetByCode): move function out of class
161 and change in to a template in anon namespace. Also fix to do what
164 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
167 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
169 (breakParagraph): rename par to par_offset and use a local
170 reference. Add code to keep the language over a rebreak.
171 (breakParagraphConservative): rename par to par_offset, use a
173 (mergeParagraph): ditto
175 (isFirstInSequence): ditto
176 (outerFont): rename pit to par_offset
178 * paragraph.C: ws change
183 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
185 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
188 * paragraph.C (simpleTeXOnePar): when we have a \item with
189 optional argument, enclose the argument with curly brackets (in
190 case it contains a closing square bracket)
194 * text3.C (checkInsetHit): constify
196 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
198 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
201 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
203 Fix toggling of collapsable insets with the mouse (bug 1558)
205 * lyxfunc.C (dispatch): adapt to LCursor changes
207 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
208 make sure that dispatch is not invoked twice
210 * cursor.C (needsUpdate): new method
211 (dispatch): return void
212 (result): new method, to access the DispatchResult of the cursor.
214 2004-08-13 José Matos <jamatos@lyx.org>
216 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
218 2004-08-13 André Pönitz <poenitz@gmx.net>
220 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
222 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
225 2004-08-12 André Pönitz <poenitz@gmx.net>
227 * text3.C: take out the 'cursor right' form insertInset and only
228 do it in those places when it is really needed. Fixes crash on
231 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
233 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
235 * BufferView_pimpl.C (setBuffer): initialize the current font of
236 the underlying LyXText
238 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
240 * kbsequence.C (print): use UI native formatting for menu
243 * text.C (insertChar): call Paragraph::insertChar with a font
246 * paragraph.C (insertInset, insertChar): the version that takes a
247 LyXFont argument is now a wrapper around the other one (the
248 opposite used to be true).
250 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
251 argument. Font setting is done in Paragraph now.
253 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
255 * outputparams.h: add new members intitle and lang.
257 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
258 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
260 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
262 * text3.C (dispatch): remove special handling of button 4 and 5,
263 it is now taken care of in the frontend code.
265 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
267 * Spacing.h: add <string> (STLPort compile fix)
269 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
271 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
273 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
275 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
278 * converter.C (showMessage): inherit from unary_function, make
281 * buffer.C (writeFile): initialize retval
283 * InsetList.h: rename private variable list to list_
284 * InsetList.[Ch]: adjust accordingly.
286 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
288 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
289 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
290 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
291 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
292 * ParagraphParameters.C, LaTeXFeatures.C: replace
293 "support/std_sstream.h" with <sstream>
295 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
297 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
298 * lyxsocket.C (LyXServerSocket): ditto
299 (serverCallback): ditto
301 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
303 * LaTeXFeatures.C: check release date when loading jurabib.
305 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
307 * lyxserver.C (startPipe): call register_socket_callback
308 (endPipe): call unregister_socket_callback
310 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
312 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
313 (LyXServerSocket): register the callback
314 (LyXServerSocket): unregister the callback
315 (fd): delete function
316 (serverCallback): improve error checking and setup the callbacks.
317 (dataCallback): change arg to fd.
318 (writeln): new func (copied fro the client socket) used for server
320 (LyXDataSocket): simplify
321 (~LyXDataSocket): close ann unregiser callback
322 (server): delete function
323 (fd): delete function
324 (readln): small changes, improve some std::string usage
325 (writeln): constify a bit
327 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
329 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
332 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
334 * BufferView_pimpl.C (setBuffer): set the layout combox value only
335 after it has been populated
337 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
339 * text2.C (insertInset): move cursor when inserting inset.
341 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
343 * kbmap.C (findbindings): a couple of new methods. returns a
344 container of kb_sequence objects. The real work is done by the
345 private recursive version
346 (printbindings): uses findbindings to print out a bracketed list
347 of bindings (renamed from findbinding).
349 * MenuBackend.C (binding): use kb_keymap::findbindings
351 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
353 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
355 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
357 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
359 * paragraph.C (isWord): return true on insets that report
362 * text.C (getWord): use Paragraph::isWord to decide what is in a
363 word and what is not; fix bug 1609.
365 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
367 * tex-strings.C: add "none" to string_paperpackages[], fixes
368 off-by-one-error in the paperpackage selection.
371 * tex-strings.[Ch]: char const * string[n]
372 -> char const * const string[]
374 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
376 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
377 command, return early.
379 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
381 * debug.h: add DEBUG to enum and fix size of ANY.
383 * debug.C: add support for Debug::DEBUG
384 (showTags): cast errorTags.level to unsigned int
386 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
387 (redoCurrentBuffer): ditto
388 (updateScrollbar): ditto
389 * cursor.C (dispatch): ditto
390 * text2.C (setLayout): ditto
392 (updateCounters): ditto
394 (deleteEmptyParagraphMechanism): ditto
396 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
398 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
399 annotations to cleanup the Makefile slightly.
401 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
403 * lyxrc.C: do not set user_email to a default value but use empty
404 instead. The entry used to be translated, which does not work
405 since at the point where lyxrc is constructed there is no
406 translation service available
408 * messages.C (getLocaleDir): remove and use directly
409 lyx_localedir() instead
411 2004-06-02 Angus Leeming <leeming@lyx.org>
413 Fix crash caused by dereferencing null pointer 'exportdata' in
414 OutputParams by creating a new ExportData variable on the heap,
415 storing it in a boost::shared_ptr.
416 The crash was triggered when generating an Instant Preview
417 of an external inset.
419 * Makefile.am: add outputparams.C
421 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
422 (c-tor): allocate memory to it.
424 * exporter.C (c-tor): associated changes.
426 2004-06-01 Angus Leeming <leeming@lyx.org>
428 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
429 contains data before calling isInset(0). (Bug 1513.)
431 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
433 * exporter.C (checkOverwrite): new method
434 * exporter.C (copyFile): new method
435 * exporter.C (Export): copy referenced files to the document dir
436 * exporter.[Ch]: new class ExportedFile
437 * exporter.[Ch]: new class ExportData. Contains currently the
438 names of referenced external files
439 * outputparams.h: add exportdata member.
441 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
443 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
446 2004-05-19 Angus Leeming <leeming@lyx.org>
451 * lyxfunc.C: small changes due to the introduction of namespace
452 lyx::frontend and the moving of namespace biblio to lyx::biblio.
454 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
456 * text3.C (dispatch): supress update when only moving the cursor
457 * cursor.C (selHandle): remove commented code
459 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
461 * paragraph.C (startTeXParParams): correct column count
462 * CutAndPaste.C (pasteSelection): remove const_cast
463 * output_docbook.C (docbookParagraphs): remove const_cast
464 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
465 const_cast and return ParagraphList::const_iterator
466 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
467 * output_plaintext.C (writeFileAscii): remove const_cast
468 * paragraph.[Ch] (simpleTeXOnePar): make const
469 * paragraph_funcs.C (outerPar): use const iterators
470 * paragraph_pimpl.C (validate): use const iterators
471 * text.C (setHeightOfRow): use const iterators
473 2004-05-17 Angus Leeming <leeming@lyx.org>
476 * LyXAction.C (init): new LFUN_INSET_REFRESH.
478 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
479 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
480 if the citation engine has changed.
482 2004-05-14 José Matos <jamatos@lyx.org>
484 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
485 if the textclass does not provide it. Have it different for sgml and
487 support the language of document.
488 * output_docbook.C (docbookParagraphs):
489 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
490 first anchor as the id of the paragraph, remove special case code.
491 * sgml.C (escapeChar): escape only < & >.
493 2004-05-14 Angus Leeming <leeming@lyx.org>
495 * bufferparams.h: move biblio::CiteEngine enum here to minimize
496 dependencies on src/frontends/controllers/biblio.h. Define a
497 CiteEngine_enum wrapper class to enable the enum to be forward
500 2004-05-12 Angus Leeming <leeming@lyx.org>
502 * buffer.C: up LYX_FORMAT to 234.
503 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
504 use_numerical_citations with a single biblio::CiteEngine cite_engine
506 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
508 2004-05-13 José Matos <jamatos@lyx.org>
511 * converter.C (Converter, readFlags): add xml member.
512 * outputparams.h: add XML flavor.
513 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
515 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
517 * lyxfunc.C (dispatch):
518 (getStatus): fix handling of LFUN_SEQUENCE
520 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
522 * debug.C (showLevel): do not forget the end-of-line marker
524 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
526 * kbmap.C (read): do not stop parsing a bind file when an error
529 2004-04-29 Angus Leeming <leeming@lyx.org>
534 * text2.C: wrap a bunch of #warning statements
535 inside #ifdef WITH_WARNINGS blocks.
537 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
539 * buffer.C: increment format to 233.
541 2004-04-28 Angus Leeming <leeming@lyx.org>
543 * BufferView_pimpl.C:
546 s/updateToolbar()/updateToolbars()/
547 s/Toolbar.h/Toolbars.h/
549 2004-04-28 Angus Leeming <leeming@lyx.org>
551 * BufferView.[Ch] (c-tor):
552 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
553 No longer passes these data to the WorkArea generator.
555 2004-04-28 Angus Leeming <leeming@lyx.org>
557 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
559 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
561 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
563 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
565 * output_latex.C (TeXEnvironment): make sure that there is a line
566 break before \end{foo} for the last paragraph of a document
567 (TeXOnePar): if the paragraph is at the end of the document (or
568 inset) and the language has to be reset, then make sure that the
569 line break is _before_ the language command, not after (fixes bug
570 1225); also make sure that the language reset command is the first
571 thing after the paragraph (to ensure proper nesting of
572 environments and thus fix bug 1404)
574 2004-04-21 John Levon <levon@movementarian.org>
577 * ToolbarBackend.C: make "name" be a programmatic name
578 and a gui_name field.
580 * lyxfunc.C: display the minibuffer on M-x
582 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
584 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
587 2004-04-19 Angus Leeming <leeming@lyx.org>
589 * BufferView_pimpl.C (setBuffer): changed preview interface.
591 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
594 2004-04-19 John Levon <levon@movementarian.org>
596 * BufferView_pimpl.C:
597 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
599 2004-04-05 Angus Leeming <leeming@lyx.org>
601 * text.C (redoParagraphs): add call to updateCounters(), thereby
602 fixing the missing "Figure #:" label from the caption of a
605 2004-04-13 Angus Leeming <leeming@lyx.org>
607 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
608 cursor is clicked out of an inset.
610 2004-04-13 Angus Leeming <leeming@lyx.org>
612 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
613 than an InsetOld one.
615 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
617 * format.[Ch]: add editor to Format
618 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
619 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
621 2004-04-08 André Pönitz <poenitz@gmx.net>
623 * metricsinfo.h: remove PainterInfo::width member
625 2004-04-08 Angus Leeming <leeming@lyx.org>
627 * lyx_sty.C (boldsymbol_def): modify so that it outputs
628 "\providecommand" rather than "\newcommand", thereby preventing
629 clashes with packages that define "\boldsymbol" themselves.
632 2004-04-08 Angus Leeming <leeming@lyx.org>
634 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
635 thereby squashing an unnecessary warning.
637 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
639 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
642 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
644 * BufferView.C (setCursor): call redoParagraph (some insets could
646 (putSelectionAt): remove the 'double update' trick
648 * BufferView_pimpl.C (fitCursor): call refreshPar
649 (workAreaDispatch): remove an uneeded update call
650 (dispatch): remove some manual update calls
652 * cursor.[Ch]: remove cached_y_, updatePos
653 (selHandle): set noUpdate when appropriate
655 * lyxfunc.C (dispatch): track if we need an update
657 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
659 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
660 (paintSelection): cheap optimization, do not call cursorX when not
662 (paintPars): change signature
665 (paintTextInset): adjust
669 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
671 * lengthcommon.C: compilation fix: remove explicit array size from
672 unit_name[] and friends
674 2004-04-05 Angus Leeming <leeming@lyx.org>
676 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
678 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
679 present only for the preferences dialog.
680 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
682 2004-04-05 Angus Leeming <leeming@lyx.org>
684 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
685 to enable the frontends to export changes to lyxrc correctly.
687 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
689 2004-04-07 André Pönitz <poenitz@gmx.net>
691 * cursor.[Ch] (selClear, adjust): remove math
693 * cursor_slice.C: more agressive assert
696 * BufferView_pimpl.C: rework mouse event dispatch
703 2004-04-05 André Pönitz <poenitz@gmx.net>
705 * cursor.[Ch] (valign, halign...): remove unneeded functions
707 2004-04-05 Angus Leeming <leeming@lyx.org>
709 * lyxlength.[Ch] (unit_name et al.): const-correct.
711 2004-04-05 Angus Leeming <leeming@lyx.org>
713 * BufferView_pimpl.C:
722 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
724 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
726 * text3.C (getStatus): add LFUN_BEGINNINGBUF
728 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
730 * lyxfind.C: add a couple of inTexted() tests + other small fixes
731 * BufferView_pimpl.[Ch] (getStatus)
732 * BufferView.[Ch] (getStatus): add
733 * lyxfunc.C (getStatus): move lfuns handled in
734 BufferView::dispatch to te function above
735 * Cursor.C (setSelection): set selection() = true
737 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
739 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
741 2004-03-31 Angus Leeming <leeming@lyx.org>
743 * lyxfunc.C (dispatch): Fall through to the generic
744 Dialogs::show("preamble").
746 2004-03-31 Angus Leeming <leeming@lyx.org>
748 * lyxfunc.C (dispatch): Fall through to the generic
749 Dialogs::show("spellchecker").
751 2004-03-31 Angus Leeming <leeming@lyx.org>
753 * lyxfunc.C (getStatus, dispatch): changed invocation of the
756 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
761 * insetiterator.[Ch]:
766 * undo.[Ch]: s/DocumentIterator/DocIterator/g
768 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
770 * BufferView.C (setCursor, putSelectionAt): call edit to open the
771 insets where we are putting the cursor.
773 2004-03-31 Angus Leeming <leeming@lyx.org>
776 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
778 * lyxrc.[Ch] (read, write): overloaded member functions taking
779 a std::[io]stream arguments.
781 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
783 2004-03-31 Angus Leeming <leeming@lyx.org>
785 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
786 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
788 * lyxtextclass.C (load): if the text class couldn't be loaded, then
789 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
791 2004-03-31 Angus Leeming <leeming@lyx.org>
793 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
794 the LFUN_ALL_INSETS_TOGGLE code.
796 2004-03-30 Angus Leeming <leeming@lyx.org>
798 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
799 has died. Fall through to the generic Dialogs::show("document").
801 2004-03-30 Angus Leeming <leeming@lyx.org>
804 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
805 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
807 * lyxfunc.C (getStatus, dispatch): define the actions for these
808 lfuns. Little more than a cut and pste job from ControlDocument.C
810 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
812 2004-03-30 Angus Leeming <leeming@lyx.org>
815 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
816 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
818 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
819 open/closed state of ollapsable insets. Usage:
821 all-inset-toggle <state> <name>, where
822 <state> == "open" || "closed" || "toggle" and
823 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
825 * lyxtext.h, text2.C (toggleInset): removed.
827 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
828 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
829 now passes LFUN_INSET_TOGGLE to the found inset.
831 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
832 is now invoked as "all-insets-toggle toggle branch".
834 2004-03-30 Angus Leeming <leeming@lyx.org>
838 * pariterator.[Ch]: added/corrected header blurb.
840 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
842 * dociterator.[Ch]: add an inset_ member
843 (backwardPos): implemented
844 (backwardPos, forwardPos): use inset_ when the stack is empty.
845 (doc_iterator_begin, doc_iterator_end): implemented
846 * pariterator.[Ch]: adjust, add begin, end
847 * insetiterator.[Ch]: adjust, add begin, end
851 * BufferView_pimpl.C:
852 * CutAndPaste.C: adjust
854 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
856 * buffer.C: increment file format to 232.
857 * LaTeXFeatures.C: add bibtopic package.
858 * bufferparams.[Ch]: param \use_bibtopic.
860 * lyxrc.[Ch]: add lyxrc bibtex_command
861 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
863 * buffer.C: increment file format to 231.
865 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
867 * dociterator.C: implement forwardPar
868 * iterators.[Ch]: remove, replaced by
869 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
871 * BufferView_pimpl.C:
874 * bufferview_funcs.C:
880 * Makefile.am: adjust
882 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
884 * CutAndPaste.C (pasteSelection): fix 2 crashes
885 (eraseSelection): fix a crash
886 * paragraph_funcs.C: remove a warning
888 2004-03-28 Angus Leeming <leeming@lyx.org>
891 * LyXAction.C (init): new LFUN_PRINT.
893 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
895 2004-03-27 Angus Leeming <leeming@lyx.org>
898 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
900 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
902 2004-03-27 Angus Leeming <leeming@lyx.org>
904 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
905 insetlist always contains non-null pointers to insets.
907 2004-03-26 Angus Leeming <leeming@lyx.org>
909 * src/BufferView_pimpl.C:
913 * src/output_plaintext.C:
914 * src/outputparams.h:
915 * src/paragraph_funcs.C:
919 * src/frontends/controllers/ControlErrorList.C:
920 * src/frontends/gtk/FileDialogPrivate.C:
921 * src/frontends/gtk/GPainter.C:
922 * src/frontends/gtk/GToolbar.C:
923 * src/frontends/qt2/QRef.C:
924 * src/mathed/math_scriptinset.C: squash compiler warnings.
926 2004-03-26 Angus Leeming <leeming@lyx.org>
928 * ispell.C (LaunchIspell::start):
929 * lyx_cb.C (AutoSaveBuffer::start):
930 invoke run(DontWait) rather than runNonBlocking().
932 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
934 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
936 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
938 * kbsequence.C (print): adjust
940 * kbmap.C (printKeySym): rename and change signature
941 (printKey): use LyXKeySym::print()
943 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
945 * undo.C: add using std::advance to compile for stlport
947 2004-03-24 Angus Leeming <leeming@lyx.org>
949 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
950 it leads to a crash when no buffer is present.
952 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
953 Martin Vermeer <martin.vermeer@hut.fi>
955 * lyxfunc.C (dispatch):
956 * bufferparams.C (readToken): use the new LColor::setColor
958 * LColor.[Ch] (setColor): new version that takes two strings as
959 argument and creates a new color entry if necessary
961 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
963 * buffer.C (makeLaTeXFile): if the main latex file that is
964 processed is usually a subdocument of some master, then pretend
965 for a while that it is actually the master
967 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
969 * buffer.C (getLabelList):
970 (getBibkeyList): use getMasterBuffer()
971 (getMasterBuffer): new method. Returns the main document in the
972 case where one is using included documents.
974 2004-03-25 André Pönitz <poenitz@gmx.net>
978 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
980 * ParagraphList_fwd.h: change ParagraphList to a std::vector
982 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
983 text*.C over here. Rename namespace CutAndPaste to lyx::cap
985 * ParameterStruct.h: merge with ParagraphParameters
987 * lyxtext.h: remove LyXText::parOffset() and getPar()
989 * text3.C: Remove all 'manual' update calls. We do now one per user
990 interaction which is completely sufficient.
994 * BufferView_pimpl.C:
997 * ParagraphParameters.[Ch]:
1002 * cursor_slice.[Ch]:
1009 * output_docbook.[Ch]:
1010 * output_latex.[Ch]:
1011 * output_linuxdoc.[Ch]:
1012 * output_plaintext.[Ch]:
1014 * paragraph_funcs.[Ch]:
1015 * paragraph_pimpl.[Ch]:
1023 * frontends/controllers/ControlDocument.C:
1024 * frontends/controllers/ControlErrorList.C:
1025 * frontends/controllers/ControlSpellchecker.C:
1028 * insets/insetbase.h:
1029 * insets/insetbibitem.C:
1030 * insets/insetbox.C:
1031 * insets/insetbranch.C:
1032 * insets/insetcaption.C:
1033 * insets/insetcharstyle.C:
1034 * insets/insetcharstyle.h:
1035 * insets/insetcollapsable.C:
1036 * insets/insetcollapsable.h:
1037 * insets/insetert.C:
1038 * insets/insetfloat.C:
1039 * insets/insetfoot.C:
1040 * insets/insetmarginal.C:
1041 * insets/insetnote.C:
1042 * insets/insetoptarg.C:
1043 * insets/insettabular.C:
1044 * insets/insettext.C:
1045 * insets/insettext.h:
1046 * insets/insetwrap.C:
1047 * mathed/math_mboxinset.C:
1048 * mathed/math_nestinset.C:
1049 * mathed/math_scriptinset.C:
1050 * mathed/math_scriptinset.h:
1053 2004-03-24 Angus Leeming <leeming@lyx.org>
1055 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1056 deal with any child processes that have finished but are waiting to
1057 communicate this fact to the rest of LyX.
1059 2004-03-24 Angus Leeming <leeming@lyx.org>
1061 64-bit compile fixes.
1063 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1064 (c-tor): pass lyx::pos_types rather than ints.
1066 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1069 * text.C (Delete): compile fix.
1070 (getPar): ensure that function declaration is the same as that in
1073 2004-03-23 Angus Leeming <leeming@lyx.org>
1075 * ispell.C (LaunchIspell):
1076 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1077 a boost::shred_ptr rather than a std::auto_ptr.
1079 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1081 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1082 handle LFUN_FILE_INSERT_*
1084 * lyxrc.C (setDefaults, getDescription, output, read):
1085 * lyxrc.h: remove ps_command
1087 2004-03-22 Angus Leeming <leeming@lyx.org>
1089 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1090 Ensure that error_handler is processed once only and that all data
1091 is saved before attempting to output any warning messages.
1093 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1095 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1097 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1099 2004-03-19 André Pönitz <poenitz@gmx.net>
1101 * cursor.[Ch] (reset): take main text inset as argument
1103 * BufferView: adjust
1104 * BufferView_pimpl.C: adjust
1106 * paragraph.[Ch]: fix completely broken operator=()
1108 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1110 * LColor.C (getFromLyXName): make sure that the color name is used
1113 2004-03-17 Angus Leeming <leeming@lyx.org>
1116 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1118 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1119 dialog and to kill a forked process.
1121 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1123 * text2.C (setCursorFromCoordinates): fix font problem
1125 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1127 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1128 bogus "rebuild cursor" code
1130 2004-03-11 André Pönitz <poenitz@gmx.net>
1132 * buffer.[Ch]: use InsetText instead of LyXText as container for
1135 * dociterator.[Ch]: drop the BufferView * member which is not needed
1136 anymore after the change to buffer.C
1138 * paragraph_funcs.C:
1142 * BufferView_pimpl.[Ch]:
1144 * cursor_slice.[Ch]: adjust
1146 * text3.C: fix bug in mathDispatch
1148 2004-03-08 André Pönitz <poenitz@gmx.net>
1150 * undo.[Ch]: use 'StableDocumentIterator' as base for
1153 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1156 * bufferparams.[Ch]: add jurabib support and param.
1158 * LaTeX.C: add FIXME/comment.
1160 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1162 * buffer.C: increment file format to 230.
1164 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1166 * cursor.C (dispatch): avoid infinite loops
1168 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1170 * rowpainter.C (paintSelection): fix x coordinates
1172 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1174 * text.C (rowBreakPoint): fix breaking before displayed insets
1176 2004-03-01 André Pönitz <poenitz@gmx.net>
1178 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1180 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1184 * BufferView_pimpl.C:
1192 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1198 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1199 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1201 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1203 * Bidi.[Ch] (computeTables): const correctness
1204 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1205 fill_hfill, fill_label_hfill and x from Row
1206 * lyxtext.h: prepareToPrint returns a RowMetrics
1207 * rowPainter.C: adjust
1208 * text.C (prepareToPrint): use width, not textWidth. adjust
1209 (redoParagraphInternal, cursorX): adjust
1210 * text2.C (getColumnNearX): adjust
1211 (init): put a default value to the top LyXText::width
1213 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1215 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1217 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1219 * lyxtext.h: add FontIterator class
1221 * text.C (FontIterator, operator*, operator->, operator++): add
1222 (rowBreakPoint, setRowWidth): adjust (fixing a
1225 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1227 * BufferView_pimpl.C (workAreaDispatch): allow also
1228 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1230 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1232 * text.C (rowBreakPoint): fix a bug showing with very large insets
1234 2004-02-25 André Pönitz <poenitz@gmx.net>
1237 * cursor.[Ch]: move some mathed specific code to mathed
1239 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1241 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1242 use_tempdir in preferences
1243 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1245 * lyx_main.C: ensure that tempdir is valid
1246 * lyxlex.h: correct typo
1247 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1248 * paragraph.[Ch] (isMultiLingual): make const
1249 * cursor.[Ch] (openable): make const
1251 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1253 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1255 2004-02-20 André Pönitz <poenitz@gmx.net>
1257 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1259 * cursor.[Ch]: prepare for localized getStatus()
1265 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1267 2004-02-20 André Pönitz <poenitz@gmx.net>
1269 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1271 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1273 * text2.C (setCursorFromCoordinates): switch to absolute coords
1275 (cursorDown): adjust
1276 * text3.C (dispatch): adjust
1278 2004-02-16 André Pönitz <poenitz@gmx.net>
1280 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1283 * cursor_slice.[Ch]: remove unneeded acessor function
1285 * lyxtext.h: rename rtl() to isRTL()
1293 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1295 * rowpainter.C (paintSelection): coord fix
1297 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1299 * Spacing.C: compile fix
1301 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1303 * cursor.C (dispatch): restore current_ before returning
1305 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1307 * text2.C (cursorUp, cursorDown): fix coords
1310 2004-02-12 André Pönitz <poenitz@gmx.net>
1315 * text3.C: add LCursor & parameter to most cursor movement functions
1316 remove usage of LyXText::cursorRow() and cursorPar()
1318 * cursor.[Ch]: add textRow() needed members
1321 * BufferView_pimpl.C:
1324 * BufferView_pimpl.C: adjust
1326 2004-02-11 André Pönitz <poenitz@gmx.net>
1330 * BufferView_pimpl.C: shift undo/redo handling
1332 * cursor.[Ch]: fix mathed crash
1335 * lyxtext.h: move selectionAsText to LCursor
1343 * rowpainter.C: fix excessive drawing
1345 2004-02-06 André Pönitz <poenitz@gmx.net>
1348 * BufferView_pimpl.[Ch]:
1349 * text3.C: move some text specific LFUN handling
1351 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1353 * text3.C (checkInsetHit): adjust coords
1354 * text2.C (getColumnNearX): adjust coords
1355 (edit): adjust coords
1356 * text.C (getRowNearY): add two asserts
1358 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1361 * format.C: add using std::distance to compile on gcc 2.95/stlport
1363 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1365 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1367 2004-02-04 André Pönitz <poenitz@gmx.net>
1369 * BufferView.[Ch] (insertInset):
1370 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1375 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1377 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1378 on the default clause of the switch
1379 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1380 wasn't catched by LCursor::dispatch
1382 2004-02-03 André Pönitz <poenitz@gmx.net>
1385 * cursor.[Ch]: some additional asserts
1387 * undo.[Ch]: remove LyXText dependency in interface
1391 * lyxtext.h (firstPar, lastPar): remove dead functions
1396 * paragraph.[Ch]: adjust
1398 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1400 * lyxfind.C (find): fix argument order in call to ::find
1402 2004-02-02 André Pönitz <poenitz@gmx.net>
1404 * cursor.[Ch]: remove direct access to anchor
1406 * text.C: remove findText() hack
1408 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1410 * iterators.[Ch] (lockPath): remove in favour of...
1411 * BufferView.[Ch] (setCursor): this addition
1412 * BufferView.C (putSelectionAt): adjust
1413 * undo.C (performUndoOrRedo): adjust
1414 * lyxfunc.C (dispatch): adjust
1416 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1418 * iterators.C (lockPath): add a missing slice
1419 * undo.C (performUndoOrRedo): remove redundant positioning code
1421 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1423 * vc-backend.C (scanMaster): ";" -> ';'
1425 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1427 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1428 std::binary_function
1430 * lyxtextclass.C (compare_name): rename to...
1431 (LayoutNamesEqual): ...this
1433 * lyxlex_pimpl.C (compare_tags): inherit from
1434 std::binary_function, put back into anon namespace
1436 * lyxfind.C (MatchString): inherig from std::binary_function
1437 (findChange): use empty() istead of !size()
1439 * format.C (FormatNamesEqual): new functor
1446 * converter.C (compare_Converter): rename to...
1447 (ConverterEqual): ...this, and fixup a bit.
1448 (getConverter): use it, and make function const
1449 (getNumber): use it, and make function const
1453 * bufferlist.C: add using boost::bind
1455 * MenuBackend.C (MenuNamesEqual): new functor
1456 (hasMenu): use it, and make function const
1457 (hasSubmenu): use nested bind to get rid of compare_memfun.
1459 2004-01-30 André Pönitz <poenitz@gmx.net>
1461 * BufferView_pimpl.C:
1464 * cursor_slice.[Ch]:
1467 * paragraph_funcs.C:
1468 * paragraph_funcs.h:
1472 * text3.C: move some of the edit(x,y) handling to the insets
1473 some coordinate changes.
1475 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1477 * text.C: add using statements for std::advance and std::distance
1479 * paragraph.C: add using statement for std::distance
1481 * lyxfind.C: add using statement for std::advance
1483 * cursor.C (region): remove std:: from swap
1484 (openable): use nucleus in stead of operator->
1486 * BufferView.C: add using statements for std::distance and std::swap
1488 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1490 * iterators.C: Remove the pimple, move the needed structures to
1491 the header file. Create accessor for the positions stack.
1492 (asPosIterator): remove function
1494 * PosIterator.C (PosIterator): move constructors to top of file
1495 (PosIterator): reimplement the constructor taking a ParIterator in
1497 (setFrom): new function
1498 (operator!=): inline it
1500 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1502 * lyxfind.C (replaceAll): use std::advance
1504 * iterators.h: inherit from std::iterator.
1506 * PosIterator.C (advance, distance): remove
1507 * PosIterator.h: interit from std::iterator.
1509 2004-01-26 André Pönitz <poenitz@gmx.net>
1512 * BufferView_pimpl.[Ch]:
1516 * bufferview_funcs.C:
1526 * output_linuxdoc.C:
1527 * output_plaintext.C:
1529 * paragraph_funcs.[Ch]:
1530 * paragraph_pimpl.[Ch]:
1536 * text3.C: more IU: dumps most of the rest of the mathcursor
1537 implementation into cursor.[Ch]; "globalize" a bit of it.
1539 2004-01-25 Angus Leeming <leeming@lyx.org>
1541 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1543 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1545 * LaTeXFeatures.h: add nice_ and nice() const
1546 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1548 2004-01-20 André Pönitz <poenitz@gmx.net>
1551 * BufferView_pimpl.C:
1553 * bufferview_funcs.C:
1555 * cursor_slice.[Ch]:
1566 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1567 LCursor and mathcursor parts to LCursor and InsetBase.
1569 2004-01-15 André Pönitz <poenitz@gmx.net>
1571 * cursor_slice.[Ch]: add a few covienience functions
1573 * funcrequest.[Ch]: remove BufferView * member
1575 * BufferView_pimpl.C:
1582 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1584 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1586 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1587 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1589 2004-01-13 André Pönitz <poenitz@gmx.net>
1592 * lyxtext.h: hide cursor and selection anchor behind accessor function
1595 * BufferView_pimpl.[Ch]:
1597 * bufferview_funcs.C:
1607 * cursor_slice.[Ch]: some integer type changes for inset unification
1609 * lyxcursor.[hC]: remove, it's CursorSlice now.
1612 * BufferView_pimpl.[Ch]:
1613 * bufferview_funcs.C:
1619 * textcursor.[Ch]: adjust
1621 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1623 * text2.C (undoSpan): add and use
1624 * text.C (breakParagraph): use undoSpan (fix bug 578)
1627 2004-01-08 Angus Leeming <leeming@lyx.org>
1629 * BufferView_pimpl.C (MenuInsertLyXFile):
1630 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1631 * lyxfunc.C (menuNew, open, doImport):
1632 FileFilterList change to the FileDialog open and save functions.
1634 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1636 * ShareContainer.h: make isEqual and isUnique adaptable
1638 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1640 2004-01-07 Angus Leeming <leeming@lyx.org>
1643 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1645 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1647 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1648 functions replacing find, replace and replaceAll.
1650 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1651 LFUN_WORDFIND(FORWARD|BACKWARD).
1653 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1655 * text.C (breakParagraph): remove an outdated #warning
1657 2004-01-07 André Pönitz <poenitz@gmx.net>
1659 * lyxfind.C: somewhat clearer logic
1661 * text.C: prevent crash in cursorX on unitialized row cache
1663 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1665 * lyxcursor.[Ch] (operator>): add
1666 * textcursor.C (selStart, selEnd): use std::min and std::max
1668 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1670 * Chktex.C: include boost/format.hpp
1672 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1674 * InsetList.C: replace functor MathcIt with adaptable functor
1676 (insetIterator): modify accordingly
1678 * BranchList.h: move the BranchNamesEqual functor here from...
1679 * BranchList.C: ... to here
1681 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1683 (add): replace a finding loop with std::find_if.
1685 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1687 * output_docbook.C: moving LatexParam functionality into
1690 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1692 * buffer.C: increment format to 229.
1694 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1697 * lyx_sty.[Ch]: remove minipageindent_def
1703 * text3.C: remove LFUN_INSET_MINIPAGE
1705 2003-12-28 Angus Leeming <leeming@lyx.org>
1707 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1709 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1711 * text2.C (setParagraph): fix off-by-one crash
1713 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1715 * output_docbook.C: header stuff for AGU
1717 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1719 * text2.C (redoCursor): remove
1722 * BufferView_pimpl.C: remove calls to redoCursor and
1723 setCursor(cursor.par(), cursor.pos()) all around
1725 2003-12-15 Angus Leeming <leeming@lyx.org>
1727 * buffer.C: up the format to 228.
1729 2003-12-15 André Pönitz <poenitz@gmx.net>
1731 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1736 * BufferView_pimpl.C:
1745 2003-12-15 Angus Leeming <leeming@lyx.org>
1747 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1748 than getFromGUIName to manipulate the color.
1750 2003-12-14 Angus Leeming <leeming@lyx.org>
1752 * BranchList.[Ch]: minimize the API.
1753 (Branch::getBranch, getColor): now return a 'const &'.
1754 (Branch::setSelected) now returns a bool set to true if the
1755 selection status changes.
1756 (BranchList::clear, size, getColor, setColor, setSelected,
1757 allBranches, allSelected, separator): removed.
1758 (BranchList::find): new functions, returning the Branch with
1760 (BranchList::add, remove): return a bool indicating that
1761 the operation was successful.
1763 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1764 new InsetBranch::isBranchSlected member function.
1766 * LColor.[Ch]: mimimize the API.
1767 (fill): renamed as addColor and made private.
1768 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1769 versions of these functions taking a string arg have been removed.
1771 * bufferparams.C (readToken):
1772 * lyxfunc.C (dispatch):
1773 * lyxrc.C (read): changes due to the altered BranchList and
1776 * factory.C (createInset, readInset): changes due to altered
1779 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1782 * lyxfunc.C: remove insetminipage. "minipage-insert"
1783 now produces a frameless minipage box inset.
1785 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1787 * textcursor.[Ch] (selStart,selEnd): add new methods
1788 remove selection::start, end, use LyXCursor::operator<
1789 * lyxcursor.[Ch] (operator<): add
1790 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1791 * BufferView.[Ch] (unsetXSel): add
1792 * text2.C (clearSelection): use unsetXSel,adjust
1795 * rowpainter.C: adjust
1796 * bufferview_funcs.C (put_selection_at): adjust
1798 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1800 * BufferView_pimpl.C: small coord. correction
1802 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1804 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1805 dragging over the splash screen.
1807 2003-12-11 Angus Leeming <leeming@lyx.org>
1809 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1810 as it is now handled in LyXText::dispatch.
1812 * text3.C (doInsertInset): remove a level of nesting.
1814 2003-12-11 Angus Leeming <leeming@lyx.org>
1816 * factory.C (createInset): changes due to the changed interface to
1817 InsetCommandMailer::string2params.
1819 2003-12-10 Angus Leeming <leeming@lyx.org>
1821 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1822 'dialog-show-new-inset <inset name>'
1824 2003-12-10 Angus Leeming <leeming@lyx.org>
1826 * buffer.C: up the format to 227.
1828 * factory.C: the box inset is now identified simply by 'Box'.
1830 2003-12-10 Angus Leeming <leeming@lyx.org>
1832 * buffer.C: up the format to 226.
1834 * factory.C: the note inset is now identified simply by 'Note'.
1836 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1838 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1839 when a pit is enough. Standarize a couple of loops.
1841 2003-12-05 Angus Leeming <leeming@lyx.org>
1843 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1844 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1845 data to the re-worked "log" dialog.
1847 2003-12-03 André Pönitz <poenitz@gmx.net>
1853 * paragraph_funcs.C:
1855 * text2.C: use Inset::getText instead of Inset::getParagraph
1857 2003-12-03 André Pönitz <poenitz@gmx.net>
1861 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1862 InsetText::read() as LyXText::read()
1864 2003-12-02 Angus Leeming <leeming@lyx.org>
1866 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1867 type. Add a comment in the implementation that the function uses
1868 the stream's bad() function rather than fail() as the std::streams
1871 2003-12-02 André Pönitz <poenitz@gmx.net>
1873 * lyxlex.[Ch]: make interface more similar to std::stream
1875 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1877 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1879 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1881 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1883 * vspace.[Ch]: remove VSpace::NONE
1885 2003-12-01 André Pönitz <poenitz@gmx.net>
1888 * lyxtext.h: move ParagraphList member to LyXText
1889 rename LyXText::ownerParagraphs to LyXText::paragraph
1892 * bufferview_funcs.C:
1902 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1904 * undo.C: fix cursor positioning
1906 2003-12-01 John Levon <levon@movementarian.org>
1908 * BufferView_pimpl.C: fix a crash on exit with
1911 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1913 * BranchList.C: fix setSelected() method.
1915 2003-11-28 André Pönitz <poenitz@gmx.net>
1917 * ParagraphParameters.[Ch]:
1918 * ParameterStruct.h: remove space above/below from Paragraph to
1921 * BufferView_pimpl.C:
1927 * paragraph_funcs.C:
1933 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1935 * factory.C: Syntax change for CharStyles
1937 2003-11-28 André Pönitz <poenitz@gmx.net>
1942 * buffer.[Ch]: move LyXText member
1944 2003-11-28 André Pönitz <poenitz@gmx.net>
1946 * BufferView.[Ch]: make LyXText * text a private member
1948 * BufferView_pimpl.C:
1959 * output_plaintext.C: cleanup
1961 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1964 * lyxtextclass.[Ch]: parametrize SGML document header
1966 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1969 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1972 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1974 * text2.C (setFont): rework using PosIterator (no more recursive)
1975 (setCharFont): no more needed
1976 (setLayout): no more selection cursors fiddling (done by redoCursor)
1977 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1978 destroy remaining ones)
1980 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1982 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1984 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1987 * text3.C: adjust + re-allow multi par depth changes
1988 * textcursor.C: simplify a bit
1990 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1996 * src/output_docbook.C:
1997 * src/output_latex.C:
2002 * src/text2.C: Introducing a number of tags parametrizing various
2003 XML formats that we may want to support
2005 2003-11-25 André Pönitz <poenitz@gmx.net>
2007 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2009 * lyxtext.h (leftMargin/rightMargin): simplify interface
2016 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2018 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2019 master file to any child files. Fixes bug 546.
2021 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2023 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2025 2003-11-24 André Pönitz <poenitz@gmx.net>
2027 * rowpainter.C: simplification
2029 * text2.C (updateCounters): remove call to redoParagraph on
2030 changed labels as this is far too expensive.
2032 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2034 * converter.C (convert): fix a crash: this function gets
2035 called with buffer == 0 from importer code.
2037 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2039 * text3.C (cursorPrevious): make sure that we do not compare
2040 iterators form different containers.
2043 * rowpainter.C (paintSelection): make sure that we do not compare
2044 iterators from different containers.
2046 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2047 iterators from different ParagraphList containers.
2050 * text2.C (LyXText): change order of initialization slightly
2051 (operator=): new function. copy all variables except cache_par_
2052 (moveUp): make sure that we do not compare iterators from
2053 different ParagraphList constainers.
2056 * text.C (firstPar): new function
2057 (lastPar): new function
2058 (endPar): new function
2060 * lyxtext.h: move things around and group public functions, public
2061 variables, private functions, private variables
2063 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2065 * factory.C: change call to InsetERT constructor to avoid
2066 additional invocation of method status
2067 * text2.C (toggleInset): remove redundant update() call
2068 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2069 instead of a Bufferview pointer
2071 2003-11-21 André Pönitz <poenitz@gmx.net>
2073 * rowpainter.C: simplification
2075 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2077 * text3.C (dispatch): make possible to extend a word/row selection
2080 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2082 * lyxtext.h: x0_,y0_ -> xo_,yo_
2083 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2084 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2085 * rowpainter.C (paintRows): paint full paragraphs
2087 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2089 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2092 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2094 * lyxtext.h: add x0_, y0_
2095 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2096 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2098 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2100 * text2.C (setCursorIntern): move the x_target update here *
2101 * text3.C: change some bv() to true/false in calls to
2102 cursorUp/Down/Right/Left
2103 * cursor.C: use helper function.
2105 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2107 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2108 * paragraph_funcs.[Ch]: correct comment
2109 * rowpainter.C: do not paint selections away from bv->cursor()
2110 Fix a long standing selection painting bug.
2111 * text3.C: generalize mouse-selection code to LyXTexts other that
2113 * textcursor.C: do not use y coords if we can use par offsets
2115 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2117 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2118 cursor position after e.g. inset insert)
2120 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2122 * lyxfind.C (replace): adjust to locking removal + some
2125 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2127 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2130 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2133 * output_docbook.C: XML sanitation: new layout
2134 parameters InnerTag and CommandDepth
2136 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2138 * BufferView_pimpl.C:
2140 * text3.C: Fix the insertion and modification of button-style
2143 2003-11-13 André Pönitz <poenitz@gmx.net>
2145 * InsetList.[Ch]: remove deleteLyXText
2147 * paragraph.[Ch]: cache beginOfBody position
2152 * text3.C: remove superfluous update() calls
2156 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2158 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2159 * BufferView.C (fitLockedInsetCursor): remove
2160 * cursor.[Ch] (getDim): add
2161 * text.C (getRowNearY): add faster version
2162 * text3.C: remove some update calls
2164 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2176 * text3.C: The Character Style /XML short element patch.
2178 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2181 * factory.C: Small step to solving 'unable to insert some insets'
2184 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2186 * cursor.[Ch] (updatePos): new function for updating the y
2187 position of the tip inset
2188 * bufferview_funcs.C (put_selection_at):
2189 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2191 2003-11-11 André Pönitz <poenitz@gmx.net>
2193 * text.C: remove big comment on invalid Paragraph pointers as it is
2196 2003-11-11 André Pönitz <poenitz@gmx.net>
2198 * text_funcs.[Ch]: merge with ...
2206 * Makefile.am: remove text_funcs.[Ch]
2208 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2210 * cursor.C (getPos): return absolute cached y coord
2212 * BufferView_pimpl.C (fitCursor): new simplistic code
2213 (workAreaDispatch): add a fitCursor call
2215 2003-11-10 André Pönitz <poenitz@gmx.net>
2218 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2220 2003-11-10 André Pönitz <poenitz@gmx.net>
2222 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2223 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2224 indicate that the cursor needs to leave an inset
2226 * lyxtext.h: remove inset locking
2228 * cursor.[Ch]: re-implement functionality provided by inset locking
2231 * BufferView_pimpl.[Ch]:
2233 * bufferview_funcs.[Ch]:
2245 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2247 * PosIterator.[Ch]: replace the stack with a vector, add inset
2249 * iterators.[C]: adjust
2251 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2253 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2255 * paragraph_funcs.C (readParToken): put the correct id in the
2256 error item, not the id of the top paragraph
2258 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2260 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2261 * bufferview_funcs.C (put_selection_at): use the above
2263 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2265 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2267 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2269 * output_linuxdoc.h:
2270 * output_plaintext.h:
2272 * output_docbook.h: add #include statements
2274 2003-11-05 José Matos <jamatos@lyx.org>
2276 * output_docbook.[Ch]:
2277 * output_latex.[Ch]:
2278 * output_linuxdoc.[Ch]:
2279 * output_plaintext.[Ch]: New files for output formats.
2280 * output.[Ch]: New file for helper functions.
2283 * paragraph_funcs.[Ch]: output functions moved to new files.
2285 * outputparams.h: rename of latexrunparams.h
2293 * paragraph_funcs.[Ch]:
2294 * paragraph_pimpl.[Ch]:
2295 * tabular.[Ch]: rename ascii to plaintext
2296 and LatexRunParams to OutputParams.
2298 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2300 * iterators.[Ch] (text): require bv argument
2301 * undo.C (recordUndo):
2302 * lyxfunc.C (dispatch):
2303 * bufferview_funcs.C (put_selection_at): adjust
2305 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2307 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2309 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2311 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2314 2003-11-04 André Pönitz <poenitz@gmx.net>
2316 * cursor.[Ch]: restructure
2319 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2321 * iterators.[Ch] (asCursor): remove
2323 * lfuns.h: remove LFUN_INSET_EDIT
2329 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2331 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2333 * lyxfind.[Ch]: complete overhaul
2334 * BufferView_pimpl.C:
2336 * paragraph.[Ch] (insert): add
2338 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2342 * text.C: remove dead spellcheck code
2344 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2346 * dispatchresult.h: add a val setter
2348 * cursor.C (dispatch): use a tempvar for data_[i]
2350 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2352 * PosIterator.[Ch]: compile fix
2354 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2356 * text.C (cursorPar): deactivate the cursor cache
2358 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2360 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2362 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2364 * text3.C (dispatch): adjust for new DisptchResult semantics.
2366 * lyxfunc.C (dispatch): handle update when return from
2367 Cursor::dispatch, adjust for new DispatchResult semantics.
2369 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2370 DispatchResult(true) mean to not update. Add class functions for
2371 setting dispatched and update, as well as reading.
2373 * cursor.C (dispatch): don't handle update here
2375 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2377 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2378 * trans_mgr.C: adjust
2380 * paragraph_funcs.C (readParToken): exception safety
2382 * lyxvc.h: store the vcs pointer in a scoped_ptr
2385 * lyxsocket.C (serverCallback): exception safety
2387 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2389 * ispell.C (clone): make it return a auto_ptr
2391 * factory.C (createInset): exception safety
2392 (readInset): exception safety
2394 * bufferlist.C (newBuffer): exception safety
2396 * Thesaurus.C (Thesaurus): use initialization for aik_
2398 * MenuBackend.C (expandToc): exception safety.
2400 2003-11-03 André Pönitz <poenitz@gmx.net>
2404 * bufferview_funcs.C: remove getInsetFromId()
2407 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2413 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2415 * PosIterator.C (distance, advance): new
2416 * bufferview_funcs.[Ch] (put_selection_at): new
2417 * iterators.[Ch] (lockPath): new
2419 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2421 * iterators.[Ch] (asPosIterator): added
2422 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2423 * PosIterator.[Ch]: added
2425 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2429 * cursor.C (dispatch):
2430 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2432 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2433 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2434 contructor, add a class function dispatched. Remove operator>=
2436 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2438 * debug.C: only use the default constructor for debugstream
2441 * main.C (main): include debug.h and setup the lyxerr streambuf
2444 2003-10-31 José Matos <jamatos@lyx.org>
2446 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2448 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2449 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2450 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2451 * paragraph_pimpl.C (simpleTeXSpecialC):
2452 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2453 add LatexRunParams argument.
2455 * exporter.C (Export): change call accordingly.
2457 * latexrunparams.h: add new member to take care of the other backends.
2458 2003-10-30 José Matos <jamatos@lyx.org>
2460 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2461 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2462 factorise code for paragraph output.
2464 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2467 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2469 * text3.C (dispatch):
2470 * lyxfunc.C (dispatch):
2471 * cursor.C (dispatch):
2472 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2474 * dispatchresult.h: make the dispatch_result_t ctor explicit
2476 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2479 * buffer.C: small refactoring of docbook stuff
2481 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2483 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2486 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2488 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2489 operator dispatch_result_t, and operators for == != and >=
2491 * cursor.C (dispatch): adjust for operator dispatch_result_t
2492 removal. comment out call to update
2494 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2496 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2504 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2507 * dispatchresult.h: new file, DispatchResult broken out of
2510 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2512 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2514 * text.C (rowBreakPoint): put a hack inside #if 0
2516 2003-10-28 André Pönitz <poenitz@gmx.net>
2520 * paragraph_funcs.C:
2523 * text2.C: general cleanup (lots of small stuff)
2525 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2527 * text2.C (cursorEnd): simple fix to the "end key goes to one
2528 before the end on last row" bug
2530 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2532 * text.C (backspace): fix the "zombie characters"
2534 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2536 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2538 2003-10-27 André Pönitz <poenitz@gmx.net>
2540 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2542 * factory.C: handle new InsetPagebreak, InsetLine
2544 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2545 and move handling into new InsetPagebreak, InsetLine
2547 * BufferView_pimpl.C:
2549 * ParagraphParameters.C:
2550 * ParameterStruct.h:
2555 * paragraph_funcs.C:
2556 * paragraph_pimpl.C:
2562 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2565 * lyxrow_funcs.[Ch]:
2571 * text3.C: remove lastPos uses in favour of Row::endpos
2573 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2575 * undo.C (performUndoOrRedo): fix two crashes by setting a
2576 cursor by hand and reordering some calls. Use bv->lockInset instead
2577 of inset->edit because the latter loses cursor information
2579 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2581 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2583 (rowBreakPoint): fix width. change point to point + 1.
2584 Add a missing check.
2586 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2589 * lyxfunc.C: fix (at least partly) the problems
2590 with the Nav menu and headers inside branch insets
2593 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2595 * paragraph.C (getChar): add strong asserts
2597 * lyxrow_funcs.C (lastPos): remove hideous hack
2599 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2600 (fill): adjust to that (avoid an infinite loop)
2602 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2604 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2606 2003-10-23 André Pönitz <poenitz@gmx.net>
2608 * RowList_fwd.h: change list<> to vector<> to gain speed
2609 after suggestion from Alfredo
2611 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2613 * lyxtext.h: move the bidi stuff from here...
2616 * Bidi.[Ch]: ... to here
2618 2003-10-23 André Pönitz <poenitz@gmx.net>
2621 * text.C (isLastRow, isFirstRow): new functions
2623 * paragraph.h: new width cache member
2625 * rowpainter.C: replace RowList::iterator with Row & where possible
2627 * lyxfunc.C: replace several view()->text with a single call
2629 * toc.C: fix 'unused' warning
2631 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2633 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2634 when woring with stream::pos_type
2635 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2637 2003-10-22 André Pönitz <poenitz@gmx.net>
2640 * text.C: use Row & instead of RowList::iterator
2642 * lyxrow.h: rename end() to endpos()
2648 2003-10-22 Angus Leeming <leeming@lyx.org>
2650 * buffer.[Ch] (fully_loaded): new member function, returning true
2651 only when the file has been loaded fully.
2652 Used to prevent the premature generation of previews and by the
2653 citation inset to prevent computation of the natbib-style label.
2655 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2656 templates are all set up.
2658 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2660 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2662 * text.C: fixed an "oops" in the "is a bit silly"
2665 2003-10-21 André Pönitz <poenitz@gmx.net>
2667 * FuncStatus.[Ch]: small stuff, whitespace
2669 * lyxfont.[Ch]: operator<<() for debug reasons
2673 * lyxtext.h: whitespace, spelling
2675 * paragraph.C: naming of variables
2678 * text2.C: small stuff
2681 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2683 * text.C: (1) finish off the inset display() work;
2684 (2) fix the "is a bit silly" bug (accessing char
2687 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2689 * text.C: re-introduce display() for insets, fixing the
2690 various bugs (stretch of line above, math inset
2693 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2695 * text.C (rightMargin): remove spurious semicolon
2697 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2700 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2702 * text3.C: fix one crash due to wrong cursor def
2704 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2706 * vc-backend.C (scanMaster): make the regex static
2708 * LaTeX.C (scanAuxFile): make the regexs static
2710 * text3.C (doInsertInset, dispatch, dispatch):
2711 * text2.C (cursorUp, cursorDown):
2712 * text.C (selectNextWordToSpellcheck):
2713 * BufferView_pimpl.C (dispatch):
2714 * lyxfunc.C (dispatch): localDispatch -> dispatch
2716 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2718 * lyxsocket.C: include <cerrno>
2720 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2722 * lyxfunc.C (dispatch): remove textcache stuff
2724 * bufferlist.C (release): remove textcache stuff
2727 * TextCache.C: delete file
2728 * TextCache.h: delete file
2730 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2732 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2733 delete of the bv_->text.
2734 (resizeCurrentBuffer): remove texcache stuff
2735 (workAreaResize): ditto
2737 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2739 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2742 2003-10-16 André Pönitz <poenitz@gmx.net>
2749 * text3.C: speed up by storing y positions per paragraph plus per-row
2750 offset instead of having a 'full' y position in the row.
2752 2003-10-15 André Pönitz <poenitz@gmx.net>
2756 * undo.[Ch]: make undo aware of inner insets
2758 2003-10-14 Angus Leeming <leeming@lyx.org>
2760 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2761 static member functions LyX::ref() and LyX::cref.
2762 (lastfiles): new accessor functions for the new lastfiles_ member var.
2763 (addLyXView, views_): add a new LyXView to the list of views_.
2764 (updateInset): loop over all LyXViews to call their own updateInset
2765 member function, returning a pointer to the Buffer owning the inset.
2767 * BufferView_pimpl.C (loadLyXFile):
2768 * MenuBackend.C (expandLastfiles):
2769 * bufferlist.C (MenuWrite, QuitLyX):
2770 lastfiles is no longer a global variable.
2771 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2773 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2774 static function. Access through LyX::cref().emergencyCleanup().
2776 2003-10-14 André Pönitz <poenitz@gmx.net>
2778 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2780 * undo.[Ch]: restoring part of 'undo in insets'
2783 * undo_funcs.[Ch]: merge with undo.[Ch]
2785 * tabular.C: small cleansing stuff
2787 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2789 * paragraph_funcs.C (readParToken): report unknown insets as error
2790 boxes. Use the outer paragraph as location (also for unknown
2793 * factory.C (readInset): do not abort on reading an unknown inset.
2794 Eat it and return 0.
2796 2003-10-13 Angus Leeming <leeming@lyx.org>
2798 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2800 * lyxrc.C: displayTranslator is now a function,
2801 declared in GraphicsTypes.h.
2803 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2805 * format.C: new placeholder $$a to pass the socket address.
2807 * bufferlist.[Ch]: new function getBufferFromTmp.
2809 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2810 files in the temporary dir.
2812 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2814 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2816 * Makefile.am: add lyxsocket.[Ch].
2818 * lyx_main.C (error_handler): handle SIGPIPE.
2820 2003-10-13 André Pönitz <poenitz@gmx.net>
2822 * BufferView_pimpl.C:
2827 * undo_funcs.[Ch]: use paroffset_type instead of
2828 ParagraphList::iterators to prevent multiple conversion
2829 (and get a more robust interface)
2831 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2833 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2835 * text3.C (dispatch): ditto
2837 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2839 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2840 move the onlyfile, use onlyfile instead of foundfile in a couple
2843 * DepTable.C (update): flush the error stream a bit more
2845 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2847 * lyxserver.C (callback): adjust
2849 * lyxfunc.C (getStatus): add a missing brace in commented code
2850 (ensureBufferClean): reindent
2851 (dispatch): delete version taking a string
2853 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2855 * LaTeX.C (deplog): move found file handlig from here...
2856 (handleFoundFile): .. to new function here.
2857 (deplog): make sure to discover several files mentioned on the
2860 2003-10-10 André Pönitz <poenitz@gmx.net>
2867 * text3.C: fix some of the tabular crashes
2869 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2871 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2873 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2875 2003-10-09 André Pönitz <poenitz@gmx.net>
2877 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2880 * BufferView_pimpl.C:
2881 * bufferview_funcs.C:
2892 * undo_funcs.C: adjust
2894 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2896 * text2.C (incrementItemDepth): new function, use a backtracking
2897 algorithm to discover the correct item depth.
2898 (resetEnumCounterIfNeeded): new function, use a backtracking
2899 algorithm to discover if counter reset is needed.
2900 (setCounter): use them. Simplify a bit. Add different labels for
2901 different item depths for itemize.
2903 * paragraph.C (Paragraph): remove initialization of enumdepth
2906 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2907 enumerate and itemize. Change the type of itemdepth to signed char.
2909 2003-10-08 André Pönitz <poenitz@gmx.net>
2911 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2916 * tabular.[Ch]: fix crash after 'row-insert'
2918 2003-10-08 Angus Leeming <leeming@lyx.org>
2920 Fix doxygen warnings.
2922 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2923 Remove CutAndPaste:: prefix from header file declaration.
2925 * LColor.h (fill): remove LColor:: prefix from declaration.
2927 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2928 use lyx::depth_type rather than Paragraph::depth_type so that
2929 header file and .C file match.
2931 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2933 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2934 * aspell.C: \file aspell_local.C -> \file aspell.C
2935 * gettext.C: \file gettext.C -> \file src/gettext.C
2936 * gettext.h: \file gettext.h -> \file src/gettext.h
2937 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2938 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2939 * text.C: \file text.C -> \file src/text.C
2941 * toc.C: move comment so that doxygen is not confused.
2943 2003-10-07 Angus Leeming <leeming@lyx.org>
2945 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2947 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2950 * aspell_local.h: add forgotten std::string's.
2952 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2959 * text3.C: The Box patch. Fancybox support, minipage, parbox
2961 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2967 * ParagraphParameters.h:
2977 * lyxtextclasslist.h:
2980 * paragraph_pimpl.C:
2981 * textcursor.h: add <string> and other small fixes to make Lars'
2982 std::string patch compile with STLport.
2984 2003-10-06 Angus Leeming <leeming@lyx.org>
2986 * LColor.h: Add missing #include <string>.
2988 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2990 * All most all file in all subdirs: Make <string> be the prefered
2991 way of getting to std::string, add using declarations.
2993 2003-10-06 André Pönitz <poenitz@gmx.net>
2995 * metricsinfo.C: initialize LyXFont before changing attribute.
2996 (fixes the 'math in \emph is upright' bug)
2998 2003-10-06 André Pönitz <poenitz@gmx.net>
3000 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3002 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3005 * paragraph_pimpl.C: Small fixes to build using STLport
3007 2003-10-02 André Pönitz <poenitz@gmx.net>
3010 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3012 2003-10-01 André Pönitz <poenitz@gmx.net>
3014 * factory.C: assert early
3016 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3018 * lyx_main.C: remove the global debug object
3020 * debug.h: adjust for new debugstream
3022 * debug.C: adjust for new debugstream and keep the global debug
3025 2003-09-22 Angus Leeming <leeming@lyx.org>
3027 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3028 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3029 an incomplete class LyXFont.
3031 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3033 * factory.C: bug fix in branches
3035 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3037 * lyxfunc.C (processKeySym): adjust
3039 (dispatch): change arg name from ev to func, adjust
3040 (sendDispatchMessage): ditto
3042 * lyx_main.C (defaultKeyBindings): adjust keybindings
3043 (deadKeyBindings): ditto
3045 * kbsequence.C (addkey): return a FuncRequest
3047 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3049 * kbmap.C (bind): take a FuncRequest as arg, adjust
3052 (defkey): change to take a FuncRequest as arg, adjust
3053 (findbinding): take a FuncRequest as arg, adjust.
3055 * funcrequest.h (operator=): added
3057 * funcrequest.C (FuncRequest): default kb_action changed from
3058 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3060 * buffer.C (dispatch): simplify
3061 (dispatch): adjust to take a FuncRequest as arg, adjust
3063 * boost.C (assertion_failed): change assertion message slightly
3065 * ToolbarBackend.C (read): simplify
3067 * MenuBackend.C (binding): adjust call to findbinding, add a
3068 message if no binding is found.
3070 (expandToc): correct by adding a empty FuncRequest
3072 * LyXAction.C: include <boost/assert.hpp>
3073 (isPseudoAction): delete function
3074 (LookupFunc): change name to...
3075 (lookupFunc): this. change return type to FuncRequest.
3076 (getActionName): take kb_action as arg, simplify
3077 (funcHasFlag): add an assert, simplify.
3079 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3081 * toc.C (action): return a FuncRequest, simplify
3083 * lyxfunc.C (processKeySym): adjust
3084 (getStatus): delete version that takes an int.
3086 (dispatch): delete version that takes action as int
3088 (sendDispatchMessage): simplify and adjust
3090 * funcrequest.C (getArg): take unsigned int as arg
3092 * ToolbarBackend.C (read): adjust
3093 (add): delete version that takes func as a string.
3094 (getIton): take a FuncRequest as arg
3096 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3099 * MenuBackend.C (MenuItem): add a new construct that only takes a
3100 Kind, simplify the constructor use for submenus.
3102 (expandLastfiles): adjust
3103 (expandDocuments): adjust
3104 (expandFormats): adjust
3105 (expandFloatListInsert): adjust
3106 (expandFloatInsert): adjust
3107 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3109 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3110 Remove class variables lyx_pseudo_map and lyx_arg_map
3112 * LyXAction.C (searchActionArg): delete function
3113 (getPseudoAction): delete function
3114 (retrieveActionArg): delete function
3115 (LookupFunc): make it return kb_action, simplify.
3116 (getActionName): simplify
3118 * factory.C (createInset): fix new bug
3120 2003-09-19 Angus Leeming <leeming@lyx.org>
3122 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3123 masterFilename_ parameter in the include inset.
3125 * factory.C (createInset): changes due to the changes to InsetInclude.
3127 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3129 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3131 2003-09-18 Angus Leeming <leeming@lyx.org>
3134 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3135 Inset::fillWithBibKeys.
3136 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3138 2003-09-18 Angus Leeming <leeming@lyx.org>
3140 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3142 (ctor): pass and store a 'Buffer const &'
3143 (buffer): new member function.
3145 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3146 '*this' to the LaTeXFeatures ctor.
3148 2003-09-18 Angus Leeming <leeming@lyx.org>
3154 * text.C: rename EnumLColor as LColor_color.
3156 2003-09-18 Angus Leeming <leeming@lyx.org>
3158 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3159 remove #include "insets/insetbase.h" from cursor.h.
3161 2003-09-18 Angus Leeming <leeming@lyx.org>
3163 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3164 InsetOld_code to remove #include "inset.h".
3166 * iterators.C: add #include "insets/inset.h"
3168 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3170 * BufferView.C: remove more locking stuff that apparently doesn't
3171 do anything sensible.
3173 2003-09-16 André Pönitz <poenitz@gmx.net>
3176 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3179 2003-09-16 Angus Leeming <leeming@lyx.org>
3181 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3183 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3186 * paragraph.h: remove #include "lyxfont.h". Forward declare
3189 2003-09-16 Angus Leeming <leeming@lyx.org>
3191 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3192 of support/textutils.h.
3193 (isWord): move the contents of support/textutils.h's IsWordChar here.
3199 * text2.C: add #include "paragraph.h".
3202 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3204 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3210 * LaTeX.C: use namespace alias for lyx::support::os
3212 2003-09-16 Angus Leeming <leeming@lyx.org>
3215 * bufferview_funcs.C:
3218 * paragraph_pimpl.C:
3220 * text.C: add #include "LColor.h".
3222 2003-09-16 Angus Leeming <leeming@lyx.org>
3224 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3225 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3227 Store the FontBits::color variable as an int rather than as an
3228 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3231 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3232 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3233 string calls together.
3235 * lyxrc.C: add #include "LColor.h".
3237 2003-09-15 Angus Leeming <leeming@lyx.org>
3239 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3242 2003-09-15 Angus Leeming <leeming@lyx.org>
3244 * LColor.h: add an EnumLColor wrapper for LColor::color.
3246 * lyxfont.[Ch] (color, setColor, realColor):
3247 * lyxtext.h, text.C (backgroundColor):
3248 pass EnumLColor args to/from the functions, rather than LColor::color
3252 * lyxtext.h: forward declare EnumLColor.
3254 * lyx_main.C: add #include "LColor.h".
3256 2003-09-15 Angus Leeming <leeming@lyx.org>
3258 * .cvsignore: add lyx-gtk.
3260 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3265 * ParagraphParameters.C
3269 * bufferview_funcs.C
3279 * vc-backend.C: remove usage of STRCONV
3281 2003-09-15 Angus Leeming <leeming@lyx.org>
3283 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3284 explicitly define the color passed to the painter.
3286 2003-09-15 Angus Leeming <leeming@lyx.org>
3288 * bufferparams.C (BufferParams): reorder member initializers to avoid
3291 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3293 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3294 * text.C (updateRowPositions): remove an unusual nop
3296 2003-09-12 André Pönitz <poenitz@gmx.net>
3298 * BufferView_pimpl.C:
3307 * Counters.[Ch]: finish the 'automatic counters' job
3309 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3311 * aspell.C: include <boost/assert.cpp> (compile fix)
3313 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3315 * boost.C (assertion_failed): use lyx::support::abort instead of
3318 2003-09-10 Angus Leeming <leeming@lyx.org>
3320 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3321 with their _fwd progeny.
3323 2003-09-09 Angus Leeming <leeming@lyx.org>
3325 134 files throughtout the source tree: replace 'using namespace abc;'
3326 directives with the appropriate 'using abc::xyz;' declarations.
3328 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3330 * boost.C (emergencyCleanup): moved here from LAssert.c
3331 (assertion_failed): new function, called by BOOST_ASSERT
3333 * several files: change Assert to BOOST_ASSERT
3335 2003-09-09 Angus Leeming <leeming@lyx.org>
3337 * buffer.[Ch]: Add an Impl class and move Buffer's member
3338 variables into it. As a result move several header files out of
3341 Add header files to lots of .C files all over the tree as a result.
3343 2003-09-09 Angus Leeming <leeming@lyx.org>
3345 * buffer.[Ch]: make Buffer's member variables private. Add
3348 Lots of changes all over the tree as a result.
3350 2003-09-08 Angus Leeming <leeming@lyx.org>
3352 * graph.C: #include <config.h>.
3354 2003-09-08 Angus Leeming <leeming@lyx.org>
3358 * BufferView_pimpl.C:
3387 * toc.C: remove redundant using directives.
3389 2003-09-07 Angus Leeming <leeming@lyx.org>
3391 * LaTeXFeatures.h: remove #include "support/types.h".
3392 * ToolbarBackend.h: remove #include <algorithm>.
3393 * changes.h: remove #include <ctime>.
3394 * debug.h: remove #include <iosfwd>.
3395 * graph.h: remove #include "support/std_string.h".
3396 * lyx_main.h: remove #include <csignal>.
3397 * lyxlex_pimpl.h: remove #include <fstream>.
3398 * sgml.h: remove #include <algorithm>, <utility>.
3399 * toc.h: remove #include "support/std_ostream.h".
3400 Add #include <iosfwd>.
3402 2003-09-07 Angus Leeming <leeming@lyx.org>
3404 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3406 * converter.h: forward declare LatexRunParams.
3407 * encoding.h: remove #include "lyxrc.h".
3408 * lyxtext.h: remove #include "LColor.h".
3409 * lyxtextclass.h: remove #include "support/types.h".
3410 * trans.h: remove #include "tex-accent.h".
3411 * trans_mgr.h: remove #include "tex-accent.h".
3412 * insets/inset.h: remove #include "support/types.h", <vector>.
3413 * insets/insetcollapsable.h: remove #include "LColor.h".
3414 * insets/insetinclude.h: remove #include "dimension.h".
3415 * insets/insetlatexaccent.h: remove #include "dimension.h".
3416 * insets/insetoptarg.h:: remove #include "insettext.h".
3417 * insets/insettext.h: remove #include "dimension.h",
3418 <boost/shared_ptr.hpp>
3420 * insets/renderers.h: add #include "dimension.h".
3421 * insets/updatableinset.h: add #include "support/types.h".
3423 * many .C files: Associated changes.
3425 2003-09-06 Angus Leeming <leeming@lyx.org>
3427 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3428 one, inside testInvariant.
3430 * PrinterParams.C: new file.
3431 * PrinterParams.[Ch]: move the function bodies out of line.
3433 2003-09-06 Angus Leeming <leeming@lyx.org>
3435 * ParagraphParameters.h: forward declare ParameterStruct rather than
3436 including its header file.
3437 (depth): moved out-of-line.
3439 2003-09-06 Angus Leeming <leeming@lyx.org>
3441 * BufferView_pimpl.h:
3444 * lyxfunc.h: forward declare LyXKeySym rather than
3445 #include "frontends/LyXKeySym.h".
3447 * BufferView_pimpl.C:
3450 * lyxfunc.C: associated changes.
3452 2003-09-06 Angus Leeming <leeming@lyx.org>
3454 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3455 As a result, can remove the #include "insets/inset.h" from BufferView.h
3457 2003-09-06 Angus Leeming <leeming@lyx.org>
3459 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3460 As a result, can remove the #include "insets/inset.h" from BufferView.h
3462 2003-09-06 Angus Leeming <leeming@lyx.org>
3468 * bufferview_funcs.C:
3469 * BufferView_pimpl.C:
3474 * ParagraphParameters.C:
3479 * frontends/controllers/ControlDocument.C:
3480 * insets/insetcaption.C: rearrange the #includes into some sort of
3483 * buffer.h: remove #includes ErrorList.h, undo.h
3485 2003-09-06 Angus Leeming <leeming@lyx.org>
3487 * support/types.h: add a 'depth_type' typedef, used to store the
3488 nesting depth of a paragraph.
3491 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3492 defining explicitly.
3495 * paragraph_funcs.h:
3496 * ParagraphParameters.h:
3497 * sgml.h: use lyx::depth_type rather than Paragraph or
3498 ParameterStruct's depth_type.
3501 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3504 * BufferView_pimpl.C:
3506 * ParagraphParameters.C:
3509 * bufferview_funcs.C:
3516 * frontends/LyXView.C:
3517 * frontends/controllers/ControlDocument.C:
3518 * frontends/controllers/ControlErrorList.C:
3519 * insets/insetbibitem.C:
3520 * insets/insetbranch.C:
3521 * insets/insetcaption.C:
3522 * insets/insetcollapsable.C:
3523 * insets/insetenv.C:
3524 * insets/insetert.C:
3525 * insets/insetfloat.C:
3526 * insets/insetfoot.C:
3527 * insets/insetfootlike.C:
3528 * insets/insetnewline.C:
3529 * insets/insetquotes.C:
3530 * insets/insettabular.C:
3531 * insets/insettext.C:
3532 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3534 * frontends/controllers/ControlChanges.C: #include "changes.h".
3536 2003-09-06 Angus Leeming <leeming@lyx.org>
3538 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3539 than #including paragraph.h.
3542 * RowList.h: deleted. Superfluous.
3552 * insets/insettext.h: use ParagraphList_fwd.h rather than
3555 * paragraph.h: don't forward declare ParagraphList.
3558 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3559 rather than ParagraphList.h. paragraph.h is still needed for the
3560 Paragraph::depth_type parameters.
3562 * textcursor.h: enable it to compile stand-alone in light of the
3565 * bufferview_funcs.C:
3577 * frontends/controllers/ControlParagraph.C:
3578 * frontends/controllers/ControlTabular.C:
3579 * insets/insetmarginal.C:
3580 * insets/insetminipage.C:
3581 * insets/insetnote.C:
3582 * insets/insetoptarg.C: add header files needed to compile again.
3584 2003-09-06 Angus Leeming <leeming@lyx.org>
3586 * RowList_fwd.h: new file, forward-declaring Row rather than
3587 #including lyxrow.h.
3592 * insets/insettext.h: use it instead of RowList.h
3594 * bufferview_funcs.C:
3601 * text3.C: #include "RowList.h".
3603 2003-09-05 Angus Leeming <leeming@lyx.org>
3605 * factory.C (createInset):
3606 * vspace.C (c-tor): replace sscanf call with an istringstream.
3607 * ispell.C: re-add missing HP/UX headers.
3608 * lyxserver.C: re-add missing os2 headers.
3610 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3619 * text3.C: re-add missing system headers, needed for 2.95.2.
3621 2003-09-05 Angus Leeming <leeming@lyx.org>
3623 Changes most place everywhere due to the removal of using directives
3624 from support/std_sstream.h.
3626 2003-09-05 Angus Leeming <leeming@lyx.org>
3628 Replace LString.h with support/std_string.h,
3629 Lsstream.h with support/std_sstream.h,
3630 support/LIstream.h with support/std_istream.h,
3631 support/LOstream.h with support/std_ostream.h.
3633 Changes resulting throughout the tree.
3635 2003-09-05 Angus Leeming <leeming@lyx.org>
3637 * sgml.h: ensure that the header file can be compiled stand-alone.
3638 * *.C: strip out redundant #includes. (320 in total.)
3640 2003-09-04 Angus Leeming <leeming@lyx.org>
3642 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3643 here (from getPackages).
3645 * debug.[Ch]: add a new EXTERNAL tag.
3647 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3649 * text2.C (cursorEnd): simplify
3651 (getColumnNearX): adjust
3653 * text.C (computeBidiTables): adjust
3656 * rowpainter.C (paintChars): adjust
3657 (paintSelection): adjust
3658 (paintChangeBar): adjust
3661 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3663 (numberOfSeparators): adjust
3665 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3671 * text3.C: Restricts the mouse click functionality
3672 of insets like bibtex, include, toc and floatlist to the visible
3673 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3674 up the dialogs. Cursor has to be in front of the inset (i.e.
3675 start of row) for this to function.
3677 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3679 * bufferview_funcs.C (currentState): output row information
3681 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3683 * bufferview_funcs.C (currentState): output paragraph position
3685 2003-09-04 Angus Leeming <leeming@lyx.org>
3687 * FloatList.h: move out #include "Floating.h".
3688 * LaTeX.h: move out #include "DepTable.h".
3689 * LyXAction.h: move out #include "funcrequest.h".
3690 * buffer.h: move out #include "author.h", "iterators.h".
3691 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3692 * lyx_main.h: move out #include "errorlist.h".
3693 * lyxfunc.h: move out #include "FuncStatus.h".
3694 * lyxtext: move out #include "lyxcursor.h".
3695 * paragraph_pimpl.h: move out #include "counters.h".
3697 2003-09-03 Angus Leeming <leeming@lyx.org>
3699 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3700 preamble_snippets list, enabling us to add snippets to the preamble
3701 only if the snippet was not there already.
3703 2003-09-04 Angus Leeming <leeming@lyx.org>
3705 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3707 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3709 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3712 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3714 * BranchList.C: point fix, earlier forgotten
3716 2003-09-02 Angus Leeming <leeming@lyx.org>
3718 * box.C (contains): renamed from 'contained' after a fantastic
3721 2003-09-02 John Levon <levon@movementarian.org>
3727 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3729 2003-09-02 John Levon <levon@movementarian.org>
3731 * text2.C: simplification of cursorEnd(), including partial
3734 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3736 * buffer.C (readFile): add a space
3738 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3740 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3742 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3744 * buffer.C (readFile): new function, take a filename and a
3745 ParagraphList::iterator
3747 (readFile): adjust, make it private. don't use setStream, make
3748 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3749 always contain the filename.
3751 * BufferView.C (insertLyXFile): simplify and make it work for
3754 2003-08-30 John Levon <levon@movementarian.org>
3756 * Makefile.am: fix dist (from Kayvan)
3758 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3760 * most files: change to use const Buffer refs
3762 2003-08-27 André Pönitz <poenitz@gmx.net>
3764 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3765 on top of ownerPar().
3767 2003-08-27 John Levon <levon@movementarian.org>
3769 * funcrequest.C: properly initialise POD members
3771 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3773 * lyxtext.h (top_y): move top_y from here
3778 * BufferView_pimpl.[Ch]: to here
3779 * frontends/screen.C:
3780 * insets/insettabular.C:
3781 * insets/insettext.C: adjust
3782 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3784 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3787 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3789 2003-08-26 André Pönitz <poenitz@gmx.net>
3791 * paragraph_func.[Ch] (outerPar): new function
3794 * paragraph_funcs.C:
3795 * paragraph_funcs.h:
3796 * paragraph_pimpl.C:
3797 * text2.C: remove Inset::par_owner
3799 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3804 * text2.C: eliminates the needFullRow/display() stuff
3805 altogether, putting the logic in metrics/draw in the insets.
3807 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3809 * text2.C (redoParagraphInternal, redoParagraphs):
3810 * text.C (redoParagraph): add a call to updateRowPositions at the
3811 end of each 'metrics-like' call. Remove all others.
3812 (getRow): remove the 'y-computing' version.
3813 (getRowNearY): do not compute nor return the real y. Solve the
3814 'y < 0' problem and simplify.
3816 2003-08-22 Angus Leeming <leeming@lyx.org>
3818 * *.[Ch]: clean-up of licence and author blurbs.
3819 Also move config.h out of a few .h files and into a few .C files.
3821 2003-08-22 André Pönitz <poenitz@gmx.net>
3823 * lyxrow.[Ch]: add x_ and *fill_ members
3828 * text2.C: adjust/remove prepareToPrint() calls
3830 2003-08-22 André Pönitz <poenitz@gmx.net>
3832 * lyxrow.[Ch]: add end_ member
3834 * lyxrow_funcs.C: use LyXRow::end_
3836 * lyxtext.h (singleWidth): add LyXFont parameter
3839 * text2.C: adjust LyXText::singleWidth() calls
3841 * text.C (redoParagraph): simplify row breaking logic
3844 2003-08-19 André Pönitz <poenitz@gmx.net>
3846 * funcrequest.C: initialize button_ member
3849 * rowpainter.[Ch]: interface consolidation
3851 2003-08-18 André Pönitz <poenitz@gmx.net>
3854 * BufferView_pimpl.C:
3856 * paragraph_funcs.C:
3858 * text3.C: remove LyXScreen::draw() and fitCursor calls
3860 * BranchList.h: remove spurious semicolons
3862 * MenuBackend.C: fix branchlist related crash
3864 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3872 * bufferparams.[Ch]:
3876 * text3.C: implements the 'branch inset'
3877 idea. This allows the output of various versions of a document
3878 from a single source version, selectively outputing or suppressing
3879 output of parts of the text.
3880 This implementation contains a 'branch list editor' in a separate
3881 tab of the document settings dialog. Branches are user definable
3882 and have a "display colour" to distinguish them on-screen.
3884 ColorHandler was somewhat cleaned up.
3885 (1) make possible a dynamically growing LColor list by allowing
3886 the graphic context cache to grow along (vector);
3887 (2) eliminate an IMHO unnecessary step in colour allocation.
3889 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3891 * BufferView_pimpl.C: compile fix
3893 2003-08-15 André Pönitz <poenitz@gmx.net>
3895 * rowpainter.C: remove extra metrics calls
3897 * lyxtext.h: merge the two constructors into a single one,
3898 pass reference to owner's par list
3900 * BufferView_pimpl.C:
3904 2003-08-15 André Pönitz <poenitz@gmx.net>
3906 * lyxrow_funcs.[Ch]:
3909 * paragraph_funcs.C:
3914 * text_funcs.C: split LyXText::rowlist_ into individual
3915 Paragraph::rows_ chunks
3918 * BufferView_pimpl.[Ch]:
3921 * text3.C: remove toggleSelection()
3923 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3925 * bufferlist.C: beautify two alerts (shorter text of buttons)
3926 * buffer.C: Remove redundant ' ' from message
3928 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3929 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3930 rename VALIGN_CENTER to VALIGN_MIDDLE
3932 2003-08-11 André Pönitz <poenitz@gmx.net>
3934 * lyxtext.h (getPar):
3935 * text.C: new function
3937 2003-08-11 André Pönitz <poenitz@gmx.net>
3940 * tracer.[Ch]: remove unneeded files
3942 * InsetList.[Ch]: remove resizeInsetsLyXText()
3947 * text3.C: merge insertParagraphs() and appendParagraph()
3948 remove breakAgain(), update()
3950 * BufferView_pimpl.[Ch]:
3951 * bufferview_funcs.[Ch]:
3955 * tabular.C: adjust after text & InsetList changes.
3957 2003-08-08 André Pönitz <poenitz@gmx.net>
3959 * text.C (insertChar, backspace): replace rowlist fiddling
3960 with rebreak of full par
3963 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3964 checkParagraph, updateInset): removed
3966 2003-08-07 André Pönitz <poenitz@gmx.net>
3969 * text3.C: merge some LFUN handlers, remove dead code
3971 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3973 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3975 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3977 * text2.C (DEPM): fix part of bug 1255 and 1256
3979 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3981 * BufferView_pimpl.C (workAreaDispatch): change to use
3982 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3983 that are no mouse related.
3985 2003-08-05 André Pönitz <poenitz@gmx.net>
3988 * BufferView_pimpl.[Ch]:
3989 * bufferview_funcs.C:
3991 * text3.C: rip out "deep update"
3993 * textcursor.[Ch] (last_sel_cursor): remove unused member
3995 2003-08-04 André Pönitz <poenitz@gmx.net>
3998 * BufferView_pimpl.[Ch]:
3999 * ParagraphParameters.C:
4000 * bufferview_funcs.C:
4006 * text3.C: replace "complicated" BufferView::update(...) calls with
4009 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4011 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4013 * Makefile.am (lyx_SOURCES): add paper.h
4015 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4017 * Makefile.am: move things around so that both lyx-qt and
4018 lyx-xforms can be built (according to --with-frontend). Then lyx
4019 is a symbolic link to lyx-[firstfrontend]
4021 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4023 * Always use std::endl with lyxerr
4025 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4027 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4029 2003-08-01 André Pönitz <poenitz@gmx.net>
4032 * BufferView_pimpl.[Ch]:
4034 * text3.C: merge BufferView::repaint() and BufferView::update()
4036 2003-08-01 José Matos <jamatos@lyx.org>
4038 * buffer.[Ch]: file_format is no longer a buffer data element.
4040 2003-08-01 André Pönitz <poenitz@gmx.net>
4045 * text2.C: make redoParagraph more independent of current cursor
4047 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4049 * text2.C: remove unneeded members
4051 2003-07-30 André Pönitz <poenitz@gmx.net>
4053 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4055 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4056 create a single function...
4058 * paragraph_funcs.C (moveItem): ... here.
4061 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4063 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4065 * LColor.[Ch]: Add comment and greyedout logical colors.
4067 2003-07-30 André Pönitz <poenitz@gmx.net>
4069 * tabular.C: don't use Assert too heavily. This crashes where it
4072 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4074 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4075 is disabled (bug 1232)
4077 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4079 * factory.C: limited 'arg' scope
4081 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4083 * factory.C: fixed Note submenu issues
4085 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4087 * factory.C: submenu for Note/Comment/Greyedout
4089 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4092 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4094 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4097 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4098 greyedout. Patch provided by Jürgen Spitzmüller.
4100 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4102 * kbmap.C (read): fix error message when reading bind files
4104 2003-07-29 Angus Leeming <leeming@lyx.org>
4106 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4107 certainly does not do what it purports to do. I am doing it, and
4108 us, a favour by killing it.
4110 2003-07-28 José Matos <jamatos@lyx.org>
4112 * buffer.C (readBody, do_writeFile):
4113 * paragraph.C(readParagraph): \end_document replaces \the_end.
4115 2003-07-29 André Pönitz <poenitz@gmx.net>
4118 * BufferView_pimpl.[Ch]:
4122 * textcursor.[Ch]: remove toggleToggle & Co
4124 2003-07-28 José Matos <jamatos@fep.up.pt>
4126 * buffer.C (readParagraph):
4127 * params_func (readParToken, readParagraph):
4128 * paragraph.C (write): \layout -> \begin_layout.
4130 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4132 * lyxlex_pimpl.C (setFile): clean up slightly.
4134 * bufferparams.h: add compressed var
4136 * buffer_funcs.C (readFile): adjust for LyXLex change
4137 (newFile): ditto + simplify
4139 * buffer.C (writeFile): handle writing of compressed files
4141 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4142 Check if the file is compressed and set a bufferparm if so.
4144 * Makefile.am (lyx_LDADD): remove explicit -lz
4146 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4148 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4149 makeDocBookFile): put the real LyX version in the first line of
4153 * version.C.in: remove lyx_docversion
4155 * tabular.C (write_attribute): add a template-based version to
4156 write enums properly
4158 2003-07-28 André Pönitz <poenitz@gmx.net>
4163 * text3.C: use doubles again for x-coordinates. They are needed.
4165 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4167 * messages.C (getLocaleDir): use lyx_localedir()
4169 * lyxlex_pimpl.C (setFile): compress stuff
4171 * buffer.C (writeFile): add some compression stuff
4172 (do_writeFile): new func, dont call expliti close... will this
4175 * Makefile.am (lyx_LDADD): add -lz
4177 2003-07-28 José Matos <jamatos@fep.up.pt>
4179 * buffer.C: increment file format.
4180 * paragraph_funcs (readParagraph, readParToken):
4181 * paragraph.C (readParagraph): add \end_layout.
4183 2003-07-27 Angus Leeming <leeming@lyx.org>
4185 * Makefile.am: remove special casing for configure-time setting of
4186 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4188 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4189 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4191 2003-07-26 André Pönitz <poenitz@gmx.net>
4193 * paragraph_func.[Ch]:
4194 * paragraph.C (realizeFont): inline it whereever it is used
4199 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4202 2003-07-26 André Pönitz <poenitz@gmx.net>
4206 * text2.C: get rid of LyXText::need_break_row
4208 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4210 * toc.[Ch]: put namespace toc inside namespace lyx
4212 * MenuBackend.C (expandToc2): adjust for lyx::toc
4215 * lyxfunc.C (dispatch): adjust for lyx::find
4217 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4218 lyx::find instead. Reorganize a bit.
4219 (LyXReplace): rename to replace
4220 (LyXFind): rename to find
4222 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4225 2003-07-26 André Pönitz <poenitz@gmx.net>
4227 * text.C (setHeightOfRow): restrict scope of temporary variable
4229 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4230 code (never has been used?)
4232 2003-07-27 Asger Alstrup <alstrup@local>
4234 * text.C (fill): Optimise algorithm to exploit that we can reuse
4235 the LyXFont for many characters.
4236 (setHeightOfRow): Same thing.
4237 (rowBreakPoint): Same thing.
4239 2003-07-26 Asger Alstrup <alstrup@local>
4241 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4243 * text.C (singleWidth): Spurious font copying in hot-spot
4244 singleWidth avoided. Reorder tests for arabic for efficiency.
4246 * text.C (fill): handle empty paragraphs better.
4248 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4251 * encoding.h: add includes
4253 * lyxrc.C: remove reading of bind files
4255 * lyx_main.C (init): setup bindings and menus only if we have a
4258 * kbmap.C (read): new method. Do the actual reading of bind
4261 * converter.C (dvipdfm_options):
4264 (output): adapt PAPER_* enums.
4266 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4268 * bufferparams.h: remove paper-related enums from there
4270 * paper.h: New file. A trivial header file to hold paper-related
4271 enums. It should later expand to contain many paper-related
4274 * lyxrc.C: declare extern displayTranslator
4276 2003-07-27 José Matos <jamatos@fep.up.pt>
4278 * tabular.[Ch] (linuxdoc): add support for tables and figures
4281 2003-07-27 José Matos <jamatos@fep.up.pt>
4283 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4284 consistency in both functions.
4285 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4287 2003-07-26 Asger Alstrup <alstrup@local>
4289 * rowpainter.C (paintRows): Change algorithm to work directly on
4290 the insets rather than asking every character in the document
4291 whether its an inset.
4293 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4295 * buffer.C (openFileWrite): factorize some code
4297 2003-07-26 Angus Leeming <leeming@lyx.org>
4300 * lyx_main.[Ch]: replace occurances of system_tempdir with
4303 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4305 * rename Inset to InsetOld
4307 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4309 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4310 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4311 which I think is a bit clearer. EDIT is gone, since it was
4312 premature optimisation, and broken for mathed anyway.
4313 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4314 with cursor positioning in insets as well (math insets still do not
4315 work, but that's a different story anyway.) It mysteriously
4316 crashes sometimes with undo in the first paragraph, but I'm fairly
4317 confident that this is a compiler bug.
4319 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4321 * paragraph.C (Paragraph): adjust for new clone return type
4323 (copyIntoMinibuffer): ditto
4325 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4327 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4328 by not having a special case, and always doing a full rebreak of
4329 the document after undo.
4331 2003-07-23 Angus Leeming <leeming@lyx.org>
4333 * factory.C (createInset): InsetExternal::setParams now takes a
4336 2003-07-23 Angus Leeming <leeming@lyx.org>
4338 * factory.C (createInset): changed interface to the external and
4339 graphics mailers' string2params functions.
4341 2003-07-23 Angus Leeming <leeming@lyx.org>
4343 * factory.C (createInset): pass a
4344 Buffer const * parameter to InsetExternalMailer's string2params.
4346 2003-07-22 John Levon <levon@movementarian.org>
4348 * Thesaurus.h: include the right aiksaurus header
4350 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4352 * MenuBackend.C (expand): check menu shortcuts unconditionally
4354 2003-07-21 Angus Leeming <leeming@lyx.org>
4356 * factory.C (createInset): pass a
4357 buffer_path parameter to InsetGraphicsMailer's string2params.
4359 2003-07-21 Angus Leeming <leeming@lyx.org>
4361 * BufferView_pimpl.C (buffer):
4364 * lyxfunc.C (dispatch):
4365 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4366 rather than the grfx shortcut.
4368 2003-07-21 André Pönitz <poenitz@gmx.net>
4370 * rowpainter.C: remove unused variables
4373 * tabular_funcs.h: move to tabular.C
4374 * Makefile.am: adjust
4376 * tabular.[Ch]: basic optical cleaning
4378 * author.h: pass references, not values
4380 2003-07-18 André Pönitz <poenitz@gmx.net>
4388 * text3.C: two-phase drawing for InsetText and InsetTabular
4389 some float -> int changes.
4391 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4393 * lyx_main.C: fix the fix
4395 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4397 * lyx_main.C: fix a crash in batch mode if no files specified
4400 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4402 * format.[Ch] (papersize): moved to BufferParams
4403 * converter.[Ch] (dvips_options): moved to BufferParams
4404 (dvipdfm_options): moved to anon namespace
4405 * bufferparams.[Ch]: added above functions.
4407 2003-07-17 André Pönitz <poenitz@gmx.net>
4411 * text2.C: don't call inset->update() anymore
4413 * metricsinfo.[Ch]: add convenience constructor
4415 2003-07-16 André Pönitz <poenitz@gmx.net>
4420 * text2.C: replace the LyXCursor::irow_ member with
4421 on-demand computation of the value
4423 2003-07-16 John Levon <levon@movementarian.org>
4425 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4427 2003-07-15 André Pönitz <poenitz@gmx.net>
4430 * text2.C: remove no more needed refresh_row
4432 2003-07-15 André Pönitz <poenitz@gmx.net>
4437 * text3.C: refresh_status tristate -> need_update bool
4439 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4441 * lyxtext.h (init): remove reinit argument (act as if always true)
4442 * text2.C: adjust to that
4444 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4446 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4447 * text3.C: use it to delete selections in some cases
4448 (bugs 441, 673, 702, 954).
4450 2003-07-14 André Pönitz <poenitz@gmx.net>
4452 * rowpainter.[Ch]: reduce interface
4454 2003-07-14 André Pönitz <poenitz@gmx.net>
4456 * BufferView_pimpl.C:
4457 * text2.C: adjust after removing unused BufferView * argument
4459 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4461 * text2.C (init): fix a crash fired on resize
4463 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4465 * buffer.[Ch]: added new closing signal
4466 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4467 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4468 BufferView::Pimpl via the closing the signal
4470 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4472 * buffer.[Ch]: take out all bv-related from buffer
4474 * BufferView_pimpl.[Ch]: connect to new signals
4475 * CutAndPaste.C: removed useless asserts
4476 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4479 * lyxfunc.C: moved view-related funciontality from vc here
4480 * paragraph.C: removed outdated comments
4483 2003-07-10 André Pönitz <poenitz@gmx.net>
4485 * BufferView_pimpl.C:
4489 * text2.C: remove InsetText::InnerCache, clean up consequences
4491 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4493 * ispell.C: fix two typos in error messages
4495 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4497 * Extend Note inset to other forms of annotation like Comment
4498 and Greyedout. Right button click gives dialog.
4500 Files modified or added (+):
4504 * ControlNote.[Ch] +
4506 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4507 frontends/controllers
4511 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4513 * aspell.C: add missing namespace lyx::support
4515 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4517 * BufferView.[Ch] (newFile): Add
4518 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4519 * LaTeX.[Ch] (message): added this signal and use it
4520 * buffer.[Ch] (busy, message): added these signals and use them
4521 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4525 * importer.C: use buffer signals instead of direct bv calling
4526 * lyx_cb.[Ch] (ShowMessage): removed
4529 * paragraph_funcs.C:
4530 * text2.C: use buffer signals
4532 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4534 * introduce namespace lyx::graphics
4536 2003-07-02 André Pönitz <poenitz@gmx.net>
4538 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4540 2003-07-01 André Pönitz <poenitz@gmx.net>
4547 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4548 text*.C to text_func.C
4550 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4552 * introduce namespace lyx::support
4554 2003-06-30 André Pönitz <poenitz@gmx.net>
4559 * text.C: re-enable --with-included-string
4561 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4563 * textcursor.C: add <config.h>
4565 * text.C (getWord): remove const from word_location arg
4567 * lyxvc.C (getLogFile): fix const type order
4569 * lyxtext.h: remove const from word_location arg, add arg name
4571 * lyxlayout.h: currect type on labeltype.
4573 * importer.C: correct \file
4575 * converter.C (intToFormat): use std:: on ret val, ws changes
4577 * bufferlist.h: correct \file
4579 * buffer.C (makeLinuxDocFile): fix const type order
4580 (makeDocBookFile): ditto
4581 (fillWithBibKeys): use std:: on stdlib args.
4583 * CutAndPaste.C: fix authors.
4584 (availableSelections): use std:: on return vector
4586 2003-06-27 André Pönitz <poenitz@gmx.net>
4588 * BufferView_pimpl.C:
4589 * bufferview_funcs.C:
4597 * text3.C: remove LyXCursor::row_ member
4600 * text.C: rename fullRebreak() to partialRebreak() and implement
4601 a fullRebreak() that really bereks fully
4603 * textcursor.h: new struct for cursor-related data
4605 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4607 * lyx_main.C (LyX): get full path of document loaded on the
4610 2003-06-26 André Pönitz <poenitz@gmx.net>
4612 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4613 remove unused/broken operator>,<,>=.
4615 * text.C: remove only use of broken operator<= in an Assert().
4617 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4619 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4620 moved errorlist_.clear to showErrorList
4622 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4624 * converter.C (scanLog, runLaTeX):
4625 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4626 move the bv->showErrorList call to the callers
4627 * lyxfunc.C: i.e. here...
4629 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4630 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4631 namespace, the second to...
4632 * buffer_funcs (BufferFormat, parseErrors): added
4633 * errorlist.C (ErrorList(TeXErrors const &)): removed
4635 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4637 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4639 2003-06-24 "Garst R. Reese" <reese@isn.net>
4643 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4645 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4647 * version.C.in: change docversion to 1.4
4649 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4651 * buffer.C: fix a bug just introduced
4653 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4655 * buffer.[Ch]: added the parseError signal and use it, removed
4657 * BufferView.[Ch] (addError): moved to ...
4658 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4659 to the Buffer::parseError signal to catch (guess what) parse errors
4660 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4662 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4664 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4665 ability to create a buffer and to return an existing one from
4666 the list. Moved these functions to...
4667 * buffer_funcs.[Ch]: added
4668 * BufferView.[Ch] (loadLyXFile): added
4669 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4670 job removed from bufferlist::loadLyXFile.
4671 * buffer.C (setReadOnly): make it work without view
4672 (i.e added an if (users))
4674 2003-06-19 Angus Leeming <leeming@lyx.org>
4677 * LyXAction.C (init):
4678 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4679 with LFUN_DIALOG_SHOW <name> <data>.
4681 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4683 * CutAndPaste.C (availableSelections): small compilation fix for
4684 ancient (gcc 2.9x) compilers
4686 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4688 * text3.C (cursorNext): add tmp var
4690 * text2.C (updateCounters): for function calling out of for clause
4691 (replaceSelectionWithString): ditto
4692 (insertStringAsParagraphs): ditto
4693 (getColumnNearX): add tmp var
4694 (setCursorFromCoordinates): add tmp var
4695 (cursorDownParagraph): add tmp var
4696 (deleteEmptyParagraphMechanism): add tmp var
4698 * text.C (insertChar): add tmp var
4700 * rowpainter.C (paintDepthBar): add tmp var
4702 * CutAndPaste.C (availableSelections): potentially check all
4703 paragraphs in a cut to fill the shown strings.
4705 2003-06-18 André Pönitz <poenitz@gmx.net>
4707 * kbmap.[Ch]: use vector<> instead of list<>
4709 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4711 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4712 pasteSelection with index
4714 * text2.C (pasteSelection): modify, call pasteSelection with index
4716 * paragraph.C (asString): reimplement version with no interval to
4717 call the one with interval.
4719 * lyxtext.h: add index arg to pasteSelection
4721 * MenuBackend.C (MenuItem): handle PasteRecent
4722 (Menu::read::Menutags): add md_pasterecent
4724 (expandPasteRecent): new function
4727 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4729 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4731 (availableSelections): new function
4733 2003-06-17 Angus Leeming <leeming@lyx.org>
4735 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4737 2003-06-17 Angus Leeming <leeming@lyx.org>
4740 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4742 * lyxfunc.C (dispatch): invoke it.
4744 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4746 * iterators.C (operator++, ParPosition): reintroduce some
4747 const_cast for the benefit of older compilers.
4749 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4751 * text3.C (dispatch): do not modify clipboard when doing
4752 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4753 LFUN_DELETE_SKIP on a selection selection
4755 2003-06-16 André Pönitz <poenitz@gmx.net>
4761 * tabular.[Ch]: IU of clone() and getLabelList();
4763 2003-06-13 André Pönitz <poenitz@gmx.net>
4765 * tabular.h: compactification
4767 2003-06-12 André Pönitz <poenitz@gmx.net>
4771 * tabular_funcs.h: some renaming plus whitespace
4773 2003-06-12 André Pönitz <poenitz@gmx.net>
4776 * BufferView_pimpl.C:
4782 * toc.C: Return a Paragraph & for ParIterator::operator*()
4784 2003-06-11 John Levon <levon@movementarian.org>
4788 * ToolbarBackend.C: add "Toolbars" section and
4791 2003-06-10 Angus Leeming <leeming@lyx.org>
4794 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4796 * lyxfunc.C (dispatch): invoke it.
4798 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4800 * main.C: protect <ios> with HAVE_IOS
4801 (main): protect sync_with_stdio with HAVE_IOS
4803 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4805 * text2.C (cutSelection): adjust
4806 (pasteSelection): adjust
4808 * messages.C: handle get of empty string
4810 * main.C (main): use sync_with_stdio(false)
4812 * lyxfunc.C (dispatch): adjust
4814 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4815 (WriteAs): remove unneeded BufferView arg.
4817 * bufferparams.h: use correct types on papersize, papersize2 and
4820 * bufferparams.C (readToken): adjust for type
4821 (writeLaTeX): add missing cases to switch.
4823 * bufferlist.C (quitWriteBuffer): adjust
4826 * buffer.C (asciiParagraph): remove some commented code.
4828 * CutAndPaste.C: remove current_view extern variable.
4829 (cutSelection): add BufferParams arg.
4830 (eraseSelection): add BufferParams arg.
4831 (pasteSelection): add Buffer const & arg
4833 2003-06-07 John Levon <levon@movementarian.org>
4836 * paragraph_funcs.C:
4837 * paragraph_pimpl.C:
4841 * paragraph.C: allow InsetERT to freely space lines,
4842 and some consolidation of code
4844 2003-06-06 José Matos <jamatos@fep.up.pt>
4846 * buffer.C (makeDocBookFile): fix bug #821
4848 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4850 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4852 2003-06-04 Angus Leeming <leeming@lyx.org>
4854 * buffer.C: bump format to 224.
4856 2003-06-05 André Pönitz <poenitz@gmx.net>
4858 * text2.C (redoParagraphs): remove two const_cast<>
4860 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4862 * ParagraphList.h: remove last remnants of NO_STD_LIST
4864 2003-06-03 Angus Leeming <leeming@lyx.org>
4866 * factory.C (createInset): small change to the way InsetExternal's params
4869 2003-06-04 André Pönitz <poenitz@gmx.net>
4871 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4873 * paragraph_pimpl.h:
4874 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4876 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4878 * undo_funcs.C: make some simple cases of undo work again
4880 2003-06-03 John Levon <levon@movementarian.org>
4882 * ispell.C: HPUX doesn't have sys/select.h
4885 2003-06-03 John Levon <levon@movementarian.org>
4887 * CutAndPaste.C: update tabular and include inset
4892 * paragraph.C: remove owningBuffer(), don't pass Buffer
4895 * factory.C: insetGraphicsParams changed
4897 2003-06-02 John Levon <levon@movementarian.org>
4903 * text3.C: remove insetparent
4905 2003-06-02 John Levon <levon@movementarian.org>
4908 * buffer.C: fix inset_iterator.end(), move out of line
4911 2003-06-01 John Levon <levon@movementarian.org>
4913 * text3.C: use a proper cut/paste when doing inset
4914 insert (from Jürgen Spitzmüller)
4916 2003-06-01 John Levon <levon@movementarian.org>
4918 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4920 2003-05-30 André Pönitz <poenitz@gmx.net>
4922 * rowpainter.C: unify second drawing phase
4924 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4926 * trans_mgr.C: remove one case of current_view
4928 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4930 * paragraph_funcs.h: remove paragraph.h include
4932 * paragraph.h: delete NO_STD_LIST stuff
4934 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4936 * buffer.h: remove paragraph.h include
4938 * ParagraphList.C: delete file
4940 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4942 * toc.C (getTocList): adjust
4944 * paragraph_pimpl.C (validate): adjust
4946 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4948 * paragraph.C (Paragraph): adjust
4949 (getPositionOfInset): use const_iterator, adjust
4950 (bibitem): use const_iterator, adjust
4951 (setInsetOwner): adjust
4953 * iterators.C (operator++): adjust
4955 * InsetList.[Ch]: Replace selfmade iterator with standard
4956 vector::iterator also introduce const_iterator. Remove getPos,
4957 getInset and setInset from InsetTable. Adjust accordingly.
4959 * BufferView.C (lockInset): adjust
4960 (ChangeInsets): adjust
4962 * tabular.[Ch]: delete commented same_id functions
4964 2003-05-28 John Levon <levon@movementarian.org>
4966 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4968 2003-05-28 André Pönitz <poenitz@gmx.net>
4970 * metricsinfo.[Ch]: remove 'fullredraw' member
4972 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4974 * lyxtextclass.C (operator): remove caching.
4976 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4980 * text2.C (cursorBottom): adjust
4981 (setCounter): use ParagraphList::find, adjust
4983 * text.C (workWidth): use ParagraphList::find, adjust
4985 * lyxcursor.C (LyXCursor): adjust
4987 * buffer.C (inset_iterator): adjust
4989 * ParagraphList.h: make iterator(value_type) private, make
4990 ParagraphList a friend of iterator.
4992 * ParagraphList.C (find): new function
4994 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4996 2003-05-27 André Pönitz <poenitz@gmx.net>
4998 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5000 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5002 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5004 2003-05-26 John Levon <levon@movementarian.org>
5006 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5008 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5010 * remove same_id from function signatures, adjust.
5012 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5014 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5016 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5018 * paragraph.C (Paragraph): get rid of same_ids parameter
5020 * ParagraphList.C (insert): adjust
5023 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5025 * paragraph_funcs.C (breakParagraph): adjust
5026 (breakParagraphConservative): adjust
5028 * buffer.C (readParagraph): adjust
5030 * ParagraphList.C (insert): take a reference instead of a pointer
5033 * paragraph.[Ch] (id): new function
5035 * bufferlist.C (newFile): adjust
5037 * ParagraphList.C (ParagraphList): adjust
5039 (push_back): take a reference instead of a pointer.
5041 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5043 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5046 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5047 set else use old code.
5049 * ParagraphList.C: remove all NO_NEXT code and only compile this
5050 code of NO_STD_LIST is set.
5052 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5054 * BufferView_pimpl.C:
5064 * graphics/GraphicsConverter.C:
5065 * graphics/PreviewLoader.C: header adjustment
5067 2003-05-23 Angus Leeming <leeming@lyx.org>
5069 * LaTeXFeatures.[Ch] (useBabel): new method.
5070 * bufferparams.C (writeLaTeX): use it.
5072 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5074 * ParagraphList.h (set): remove unused function.
5076 2003-05-23 André Pönitz <poenitz@gmx.net>
5079 * BufferView_pimpl.C:
5083 * undo_funcs.C: setUndo reworked
5085 * iterators.[Ch]: add access to topmost ParagraphList
5087 * lyxtext.[Ch] (workWidth): add a const
5089 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5091 * texrow.[Ch] (increasePos): remove function
5092 * exporter.C (export): removed unused var and outdated comment
5094 2003-05-23 Angus Leeming <leeming@lyx.org>
5096 * latexrunparams.h: rename fragile as moving_arg.
5097 * paragraph.C (simpleTeXOnePar): ditto.
5098 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5100 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5102 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5104 (textUndoOrRedo): comment out a currently unused var.
5106 * paragraph.h (NO_NEXT): enable NO_NEXT
5108 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5110 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5112 * exporter.C (Export): adjust for removeAutoInsets removal.
5114 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5116 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5118 * BufferView.[Ch] (removeAutoInsets): delete function
5120 2003-05-22 Angus Leeming <leeming@lyx.org>
5122 * latexrunparams.h: add a free_spacing variable.
5124 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5125 to pass moving_arg, as the data is stored in runparams.fragile.
5127 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5128 to Inset::latexOptional or to simpleTeXOnePar.
5130 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5131 free_spacing arg to Inset::latexOptional.
5133 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5136 2003-05-22 Angus Leeming <leeming@lyx.org>
5138 * latexrunparams.h: add fragile and use_babel variables.
5140 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5141 * buffer.C (makeLaTeXFile): store this returned value in
5142 runparams.use_babel, thus passing it to the inset::latex methods.
5144 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5145 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5147 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5148 longer has a fragile arg, as it is stored in runparams.fragile.
5150 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5151 moving_arg parameter as the data is stored in runparams.fragile.
5153 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5154 a fragile parameter as the data is stored in runparams.fragile.
5156 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5158 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5160 2003-05-22 Angus Leeming <leeming@lyx.org>
5162 * latexrunparams.h: add a 'bool nice' which defaults to false.
5164 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5165 now encapsulated within runparams.
5167 * bufferlist.C (updateIncludedTeXfiles):
5168 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5170 2003-05-22 Angus Leeming <leeming@lyx.org>
5172 * latexrunparams.h: new file containing struct LatexRunParams.
5173 * Makefile.am: add new file.
5175 * LaTeX.[Ch] (c-tor, run):
5176 * buffer.[Ch] (makeLaTeXFile):
5177 * bufferlist.[Ch] (updateIncludedTeXfiles):
5178 * converter.C (convert, scanLog):
5179 * converter.[Ch] (runLaTeX):
5180 * exporter.C (Export):
5181 * paragraph.[Ch] (simpleTeXOnePar):
5182 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5183 * paragraph_funcs.[Ch] (latexParagraphs):
5184 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5185 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5186 pass around a LatexRunParams parameter.
5188 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5190 * paragraph.[Ch]: remove unused constructor
5192 * ParagraphList.C (erase): new function, taking two iterators
5194 2003-05-22 André Pönitz <poenitz@gmx.net>
5196 * undo_funcs.C: remove duplicated code
5198 * iterator.[Ch]: operator=
5200 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5202 * tabular.C (SetMultiColumn): ws changes
5204 * rowpainter.C (paintFirst): get rid of a ->previous
5206 * lyx_cb.C (getPossibleLabel): parlist simplification
5208 * BufferView.C (ChangeInsets): simplify slightly.
5210 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5212 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5213 * lfuns.h: new LFUN_SPACE
5214 * lyxfunc.C: protected space has a new lfun
5215 * paragraph_funcs.C: read new space insets
5217 * factory.C: handle new space insets
5219 2003-05-22 André Pönitz <poenitz@gmx.net>
5222 * BufferView_pimpl.C:
5225 * undo_funcs.C: return a ParIterator from getParFromID.
5227 * iterators.[Ch]: add two const's
5229 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5231 * toc.C (getTocList): adjust
5233 * iterators.[Ch]: rework for parlist
5235 * buffer.C (par_iterator_begin): adjust
5236 (par_iterator_end): adjust
5238 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5240 * BufferView.C (removeAutoInsets): adjust
5241 (ChangeInsets): adjust
5243 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5245 * text.C (top_y): fix bug 1110
5247 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5249 * errorlist.[Ch]: added
5252 * BufferView_pimpl.C:
5253 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5256 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5258 * Makefile.am: ensure that lyx is relinked upon changes to the
5259 various "convenience" libs.
5261 2003-05-20 Angus Leeming <leeming@lyx.org>
5263 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5264 files are compiled in alphabetical order again.
5266 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5268 2003-05-19 Angus Leeming <leeming@lyx.org>
5270 * gettext.[Ch]: remove "char const * _(char const *)".
5272 2003-05-19 André Pönitz <poenitz@gmx.net>
5274 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5283 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5285 2003-05-19 André Pönitz <poenitz@gmx.net>
5289 * lyxtextclass.[Ch]:
5291 * paragraph_funcs.[Ch]:
5293 * text3.C: more insetenv work
5295 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5297 * ParagraphParameters.C (params2string): small bug fixed
5299 2003-05-16 André Pönitz <poenitz@gmx.net>
5302 * bufferview_funcs.C: patch from Kornel Benko to prevent
5303 crash when _(...) is called twice in a statement
5305 2003-05-16 André Pönitz <poenitz@gmx.net>
5312 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5314 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5316 * lyx_main.C (init): remove spurious static_cast
5318 2003-05-14 André Pönitz <poenitz@gmx.net>
5320 * BufferView.C: fix format string
5322 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5324 * BufferView.[Ch] (insertErrors): removed
5325 * BufferView.[Ch] (showErrorList): added
5326 * buffer.C (runChkTeX):
5327 * converter.C (scanLog): call showErrorList instead of inserterrors
5329 2003-05-13 André Pönitz <poenitz@gmx.net>
5331 * BufferView_pimpl.C:
5333 * bufferview_func.C:
5340 * tabular_funcs.h: tostr() from its own header
5342 * ParagraphParameters.C:
5347 * text3.C: STRCONV()
5349 2003-05-12 André Pönitz <poenitz@gmx.net>
5352 * BufferView_pimpl.C:
5356 * ParagraphParameters.C:
5360 * bufferview_funcs.C:
5373 * paragraph_funcs.C:
5377 * text3.C: boost::format -> bformat all over the place
5380 2003-05-09 André Pönitz <poenitz@gmx.net>
5382 * LColor.[Ch]: Pimpl the #include <map> away
5384 2003-05-09 John Levon <levon@movementarian.org>
5386 * bufferlist.C: never remove emergency saves
5388 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5390 * Makefile.am: better lib building
5392 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5394 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5396 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5397 (simpleTeXSpecialChars): adjust
5398 (simpleTeXSpecialChars): adjust
5399 * paragraph.C (simpleTeXOnePar): adjust
5400 * buffer.C (makeLaTeXFile): adjust
5402 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5404 * text2.C (changeDepth): parlist cleanup
5405 (getColumnNearX): ditto
5407 * rowpainter.C (getLabelFont): parlist cleanup
5409 * bufferlist.C (newFile): parlist cleanup
5411 * CutAndPaste.C (eraseSelection): parlist cleanup
5413 * BufferView_pimpl.C (trackChanges): parlist cleanup
5416 * BufferView.C (lockInset): parlist cleanup.
5417 (ChangeInsets): ditto
5419 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5421 * CutAndPaste.h: Update file header.
5423 * CutAndPaste.C: Update file header.
5424 Store the parts cut out of the Document in a limited_stack.
5425 (copySelection): adjust
5426 (pasteSelection): new function, takes the index in the limited stack.
5427 (nrOfParagraphs): adjust
5428 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5429 simplify error inset insertion.
5430 (checkPastePossible): adjust
5432 2003-05-06 John Levon <levon@movementarian.org>
5434 * text2.C: don't cast wrap inset to float
5436 2003-05-05 André Pönitz <poenitz@gmx.net>
5439 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5441 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5442 few naked Paragraph *.
5444 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5446 * bufferparams.C: Output warning if a document with missing
5447 TeX document class is loaded
5448 * exporter.C: Disable TeX exports if the document class is missing
5451 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5452 isTeXClassAvailable()
5454 2003-05-03 John Levon <levon@movementarian.org>
5457 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5458 explicit cursor show/hide
5460 * BufferView_pimpl.h:
5461 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5462 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5464 * lyxfunc.C: hide cursor before dispatching.
5469 * text3.C: remove explicit cursor hides
5471 2003-05-02 André Pönitz <poenitz@gmx.net>
5473 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5476 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5479 * text2.C: tiny whitespace
5481 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5483 * undo_funcs.C: almost only ws changes.
5485 * ParagraphList.C (splice): just return if pl is empty.
5487 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5489 * ParagraphList.C (splice): new function.
5491 * CutAndPaste.C (pasteSelection): use it
5493 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5495 * CutAndPaste.C (pasteSelection): remove the last next and
5496 previous from this file.
5498 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5500 * CutAndPaste.C (pasteSelection): more clean up, user proper
5501 ParagraphList functions for pasteing.
5503 * ParagraphList.C (insert): new function, three arg insert
5505 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5507 * ParagraphList.C (insert): new function, three arg insert
5509 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5512 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5514 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5516 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5518 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5520 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5522 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5523 (copySelection): clean up a bit.
5524 (pasteSelection): use make_pair
5526 * ParagraphList.C (ParagraphList): implement copy constructor
5527 (operator=): implement, base on copy constructor.
5530 * paragraph.C (erase): return a bool
5532 * paragraph_pimpl.C (erasePos): remove function, move contents...
5533 (erase): ... here. Return a bool.
5534 (erase): call erase instead of erasePos.
5536 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5538 * ParagraphList.h: define PitPosPair
5539 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5540 ParagraphList, fix a bug on pasting multiple pars
5541 * text2.C: change interface to C&P
5543 2003-04-30 André Pönitz <poenitz@gmx.net>
5545 * undo_func.C: revert part of yesterday's patch 2
5547 2003-04-30 John Levon <levon@movementarian.org>
5549 * LColor.C: s/tabular/table/
5551 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5553 * text3.C (dispatch): do not convert iterator -> pointer
5554 * undo_funcs.C (setCursorParUndo): ditto
5555 * text_funcs.C (transposeChars): ditto
5557 * text2.C (setLayout): ws changes only
5559 * text.C (breakParagraph): do not convert iterator -> pointer
5561 (acceptChange): ditto
5562 (rejectChange): ditto
5567 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5570 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5572 * text3.C (gotoInset): YABG (yet another bad getChar)
5574 2003-04-29 André Pönitz <poenitz@gmx.net>
5576 * paragraph.h: make operator= private unimplemented as long as
5579 * ParagraphList.C: whitespace
5582 * paragraph_pimpl.[Ch]:
5583 * paragraph_funcs.C:
5585 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5588 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5590 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5592 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5593 * paragraph.[Ch] (erase):
5594 * paragraph_pimpl.[Ch] (erase): change return type and value
5595 * text2.C (cutSelection): some rework
5597 2003-04-28 John Levon <levon@movementarian.org>
5599 * bufferlist.C: changes for unsaved changes dialog
5601 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5603 * bufferlist.C (newFile): set language (messages_) for new
5606 * buffer.C (readFile): ws changes only.
5608 2003-04-28 André Pönitz <poenitz@gmx.net>
5613 * BufferView_pimpl.C:
5614 * BufferView.C: getParFromID related ParagraphList::iterator changes
5616 2003-04-28 André Pönitz <poenitz@gmx.net>
5618 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5621 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5623 * messages.C: remove one more localedir class variable.
5625 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5627 * messages.C (getLocaleDir): singleton generation function
5629 (Messages): add a default constructor.
5631 * main.C (main): do not setup localedir here, do not call
5634 * gettext.C (_): use it.
5635 (gettext_init): delete funciton
5637 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5639 * gettext.C (getLyXMessages): new singleton generating function.
5641 * buffer.C (updateDocLang): adjust
5643 * Makefile.am (messages.o): add target
5644 (main.o): remove target
5646 2003-04-27 John Levon <levon@movementarian.org>
5651 * lyxvc.C: specify cancel button in Alert::prompt
5653 2003-04-26 John Levon <levon@movementarian.org>
5658 * LyXAction.C: add LFUN_INSET_SETTINGS
5660 * lyxfunc.C: don't enable tabular-feature when there's
5661 just any locking inset
5663 2003-04-26 John Levon <levon@movementarian.org>
5665 * bufferlist.C: re-add Cancel to buffer close question
5667 * lyxfunc.C: fix import UI a bit
5669 2003-04-25 John Levon <levon@movementarian.org>
5671 * gettext.C: remove the broken asserts for now
5673 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5675 * messages.C: make case where setlocale cannot comply work better.
5677 * buffer.C (updateDocLang): new function
5678 (changeLanguage): use it
5681 * text2.C (setCounter): use B_ a bit.
5683 * lyxlayout.C (Read): be sure to trim the label strings.
5685 * messages.C (Messages): fix typo in comment
5687 * buffer.C (readFile): set message_ after file is loaded.
5688 (makeDocBookFile): remove double return
5689 (changeLanguage): reset message_ upon language change.
5690 (B_): new func, use this to get translated buffer strings.
5692 * main.C: add myself and Jean Marc as authors.
5694 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5696 * messages.[hC]: pimplify Messages, and three different pimpls to be
5697 used in different circumstances.
5699 * gettext.[Ch]: change for use with new message code.
5701 2003-04-24 André Pönitz <poenitz@gmx.net>
5703 * factory.C: support for eqref
5705 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5707 * messages.[Ch]: add missing char
5709 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5711 * messages.[Ch]: New files
5713 2003-04-18 John Levon <levon@movementarian.org>
5717 * BufferView_pimpl.C:
5721 * text2.C: remove layout-copy/paste (bug 778)
5723 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5725 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5727 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5729 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5730 if they succeed. Act accordingly.
5732 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5734 * text2.C (setCharFont): adjust
5735 (setCounter): adjust
5736 (insertStringAsLines): adjust
5738 * text.C (leftMargin): adjust
5739 (setHeightOfRow): adjust
5741 * rowpainter.C (paintFirst): adjust
5744 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5746 (isFirstInSequence): ditto
5747 (getEndLabel): ditto
5750 * paragraph.C (getParLanguage): comment out some hard stuff.
5752 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5754 (simpleDocBookOnePar): ditto
5755 (makeDocBookFile): use ParagraphList::iterator
5757 * CutAndPaste.C (pasteSelection): adjust
5759 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5761 * text2.C (getFont): adjust
5762 (getLayoutFont): adjust
5763 (getLabelFont): adjust
5765 * paragraph_funcs.C (TeXOnePar): adjust
5767 * buffer.C (simpleLinuxDocOnePar): adjust
5768 (simpleDocBookOnePar): adjust
5770 * CutAndPaste.C (pasteSelection): adjust
5772 * BufferView.C (getEncoding): adjust
5774 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5776 2003-04-16 John Levon <levon@movementarian.org>
5778 * lyxfind.C: use parlist stuff for search/changes
5780 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5782 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5784 * text2.C (deleteEmptyParagraphMechanism): adjust
5786 * text2.[Ch] (ownerParagraph): delete func (both of them
5788 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5790 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5792 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5794 * ParagraphList.C: prepare for NO_NEXT
5796 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5798 * text2.C (getFont): adjust
5799 (getLayoutFont): adjust
5800 (getLabelFont): adjust
5802 * paragraph.C (getFont): adjust
5803 (getLabelFont): adjust
5804 (getLayoutFont): adjust
5806 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5808 2003-04-15 John Levon <levon@movementarian.org>
5812 * lyx_main.C: handle Include in .ui files
5814 2003-04-15 John Levon <levon@movementarian.org>
5816 * MenuBackend.C: make the doc files length shorter
5819 * ToolbarBackend.C: handle toolbar placement flags,
5822 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5824 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5827 * paragraph_funcs.C (TeXOnePar): adjust
5829 * paragraph.C (getLabelFont): add outerfont arg, adjust
5830 (getLayoutFont): ditto
5831 (simpleTeXOnePar): adjust
5833 * paragraph_pimpl.C (realizeFont): delete func
5835 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5837 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5838 row argument, constify cur argument.
5840 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5842 * text2.C (getFont): adjust
5843 (getLayoutFont): adjust
5844 (getLabelFont): adjust
5846 * paragraph_funcs.C (TeXOnePar): adjust
5847 (outerFont): new func...
5848 (realizeFont): ...moved out from here, changed this to facilitate
5851 * paragraph.C (getFont): take outerfont as arg, adjust
5852 (simpleTeXOnePar): add outerfont arg, adjust
5854 * buffer.C (simpleLinuxDocOnePar): adjust
5855 (simpleDocBookOnePar): adjust
5857 * CutAndPaste.C (pasteSelection): adjust
5859 * BufferView.C (getEncoding): adjust
5861 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5863 * text2.C (setCharFont): adjust
5864 (setCounter): adjust
5866 * text.C (leftMargin): adjust
5867 (setHeightOfRow): adjust
5869 * rowpainter.C (paintFirst): adjust
5872 * paragraph_pimpl.C (realizeFont): adjust
5874 * paragraph.C (isFirstInSequence): move from here...
5875 * paragraph_funcs.C (isFirstInSequence): ...to here
5877 * paragraph.C (outerHook): move from here...
5878 * paragraph_funcs.C (outerHook): ...to here
5880 * paragraph.C (depthHook): move from here...
5881 * paragraph_funcs.C (depthHook): ...to here
5883 * paragraph.C (getEndLabel): move from here...
5884 * paragraph_funcs.C (getEndLabel): ...to here
5886 * text2.C (realizeFont): move from here...
5887 * paragraph_funcs.C (realizeFont): ...to here
5889 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5891 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5893 2003-04-14 Angus Leeming <leeming@lyx.org>
5895 * LColor.[Ch]: scrap LColor mathcursor.
5897 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5899 * lyxlex.[Ch] (text): delete function
5900 * trans.C (Load): adjust
5901 * paragraph_funcs.C (readParToken): adjust
5903 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5905 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5906 vector<char> instead of a char[].
5908 * lyxlex_pimpl.C (getString): adjust
5910 (lex): use getString
5914 * lyxlex.C (text): use pimpl_->getString()
5918 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5920 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5921 (makeFontEntriesLayoutSpecific): temp var for par.size()
5922 (setLayout): temp var for ownerParagraphs().end()
5923 (fullRebreak): temp var for rows().end()
5924 (selectionAsString): temp var for boost::next(startpit), realize
5925 that the while really is a regular for loop.
5926 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5927 setCursor in one place.
5928 (setParagraph): temp vr for ownerParagraphs().end()
5929 (updateCounters): make the while loop a for loop
5930 (cutSelection): temp var for ownerParagraphs().end()
5931 (updateInset): make the do {} while() a regular for loop
5932 (getCursorX): use temp vars
5933 (setCurrentFont): use temp vars
5934 (getColumnNearX): use temp vars
5936 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5938 * text.C (transformChar): use temp var for getChar
5939 (computeBidiTables): use temp var for row->par()
5940 (fill): move temp vars for row->par() and pit->layout() earlier in
5942 (labelFill): use temp var for row->par()
5943 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5944 asc and desc, realize that pit never changes and that firstpit is
5945 just a duplicate and not needed. Exchange rit->par() with pit in a
5947 (breakAgain): use a temp var for boost::next(rit)
5948 (breakAgainOneRow): ditto
5949 (breakParagraph): use a temp var for rows().begin()
5950 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5951 (cursorRightOneWord): use temp var for cursor.par() and
5952 cursor.pos(), remove usage of tmpcursor.
5953 (cursorLeftOneWord): use temp var for cursor.par() and
5954 cursor.pos() only set cur at end of function.
5956 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5958 * text.C, text2.C: exchange all usage of Paragraph::next with
5959 boost::next(ParagraphList::iterator)
5961 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5963 * text2.C (cursorTop): simplify implementation
5964 (cursorBottom): ditto
5965 (setParagraph): use ParagraphList::iterator
5966 (setCurrentFont): adjust
5967 (getColumnNearX): adjust
5968 (cursorRight): adjust
5969 (cursorLeft): remove usage of Paragraph::previous
5970 (cursorUpParagraph): ditto
5971 (deleteEmptyParagraphMechanism): slight cleanup
5973 * text.C (isBoundary): take a Paragraph const & instead of a
5975 (addressBreakPoint): ditto
5976 (leftMargin): remove usage of Paragraph::previous.
5977 (setHeightOfRow): ditto
5978 (cursorLeftOneWord): ditto
5979 (selectNextWordToSpellcheck): ditto
5982 (breakParagraph): remove one usage of Paragraph::next
5983 (redoParagraph): ditto
5984 (acceptChange): ditto
5985 (insertChar): adjust
5986 (rowBreakPoint): adjust
5988 * bufferview_funcs.C (toggleAndShow): adjust
5990 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5992 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5993 methods to access it.
5995 * text.C: Added updateRowPositions to compute all row positions.
5996 Make top_y and getRowNearY() to use the cached y position
5998 2003-04-11 John Levon <levon@movementarian.org>
6000 * text.C (rowBreakPoint): reintroduce the labelEnd
6001 checks, code copied from the row fill stuff. Deep voodoo.
6003 * text.C (fill): add a comment and debugging for the
6006 2003-04-11 John Levon <levon@movementarian.org>
6008 * text.C: make sure fullrow insets get wrapped to the next line,
6009 even when they're in a manual label
6011 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6013 * text2.C (insertParagraph): make it take ParagraphList::iterator
6015 (setLayout): make it return ParagraphList::iterator
6016 (redoParagraphs): ditto
6018 (checkParagraph): ditto
6020 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6022 * text2.C: adjust several funcs.
6023 (realizeFont): take a ParagraphList::iterator as arg.
6024 (getLayoutFont): ditto
6025 (getLabelFont): ditto
6026 (setCharFont): ditto
6028 * text.C: adjust several funcs.
6030 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6032 * text.C (selectNextWordToSpellcheck): don't accidentally
6035 2003-04-10 John Levon <levon@movementarian.org>
6037 * ToolbarBackend.C (getIcon): special handling for
6040 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6042 * text2.C (cursorRight): a getChar assert fixed
6044 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6046 * text2.C (getFont): change to take a ParagraphList::iterator
6047 instead of Paragraph*
6048 Adjust several functions.
6050 * text.C (transformChar): change to take a ParagraphList::iterator
6051 instead of Paragraph*
6052 (singleWidth): ditto
6053 Adjust several functions.
6055 * rowpainter.C: adjust several functions
6056 * rowpainter.h:store a ParagraphList::iterator and not a
6060 2003-04-09 John Levon <levon@movementarian.org>
6065 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6066 and the "help" bits as well
6068 2003-04-09 John Levon <levon@movementarian.org>
6071 * ToolbarBackend.C: allow multiple toolbars
6073 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6075 * undo_funcs.C (setCursorParUndo): adjust
6077 * text_funcs.C (transposeChars): adjust
6079 * text3.C (gotoNextInset): adjust
6082 * text2.C (setLayout): adjust
6083 (changeDepth): adjust
6085 (redoParagraphs): adjust
6086 (selectionAsString): adjust
6087 (setParagraph): adjust
6088 (insertInset): adjust
6089 (cutSelection): adjust
6090 (copySelection): adjust
6091 (pasteSelection): adjust
6092 (insertStringAsLines): adjust
6093 (updateInset): adjust
6094 (setCursor): change to take a ParagraphList::iterator parameter
6095 (setCursorIntern): change to take a ParagraphList::iterator parameter
6096 (setCurrentFont): adjust
6097 (cursorLeft): adjust
6098 (cursorRight): adjust
6099 (deleteEmptyParagraphMechanism): adjust
6101 * text.C (breakParagraph): adjust
6102 (insertChar): adjust
6103 (acceptChange): adjust
6104 (rejectChange): adjust
6105 (selectNextWordToSpellcheck): adjust
6106 (changeCase): adjust
6110 * lyxfind.C (SearchForward): adjust
6111 (SearchBackward): adjust
6112 (nextChange): adjust
6114 * lyxcursor.C (par): adjust
6116 * lyxcursor.h: store a ParagraphList::iterator instead of a
6119 * lyx_cb.C (getPossibleLabel): adjust
6121 * bufferview_funcs.C (toggleAndShow): adjust
6123 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6126 * BufferView.C (removeAutoInsets): adjust
6127 (lockedInsetStoreUndo): adjust
6129 2003-04-09 John Levon <levon@movementarian.org>
6131 * ToolbarBackend.C: try icon without argument
6132 if with argument fails
6134 2003-04-08 John Levon <levon@movementarian.org>
6137 * ToolbarBackend.C: add getIcon(), handle tooltip,
6138 and change from "Icon" to "Item".
6140 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6142 * BufferView.C (lockInset): another bad getchar crunched
6144 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6146 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6149 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6151 * lyxfind.C (searchForward, searchBackwards): bug 782
6153 2003-04-07 John Levon <levon@movementarian.org>
6155 * paragraph.C: remove dead comment
6157 * text.C: remove troublesome depth-fiddling code
6158 in leftMargin() and rightMargin() (bug 1017)
6160 * text.C: fix breaking of rows in nested lists
6163 * text2.C (updateCounters): fix up depth values
6166 2003-04-07 John Levon <levon@movementarian.org>
6168 * BufferView_pimpl.C: clear message when doc finishes resizing,
6169 and after a mouse event
6171 * lyxfunc.C: clear message after exiting inset
6173 2003-04-07 John Levon <levon@movementarian.org>
6175 * bufferview_funcs.C: show math status not outside
6176 status in the statusbar
6178 2003-04-07 John Levon <levon@movementarian.org>
6180 * lyxfunc.C: note status changed after a depth change
6182 2003-04-04 Angus Leeming <leeming@lyx.org>
6184 * LaTeX.h: move AuxInfo operator==, != out of line.
6185 Remove LaTeX virtual destructor; nothing derives from it.
6186 Move operator()() out of public area and rename it startscript().
6187 Change protected for private.
6189 2003-04-04 Angus Leeming <leeming@lyx.org>
6192 * text2.C: remove unneeded #includes.
6194 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6196 * text2.C (dEPM): fix the heigth of the next row
6198 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6200 * text.C: squashed an invalid getChar requester + some ws changes
6202 2003-04-03 John Levon <levon@movementarian.org>
6204 * bufferview_funcs.h:
6205 * bufferview_funcs.C:
6208 * text2.C: make getStatus work for the env depth lfuns
6210 2003-04-03 John Levon <levon@movementarian.org>
6212 * bufferview_funcs.h:
6213 * bufferview_funcs.C:
6216 * text2.C: parlistize decDepth(), by merging it with incDepth()
6218 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6220 * lyxrow.h: store a ParagraphList::iterator instead of a
6221 Paragraph* and adjust other class functions to suit.
6223 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6226 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6228 * text2.C (setCursor): do not anchor to cursor row for the time being
6230 2003-04-02 John Levon <levon@movementarian.org>
6237 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6239 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6241 * paragraph.h: make ParagraphList and ParagraphList::iterator
6242 friends of Paragraph.
6244 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6246 * ParagraphList.C: Use the private next_ and previous_ from
6249 2003-04-01 John Levon <levon@movementarian.org>
6253 * Makefile.am: rename, remove defaults gunk
6256 * MenuBackend.C: remove defaults gunk
6259 * Languages.C: remove defaults gunk
6262 * lyx_main.C: error out if files couldn't be found.
6264 2003-04-02 John Levon <levon@movementarian.org>
6266 * text2.C: make incDepth() use parlist
6268 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6270 * undo_funcs.C (firstUndoParagraph): adjust
6272 * text3.C (gotoInset): adjust
6273 (dispatch): adjust, and rewrite loop.
6275 * text2.C (init): adjust, and rewrite loop.
6276 (redoParagraphs): adjust
6277 (updateInset): adjust, and rewrite loop.
6278 (deleteEmptyParagraphMechanism): adjust
6280 * tabular.C (LyXTabular): adjust
6281 (SetMultiColumn): adjust
6284 * lyxtext.[Ch] (ownerParagraph): delete function
6285 (ownerParagraphs): new function returns a ParagraphList.
6287 * BufferView.C (removeAutoInsets): adjust
6288 (insertErrors): adjust
6289 (setCursorFromRow): adjust
6291 2003-04-01 Angus Leeming <leeming@lyx.org>
6293 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6296 2003-04-02 John Levon <levon@movementarian.org>
6302 * text_funcs.C: make transposeChars a free function
6304 * lyxrow_funcs.C: remove wrong comment
6306 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6309 * rowpainter.C: adjust
6314 * lyxrow_funcs. [Ch]: new files
6316 * lyxrow.[Ch]: remove next and previous pointers
6317 (next,previous): remove accessor functions
6318 (isParEnd): move to lyxrow_funcs
6319 (lastPos): move to lyxrow_funcs
6320 (nextRowIsAllInset): move to lyxrow_funcs
6321 (lastPrintablePos): move to lyxrow_funcs
6322 (numberOfSeparators): move to lyxrow_funcs
6323 (numberOfHfills): move to lyxrow_funcs
6324 (numberOfLabelHfills): move to lyxrow_funcs
6325 (hfillExpansion): move to lyxrow_funcs
6329 * bufferview_funcs.C (toggleAndShow): adjust
6331 * RowList.h: Remove class RowList from file leave just a
6334 * RowList.C: delete file
6336 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6339 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6341 * text3.C (cursorPrevious): adjust
6342 (cursorNext): adjust
6345 * text2.C (redoHeightOfParagraph): adjust
6346 (redoDrawingOfParagraph): adjust
6349 * text.C (breakParagraph): adjust
6350 (insertChar): adjust
6353 * rowpainter.C (RowPainter): adjust
6354 (leftMargin): simplify and adjust
6355 (most rowpainter functions): adjust.
6357 * rowpainter.h: store the row as RowList::iterator not as Row*
6359 * lyxcursor.C (row): taka RowList::iterator as arg
6362 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6365 2003-04-01 Angus Leeming <leeming@lyx.org>
6367 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6368 stuff like bool Bool.
6370 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6372 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6375 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6377 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6380 * lyxtext.h (rows): drop one version and leve a const variant that
6381 returns a RowList::iterator.
6383 2003-03-31 Angus Leeming <leeming@lyx.org>
6385 * text.C (fill): ensure that the signature is the same as that in the
6388 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6390 * text2.C (redoParagraphs): adjust
6391 (updateCounters): adjust
6392 (checkParagraph): adjust
6393 (getColumnNearX): adjust and reformat a bit.
6395 * text.C (top_y): adjust
6397 (leftMargin): adjust
6398 (prepareToPrint): adjust
6400 (getRowNearY): adjust
6402 * lyxtext.h: make rowlist_ mutable.
6404 * RowList.h: add const_iterator
6405 * RowList.C: adjust for RowList::const_iterator.
6407 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6410 2003-03-31 John Levon <levon@movementarian.org>
6413 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6415 * lyx_main.C: set default fonts from using lyx_gui funcs
6417 * exporter.C: pdf_mode moved from lyxrc
6420 * lyxfunc.C: changes from above
6422 2003-03-31 John Levon <levon@movementarian.org>
6424 * lyx_main.C: fix to the last fix
6426 2003-03-31 John Levon <levon@movementarian.org>
6428 * bufferlist.C: "Load original" -> "Load Original"
6434 * format.C: more Alert cleanups
6436 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6438 * text2.C (removeParagraph): make it take a RowList::iterator as
6440 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6441 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6443 * text.C (anchor_row): make it take a RowList::iterator as arg,
6445 (computeBidiTables): make it take a const reference to Row instead
6446 of Row pointer, adjust.
6447 (leftMargin): make it take a RowList::iterator as arg, adjust.
6448 (rowBreakPoint): adjust
6449 (breakAgainOneRow): make it take a RowList::iterator as arg,
6451 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6453 * bufferview_funcs.C (toggleAndShow): adjust
6455 2003-03-30 John Levon <levon@movementarian.org>
6459 * boost-inst.C: moved to support
6461 * several files: changes as a result
6463 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6465 * text2.C (LyXText): adjust.
6467 (removeRow): make it take a RowList::iterator as arg, adjust.
6468 (fullRebreak): adjust
6469 (deleteEmptyParagraphMechanism): adjust
6470 (clearPaint): adjust
6473 * text.C (top_y): adjust
6474 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6475 (breakAgain): make it take a RowList::iterator as arg, adjust.
6476 (breakParagraph): adjust
6477 (insertChar): adjust
6480 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6481 need_break_row, and refresh_row.
6483 * text3.C (dispatch): adjust
6485 * text2.C (checkParagraph): adjust
6487 (setCursorFromCoordinates): adjust
6489 * text.C (top_y): adjust
6491 (getRow): make it return a RowList::iterator, adjust
6492 (getRowNearY): make it return a RowList::iterator, adjust
6494 * text2.C (init): adjust
6495 (insertRow): remove function
6496 (insertParagraph): adjust
6497 (redoParagraphs): adjust
6498 (fullRebreak): adjust
6499 (updateCounters): adjust
6501 * text.C (top_y): rewrite to use RowList iterators.
6503 (setHeightOfRow): rewrite to sue RowList iterators.
6504 (appendParagraph): adjust
6505 (breakAgain): adjust
6506 (breakAgainOneRow): adjust
6507 (breakParagraph): adjust
6509 (getRowNearY): adjust, and remove commented code.
6511 * lyxtext.h (firstRow): delete function
6512 (lastRow): delete function
6513 (rows): new function (const and non-const versions.)
6514 (insertRow): delete function
6516 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6518 2003-03-29 John Levon <levon@movementarian.org>
6520 * BufferView_pimpl.C: always update scrollbar top
6521 because pasting text when we're anchored could mean we
6522 miss an update altogether
6524 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6526 * text2.C (init): use rowlist_.end() and not 0.
6527 (insertRow): change to take a RowList::iterator as arg, adjust
6529 (insertParagraph): change to take a RowList::iterator as arg,
6531 (redoParagraphs): remove some debug msgs.
6533 * text.C (appendParagraph): change to take a RowList::iterator
6534 arg, adjust for this.
6535 (breakAgain): add an assert
6536 (breakAgainOneRow): ditto
6538 2003-03-29 John Levon <levon@movementarian.org>
6540 * text2.C: do not clear selection after inc/decDepth
6543 2003-03-29 John Levon <levon@movementarian.org>
6546 * buffer.C: fix broken strerrors according to Lars
6548 2003-03-29 John Levon <levon@movementarian.org>
6550 * converters.C: more Alert cleanups
6552 2003-03-29 John Levon <levon@movementarian.org>
6554 * bufferview_funcs.C: remove pointless Alert
6556 * buffer.C: fix confusing error message when
6557 a template is chmoded 000
6559 2003-03-29 John Levon <levon@movementarian.org>
6563 * BufferView_pimpl.C: Alert fixes
6567 * tabular-old.C: remove unused table compat reading
6569 2003-03-29 John Levon <levon@movementarian.org>
6574 * lyx_cb.C: more Alert cleanups
6576 * lyxfunc.C: don't allow chktex if not latex document
6578 2003-03-29 John Levon <levon@movementarian.org>
6582 * buffer.C: warnings pushed down from support/,
6585 2003-03-29 John Levon <levon@movementarian.org>
6587 * lyxfunc.C: safety check for C-r (revert)
6589 2003-03-29 John Levon <levon@movementarian.org>
6592 * bufferlist.C: several UI fixes using Alert::prompt.
6593 Fix the pointless looping quit code. Fix stupid revert
6598 * lyx_cb.C: use Alert::prompt
6600 * lyx_main.C: remove a silly question
6602 * lyxfunc.C: remove a couple of silly questions,
6605 2003-03-28 John Levon <levon@movementarian.org>
6607 * text2.C: fix bug 974 (End on empty par)
6609 2003-03-28 John Levon <levon@movementarian.org>
6611 * BufferView_pimpl.C:
6613 * lfuns.h: remove do-nothing math greek lfuns
6615 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6617 * lyxgluelength.h (isValidGlueLength): add default arg on
6618 parameter 2. Remove default arg from friend in class.
6620 * lyxlength.h (isValidLength): add default arg on parameter 2.
6621 Remove default arg from friend in class.
6623 * text2.C (LyXText): adjust, initialize refresh_row.
6627 (insertParagraph): adjst
6628 (redoParagraphs): adjust
6629 (fullRebreak): adjust
6630 (updateCounters): adjust
6631 (deleteEmptyParagraphMechanism): first attempt at fixing a
6634 * text.C (top_y): adjust
6635 (setHeightOfRow): adjust
6637 (getRowNearY): adjust
6639 * lyxtext.h: include RowList.h
6640 (~LyXText): not needed anymore, deleted.
6641 (firstRow): modify for RowList
6642 (lastRow): new function
6643 Delete firstrow and lastrow class variables, add a Rowlist
6644 rowlist_ class variable.
6646 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6649 * RowList.C (insert): fix case where it == begin().
6651 2003-03-26 Angus Leeming <leeming@lyx.org>
6653 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6654 the thesaurus dialog.
6656 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6658 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6660 * RowList.[Ch]: new files
6662 * ParagraphList.C (erase): handle the case where it == begin
6665 2003-03-25 John Levon <levon@movementarian.org>
6669 * aspell.C: add new aspell support
6672 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6675 2003-03-25 Angus Leeming <leeming@lyx.org>
6678 * LyXAction.C (init): new LFUN_INSET_INSERT.
6680 * BufferView_pimpl.C (dispatch): split out part of the
6681 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6683 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6686 2003-03-25 Angus Leeming <leeming@lyx.org>
6688 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6690 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6693 * text3.C: remove useless row->height(0)
6695 2003-03-25 John Levon <levon@movementarian.org>
6699 * text3.C: rename the refreshing stuff to better names
6701 2003-03-24 John Levon <levon@movementarian.org>
6703 * BufferView_pimpl.h:
6704 * BufferView_pimpl.C: update layout choice on a mouse
6707 2003-03-23 John Levon <levon@movementarian.org>
6709 * Makefile.am: fix commandtags.h reference
6711 2003-03-22 John Levon <levon@movementarian.org>
6713 * BufferView_pimpl.C:
6718 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6720 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6723 * text.C: take the rtl methods out of line
6725 2003-03-21 André Pönitz <poenitz@gmx.net>
6727 * metricsinfo.[Ch]: new files containing structures to be passed around
6728 during the two-phase-drawing...
6730 2003-03-21 André Pönitz <poenitz@gmx.net>
6732 * lyxtextclass.C: read 'environment' tag.
6734 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6736 * text2.C (removeRow): fix bug 964
6738 2003-03-20 John Levon <levon@movementarian.org>
6742 * text2.C: paint cleanups. Inset::update() dropped font
6745 2003-03-19 John Levon <levon@movementarian.org>
6747 * lyxfunc.C: only fitcursor/markDirty if available()
6749 2003-03-19 John Levon <levon@movementarian.org>
6751 * commandtags.h: rename to ...
6753 * lfuns.h: ... this, and renumber / cleanup
6755 2003-03-19 John Levon <levon@movementarian.org>
6757 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6758 fit the cursor after an lfun
6762 * BufferView_pimpl.h:
6763 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6765 * LyXAction.C: layout-character should have ReadOnly
6767 * ParagraphParameters.C:
6769 * bufferview_funcs.C:
6776 * undo_funcs.C: changes from above
6778 2003-03-18 John Levon <levon@movementarian.org>
6780 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6781 remove it from update()
6783 * lyxfunc.C: update layout choice after an lfun
6785 * text3.C: remove extra updateLayoutChoice()s
6787 2003-03-18 John Levon <levon@movementarian.org>
6789 * text.C: top_y change means full repaint, fix
6790 a drawing bug with cursor movement
6792 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6796 * text2.C: anchor row on setCursor
6798 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6800 * lyxtext.h: remove almost all mutable keywords
6803 * text3.C: remove const keywords accordingly
6805 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6807 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6809 (TeXEnvironment): ditto
6812 2003-03-17 John Levon <levon@movementarian.org>
6814 * text.C (rowBreakPoint): remove attempt to fix displayed
6815 math insets inside a manual label
6817 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6819 * lyxtext.h: remove BufferView* as first arg from almost all class
6821 * other files: adjust.
6823 2003-03-17 John Levon <levon@movementarian.org>
6827 * text2.C: more paint cleanups
6829 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6832 * rowpainter.C: remove "smart" background painting code
6834 2003-03-16 John Levon <levon@movementarian.org>
6839 * text3.C: add helper functions for setting refresh_row/y
6841 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6843 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6844 newline inset which *can* get inserted in the pass_thru layouts.
6845 This is primarily for literate documents.
6847 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6849 * buffer.C: increment LYX_FORMAT to 223
6851 2003-03-14 André Pönitz <poenitz@gmx.net>
6853 * textclass.h: prepare for environment handling, ws changes
6854 * lyxlayout.C: read latexheader and latexfooter tags
6856 2003-03-14 John Levon <levon@movementarian.org>
6858 * text2.C: rewrite ::status() a bit
6860 2003-03-13 John Levon <levon@movementarian.org>
6862 * lyxtext.h: add some docs
6864 2003-03-13 John Levon <levon@movementarian.org>
6869 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6871 2003-03-13 John Levon <levon@movementarian.org>
6873 * text3.C: fix appendix redrawing
6875 2003-03-13 John Levon <levon@movementarian.org>
6877 * text.C (setHeightOfRow):
6879 * rowpainter.C: make appendix mark have the text
6880 "Appendix" so the user knows what it is
6883 * LColor.C: s/appendixline/appendix/ from above
6885 2003-03-13 John Levon <levon@movementarian.org>
6887 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6889 * text.C: fix a getChar(pos) bug properly
6891 2003-03-13 Angus Leeming <leeming@lyx.org>
6894 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6895 Probably only temporary. Let's see how things pan out.
6897 * BufferView.C (unlockInset):
6898 * BufferView_pimpl.C (fitCursor):
6899 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6901 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6902 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6904 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6905 new functions that convert ParagraphParameters to and from a string.
6907 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6908 BufferView::Pimpl's dispatch.
6909 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6911 2003-03-13 André Pönitz <poenitz@gmx.net>
6915 * factory.C: make it aware of InsetEnv
6917 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6919 * text2.C (setCursor): never ask for one past last
6920 (setCursor): add some debugging messages.
6922 * text.C (singleWidth): never ask for one past last
6923 (singleWidth): ditto
6925 (rightMargin): ditto
6926 (rowBreakPoint): ditto
6927 (setHeightOfRow): ditto
6928 (prepareToPrint): ditto
6930 * rowpainter.C (paintBackground): never ask for one past last
6931 (paintText): never ask for one past last
6933 * paragraph_pimpl.C (getChar): make the assert stricter, never
6934 allow the one past last pos to be taken
6936 * paragraph.C (getChar): ws changes only
6938 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6939 (numberOfSeparators): ditto
6940 (numberOfHfills): ditto
6942 2003-03-12 John Levon <levon@movementarian.org>
6948 * paragraph_funcs.C: fix per-buffer authorlists
6950 2003-03-12 John Levon <levon@movementarian.org>
6952 * text.C: fix newline in right address
6954 2003-03-12 Angus Leeming <leeming@lyx.org>
6956 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6957 duplicate those in LyXFunc::dispatch.
6961 * ToolbarDefaults.C:
6962 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6963 Add LFUN_FONTFREE_UPDATE.
6965 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6966 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6968 * bufferview_func.[Ch]: several new functions to facilliate
6969 transfer of data to and from the character dialog.
6971 2003-03-12 John Levon <levon@movementarian.org>
6976 * paragraph_funcs.C:
6977 * paragraph_pimpl.C:
6981 * text3.C: remove META_NEWLINE in favour of an inset
6984 * rowpainter.C: remove paintNewline (done by inset)
6986 2003-03-12 John Levon <levon@movementarian.org>
6988 * paragraph_pimpl.C: complain about bad getChar()s
6989 for a while at least
6991 2003-03-12 John Levon <levon@movementarian.org>
6994 * buffer.C: move paragraph read into a separate function,
6995 a little renaming to reflect that.
6998 * bufferparams.C: remove the author_ids map, not necessary now
7001 * factory.C: moved Buffer::readInset to here
7003 * paragraph_funcs.h:
7004 * paragraph_funcs.C: readParagraph free function moved from
7007 * tabular.C: name change
7009 2003-03-12 John Levon <levon@movementarian.org>
7012 * ParagraphParameters.C: move par params input to
7015 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7016 behave like a normal read from the stream wrt reading
7017 a line vs. a \\token
7019 2003-03-12 John Levon <levon@movementarian.org>
7022 * ParagraphParameters.h:
7023 * ParagraphParameters.C: move output code to a
7026 2003-03-12 John Levon <levon@movementarian.org>
7028 * BufferView.C (insertLyXFile):
7031 * tabular.C: use a parlist iterator for creating the
7034 2003-03-12 John Levon <levon@movementarian.org>
7036 * buffer.C: make current_change static local not
7039 2003-03-12 John Levon <levon@movementarian.org>
7041 * buffer.C: fix insertStringAsLines for change tracking
7043 2003-03-12 John Levon <levon@movementarian.org>
7050 * bufferparams.C: move author list into params. Rename some
7051 functions. Move the header reading into a separate token
7052 loop. Move the header token reading into BufferParams.
7054 2003-03-12 John Levon <levon@movementarian.org>
7056 * changes.C: put debug inside lyxerr.debugging() checks
7058 2003-03-11 André Pönitz <poenitz@gmx.net>
7060 * factory.C: make it aware of InsetHFill
7062 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7064 * buffer.C (latexParagraphs): move function from here...
7065 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7068 2003-03-10 Angus Leeming <leeming@lyx.org>
7070 * LyXAction.C (init): fix bug in poplating array with multiple entries
7071 with the same LFUN (spotted by JMarc).
7073 2003-03-10 John Levon <levon@movementarian.org>
7076 * text2.C: move getColumnNearX() near its
7079 2003-03-10 John Levon <levon@movementarian.org>
7081 * text.C: fix break before a minipage
7083 2003-03-10 John Levon <levon@movementarian.org>
7085 * text.C: fix the last commit
7087 2003-03-09 John Levon <levon@movementarian.org>
7091 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7092 bug 365 (don't break before insets unless needed). Don't
7093 return a value > last under any circumstances.
7095 2003-03-09 Angus Leeming <leeming@lyx.org>
7097 * BufferView_pimpl.C (trackChanges, dispatch): call
7098 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7100 2003-03-09 Angus Leeming <leeming@lyx.org>
7102 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7103 than Dialogs::showAboutlyx().
7105 2003-03-09 Angus Leeming <leeming@lyx.org>
7107 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7108 than Dialogs::showTabularCreate().
7110 2003-03-09 John Levon <levon@movementarian.org>
7114 * text2.C: 3rd arg to nextBreakPoint was always the same.
7117 2003-03-08 John Levon <levon@movementarian.org>
7124 * text2.C: Remove the "main" bit from the "main body"
7127 2003-03-08 John Levon <levon@movementarian.org>
7129 * text.C (leftMargin): The left margin of an empty
7130 manual label paragraph should not include the label width
7133 * text.C (prepareToPrint): don't attempt to measure hfills
7134 for empty manual label paragraphs - the answer should be 0
7136 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7138 * CutAndPaste.C: remove commented code and reindent.
7140 2003-03-08 John Levon <levon@movementarian.org>
7143 * lyxfunc.C: move reloadBuffer()
7146 * BufferView.C: to here
7148 * lyxvc.C: add comment
7151 * vc-backend.C: call bv->reload() to avoid
7152 getStatus() check on MENURELOAD
7154 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7156 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7157 to an old format .dep file.
7159 2003-03-07 Angus Leeming <leeming@lyx.org>
7161 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7162 when the LFUN_MOUSE_RELEASE should have been handled by
7163 inset->localDispatch.
7165 2003-03-07 Angus Leeming <leeming@lyx.org>
7167 * BufferView_pimpl.C (dispatch):
7168 * LyXAction.C (init):
7169 * ToolbarDefaults.C (init):
7171 * lyxfunc.C (getStatus):
7172 remove LFUN_INSET_GRAPHICS.
7174 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7176 2003-03-07 Angus Leeming <leeming@lyx.org>
7179 * LyXAction.C (init):
7180 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7182 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7185 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7187 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7188 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7190 2003-03-07 Angus Leeming <leeming@lyx.org>
7192 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7195 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7197 * ParagraphList.C (front): new function
7200 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7202 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7203 and top_row_offset_. removed var first_y.
7205 * text2.C (LyXText, removeRow):
7207 * BufferView_pimpl.C:
7208 use these methods instead of using first_y
7210 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7212 * text2.C (pasteSelection): adjust for checkPastePossible
7214 * CutAndPaste.C: remove Paragraph * buf and replace with
7215 ParagraphList paragraphs.
7216 (DeleteBuffer): delete
7217 (cutSelection): change the tc type to textclass_type
7218 (copySelection): change the tc type to textclass_type
7219 (copySelection): adjust for ParagraphList
7220 (pasteSelection): change the tc type to textclass_type
7221 (pasteSelection): adjust for Paragraphlist
7222 (nrOfParagraphs): simplify for ParagraphList
7223 (checkPastePossible): simplify for ParagraphList
7224 (checkPastePossible): remove unused arg
7226 * ParagraphList.C (insert): handle the case where there are no
7229 * CutAndPaste.h: make CutAndPaste a namespace.
7231 * text3.C (dispatch): adjust
7233 * text.C (breakParagraph): add a ParagraphList as arg
7235 * paragraph_funcs.C (breakParagraph): change to take a
7236 BufferParams and a ParagraphList as args.
7237 (breakParagraphConservative): ditto
7238 (mergeParagraph): ditto
7239 (TeXDeeper): add a ParagraphList arg
7240 (TeXEnvironment): ditto
7243 * buffer.C (readLyXformat2): adjust
7244 (insertStringAsLines): adjust
7245 (latexParagraphs): adjust
7247 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7248 (cutSelection): adjust
7249 (pasteSelection): adjust
7251 * BufferView_pimpl.C (insertInset): adjust
7253 2003-03-05 Angus Leeming <leeming@lyx.org>
7256 * LyXAction.C (init):
7257 * BufferView_pimpl.C (dispatch):
7258 * lyxfunc.C (getStatus):
7259 remove LFUN_CHILD_INSERT.
7261 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7263 2003-03-05 Angus Leeming <leeming@lyx.org>
7266 * LyXAction.C (init):
7267 * src/factory.C (createInset):
7268 * lyxfunc.C (getStatus):
7269 * text3.C (dispatch):
7270 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7272 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7274 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7276 * ParagraphList.C (insert): handle insert right before end()
7277 (erase): fix cases where it can be first or last paragraph.
7279 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7281 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7282 Paragraph::next and Paragraph::previous
7285 * text.C (breakParagraph): adjust
7287 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7288 BufferParams& as arg.
7289 (breakParagraph): use ParagraphList::insert
7290 (breakParagraphConservative): take a Buffer* instead of a
7291 BufferParams& as arg.
7292 (breakParagraphConservative): use ParagraphList::insert.
7294 * buffer.C (insertStringAsLines): un-const it
7295 (insertStringAsLines): adjust
7297 * ParagraphList.C (insert): new function
7299 * CutAndPaste.C (pasteSelection): adjust
7301 * text.C (backspace): adjust
7303 * tabular.C (SetMultiColumn): adjust
7305 * CutAndPaste.C (cutSelection): adjust
7306 (pasteSelection): adjust
7308 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7309 Buffer const * as arg
7311 * ParagraphList.C (erase): new function
7312 * paragraph_funcs.C (mergeParagraph): use it
7313 (mergeParagraph): make it take a Buffer* instead of a
7314 BufferParams* as arg
7316 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7318 (breakParagraphConservative): ditto
7320 * paragraph.h: remove the breakParagraph friend
7322 * paragraph.C (eraseIntern): new function
7323 (setChange): new function
7325 * paragraph_funcs.C (mergeParagraph): make it take a
7326 ParagraphList::iterator instead of a Paragraph *, adjust
7329 * paragraph.h: move an #endif so that the change tracking stuff
7330 also works in the NO_NEXT case.
7332 2003-03-04 Angus Leeming <leeming@lyx.org>
7335 * LyXAction.C: new LFUN_INSET_MODIFY.
7337 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7338 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7340 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7342 * several files: ws changes only
7344 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7345 (TeXEnvironment): ditto
7348 * buffer.C (makeLaTeXFile): adjust
7349 (latexParagraphs): make it take ParagraphList::iterator as args
7351 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7353 * buffer.C (latexParagraphs): adjust
7355 * paragraph.C (TeXOnePar): move function...
7356 (optArgInset): move function...
7357 (TeXEnvironment): move function...
7358 * paragraph_pimpl.C (TeXDeeper): move function...
7359 * paragraph_funcs.C: ...here
7361 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7363 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7365 * buffer.C (readInset): remove compability code for old Figure and
7368 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7370 * buffer.C: ws changes
7373 * BufferView_pimpl.C: ditto
7376 * bufferlist.h: ditto
7380 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7382 * converter.[Ch]: split into itself +
7385 * Makefile.am: += graph.[Ch] + format.[Ch]
7392 * lyxrc.C: added #include "format.h"
7394 2003-02-27 Angus Leeming <leeming@lyx.org>
7396 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7399 * factory.C (createInset): add "label" to the factory.
7401 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7402 string and do no more.
7404 2003-02-27 Angus Leeming <leeming@lyx.org>
7407 * LyXAction.C (init):
7408 * factory.C (createInset):
7409 * BufferView_pimpl.C (dispatch):
7410 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7412 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7414 * lyxfunc.C (dispatch):
7415 * text3.C (dispatch): pass name to params2string.
7417 2003-02-26 Angus Leeming <leeming@lyx.org>
7419 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7421 Rearrange the ~includes. Strip out the unnecessary ones.
7423 * factory.C (createInset): reformat.
7424 create new insets for the various LFUN_XYZ_APPLY lfuns.
7426 2003-02-26 John Levon <levon@movementarian.org>
7429 * lyxrow.C: add isParStart,isParEnd helpers
7431 * paragraph.h: make isInserted/DeletedText take refs
7433 * paragraph_funcs.h:
7434 * paragraph_funcs.C: remove #if 0'd code
7439 * text.C: use lyxrow helpers above.
7440 Move draw and paint routines to RowPainter.
7441 Make several methods use refs not pointers.
7442 Make backgroundColor() const.
7443 Add markChangeInDraw(), isInInset().
7444 Merge changeRegionCase into changeCase.
7445 Make workWidth() shouldn't-happen code into an Assert.
7448 * rowpainter.C: new class for painting a row.
7451 * vspace.C: make inPixels take a ref
7453 2003-02-26 Angus Leeming <leeming@lyx.org>
7455 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7458 2003-02-25 John Levon <levon@movementarian.org>
7460 * ispell.C: give the forked command a more accurate name
7462 2003-02-22 John Levon <levon@movementarian.org>
7465 * toc.C: make TocItem store an id not a Paragraph *
7468 2003-02-21 Angus Leeming <leeming@lyx.org>
7470 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7471 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7472 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7473 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7474 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7475 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7477 * BufferView_pimpl.C (dispatch):
7478 * LyXAction.C (init):
7479 * factory.C (createInset):
7480 * lyxfunc.C (getStatus, dispatch):
7481 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7483 2003-02-21 Angus Leeming <leeming@lyx.org>
7485 * BufferView_pimpl.C (MenuInsertLyXFile):
7486 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7487 * lyxfunc.C (menuNew, open, doImport):
7488 no longer pass a LyXView & to fileDlg.
7490 2003-02-21 Angus Leeming <leeming@lyx.org>
7492 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7493 * LyXAction.C: change, BIBKEY to BIBITEM.
7494 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7495 Change InsetBibKey to InsetBibitem.
7496 Change BIBKEY_CODE to BIBITEM_CODE.
7497 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7498 * factory.C: replace insetbib.h with insetbibitem.h.
7499 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7500 * paragraph.C: replace insetbib.h with insetbibitem.h.
7501 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7502 Change bibkey() to bibitem().
7503 * text.C: remove insetbib.h.
7504 * text2.C: replace insetbib.h with insetbibitem.h.
7505 change bibkey() to bibitem().
7506 * text3.C: remove insetbib.h.
7507 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7509 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7511 * lyxrc.C (output): enclose user email in quotes (in case there are
7514 2003-02-18 John Levon <levon@movementarian.org>
7516 * buffer.h: add std::
7518 2003-02-17 John Levon <levon@movementarian.org>
7524 * pspell.C: reworking. Especially in ispell, a large
7525 number of clean ups and bug fixes.
7527 * lyxfunc.C: fix revert to behave sensibly
7529 2003-02-17 André Pönitz <poenitz@gmx.net>
7532 * commandtags.h: new LFUN_INSERT_BIBKEY
7542 * paragraph_func.C: remove special bibkey handling
7544 2003-02-17 John Levon <levon@movementarian.org>
7546 * text.C (Delete): fix case where delete at the end of
7547 the very first paragraph would not merge the pars
7549 2003-02-17 John Levon <levon@movementarian.org>
7551 * lyxrow.C: fix lastPrintablePos()
7553 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7555 * bufferparams.C (writeLaTeX): add a std:here
7557 * buffer.C: and remove a using directive there
7559 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7561 * buffer.C (makeLaTeXFile): move the code that generates the
7564 * bufferparams.C (writeLaTeX): ... in this new method
7566 * LaTeXFeatures.C (getEncodingSet): make const
7567 (getLanguages): make const
7569 * MenuBackend.C (binding): returns the binding associated to this
7571 (add): sets the status of each item by calling getStatus. Adds
7573 (read): add support for OptSubMenu
7574 (expand): remove extra separator at the end of expanded menu
7576 2003-02-15 John Levon <levon@movementarian.org>
7579 * BufferView_pimpl.C:
7581 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7582 inset code that had no actual effect. Remove unneeded status
7585 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7587 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7590 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7592 * text.C (drawLengthMarker): also draw an arrow marker for
7593 symbolic lengths (medskip...)
7595 2003-02-14 John Levon <levon@movementarian.org>
7598 * tabular.C: better method names
7600 2003-02-14 John Levon <levon@movementarian.org>
7602 * BufferView_pimpl.C:
7607 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7608 it's a more accurate name. Remove some pointless uses.
7610 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7612 * text2.C (LyXText): change order of initilizers to shut off
7615 2003-02-14 John Levon <levon@movementarian.org>
7617 * buffer.C: use ParIterator for getParFromID()
7621 * paragraph_pimpl.h:
7622 * paragraph_pimpl.C: remove unused getParFromID()
7624 2003-02-14 John Levon <levon@movementarian.org>
7626 * buffer.C: remove some very old #if 0'd parse code
7628 2003-02-13 John Levon <levon@movementarian.org>
7632 * text2.C: move hfillExpansion(), numberOfSeparators(),
7633 rowLast(), rowLastPrintable(), numberofHfills(),
7634 numberOfLabelHfills() ...
7637 * lyxrow.C: ... to member functions here.
7642 * text.C: remove LyXText::beginningOfMainBody(), and call
7643 p->beginningOfMainBody() directly. Move the check for
7644 LABEL_MANUAL into the latter.
7651 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7657 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7658 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7660 2003-02-13 John Levon <levon@movementarian.org>
7662 * CutAndPaste.C: remove debug
7664 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7666 * paragraph.C (asString): remove two unused variables
7668 * lyxtextclass.C (readTitleType):
7670 (LyXTextClass): handle new members titletype_ and titlename_
7672 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7674 2003-02-09 John Levon <levon@movementarian.org>
7677 * buffer.C: replace hand-coded list with a map for the dep clean
7679 2003-02-08 John Levon <levon@movementarian.org>
7681 * LaTeX.C: consolidate code into showRunMessage() helper
7683 2003-02-08 John Levon <levon@movementarian.org>
7688 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7689 and pass the size in explicitly
7691 * BufferView_pimpl.h:
7692 * BufferView_pimpl.C:
7694 * BufferView.C: add getCurrentChange()
7696 * BufferView_pimpl.h:
7697 * BufferView_pimpl.C: handle change lfuns
7699 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7700 for changes. Mark pasted paragraphs as new.
7702 * support/lyxtime.h:
7703 * support/lyxtime.C:
7704 * DepTable.C: abstract time_t as lyx::time_type
7707 * LColor.C: add colours for new text, deleted text, changebars
7709 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7710 package use "usenames" option.
7714 * LyXAction.C: add change lfuns
7718 * author.C: author handling
7721 * buffer.C: add a per-buffer author list, with first entry as
7722 current author. Handle new .lyx tokens for change tracking. Output
7723 author list to .lyx file. Output dvipost stuff to .tex preamble.
7724 Bump lyx format to 222.
7727 * bufferlist.C: add setCurrentAuthor() to reset current author details
7731 * bufferparams.C: add param for tracking
7733 * bufferview_funcs.C: output change info in minibuffer
7737 * changes.C: add change-tracking structure
7740 * debug.C: add CHANGES debug flag
7743 * lyxfind.C: add code for finding the next change piece
7746 * lyxrc.C: add user_name and user_email
7749 * lyxrow.C: add a metric for the top of the text line
7752 * text.C: implement accept/rejectChange()
7755 * text.C: paint changebars. Paint new/deleted text in the chosen
7756 colours. Strike through deleted text.
7760 * paragraph_pimpl.h:
7761 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7762 in the current change to the insert functions. Rework erase to
7763 mark text as deleted, adding an eraseIntern() and a range-based
7764 erase(). Implement per-paragraph change lookup and
7767 * paragraph_funcs.C: Fixup paste for change tracking.
7769 * tabular.C: mark added row/columns as new.
7771 * text.C: fix rowLast() to never return -1. Don't allow
7772 spellchecking of deleted text. Track transpose changes. Don't
7773 allow paragraph break or merge where appropriate.
7775 * text2.C: leave cursor at end of selection after a cut.
7777 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7779 * text.C (getLengthMarkerHeight):
7780 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7781 visible on screen too.
7783 2003-02-07 John Levon <levon@movementarian.org>
7785 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7787 2003-02-05 Angus Leeming <leeming@lyx.org>
7789 * lyxserver.C (read_ready): revert my patch of 11 September last year
7790 as it sends PC cpu through the roof. Presumably this means that
7791 the lyxserver will no longer run on an Alpha...
7793 2003-01-30 Angus Leeming <leeming@lyx.org>
7795 * factory.C (createInset): create an InsetCommandParam of type "index"
7796 and use it to 'do the right thing'.
7798 * text2.C (getStringToIndex): ensure that cursor position is always
7799 reset to the reset_cursor position.
7801 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7803 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7806 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7810 * lyxfunc.C: Output messages with identical spelling, punctuation,
7813 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7815 * MenuBackend.C (expandFormats): List only viewable export formats
7818 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7821 * lyxfunc.C (getStatus): Make sure that formats other than
7822 "fax" can also be disabled
7824 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7826 * text3.C (dispatch): put the lfuns that insert insets in 3
7827 groups, and call doInsertInset with appropriate arguments.
7828 (doInsertInset): new function, that creates an inset and inserts
7829 it according to some boolean parameters.
7831 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7833 * buffer.C (readFile): remember to pass on 'par' when calling
7834 readFile recursively.
7836 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7838 * MenuBackend.C (expandFormats): add "..." to import formats.
7840 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7842 * paragraph.C (asString): Remove XForms RTL hacks.
7844 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7845 * buffer.C: fix typo
7847 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7849 * Makefile.am (LIBS): delete var
7850 (lyx_LDADD): add @LIBS@ here instead.
7852 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7854 * Clarify the meaning of "wheel mouse jump"
7856 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7858 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7861 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7863 * importer.C (Loaders): do not preallocate 3 elements in the
7864 vector, since one ends up with 6 elements otherwise
7866 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7868 * DepTable.C (write): write the file name as last element of the
7869 .dep file (because it may contain spaces)
7870 (read): read info in the right order
7872 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7874 * paragraph_pimpl.C (simpleTeXBlanks):
7875 (simpleTeXSpecialChars):
7876 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7878 * tabular.C (latex): add some missing case statements. Reindent.
7880 * MenuBackend.C (expandToc): remove unused variable.
7882 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7891 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7894 2003-01-05 John Levon <levon@movementarian.org>
7897 * BufferView.C: add getEncoding()
7900 * kbsequence.C: do not store last keypress
7903 * lyxfunc.C: store last keypress here instead. Pass encoding
7906 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7908 * lyx_main.C (init): remove annoying error message when following
7909 symbolic links (bug #780)
7911 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7913 * text.C (insertChar):
7914 * lyxrc.C (getDescription): remove extra spaces
7916 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7918 * lyxrc.C (getDescription): remove extra spaces
7920 2002-12-20 John Levon <levon@movementarian.org>
7922 * text3.C: hack fix for page up/down across tall rows
7924 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7926 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7929 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7931 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7932 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7933 thesaurus is not compiled in
7935 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7937 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7939 2002-12-16 Angus Leeming <leeming@lyx.org>
7942 * lyx_main.C (init): remove override_x_deadkeys stuff.
7944 2002-12-12 John Levon <levon@movementarian.org>
7946 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7947 insert. Only remove shift modifier under strict
7950 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7952 * MenuBackend.C (expandToc): fix crash.
7954 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7956 * MenuBackend.C (expandToc): gettext on float names.
7958 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7960 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7961 implement bool empty() [bug 490]
7963 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7965 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7967 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7969 * several files: ws changes
7971 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7973 * text2.C (setCounter): clean up a bit, use boost.format.
7974 (updateCounters): initialize par upon declaration.
7976 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7977 if the layout exists. We do not just store the layout any more.
7978 (SwitchLayoutsBetweenClasses): use boost.format
7980 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7982 * converter.C (convert): if from and to files are the same, use a
7983 temporary files as intermediary
7985 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7988 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7990 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7992 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7994 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7996 * tabular.C (asciiPrintCell): use string(size, char) instead of
7999 * sgml.C (openTag): fix order of arguments to string constructor
8002 * lyxfunc.C (dispatch): use boost.format
8004 * lots of files: change "c" -> 'c'
8006 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8008 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8010 2002-11-25 Angus Leeming <leeming@lyx.org>
8012 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8014 * lyx_main.C (init): compile fix.
8016 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8018 * lyx_cb.C (start): boost.formatify
8019 do not include <iostream>
8021 * lengthcommon.C: ws only
8023 * boost-inst.C,BoostFormat.h: add more explict instantations
8025 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8027 * lots of files: handle USE_BOOST_FORMAT
8029 2002-11-21 John Levon <levon@movementarian.org>
8031 * pspell.C: fix compile
8033 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8035 * lyxfunc.C (dispatch): use boost::format
8039 * lyxfont.C (stateText): use boost::format
8041 * lyx_main.C (LyX): use boost::format
8043 (queryUserLyXDir): ditto
8046 (typedef boost::function): use the recommened syntax.
8048 * importer.C (Import): use boost::format
8050 * debug.C (showLevel): use boost::format
8052 * converter.C (view): use boost::format
8057 * bufferview_funcs.C (currentState): use boost::format
8059 * bufferlist.C (emergencyWrite): use boost::format
8061 * buffer.C (readLyXformat2): use boost::format
8062 (parseSingleLyXformat2Token): ditto
8064 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8066 * LaTeX.C (run): use boost::format
8068 * Chktex.C (scanLogFile): use boost::format
8070 * BufferView_pimpl.C (savePosition): use boost::format
8071 (restorePosition): ditto
8072 (MenuInsertLyXFile): ditto
8074 * BoostFormat.h: help file for explicit instation.
8076 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8078 * tabular.C (latex): Support for block alignment in fixed width
8081 2002-11-17 John Levon <levon@movementarian.org>
8083 * BufferView_pimpl.C:
8085 * lyxfunc.C: split filedialog into open/save
8087 2002-11-08 Juergen Vigna <jug@sad.it>
8089 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8090 by my last patch (hopefully).
8092 2002-11-08 John Levon <levon@movementarian.org>
8101 * toc.C: ParConstIterator, and use it (from Lars)
8103 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8105 * lyxtextclass.[Ch]: revise and add doxygen comments
8107 2002-11-07 John Levon <levon@movementarian.org>
8109 * text.C: fix progress value for spellchecker
8111 * toc.C: fix navigate menu for insetwrap inside minipage
8113 * paragraph_funcs.C: added FIXME for suspect code
8115 2002-11-07 John Levon <levon@movementarian.org>
8117 * BufferView_pimpl.C: fix redrawing of insets
8120 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8122 * text2.C (updateCounters): fix bug 668
8124 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8126 * text3.C (dispatch): Do not make the buffer dirty when moving the
8129 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8131 * vc-backend.C: STRCONV
8134 * text2.C (setCounter): STRCONV
8136 * paragraph.C (asString): STRCONV
8138 * lyxlength.C (asString): STRCONV
8139 (asLatexString): ditto
8141 * lyxgluelength.C (asString): STRCONV
8142 (asLatexString): ditto
8144 * lyxfunc.C (dispatch): STRCONV
8147 * lyxfont.C (stateText): STRCONV
8149 * importer.C (Import): STRCONV
8151 * counters.C (labelItem): STRCONV
8152 (numberLabel): ditto
8153 (numberLabel): remove unused ostringstream o
8158 * bufferview_funcs.C (currentState): STRCONV
8160 * buffer.C (readFile): STRCONV
8161 (asciiParagraph): ditto
8162 (makeLaTeXFile): ditto
8164 * Spacing.C (writeEnvirBegin): STRCONV
8166 * LaTeXFeatures.C (getLanguages): STRCONV
8167 (getPackages): ditto
8169 (getBabelOptions): ditto
8170 (getTClassPreamble): ditto
8171 (getLyXSGMLEntities): ditto
8172 (getIncludedFiles): ditto
8176 (scanAuxFile): ditto
8179 * LString.h: add the STRCONV macros
8181 * BufferView_pimpl.C (savePosition): STRCONV
8182 (restorePosition): ditto
8183 (MenuInsertLyXFile): ditto
8185 * vc-backend.C (scanMaster): change from submatch[...] to
8188 * funcrequest.C: include config.h
8190 * factory.C: include config.h
8192 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8194 * box.C: include config.h
8196 * LaTeX.C (scanAuxFile): change from submatch[...] to
8200 2002-10-25 Angus Leeming <leeming@lyx.org>
8202 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8204 * ispell.[Ch] (setError): new method.
8205 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8206 Use setError() insetead of goto END.
8208 * lyx_cb.C (AutoSave): move out child process into new class
8211 2002-10-30 John Levon <levon@movementarian.org>
8213 * text3.C: make start appendix undoable
8215 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8217 * lyxlength.C (inPixels): Fix returned value.
8219 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8222 2002-10-24 Angus Leeming <leeming@lyx.org>
8224 * lyxgluelength.h: no need to forward declare BufferParams
8225 or BufferView, so don't.
8227 2002-10-21 John Levon <levon@movementarian.org>
8229 * BufferView.C: menuUndo ->undo, redo
8231 * BufferView.h: document, remove dead, make some methods private
8233 * paragraph_funcs.h:
8234 * paragraph_funcs.C:
8235 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8240 * sgml.C: move sgml open/close tag into sgml.C
8242 * bufferview_funcs.h: unused prototype
8245 * lyxfunc.C: remove unused
8248 * text.C: remove unused
8250 2002-10-21 John Levon <levon@movementarian.org>
8254 * BufferView_pimpl.h:
8255 * BufferView_pimpl.C: fix mouse wheel handling based on
8256 patch from Darren Freeman
8258 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8260 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8262 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8264 * lyxlength.C (inPixels): Fix hanfling of negative length.
8265 Fix LyXLength::MU case.
8267 2002-10-16 John Levon <levon@movementarian.org>
8269 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8271 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8273 * converter.C (view): add support for $$i (file name) and $$p
8274 (file path) for the viewer command. If $$i is not specified, then
8275 it is appended to the command (for compatibility with old syntax)
8277 2002-10-14 Juergen Vigna <jug@sad.it>
8279 * undo_funcs.C (textHandleUndo): alter the order in which the
8280 new undopar is added to the LyXText, as we have to set first
8281 the right prev/next and then add it as otherwise the rebuild of
8282 LyXText is not correct. Also reset the cursor to the right paragraph,
8283 with this IMO we could remove the hack in "redoParagraphs()".
8285 2002-10-09 Angus Leeming <leeming@lyx.org>
8287 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8288 to turn off an optimisation if a new inset is to be inserted.
8290 2002-10-11 André Pönitz <poenitz@gmx.net>
8292 * lyxtext.h: make some functions public to allow access
8293 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8295 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8297 * text3.C (dispatch): when changing layout, avoid an infinite loop
8300 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8302 * lyxrc.C (read): treat a viewer or converter command of "none" as
8305 * MenuBackend.C (expandFormats): for an update, also allow the
8306 formats that are not viewable
8308 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8309 script if it is newer than the lyxrc.defaults in user directory
8311 2002-10-07 André Pönitz <poenitz@gmx.net>
8313 * text.C: Vitaly Lipatov's small i18n fix
8315 2002-09-25 Angus Leeming <leeming@lyx.org>
8317 * ispell.h: doxygen fix.
8319 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8321 * buffer.h (readFile): Add a new argument to the method, to allow
8322 reading of old-format templates.
8324 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8326 * toc.C (getTocList): Get TOC from InsetWrap.
8328 2002-09-16 John Levon <levon@movementarian.org>
8330 * lyxfunc.C: check tabular for cut/copy too
8332 2002-09-12 John Levon <levon@movementarian.org>
8337 * factory.C: add header
8339 * paragraph_funcs.h:
8340 * paragraph_funcs.C: cleanup
8342 2002-09-11 John Levon <levon@movementarian.org>
8344 * PrinterParams.h: odd/even default to true
8346 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8348 * PrinterParams.h: update printer parameters for new xforms dialog
8350 2002-09-11 Angus Leeming <leeming@lyx.org>
8352 * lyxserver.C (read_ready): re-write to make it more transparent
8353 and to make it work in coherent fashion under Tru64 Unix.
8355 2002-09-11 André Pönitz <poenitz@gmx.net>
8359 * text3.C: implement LFUN_WORDSEL
8361 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8363 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8364 make floatlist_ a boost::shared_ptr<FloatList>
8366 * lyxtextclass.C: include FloatList.h
8367 (LyXTextClass): initialize floatlist_
8368 (TextClassTags): add TC_NOFLOAT
8369 (Read): match "nofloat" to TC_NOFLOAT and use it.
8370 (readFloat): modify call to floatlist_
8374 * FloatList.[Ch] (FloatList): remove commented out float
8376 (erase): new function
8378 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8380 * MenuBackend.C (expandToc): fix crash when there is no document
8383 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8385 * many files: Add insetwrap.
8387 2002-09-09 John Levon <levon@movementarian.org>
8389 * text2.C: remove confusing and awkward depth wraparound
8391 2002-09-09 John Levon <levon@movementarian.org>
8393 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8396 * buffer.C: remove getIncludeonlyList()
8399 * lyxfunc.C: remove headers
8401 2002-09-09 Juergen Vigna <jug@sad.it>
8403 * text.C (getColumnNearX): fix form Michael this is most
8404 probably a cut&paste bug.
8406 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8408 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8410 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8411 references, ws changes.
8413 * text2.C (init): update counters after init
8414 (insertParagraph): no need to set counter on idividual paragraphs.
8415 (setCounter): access the counters object in the textclass object
8416 on in the buffer object.
8417 (updateCounters): ditto
8419 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8420 shared_ptr<Counters> to avoid loading counters.h in all
8422 (LyXTextClass): initialize ctrs_
8423 (TextClassTags): add TC_COUNTER, and ...
8424 (Read): use it here.
8425 (CounterTags): new tags
8426 (readCounter): new function
8427 (counters): new funtion
8428 (defaultLayoutName): return a const reference
8430 * counters.C (Counters): remove contructor
8431 (newCounter): remove a couple of unneeded statements.
8432 (newCounter): simplify a bit.
8433 (numberLabel): some small formatting changes.
8435 * buffer.[Ch]: remove all traces of counters, move the Counters
8436 object to the LyXTextClass.
8438 2002-09-06 Alain Castera <castera@in2p3.fr>
8440 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8441 package to set the horizontal alignment on fixed width columns.
8444 * lyx_sty.h: added tabularnewline macro def.
8446 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8448 2002-09-06 John Levon <levon@movementarian.org>
8450 * LyXAction.C: tooltips for sub/superscript
8452 * MenuBackend.C: a bit more verbose
8454 * lyxfunc.C: tiny clean
8456 * undo_funcs.C: document undo_frozen
8458 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8460 * counters.C (Counters): add missing algorithm counter.
8462 * text2.C (setCounter): lookup the counter with layouts latexname
8463 instead of by section number.
8464 (setCounter): use a hackish way to lookup the correct enum
8466 a float name->type change
8467 reset enum couners with counter name directly instead of depth value.
8469 * counters.C (Counters): remove the push_backs, change to use the
8470 float type not the float name.
8471 (labelItem): remove unused string, float name->type change
8473 * counters.h: don't include vector, loose the enums and sects vectors
8475 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8477 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8478 (Read): add float->TC_FLOAT to textclassTags
8479 (Read): and handle it in the switch
8480 (readFloat): new function
8482 * FloatList.C (FloatList): comment out the hardcoded float
8485 * lyxlayout.h: ws change.
8487 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8489 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8491 2002-09-03 Angus Leeming <leeming@lyx.org>
8493 * BufferView_pimpl.h: qualified name is not allowed in member
8494 declaration: WorkArea & Pimpl::workarea() const;
8496 * factory.C: added using std::endl directive.
8498 * text3.C: added using std::find and std::vector directives.
8500 2002-08-29 André Pönitz <poenitz@gmx.net>
8503 * text2.C: remove unused member number_of_rows
8506 * BufferView2.C: remove file, move contents to...
8507 * BufferView.C: ... here
8509 * BufferView_pimpl.C:
8510 * factory.C: move more inset creation to factory
8512 * vspace.C: avoid direct usage of LyXText, ws changes
8515 don't provide direct access to WorkArea, use two simple
8516 acessors haveSelction() and workHeight() instead
8519 2002-08-29 John Levon <levon@movementarian.org>
8521 * BufferView_pimpl.C (dispatch): do not continue when
8524 2002-08-28 André Pönitz <poenitz@gmx.net>
8526 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8529 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8531 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8533 * buffer.C: increment LYX_FORMAT to 221
8535 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8536 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8538 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8540 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8542 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8544 * factory.C (createInset): use LyXTextClass::floats
8546 * MenuBackend.C (expandFloatListInsert):
8547 (expandFloatInsert):
8550 * text2.C (setCounter):
8552 * LaTeXFeatures.C (useFloat):
8553 (getFloatDefinitions):
8555 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8557 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8558 floatlist_, with accessor floats().
8560 * FloatList.h: remove global FloatList
8562 2002-08-26 André Pönitz <poenitz@gmx.net>
8564 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8568 * BufferView_pimpl.C:
8569 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8571 2002-08-25 John Levon <levon@movementarian.org>
8573 * LyXAction.C: fix margin note description
8575 2002-08-24 John Levon <levon@movementarian.org>
8579 * bufferview_funcs.C:
8581 * undo_funcs.C: cleanups
8583 * lyxfunc.C: disable CUT/COPY when no selection
8585 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8587 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8588 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8590 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8591 Add backward compatibility to "mono", "gray" and "no".
8593 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8595 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8596 (and file_format >= 200).
8598 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8600 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8602 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8604 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8606 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8608 * BufferView_pimpl.C:
8615 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8616 inset and code to make it work with the paragraph code. The inset
8617 can be anywhere in the paragraph, but will only do the expected
8618 thing in LaTeX if the layout file contains the parameter line
8620 (or more generally, a nonzero value) for that layout.
8622 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8624 * paragraph.h: remove the declaration of undefined counters class
8627 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8629 * text2.C (setCounter): fixed enumeration mis-count as reported by
8630 Dr. Richard Hawkins.
8632 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8634 * paragraph_funcs.h: remove some unneeded includes
8636 * text.C (backspace): pasteParagraph now in global scipe
8638 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8639 (pasteSelection): ditto
8641 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8642 * paragraph_funcs.C (pasteParagraph): ... here
8644 2002-08-20 André Pönitz <poenitz@gmx.net>
8646 * commandtags.h: new LFUNs for swapping/copying table row/colums
8649 * lyxfunc.C: support for new lfuns
8651 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8654 * buffer.[Ch]: remove NO_COMPABILITY stuff
8656 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8658 * boost.C (throw_exception): new file, with helper function for
8659 boost compiled without exceptions.
8664 * ParameterStruct.h:
8665 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8667 * bufferlist.C (emergencyWriteAll): use boost bind
8669 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8671 * text.C: include paragraph_funcs.h
8672 (breakParagraph): breakParagraph is now in global scope
8674 * paragraph_funcs.[Ch]: new files
8676 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8679 * buffer.C: include paragraph_funcs.h
8680 (insertStringAsLines): breakParagraph is now in global scope
8682 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8685 * CutAndPaste.C: include paragraph_funcs.h
8686 (cutSelection): breakParagraphConservative is now in global scope
8687 (pasteSelection): ditto
8689 * buffer.h: declare oprator== and operator!= for
8690 Buffer::inset_iterator
8692 * bufferlist.C (emergencyWrite): don't use fmt(...)
8694 * text3.C: add using std::endl
8696 * BufferView.C (moveCursorUpdate): remove default arg
8698 2002-08-20 André Pönitz <poenitz@gmx.net>
8700 * buffer.[Ch]: move inline functions to .C
8703 * BufferView_pimpl.C:
8705 * buffer.[Ch]: use improved inset_iterator
8708 * paragraph.[Ch]: write one paragraph at a time
8710 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8712 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8713 style if style is not specified.
8715 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8717 * text2.C (setCounter): when searching for right label for a
8718 caption, make sure to recurse to parent insets (so that a caption
8719 in a minipage in a figure float works) (bug #568)
8721 2002-08-20 André Pönitz <poenitz@gmx.net>
8723 * text3.C: new file for LyXText::dispatch() and helpers
8725 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8727 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8729 2002-08-19 André Pönitz <poenitz@gmx.net>
8732 * text.C: new LyXText::dispatch()
8734 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8736 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8738 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8740 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8743 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8745 * Makefile.am: use $(variables) instead of @substitutions@
8747 2002-08-15 André Pönitz <poenitz@gmx.net>
8750 * BufferView_pimpl.C: streamlining mathed <-> outer world
8754 * LyXAction.C: remove unused LFUN_MATH
8756 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8758 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8760 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8762 * paragraph.C (Paragraph): reformat a bit
8763 (cutIntoMinibuffer): use builtin InsetList function instad of
8767 * buffer.C: include boost/bind.hpp, add using std::for_each
8768 (writeFileAscii): use ParagraphList iterators
8769 (validate): use for_each for validate traversal of paragraphs
8770 (getBibkeyList): use ParagraphList iterators
8771 (resizeInsets): use for_each to resizeInsetsLyXText for all
8773 (getParFromID): use ParagraphList iterators
8775 * BufferView2.C (lockInset): use paragraph list and iterators
8777 2002-08-14 John Levon <levon@movementarian.org>
8779 * lyxserver.C: remove spurious xforms include
8781 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8783 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8785 2002-08-13 André Pönitz <poenitz@gmx.net>
8788 * lyxfunc.C: further cleaning
8790 2002-08-13 André Pönitz <poenitz@gmx.net>
8792 * funcrequest.h: new constructor
8794 * funcrequest.C: move stuff here from .h
8797 * BufferView_pimpl.C:
8800 * lyxfunc.C: subsequent changes
8802 * lyxfunc.h: new view() member function
8804 * lyxfunc.C: subsequent changes
8806 2002-08-13 Angus Leeming <leeming@lyx.org>
8809 * BufferView_pimpl.C:
8817 changes due to the changed LyXView interface that now returns references
8818 to member variables not pointers.
8820 2002-08-13 Angus Leeming <leeming@lyx.org>
8822 * WordLangTuple (word, lang_code): return references to strings,
8827 * lyxtext.h: forward-declare WordLangTuple.
8832 * text.C: #include "WordLangTuple.h".
8835 * text.C: (selectNextWordToSpellcheck): constify return type.
8837 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8843 * paragraph_pimpl.h:
8846 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8848 Made updateCounter always count from start of buffer, and removed
8849 second argument (par).
8850 Reverted floats number display to '#'. Perhaps I'll try again when the
8851 code base is sanitized a bit.
8853 2002-08-12 Angus Leeming <leeming@lyx.org>
8855 * buffer.[Ch] (getLabelList): constify.
8857 2002-08-07 André Pönitz <poenitz@gmx.net>
8859 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8861 * funcrequest.h: extension to keep mouse (x,y) position
8863 2002-08-12 Juergen Vigna <jug@sad.it>
8865 * BufferView2.C (insertErrors): forbid undo when inserting error
8868 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8870 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8872 * ParagraphList.[Ch]: new files
8874 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8876 * BufferView2.C (lockInset): ParagraphList changes
8879 * bufferlist.C: ditto
8883 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8885 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8886 unused class variable counter_,
8888 * paragraph.[Ch] (getFirstCounter): delete unused function
8890 * counters.C: include LAssert.h
8891 (reset): add a new function with no arg, change other version to
8892 not have def. arg and to not allow empty arg.
8894 * text2.C (setCounter): remove empty arg from call to Counters::reset
8896 2002-08-11 John Levon <levon@movementarian.org>
8898 * Makefile.am: add WordLangTuple.h
8900 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8902 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8903 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8905 * insets/insettext.C: InsetList changes
8907 * graphics/GraphicsSupport.C (operator()): InsetList changes
8909 * toc.C (getTocList): InsetList changes
8911 * paragraph_pimpl.[Ch]: InsetList changes
8913 * paragraph.[Ch]: InsetList changes
8915 * buffer.C (inset_iterator): InsetList changes
8916 (setParagraph): ditto
8917 * buffer.h (inset_iterator): ditto
8918 * iterators.C (operator++): ditto
8919 * iterators.h: ditto
8921 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8923 * InsetList.[Ch]: new files, most InsetList handling moved out of
8926 * BufferView2.C (removeAutoInsets): InsetList changes
8928 (ChangeInsets): ditto
8930 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8932 * paragraph_pimpl.h (empty): new function
8934 * paragraph.[Ch] (empty): new function
8936 * other files: use the new Paragraph::empty function
8938 2002-08-09 John Levon <levon@movementarian.org>
8940 * lyxtext.h: remove unused refresh_height
8942 2002-08-09 John Levon <levon@movementarian.org>
8949 * paragraph.C: move sgml char escaping out of paragraph
8952 * paragraph.C: remove id setter
8956 * paragraph_pimpl.C: remove dead tex_code_break_column
8958 * bufferview_funcs.C: small cleanup
8960 * lyxfunc.C: remove dead proto
8962 * lyxtext.h: make some stuff private. Remove some dead stuff.
8964 * lyxgluelength.C: make as[LyX]String() readable
8966 2002-08-08 John Levon <levon@movementarian.org>
8971 * ToolbarDefaults.C:
8974 * toc.C: lyxaction cleanup
8976 2002-08-08 John Levon <levon@movementarian.org>
8978 * BufferView2.C: small cleanup
8981 * lyxfind.C: move unnecessary header into the .C
8983 2002-08-08 John Levon <levon@movementarian.org>
8985 * funcrequest.h: just tedious nonsense
8988 * lyx_main.C: cleanups
8991 * vspace.C: remove dead header lyx_main.h
8993 2002-08-07 Angus Leeming <leeming@lyx.org>
8996 * paragraph_pimpl.h:
8997 Forward declare class Counters in paragraph.h by moving the ctrs member
8998 variable into Paragraph::Pimpl.
8999 (counters): new method, returning a reference to pimpl_->ctrs.
9001 * text2.C: ensuing changes.
9003 2002-08-07 John Levon <levon@movementarian.org>
9005 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9007 * BufferView_pimpl.C: announce X selection on double/triple
9010 * lyx_main.C: use correct bool in batch dispatch
9012 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9014 2002-08-07 André Pönitz <poenitz@gmx.net>
9016 * funcrequest.h: new class to wrap a kb_action and its argument
9019 * BufferView_pimpl[Ch]:
9023 * lyxrc.C: subsequent changes
9026 2002-08-07 John Levon <levon@movementarian.org>
9028 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9029 document options change.
9031 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9036 * makefile.am: move counters functionality over from
9037 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9039 2002-08-06 John Levon <levon@movementarian.org>
9041 * WordLangTuple.h: new file for word + language code tuple
9052 * BufferView2.C: use WordLangTuple
9055 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9057 2002-08-06 John Levon <levon@movementarian.org>
9059 * lyx_main.C: fix cmdline batch handling
9061 2002-08-06 André Pönitz <poenitz@gmx.net>
9063 * lyxrc.C: set default for show_banner to true
9065 2002-08-06 John Levon <levon@movementarian.org>
9067 * pspell.C: fix a crash, and allow new aspell to work
9069 2002-08-06 John Levon <levon@movementarian.org>
9072 * kbmap.C: small cleanup
9075 * vspace.C: add const
9077 2002-08-05 John Levon <levon@movementarian.org>
9079 * LyXAction.C: back to tabular-insert
9081 2002-08-04 John Levon <levon@movementarian.org>
9084 * BufferView.C: cosmetic change
9086 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9096 * BufferView2.C: purge all "Lyx" not "LyX" strings
9099 * lyxcursor.C: attempt to add some documentation
9104 * ToolbarDefaults.C:
9105 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9106 merge with LFUN_TABULAR_INSERT
9113 * pspell.C: split up i/pspell implementations into separate
9114 files, many cleanups
9116 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9118 * text2.C: some cleanup
9120 * lyxfunc.C: don't check for isp_command == "none" any more, it
9121 didn't make any sense
9123 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9128 * makefile.am: move counters functionality over
9129 from text2.C/paragraph.[Ch] to counters.[Ch], and
9131 2002-08-02 John Levon <levon@movementarian.org>
9133 * buffer.C: s/lyxconvert/lyx2lyx/
9135 2002-08-02 Angus Leeming <leeming@lyx.org>
9137 * lyxlex.C: revert John's change as it breaks reading of the user
9140 2002-08-02 Angus Leeming <leeming@lyx.org>
9142 * importer.C (Import):
9143 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9144 changes due to LyXView::view() now returning a boost::shared_ptr.
9146 2002-08-02 John Levon <levon@movementarian.org>
9148 * lyxlex.C: small cleanup
9150 2002-08-02 John Levon <levon@movementarian.org>
9152 * text2.C (status): small cleanup, no logic change
9154 2002-08-01 John Levon <levon@movementarian.org>
9157 * buffer.C (writeFile): don't output alerts, caller
9161 * lyx_cb.C: from above
9163 * lyxfunc.C: allow to open non-existent files
9165 2002-07-31 John Levon <levon@movementarian.org>
9167 * lyxserver.C: don't let incidental errors get
9170 2002-07-30 John Levon <levon@movementarian.org>
9172 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9174 2002-07-30 John Levon <levon@movementarian.org>
9177 * lyxserver.C: remove I/O callback too
9179 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9181 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9184 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9186 * many files: strip,frontStrip -> trim,ltrim,rtrim
9188 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9190 * PrinterParams.h: remove extern containsOnly, and include
9191 support/lstrings.h instead.
9193 * LaTeX.C (scanAuxFile): modify because of strip changes
9195 * buffer.C (makeLaTeXFile): ditto
9196 * bufferparams.C (writeFile): ditt
9197 * lyxfont.C (stateText): ditto
9198 * lyxserver.C (read_ready): ditto
9199 * vc-backend.C (scanMaster): ditto
9201 * BufferView_pimpl.h: ws changes
9203 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9205 2002-07-26 André Pönitz <poenitz@gmx.net>
9207 * kb_sequence.C: remove unnedred usings
9209 2002-07-26 Juergen Vigna <jug@sad.it>
9211 * lyxfind.C (LyXReplace): we have to check better if the returned
9212 text is not of theLockingInset()->getLockingInset().
9214 2002-07-25 Juergen Vigna <jug@sad.it>
9216 * lyxfind.C (LyXReplace): don't replace if we don't get the
9219 * undo_funcs.C (createUndo): remove debugging code.
9221 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9223 * buffer.C (parseSingleLyXformat2Token): Use default placement
9224 when reading old floats.
9226 * FloatList.C (FloatList): Change the default placement of figure
9227 and tables to "tbp".
9229 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9231 * MenuBackend.C: using std::max
9233 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9235 * MenuBackend.C (expandToc):
9236 (expandToc2): code moved from xforms menu frontend. It is now
9237 generic and TOCs are transparent to menu frontends.
9239 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9241 * toc.C (getTocList): protect against buf=0
9243 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9244 Menu as first parameter. Now, this calls itself recursively to
9245 expand a whole tree (this will be useful for TOC handling)
9246 (expandFloatInsert): remove 'wide' version of floats
9248 * MenuBackend.h (submenuname): returns the name of the submenu.
9249 (submenu): returns the submenu itself, provided it has been
9250 created by MenuBackend::expand
9252 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9254 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9255 insets which have noFontChange == true. (bug #172)
9257 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9259 * BufferView_pimpl.C: add connection objects and use them...
9262 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9264 * MenuBackend.C (expandLastfiles):
9267 (expandFloatListInsert):
9268 (expandFloatInsert):
9269 (expand): split expand in parts
9271 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9273 * lyx_gui.C: use lyx_gui::exit()
9275 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9277 * LyXAction.C: show the failing pseudo action
9279 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9281 * buffer.C (readFile): Run the lyxconvert script in order to read
9284 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9288 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9290 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9294 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9296 2002-07-22 Herbert Voss <voss@lyx.org>
9299 * lyxlength.[Ch]: add support for the vertical lengths
9301 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9303 * toc.[Ch]: std:: fixes
9305 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9307 * lyxrc.C: do not include lyx_main.h
9309 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9315 * BufferView2.C: include "lyxlex.h"
9318 * bufferparams.h: do not #include "lyxlex.h"
9320 * lyxtextclasslist.C (Add): remove method
9321 (classlist): renamed to classlist_
9323 * paragraph_pimpl.C:
9327 * bufferview_funcs.C:
9332 * toc.C (getTocList): use BufferParams::getLyXTextClass
9334 * toc.C (getTocList): use InsetFloat::addToToc
9336 * toc.[Ch]: new files, containing helper functions to handle table
9339 * lyxfunc.C (dispatch): no need to remove spaces around command
9341 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9342 first command of the sequence; it is not very clever, but I do not
9343 have a better idea, actually
9345 * LyXAction.C (LookupFunc): make sure to remove space at the
9346 beginning and end of the command
9348 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9350 * MenuBackend.C (getMenubar): new method: return the menubar of
9352 (read): treat differently reading of menu and menubar (in
9353 particular, the menubar has no name now)
9354 (Menu::menubar): remove
9356 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9359 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9361 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9362 a bibitem inset in a RTL paragraph.
9364 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9366 * paragraph_pimpl.C: constify
9368 * BufferView_pimpl.C:
9370 * lyxfunc.C: fix dispatch in a nicer way
9372 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9374 * lyxfunc.C (dispatch):
9375 * BufferView_pimpl.C:
9376 * BufferView_pimpl.h:
9378 * BufferView.h: rename Dispatch() to dispatch()
9380 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9382 * lyxlayout.C (Read): honor DependsOn tag
9384 * lyxlayout.[Ch] (depends_on): new method
9386 * version.C.in: update lyx_docversion
9388 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9390 * paragraph.C (validate): remove from here...
9391 * paragraph_pimpl.C (validate): ... and move here
9392 (isTextAt): make it const
9394 * buffer.C (getLists): ws cleanup
9396 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9398 * language.C (read): Use iso8859-1 encoding in latex_lang
9399 (this prevents LyX from crashing when using iso10646-1 encoding).
9401 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9403 * text2.C (toggleInset): if cursor is inside an inset, close the
9404 inset and leave cursor _after_ it
9406 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9408 * lyxfunc.C: move minibuffer completion handling out of here
9410 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9412 * BufferView_pimpl.C:
9413 * LaTeX.C: fix dispatch calls
9415 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9417 * text.C (drawChars): Fix Arabic text rendering.
9419 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9423 * lyxfunc.C: remove message-push/pop
9427 * lyxfunc.C: rationalise some code by removing verboseDispatch
9428 in favour of a bool argument to dispatch()
9430 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9432 * lyx_main.C (init): make sure to read symlinks as absolute paths
9434 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9437 * lyxfunc.C: no need for commandshortcut to be a member
9439 2002-07-15 André Pönitz <poenitz@gmx.net>
9441 * converter.C: add support for $$s (scripts from lib/scripts dir)
9442 * lyx_main.C: white space
9444 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9448 * lyxrc.C: remove second exit confirmation
9450 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9455 * BufferView_pimpl.h:
9456 * BufferView_pimpl.C:
9457 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9459 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9461 * MenuBackend.C (expand): add numeric shortcuts to document menu
9463 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9465 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9467 * lyxfont.C (setLyXFamily):
9474 * buffer.C (asciiParagraph): use ascii_lowercase
9476 2002-07-15 Mike Fabian <mfabian@suse.de>
9478 * lyxlex_pimpl.C (search_kw):
9479 * lyxlex.C (getLongString):
9480 * converter.h (operator<):
9481 * converter.C (operator<):
9482 * buffer.C (parseSingleLyXformat2Token):
9484 * ToolbarDefaults.C (read):
9485 * MenuBackend.C (checkShortcuts):
9487 * LColor.C (getFromGUIName):
9488 (getFromLyXName): use the compare_ascii_no_case instead of
9489 compare_no_case, because in turkish, 'i' is not the lowercase
9490 version of 'I', and thus turkish locale breaks parsing of tags.
9492 2002-07-16 Angus Leeming <leeming@lyx.org>
9494 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9495 now takes a Buffer const & argument.
9497 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9499 * BufferView.C (resize): check there's a buffer to resize
9501 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9503 * lyxfunc.C: remove dead code
9506 * lyxserver.C: use lyx_guii::set_read_callback
9508 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9510 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9511 an inset in a RTL paragraph.
9513 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9515 * lyxfunc.C: repaint after a font size update
9517 2002-07-15 André Pönitz <poenitz@gmx.net>
9519 * lyxlength.C: inBP should be able to return negative values
9521 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9523 * lyxfunc.C: use lyx_gui::update_fonts()
9525 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9527 * lyxfunc.C: use lyx_gui::update_color()
9529 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9535 * lyxrc.C: remove file->new asks for name option, and let
9536 buffer-new take an argument
9538 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9540 * BufferView_pimpl.C: remove unneeded extra repaint()
9542 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9544 * LyXAction.C: allow command-sequence with NoBuffer
9546 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9548 2002-07-10 Angus Leeming <leeming@lyx.org>
9550 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9552 2002-07-09 Angus Leeming <leeming@lyx.org>
9554 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9556 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9558 * lengthcommon.h: whitespace
9560 * lyxfunc.C: update scrollbar after goto paragraph
9562 * lyxtext.h: factor out page break drawing, and fix it so
9563 page break/added space paints as selected nicely
9565 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9567 * BufferView_pimpl.C: add FIXMEs, clean up a little
9569 2002-07-09 André Pönitz <poenitz@gmx.net>
9571 * lyxfont.[Ch]: support for wasy symbols
9573 2002-07-08 André Pönitz <poenitz@gmx.net>
9575 * BufferView_pimpl.C: apply John's patch for #93.
9577 2002-07-05 Angus Leeming <leeming@lyx.org>
9579 * BufferView_pimpl.C (buffer): generate previews if desired.
9581 * LColor.h: add "preview" to the color enum.
9583 * LColor.C (LColor): add a corresponding entry to the items array.
9585 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9588 2002-07-05 Angus Leeming <leeming@lyx.org>
9590 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9591 The body of the code is now in the method that is passed an ostream &
9592 rather than a file name.
9593 Pass an additional only_preamble parameter, useful for the forthcoming
9596 2002-07-03 André Pönitz <poenitz@gmx.net>
9598 * lyxfunc.C: simplify getStatus() a bit for math stuff
9600 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9602 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9604 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9606 * text.C (changeRegionCase): do not change case of all the
9607 document when region ends at paragraph end (bug #461)
9609 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9611 * paragraph.C (startTeXParParams):
9612 (endTeXParParams): add \protect when necessary
9614 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9616 * BufferView_pimpl.C (workAreaExpose): remove warning
9618 2002-06-27 Angus Leeming <leeming@lyx.org>
9620 * Makefile.am: add lyxlayout_ptr_fwd.h.
9622 2002-06-26 André Pönitz <poenitz@gmx.net>
9624 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9626 2002-06-25 Angus Leeming <leeming@lyx.org>
9628 * lyxfunc.C (dispatch): Comment out the call to
9629 grfx::GCache::changeDisplay. The method no longer exists now that the
9630 pixmap generation part of the graphics loader has been moved into
9633 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9635 * text2.C: layout as layout
9637 * text.C: layout as layout
9639 * tabular.C (OldFormatRead): layout as layout
9641 * paragraph_pimpl.C (TeXDeeper): layout as layout
9642 (realizeFont): layout as layout
9644 * paragraph.C (writeFile): layout as layout
9645 (validate): layout as layout
9646 (getFont): layout as layout
9647 (getLabelFont): layout as layout
9648 (getLayoutFont): layout as layout
9649 (breakParagraph): layout as layout
9650 (stripLeadingSpaces): layout as layout
9651 (getEndLabel): layout as layout
9652 (getMaxDepthAfter): layout as layout
9653 (applyLayout): layout as layout
9654 (TeXOnePar): layout as layout
9655 (simpleTeXOnePar): layout as layout
9656 (TeXEnvironment): layout as layout
9657 (layout): layout as layout
9658 (layout): layout as layout
9660 * lyxtextclass.C (compare_name): new functor to work with
9661 shared_ptr, layout as layout
9662 (Read): layout as layout
9663 (hasLayout): layout as layout
9664 (operator): layout as layout
9665 (delete_layout): layout as layout
9666 (defaultLayout): layout as layout
9668 * lyxlayout_ptr_fwd.h: new file
9670 * lyxlayout.C (Read): layout as layout
9672 * lyx_cb.C (MenuInsertLabel): layout as layout
9674 * bufferlist.C (newFile): layout as layout
9676 * buffer.C (readLyXformat2): layout as layout
9677 (parseSingleLyXformat2Token): layout as layout
9678 (insertStringAsLines): layout as layout
9679 (asciiParagraph): layout as layout
9680 (latexParagraphs): layout as layout
9681 (makeLinuxDocFile): layout as layout
9682 (simpleLinuxDocOnePar): layout as layout
9683 (makeDocBookFile): layout as layout
9684 (simpleDocBookOnePar): layout as layout
9685 (getLists): layout as layout
9687 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9689 * CutAndPaste.C (cutSelection): layout as layout
9690 (pasteSelection): layout as layout
9691 (SwitchLayoutsBetweenClasses): layout as layout
9693 * BufferView_pimpl.C (Dispatch): layout as layout
9694 (smartQuote): layout as layout
9696 * BufferView2.C (unlockInset): layout as layout
9698 2002-06-24 André Pönitz <poenitz@gmx.net>
9700 * lyxfunc.C: fix #487
9702 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9706 * lyxfunc.C: remove display_shortcuts, show_banner
9708 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9710 * Buffer_pimpl.C: oops, update on resize
9712 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9719 * BufferView.C: use repaint()
9721 * BufferView_pimpl.h:
9722 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9723 as it's a clearer description. Remove superfluous
9726 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9728 * text.C: fix bug 488. Not ideal, but getting
9729 getWord() to work properly for the insets that
9730 matter is more difficult ...
9732 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9734 * BufferView_pimpl.C:
9737 * lyxfunc.C: remove the six million index lyxfuncs to just
9738 one, and DTRT (bug 458)
9740 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9744 * BufferView_pimpl.h:
9745 * BufferView_pimpl.C: clean up resize() stuff,
9746 and unnecessary updateScreen()s
9748 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9752 * BufferView_pimpl.h:
9753 * BufferView_pimpl.C:
9756 * minibuffer.C: remove focus management of workarea,
9757 not needed. Use screen's greyOut()
9759 2002-06-17 Herbert Voss <voss@lyx.org>
9761 * converter.C: (convert) do not post a message, when converting
9762 fails, let the calling function decide what to do in this case
9764 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9766 * lyxfunc.C: tidy up a little
9768 2002-06-16 <alstrup@diku.dk>
9770 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9771 Got rid of FORMS_H_LOCATION include. Now we are
9774 2002-06-15 LyX Development team <lyx@rilke>
9776 * buffer.[Ch] (sgmlOpenTag):
9777 (sgmlCloseTag): Added support for avoiding pernicious mixed
9778 content. Return number of lines written.
9781 (makeDocBookFile): Fixed calls to sgml*Tag.
9782 Simple white space clean.
9784 (simpleDocBookOnePar): Simple white space clean.
9786 * tabular.[Ch] (docBook): Renamed to docbook and got another
9787 argument to related with the pernicious mixed content.
9789 (docbookRow): Fixed calls for docbook inset method.
9791 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9793 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9794 so it's X11 independent.
9798 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9800 2002-06-15 Lyx Development team <lyx@electronia>
9802 * intl.h: Renamed getTrans to getTransManager.
9804 2002-06-14 Angus Leeming <leeming@lyx.org>
9806 * Makefile.am: nuke forgotten stl_string_fwd.h.
9808 2002-06-12 Angus Leeming <leeming@lyx.org>
9810 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9812 2002-06-13 Angus Leeming <leeming@lyx.org>
9815 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9817 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9819 * kbmap.C (getiso): add support for cyrillic and greek
9821 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9825 * BufferView_pimpl.h:
9826 * BufferView_pimpl.C: move bogus scrolling logic
9829 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9832 * BufferView_pimpl.C: view->resize() change
9834 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9836 * BufferView_pimpl.C: topCursorVisible
9839 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9843 * lyx_gui.C: move to frontends/
9847 * lyx_main.C: changes from above
9849 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9856 * lyx_main.C: minor tidy
9858 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9860 * BufferView_pimpl.h:
9861 * BufferView_pimpl.C:
9863 * BufferView.C: make painter() const,
9866 * BufferView2.C: use screen() accessor
9869 * lyx_main.C: some minor cleanup
9871 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9873 * BufferView_pimpl.h:
9874 * BufferView_pimpl.C: remove enter/leaveView,
9877 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9882 * BufferView_pimpl.h:
9883 * BufferView_pimpl.C: only construct screen once,
9886 * lyxrc.C: remove pointless comment
9888 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9891 * BufferView.C: remove active() and belowMouse()
9893 * BufferView_pimpl.h:
9894 * BufferView_pimpl.C: use workarea() not workarea_,
9895 and make it use a scoped_ptr instead
9897 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9899 * lyx_gui.C: add debug message on BadWindow
9901 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9903 * sp_spell.C: fdopen is not part of the C++ standard.
9905 * paragraph.C (InsetIterator): use >= instead of ==
9907 2002-06-07 Angus Leeming <leeming@lyx.org>
9909 Fixes needed to compile with Compaq cxx 6.5.
9910 * BufferView_pimpl.C:
9917 * lyxtextclasslist.C:
9922 all c-library variables have been moved into namespace std. Wrap
9923 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9928 Add a using std::abs declaration.
9930 * kbmap.h (modifier_pair):
9931 * paragraph.h (InsetTable, InsetList):
9932 * lyxfont.h (FontBits):
9933 type definition made public.
9935 * bufferlist.C (emergencyWriteAll): the compiler complains that
9936 there is more than one possible lyx::class_fun template to choose from.
9937 I re-named the void specialisation as lyx::void_class_fun.
9939 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9941 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9942 the compiler is is unable to find tostr in write_attribute.
9944 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9946 * buffer.C (sgmlError): hide #warning
9948 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9950 * xtl/*: get rid of xtl, which is not in use anyway
9952 * LyXAction.C (init):
9953 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9954 were unimplemented xtl experimentation
9956 2002-06-04 André Pönitz <poenitz@gmx.net>
9958 * lyxfunc.C: disable array operation on simple formulae
9960 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9962 * converter.C: constify a bit
9964 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9966 * lyx_gui.C: check xforms version correctly
9968 2002-04-30 Herbert Voss <voss@lyx.org>
9970 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9973 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9975 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9976 attempt to register it with a VCS)
9978 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9980 * lyx_main.C (init): honor variables LYX_DIR_13x and
9983 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9987 * lyx_main.C: fix a crash on bad command line,
9988 and give a useful exit status on error
9990 * lyxfunc.C (doImport): allow -i lyx to work
9992 2002-03-30 André Pönitz <poenitz@gmx.net>
9994 * lyxfunc.C: mathed font changes
9996 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10011 * trans_mgr.h: srcdocs, and some minor cleanups
10013 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10015 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10016 call getFont all the time)
10018 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10020 * switch from SigC signals to boost::signals
10022 2002-05-29 André Pönitz <poenitz@gmx.net>
10024 * paragraph_pimpl.C (getChar): don't call size() too often...
10026 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10028 * paragraph_pimpl.C (insertChar): do not try to update tables when
10029 appending (pos == size())
10031 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10032 in order to reduce drastically the number of comparisons needed to
10033 parse a large document
10035 2002-05-29 André Pönitz <poenitz@gmx.net>
10041 * textclasslist.[Ch]:
10042 * sp_ispell.h: whitespace change
10044 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10046 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10047 lyxaction directly now.
10049 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10053 * lyxvc.C: remove unused headers
10055 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10062 * undo_funcs.C: some cleanups. Use shared_ptr
10063 and a template for the undo stacks.
10065 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10067 * BufferView_pimpl.h:
10068 * BufferView_pimpl.C:
10075 * text2.C: use key_state/mouse_state
10077 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10079 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10082 * chset.C: change include order
10083 (loadFile): use boost regex and get rid of LRegex and LSubstring
10085 * Makefile.am (BOOST_LIBS): new variable
10086 (lyx_LDADD): use it
10088 * LaTeX.C: change include order.
10089 (scanAuxFile): use boost regex and get rid of LRegex and
10093 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10098 * FontInfo.C: moved to frontends/xforms/
10101 * FontLoader.C: moved into frontends for GUIIzation
10106 * lyxfunc.C: changes from above
10108 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10110 * LColor.C: remove spurious X include
10112 * BufferView_pimpl.C:
10117 * text2.C: move font metrics to frontends/
10119 2002-05-24 Juergen Vigna <jug@sad.it>
10121 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10122 setting the undo_cursor.
10124 * ParagraphParameters.h: include local includes first.
10126 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10128 * BufferView_pimpl.C:
10129 * BufferView_pimpl.h:
10133 * screen.C: move WorkArea into frontends/
10139 * BufferView2.C: move LyXScreen into frontends/
10143 * lyx_gui.C: move lyxlookup into frontends/xforms/
10145 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10148 * BufferView_pimpl.C:
10158 * bufferview_funcs.C:
10171 * vc-backend.C: move LyX/XFormsView into frontends/
10173 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10185 * text2.C: move Painter to frontends/
10187 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10189 * buffer.C: comment out some some code that depend upon lyx_format
10192 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10193 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10195 * buffer.h (NO_COMPABILITY): turn off compability
10197 * ColorHandler.C: include scoped_array.hpp
10199 * font.C: Use more specific smart_ptr header.
10202 * ShareContainer.h: ditto
10203 * lyx_main.h: ditto
10205 * FontInfo.h: ditto
10206 * BufferView_pimpl.h: ditto
10207 * ColorHandler.h: ditto
10209 * kbmap.C (defkey): change call to shared_ptr::reset
10211 2002-05-21 Juergen Vigna <jug@sad.it>
10213 * buffer.C (insertErtContents): fix to insert ert asis if it is
10214 non empty. Skip it completely if it contains only whitespaces.
10216 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10218 * BufferView_pimpl.C:
10219 * BufferView2.C: clear selection on paste (bug 393)
10221 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10223 * DepTable.C: include ctime
10225 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10227 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10229 2002-05-14 Juergen Vigna <jug@sad.it>
10231 * text.C (breakParagraph): fixed function to honor the keepempty
10232 layout in the right maner and also to permit the right breaking
10233 algorithm on empty or non empyt keepempty paragraphs.
10235 * paragraph.C (breakParagraph): we have to check also if the par
10236 is really empty (!size()) for isempty otherwise we do the wrong
10239 2002-05-10 Juergen Vigna <jug@sad.it>
10241 * buffer.[Ch] : The following are only changes to the ert
10242 compatibility read reading old LaTeX layout and font stuff and
10243 convert it to ERTInsets.
10245 * buffer.h: added isErtInset().
10247 * buffer.C (struct ErtComp): add a fromlayout bool to check
10248 if we're inside a LaTeX layout.
10249 (isErtInset): new helper function.
10250 (insertErtContents): look for other ert insets before this one
10251 and insert the contents there, so that we don't have subsequent
10252 ERT insets with nothing between them. This way we create only one
10253 inset with multiple paragraphs. Also check if we don't insert only
10254 spaces ' ' as they are ignored anyway afterwards in the .tex file
10255 so if we have only spaces we will ignore this latex part in the
10257 (parseSingleLyXformat2Token \\layout): better compatibility when
10258 reading layout-latex stuff.
10259 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10261 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10262 stuff after reading the inset only get the information back from
10265 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10267 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10269 * LaTeXFeatures.C (getBabelOptions): New method.
10271 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10273 * BufferView_pimpl.C (Dispatch): work around missing argument for
10276 2002-05-08 Juergen Vigna <jug@sad.it>
10278 * text.C (leftMargin): handle paragraph leftindent.
10280 * paragraph.C (writeFile): write the new \\leftindent tag.
10281 (validate): handle leftindent code.
10282 (TeXEnvironment): handle paragraphleftindent code again.
10284 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10286 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10287 for paragrap_extra indent code and new token \\leftindent.
10288 (latexParagraphs): handle the leftindent as environment.
10290 * ParameterStruct.h: added leftindent support.
10292 * ParagraphParameters.C (leftIndent): added support functions for
10293 the paragraph left indent.
10295 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10298 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10300 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10303 * text.C (computeBidiTables): No bidi in insetERT.
10305 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10308 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10310 * version.C.in: pre 5
10312 2002-05-02 José Matos <jamatos@fep.up.pt>
10313 * buffer.C (makeDocBookFile): white space changes, add newline to
10315 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10317 * tabular.C (docBook): fix typo.
10319 2002-05-03 Juergen Vigna <jug@sad.it>
10321 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10322 change in LyXText as we can not be sure it was not freed.
10323 (drawOneRow): remove unused code.
10325 * text.C (drawInset): redo the calculation of the need_break_row as
10326 it could have a row which was already freed.
10327 (draw): look at the return value of drawInset and return false if
10328 it also returned false.
10329 (paintRowText): look at the return value of draw and return false if
10330 it also returned false.
10332 * lyxtext.h: added bool return type to drawInset() and draw() so that
10333 if we have a change in the row so that the rowbreak has to be redone
10334 we abort drawing as it will be called again.
10336 2002-05-02 Juergen Vigna <jug@sad.it>
10338 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10339 a change in the maintext also if we're inside an inset.
10340 (Dispatch): set the cursor again after a break line and after the
10341 screen has been updated as it could be we're in a different row.
10343 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10344 to set the cursor behind the pargraph with > size().
10345 (setCursor): check also for the same paragraph when checking where
10346 to put the cursor if we have a NFR inset.
10348 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10349 parts of layout read further up as it still was in the wrong
10352 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10354 * screen.C (drawFromTo): change sine fullRebreak always return
10357 * buffer.C (parseSingleLyXformat2Token): reindent some
10359 * BufferView_pimpl.C (update): change since fullRebreak always
10361 (Dispatch): git rid of the last hardcoded "Standard"s.
10363 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10365 * text2.[Ch] (fullRebreak): make it return void now that we always
10368 2002-04-30 Juergen Vigna <jug@sad.it>
10370 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10371 ert compatibility check for "latex" layout.
10373 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10375 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10376 minipages: use col% instead of p%, and also use the current font.
10377 (makeLaTeXFile): Fix use babel condition.
10378 (parseSingleLyXformat2Token): Correct font when reading old floats.
10380 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10382 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10383 inserting list of floats.
10385 2002-04-25 Herbert Voss <voss@lyx.org>
10387 * MenuBackend.C (expand): don't add the graphics extensions to the
10390 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10392 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10393 non-existing layout, do not complain if it was the default layout
10394 of the original class (bug #342)
10396 2002-04-24 Juergen Vigna <jug@sad.it>
10398 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10399 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10401 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10403 * buffer.C (getBibkeyList): If using \bibliography, return the
10404 option field with the reference itself. Enables us to provide natbib
10405 support when using \bibliography.
10407 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10409 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10411 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10412 natbib is provided by the LaTeX class.
10414 2002-04-23 Juergen Vigna <jug@sad.it>
10416 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10419 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10421 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10423 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10425 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10426 ensuremath around textordmasculine, textordfeminine and
10429 2002-04-19 Juergen Vigna <jug@sad.it>
10431 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10432 reinitializing the buffer otherwise row-dimensions may be wrong.
10433 (update): reset also the selection cursors if they do exits otherwise
10434 their x/y positions may be wrong.
10436 * text2.C (cursorDown): don't enter the inset if we came from a row
10437 above and are one row over the inset.
10439 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10440 really leaving an inset.
10442 2002-04-18 Juergen Vigna <jug@sad.it>
10444 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10445 of the selected paragraph does not have the selected layout also if
10448 * text2.C (setLayout): fixed bug which did not change last selected
10451 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10452 changed the read and substituted \\end_float with \\end_inset!
10454 * BufferView_pimpl.C (cursorPrevious):
10455 (cursorNext): fixed to make it work with rows heigher than the work
10456 area without moving the cursor only the draw of the row.
10457 (workAreaMotionNotify): fix jumping over high rows.
10459 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10461 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10464 2002-04-16 Juergen Vigna <jug@sad.it>
10466 * text2.C (setCursor): set also the irow().
10467 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10469 (cursorDown): support for locking an inset if the x_fix value goes
10470 inside it. That way I can transverse insets too with cursor up/down.
10472 * lyxrow.h: added irow helper function same as other (i) functions.
10474 * BufferView_pimpl.C (cursorPrevious):
10475 (cursorNext): fixed for insets!
10477 2002-04-15 Juergen Vigna <jug@sad.it>
10479 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10480 position otherwise it is wrong in some cases.
10482 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10483 inside the inset before the call.
10485 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10487 * buffer.[Ch] (getBibkeyList): make it const.
10489 2002-04-12 Juergen Vigna <jug@sad.it>
10491 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10493 * text2.C (getCursorX): new helper function
10494 (setCursor): compute also ix_
10495 (setCursorFromCoordinates): set also ix.
10497 * lyxcursor.h: added ix_ and helper functions.
10499 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10501 * buffer.C (insertStringAsLines): dont break paragraph if the this
10502 paragraph is inside an inset which does not permit it!
10504 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10505 also with no chars on this paragraph.
10506 (paintRowText): only paint stuff if it's inside the workarea!
10508 * paragraph.C (breakParagraph): honor keepempty flag and break the
10509 paragraph always below not above.
10511 * BufferView2.C (unlockInset): update the paragraph layout on inset
10512 unlock as we changed paragraph in such a case.
10514 * lyxfind.C (LyXFind): clear the former selection if not found!
10516 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10517 again called in insertChar().
10519 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10520 an inset which uses the whole row!
10521 (rightMargin): ditto.
10522 (insertChar): force a rebreak if we inserted an inset!
10524 2002-03-28 Herbert Voss <voss@lyx.org>
10526 * lyxlength.[Ch]: add inBP() to get the right PS-point
10527 units (BigPoint). With inPixels we have rounding errors
10529 2002-04-11 Juergen Vigna <jug@sad.it>
10531 * text2.C (setCursorFromCoordinates): set iy to the right value.
10532 (setCursor): add check if row->previous exists!
10534 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10535 an old float_type as this was the case in the old code!
10537 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10539 * BufferView2.C (showLockedInsetCursor): use iy
10540 (fitLockedInsetCursor): ditto
10542 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10543 locked insets as there we have the right value now.
10545 * lyxcursor.C: added iy_ variable and iy functions to set to the
10546 baseline of cursor-y of the locked inset.
10548 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10549 (setCursor): fixed for insets which need a full row.
10551 * text.C (rowLastPrintable): don't ignore the last space when before
10552 an inset which needs a full row.
10553 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10554 as last character of a row when before a inset which needs a full row.
10556 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10558 * version.C.in: update date
10560 * text2.C (fullRebreak): try to always return true and see what
10563 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10565 * MenuBackend.C (expand): use Floating::listName
10567 * FloatList.C (FloatList): add listName argument to the built-in
10570 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10571 text associated with the float.
10573 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10575 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10577 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10579 * ShareContainer.h: add a couple of missing typenames.
10581 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10583 * lyxrc.C (getDescription): use _() correctly rather than N_().
10585 2002-03-28 Herbert Voss <voss@lyx.org>
10587 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10588 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10590 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10592 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10593 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10595 2002-03-29 Juergen Vigna <jug@sad.it>
10597 * lyxfunc.C (dispatch): add a missing fitCursor call.
10599 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10600 it was scrolled by a cursor move, so return the bool status.
10602 * BufferView.C (fitCursor): return the bool flag also to the outside
10603 world as this is needed.
10605 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10607 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10608 call the edit() as it is not needed (and wrong) IMO.
10609 (workAreaButtonPress): set the screen_first variable before evt.
10610 unlock the inset as this may change screen_first and then we have
10611 a wrong y position for the click!
10613 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10615 * MenuBackend.C (expand): another translation that I missed
10617 2002-03-28 Juergen Vigna <jug@sad.it>
10619 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10621 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10623 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10625 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10627 * MenuBackend.C (expand): fix export/view/update when there is no
10630 2002-03-27 Herbert Voss <voss@lyx.org>
10632 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10635 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10637 * bufferview_funcs.C (currentState): only show paragraph number
10638 for is DEVEL_VERSION is set.
10640 * lyxfunc.C (dispatch): put warning in INFO channel
10642 * MenuBackend.C (expand): translate the name of floats
10644 * FloatList.C (FloatList): mark the float names for translation
10646 * converter.C (convert): use LibScriptSearch
10648 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10650 * MenuBackend.C (defaults): fix default menu (we might as well get
10653 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10655 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10658 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10660 * lyxvc.C: reorder includes.
10662 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10664 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10667 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10669 * CutAndPaste.C: change layouts earlier on paste
10670 to avoid crashing when calling getFont()
10672 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10674 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10677 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10679 * WorkArea.C: remove 'Pending' debug message.
10681 * most files: ws cleanup
10683 * buffer.[Ch]: ws changes
10685 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10687 2002-03-21 Juergen Vigna <jug@sad.it>
10689 * tabular.C (SetMultiColumn): collapse also the contents of the
10690 cells and set the last border right. Added a Buffer const * param.
10692 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10694 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10697 2002-03-19 Juergen Vigna <jug@sad.it>
10699 * text2.C (clearSelection): reset also xsel_cache.
10701 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10702 where it needs to be called (John tells us to do so too :)
10703 (selectionLost): reset sel_cache.
10705 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10707 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10709 * text2.C (setCursorIntern): put debuging code in INSETS channel
10711 2002-03-19 André Pönitz <poenitz@gmx.net>
10713 * lyxfunc.C: tiny whitespace change
10715 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10717 * ToolbarDefaults.C (init):
10718 * LyXAction.C (init):
10720 * BufferView_pimpl.C (Dispatch):
10721 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10723 2002-03-19 Allan Rae <rae@lyx.org>
10725 * exporter.C (Export): removeAutoInsets before doing anything else.
10726 While I've just introduced a dependency on BufferView this really is
10727 the best place to clean the buffer otherwise you need to cleanup in
10728 a dozen places before calling export or cleanup in a dozen functions
10731 * converter.C (runLaTeX):
10732 (scanLog): Better handling of removeAutoInsets and screen updates.
10734 * lyxfunc.C (dispatch): small whitespace changes
10736 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10738 * WorkArea.C (C_WorkAreaEvent): return a value.
10739 (event_cb): return 1 if we handled the event, 0 otherwise.
10741 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10743 2002-03-18 Juergen Vigna <jug@sad.it>
10745 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10746 (GetAdditionalWidth): ditto.
10747 (RightLine): ditto.
10750 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10751 inset if we're there actually (probably not used right now but this
10752 is the direction to go for unifying code).
10753 (paste): disable code to clear the selection.
10755 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10756 inside an InsetText and move the check further up as it is in the
10759 * text2.C (pasteSelection): set a selection over the pasted text.
10761 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10763 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10764 and libgraphics to build on Cygwin.
10766 2002-03-15 Juergen Vigna <jug@sad.it>
10768 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10769 inserting an Inset into the paragraph. I know this is not the best
10770 fix but we already use current_view in CutAndPaste so we will remove
10771 all of it's using at the same time.
10773 * buffer.C (sgmlError): deactivated function till it is rewritten in
10774 the right mode, now it can create problems.
10776 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10777 before accessing it.
10779 2002-03-14 Juergen Vigna <jug@sad.it>
10781 * undo_funcs.C (textHandleUndo): do the right thing when updating
10782 the inset after the undo/redo.
10784 * text2.C (setCursor): just some testcode for #44 not ready yet.
10786 * undo_funcs.C (textHandleUndo): set the next() and previous()
10787 pointers of the paragraph to 0 before deleting otherwise we have
10788 problems with the Paragraph::[destructor].
10790 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10791 on a paragraph insertion.
10793 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10795 * buffer.C (asciiParagraph): use += operator for char append to
10798 * paragraph.C (getFontSettings): compare >= not just >
10799 (highestFontInRange): ditto
10802 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10804 * paragraph.C: change several algorithm to be more appripriate for
10805 the problem domain. This is lookip in FontList and in the InsetList.
10807 2002-03-13 André Pönitz <poenitz@gmx.net>
10810 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10812 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10817 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10819 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10821 * Painter.C (display): anon helper function, adjust code for this
10823 (pixmap): remove function.
10825 * Painter.h: remove private display variable.
10827 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10829 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10831 * WorkArea.[Ch]: remove figinset_canvas cruft.
10833 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10835 * lyxtextclass.C (operator): add one item cache optimization.
10837 * bufferlist.h: doxy changes
10839 * bufferlist.C: ws changes
10841 * DepTable.[Ch] (ext_exist): place const in the right spot.
10843 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10845 (workAreaExpose): call resizeInsets when the with BufferView changes.
10846 (Dispatch): adjust for protectedBlank removal
10847 (specialChar): call updateInset if the insert went ok.
10849 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10850 specialChar instead.
10852 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10854 * BufferView.h: doxy change
10856 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10858 * lyxtextclass.C (operator[]): remove non-const version
10859 (defaultLayout): remove non-const version
10861 2002-03-12 Juergen Vigna <jug@sad.it>
10863 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10864 did resize the LyXText too.
10866 * buffer.C (readLyXformat2): set layout information on newly allocated
10869 * tabular.C (OldFormatRead): set layout information on the paragraph.
10871 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10873 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10875 2002-03-11 Juergen Vigna <jug@sad.it>
10877 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10879 (resizeCurrentBuffer): force also the insets to resize themselfes.
10880 (moveCursorUpdate): fixed up for InsetText.
10882 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10885 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10886 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10887 value of Dialogs::tooltipsEnabled().
10888 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10890 2002-03-08 Juergen Vigna <jug@sad.it>
10892 * BufferView_pimpl.C (updateInset): update inset inside inset also
10893 if it isn't inside theLockingInset().
10895 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10897 * buffer.C (asciiParagraph): redo some of the word and line length
10899 (getLists): look for Caption instead of caption.
10901 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10903 * buffer.C (Buffer): initialize niceFile to true
10905 (makeLinuxDocFile):
10906 (makeDocBookFile): make sure niceFile is true on exit
10908 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10910 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10912 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10914 * LyXSendto.C: remove.
10915 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10916 * lyx_gui.C: remove now-redundant comment.
10917 * ColorHandler.h: remove forward declaration of class WorkArea.
10918 * lyxfunc.C: remove #include "WorkArea.h".
10920 2002-03-07 Juergen Vigna <jug@sad.it>
10922 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10923 got moved away with the DEPM and also set the inset_owner always
10924 right which before could have been omitted.
10926 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10928 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10929 wanted layout is not found.
10931 2002-03-07 Juergen Vigna <jug@sad.it>
10933 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10935 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10937 * paragraph.C (breakParagraph): use default layout not layout of
10939 (Paragraph): clear ParagraphParameters.
10941 2002-03-06 Juergen Vigna <jug@sad.it>
10943 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10944 otherwise it would not be a valid lenght. Fixed a special case in
10945 the minipage compatibility read where we end the document with a
10948 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10949 was set as it could be 0 for InsetTexts first entry.
10951 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10953 * paragraph.C (writeFile): if layout is empty write out
10954 defaultLayoutName().
10956 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10957 file without named layout we set layout to defaultLayoutName().
10959 2002-03-06 Juergen Vigna <jug@sad.it>
10961 * CutAndPaste.C (copySelection): set layout for new paragraph.
10963 * text.C (prepareToPrint): leave ERT inset left aligned
10964 (leftMargin): don't indent paragraphs inside ERT insets
10966 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10968 * paragraph.C (breakParagraph): dont call clear do the work manually
10970 * paragraph.[Ch] (clear): remove function
10972 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10974 * paragraph.C (Paragraph): dont call clear, the work has already
10977 * lyxtextclass.C (operator): assert if n is empty
10979 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10980 work manually instead.
10982 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10984 * BufferView_pimpl.C: protect selectionLost against text == 0
10986 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10988 * text.C (breakParagraph): fix a setting layout to '0' problem.
10990 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10992 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10993 final location of file, for the included files, and graphics.
10995 2002-03-05 Juergen Vigna <jug@sad.it>
10997 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10999 2002-03-04 Juergen Vigna <jug@sad.it>
11001 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11003 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11004 last column of multicolumn cells.
11005 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11007 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11009 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11010 file if it doesn't go to a temporary file.
11012 * buffer.C (sgmlOpenTag):
11013 (sgmlCloseTag): remove extra newline insertion.
11015 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11017 * text.C (getRowNearY): comment out debug msg
11019 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11021 * text2.C: first -> first_y
11023 * text.C (getRowNearY): add some attemts at a possible
11024 optimization, not working.
11026 * tabular.[Ch]: add BufferParams to several function so that newly
11027 created paragraph can be initialized to he default layotu for the
11030 * tabular-old.C (ReadOld): add buf->params to call of Init
11032 * screen.C: rename text->first to text->first_y
11034 * paragraph.C (breakParagraph): always set layout in the broken
11037 * lyxtextclass.C (Read): remove lowercase
11040 (delete_layout): ditto
11042 * lyxtext.h: rename first -> first_y
11044 * lyxlayout.C (Read): remove lowercase
11047 (obsoleted_by): ditto
11049 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11051 * buffer.C (insertErtContents): add params are to InsetERT
11052 (parseSingleLyXformat2Token): add code to check if a paragraphs
11053 layout really exist.
11054 (parseSingleLyXformat2Token): add params to several inset
11056 (asciiParagraph): remove lowercase, do the layout comparisons with
11059 * BufferView_pimpl.C (cursorNext): first -> first_y
11060 (resizeCurrentBuffer): first -> first_y
11061 (updateScrollbar): first -> first_y
11062 (scrollCB): first -> first_y
11063 (workAreaMotionNotify): first -> first_y
11064 (workAreaButtonPress): first -> first_y
11065 (checkInsetHit): first -> first_y
11066 (cursorPrevious): first -> first_y
11067 (cursorNext): first -> first_y
11068 (Dispatch): add buffer_->params to severl inset contructors
11070 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11072 * lyxlayout.C (Read): remove some debug info that I forgot.
11074 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11075 clean up the code slightly.
11076 (makeLinuxDocFile): ditto
11077 (makeDocBookFile): ditto
11079 * text2.C: layout as string
11081 * text.C: layout as string
11083 * paragraph_pimpl.C: layout as string
11085 * paragraph.[Ch]: layout as string
11087 * lyxtextclasslist.[Ch]: layout as string
11089 * lyxtextclass.[Ch]: layout as string
11091 * lyxtext.h: layout as string
11093 * lyxlayout.[Ch]: layout as string
11095 * lyx_cb.C: layout as string
11097 * bufferview_funcs.C: layout as string
11099 * bufferparams.C: layout as string
11101 * buffer.C: layout as string
11103 * LyXView.[Ch]: layout as string
11105 * LaTeXFeatures.[Ch]: layout as string
11107 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11109 * BufferView_pimpl.C: change current_layout to string, remove
11114 (workAreaButtonRelease): layout as string
11116 * BufferView2.C (unlockInset): adjust
11118 * vspace.C (asLatexCommand): use an explict temp variable.
11120 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11122 * Makefile.am: use FRONTEND_*
11124 2002-03-01 Juergen Vigna <jug@sad.it>
11126 * tabular.C (SetWidthOfMulticolCell): changed to something better
11127 I hope but still work in progress.
11128 (recalculateMulticolumnsOfColumn): renamed function from
11129 recalculateMulticolCells as it is more appropriate now.
11130 (SetWidthOfCell): calculate multicols better.
11132 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11134 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11136 * lyxfunc.C (processKeySym): print sequence also if it is
11137 `deleted' (complete)
11139 * kbsequence.C (print): print sequence even if it is deleted
11140 (complete would be a better word, actually).
11142 * lyxfunc.C (dispatch): print complete options after a prefix key
11144 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11146 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11148 * text2.C (setCharFont): eliminate setCharFont code duplication.
11150 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11152 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11153 LFUN_TABULAR_FEATURE (bug #177)
11155 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11157 * Makefile.am: remove figure.h
11159 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11161 * Bufferview_pimpl.C:
11173 * text2.C: remove #include "lyx_gui_misc.h".
11175 * LaTeX.C: added #include <cstdio>
11177 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11179 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11180 that the paragraph following this one can have.
11182 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11184 * vspace.C (asLatexCommand): fix bogus gcc warning
11186 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11188 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11190 * text2.C (setLayout): get rid of redundant code
11192 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11194 * text2.C (incDepth): make sure depth cannot be increased beyond
11197 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11199 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11200 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11202 * PainterBase.h (image):
11203 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11204 a LyXImage const *.
11206 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11210 * BufferView_pimpl.C:
11211 * BufferView_pimpl.h:
11231 * sp_spell.C: remove fig inset, and the crap house of
11232 cards that follows it
11234 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11239 * os2_errortable.h:
11240 * nt_defines.h: move .h into support/
11242 * vms_defines.h: remove
11244 * WorkArea.C: add space in debug output
11248 * buffer.C: add WITH_WARNINGS
11252 * bufferlist.C: s/retrive/retrieve/, add docs
11261 * chset.C: add docs
11263 * lyxgui.C: add ID to X error handler
11265 * lyxtestclass.c: fix typo
11267 2002-02-26 Juergen Vigna <jug@sad.it>
11269 * tabular_funcs.C (write_attribute): changed so that some default
11270 attributes are not written at all.
11271 (getTokenValue): set default values before trying to read the
11272 value so we have the return value always set as default if we don't
11273 find the token we search for.
11275 * tabular.C (Write): write bools as bools not as strings!
11277 2002-02-22 Juergen Vigna <jug@sad.it>
11279 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11280 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11282 * text.C (leftMargin): don't add an indent for paragraphs inside
11283 tabular cells (fix #208).
11285 2002-02-21 José Matos <jamatos@fep.up.pt>
11287 * tabular.C (docBook): fixed support for long tables.
11289 2002-02-20 Juergen Vigna <jug@sad.it>
11291 * text2.C (getFont): get the drawing font of the Inset if this
11292 paragraph is inside an inset (only important for InsetERT for now).
11294 * buffer.C (insertErtContents): use new lanugage params in ERT
11297 * CutAndPaste.C: commenting out seemingly uneeded code.
11299 2002-02-19 Allan Rae <rae@lyx.org>
11301 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11302 Iterators might be simple to use but they also get invalidated.
11303 (removeAutoInsets): renamed saved cursor tracking variables and added
11304 some comments to clarify what everything does.
11306 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11313 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11314 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11317 * vc-backend.h: remove #include "support/syscall.h"
11321 * converter.C: rearrange #includes in Lars' approved fashion.
11323 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11324 forward declare class Timeout in the header file.
11326 * XFormsView.C: changes due to the above.
11328 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11329 similar to LyXView.
11331 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11332 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11334 2002-02-18 José Matos <jamatos@fep.up.pt>
11336 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11339 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11341 * a lot of small ws changes
11342 * add a lot of using std::XXX
11343 * use std construcs some places where approp.
11344 * use some exisint stuff from lyxfunctional where approp.
11345 * Make file changes to use partial linking (lets test this now...)
11347 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11351 remove #include "support/syscontr.h" as it's redundant. Always has been.
11359 change Systemcalls::System to Systemcalls::Wait and
11360 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11361 No change of functionality, just reflects the stripped down Systemcalls
11364 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11366 * debug.[Ch]: add a GRAPHICS type to the enum.
11368 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11370 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11372 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11375 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11377 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11378 match the changes below.
11380 * text2.C (toggleInset): if there is not editable inset at cursor
11381 position, try to see if cursor is _inside_ a collapsable inset
11384 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11386 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11387 document menu has a nice checkbox
11389 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11391 * lyxlength.C (asLatexString): change PW to output as percent of
11394 * lengthcommon.C: change '%' to 't%'
11396 * lyxfunc.C (dispatch): a few comments from Martin
11398 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11402 * BufferView_pimpl.h:
11403 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11406 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11408 * vspace.C (inPixels): fix compiler warning
11410 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11412 * lyxfunc.C (getStatus): fix status message for disabled commands.
11414 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11416 * BufferView_pimpl.C: fix crash on close buffer
11417 during selection (#227)
11419 2002-01-27 Herbert Voss <voss@lyx.org>
11421 * buffer.C: link old Figure to new graphic inset
11423 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11425 * FontLoader.C (getFontinfo): Change the latex font names in order
11426 to match the names of type1inst.
11428 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11430 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11432 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11433 (extchanged): ditto
11435 (remove_files_with_extension): ditto
11436 (remove_file): ditto
11439 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11440 document is smaller than the work area height. Do not initialize
11441 static variables to 0.
11443 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11445 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11447 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11448 LFUN_LAYOUT_PARAGRAPHS.
11450 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11451 tabular. It is possible to provide a possible cell, which will
11452 typically be the actcell from the corresponding insettabular
11454 * lyxfunc.C (getStatus): small cleanup; disable
11455 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11458 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11460 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11462 * paragraph.C (startTeXParParams):
11463 (endTeXParParams): new methods. The LaTeX code to
11464 start/end paragraph formatting
11465 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11466 empty (fixes bug #200)
11468 * vspace.C (inPixels): adapt to the change below
11469 (inPixels): [later] more cleanups (remove unused variables)
11471 * lyxlength.C (inPixels): change to use a width and a height as
11474 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11476 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11477 Replaced with \paperwidth
11479 * DepTable.C (insert): add std:: qualifier
11481 2002-01-18 Allan Rae <rae@lyx.org>
11483 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11486 * text.C (drawInset): Turned out I didn't know enough about how
11487 rebreaking worked. This fixes most of the redraw problems. I see
11488 an occasional cursor trail when a line is broken now and the cursor
11489 placement can seem out by a few pixels also after a rebreak.
11491 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11493 * buffer.C (parseSingleLyXformat2Token): update because minipage
11494 width is now a LyXLength
11496 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11498 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11501 2002-01-17 Juergen Vigna <jug@sad.it>
11503 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11505 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11506 is set correctly and the inset is updated correctly.
11508 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11510 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11511 the beginning of the loop.
11513 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11515 * lyxrc.C: improve help for use_scalable_fonts
11517 2002-01-17 Allan Rae <rae@lyx.org>
11519 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11521 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11523 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11524 make sure to set their inset_owner to the right value (bug #171)
11526 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11529 * DepTable.C: Implement mtime checking to reduce time spent doing
11532 2002-01-16 Juergen Vigna <jug@sad.it>
11534 * tabular.C (GetAdditionalHeight): one of error fixed.
11536 * lyxrc.C (output): small fix in writing use_pspell.
11538 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11540 * sp_base.h: #include LString.h
11542 2002-01-16 Allan Rae <rae@lyx.org>
11544 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11545 Can someone check this please?
11547 * text.C (drawInset): It was possible that p.row would be removed by
11548 breakAgainOneRow upsetting a few other settings. There may be another
11549 small tweak possible by setting need_break_row = 0 when p.row has been
11550 removed but I don't know enough about the logic here.
11552 2002-01-15 Allan Rae <rae@lyx.org>
11554 * text.C (insertChar): removed conditional truism.
11556 * BufferView2.C (removeAutoInsets): More tweaks.
11557 cur_par_prev could be a stray pointer. Check for trailing empty line
11558 in case last line was cur_par and only had an error inset on it.
11560 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11562 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11565 * vc-backend.C (most methods):
11566 * exporter.C (Export):
11567 * converter.C (convert):
11569 * LyXSendto.C (SendtoApplyCB):
11570 * lyxfunc.C (dispatch):
11574 * lyx_cb.C (AutoSave):
11576 * BufferView_pimpl.C (MenuInsertLyXFile):
11577 * buffer.C (runChktex): use Buffer::filePath().
11579 * buffer.h: rename filename to filename_; rename filepath to
11580 filepath_ and make it private
11581 (filePath): new method
11583 * buffer.C (writeFile): use fileName()
11586 * lyx_main.C (init): fix starting of LyX when the binary is a
11587 link from so,ewhere else.
11589 * minibuffer.C: include <cctype> for isprint
11591 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11593 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11594 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11595 name clash with InsetCollapsable's width function.
11597 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11599 * lastfiles.C: include <iterator>
11601 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11603 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11606 * buffer.C (makeLaTeXFile): ditto.
11607 Also make loop operation more transparent.
11609 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11611 * ToolbarDefaults.C: remove trailing comma closing namespace.
11613 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11615 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11618 * trans.C (Load): comment out unused variable, allowed.
11620 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11622 * minibuffer.[Ch] (append_char): new method to recieve input from the
11623 drop-down completion browser. If a key was pressed, then recieve this
11624 char and append it to the existing string.
11625 (peek_event): modify the positioning data passed to the completion
11626 browser so that it can be placed above the minibuffer rather than below.
11627 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11629 * LyXAction.C (init): alloe error-next for readonly documents.
11631 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11634 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11636 * bufferlist.C (readFile): create the buffer _after_ checking that
11639 * lyxfunc.C (verboseDispatch): fix handling of arguments
11641 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11643 * lyxrc.C: use string::erase() instead of initializing to "".
11646 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11648 * BufferView_pimpl.h:
11649 * BufferView_pimpl.C:
11652 * text2.C: tell X when we have made a selection for copying
11654 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11656 * BufferView_pimpl.C (MenuInsertLyXFile):
11657 * lyxfunc.C (menuNew):
11659 (doImport): add shortcuts to directory buttons
11661 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11664 * lyxfunc.C (setStatusMessage):
11665 (getStatusMessage): new methods
11666 (getStatus):use setStatusMessage instead of setErrorMessage
11667 (dispatch): when function is disabled, set error message here
11668 [instead of in getStatus previously]
11670 * BufferView_pimpl.C (workAreaButtonRelease): update
11671 toolbar/menubar here too.
11673 2002-01-13 Allan Rae <rae@lyx.org>
11675 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11676 Now seems indestructible. Remaining task is to audit all other
11677 code affected by deleteEmptyParagraphMechanism. One small quirk
11678 left is that an empty document with an error in the preamble can
11679 be made to report an error but no error box appears. I don't know
11681 (removeAutoInsets): Improved comments.
11683 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11686 * Thesaurus.C: update for Aiksaurus 0.14
11688 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11690 * text2.C (firstParagraph): removed member function, all uses
11691 replaces with ownerParagraph
11692 (redoParagraphs): here
11693 (updateInset): here
11694 (toggleAppendix): here
11695 * BufferView2.C (insertErrors): here
11696 (setCursorFromRow): here
11698 2002-01-13 Allan Rae <rae@lyx.org>
11700 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11701 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11702 There is still a way to segfault this although you may have to do this
11703 multiple times: Have an InsetERT with an unknown command in it.
11704 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11705 <down-arrow>, <Enter> again, View->DVI, BANG!
11707 * text2.C (setCursor):
11708 (deleteEmptyParagraphMechanism):
11709 * lyxtext.h (setCursor):
11710 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11711 Making use of the return value may help fix other bugs.
11713 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11715 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11717 * LyXView.C (updateMenubar): call MenuBar::update here
11718 (updateToolbar): but not here
11719 (showState): do not update toolbar/menubar
11721 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11722 should need to care about that.
11724 * lyxfunc.C (verboseDispatch): simplify a bit
11725 (getStatus): have a version which takes a pseudoaction, and
11726 another which requires a (kb_action,string).
11728 * LyXAction.C (retrieveActionArg): make it work also when action
11729 is not a pseudo-action.
11730 (getActionName): simplify a bit
11733 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11735 * lyxfunc.C (verboseDispatch): new families of methods with
11736 several ways to specify a command and a bool to indicate whether
11737 the command name and shortcut should be displayed in minibuffer
11738 (eventually, we could extend that to a finer bitmask like
11739 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11740 (dispatch): the pristine dispatch command which just, well,
11741 dispatchs! Note it still sets its result to minibuffer; I'm not
11744 * lyxfunc.h: remove setHintMessage
11746 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11748 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11750 * BufferView_pimpl.C (specialChar): delete new inset if we have
11751 not been able to insert it.
11753 * kbmap.C: revert to using int instead of kb_action, since all we
11754 are dealing with is pseudo-actions.
11756 * LyXAction.C (searchActionArg): change to return int instead of
11757 kb_action, since the result is a pseudoaction.
11759 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11761 * buffer.C (insertErtContents): Fix (partially) the font bug.
11763 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11765 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11766 as the other one is broken on my machine!
11768 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11771 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11773 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11775 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11776 reflect their actual use. Provide compatibility code for older lyxrc
11779 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11781 change names of popup font variables in line with the changes to lyxrc.C
11783 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11785 * buffer.C (asciiParagraph): avoid outputing a word twice after
11788 * lyxrc.C (getDescription): document that document_path and
11789 template_path can be empty.
11791 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11793 * LaTeXFeatures.C (getMacros):
11794 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11796 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11798 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11800 (getPackages): rename feature "floats" to "float". Use an array to
11801 iterate over 'simple' features (i.e. just a \usepackage). Add
11802 handling of "amsmath" (renamed from "amsstyle").
11804 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11806 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11809 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11811 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11812 FuncStaus::FuncStatus & FuncStaus::some_method().
11814 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11816 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11817 of the func_satus stuff. Edited and massaged in various ways by
11820 * lyxfunc.C (getStatus): use FuncStatus
11822 2002-01-08 Juergen Vigna <jug@sad.it>
11824 * text.C (nextBreakPoint): use function Inset::isChar().
11826 * paragraph.C (TeXOnePar): use function
11827 Inset::forceDefaultParagraphs.
11829 * buffer.C (latexParagraphs): use function
11830 Inset::forceDefaultParagraphs.
11832 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11834 * lyx_gui.C (init): set the style of the menu popups to
11835 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11837 2002-01-07 Juergen Vigna <jug@sad.it>
11839 * text.C (setHeightOfRow): small fix
11840 (prepareToPrint): don't look at alignment if we don't have the place
11843 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11845 * box.C: New file. Move the Box methods and functions out of box.h,
11846 following Lars' suggestion.
11848 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11850 * box.h: #include "support/LOstream.h", needed for inlined function.
11853 * lyxtextclasslist.C: added some using std declarations.
11855 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11857 * box.h: make signed dimensions to allow insets wider than
11858 the screen (bug #162)
11860 * BufferView_pimpl.C: add some insetHit debug
11862 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11864 * vc-backend.C: add FIXME
11866 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11868 * lyxfunc.C (getStatus): enable code for showing math font status
11871 2002-01-07 Juergen Vigna <jug@sad.it>
11873 * text.C (nextBreakPoint): removed debug output not needed anymore.
11875 2002-01-06 Juergen Vigna <jug@sad.it>
11877 * text.C (nextBreakPoint): fixed up this function we had this bug
11878 since ever but now hopefully we break row better.
11879 (insertChar): we have to check if an inset is the next char as it
11880 could now happen that a large inset is causing a break.
11882 2002-01-05 Juergen Vigna <jug@sad.it>
11884 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11885 if it doesn't like to be drawed.
11887 2002-01-04 Juergen Vigna <jug@sad.it>
11889 * BufferView2.C (lockInset): forgot to set a cursor.
11891 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11893 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11895 * FormMathsPanel.C:
11898 * form_maths_panel.C:
11899 * form_maths_panel.h:
11900 * form_maths_panel.fd: implemented sub- and super- buttons in math
11903 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11904 (or ^ space) to be used as in TeX (req'd by André).
11906 * lyxfunc.C: Allow ^ and _ again to be used both as
11907 super/subscript (mathed) and as themselves (in text).
11909 2002-01-03 Allan Rae <rae@lyx.org>
11911 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11912 "LyX" or the filename of the current buffer if it has one. This is a
11913 modified form of John Levon's patch.
11915 * XFormsView.C (setWindowTitle): also set icon title.
11917 * LyXView.h (setWindowTitle): signature changed.
11918 * XFormsView.h (setWindowTitle): ditto.
11920 2002-01-02 Juergen Vigna <jug@sad.it>
11922 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11924 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11926 * screen.C (topCursorVisible): introduce a temp var for
11927 text->cursor.row(), handle the case where this row is null. (kindo
11930 * text2.C (setCursor): add a couple of asserts.
11932 * paragraph.h (inset_iterator): add -> operator
11934 * paragraph.[Ch] (autoDeleteInsets): remove member function
11936 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11937 cursor pos correctly and handle inset deletion by itself.
11938 (insertErrors): move iterator declaration out of for expression
11940 * lyxtextclass.C: add <algorithm>
11942 * Makefile.am: added the new files to sources, removed layout.C
11944 * layout.C: removed file
11946 * layout.h: remove LYX_DUMMY_LAYOUT
11948 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11952 * lyxtextclass.[Ch]:
11953 * lyxtextclasslist.[Ch]: new files
11955 * include order changes to a lot of files, also changes because of
11958 2001-12-27 Juergen Vigna <jug@sad.it>
11960 * buffer.C (asciiParagraph): more fixes.
11962 * tabular.C (ascii): make ascii export support export of only the
11963 data separated by a column-delimiter.
11964 (ascii): better support for ascii export.
11966 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11968 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11970 * tabular_funcs.C: use a "using std::getline" instead of the
11971 previous fix from Angus (necessary for cxx + lyxstring)
11973 2001-12-24 Juergen Vigna <jug@sad.it>
11975 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11977 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11978 problems. First check a minipage also if we have some ert-contents
11979 (not only on par->size(), second set the right depth of the paragraph
11980 on the relink to the root-paragraph-list!
11982 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11983 which then did not anymore update the main paragraphs on undo/redo!
11985 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11987 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11988 code. Support all font-changing funcs (even those which are not in
11989 menu currently). Support for reporting font settings in
11990 mathed (disabled until Andre provides a function on mathed's side).
11992 * func_status.h (toggle): small helper function to set toggle
11995 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11997 * tabular_funcs.C: getline -> std::getline
11999 2001-12-21 Juergen Vigna <jug@sad.it>
12001 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12002 accessed and could be 0 (I couldn't generate this but it seems
12005 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12007 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12008 * tabular_funcs.h: here and include iosfwd
12010 2001-12-20 Juergen Vigna <jug@sad.it>
12012 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12013 inside inset but undo_par was.
12015 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12017 * Thesaurus.C: always include <config.h> in sources.
12021 * box.h: do not include <config.h> in header files
12023 * text.C (paintLastRow): remove unused variable
12025 * text.C (transformChar):
12027 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12029 * Painter.C (text):
12030 * font.C (width): rewrite to use uppercase() instead of
12033 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12035 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12037 * lyxfind.C: clean up of find failure position change
12039 2001-12-20 Juergen Vigna <jug@sad.it>
12041 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12043 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12044 (TeXRow): added to LaTeX a single tabular row.
12045 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12046 (Latex): simplified and finally good LT-h/f support.
12047 (various_functions): just small adaptions for LT-h/f support.
12049 * tabular_funcs.[hC]: added and moved here all not classfunctions
12052 2001-12-19 Juergen Vigna <jug@sad.it>
12054 * tabular.[Ch]: better support for longtabular options (not finished
12057 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12059 * text.C (paintLastRow): use the label font instead of the font of
12060 the last character to compute the size of *_BOX. This makes more
12061 sense and avoids a crash with empty paragraphs.
12062 Use Painter::rectangle to draw EMPTY_BOX.
12064 2001-12-19 Juergen Vigna <jug@sad.it>
12066 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12067 the paragraphs if the replaced paragraph is not the first one!
12068 Tried to delete not used paragraphs but does not work yet so for
12069 now it's inside #ifdef's and by default off!
12071 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12073 * MenuBackend.C: include "lyx_main.h" instead of declaring
12074 lastfiles (actually was declared as LastFiles* instead of a
12077 2001-12-17 Juergen Vigna <jug@sad.it>
12079 * tabular.C (AppendColumn): applied John's fix
12081 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12085 * BufferView_pimpl.h:
12086 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12089 * box.h: new start of class for above
12091 * lyxfunc.C: ignore space-only minibuffer dispatches.
12092 Show the command name when it doesn't exist
12094 * minibuffer.C: don't add empty lines to the history
12096 * minibuffer.C: add a space on dropdown completion
12098 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12100 * text.C: fix line above/below drawing in insets
12102 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12104 * lyxlength.C (LyXLength): Initialize private variables.
12106 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12108 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12109 when inserting error insets.
12111 2001-12-13 Juergen Vigna <jug@sad.it>
12113 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12114 actually sometimes the before-paragraph.
12115 (setUndo): don't clear the redostack if we're not actually undoing!
12117 2001-12-06 Juergen Vigna <jug@sad.it>
12119 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12120 and fixed redoing of main paragraph, so we can use it now ;)
12122 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12124 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12126 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12129 2001-12-13 André Pönitz <poenitz@gmx.net>
12132 * undo_func.C: minor cleanup
12134 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12136 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12137 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12138 font in urw-fonts package which is marked as -urw-fontspecific and
12139 does not work (incidentally, changing the encoding in the
12140 fonts.dir of this package to -adobe-fontspecific fixes the
12143 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12144 is a crash when undoing first paragraph (Juergen, please take a
12145 look). THis does not mean the undo fix is wrong, just that it
12148 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12149 the (Paragraph*) version when needed instead of duplicating the
12152 * text.C (workWidth): use Inset::parOwner to find out where the
12153 inset has been inserted. This is a huge performance gain for large
12154 documents with lots of insets. If Inset::parOwner is not set, fall
12155 back on the brute force method
12157 * paragraph_pimpl.C (insertInset):
12158 * paragraph.C (Paragraph):
12159 (cutIntoMinibuffer): set parOwner of insets when
12160 inserting/removing them
12162 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12164 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12170 * mathed/formulabase.C:
12171 * mathed/math_cursor.[Ch]:
12172 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12175 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12177 * lyxlength.[Ch] (operator!=): new function
12179 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12181 * text.C (workWidth): use Inset::parOwner to find out where the
12182 inset has been inserted. This is a huge performance gain for large
12183 documents with lots of insets. If Inset::parOwner is not set, fall
12184 back on the brute force method
12186 * paragraph_pimpl.C (insertInset):
12187 * paragraph.C (Paragraph):
12188 (cutIntoMinibuffer): set parOwner of insets when
12189 inserting/removing them
12191 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12193 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12195 * tabular-old.C (getTokenValue):
12196 * tabular.C (getTokenValue):
12197 (write_attribute): new versions for LyXLength
12198 (everywhere): adjust the use of widths
12200 * tabular.h: change the type of widths from string to LyXLength
12202 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12204 * paragraph.C: fixed missing line number count when exporting
12205 Environments to LaTeX file
12207 * buffer.C: added informational message for checking line numbers.
12209 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12211 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12212 paragraph, do the 'double space' part, but not the 'empty
12215 * text.C (workWidth): small optimization
12216 (getLengthMarkerHeight): use minimal size for negative lengths.
12218 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12220 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12222 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12224 2001-12-11 André Pönitz <poenitz@gmx.net>
12227 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12229 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12231 * text2.C: keep selection on a setFont()
12233 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12235 * lyx_cb.C: another bv->text misuse, from insert label
12237 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12240 * kbsequence.C: re-instate nmodifier mask
12242 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12244 * lyx_main.h: make lyxGUI private.
12246 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12248 * lyxfind.C: place the cursor correctly on failed search
12250 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12252 * text.C (getLengthMarkerHeight): for small heights, the arrows
12253 are not always on top/bottom of the text
12254 (drawLengthMarker): smaller arrows; take the left margin in
12255 account; draw also vfills.
12257 (paintLastRow): remove special code for vfill and standard spaces,
12258 since everything is handled in drawLengthMarker now.
12260 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12262 * buffer.C (insertErtContents): try to handle font and language
12263 interaction a bit better.g
12265 * ColorHandler.C (updateColor): change the hash to cover the whole
12266 LColor enum, ws cleanup
12267 (getGCLinepars): ditto
12268 (getGCLinepars): only lookup in the linecache once.
12270 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12272 * iterators.C (operator++): Make the iterator more robust
12274 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12276 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12278 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12281 * text.C: better added space drawing
12283 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12286 * BufferView2.C: fix layout combo update on inset unlock
12288 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12290 * Makefile.am: don't compile unused files
12292 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12296 * LyXAction.C: remove old LFUN_LAYOUTNO
12298 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12300 * paragraph_pimpl.h:
12301 * paragraph_pimpl.C: isTextAt() doesn't need font param
12303 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12306 * lyxlex.C: little cleanup
12308 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12310 * BufferView_pimpl.C: fix insertAscii for insets
12312 2001-12-05 Juergen Vigna <jug@sad.it>
12314 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12315 set the right font on the "multi" paragraph paste!
12317 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12323 * lyxlength.C: remove out-commented code.
12325 * BufferView_pimpl:
12339 * vc-backend.C: change "while(" to "while ("
12341 * lyxlength.[Ch]: add zero function to check if length is zero or
12343 * lyxgluelength.C: use it
12345 2001-12-05 Allan Rae <rae@lyx.org>
12347 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12348 Works for 2.95.3, from what I understand of Garst's reports this should
12349 work for other g++ versions. We're screwed if the abs(int) definition
12350 changed between bugfix releases of gcc.
12352 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12354 * text.C: fix chapter label offset !
12356 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12359 * text.C: fix hfill at end of line, clean up
12361 2001-12-04 Juergen Vigna <jug@sad.it>
12363 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12364 that we force an update of the inset and it's owners if neccessary.
12366 2001-12-03 Juergen Vigna <jug@sad.it>
12368 * text.C (rowLast): simplified code
12370 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12372 * lyxfunc.C: fix show options on timeout
12374 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12376 * screen.C (topCursorVisible): scroll half a page when the cursor
12377 reached top of bottom of screen
12379 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12381 * minibuffer.C: deactivate on loss of focus
12383 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12385 * vspace.[Ch] (operator!=): add operator.
12387 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12389 * BufferView_pimpl.C: refuse to open an inset when
12390 there's a selection.
12392 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12394 * BufferView_pimpl.C: allow to click on RHS of full row insets
12396 2001-11-30 Juergen Vigna <jug@sad.it>
12398 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12399 insets for undo reasons.
12401 2001-11-28 André Pönitz <poenitz@gmx.net>
12403 * vspace.[Ch]: cosmetical changes
12405 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12415 * kbsequence.C: part re-write of old kb code
12418 * WorkArea.C: remove Lgb_bug_find_hack
12420 2001-11-30 José Matos <jamatos@fep.up.pt>
12422 * buffer.C (makeDocBookFile): add a comment to point a hack.
12423 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12424 Fixed a double write of labels.
12426 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12429 * LaTeX.h Fixed bug in LaTeX class where it would not
12430 re-run latex if no depfiles were changed, but the .dvi was removed.
12432 2001-11-28 André Pönitz <poenitz@gmx.net>
12434 * all the files from the change on 2001/11/26:
12435 use lyx::layout_type instead of LyXTextClass::size_type
12436 use lyx::textclass_type instead of LyXTextClassList::size_type
12438 2001-11-29 Juergen Vigna <jug@sad.it>
12440 * text.C: added support for paragraph::isFreeSpacing()
12442 * buffer.C: same as above
12444 * paragraph.h: inserted isFreeSpacing() function to enable
12445 FreeSpacing inside InsetERT.
12447 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12448 of the paragraph's in the cut/copy buffer to 0!
12450 * text2.C (removeRow): remove the assert as it can!
12452 * lyxtext.h: added helper function firstRow returning firstrow and
12453 made firstrow private again.
12455 * BufferView2.C (lockInset): don't relock if we're already locked!
12457 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12458 the only paragraph.
12459 (removeRow): added Assert::(firstrow)
12461 * debug.C: forgot to add INSETTEXT here.
12463 2001-11-28 Juergen Vigna <jug@sad.it>
12465 * sp_spell.C (initialize): changed error text to more general
12466 spellchecker command use (not only ispell!)
12468 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12470 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12472 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12474 * vspace.C: initialise lyxgluelength on failure
12476 2001-11-28 Allan Rae <rae@lyx.org>
12478 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12479 declaration & definition that looks like a function declaration.
12481 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12483 * BufferView2.C (copy):
12484 (copyEnvironment): do not clear the selection when doing a copy.
12486 * text.C (paintFirstRow): compilation fix
12488 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12490 * tabular.C (Latex): correct line count when writing latex.
12492 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12494 * paragraph_pimpl.h:
12495 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12498 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12502 * LColor.C: change vfillline->added_space
12504 * text.C: add markers and text for added space
12506 * vspace.C: fix comment
12508 2001-11-28 André Pönitz <poenitz@gmx.net>
12510 * paragraph.C: whitespace changes
12511 * all the other files from the change on 2001/11/26:
12512 change *::pos_type into lyx::pos_type
12514 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12516 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12517 language of the document when inserting error insets.
12519 2001-11-26 André Pönitz <poenitz@gmx.net>
12521 * BufferView_pimpl.[Ch]:
12529 * paragraph_pimpl.[Ch]:
12532 * text2.C: reduce header dependencies, introduce type for positions
12534 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12536 * <various>: change to use Alert.h
12538 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12540 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12541 when encountering an unknown token.
12542 (readLyXformat2): Show an error message if there were unknown tokens.
12544 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12547 * BufferView_pimpl.C:
12551 * text2.C: use par->isInset()
12553 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12555 * paragraph_pimpl.h:
12556 * paragraph_pimpl.C: cleanup
12558 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12560 * text2.C (removeRow):
12561 * text.C (setHeightOfRow): remove useless (and costly) call to
12564 2001-11-20 Allan Rae <rae@lyx.org>
12566 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12567 Now need Inset*::checkInsertChar() to return true for appropriate
12568 cases so that the characters in the minibuffer will actually be
12571 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12573 * text.C: change the order of the includes.
12574 (workWidth): initialize it at once.
12575 (workWidth): make maxw unsigned
12576 (setHeightOfRow): remove unused variable (inset)
12577 (selectSelectedWord): remove unused variable (inset)
12578 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12580 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12582 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12583 server is not running.
12585 (closeConnection): add debug info when server is disabled.
12587 * ColorHandler.C (getGCForeground): send debug message to GUI
12590 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12592 * kbmap.C (bind): modify because return conventions of
12593 kb_sequence::parse have changed.
12595 * kbsequence.C (parse): only ignore spaces and not any stupid
12596 control character. This avoids tests like s[i] <= ' ', which are
12597 guaranteed to fail with 8bit characters and signed chars.
12598 Change return code to string::npos when there have been no error
12599 (0 was a bad idea when error is at first character)
12601 2001-11-14 José Matos <jamatos@fep.up.pt>
12604 * buffer.C (simpleDocBookOnePar): removed unused argument.
12606 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12608 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12609 insets which are part of a word. Paragraph::isLetter takes care of
12610 that now. Use Paragraph::isInset to identify insets.
12611 (selectSelectedWord): do not test for hyphenation break.
12613 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12614 that protected spaces are considered as spaces.
12616 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12619 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12622 * lyxserver.C: fix it. and small cleanup.
12624 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12626 * BufferView_pimpl.C: use inline helpers
12629 * LaTeXFeatures.C: fix typos
12632 * Spacing.C: move spacing_string into class
12634 * ToolbarDefaults.C: move stuff into namespace anon
12636 * layout.h: update enum
12638 * lyxfunc.C: use better debug
12640 * minibuffer.h: fix typo
12644 * WorkArea.C: add and use Debug::WORKAREA
12648 * text2.C: code re-organisation, inline helpers
12650 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12652 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12653 std::vector.empty().
12655 2001-11-09 Allan Rae <rae@lyx.org>
12657 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12658 '\n's after tables. Tabular and ERT inset work now makes this no
12661 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12664 * minibuffer.C: fix crash, improve drop-down completion
12666 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12669 * lyxserver.C: invalidate fd's when doing endPipe()
12671 2001-11-08 José Matos <jamatos@fep.up.pt>
12673 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12674 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12677 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12679 2001-11-07 José Matos <jamatos@fep.up.pt>
12682 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12685 * buffer.C (sgmlOpenTag):
12686 * buffer.C (sgmlCloseTag): removed debug info.
12688 * buffer.h (sgmlOpenTag):
12689 * buffer.h (sgmlCloseTag): made public.
12691 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12693 * buffer.C (saveParamsAsDefaults):
12694 * lyx_cb.C (MenuLayoutSave): remove
12696 * LyXAction.C (init):
12698 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12700 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12702 * buffer.C (setPaperStuff): removed from here...
12704 * bufferparams.C (setPaperStuff): ... and moved there.
12706 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12710 * XFormsView.C: add support for drop-down completion
12712 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12714 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12717 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12719 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12722 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12724 * lyx_main.C: change ref to known bugs
12726 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12728 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12729 to work around older babel problems.
12731 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12733 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12735 2001-10-24 Juergen Vigna <jug@sad.it>
12737 * tabular-old.C (ReadOld): below variable changes reflected.
12739 * tabular.[Ch]: added ltType struct for longtable header/footer
12740 defines and changed all instances where they are used. Added
12741 future support for double top/bottom rows.
12743 2001-10-24 José Matos <jamatos@fep.up.pt>
12745 * buffer.h (docbookHandleCaption):
12746 * buffer.C (docbookHandleCaption): removed unused function.
12747 (makeDocBookFile): moved docbook supported version to v4.1.
12749 2001-10-24 José Matos <jamatos@fep.up.pt>
12752 * tabular.C (docbookRow): new function to export docbook code of a row.
12753 (DocBook): now honors the longtable flags.
12755 2001-10-23 José Matos <jamatos@fep.up.pt>
12758 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12759 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12761 * buffer.C (makeLinuxDocFile):
12762 (makeDocBookFile): reworked the preamble, more clean, and with
12763 support for lyx defined entities. Changed the document declaration
12764 to be more XML friendly.
12766 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12767 if we need to output XML that should be done with a filter.
12769 2001-10-22 Juergen Vigna <jug@sad.it>
12771 * sp_pspell.h (class PSpell): add alive function needed in the
12772 controller to see if the spellchecker could be started.
12774 2001-10-22 Juergen Vigna <jug@sad.it>
12776 * buffer.C (insertStringAsLines): modify the font for inserting
12777 chars in certain conditions by calling checkInsertChar(font).
12779 2001-10-19 Juergen Vigna <jug@sad.it>
12781 * text.C (workWidth): use getRow instead of wrong algorithm.
12782 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12784 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12789 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12791 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12793 * text.C (workWidth): do not search for the exact row when
12794 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12795 optimization for big documents.
12797 2001-10-18 Juergen Vigna <jug@sad.it>
12799 * text.C (workWidth): new function with added Inset * parameter.
12801 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12803 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12805 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12806 change return type of getColumnNearX.
12809 * text.C (changeRegionCase): use uppercase/lowercase instead of
12812 (rightMargin): simplify code by factoring out the uses of
12817 (appendParagraph): use Paragraph::size_type
12819 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12821 * vspace.C (asLatexString): add a missing break
12823 2001-10-15 Herbert Voss <voss@perce.de>
12825 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12827 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12829 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12832 2001-10-10 André Pönitz <poenitz@gmx.net>
12834 * lyxfunc.C: removed greek_kb_flag.
12836 2001-10-10 Herbert Voss <voss@perce.de>
12838 * lyx_main.C: delete global string help_lyxdir.
12840 2001-10-09 Herbert Voss <voss@perce.de>
12842 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12844 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12846 * lyx_main.C: added global string help_lyxdir.
12848 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12850 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12852 * lyxrc.C (set_font_norm_type): support iso8859-4
12854 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12856 * LaTeX.C (deplog): add another regex for MikTeX
12858 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12860 * lyxrc.C (set_font_norm_type): support iso8859-3
12862 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12864 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12866 * LaTeXFeatures.C: remove special case of french and index
12868 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12869 before \begin{document}). This solves several incompatibilities.
12871 2001-10-03 Garst Reese <reese@isn.net>
12873 * lyx_cb.C: change CheckTex error msg.
12875 2001-10-03 José Matos <jamatos@fep.up.pt>
12877 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12879 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12881 * .cvsignore: update
12883 * lyx_main.C (commandLineVersionInfo): use new style version info.
12885 * buffer.C (writeFile):
12887 (makeLinuxDocFile):
12888 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12890 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12892 * version.h: update to use stuff in version.C
12894 * version.C.in: new file. Contains version information determined
12895 at compile time. This is a merging of version.h and
12898 2001-10-03 Juergen Vigna <jug@sad.it>
12900 * BufferView_pimpl.C (update): don't change "dirty" status in
12903 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12905 * WorkArea.C (c-tor): re-position version string slightly.
12907 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12909 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12910 revert to previous code.
12912 WorkArea.[Ch]: (show, destroySplash): methods removed.
12914 WorkArea.C: rework code so that it's an amalgam of the codes before and
12915 after the splash screen was moved to WorkArea.
12917 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12920 * vspace.C (inPixels):
12923 * buffer.C (insertStringAsLines):
12924 (asciiParagraph): fix types to be large enough
12926 * lyxlex_pimpl.h: change member status from short to int
12928 * layout.h: fix type of endlabeltype
12931 * kbsequence.C (parse): change return type to string::size_type
12933 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12936 * Bullet.C (bulletSize):
12937 (bulletEntry): do not use short ints as parameters
12939 * BufferView2.C (insertLyXFile): change a char to an int.
12941 * WorkArea.C (WorkArea): remove unneeded floats in computation
12943 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12945 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12947 * paragraph.C (asString): Do not ignore newline/hfill chars when
12948 copying to the clipboard.
12950 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12952 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12953 after a multi-line inset.
12955 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12957 * paragraph.C (validate): Set NeedLyXFootnoteCode
12959 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12961 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12962 and decrease-error to decrease.
12964 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12966 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12967 it more readable (should be equivalent)
12969 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12971 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12973 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12975 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12976 of a cursor (row, etc.) after a character has been deleted
12977 (deleteEmptyParagraphMechanism): call the method above on _all_
12978 cursors held by the LyXText when a double space has been
12981 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12983 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12985 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12987 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12988 background. Use greyOut() and the new show() methods to toggle between
12989 the foreground and background. Add code to remove the splash after
12990 its initial showing.
12992 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12993 (create_forms): no longer call Dialogs::showSplash.
12995 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12997 * .cvsignore: add version_info.h
12999 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13001 * version_info.h.in: new file
13003 * Makefile.am: add version_info.h.in
13005 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13006 version_info.h instead of VERSION_INFO
13008 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13010 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13011 The ERT inset now returns string().
13013 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13015 * lyxtext.h, text.C (selectNextWord): renamed as
13016 selectNextWordToSpellcheck.
13018 * text.C (selectNextWordToSpellcheck): Modified to not select
13019 words inside an ERT inset.
13021 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13023 * lyx_cb.C (MenuLayoutSave): change a bit the question
13025 * sp_base.h: include <sys/types.h>
13027 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13029 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13031 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13033 * several files: fix typos in user-visible strings
13035 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13037 * text2.C (pasteSelection): do not set the selection, since it
13038 will be cleared later. Actually, the intent was to fix the way the
13039 selection was set, but I figured rmoving the code was just as good.
13041 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13043 * FontLoader.C (available): Check if font is available without
13046 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13048 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13050 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13052 * lyxrc.[Ch]: added display_graphics variable and associated code.
13054 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13056 * bufferparams.C (hasClassDefaults): new method. Returns true if
13057 the buffer parameters correspond to known class defaults
13059 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13061 * XFormsView.C (show): set minimum size to the main window.
13063 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13065 * text2.C (copySelection):
13067 * lyxfind.C (LyXReplace):
13068 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13069 LyXText::selectionAsString.
13071 * paragraph.C (asString): add "label" argument to the second form
13073 * text2.C (selectionAsString): add "label" argument and pass it to
13074 Paragraph::asString.
13076 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13078 * lyx_main.C (commandLineHelp): remove version information
13080 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13082 * lyx_main.C: add -version commandline option
13084 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13086 * paragraph.h: make the optional constructor arg required instead.
13087 some modifications to other files because of this.
13089 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13091 * lyxserver.C (C_LyXComm_callback): make it static
13093 * lyx_main.C (error_handler): make it static
13095 * lyx_gui.C (LyX_XErrHandler): make it static
13097 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13099 * WorkArea.C: make the extern "C" methods static.
13101 * Makefile.am (lyx_LDADD): simplify
13103 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13105 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13106 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13108 * LyXAction.C (init):
13109 * lyxfunc.C (dispatch): associated code removal.
13111 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13113 * lyxfont.h (isSymbolFont): shut off warning
13115 * text.C (setHeightOfRow):
13116 (getVisibleRow): fix crash with empty paragraphs which have a
13119 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13121 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13124 2001-09-04 José Matos <jamatos@fep.up.pt>
13127 * tabular.C (docbook): rename docBook method to docbook.
13129 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13131 * Makefile.am: add dependencies to main.o.
13133 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13135 * FontLoader.C (available): Return false if !lyxrc.use_gui
13137 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13139 * FontInfo.C (query):
13140 * converter.C (view):
13141 * importer.C (Import):
13142 * exporter.C (Export): Can not -> cannot.
13144 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13146 * BufferView_pimpl.C: allow to create index inset even if
13149 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13151 * buffer.C (getLists): replace boost::tie code with an explicit pair
13152 as boost::tie can break some compilers.
13154 * iterators.h: Added a std:: declaration to the return type of
13157 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13159 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13162 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13164 * iterators.[Ch]: New files. Provide paragraph iterators.
13166 * buffer.C (changeLanguage): Use paragraph iterators.
13167 (isMultiLingual): ditto
13169 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13171 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13173 * FontLoader.C: Support for cmr font.
13175 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13177 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13178 (available): New method.
13180 * FontInfo.C (getFontname): Use scalable fonts even when
13181 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13184 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13186 * converter.C (Formats::view): reverted! Incorrect fix.
13188 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13190 * converter.C (Formats::view): only output the -paper option
13191 if the dvi viewer is xdvi, thereby fixing bug #233429.
13193 2001-08-23 Herbert Voss <voss@perce>
13195 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13197 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13199 * Spacing.h (Spacing): Set space to Default on in the default
13202 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13204 * vc-backend.h (RCS::versionString): add RCS to version
13205 (CVS::versionString): add CVS to version
13207 * vc-backend.C (scanMaster): do not add CVS to version.
13208 (scanMaster): do not add RCS to version
13210 * lyxvc.C (versionString): new method
13212 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13214 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13216 * Spacing.C (set): initialize fval
13218 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13220 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13223 2001-08-16 Juergen Vigna <jug@sad.it>
13225 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13227 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13229 * BufferView_pimpl.C:
13232 * text2.C: setParagraph takes linespacing now
13234 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13236 * LyxAction.C: add internal LFUN_CITATION_INSERT
13238 * LyXView.C: actually apply fix
13240 * bufferlist.C: fix open non-existent file
13242 * lyxfind.C: fix indentation
13244 * lyxfunc.C: remove unneeded assert, fix typo
13246 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13248 * MenuBackend.C: use "Floatname List"
13250 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13252 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13253 when converting LaTeX layout to insetERT.
13254 Generate a non-collapsed float when reading old float
13256 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13258 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13261 2001-08-13 Juergen Vigna <jug@sad.it>
13263 * text.C (fill): return 0 instead of 20 as this seems to be the more
13266 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13268 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13271 2001-08-13 Juergen Vigna <jug@sad.it>
13273 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13275 (SearchBackward): comment out the unlocking of the inset_owner this
13276 should not be needed!
13278 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13280 * Many files: Remove inherit_language, and add latex_language
13282 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13283 collapsible insets.
13285 2001-08-10 Juergen Vigna <jug@sad.it>
13287 * text.C (prepareToPrint): fixed hfill-width in draw!
13289 * BufferView2.C (selectLastWord): save the selection cursor as this
13290 now is cleared in the function LyXText::clearSelection!
13292 2001-08-08 Juergen Vigna <jug@sad.it>
13294 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13295 BACKSPACE type functions.
13297 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13298 is only cutted from the document but not put in the cut-buffer, where
13299 still the old stuff should be.
13301 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13303 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13305 * tabular.C (SetWidthOfCell): fixed special case where the width
13307 (LeftLine): handle '|' in align_special.
13309 (LeftAlreadyDrawed): ditto
13310 (SetWidthOfCell): ditto
13312 2001-08-07 Juergen Vigna <jug@sad.it>
13314 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13316 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13318 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13319 * lyxlex.[hC]: ditto
13321 2001-08-06 Juergen Vigna <jug@sad.it>
13323 * text.C (getVisibleRow): fix up row clearing a bit.
13325 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13327 * minibuffer.C: make sure the X server sees the changes in the input.
13329 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13331 * paragraph.C (getFont): split into...
13332 (getLabelFont): this
13333 (getLayoutFont): and this
13334 * paragraph_pimpl.C (realizeFont): calling this
13336 * text2.C (getFont): split into...
13337 (getLayoutFont): this
13338 (getLabelFont): and this
13339 (realizeFont): all three calling this
13341 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13344 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13346 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13348 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13350 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13351 layouts from the Quote inset insertion.
13353 2001-08-03 Juergen Vigna <jug@sad.it>
13355 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13357 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13358 only if status not is already CHANGED_IN_DRAW (second level).
13360 * text.C (draw): don't set the need_break_row when inside an
13363 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13365 * buffer.C (parseSingleLyXformat2Token): handle more latex
13368 * bufferview_funcs.[hC]: change function names to
13369 begin with small char, adjust other files.
13371 2001-08-02 André Pönitz <poenitz@gmx.net>
13374 BufferView_pimpl.C: remove broken special code for math-greek
13376 2001-08-02 Juergen Vigna <jug@sad.it>
13378 * BufferView_pimpl.C (update): redone this function so that we
13379 update the text again if there was a CHANGE_IN_DRAW.
13381 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13382 (drawFromTo): added a new internal bool which is used by draw() and
13384 (general): some cursor drawing problems fixed.
13386 2001-08-01 Juergen Vigna <jug@sad.it>
13388 * lyxfind.C (LyXFind): fixed
13389 (SearchForward): ditto
13390 (SearchBackward): ditto
13392 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13393 spurius drawing of the cursor in the main area.
13395 * text2.C (status): small fix which could lead to a segfault!
13396 (clearSelection): remove unneeded BufferView param.
13398 2001-08-01 André Pönitz <poenitz@gmx.net>
13400 * lyxfunc.C: small change due to changed mathed interface
13402 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13404 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13406 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13408 * lyxfunc.c: fail gracefully if file doesn't exist
13413 * BufferView_pimpl.C: IsDirWriteable() proto changed
13415 * LyXView.C: fix updateWindowTitle() to store the last title
13417 2001-07-31 Juergen Vigna <jug@sad.it>
13419 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13420 the font (wrong since using of Paragraph::highestFontInRange).
13422 * paragraph.C (highestFontInRange): added a default_size parameter.
13424 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13425 (setHeightOfRow): reformat
13427 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13429 * converter.[hC] + affected files: move to (inital-char)lowercase
13432 * ParagraphParameters.C (ParagraphParameters): remove commented code
13434 * PainterBase.[Ch]: remove commented code
13436 * LaTeXFeatures.h: add "bool floats" for float.sty
13438 * LaTeXFeatures.C (LaTeXFeatures): init floats
13439 (require): handle float
13440 (getPackages): do it with floats
13442 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13444 * BufferView_pimpl.C (Dispatch): improve handling of
13445 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13447 * commandtags.h: #include lyxfont.h here temporarily to avoid
13450 * bufferlist.h: include LString.h here.
13452 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13454 * text2.C (getStringToIndex): new method.
13456 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13458 * *: Reduced header file dependencies all over.
13460 2001-07-30 Baruch Even <baruch@lyx.org>
13462 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13464 2001-07-29 Baruch Even <baruch@lyx.org>
13466 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13468 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13470 * ParameterStruct.h (endif): add a default constructor to make
13471 sure that all variables is initialized.
13473 * ParagraphParameters.C (ParagraphParameters): adjust
13475 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13477 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13478 index; also, check that there is something to index, and that it
13479 does not span over several paragraphs.
13480 (doubleClick): use WHOLE_WORD_STRICT for double click.
13482 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13484 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13487 2001-07-26 Baruch Even <baruch@lyx.org>
13489 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13490 an InsetFig figure, backwards compatible reading of old figure code.
13492 2001-07-27 Juergen Vigna <jug@sad.it>
13494 * text2.C: font.realize function adaption.
13496 * text.C (draw): add a warnings lyxerr text if needed.
13498 * layout.C: font.realize function adaption.
13500 * language.C: add inherit_language and implement it's handlings
13502 * bufferview_funcs.C (StyleReset): remove language parameter from
13503 font creation (should be language_inherit now).
13505 * bufferparams.C (writeFile): handle ignore_language.
13507 * paragraph.C (getFontSettings): the language has to be resolved
13508 otherwise we have problems in LyXFont!
13510 * lyxfont.C (lyxWriteChanges): added document_language parameter
13511 (update): removed unneeded language parameter
13513 * paragraph.C (validate): fixed wrong output of color-package when
13514 using interface colors for certain fonts in certain environments,
13515 which should not seen as that on the final output.
13517 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13519 * BufferView_pimpl.C:
13524 * LyXAction.C: add thesaurus support
13527 * lyxfind.C: add "once" parameter, for thesaurus, to not
13528 move to the next match
13530 2001-07-26 Juergen Vigna <jug@sad.it>
13532 * lyxfont.C (realize): honor ignore_language too!
13535 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13537 * text.C (draw): one place more for ignore_language to not draw
13540 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13542 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13544 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13546 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13547 the minipage conversion problem.
13549 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13551 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13554 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13556 * BufferView.h: don't forward declare WorkArea
13558 * BufferView.C: don't include WorkArea.h
13560 2001-07-25 André Pönitz <poenitz@gmx.net>
13564 * lyxfunc.C: new LFUN 'math-space'
13566 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13568 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13570 * text2.C (toggleInset): call open/close
13572 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13574 * lyxfunc.C (dispatch): add debug for the disabled case
13576 * font.C (buttonText): make similar to rectText
13578 * buffer.C (readInset): comment out parsing of insetlist and
13581 * PainterBase.C (rectText): small correction
13583 * BufferView_pimpl.C: comment out insettheorem and insetlist
13584 * LyXAction.C: ditto
13585 * commandtags.h: ditto
13587 2001-07-24 Juergen Vigna <jug@sad.it>
13589 * text.C (draw): honor the ignore_language.
13591 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13593 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13595 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13598 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13600 * lyxtext.h: remove unused (and unimplemented) methods
13602 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13604 * text.C (getVisibleRow): honor background color
13607 * Painter.h: remove default color argument for fillRectangle
13609 * text.C (backgroundColor): new method
13611 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13613 * text.C (getVisibleRow): adjust
13615 * font.[Ch] (rectText): new method, metrics
13616 (buttonText): new method, metrics
13618 * PainterBase.[hC]: make rectText and buttonText always draw and take
13621 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13623 * ToolbarDefaults.C (read):
13624 * MenuBackend.C (read): allow escaping in all strings
13626 * BufferView_pimpl.C (insertAndEditInset): new method.
13627 (Dispatch): use insertAndEditInset whenever appropriate.
13629 * BufferView_pimpl.C (insertNote): removed
13631 * BufferView_pimpl.C (smartQuote): new method, moved from
13632 BufferView; if an insetquote cannot be inserted, insert a '"'
13635 * BufferView2.C: remove insertCorrectQuote();
13637 * lyxfunc.C (getStatus): Add support for all remaingin
13638 inset-insert lfuns.
13640 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13642 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13643 command (necessary to pass " as parameter of self-insert.
13645 * text.C (selectWordWhenUnderCursor):
13646 (selectWord): add word_location parameter
13647 (selectWordWhenUnderCursor): same + remove special code for word
13649 (selectNextWord): use kind() to guess type of insetspecialchar,
13652 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13653 (insertErtContents): create ert insets as collapsed.
13654 (readInset): better compatibility code for Info inset.
13656 2001-07-20 Juergen Vigna <jug@sad.it>
13658 * lyxfunc.C (dispatch): use always LyXFind now!
13660 * text2.C (init): add a reinit flag so that the LyXText can be
13661 reinited instead of deleted and reallocated (used in InsetText).
13663 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13669 2001-07-18 Juergen Vigna <jug@sad.it>
13671 * text.C (selectNextWord): handle insets inside inset by calling
13672 always the bv->text functions so that we can go up the_locking_inset!
13674 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13675 in strange locations when inside an inset!
13677 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13678 handling to include insets.
13680 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13682 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13684 * LyXAction.C (init):
13686 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13687 LIGATURE_BREAK, since the name is so stupid.
13689 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13691 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13694 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13696 * sp_form.[Ch]: remove.
13698 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13700 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13703 * src/buffer.C (readInset): ditto.
13705 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13707 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13708 menuSeparator(), endOfSentenceDot(), ldots() and
13709 hyphenationPoint(), which are therefore removed.
13710 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13712 * LyXAction.C (init):
13713 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13715 * paragraph.C (getWord): removed.
13717 * BufferView_pimpl.C (Dispatch): use last word or selection for
13718 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13720 * lyx_main.C (queryUserLyXDir): do not ask before creating
13721 user_dir, except if it has been named explicitely.
13723 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13725 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13726 a document of zero size.
13728 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13730 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13731 approriately in the c-tor and in require().
13732 (getPackages): output the appropriate LaTeX for natbib support.
13734 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13735 variables "use_natbib" and "use_numerical_citations" when reading the
13737 (readInset): read the various natbib cite commands.
13738 (validate): white-space change.
13740 * bufferparams.[Ch]: new variables "bool use_natbib" and
13741 "bool use_numerical_citations".
13742 (writeFile): output them in the LyX file.
13744 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13746 * lyxfunc.C (getStatus): add support for all the inset insertion
13749 * text2.C (insertInset):
13750 * paragraph.C (insetAllowed):
13751 * BufferView_pimpl.C (insertInset): update to take in account the
13752 renaming of insertInsetAllowed
13754 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13756 * text2.C (getInset): new method. returns inset at cursor position.
13758 * BufferView_pimpl.C (Dispatch): changes because of this.
13760 * LyXAction.C (init): rename open-stuff to inset-toggle.
13762 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13764 * text2.C (toggleInset): renamed from openStuff; use
13767 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13769 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13771 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13773 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13775 * buffer.C (readLyXformat2): Add filename to the error dialog
13777 2001-07-18 Juergen Vigna <jug@sad.it>
13779 * tabular.C (GetCellNumber): put an assert here instead of the check!
13781 2001-07-17 Juergen Vigna <jug@sad.it>
13783 * BufferView_pimpl.C (toggleSelection): adapted too.
13785 * text.C (selectNextWord): adapted for use with insets.
13786 (selectSelectedWord): ditto
13788 2001-07-17 Juergen Vigna <jug@sad.it>
13790 * sp_spell.C (PSpell): fix initialitation order.
13792 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13794 * paragraph.C: spacing
13796 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13798 * sp_spell.C: repair language selection for pspell
13800 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13802 * lyxfunc.h: change more methods to begin with lower char.
13804 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13806 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13807 for unknown layouts.
13809 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13811 * buffer.C (readLyXformat2): Generate an error dialog if there are
13814 2001-07-16 Juergen Vigna <jug@sad.it>
13816 * sp_spell.C: always compile ISpell part.
13818 * lyxrc.C: added use_pspell entry and it's handling.
13820 2001-07-13 Juergen Vigna <jug@sad.it>
13822 * sp_spell.C: removed double includes.
13824 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13826 Consistent use of Lsstream.h:
13827 * Lsstream.h: added using std::stringstream for consistencies sake.
13829 * buffer.C: removed using std::stringstream
13831 * lyxfont.C (stateText):
13832 * paragraph.C (asString):
13833 * text.C (selectNextWord, selectSelectedWord):
13834 * text2.C (setCounter):
13835 * vspace.C (asString, asLatexString):
13836 std::ostringstream -> ostringstream.
13838 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13840 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13841 * commandtags.h: add LFUN_HELP_ABOUTLYX
13842 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13844 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13846 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13848 * lyx_gui_misc.C: remove spellchecker
13849 * lyxfunc.C: showSpellchecker
13851 * sp_ispell.h: added
13852 * sp_pspell.h: added
13853 * sp_spell.C: added
13854 * sp_form.[Ch]: removed
13855 * spellchecker.[Ch]: removed
13857 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13859 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13861 (simpleTeXSpecialChars): Simply print the input character without
13862 any special translation if pass_thru is set.
13864 * layout.h: Added bool pass_thru to layout class for being able to
13865 implement pass through of a paragraph for Literate Programming.
13867 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13868 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13869 * layout.C (Read): add "passthru" to list of layout tags and add
13870 code to set the pass_thru boolean when it is read.
13872 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13874 * trans_decl.h: remove allowed from KmodInfo
13876 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13877 remove allowed code
13880 * paragraph_pimpl.C (erase): use boost::prior
13882 * Painter.C (text): use data() instead of c_str() when length is
13884 * WorkArea.C (putClipboard): ditto
13885 * font.h (width): ditto
13887 * BufferView2.C: use it-> instead of (*it). for iterators
13889 * paragraph_pimpl.C: ditto
13890 * paragraph.C: ditto
13891 * minibuffer.C: ditto
13892 * language.C: ditto
13894 * encoding.C: ditto
13895 * counters.C: ditto
13896 * converter.C: ditto
13898 * Variables.C: ditto
13899 * TextCache.C: ditto
13900 * MenuBackend.C: ditto
13901 * LyXAction.C: ditto
13903 * FloatList.C: ditto
13904 * DepTable.C: ditto
13905 * ColorHandler.C (LyXColorHandler): ditto
13907 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13909 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13911 * text2.C (openStuff): reintroduce this method (which had been
13912 nuked in NEW_INSETS frenzy).
13914 * lyxfunc.C (Dispatch): when an action has not been handled, use
13915 its name in the error message, not its number.
13917 * paragraph.C (inInset): change method name to begin with lowercase.
13920 * text2.C: updates because of this.
13922 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13924 * ToolbarDefaults.C (add): add spaces in error message
13926 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13928 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13929 (readLyXformat2): rename return_par to first_par, use lyxlex's
13930 pushToken and remove the manual push handling.
13931 (parseSingleLyXformat2Token): add another ert comp. variable:
13932 in_tabular, rename return_par to first_par. handle newlines better
13934 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13936 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13938 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13940 * text2.C (getParFromID): removed
13942 * buffer.C (getParFromID): new method moved form lyxtext.
13943 * BufferView2.C (insertErrors): adjust
13944 (setCursorFromRow): adjust
13945 * BufferView_pimpl.C (restorePosition): adjust
13946 * lyxfunc.C (Dispatch): adjust
13947 * undo_funcs.C (textUndo): adjust
13949 (textHandleUndo): adjust
13950 (textHandleUndo): adjust
13952 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13954 * buffer.C: up' the LYX_FORMAT
13956 * lyxfont.h: turn NO_LATEX on as default
13958 * buffer.C (insertErtContents): new methods of tex style compability.
13959 (parseSingleLyXformat2Token): use it several places.
13960 * tabular.C (OldFormatRead): and here
13962 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13964 * text2.C: remove some commented code.
13967 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13968 * trans.C: changes because of the above.
13970 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13972 * text2.C (setCounter): Fix counters bug with bibliography layout.
13974 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13976 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13977 own member functions
13978 (simpleTeXSpecialChars): ditto
13980 2001-07-06 Juergen Vigna <jug@sad.it>
13982 * a lot of files: changed the access to LyXText::status and the
13983 call of undo-functions.
13985 * undo.[Ch]: added a inset_id to the undo informations.
13987 * undo_funcs.[Ch]: added and moved here all undo functions.
13989 * lyxtext.h: give the status enum a weight, made status_ a private
13990 variable and made accessor functions for it, removed the whole bunch
13991 of undo-functions as they are now in their own file, make some
13992 functions publically available. Added function ownerParagraph with
13995 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13996 made InInset() a const function, added getParFromID() function.
13998 * buffer.[Ch]: added const version for inset_iterator functions,
13999 added getInsetFromID() function.
14001 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14002 changed undo functions for new version.
14004 2001-07-05 Juergen Vigna <jug@sad.it>
14006 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14007 unknow mechanism does not call the proper constructor but only this
14008 one also if I request the other!?
14010 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14012 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14014 * text2.C (LyXText): use initialization lists.
14016 * lyxtext.h (Selection): initialize set_ and mark_
14017 (init): remove method
14019 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14021 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14023 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14025 * screen.[Ch]: change method names to begin with lowercase
14027 * BufferView_pimpl.C (updateScrollbar): simplify further and
14028 hopefully make it a bit faster.
14030 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14032 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14033 calling directly xforms functions.
14035 * Painter.C (Painter):
14036 * lyx_cb.C (MenuWrite):
14037 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14040 * lyx_gui.C: remove bogus guiruntime extern declaration.
14042 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14044 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14046 (redoDrawingOfParagraph): ditto
14047 (redoParagraphs): ditto
14048 (cutSelection): don't create a object for CutAndPaste use the
14049 static method directly
14050 (pasteSelection): ditto
14052 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14055 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14057 * modifications to some other files because of this.
14059 * Makefile.am (lyx_SOURCES): add XFormsView
14061 * XFormsView.[Ch]: new files
14063 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14064 the main window. Move the gui dependent stuff to XFormsView
14066 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14068 * tabular.C (GetCellInset): update cur_cell also in the row/col
14069 version of this function.
14071 * lyxfunc.C: no need to include figure_form.h here.
14077 * lyxvc.C: no need to include forms.h here.
14079 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14081 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14083 * lyxfunc.C (Dispatch):
14085 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14086 constructor argument.
14088 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14090 * paragraph.C (Paragraph): dont't clear, and just set layout.
14091 (makeSameLayout): use params's copy contructor.
14093 * ParagraphParameters.[Ch] (makeSame): delete method
14095 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14097 * Variables.[Ch]: fix indentation, rename set to isSet
14099 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14101 * lyxfunc.C (Dispatch): fix typo
14103 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14105 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14108 * bufferlist.C: include assert.h for emergencyWrite().
14110 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14112 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14113 give up at last (bug #425202) !
14115 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14121 * spellchecker.C: strip spellchecker options and bring up
14122 preferences tab instead
14124 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14126 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14127 the istringstream constructor
14129 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14131 * paragraph.C (getLayout): fix return value
14133 * paragraph.h: do not declare getLayout as inline.
14135 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14137 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14139 * lyxcursor.h (operator<): new func
14140 (operator>): new func
14141 (operator>=): new func
14142 (operator<=): new func
14144 * text.C (changeCase): use selection.start and selection.end
14145 (changeRegionCase): require from to be <= to. Require par to be a
14148 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14150 2001-06-27 Juergen Vigna <jug@sad.it>
14152 * text.C (cursorLeftOneWord): changed to return the cursor and added
14153 overlay with BufferView * parameter which calls this one.
14155 (selectWord): use new getWord function.
14156 (changeCase): renamed from changeWordCase as and extended to work
14157 also on selections.
14159 * lyxtext.h: added enum word_location
14161 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14162 changeCase as this operates now also on selections.
14164 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14166 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14168 * many files: send debug output to Debug::INFO instead of
14171 * converter.C (View):
14173 (Move): send debug output to Debug::FILES instead of console.
14175 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14177 * lyxfunc.C (getStatus): use func_status
14179 * func_status.h: new header, describing the results of
14180 LyXFunc::getStatus;
14182 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14185 2001-06-25 The LyX Project <jug@sad.it>
14187 * buffer.C (sgmlOpenTag):
14189 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14191 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14193 * text2.C: remove some dead code
14195 * tabular.C (GetCellInset): store the last cell checked (gotten)
14197 * tabular.h: add the helper for the speedup
14199 * lyxtext.h: remove some dead code
14201 2001-06-26 The LyX Project <Asger>
14203 * paragraph.C: Change export to LaTeX of alignment to
14204 \begin{center} and family for better roundtrip work with reLyX.
14206 * Tune the math drawing a bit.
14208 2001-06-25 The LyX Project <Asger>
14210 * LColor.C (LColor): New color for math background. New color
14213 2001-06-25 The LyX Project <jug@sad.it>
14215 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14217 * lyxfunc.C (Open):
14218 * bufferlist.C (newFile): do not restrict to files ending with
14221 * BufferView_pimpl.C (MenuInsertLyXFile):
14223 2001-06-24 The LyX Project <jug@sad.it>
14225 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14228 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14230 * lyxtext.h: rename most methods to begin with a small char.
14231 Lots of changes because of this.
14233 * paragraph.C (Paragraph): do not call fitToSize
14234 (erase): call Pimpl::erase
14235 (insertChar): call Pimpl::insertChar
14236 (insertInset): call Pipl::insertInset
14237 (breakParagraph): do not call fitToSize
14238 (breakParagraphConservative): do not call fitToSize
14239 (fitToSize): remove method
14241 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14243 2001-06-24 The LyX Project <Asger>
14245 * Fix Qt compilation^2
14247 2001-06-24 The LyX Project <jug@sad.it>
14249 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14250 depthHook(getDepth()-1).
14253 * ParagraphParameters.h:
14254 * ParameterStruct.h: change type of depth to unsigned int ==
14255 depth_type. Many adaptations to other files before of that.
14257 2001-06-24 The LyX Project <Asger>
14259 * Fix Qt compilation.
14261 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14263 * paragraph.h: renamed several methods to begin with small letter.
14264 several changes to many parts of the code because of this.
14266 2001-06-23 The LyX Project <jug@sad.it>
14268 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14269 rewritten to discard all double spaces when KeepEmpty is off
14270 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14271 to only handle newlines but not fiddle with spaces and friends.
14273 * lyxfunc.C (MenuNew): when doing 'new from template', use
14274 template_path as default directory
14276 2001-06-23 The LyX Project <Asger>
14278 * Clean-up of header file includes all over
14279 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14281 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14283 * paragraph.h: renamed from lyxparagraph.h
14285 2001-06-23 Asger <lyx@violet.home.sad.it>
14287 * Buffer.h: Removed Buffer::resize
14288 * BufferList.h: Removed BufferList::resize
14289 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14290 the document lazily when we change the width, or the font settings.
14292 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14294 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14296 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14298 * buffer.h: remove out of date comment
14300 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14303 * screen.C: fix "theoretical" GC leak
14305 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14307 * LaTeX.C (scanAuxFile):
14308 (deplog): remove trailing \r when reading stream (useful under
14311 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14313 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14314 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14315 and BufferView::theLockingInset(Inset*), so should use them and not
14316 access bv_->text->the_locking_inset directly.
14318 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14320 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14323 * tex-defs.h: remove old unused file
14325 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14327 * BufferView_pimpl.C: fix typo, remove minibuffer message
14328 when buffer has loaded
14330 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14332 * lyxfunc.C (Dispatch): use stringstream
14333 (MenuNew): use stringstream
14334 (Open): use stringstream
14336 * importer.C (Import): use stringstream
14338 * bufferview_funcs.C (CurrentState): use stringstream
14340 * LaTeX.C (run): use stringstream
14342 * BufferView_pimpl.C (savePosition): use stringstream
14343 (restorePosition): use stringstream
14344 (MenuInsertLyXFile): use stringstream
14346 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14359 * vspace.C: removed // -*- C++ -*- as first line.
14362 * version.h: added // -*- C++ -*- as first line.
14364 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14366 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14368 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14371 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14373 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14376 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14378 * gettext.C: include LString.h even when --disable-nls is on.
14380 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14382 * converter.h (Get): changed argument type from int to
14383 FormatList::size_type to avoid unnecessary conversion.
14385 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14388 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14390 * gettext.h: include LString.h even when --disable-nls is on.
14392 2001-06-07 Juergen Vigna <jug@sad.it>
14394 * text.C (BreakAgain): subst spaces with tabs.
14396 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14397 (resizeInsetsLyXText): set force on resizeLyXText.
14399 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14401 * gettext.h (gettext_init):
14402 (locale_init): use a real definition instead of a macro
14404 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14406 * Bufferview_pimpl.C:
14408 * LColor.C: further lcolor tidies
14410 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14412 * BufferView_pimpl.C (updateScrollbar): simplify.
14414 * BufferView2.C: don't include insets/insetinfo.h, change
14415 prototype for insertInset and call the Pimpl version. let
14416 updateInset call Pimpl version.
14418 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14419 gotoInset to BufferView::Pimpl
14421 2001-06-01 Juergen Vigna <jug@sad.it>
14423 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14424 inside a LockingInset (is the update needed at all?).
14426 2001-05-31 Juergen Vigna <jug@sad.it>
14428 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14429 here not the old one otherwise how should we compare it afterwards
14432 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14437 * FontInfo.C: bring C functions into global namespace when
14440 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14442 * LString.h: make sure config.h has been loaded before LString.h.
14444 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14445 (one for each char read by EatLine!).
14447 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14450 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14452 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14453 to the same as the par we break from
14455 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14457 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14459 * MenuBackend.C (expand): also create menu entries for wide
14460 versions of the floats.
14462 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14464 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14466 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14467 frontends/Makefile.am
14473 * tabular.C (getTokenValue): add std::
14475 * tabular-old.C (getTokenValue): add std::
14476 (getTokenValue): ditto
14477 (getTokenValue): ditto
14479 * screen.C (ToggleSelection): adjust
14481 * lyxtext.h: put selection cursors inside a Selection struct.
14483 * lyxfunc.C (moveCursorUpdate): adjust
14485 * lyxfont.C (latexWriteStartChanges): add std::
14487 * lyxfind.C: adjust
14489 * font.h: delete with(char const *, LyXFont const &)
14491 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14493 * FontInfo.C (getFontname): add std::
14495 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14496 (workAreaButtonPress): adjust
14497 (tripleClick): adjust
14499 (moveCursorUpdate): adjust
14502 * BufferView2.C (gotoInset): adjust
14504 2001-05-30 Juergen Vigna <jug@sad.it>
14506 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14507 to check pspell I add this as default as I now have new pspell
14508 libraries and they seem to use this.
14510 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14512 * text2.C (CutSelection): make the cursor valid before the call to
14515 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14517 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14518 relied on 0 terminated strings and other horrors. Bug found due to
14519 the new assert in lyxstring!
14521 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14524 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14526 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14529 * lyxfunc.C (processKeySym): change method of getting to the
14532 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14533 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14534 * BufferView_pimpl.[Ch]: here as private methods.
14536 2001-05-28 Juergen Vigna <jug@sad.it>
14538 * text.C (SetHeightOfRow): added the update() call again as it is
14539 needed to initialize inset dimensions!
14541 2001-05-16 Juergen Vigna <jug@sad.it>
14543 * text2.C (SetCharFont): Add new function with BufferView * and
14544 bool toggleall parameters for setting insets internal fonts.
14545 (SetFont): Freeze the undo as we may change fonts in Insets and
14546 all this change should be inside only one Undo!
14548 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14549 setting font's in insets as for them we have the SetFont function!
14551 2001-05-15 Juergen Vigna <jug@sad.it>
14553 * text2.C (ClearSelection): to be sure we REALLY don't have any
14556 * tabular.C (TeXCellPreamble): fixed the left border problem for
14559 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14561 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14564 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14566 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14567 LFUN_BREAKPARAGRAPH.
14569 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14570 help test to "internal only", similar for LFUN_INSERT_URL
14572 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14573 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14574 auto_region_delete and deadkeys.
14576 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14579 * LColor.C: remove some dead entries, tidy a little
14581 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14583 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14585 (Dispatch): implement LFUN_ESCAPE
14587 * commandtags.h: add LFUN_ESCAPE
14589 * LyXAction.C (init): add entry for LFUN_ESCAPE
14591 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14592 Remove commented code.
14593 (insertNote): moved here
14594 (open_new_inset): moved here
14596 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14599 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14601 * kbmap.C (findbinding): clean it up and make it work correctly.
14603 * lyx_main.C (init): do not pass argc and argv as parameters
14605 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14607 * buffer.C: fix path for OS/2 & Win32
14611 * lyx_main.C: Added os:: class.
14613 * os2_defines.h: update
14615 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14617 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14618 better by trying again with reduced state.
14620 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14622 * lyxrc.C (read): print error about invalid key sequence only when
14623 debugging (because not all latinX keysyms are known to some X
14626 * kbsequence.C (getiso): add a few std:: qualifiers
14627 (getiso): comment out extra return statement.
14629 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14631 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14633 (Dispatch): enhance the accent inset a bit. (not perfect)
14635 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14637 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14639 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14641 * bufferlist.C (emergencyWrite): fix assert() call
14643 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14645 * text.C (InsertChar): Added trivial patch to only send the "you
14646 can not do multiple spaces this way" message once during a
14649 2001-05-08 Baruch Even <baruch@lyx.org>
14651 * Makefile.am: Changed order of libraries to get LyX to link properly
14652 with the gnome frontend.
14654 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14656 * LaTeXFeatures.h: add a std:: qualifier
14658 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14660 * paragraph.C (String): use stringstream
14662 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14664 * paragraph.C (writeFile): remove footflag arg
14666 * buffer.C (makeLaTeXFile): use stringstream
14667 (latexParagraphs): remove footnot gurba
14669 * LaTeXFeatures.C (getPackages): use stringstream
14670 (getMacros): likewise
14671 (getTClassPreamble): likewise
14672 (getFloatDefinitions): new method
14674 * paragraph.C (writeFile): reindent
14677 * WorkArea.h: revert the xpos + etc changes.
14679 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14681 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14683 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14684 (pasteSelection): likewise
14685 * text2.C (CreateUndo): likewise
14687 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14689 * minibuffer.C (peek_event): temporarily reduce the functionality
14690 of the minibuffer (to allow args on lfuns)
14692 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14693 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14695 * buffer.C (readInset): add compability reading of old float
14696 lists, add reading of new style float list.
14697 (readInset): avoid reevaluation of inscmd.getCmdName()
14698 (getLists): reindent
14700 * MenuBackend.C (MenuItem): implement parsing of
14701 md_floatlistinsert and md_floatinsert.
14702 (expand::LastFiles): move initalizaton of iterators out of loop,
14703 avoid reevaluation.
14704 (expand::Documents): introduce typdedef vector<string> Strings,
14706 (expand::ExportFormats): introduce typedef vector<Format const *>
14707 Formats, and use it.
14708 (expand): implement FloatListInsert and FloatInsert.
14710 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14711 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14712 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14714 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14716 (Dispatch::LFUN_FLOAT_LIST): implement
14718 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14720 * LaTeX.C (run): Fix problem with --export code.
14722 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14724 * BufferView.[Ch] (workarea): removed.
14725 (getClipboard) new method; wrapper for workarea()->getClipboard()
14727 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14730 * WorkArea.h (width, height, xpos, ypos): These methods all
14731 returned the dimensions of the work_area sub-area of WorkArea,
14732 resulting in a position error if the WorkArea were resized. Now
14733 return the dimensions of the entire WorkArea.
14735 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14737 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14739 * LaTeX.C (deplog): correct the syntax of regex reg1
14741 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14743 * undo.C: remove !NEW_INSETS cruft
14745 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14747 * text2.C: remove !NEW_INSETS cruft
14749 * text.C: remove !NEW_INSETS cruft
14751 * tabular.C: remove !NEW_INSETS cruft
14753 * spellchecker.C: remove !NEW_INSETS cruft
14755 * lyxtext.h: remove !NEW_INSETS cruft
14757 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14759 * lyxfunc.C: remove !NEW_INSETS cruft
14761 * lyxfind.C: remove !NEW_INSETS cruft
14763 * lyx_cb.C: remove !NEW_INSETS cruft
14765 * figureForm.C: remove !NEW_INSETS cruft
14767 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14769 * buffer.[Ch]: remove !NEW_INSETS cruft
14771 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14773 * CutAndPaste.C: remove !NEW_INSETS cruft
14775 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14777 * BufferView2.C: remove !NEW_INSETS cruft
14779 * BufferView.h: remove !NEW_INSETS cruft
14781 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14783 * Lsstream.h: include LString.h before the sstream headers to
14784 fix problem with gcc 2.95.3 and lyxstring
14786 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14788 * lyx_main.C: add using directives when needed for C functions
14789 declared in std:: namespace.
14791 2001-04-27 Juergen Vigna <jug@sad.it>
14793 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14794 (SetHeightOfRow): comment out the update call should not be needed!
14796 2001-04-13 Juergen Vigna <jug@sad.it>
14798 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14799 (LyXTabular): tried to minimize operator= operations (and realized
14800 hopfully Lars wish).
14802 2001-04-27 Juergen Vigna <jug@sad.it>
14804 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14806 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14808 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14810 * buffer.C (readInset): hack to make listof algorithm work
14812 * BufferView_pimpl.C: hack to make listof algorithm work
14814 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14816 * LyXAction.C: removed all !NEW_INSETS cruft
14817 (init): moved lfun_item in method
14819 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14821 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14823 * BufferView2.C (theLockingInset): white space.
14825 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14827 * minibuffer.C: include <iostream>
14829 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14831 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14833 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14835 * text.[Ch] (TransposeChars): new method
14837 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14839 * call message directly through LyXView instead of through LyXFunc
14840 * BufferView2.C: adjust
14841 * BufferView_pimpl.C: adjust
14842 * FontLoader.C: adjust
14844 * bufferview_funcs.C: adjust
14845 * converter.C: adjust
14846 * figureForm.C: adjust
14847 * importer.C: adjust
14849 * lyx_gui_misc.C: adjust
14850 * lyxfunc.C: adjust
14853 + more files in subdirs
14855 * lyxparagraph.h (size): move up int file
14858 * adjust all uses of Assert to lyx::Assert.
14860 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14861 lyxfunctional in namespace lyx
14862 * layout.C (hasLayout): ditto
14865 (delete_layout): ditto
14866 (NumberOfClass): ditto
14867 * converter.C (GetFormat): ditto
14872 * bufferlist.C (getFileNames): ditto
14873 (emergencyWriteAll): ditto
14876 * MenuBackend.C (hasSubmenu): ditto
14879 * BufferView_pimpl.C (getInsetByCode): ditto
14881 2001-04-18 Juergen Vigna <jug@sad.it>
14883 * vspace.C (asLatexString): fixed the 100% problem.
14885 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14887 * lyxfunc.C (Dispatch):
14889 * minibuffer.h: add a few std:: qualifiers
14891 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14893 * minibuffer.[Ch]: reimplement so that commands is initiated and
14894 run from lyxfunc, simplified som handling, and made the completion
14895 and history code for complete. wip.
14897 * lyxfunc.C (processKeySym): call message
14898 (miniDispatch): new temporary method
14899 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14900 (LFUN_MESSAGE): implement
14901 (LFUN_MESSAGE_PUSH): implement
14902 (LFUN_MESSAGE_POP): implement
14903 (initMiniBuffer): the initial/defualt minibuffer message.
14905 * lyxfont.[Ch]: inline some more getters
14907 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14909 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14911 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14912 (AutoSave): use LFUN_MESSAGE
14913 (Reconfigure): ditto
14915 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14917 * figureForm.C: use LFUN_MESSAGE
14919 * converter.C (runLaTeX): use LFUN_MESSAGE
14921 * bufferview_funcs.C: use LFUN_MESSAGE
14923 (changeDepth): ditto
14925 * bufferparams.h: use boost::
14927 * bufferlist.h: inherit privately from noncopyable
14929 * bufferlist.C (loadLyXFile): remove some commented code.
14931 * buffer.C (runChktex): use LFUN_MESSAGE
14933 * ShareContainer.h: inherit privately from noncopyable
14935 * ParagraphParameters.[hC] (depth): inline it.
14937 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14939 (message): new method
14940 (messagePush): ditto
14941 (messagePop): ditto
14942 (show): init minibuffer
14943 (showState): direct call
14945 * LaTeX.[Ch]: inherit privately from noncopyable
14946 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14947 instead of WriteStatus.
14949 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14951 * BufferView_pimpl.C (buffer): don't init minibuffer
14952 (workAreaButtonPress): use LFUN_MESSAGE
14953 (workAreaButtonRelease): ditto
14954 (savePosition): ditto
14955 (restorePosition): ditto
14956 (MenuInsertLyXFile): ditto
14957 (workAreaExpose): don't init minibuffer
14958 (update): remove commented code, simplify
14960 * BufferView2.C (openStuff): use LFUN_MESSAGE
14961 (toggleFloat): ditto
14964 (copyEnvironment): ditto
14965 (pasteEnvironment): ditto
14970 (updateInset): remove some commented code
14972 * lastfiles.h: inherit privately from noncopyable
14975 * lyx_main.h: ditto
14977 * lyxlex_pimpl.h: ditto
14979 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14980 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14981 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14983 * LyXAction.h: inherit privately from noncopyable, add methods
14984 func_begin, func_end, returning iterators to the func map.
14986 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14987 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14988 (func_begin): new method
14989 (func_end): new method
14991 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14993 (copySelection): ditto
14994 (pasteSelection): ditto
14996 * BufferView.C: whitespace change
14997 * BufferView.h: inherit privately from noncopyable
14999 2001-04-16 Allan Rae <rae@lyx.org>
15001 * tabular-old.C (l_getline):
15002 * spellchecker.C (sc_check_word):
15003 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15004 an unrecognised preprocessor directive. So ensure they're wrapped.
15006 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15008 * src/exporter.C (Export): Give an error message when path to file
15011 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15013 * LaTeX.C (deplog): Always check that foundfile exists.
15015 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15018 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15020 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15022 * tabular.[Ch] (getLabelList): implement new method
15024 * minibuffer.h: comment ouf setTiimer
15026 * minibuffer.C (ExecutingCB): constify res
15027 (peek_event): constify s
15028 (Set): constify ntext
15029 (Init): constify nicename
15031 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15033 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15034 (savePosition): use two params to Minibuffer::Set
15035 (restorePosition): ditto
15037 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15039 * lyx_main.C: include language.h
15041 * Makefile.am (lyx_main.o): add language.h
15043 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15049 * CutAndPaste.C: include gettext.h
15051 * lyxfont.h: remove old hack with ON and OFF.
15054 * lyxfont.h: do not include language.h...
15059 * bufferview_funcs.C:
15065 * paragraph.C: ... but do it here instead
15067 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15069 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15071 * tabular.C: small reformat
15073 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15076 (BreakParagraph): ditto
15077 (SetOnlyLayout): ditto
15080 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15083 * lastfiles.C: removed most using decl, add std:: where needed
15085 * buffer.C: ws changes
15087 * MenuBackend.C (class compare_format): put into anon namespace
15088 (expand): constify label, names, action, action2
15091 * text.C (SingleWidth): constify font
15092 (IsBoundary): constify rtl2
15093 (GetVisibleRow): constify ww
15095 * LaTeX.C (deplog): constify logfile
15097 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15099 (workAreaExpose): constify widthChange, heightChange
15101 * lyxrow.C (par): moved
15104 * lyxrow.h: as inlines here
15106 * lyxfont.h (shape): moved from lyxfont.C
15107 (emph): moved from lyxfont.C
15109 * lyxfont.C (LyXFont): use initialization list for all
15111 (shape): move to lyxfont.h as inline
15112 (emph): move to lyxfont.h as inline
15115 2001-04-04 Juergen Vigna <jug@sad.it>
15117 * vspace.C: had to include stdio.h for use of sscanf
15119 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15122 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15123 independent of xforms.
15125 2001-04-02 Juergen Vigna <jug@sad.it>
15127 * spellchecker.C: fixed namespace placing!
15129 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15131 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15132 the LyXParagraph * is 0.
15134 2001-03-29 Juergen Vigna <jug@sad.it>
15136 * vspace.C: added support for %, c%, p%, l%.
15137 (stringFromUnit): added helper function.
15138 (asLatexString): changed to give right results for the %-values.
15140 * buffer.C: convert the widthp in a width%.
15142 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15144 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15147 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15148 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15150 * lyx_cb.[Ch]: see above.
15152 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15156 * lyx.[Ch]: replaced by figure_form.[Ch].
15160 * lyxfunc.C: changed headers associated with above changes.
15162 2001-03-27 Juergen Vigna <jug@sad.it>
15164 * BufferView_pimpl.C: set the temporary cursor right!
15166 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15168 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15170 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15172 * LString.h: removed "using std::getline"!
15174 * BufferView_pimpl.C (Dispatch): changes due to changes in
15175 InsetInclude::Params.
15177 * buffer.C (tag_name): removed redundant break statements as they were
15178 producing lots of warnings with my compiler.
15180 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15182 * LString.h: add "using std::getline" when using the real <string>.
15184 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15186 * buffer.C: removed bitset usage.
15187 PAR_TAG moved to an anonymous name space.
15188 (tag_name): new funtion, also in the anonymous namespace.
15189 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15190 (makeDocBookFile): clean code. Completed transition from string arrays
15192 (SimpleDocBookOnePar): code clean.
15194 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15196 * tabular.C: add some comments.
15198 2001-03-22 Juergen Vigna <jug@sad.it>
15200 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15201 compatibility read a bit and fixed bug with minipage in different
15204 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15206 * buffer.C (pop_tag): removed.
15207 (push_tag): removed.
15208 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15209 array replaced with vector. Added support for CDATA sections.
15210 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15212 (makeDocBookFile): XML conformant declaration of CDATA section,
15213 fixed bug related to <emphasis> in the first paragraph char.
15214 (sgmlOpenTag): exclude empty tags.
15215 (sgmlCloseTag): ditto.
15217 * buffer.h (pop_tag): removed.
15218 (push_tag): removed.
15220 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15222 * language.h (Languages): added size_type and size().
15224 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15226 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15227 response on compability reading of minipages. One probliem is that
15228 the old usage of minipages was «flertydig»
15230 * several files here and in subdirs: don't use static at file
15231 scope use anon namespaces instead.
15233 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15235 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15236 LaTeX output. This is necessary for Literate document
15239 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15241 * buffer.C: insert hfill when needed.
15243 * tabular.C (l_getline): use string::erase, small whitespace change.
15245 * BufferView_pimpl.C: try the anon namespace.
15246 * WorkArea.C: ditto
15248 2001-03-16 Juergen Vigna <jug@sad.it>
15250 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15251 otherwise it won't open options-dialogs.
15253 * buffer.C: honor pextraWidth(p) on converting minipages.
15255 * tabular.C (l_getline): changed the functions to strip trailing \r.
15257 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15259 * BufferView_pimpl.C:
15260 * minibuffer..C: added "using SigC::slot" declaration.
15262 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15264 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15270 * paragraph.C: ditto
15272 * lyxtext.h: NO_PEXTRA
15274 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15276 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15277 * ParameterStruct.h: ditto
15278 * ParagraphParameters.h: ditto
15279 * lyxparagraph.h: ditto
15281 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15283 * buffer.C: add compability for minipage alignment.
15284 (latexParagraphs): remove unwanted pextra check.
15286 * several files: remove CXX_WORKING_NAMESPACES
15288 * buffer.C (pop_tag): tie is in namespace boost
15290 * BufferView.h: noncopyable is in namespace boost
15292 * lyx_main.h: ditto
15295 * lastfiles.h: ditto
15296 * bufferlist.h: ditto
15297 * ShareContainer.h: ditto
15299 * LyXAction.h: ditto
15302 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15304 * Merging changes from BRANCH_MVC back into HEAD.
15306 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15308 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15310 * BufferView_pimpl.C: change from intl.C
15314 * Makefile.am: move combox.*
15320 * intl.C: remove dialog (covered by prefs)
15322 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15324 * lyxfunc.C (Dispatch): removed redundant break statement.
15326 2001-03-14 Juergen Vigna <jug@sad.it>
15328 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15330 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15332 * buffer.C: add hack to fix compability reading of minipages.
15334 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15336 * buffer.C (getLists): Cleanup.
15338 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15340 * lyxfont.C (update): don't honor toggleall on font size.
15342 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15346 * Makefile.am: moved to frontends/xforms/
15350 * BufferView_pimpl.C: changes for moved mathpanel
15352 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15354 * gettext.h: fix gettext_init() in --disable-nls
15356 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15358 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15360 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15363 * lyx.h: strip external form
15365 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15367 * BufferView_pimpl.C: add comment, destroySplash()
15369 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15371 * BufferView_pimpl.C:
15375 * lyxfunc.C: use re-worked insetinclude
15377 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15379 * buffer.C: add using std::stringstream.
15381 * lyx_cb.C: readd using std::ios.
15383 * buffer.C: add using std::map.
15385 * BufferView_pimpl.C: add using std::vector.
15387 * ShareContainer.h: add std:: to swap.
15389 * buffer.h: add some typedefs
15390 * buffer.C (getLists): use them
15391 (getLists): renamed from getTocList.
15392 add a counter for the different float types and use it in the
15394 (getLists): use the same counter for the NEW_INSETS and the "non"
15397 * lyx_cb.h: remove unused items, includes, using etc.
15399 * ShareContainer.h: remove some commented code, add more comments
15400 and "documentation".
15402 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15404 * buffer.C (getTocList): make the list also when NEW_INSETS is
15407 * buffer.h: remove TocType
15409 * buffer.C (getTocList): change to return a map<string,
15410 vector<TocItem> >, implement for dynamic number of list.
15412 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15413 * text2.C (PasteSelection): adjust
15414 * CutAndPaste.C (pasteSelection): adjust
15416 * FloatList.C (FloatList): update from the new_insets branch.
15417 * Floating.[Ch]: ditto
15418 * LaTeXFeatures.C: ditto
15420 * lyxlex_pimpl.C: ditto
15422 * paragraph.C (Last): remove when NEW_INSETS is defined.
15424 * other file: changes because of the above.
15426 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15428 * lyxparagraph.h: rename next to next_, previous to previous_,
15429 make them private for NEW_INSETS. Rename Next() to next(),
15430 Previous() to previous().
15432 * other files: changes because of the above.
15434 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15437 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15440 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15442 * main.C (main): pass lyx_localedir to gettext_init().
15444 * gettext.h: remove locale_init and gettext_init macros
15446 * gettext.C (locale_init): new function
15447 (gettext_init): new function
15449 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15452 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15454 * Moved credits to frontends:
15455 * credits.[Ch]: removed
15456 * credits_form.[Ch]: removed
15457 * lyx_gui_misc.C: remove credits stuff
15460 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15462 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15464 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15465 unneeded destructor.
15467 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15468 a standalone pointer again.
15470 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15472 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15478 * ToolbarDefaults.C:
15487 * BufferView_pimpl.C: use new file dialog in GUII
15490 * lyx_cb.C: remove LayoutsCB to Toolbar
15492 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15494 * ShareContainer.h (get): add std:: qualifier
15496 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15498 * ShareContainer.h: define a proper ShareContainer::value_type
15499 type (and use typename to please compaq cxx)
15501 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15503 * lyxparagraph.h: move serveral local vars to
15504 ParameterStruct/ParagraphParameters., use ShareContainer in
15505 FontTable., make vars in FontTable private and add getter and
15508 * paragraph.C: changes because of the above.
15510 * lyxfont.h: remove copy constructor and copy assignment. (the
15511 default ones is ok), move number inside FontBits. move inlines to
15514 * lyxfont.C: add number to initializaton of statics, move several
15515 inlines here. constify several local vars. some whitespace
15516 cleanup. Dont hide outerscope variables.
15518 * Spacing.h: add two new constructors to match the set methods.
15520 * ShareContainer.h: new file, will perhaps be moved to support
15522 * ParameterStruct.h: new file
15524 * ParagraphParameters.h: new file
15526 * ParagraphParameters.C: new file
15528 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15529 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15531 * BufferView_pimpl.C: ParagraphParameter changes.
15532 * buffer.C: Likewise.
15533 * bufferview_funcs.C: Likewise.
15534 * text.C: Likewise.
15535 * text2.C: Likewise.
15537 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15539 * lyxfind.C (LyXReplace): do not redefine default argument in
15541 (IsStringInText): ditto
15542 (SearchForward): ditto
15543 (SearchBackward): ditto
15545 2001-03-06 Juergen Vigna <jug@sad.it>
15547 * lyxfind.C (IsStringInText): put parentes around expressions.
15549 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15551 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15553 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15555 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15557 * stl_string_fwd.h: add comment
15559 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15562 * tabular.C: remove unused DocBook methods
15568 killed DO_USE_DEFAULT_LANGUAGE
15570 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15572 * lyx_gui.C: do not include language.h.
15574 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15575 arguments in function implementation.
15577 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15579 * BufferView_pimpl.C: add <ctime>
15581 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15583 * BufferView_pimpl.C: add using std::find_if
15585 2001-02-27 José Matos <jamatos@fep.up.pt>
15587 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15590 2001-02-11 José Matos <jamatos@fep.up.pt>
15592 * buffer.C (makeDocBookFile): command styles now have a parameter as
15593 "title" by default.
15595 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15597 * layout_forms.[Ch]: removed
15598 * lyx_cb.[Ch]: out character
15599 * lyx_gui.C: out character
15600 * lyx_gui_misc.C: out character
15601 * bufferview_funcs.C: : out character,
15602 added toggleall as parameter in ToggleAndShow
15604 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15606 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15608 * text2.C (SetCurrentFont): Disable number property at boundary.
15610 2001-02-26 Juergen Vigna <jug@sad.it>
15612 * lyxfunc.C (getStatus): added a string argument override function so
15613 that this is correctly called from LyXFunc::Dispatch if it contains a
15614 do_not_use_argument which is used!
15615 (Dispatch): added check for "custom" export and call appropriate func.
15617 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15619 * lyxrc.C: Add language_command_local, language_use_babel and
15620 language_global_options.
15622 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15624 * buffer.C (makeLaTeXFile): Use language_use_babel and
15625 language_global_options.
15627 2001-02-23 Juergen Vigna <jug@sad.it>
15629 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15630 which works with LyXText and putted it inside BufferView. Here now we
15631 only call for that part the BufferView::Dispatch() function.
15633 * BufferView.C (Dispatch): added.
15635 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15636 functions which needs to use a LyXText over from LyXFunc.
15637 (MenuInsertLyXFile): added
15638 (getInsetByCode): added
15639 (moveCursorUpdate): added
15640 (static TEXT): added
15642 2001-02-22 Juergen Vigna <jug@sad.it>
15644 * BufferView_pimpl.C (update): call a status update to see if LyXText
15647 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15649 * vc-backend.C (revert): implement for CVS
15650 (getLog): implement for CVS
15652 2001-02-20 Juergen Vigna <jug@sad.it>
15654 * text2.C (ClearSelection): added BufferView param for inset_owner call
15656 * lyxfunc.C (TEXT): added this function and use it instead of
15657 directly owner->view()-text of getLyXText().
15659 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15661 * src/layout_forms.C: out preamble
15662 * src/layout_forms.h: out preamble
15663 * src/lyx_cb.C: out preamble
15664 * src/lyx_cb.h: out preamble
15665 * src/lyx_gui.C: out preamble
15666 * src/lyx_gui_misc.C: out preamble
15667 * src/lyxfunc.C: connect with guii preamble
15669 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15671 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15673 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15675 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15676 whether to run bibtex.
15678 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15680 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15682 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15684 * Makefile.am (lyx_SOURCES): removed bibforms.h
15686 * vspace.h: doxygen
15688 * text.C (GetVisibleRow): make several local vars const
15690 * tabular.C: small cleanup.
15692 * lyxserver.C (callback): use compare instead of strncmp
15694 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15695 inlines to after class or to paragraph.C
15697 * lyxfont.h: remove friend operator!=
15699 * converter.h: move friend bool operator< to non friend and after
15702 * combox.h: small cleanup
15704 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15705 to inlines after class def.
15707 * buffer.C (pop_tag): use string operations instead of strcmp
15709 * bmtable.c: doxygen, small cleanup
15711 * LaTeX.h: remove friend operator==
15713 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15725 * BufferView_pimpl.C:
15726 * BufferView.[Ch]: remove cruft
15728 2001-02-14 Juergen Vigna <jug@sad.it>
15730 * lyxfunc.C: removed #if 0 unused code
15732 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15734 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15736 * text2.C (SetSelection): added a BufferView * parameter
15738 2001-02-13 Juergen Vigna <jug@sad.it>
15740 * lyxfunc.C (Dispatch): fixed protected blank problem.
15741 * BufferView2.C (protectedBlank): added LyxText * parameter.
15743 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15744 (AppendColumn): same as above for column_info.
15746 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15747 (moveCursorUpdate): use a LyXText param for support of InsetText.
15749 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15750 (tripleClick): ditto
15752 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15754 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15756 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15758 * text2.C (SetSelection): set correct update status if inset_owner
15759 (ToggleFree): ditto
15761 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15763 * tabular.C: remove some commented code.
15765 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15767 * BufferView_pimpl.C: call hideSplash()
15769 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15772 * bibforms.h: remove
15775 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15776 add LFUN_CHILD_CREATE
15778 * counters.h: fix tiny typo
15783 * lyx.C: move splash to frontends/xforms/
15785 * lyx_gui_misc.C: move Include and Bibform to frontends
15787 * lyxvc.h: clarify comment
15789 * vspace.C: tiny housekeeping
15791 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15793 * text.C (PrepareToPrint): RTL Fix.
15795 * paragraph.C (GetUChar): New method.
15796 (String): Use GetUChar.
15798 * buffer.C (asciiParagraph): Use GetUChar.
15800 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15802 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15804 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15807 * buffer.C: rename to getLogName(), handle
15808 build log / latex log nicely
15810 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15813 * MenuBackend.h: remove support for reference menuitem type.
15815 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15817 * BufferView_pimpl.C: housekeeping
15818 * BufferView_pimpl.h:
15823 * minibuffer.h: move Timeout GUI-I
15825 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15827 * lyxrc.C (read): Update converters data-structures.
15829 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15831 * LaTeX.h (operator!=): add operator != for Aux_Info
15833 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15835 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15837 * LaTeXLog.C: deleted, useful code moved to Buffer
15840 * buffer.C: new function getLatexLogName()
15846 * lyxfunc.C: use frontends for LaTeX and VC logs
15848 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15850 * LaTeX.h: yet another std:: that Allan forgot.
15852 * Variables.C (set): renamed from isset(), because this clashes
15853 with some HP-UX macros (grr).
15855 2001-02-06 Allan Rae <rae@lyx.org>
15857 * LaTeX.h: Another bug fix. Missing std:: this time.
15859 2001-02-04 Allan Rae <rae@lyx.org>
15861 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15862 floats problem. I've left it commented out because it's not quite
15863 correct. It should also test that the current object is a table or
15864 figure inset. But I haven't gotten around to figuring out how to do
15865 that. I *think* it'll be something like: "table" == inset.type()
15867 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15870 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15872 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15873 all the citation/databases/styles in the auxilary file.
15874 (run): Rerun latex if there was a babel language error.
15876 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15878 * text.C (Backspace): Preserve the font when changing newline char
15880 (BreakParagraph): If the cursor is before a space, delete the space.
15882 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15884 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15886 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15887 new argument (code).
15888 (ChangeCitationsIfUnique): New method.
15890 * paragraph.C (GetPositionOfInset): Handle bibkey.
15892 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15894 * BufferView_pimpl.h: change type of Position::par_pos to
15895 LyXParagraph::size_type.
15897 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15899 * BufferView_pimpl.C (savePosition, restorePosition): Write
15900 messages to minibuffer.
15902 2001-01-28 José Matos <jamatos@fep.up.pt>
15904 * buffer.C (makeDocBookFile): adds support for document language.
15905 A silly restriction on the name of LatexCommand types where removed.
15906 Added support for CDATA sections, allows to chars unescaped, used
15907 among others in code, to avoid escape < and >.
15909 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15911 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15912 saved positions instrad of a stack. Furthermore, a position is
15913 stored using paragraph id/paragraph position.
15915 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15916 Remove LFUN_REF_BACK.
15918 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15920 * converter.C (dvipdfm_options): New method.
15922 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15924 * vspace.C (isValidLength): Fix for empty input string.
15926 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15928 * LyXAction.C (init): change description of LFUN_FIGURE to
15931 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15933 * LaTeX.C: add using directive
15935 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15937 * MenuBackend.C (expand): Fix the sorting of the formats.
15939 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15941 * lyx_main.C: tiny error message fix
15943 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15945 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15946 calling fl_initialize(). This fixes the problem with ',' as
15947 decimal separator in text files.
15949 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15951 * trans.C (process): Fix the keymap bug.
15953 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15955 * LaTeX.C (scanAuxFiles): New method. Provides support for
15956 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15957 (scanLogFile) Scan for "run BibTeX" messages.
15959 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15960 OT1 font encoding. Also, load the aecompl package if the ae
15963 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15965 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15967 * texrow.C (increasePos): turn two error messages into debug
15970 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15972 * LaTeX.C (scanAux): Handle the \@input macro.
15973 (runBibTeX): Use scanAux().
15975 * language.C (latex_options_): New field.
15977 * LaTeXFeatures.C (getMacros): Add language macros.
15979 * buffer.C (makeLaTeXFile): Small fix.
15981 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15983 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15985 * text2.C: add a using directive.
15987 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15992 * lyxfunc.C: kill LyXBell.
15994 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15996 * text.C (IsBoundary): Remove the error message
15998 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16000 * lyxrc.C (setDefaults): Correct initialization value for
16003 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16005 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16008 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16009 and GotoNextNote().
16011 * src/LyXAction.C: Added reference-next.
16013 * text.C (InsertChar): Use contains instead of strchr.
16015 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16017 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16019 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16020 alignment commands (when needed).
16022 * text.C (InsertChar): Add ':' to number separator chars.