1 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * tabular.h: remove bogus comments
5 * tabular.C (getDescentOfRow):
6 (isPartOfMultiColumn): add assertions
8 * lyxlength.C (inPixels): remove #warning
10 2004-08-14 André Pönitz <poenitz@gmx.net>
12 * paragraph.h: inline getChar()
14 * BufferView.h: remove unused declarations
16 2004-08-14 José Matos <jamatos@lyx.org>
18 * Buffer.[Ch] (readDocument): new name for old readBody.
19 * Buffer.C: new file format, new keywords: \begin_document,
20 \begin_header, \begin_body, \end_body.
22 * bufferparams.C (readToken): replace all calls to lex.nextToken
23 by lex.next(). Do the same to eatLine except where really needed.
25 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
26 line when writing to the lyx file.
28 * output_plaintext.C (asciiParagraph): fix Bibliography style
31 * text.C (read): fix end of file handling.
33 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
35 * MenuBackend.C (Menu::operator[]): new method to access
37 (Menu::hasFunc): new method. search for an item that corresponds
39 (MenuBackend::specialMenu): new method
40 (MenuBackend::expand): if a special menu has been set, skip
41 entries whose func() appears in this menu
43 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
45 * text3.C: use Debug::DEBUG a bit more
47 * text.C (leftMargin): try to simplify a tiny bit change var x to
48 l_margin. Dont output the wide margins always.
49 (rightMargin): no margin in inner texts
51 * rowpainter.h (nestMargin): new func
52 (changebarMargin): new func
53 (rightMargin): new func
55 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
59 * factory.C (createInset): modify setDrawFrame
61 * cursor.C: use Debug::DEBUG a bit more
63 2004-08-14 André Pönitz <poenitz@gmx.net>
66 * Makefile.am: new files to accomodate an 'external' (x,y)-position
67 cache for all insets in (at least partially) visible (top-level)
70 * BufferView_pimpl.C: reset external coord cache before every update.
71 This means the coord cache only contains valid entries.
73 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
76 * BufferView_pimpl.C (getInsetByCode): move function out of class
77 and change in to a template in anon namespace. Also fix to do what
80 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
83 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
85 (breakParagraph): rename par to par_offset and use a local
86 reference. Add code to keep the language over a rebreak.
87 (breakParagraphConservative): rename par to par_offset, use a
89 (mergeParagraph): ditto
91 (isFirstInSequence): ditto
92 (outerFont): rename pit to par_offset
94 * paragraph.C: ws change
99 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
101 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
104 * paragraph.C (simpleTeXOnePar): when we have a \item with
105 optional argument, enclose the argument with curly brackets (in
106 case it contains a closing square bracket)
110 * text3.C (checkInsetHit): constify
112 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
114 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
117 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
119 Fix toggling of collapsable insets with the mouse (bug 1558)
121 * lyxfunc.C (dispatch): adapt to LCursor changes
123 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
124 make sure that dispatch is not invoked twice
126 * cursor.C (needsUpdate): new method
127 (dispatch): return void
128 (result): new method, to access the DispatchResult of the cursor.
130 2004-08-13 José Matos <jamatos@lyx.org>
132 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
134 2004-08-13 André Pönitz <poenitz@gmx.net>
136 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
138 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
141 2004-08-12 André Pönitz <poenitz@gmx.net>
143 * text3.C: take out the 'cursor right' form insertInset and only
144 do it in those places when it is really needed. Fixes crash on
147 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
149 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
151 * BufferView_pimpl.C (setBuffer): initialize the current font of
152 the underlying LyXText
154 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
156 * kbsequence.C (print): use UI native formatting for menu
159 * text.C (insertChar): call Paragraph::insertChar with a font
162 * paragraph.C (insertInset, insertChar): the version that takes a
163 LyXFont argument is now a wrapper around the other one (the
164 opposite used to be true).
166 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
167 argument. Font setting is done in Paragraph now.
169 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
171 * outputparams.h: add new members intitle and lang.
173 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
174 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
176 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
178 * text3.C (dispatch): remove special handling of button 4 and 5,
179 it is now taken care of in the frontend code.
181 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
183 * Spacing.h: add <string> (STLPort compile fix)
185 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
187 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
189 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
191 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
194 * converter.C (showMessage): inherit from unary_function, make
197 * buffer.C (writeFile): initialize retval
199 * InsetList.h: rename private variable list to list_
200 * InsetList.[Ch]: adjust accordingly.
202 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
204 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
205 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
206 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
207 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
208 * ParagraphParameters.C, LaTeXFeatures.C: replace
209 "support/std_sstream.h" with <sstream>
211 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
213 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
214 * lyxsocket.C (LyXServerSocket): ditto
215 (serverCallback): ditto
217 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
219 * LaTeXFeatures.C: check release date when loading jurabib.
221 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
223 * lyxserver.C (startPipe): call register_socket_callback
224 (endPipe): call unregister_socket_callback
226 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
228 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
229 (LyXServerSocket): register the callback
230 (LyXServerSocket): unregister the callback
231 (fd): delete function
232 (serverCallback): improve error checking and setup the callbacks.
233 (dataCallback): change arg to fd.
234 (writeln): new func (copied fro the client socket) used for server
236 (LyXDataSocket): simplify
237 (~LyXDataSocket): close ann unregiser callback
238 (server): delete function
239 (fd): delete function
240 (readln): small changes, improve some std::string usage
241 (writeln): constify a bit
243 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
245 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
248 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
250 * BufferView_pimpl.C (setBuffer): set the layout combox value only
251 after it has been populated
253 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
255 * text2.C (insertInset): move cursor when inserting inset.
257 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
259 * kbmap.C (findbindings): a couple of new methods. returns a
260 container of kb_sequence objects. The real work is done by the
261 private recursive version
262 (printbindings): uses findbindings to print out a bracketed list
263 of bindings (renamed from findbinding).
265 * MenuBackend.C (binding): use kb_keymap::findbindings
267 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
269 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
271 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
273 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
275 * paragraph.C (isWord): return true on insets that report
278 * text.C (getWord): use Paragraph::isWord to decide what is in a
279 word and what is not; fix bug 1609.
281 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
283 * tex-strings.C: add "none" to string_paperpackages[], fixes
284 off-by-one-error in the paperpackage selection.
287 * tex-strings.[Ch]: char const * string[n]
288 -> char const * const string[]
290 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
292 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
293 command, return early.
295 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
297 * debug.h: add DEBUG to enum and fix size of ANY.
299 * debug.C: add support for Debug::DEBUG
300 (showTags): cast errorTags.level to unsigned int
302 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
303 (redoCurrentBuffer): ditto
304 (updateScrollbar): ditto
305 * cursor.C (dispatch): ditto
306 * text2.C (setLayout): ditto
308 (updateCounters): ditto
310 (deleteEmptyParagraphMechanism): ditto
312 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
314 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
315 annotations to cleanup the Makefile slightly.
317 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
319 * lyxrc.C: do not set user_email to a default value but use empty
320 instead. The entry used to be translated, which does not work
321 since at the point where lyxrc is constructed there is no
322 translation service available
324 * messages.C (getLocaleDir): remove and use directly
325 lyx_localedir() instead
327 2004-06-02 Angus Leeming <leeming@lyx.org>
329 Fix crash caused by dereferencing null pointer 'exportdata' in
330 OutputParams by creating a new ExportData variable on the heap,
331 storing it in a boost::shared_ptr.
332 The crash was triggered when generating an Instant Preview
333 of an external inset.
335 * Makefile.am: add outputparams.C
337 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
338 (c-tor): allocate memory to it.
340 * exporter.C (c-tor): associated changes.
342 2004-06-01 Angus Leeming <leeming@lyx.org>
344 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
345 contains data before calling isInset(0). (Bug 1513.)
347 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
349 * exporter.C (checkOverwrite): new method
350 * exporter.C (copyFile): new method
351 * exporter.C (Export): copy referenced files to the document dir
352 * exporter.[Ch]: new class ExportedFile
353 * exporter.[Ch]: new class ExportData. Contains currently the
354 names of referenced external files
355 * outputparams.h: add exportdata member.
357 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
359 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
362 2004-05-19 Angus Leeming <leeming@lyx.org>
367 * lyxfunc.C: small changes due to the introduction of namespace
368 lyx::frontend and the moving of namespace biblio to lyx::biblio.
370 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
372 * text3.C (dispatch): supress update when only moving the cursor
373 * cursor.C (selHandle): remove commented code
375 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
377 * paragraph.C (startTeXParParams): correct column count
378 * CutAndPaste.C (pasteSelection): remove const_cast
379 * output_docbook.C (docbookParagraphs): remove const_cast
380 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
381 const_cast and return ParagraphList::const_iterator
382 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
383 * output_plaintext.C (writeFileAscii): remove const_cast
384 * paragraph.[Ch] (simpleTeXOnePar): make const
385 * paragraph_funcs.C (outerPar): use const iterators
386 * paragraph_pimpl.C (validate): use const iterators
387 * text.C (setHeightOfRow): use const iterators
389 2004-05-17 Angus Leeming <leeming@lyx.org>
392 * LyXAction.C (init): new LFUN_INSET_REFRESH.
394 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
395 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
396 if the citation engine has changed.
398 2004-05-14 José Matos <jamatos@lyx.org>
400 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
401 if the textclass does not provide it. Have it different for sgml and
403 support the language of document.
404 * output_docbook.C (docbookParagraphs):
405 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
406 first anchor as the id of the paragraph, remove special case code.
407 * sgml.C (escapeChar): escape only < & >.
409 2004-05-14 Angus Leeming <leeming@lyx.org>
411 * bufferparams.h: move biblio::CiteEngine enum here to minimize
412 dependencies on src/frontends/controllers/biblio.h. Define a
413 CiteEngine_enum wrapper class to enable the enum to be forward
416 2004-05-12 Angus Leeming <leeming@lyx.org>
418 * buffer.C: up LYX_FORMAT to 234.
419 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
420 use_numerical_citations with a single biblio::CiteEngine cite_engine
422 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
424 2004-05-13 José Matos <jamatos@lyx.org>
427 * converter.C (Converter, readFlags): add xml member.
428 * outputparams.h: add XML flavor.
429 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
431 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
433 * lyxfunc.C (dispatch):
434 (getStatus): fix handling of LFUN_SEQUENCE
436 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
438 * debug.C (showLevel): do not forget the end-of-line marker
440 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
442 * kbmap.C (read): do not stop parsing a bind file when an error
445 2004-04-29 Angus Leeming <leeming@lyx.org>
450 * text2.C: wrap a bunch of #warning statements
451 inside #ifdef WITH_WARNINGS blocks.
453 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
455 * buffer.C: increment format to 233.
457 2004-04-28 Angus Leeming <leeming@lyx.org>
459 * BufferView_pimpl.C:
462 s/updateToolbar()/updateToolbars()/
463 s/Toolbar.h/Toolbars.h/
465 2004-04-28 Angus Leeming <leeming@lyx.org>
467 * BufferView.[Ch] (c-tor):
468 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
469 No longer passes these data to the WorkArea generator.
471 2004-04-28 Angus Leeming <leeming@lyx.org>
473 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
475 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
477 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
479 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
481 * output_latex.C (TeXEnvironment): make sure that there is a line
482 break before \end{foo} for the last paragraph of a document
483 (TeXOnePar): if the paragraph is at the end of the document (or
484 inset) and the language has to be reset, then make sure that the
485 line break is _before_ the language command, not after (fixes bug
486 1225); also make sure that the language reset command is the first
487 thing after the paragraph (to ensure proper nesting of
488 environments and thus fix bug 1404)
490 2004-04-21 John Levon <levon@movementarian.org>
493 * ToolbarBackend.C: make "name" be a programmatic name
494 and a gui_name field.
496 * lyxfunc.C: display the minibuffer on M-x
498 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
500 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
503 2004-04-19 Angus Leeming <leeming@lyx.org>
505 * BufferView_pimpl.C (setBuffer): changed preview interface.
507 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
510 2004-04-19 John Levon <levon@movementarian.org>
512 * BufferView_pimpl.C:
513 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
515 2004-04-05 Angus Leeming <leeming@lyx.org>
517 * text.C (redoParagraphs): add call to updateCounters(), thereby
518 fixing the missing "Figure #:" label from the caption of a
521 2004-04-13 Angus Leeming <leeming@lyx.org>
523 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
524 cursor is clicked out of an inset.
526 2004-04-13 Angus Leeming <leeming@lyx.org>
528 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
529 than an InsetOld one.
531 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
533 * format.[Ch]: add editor to Format
534 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
535 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
537 2004-04-08 André Pönitz <poenitz@gmx.net>
539 * metricsinfo.h: remove PainterInfo::width member
541 2004-04-08 Angus Leeming <leeming@lyx.org>
543 * lyx_sty.C (boldsymbol_def): modify so that it outputs
544 "\providecommand" rather than "\newcommand", thereby preventing
545 clashes with packages that define "\boldsymbol" themselves.
548 2004-04-08 Angus Leeming <leeming@lyx.org>
550 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
551 thereby squashing an unnecessary warning.
553 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
555 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
558 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
560 * BufferView.C (setCursor): call redoParagraph (some insets could
562 (putSelectionAt): remove the 'double update' trick
564 * BufferView_pimpl.C (fitCursor): call refreshPar
565 (workAreaDispatch): remove an uneeded update call
566 (dispatch): remove some manual update calls
568 * cursor.[Ch]: remove cached_y_, updatePos
569 (selHandle): set noUpdate when appropriate
571 * lyxfunc.C (dispatch): track if we need an update
573 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
575 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
576 (paintSelection): cheap optimization, do not call cursorX when not
578 (paintPars): change signature
581 (paintTextInset): adjust
585 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
587 * lengthcommon.C: compilation fix: remove explicit array size from
588 unit_name[] and friends
590 2004-04-05 Angus Leeming <leeming@lyx.org>
592 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
594 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
595 present only for the preferences dialog.
596 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
598 2004-04-05 Angus Leeming <leeming@lyx.org>
600 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
601 to enable the frontends to export changes to lyxrc correctly.
603 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
605 2004-04-07 André Pönitz <poenitz@gmx.net>
607 * cursor.[Ch] (selClear, adjust): remove math
609 * cursor_slice.C: more agressive assert
612 * BufferView_pimpl.C: rework mouse event dispatch
619 2004-04-05 André Pönitz <poenitz@gmx.net>
621 * cursor.[Ch] (valign, halign...): remove unneeded functions
623 2004-04-05 Angus Leeming <leeming@lyx.org>
625 * lyxlength.[Ch] (unit_name et al.): const-correct.
627 2004-04-05 Angus Leeming <leeming@lyx.org>
629 * BufferView_pimpl.C:
638 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
640 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
642 * text3.C (getStatus): add LFUN_BEGINNINGBUF
644 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
646 * lyxfind.C: add a couple of inTexted() tests + other small fixes
647 * BufferView_pimpl.[Ch] (getStatus)
648 * BufferView.[Ch] (getStatus): add
649 * lyxfunc.C (getStatus): move lfuns handled in
650 BufferView::dispatch to te function above
651 * Cursor.C (setSelection): set selection() = true
653 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
655 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
657 2004-03-31 Angus Leeming <leeming@lyx.org>
659 * lyxfunc.C (dispatch): Fall through to the generic
660 Dialogs::show("preamble").
662 2004-03-31 Angus Leeming <leeming@lyx.org>
664 * lyxfunc.C (dispatch): Fall through to the generic
665 Dialogs::show("spellchecker").
667 2004-03-31 Angus Leeming <leeming@lyx.org>
669 * lyxfunc.C (getStatus, dispatch): changed invocation of the
672 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
677 * insetiterator.[Ch]:
682 * undo.[Ch]: s/DocumentIterator/DocIterator/g
684 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
686 * BufferView.C (setCursor, putSelectionAt): call edit to open the
687 insets where we are putting the cursor.
689 2004-03-31 Angus Leeming <leeming@lyx.org>
692 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
694 * lyxrc.[Ch] (read, write): overloaded member functions taking
695 a std::[io]stream arguments.
697 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
699 2004-03-31 Angus Leeming <leeming@lyx.org>
701 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
702 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
704 * lyxtextclass.C (load): if the text class couldn't be loaded, then
705 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
707 2004-03-31 Angus Leeming <leeming@lyx.org>
709 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
710 the LFUN_ALL_INSETS_TOGGLE code.
712 2004-03-30 Angus Leeming <leeming@lyx.org>
714 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
715 has died. Fall through to the generic Dialogs::show("document").
717 2004-03-30 Angus Leeming <leeming@lyx.org>
720 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
721 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
723 * lyxfunc.C (getStatus, dispatch): define the actions for these
724 lfuns. Little more than a cut and pste job from ControlDocument.C
726 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
728 2004-03-30 Angus Leeming <leeming@lyx.org>
731 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
732 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
734 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
735 open/closed state of ollapsable insets. Usage:
737 all-inset-toggle <state> <name>, where
738 <state> == "open" || "closed" || "toggle" and
739 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
741 * lyxtext.h, text2.C (toggleInset): removed.
743 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
744 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
745 now passes LFUN_INSET_TOGGLE to the found inset.
747 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
748 is now invoked as "all-insets-toggle toggle branch".
750 2004-03-30 Angus Leeming <leeming@lyx.org>
754 * pariterator.[Ch]: added/corrected header blurb.
756 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
758 * dociterator.[Ch]: add an inset_ member
759 (backwardPos): implemented
760 (backwardPos, forwardPos): use inset_ when the stack is empty.
761 (doc_iterator_begin, doc_iterator_end): implemented
762 * pariterator.[Ch]: adjust, add begin, end
763 * insetiterator.[Ch]: adjust, add begin, end
767 * BufferView_pimpl.C:
768 * CutAndPaste.C: adjust
770 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
772 * buffer.C: increment file format to 232.
773 * LaTeXFeatures.C: add bibtopic package.
774 * bufferparams.[Ch]: param \use_bibtopic.
776 * lyxrc.[Ch]: add lyxrc bibtex_command
777 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
779 * buffer.C: increment file format to 231.
781 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
783 * dociterator.C: implement forwardPar
784 * iterators.[Ch]: remove, replaced by
785 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
787 * BufferView_pimpl.C:
790 * bufferview_funcs.C:
796 * Makefile.am: adjust
798 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
800 * CutAndPaste.C (pasteSelection): fix 2 crashes
801 (eraseSelection): fix a crash
802 * paragraph_funcs.C: remove a warning
804 2004-03-28 Angus Leeming <leeming@lyx.org>
807 * LyXAction.C (init): new LFUN_PRINT.
809 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
811 2004-03-27 Angus Leeming <leeming@lyx.org>
814 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
816 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
818 2004-03-27 Angus Leeming <leeming@lyx.org>
820 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
821 insetlist always contains non-null pointers to insets.
823 2004-03-26 Angus Leeming <leeming@lyx.org>
825 * src/BufferView_pimpl.C:
829 * src/output_plaintext.C:
830 * src/outputparams.h:
831 * src/paragraph_funcs.C:
835 * src/frontends/controllers/ControlErrorList.C:
836 * src/frontends/gtk/FileDialogPrivate.C:
837 * src/frontends/gtk/GPainter.C:
838 * src/frontends/gtk/GToolbar.C:
839 * src/frontends/qt2/QRef.C:
840 * src/mathed/math_scriptinset.C: squash compiler warnings.
842 2004-03-26 Angus Leeming <leeming@lyx.org>
844 * ispell.C (LaunchIspell::start):
845 * lyx_cb.C (AutoSaveBuffer::start):
846 invoke run(DontWait) rather than runNonBlocking().
848 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
850 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
852 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
854 * kbsequence.C (print): adjust
856 * kbmap.C (printKeySym): rename and change signature
857 (printKey): use LyXKeySym::print()
859 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
861 * undo.C: add using std::advance to compile for stlport
863 2004-03-24 Angus Leeming <leeming@lyx.org>
865 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
866 it leads to a crash when no buffer is present.
868 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
869 Martin Vermeer <martin.vermeer@hut.fi>
871 * lyxfunc.C (dispatch):
872 * bufferparams.C (readToken): use the new LColor::setColor
874 * LColor.[Ch] (setColor): new version that takes two strings as
875 argument and creates a new color entry if necessary
877 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
879 * buffer.C (makeLaTeXFile): if the main latex file that is
880 processed is usually a subdocument of some master, then pretend
881 for a while that it is actually the master
883 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
885 * buffer.C (getLabelList):
886 (getBibkeyList): use getMasterBuffer()
887 (getMasterBuffer): new method. Returns the main document in the
888 case where one is using included documents.
890 2004-03-25 André Pönitz <poenitz@gmx.net>
894 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
896 * ParagraphList_fwd.h: change ParagraphList to a std::vector
898 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
899 text*.C over here. Rename namespace CutAndPaste to lyx::cap
901 * ParameterStruct.h: merge with ParagraphParameters
903 * lyxtext.h: remove LyXText::parOffset() and getPar()
905 * text3.C: Remove all 'manual' update calls. We do now one per user
906 interaction which is completely sufficient.
910 * BufferView_pimpl.C:
913 * ParagraphParameters.[Ch]:
925 * output_docbook.[Ch]:
927 * output_linuxdoc.[Ch]:
928 * output_plaintext.[Ch]:
930 * paragraph_funcs.[Ch]:
931 * paragraph_pimpl.[Ch]:
939 * frontends/controllers/ControlDocument.C:
940 * frontends/controllers/ControlErrorList.C:
941 * frontends/controllers/ControlSpellchecker.C:
944 * insets/insetbase.h:
945 * insets/insetbibitem.C:
947 * insets/insetbranch.C:
948 * insets/insetcaption.C:
949 * insets/insetcharstyle.C:
950 * insets/insetcharstyle.h:
951 * insets/insetcollapsable.C:
952 * insets/insetcollapsable.h:
954 * insets/insetfloat.C:
955 * insets/insetfoot.C:
956 * insets/insetmarginal.C:
957 * insets/insetnote.C:
958 * insets/insetoptarg.C:
959 * insets/insettabular.C:
960 * insets/insettext.C:
961 * insets/insettext.h:
962 * insets/insetwrap.C:
963 * mathed/math_mboxinset.C:
964 * mathed/math_nestinset.C:
965 * mathed/math_scriptinset.C:
966 * mathed/math_scriptinset.h:
969 2004-03-24 Angus Leeming <leeming@lyx.org>
971 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
972 deal with any child processes that have finished but are waiting to
973 communicate this fact to the rest of LyX.
975 2004-03-24 Angus Leeming <leeming@lyx.org>
977 64-bit compile fixes.
979 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
980 (c-tor): pass lyx::pos_types rather than ints.
982 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
985 * text.C (Delete): compile fix.
986 (getPar): ensure that function declaration is the same as that in
989 2004-03-23 Angus Leeming <leeming@lyx.org>
991 * ispell.C (LaunchIspell):
992 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
993 a boost::shred_ptr rather than a std::auto_ptr.
995 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
997 * lyxfunc.C (getStatus): handle read-only buffers correctly;
998 handle LFUN_FILE_INSERT_*
1000 * lyxrc.C (setDefaults, getDescription, output, read):
1001 * lyxrc.h: remove ps_command
1003 2004-03-22 Angus Leeming <leeming@lyx.org>
1005 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1006 Ensure that error_handler is processed once only and that all data
1007 is saved before attempting to output any warning messages.
1009 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1011 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1013 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1015 2004-03-19 André Pönitz <poenitz@gmx.net>
1017 * cursor.[Ch] (reset): take main text inset as argument
1019 * BufferView: adjust
1020 * BufferView_pimpl.C: adjust
1022 * paragraph.[Ch]: fix completely broken operator=()
1024 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1026 * LColor.C (getFromLyXName): make sure that the color name is used
1029 2004-03-17 Angus Leeming <leeming@lyx.org>
1032 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1034 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1035 dialog and to kill a forked process.
1037 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1039 * text2.C (setCursorFromCoordinates): fix font problem
1041 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1043 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1044 bogus "rebuild cursor" code
1046 2004-03-11 André Pönitz <poenitz@gmx.net>
1048 * buffer.[Ch]: use InsetText instead of LyXText as container for
1051 * dociterator.[Ch]: drop the BufferView * member which is not needed
1052 anymore after the change to buffer.C
1054 * paragraph_funcs.C:
1058 * BufferView_pimpl.[Ch]:
1060 * cursor_slice.[Ch]: adjust
1062 * text3.C: fix bug in mathDispatch
1064 2004-03-08 André Pönitz <poenitz@gmx.net>
1066 * undo.[Ch]: use 'StableDocumentIterator' as base for
1069 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1072 * bufferparams.[Ch]: add jurabib support and param.
1074 * LaTeX.C: add FIXME/comment.
1076 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1078 * buffer.C: increment file format to 230.
1080 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1082 * cursor.C (dispatch): avoid infinite loops
1084 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1086 * rowpainter.C (paintSelection): fix x coordinates
1088 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1090 * text.C (rowBreakPoint): fix breaking before displayed insets
1092 2004-03-01 André Pönitz <poenitz@gmx.net>
1094 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1096 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1100 * BufferView_pimpl.C:
1108 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1114 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1115 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1117 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1119 * Bidi.[Ch] (computeTables): const correctness
1120 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1121 fill_hfill, fill_label_hfill and x from Row
1122 * lyxtext.h: prepareToPrint returns a RowMetrics
1123 * rowPainter.C: adjust
1124 * text.C (prepareToPrint): use width, not textWidth. adjust
1125 (redoParagraphInternal, cursorX): adjust
1126 * text2.C (getColumnNearX): adjust
1127 (init): put a default value to the top LyXText::width
1129 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1131 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1133 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1135 * lyxtext.h: add FontIterator class
1137 * text.C (FontIterator, operator*, operator->, operator++): add
1138 (rowBreakPoint, setRowWidth): adjust (fixing a
1141 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1143 * BufferView_pimpl.C (workAreaDispatch): allow also
1144 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1146 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1148 * text.C (rowBreakPoint): fix a bug showing with very large insets
1150 2004-02-25 André Pönitz <poenitz@gmx.net>
1153 * cursor.[Ch]: move some mathed specific code to mathed
1155 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1157 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1158 use_tempdir in preferences
1159 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1161 * lyx_main.C: ensure that tempdir is valid
1162 * lyxlex.h: correct typo
1163 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1164 * paragraph.[Ch] (isMultiLingual): make const
1165 * cursor.[Ch] (openable): make const
1167 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1169 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1171 2004-02-20 André Pönitz <poenitz@gmx.net>
1173 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1175 * cursor.[Ch]: prepare for localized getStatus()
1181 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1183 2004-02-20 André Pönitz <poenitz@gmx.net>
1185 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1187 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1189 * text2.C (setCursorFromCoordinates): switch to absolute coords
1191 (cursorDown): adjust
1192 * text3.C (dispatch): adjust
1194 2004-02-16 André Pönitz <poenitz@gmx.net>
1196 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1199 * cursor_slice.[Ch]: remove unneeded acessor function
1201 * lyxtext.h: rename rtl() to isRTL()
1209 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1211 * rowpainter.C (paintSelection): coord fix
1213 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1215 * Spacing.C: compile fix
1217 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1219 * cursor.C (dispatch): restore current_ before returning
1221 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1223 * text2.C (cursorUp, cursorDown): fix coords
1226 2004-02-12 André Pönitz <poenitz@gmx.net>
1231 * text3.C: add LCursor & parameter to most cursor movement functions
1232 remove usage of LyXText::cursorRow() and cursorPar()
1234 * cursor.[Ch]: add textRow() needed members
1237 * BufferView_pimpl.C:
1240 * BufferView_pimpl.C: adjust
1242 2004-02-11 André Pönitz <poenitz@gmx.net>
1246 * BufferView_pimpl.C: shift undo/redo handling
1248 * cursor.[Ch]: fix mathed crash
1251 * lyxtext.h: move selectionAsText to LCursor
1259 * rowpainter.C: fix excessive drawing
1261 2004-02-06 André Pönitz <poenitz@gmx.net>
1264 * BufferView_pimpl.[Ch]:
1265 * text3.C: move some text specific LFUN handling
1267 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1269 * text3.C (checkInsetHit): adjust coords
1270 * text2.C (getColumnNearX): adjust coords
1271 (edit): adjust coords
1272 * text.C (getRowNearY): add two asserts
1274 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1277 * format.C: add using std::distance to compile on gcc 2.95/stlport
1279 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1281 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1283 2004-02-04 André Pönitz <poenitz@gmx.net>
1285 * BufferView.[Ch] (insertInset):
1286 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1291 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1293 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1294 on the default clause of the switch
1295 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1296 wasn't catched by LCursor::dispatch
1298 2004-02-03 André Pönitz <poenitz@gmx.net>
1301 * cursor.[Ch]: some additional asserts
1303 * undo.[Ch]: remove LyXText dependency in interface
1307 * lyxtext.h (firstPar, lastPar): remove dead functions
1312 * paragraph.[Ch]: adjust
1314 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1316 * lyxfind.C (find): fix argument order in call to ::find
1318 2004-02-02 André Pönitz <poenitz@gmx.net>
1320 * cursor.[Ch]: remove direct access to anchor
1322 * text.C: remove findText() hack
1324 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1326 * iterators.[Ch] (lockPath): remove in favour of...
1327 * BufferView.[Ch] (setCursor): this addition
1328 * BufferView.C (putSelectionAt): adjust
1329 * undo.C (performUndoOrRedo): adjust
1330 * lyxfunc.C (dispatch): adjust
1332 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1334 * iterators.C (lockPath): add a missing slice
1335 * undo.C (performUndoOrRedo): remove redundant positioning code
1337 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1339 * vc-backend.C (scanMaster): ";" -> ';'
1341 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1343 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1344 std::binary_function
1346 * lyxtextclass.C (compare_name): rename to...
1347 (LayoutNamesEqual): ...this
1349 * lyxlex_pimpl.C (compare_tags): inherit from
1350 std::binary_function, put back into anon namespace
1352 * lyxfind.C (MatchString): inherig from std::binary_function
1353 (findChange): use empty() istead of !size()
1355 * format.C (FormatNamesEqual): new functor
1362 * converter.C (compare_Converter): rename to...
1363 (ConverterEqual): ...this, and fixup a bit.
1364 (getConverter): use it, and make function const
1365 (getNumber): use it, and make function const
1369 * bufferlist.C: add using boost::bind
1371 * MenuBackend.C (MenuNamesEqual): new functor
1372 (hasMenu): use it, and make function const
1373 (hasSubmenu): use nested bind to get rid of compare_memfun.
1375 2004-01-30 André Pönitz <poenitz@gmx.net>
1377 * BufferView_pimpl.C:
1380 * cursor_slice.[Ch]:
1383 * paragraph_funcs.C:
1384 * paragraph_funcs.h:
1388 * text3.C: move some of the edit(x,y) handling to the insets
1389 some coordinate changes.
1391 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1393 * text.C: add using statements for std::advance and std::distance
1395 * paragraph.C: add using statement for std::distance
1397 * lyxfind.C: add using statement for std::advance
1399 * cursor.C (region): remove std:: from swap
1400 (openable): use nucleus in stead of operator->
1402 * BufferView.C: add using statements for std::distance and std::swap
1404 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1406 * iterators.C: Remove the pimple, move the needed structures to
1407 the header file. Create accessor for the positions stack.
1408 (asPosIterator): remove function
1410 * PosIterator.C (PosIterator): move constructors to top of file
1411 (PosIterator): reimplement the constructor taking a ParIterator in
1413 (setFrom): new function
1414 (operator!=): inline it
1416 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1418 * lyxfind.C (replaceAll): use std::advance
1420 * iterators.h: inherit from std::iterator.
1422 * PosIterator.C (advance, distance): remove
1423 * PosIterator.h: interit from std::iterator.
1425 2004-01-26 André Pönitz <poenitz@gmx.net>
1428 * BufferView_pimpl.[Ch]:
1432 * bufferview_funcs.C:
1442 * output_linuxdoc.C:
1443 * output_plaintext.C:
1445 * paragraph_funcs.[Ch]:
1446 * paragraph_pimpl.[Ch]:
1452 * text3.C: more IU: dumps most of the rest of the mathcursor
1453 implementation into cursor.[Ch]; "globalize" a bit of it.
1455 2004-01-25 Angus Leeming <leeming@lyx.org>
1457 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1459 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1461 * LaTeXFeatures.h: add nice_ and nice() const
1462 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1464 2004-01-20 André Pönitz <poenitz@gmx.net>
1467 * BufferView_pimpl.C:
1469 * bufferview_funcs.C:
1471 * cursor_slice.[Ch]:
1482 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1483 LCursor and mathcursor parts to LCursor and InsetBase.
1485 2004-01-15 André Pönitz <poenitz@gmx.net>
1487 * cursor_slice.[Ch]: add a few covienience functions
1489 * funcrequest.[Ch]: remove BufferView * member
1491 * BufferView_pimpl.C:
1498 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1500 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1502 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1503 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1505 2004-01-13 André Pönitz <poenitz@gmx.net>
1508 * lyxtext.h: hide cursor and selection anchor behind accessor function
1511 * BufferView_pimpl.[Ch]:
1513 * bufferview_funcs.C:
1523 * cursor_slice.[Ch]: some integer type changes for inset unification
1525 * lyxcursor.[hC]: remove, it's CursorSlice now.
1528 * BufferView_pimpl.[Ch]:
1529 * bufferview_funcs.C:
1535 * textcursor.[Ch]: adjust
1537 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1539 * text2.C (undoSpan): add and use
1540 * text.C (breakParagraph): use undoSpan (fix bug 578)
1543 2004-01-08 Angus Leeming <leeming@lyx.org>
1545 * BufferView_pimpl.C (MenuInsertLyXFile):
1546 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1547 * lyxfunc.C (menuNew, open, doImport):
1548 FileFilterList change to the FileDialog open and save functions.
1550 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1552 * ShareContainer.h: make isEqual and isUnique adaptable
1554 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1556 2004-01-07 Angus Leeming <leeming@lyx.org>
1559 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1561 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1563 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1564 functions replacing find, replace and replaceAll.
1566 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1567 LFUN_WORDFIND(FORWARD|BACKWARD).
1569 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1571 * text.C (breakParagraph): remove an outdated #warning
1573 2004-01-07 André Pönitz <poenitz@gmx.net>
1575 * lyxfind.C: somewhat clearer logic
1577 * text.C: prevent crash in cursorX on unitialized row cache
1579 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1581 * lyxcursor.[Ch] (operator>): add
1582 * textcursor.C (selStart, selEnd): use std::min and std::max
1584 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1586 * Chktex.C: include boost/format.hpp
1588 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1590 * InsetList.C: replace functor MathcIt with adaptable functor
1592 (insetIterator): modify accordingly
1594 * BranchList.h: move the BranchNamesEqual functor here from...
1595 * BranchList.C: ... to here
1597 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1599 (add): replace a finding loop with std::find_if.
1601 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1603 * output_docbook.C: moving LatexParam functionality into
1606 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1608 * buffer.C: increment format to 229.
1610 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1613 * lyx_sty.[Ch]: remove minipageindent_def
1619 * text3.C: remove LFUN_INSET_MINIPAGE
1621 2003-12-28 Angus Leeming <leeming@lyx.org>
1623 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1625 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1627 * text2.C (setParagraph): fix off-by-one crash
1629 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1631 * output_docbook.C: header stuff for AGU
1633 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1635 * text2.C (redoCursor): remove
1638 * BufferView_pimpl.C: remove calls to redoCursor and
1639 setCursor(cursor.par(), cursor.pos()) all around
1641 2003-12-15 Angus Leeming <leeming@lyx.org>
1643 * buffer.C: up the format to 228.
1645 2003-12-15 André Pönitz <poenitz@gmx.net>
1647 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1652 * BufferView_pimpl.C:
1661 2003-12-15 Angus Leeming <leeming@lyx.org>
1663 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1664 than getFromGUIName to manipulate the color.
1666 2003-12-14 Angus Leeming <leeming@lyx.org>
1668 * BranchList.[Ch]: minimize the API.
1669 (Branch::getBranch, getColor): now return a 'const &'.
1670 (Branch::setSelected) now returns a bool set to true if the
1671 selection status changes.
1672 (BranchList::clear, size, getColor, setColor, setSelected,
1673 allBranches, allSelected, separator): removed.
1674 (BranchList::find): new functions, returning the Branch with
1676 (BranchList::add, remove): return a bool indicating that
1677 the operation was successful.
1679 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1680 new InsetBranch::isBranchSlected member function.
1682 * LColor.[Ch]: mimimize the API.
1683 (fill): renamed as addColor and made private.
1684 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1685 versions of these functions taking a string arg have been removed.
1687 * bufferparams.C (readToken):
1688 * lyxfunc.C (dispatch):
1689 * lyxrc.C (read): changes due to the altered BranchList and
1692 * factory.C (createInset, readInset): changes due to altered
1695 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1698 * lyxfunc.C: remove insetminipage. "minipage-insert"
1699 now produces a frameless minipage box inset.
1701 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1703 * textcursor.[Ch] (selStart,selEnd): add new methods
1704 remove selection::start, end, use LyXCursor::operator<
1705 * lyxcursor.[Ch] (operator<): add
1706 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1707 * BufferView.[Ch] (unsetXSel): add
1708 * text2.C (clearSelection): use unsetXSel,adjust
1711 * rowpainter.C: adjust
1712 * bufferview_funcs.C (put_selection_at): adjust
1714 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1716 * BufferView_pimpl.C: small coord. correction
1718 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1720 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1721 dragging over the splash screen.
1723 2003-12-11 Angus Leeming <leeming@lyx.org>
1725 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1726 as it is now handled in LyXText::dispatch.
1728 * text3.C (doInsertInset): remove a level of nesting.
1730 2003-12-11 Angus Leeming <leeming@lyx.org>
1732 * factory.C (createInset): changes due to the changed interface to
1733 InsetCommandMailer::string2params.
1735 2003-12-10 Angus Leeming <leeming@lyx.org>
1737 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1738 'dialog-show-new-inset <inset name>'
1740 2003-12-10 Angus Leeming <leeming@lyx.org>
1742 * buffer.C: up the format to 227.
1744 * factory.C: the box inset is now identified simply by 'Box'.
1746 2003-12-10 Angus Leeming <leeming@lyx.org>
1748 * buffer.C: up the format to 226.
1750 * factory.C: the note inset is now identified simply by 'Note'.
1752 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1754 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1755 when a pit is enough. Standarize a couple of loops.
1757 2003-12-05 Angus Leeming <leeming@lyx.org>
1759 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1760 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1761 data to the re-worked "log" dialog.
1763 2003-12-03 André Pönitz <poenitz@gmx.net>
1769 * paragraph_funcs.C:
1771 * text2.C: use Inset::getText instead of Inset::getParagraph
1773 2003-12-03 André Pönitz <poenitz@gmx.net>
1777 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1778 InsetText::read() as LyXText::read()
1780 2003-12-02 Angus Leeming <leeming@lyx.org>
1782 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1783 type. Add a comment in the implementation that the function uses
1784 the stream's bad() function rather than fail() as the std::streams
1787 2003-12-02 André Pönitz <poenitz@gmx.net>
1789 * lyxlex.[Ch]: make interface more similar to std::stream
1791 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1793 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1795 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1797 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1799 * vspace.[Ch]: remove VSpace::NONE
1801 2003-12-01 André Pönitz <poenitz@gmx.net>
1804 * lyxtext.h: move ParagraphList member to LyXText
1805 rename LyXText::ownerParagraphs to LyXText::paragraph
1808 * bufferview_funcs.C:
1818 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1820 * undo.C: fix cursor positioning
1822 2003-12-01 John Levon <levon@movementarian.org>
1824 * BufferView_pimpl.C: fix a crash on exit with
1827 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1829 * BranchList.C: fix setSelected() method.
1831 2003-11-28 André Pönitz <poenitz@gmx.net>
1833 * ParagraphParameters.[Ch]:
1834 * ParameterStruct.h: remove space above/below from Paragraph to
1837 * BufferView_pimpl.C:
1843 * paragraph_funcs.C:
1849 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1851 * factory.C: Syntax change for CharStyles
1853 2003-11-28 André Pönitz <poenitz@gmx.net>
1858 * buffer.[Ch]: move LyXText member
1860 2003-11-28 André Pönitz <poenitz@gmx.net>
1862 * BufferView.[Ch]: make LyXText * text a private member
1864 * BufferView_pimpl.C:
1875 * output_plaintext.C: cleanup
1877 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1880 * lyxtextclass.[Ch]: parametrize SGML document header
1882 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1885 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1888 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1890 * text2.C (setFont): rework using PosIterator (no more recursive)
1891 (setCharFont): no more needed
1892 (setLayout): no more selection cursors fiddling (done by redoCursor)
1893 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1894 destroy remaining ones)
1896 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1898 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1900 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1903 * text3.C: adjust + re-allow multi par depth changes
1904 * textcursor.C: simplify a bit
1906 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1912 * src/output_docbook.C:
1913 * src/output_latex.C:
1918 * src/text2.C: Introducing a number of tags parametrizing various
1919 XML formats that we may want to support
1921 2003-11-25 André Pönitz <poenitz@gmx.net>
1923 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1925 * lyxtext.h (leftMargin/rightMargin): simplify interface
1932 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1934 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1935 master file to any child files. Fixes bug 546.
1937 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1939 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1941 2003-11-24 André Pönitz <poenitz@gmx.net>
1943 * rowpainter.C: simplification
1945 * text2.C (updateCounters): remove call to redoParagraph on
1946 changed labels as this is far too expensive.
1948 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1950 * converter.C (convert): fix a crash: this function gets
1951 called with buffer == 0 from importer code.
1953 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1955 * text3.C (cursorPrevious): make sure that we do not compare
1956 iterators form different containers.
1959 * rowpainter.C (paintSelection): make sure that we do not compare
1960 iterators from different containers.
1962 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1963 iterators from different ParagraphList containers.
1966 * text2.C (LyXText): change order of initialization slightly
1967 (operator=): new function. copy all variables except cache_par_
1968 (moveUp): make sure that we do not compare iterators from
1969 different ParagraphList constainers.
1972 * text.C (firstPar): new function
1973 (lastPar): new function
1974 (endPar): new function
1976 * lyxtext.h: move things around and group public functions, public
1977 variables, private functions, private variables
1979 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1981 * factory.C: change call to InsetERT constructor to avoid
1982 additional invocation of method status
1983 * text2.C (toggleInset): remove redundant update() call
1984 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1985 instead of a Bufferview pointer
1987 2003-11-21 André Pönitz <poenitz@gmx.net>
1989 * rowpainter.C: simplification
1991 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1993 * text3.C (dispatch): make possible to extend a word/row selection
1996 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1998 * lyxtext.h: x0_,y0_ -> xo_,yo_
1999 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2000 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2001 * rowpainter.C (paintRows): paint full paragraphs
2003 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2005 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2008 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2010 * lyxtext.h: add x0_, y0_
2011 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2012 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2014 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2016 * text2.C (setCursorIntern): move the x_target update here *
2017 * text3.C: change some bv() to true/false in calls to
2018 cursorUp/Down/Right/Left
2019 * cursor.C: use helper function.
2021 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2023 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2024 * paragraph_funcs.[Ch]: correct comment
2025 * rowpainter.C: do not paint selections away from bv->cursor()
2026 Fix a long standing selection painting bug.
2027 * text3.C: generalize mouse-selection code to LyXTexts other that
2029 * textcursor.C: do not use y coords if we can use par offsets
2031 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2033 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2034 cursor position after e.g. inset insert)
2036 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2038 * lyxfind.C (replace): adjust to locking removal + some
2041 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2043 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2046 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2049 * output_docbook.C: XML sanitation: new layout
2050 parameters InnerTag and CommandDepth
2052 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2054 * BufferView_pimpl.C:
2056 * text3.C: Fix the insertion and modification of button-style
2059 2003-11-13 André Pönitz <poenitz@gmx.net>
2061 * InsetList.[Ch]: remove deleteLyXText
2063 * paragraph.[Ch]: cache beginOfBody position
2068 * text3.C: remove superfluous update() calls
2072 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2074 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2075 * BufferView.C (fitLockedInsetCursor): remove
2076 * cursor.[Ch] (getDim): add
2077 * text.C (getRowNearY): add faster version
2078 * text3.C: remove some update calls
2080 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2092 * text3.C: The Character Style /XML short element patch.
2094 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2097 * factory.C: Small step to solving 'unable to insert some insets'
2100 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2102 * cursor.[Ch] (updatePos): new function for updating the y
2103 position of the tip inset
2104 * bufferview_funcs.C (put_selection_at):
2105 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2107 2003-11-11 André Pönitz <poenitz@gmx.net>
2109 * text.C: remove big comment on invalid Paragraph pointers as it is
2112 2003-11-11 André Pönitz <poenitz@gmx.net>
2114 * text_funcs.[Ch]: merge with ...
2122 * Makefile.am: remove text_funcs.[Ch]
2124 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2126 * cursor.C (getPos): return absolute cached y coord
2128 * BufferView_pimpl.C (fitCursor): new simplistic code
2129 (workAreaDispatch): add a fitCursor call
2131 2003-11-10 André Pönitz <poenitz@gmx.net>
2134 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2136 2003-11-10 André Pönitz <poenitz@gmx.net>
2138 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2139 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2140 indicate that the cursor needs to leave an inset
2142 * lyxtext.h: remove inset locking
2144 * cursor.[Ch]: re-implement functionality provided by inset locking
2147 * BufferView_pimpl.[Ch]:
2149 * bufferview_funcs.[Ch]:
2161 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2163 * PosIterator.[Ch]: replace the stack with a vector, add inset
2165 * iterators.[C]: adjust
2167 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2169 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2171 * paragraph_funcs.C (readParToken): put the correct id in the
2172 error item, not the id of the top paragraph
2174 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2176 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2177 * bufferview_funcs.C (put_selection_at): use the above
2179 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2181 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2183 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2185 * output_linuxdoc.h:
2186 * output_plaintext.h:
2188 * output_docbook.h: add #include statements
2190 2003-11-05 José Matos <jamatos@lyx.org>
2192 * output_docbook.[Ch]:
2193 * output_latex.[Ch]:
2194 * output_linuxdoc.[Ch]:
2195 * output_plaintext.[Ch]: New files for output formats.
2196 * output.[Ch]: New file for helper functions.
2199 * paragraph_funcs.[Ch]: output functions moved to new files.
2201 * outputparams.h: rename of latexrunparams.h
2209 * paragraph_funcs.[Ch]:
2210 * paragraph_pimpl.[Ch]:
2211 * tabular.[Ch]: rename ascii to plaintext
2212 and LatexRunParams to OutputParams.
2214 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2216 * iterators.[Ch] (text): require bv argument
2217 * undo.C (recordUndo):
2218 * lyxfunc.C (dispatch):
2219 * bufferview_funcs.C (put_selection_at): adjust
2221 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2223 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2225 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2227 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2230 2003-11-04 André Pönitz <poenitz@gmx.net>
2232 * cursor.[Ch]: restructure
2235 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2237 * iterators.[Ch] (asCursor): remove
2239 * lfuns.h: remove LFUN_INSET_EDIT
2245 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2247 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2249 * lyxfind.[Ch]: complete overhaul
2250 * BufferView_pimpl.C:
2252 * paragraph.[Ch] (insert): add
2254 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2258 * text.C: remove dead spellcheck code
2260 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2262 * dispatchresult.h: add a val setter
2264 * cursor.C (dispatch): use a tempvar for data_[i]
2266 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2268 * PosIterator.[Ch]: compile fix
2270 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2272 * text.C (cursorPar): deactivate the cursor cache
2274 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2276 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2278 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2280 * text3.C (dispatch): adjust for new DisptchResult semantics.
2282 * lyxfunc.C (dispatch): handle update when return from
2283 Cursor::dispatch, adjust for new DispatchResult semantics.
2285 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2286 DispatchResult(true) mean to not update. Add class functions for
2287 setting dispatched and update, as well as reading.
2289 * cursor.C (dispatch): don't handle update here
2291 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2293 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2294 * trans_mgr.C: adjust
2296 * paragraph_funcs.C (readParToken): exception safety
2298 * lyxvc.h: store the vcs pointer in a scoped_ptr
2301 * lyxsocket.C (serverCallback): exception safety
2303 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2305 * ispell.C (clone): make it return a auto_ptr
2307 * factory.C (createInset): exception safety
2308 (readInset): exception safety
2310 * bufferlist.C (newBuffer): exception safety
2312 * Thesaurus.C (Thesaurus): use initialization for aik_
2314 * MenuBackend.C (expandToc): exception safety.
2316 2003-11-03 André Pönitz <poenitz@gmx.net>
2320 * bufferview_funcs.C: remove getInsetFromId()
2323 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2329 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2331 * PosIterator.C (distance, advance): new
2332 * bufferview_funcs.[Ch] (put_selection_at): new
2333 * iterators.[Ch] (lockPath): new
2335 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2337 * iterators.[Ch] (asPosIterator): added
2338 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2339 * PosIterator.[Ch]: added
2341 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2345 * cursor.C (dispatch):
2346 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2348 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2349 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2350 contructor, add a class function dispatched. Remove operator>=
2352 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2354 * debug.C: only use the default constructor for debugstream
2357 * main.C (main): include debug.h and setup the lyxerr streambuf
2360 2003-10-31 José Matos <jamatos@lyx.org>
2362 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2364 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2365 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2366 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2367 * paragraph_pimpl.C (simpleTeXSpecialC):
2368 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2369 add LatexRunParams argument.
2371 * exporter.C (Export): change call accordingly.
2373 * latexrunparams.h: add new member to take care of the other backends.
2374 2003-10-30 José Matos <jamatos@lyx.org>
2376 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2377 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2378 factorise code for paragraph output.
2380 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2383 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2385 * text3.C (dispatch):
2386 * lyxfunc.C (dispatch):
2387 * cursor.C (dispatch):
2388 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2390 * dispatchresult.h: make the dispatch_result_t ctor explicit
2392 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2395 * buffer.C: small refactoring of docbook stuff
2397 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2399 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2402 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2404 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2405 operator dispatch_result_t, and operators for == != and >=
2407 * cursor.C (dispatch): adjust for operator dispatch_result_t
2408 removal. comment out call to update
2410 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2412 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2420 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2423 * dispatchresult.h: new file, DispatchResult broken out of
2426 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2428 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2430 * text.C (rowBreakPoint): put a hack inside #if 0
2432 2003-10-28 André Pönitz <poenitz@gmx.net>
2436 * paragraph_funcs.C:
2439 * text2.C: general cleanup (lots of small stuff)
2441 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2443 * text2.C (cursorEnd): simple fix to the "end key goes to one
2444 before the end on last row" bug
2446 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2448 * text.C (backspace): fix the "zombie characters"
2450 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2452 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2454 2003-10-27 André Pönitz <poenitz@gmx.net>
2456 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2458 * factory.C: handle new InsetPagebreak, InsetLine
2460 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2461 and move handling into new InsetPagebreak, InsetLine
2463 * BufferView_pimpl.C:
2465 * ParagraphParameters.C:
2466 * ParameterStruct.h:
2471 * paragraph_funcs.C:
2472 * paragraph_pimpl.C:
2478 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2481 * lyxrow_funcs.[Ch]:
2487 * text3.C: remove lastPos uses in favour of Row::endpos
2489 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2491 * undo.C (performUndoOrRedo): fix two crashes by setting a
2492 cursor by hand and reordering some calls. Use bv->lockInset instead
2493 of inset->edit because the latter loses cursor information
2495 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2497 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2499 (rowBreakPoint): fix width. change point to point + 1.
2500 Add a missing check.
2502 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2505 * lyxfunc.C: fix (at least partly) the problems
2506 with the Nav menu and headers inside branch insets
2509 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2511 * paragraph.C (getChar): add strong asserts
2513 * lyxrow_funcs.C (lastPos): remove hideous hack
2515 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2516 (fill): adjust to that (avoid an infinite loop)
2518 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2520 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2522 2003-10-23 André Pönitz <poenitz@gmx.net>
2524 * RowList_fwd.h: change list<> to vector<> to gain speed
2525 after suggestion from Alfredo
2527 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2529 * lyxtext.h: move the bidi stuff from here...
2532 * Bidi.[Ch]: ... to here
2534 2003-10-23 André Pönitz <poenitz@gmx.net>
2537 * text.C (isLastRow, isFirstRow): new functions
2539 * paragraph.h: new width cache member
2541 * rowpainter.C: replace RowList::iterator with Row & where possible
2543 * lyxfunc.C: replace several view()->text with a single call
2545 * toc.C: fix 'unused' warning
2547 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2549 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2550 when woring with stream::pos_type
2551 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2553 2003-10-22 André Pönitz <poenitz@gmx.net>
2556 * text.C: use Row & instead of RowList::iterator
2558 * lyxrow.h: rename end() to endpos()
2564 2003-10-22 Angus Leeming <leeming@lyx.org>
2566 * buffer.[Ch] (fully_loaded): new member function, returning true
2567 only when the file has been loaded fully.
2568 Used to prevent the premature generation of previews and by the
2569 citation inset to prevent computation of the natbib-style label.
2571 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2572 templates are all set up.
2574 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2576 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2578 * text.C: fixed an "oops" in the "is a bit silly"
2581 2003-10-21 André Pönitz <poenitz@gmx.net>
2583 * FuncStatus.[Ch]: small stuff, whitespace
2585 * lyxfont.[Ch]: operator<<() for debug reasons
2589 * lyxtext.h: whitespace, spelling
2591 * paragraph.C: naming of variables
2594 * text2.C: small stuff
2597 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2599 * text.C: (1) finish off the inset display() work;
2600 (2) fix the "is a bit silly" bug (accessing char
2603 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2605 * text.C: re-introduce display() for insets, fixing the
2606 various bugs (stretch of line above, math inset
2609 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2611 * text.C (rightMargin): remove spurious semicolon
2613 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2616 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2618 * text3.C: fix one crash due to wrong cursor def
2620 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2622 * vc-backend.C (scanMaster): make the regex static
2624 * LaTeX.C (scanAuxFile): make the regexs static
2626 * text3.C (doInsertInset, dispatch, dispatch):
2627 * text2.C (cursorUp, cursorDown):
2628 * text.C (selectNextWordToSpellcheck):
2629 * BufferView_pimpl.C (dispatch):
2630 * lyxfunc.C (dispatch): localDispatch -> dispatch
2632 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2634 * lyxsocket.C: include <cerrno>
2636 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2638 * lyxfunc.C (dispatch): remove textcache stuff
2640 * bufferlist.C (release): remove textcache stuff
2643 * TextCache.C: delete file
2644 * TextCache.h: delete file
2646 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2648 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2649 delete of the bv_->text.
2650 (resizeCurrentBuffer): remove texcache stuff
2651 (workAreaResize): ditto
2653 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2655 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2658 2003-10-16 André Pönitz <poenitz@gmx.net>
2665 * text3.C: speed up by storing y positions per paragraph plus per-row
2666 offset instead of having a 'full' y position in the row.
2668 2003-10-15 André Pönitz <poenitz@gmx.net>
2672 * undo.[Ch]: make undo aware of inner insets
2674 2003-10-14 Angus Leeming <leeming@lyx.org>
2676 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2677 static member functions LyX::ref() and LyX::cref.
2678 (lastfiles): new accessor functions for the new lastfiles_ member var.
2679 (addLyXView, views_): add a new LyXView to the list of views_.
2680 (updateInset): loop over all LyXViews to call their own updateInset
2681 member function, returning a pointer to the Buffer owning the inset.
2683 * BufferView_pimpl.C (loadLyXFile):
2684 * MenuBackend.C (expandLastfiles):
2685 * bufferlist.C (MenuWrite, QuitLyX):
2686 lastfiles is no longer a global variable.
2687 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2689 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2690 static function. Access through LyX::cref().emergencyCleanup().
2692 2003-10-14 André Pönitz <poenitz@gmx.net>
2694 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2696 * undo.[Ch]: restoring part of 'undo in insets'
2699 * undo_funcs.[Ch]: merge with undo.[Ch]
2701 * tabular.C: small cleansing stuff
2703 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2705 * paragraph_funcs.C (readParToken): report unknown insets as error
2706 boxes. Use the outer paragraph as location (also for unknown
2709 * factory.C (readInset): do not abort on reading an unknown inset.
2710 Eat it and return 0.
2712 2003-10-13 Angus Leeming <leeming@lyx.org>
2714 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2716 * lyxrc.C: displayTranslator is now a function,
2717 declared in GraphicsTypes.h.
2719 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2721 * format.C: new placeholder $$a to pass the socket address.
2723 * bufferlist.[Ch]: new function getBufferFromTmp.
2725 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2726 files in the temporary dir.
2728 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2730 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2732 * Makefile.am: add lyxsocket.[Ch].
2734 * lyx_main.C (error_handler): handle SIGPIPE.
2736 2003-10-13 André Pönitz <poenitz@gmx.net>
2738 * BufferView_pimpl.C:
2743 * undo_funcs.[Ch]: use paroffset_type instead of
2744 ParagraphList::iterators to prevent multiple conversion
2745 (and get a more robust interface)
2747 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2749 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2751 * text3.C (dispatch): ditto
2753 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2755 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2756 move the onlyfile, use onlyfile instead of foundfile in a couple
2759 * DepTable.C (update): flush the error stream a bit more
2761 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2763 * lyxserver.C (callback): adjust
2765 * lyxfunc.C (getStatus): add a missing brace in commented code
2766 (ensureBufferClean): reindent
2767 (dispatch): delete version taking a string
2769 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2771 * LaTeX.C (deplog): move found file handlig from here...
2772 (handleFoundFile): .. to new function here.
2773 (deplog): make sure to discover several files mentioned on the
2776 2003-10-10 André Pönitz <poenitz@gmx.net>
2783 * text3.C: fix some of the tabular crashes
2785 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2787 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2789 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2791 2003-10-09 André Pönitz <poenitz@gmx.net>
2793 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2796 * BufferView_pimpl.C:
2797 * bufferview_funcs.C:
2808 * undo_funcs.C: adjust
2810 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2812 * text2.C (incrementItemDepth): new function, use a backtracking
2813 algorithm to discover the correct item depth.
2814 (resetEnumCounterIfNeeded): new function, use a backtracking
2815 algorithm to discover if counter reset is needed.
2816 (setCounter): use them. Simplify a bit. Add different labels for
2817 different item depths for itemize.
2819 * paragraph.C (Paragraph): remove initialization of enumdepth
2822 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2823 enumerate and itemize. Change the type of itemdepth to signed char.
2825 2003-10-08 André Pönitz <poenitz@gmx.net>
2827 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2832 * tabular.[Ch]: fix crash after 'row-insert'
2834 2003-10-08 Angus Leeming <leeming@lyx.org>
2836 Fix doxygen warnings.
2838 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2839 Remove CutAndPaste:: prefix from header file declaration.
2841 * LColor.h (fill): remove LColor:: prefix from declaration.
2843 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2844 use lyx::depth_type rather than Paragraph::depth_type so that
2845 header file and .C file match.
2847 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2849 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2850 * aspell.C: \file aspell_local.C -> \file aspell.C
2851 * gettext.C: \file gettext.C -> \file src/gettext.C
2852 * gettext.h: \file gettext.h -> \file src/gettext.h
2853 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2854 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2855 * text.C: \file text.C -> \file src/text.C
2857 * toc.C: move comment so that doxygen is not confused.
2859 2003-10-07 Angus Leeming <leeming@lyx.org>
2861 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2863 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2866 * aspell_local.h: add forgotten std::string's.
2868 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2875 * text3.C: The Box patch. Fancybox support, minipage, parbox
2877 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2883 * ParagraphParameters.h:
2893 * lyxtextclasslist.h:
2896 * paragraph_pimpl.C:
2897 * textcursor.h: add <string> and other small fixes to make Lars'
2898 std::string patch compile with STLport.
2900 2003-10-06 Angus Leeming <leeming@lyx.org>
2902 * LColor.h: Add missing #include <string>.
2904 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2906 * All most all file in all subdirs: Make <string> be the prefered
2907 way of getting to std::string, add using declarations.
2909 2003-10-06 André Pönitz <poenitz@gmx.net>
2911 * metricsinfo.C: initialize LyXFont before changing attribute.
2912 (fixes the 'math in \emph is upright' bug)
2914 2003-10-06 André Pönitz <poenitz@gmx.net>
2916 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2918 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2921 * paragraph_pimpl.C: Small fixes to build using STLport
2923 2003-10-02 André Pönitz <poenitz@gmx.net>
2926 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2928 2003-10-01 André Pönitz <poenitz@gmx.net>
2930 * factory.C: assert early
2932 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2934 * lyx_main.C: remove the global debug object
2936 * debug.h: adjust for new debugstream
2938 * debug.C: adjust for new debugstream and keep the global debug
2941 2003-09-22 Angus Leeming <leeming@lyx.org>
2943 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2944 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2945 an incomplete class LyXFont.
2947 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2949 * factory.C: bug fix in branches
2951 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2953 * lyxfunc.C (processKeySym): adjust
2955 (dispatch): change arg name from ev to func, adjust
2956 (sendDispatchMessage): ditto
2958 * lyx_main.C (defaultKeyBindings): adjust keybindings
2959 (deadKeyBindings): ditto
2961 * kbsequence.C (addkey): return a FuncRequest
2963 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2965 * kbmap.C (bind): take a FuncRequest as arg, adjust
2968 (defkey): change to take a FuncRequest as arg, adjust
2969 (findbinding): take a FuncRequest as arg, adjust.
2971 * funcrequest.h (operator=): added
2973 * funcrequest.C (FuncRequest): default kb_action changed from
2974 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2976 * buffer.C (dispatch): simplify
2977 (dispatch): adjust to take a FuncRequest as arg, adjust
2979 * boost.C (assertion_failed): change assertion message slightly
2981 * ToolbarBackend.C (read): simplify
2983 * MenuBackend.C (binding): adjust call to findbinding, add a
2984 message if no binding is found.
2986 (expandToc): correct by adding a empty FuncRequest
2988 * LyXAction.C: include <boost/assert.hpp>
2989 (isPseudoAction): delete function
2990 (LookupFunc): change name to...
2991 (lookupFunc): this. change return type to FuncRequest.
2992 (getActionName): take kb_action as arg, simplify
2993 (funcHasFlag): add an assert, simplify.
2995 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2997 * toc.C (action): return a FuncRequest, simplify
2999 * lyxfunc.C (processKeySym): adjust
3000 (getStatus): delete version that takes an int.
3002 (dispatch): delete version that takes action as int
3004 (sendDispatchMessage): simplify and adjust
3006 * funcrequest.C (getArg): take unsigned int as arg
3008 * ToolbarBackend.C (read): adjust
3009 (add): delete version that takes func as a string.
3010 (getIton): take a FuncRequest as arg
3012 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3015 * MenuBackend.C (MenuItem): add a new construct that only takes a
3016 Kind, simplify the constructor use for submenus.
3018 (expandLastfiles): adjust
3019 (expandDocuments): adjust
3020 (expandFormats): adjust
3021 (expandFloatListInsert): adjust
3022 (expandFloatInsert): adjust
3023 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3025 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3026 Remove class variables lyx_pseudo_map and lyx_arg_map
3028 * LyXAction.C (searchActionArg): delete function
3029 (getPseudoAction): delete function
3030 (retrieveActionArg): delete function
3031 (LookupFunc): make it return kb_action, simplify.
3032 (getActionName): simplify
3034 * factory.C (createInset): fix new bug
3036 2003-09-19 Angus Leeming <leeming@lyx.org>
3038 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3039 masterFilename_ parameter in the include inset.
3041 * factory.C (createInset): changes due to the changes to InsetInclude.
3043 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3045 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3047 2003-09-18 Angus Leeming <leeming@lyx.org>
3050 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3051 Inset::fillWithBibKeys.
3052 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3054 2003-09-18 Angus Leeming <leeming@lyx.org>
3056 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3058 (ctor): pass and store a 'Buffer const &'
3059 (buffer): new member function.
3061 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3062 '*this' to the LaTeXFeatures ctor.
3064 2003-09-18 Angus Leeming <leeming@lyx.org>
3070 * text.C: rename EnumLColor as LColor_color.
3072 2003-09-18 Angus Leeming <leeming@lyx.org>
3074 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3075 remove #include "insets/insetbase.h" from cursor.h.
3077 2003-09-18 Angus Leeming <leeming@lyx.org>
3079 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3080 InsetOld_code to remove #include "inset.h".
3082 * iterators.C: add #include "insets/inset.h"
3084 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3086 * BufferView.C: remove more locking stuff that apparently doesn't
3087 do anything sensible.
3089 2003-09-16 André Pönitz <poenitz@gmx.net>
3092 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3095 2003-09-16 Angus Leeming <leeming@lyx.org>
3097 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3099 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3102 * paragraph.h: remove #include "lyxfont.h". Forward declare
3105 2003-09-16 Angus Leeming <leeming@lyx.org>
3107 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3108 of support/textutils.h.
3109 (isWord): move the contents of support/textutils.h's IsWordChar here.
3115 * text2.C: add #include "paragraph.h".
3118 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3120 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3126 * LaTeX.C: use namespace alias for lyx::support::os
3128 2003-09-16 Angus Leeming <leeming@lyx.org>
3131 * bufferview_funcs.C:
3134 * paragraph_pimpl.C:
3136 * text.C: add #include "LColor.h".
3138 2003-09-16 Angus Leeming <leeming@lyx.org>
3140 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3141 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3143 Store the FontBits::color variable as an int rather than as an
3144 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3147 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3148 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3149 string calls together.
3151 * lyxrc.C: add #include "LColor.h".
3153 2003-09-15 Angus Leeming <leeming@lyx.org>
3155 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3158 2003-09-15 Angus Leeming <leeming@lyx.org>
3160 * LColor.h: add an EnumLColor wrapper for LColor::color.
3162 * lyxfont.[Ch] (color, setColor, realColor):
3163 * lyxtext.h, text.C (backgroundColor):
3164 pass EnumLColor args to/from the functions, rather than LColor::color
3168 * lyxtext.h: forward declare EnumLColor.
3170 * lyx_main.C: add #include "LColor.h".
3172 2003-09-15 Angus Leeming <leeming@lyx.org>
3174 * .cvsignore: add lyx-gtk.
3176 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3181 * ParagraphParameters.C
3185 * bufferview_funcs.C
3195 * vc-backend.C: remove usage of STRCONV
3197 2003-09-15 Angus Leeming <leeming@lyx.org>
3199 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3200 explicitly define the color passed to the painter.
3202 2003-09-15 Angus Leeming <leeming@lyx.org>
3204 * bufferparams.C (BufferParams): reorder member initializers to avoid
3207 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3209 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3210 * text.C (updateRowPositions): remove an unusual nop
3212 2003-09-12 André Pönitz <poenitz@gmx.net>
3214 * BufferView_pimpl.C:
3223 * Counters.[Ch]: finish the 'automatic counters' job
3225 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3227 * aspell.C: include <boost/assert.cpp> (compile fix)
3229 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3231 * boost.C (assertion_failed): use lyx::support::abort instead of
3234 2003-09-10 Angus Leeming <leeming@lyx.org>
3236 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3237 with their _fwd progeny.
3239 2003-09-09 Angus Leeming <leeming@lyx.org>
3241 134 files throughtout the source tree: replace 'using namespace abc;'
3242 directives with the appropriate 'using abc::xyz;' declarations.
3244 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3246 * boost.C (emergencyCleanup): moved here from LAssert.c
3247 (assertion_failed): new function, called by BOOST_ASSERT
3249 * several files: change Assert to BOOST_ASSERT
3251 2003-09-09 Angus Leeming <leeming@lyx.org>
3253 * buffer.[Ch]: Add an Impl class and move Buffer's member
3254 variables into it. As a result move several header files out of
3257 Add header files to lots of .C files all over the tree as a result.
3259 2003-09-09 Angus Leeming <leeming@lyx.org>
3261 * buffer.[Ch]: make Buffer's member variables private. Add
3264 Lots of changes all over the tree as a result.
3266 2003-09-08 Angus Leeming <leeming@lyx.org>
3268 * graph.C: #include <config.h>.
3270 2003-09-08 Angus Leeming <leeming@lyx.org>
3274 * BufferView_pimpl.C:
3303 * toc.C: remove redundant using directives.
3305 2003-09-07 Angus Leeming <leeming@lyx.org>
3307 * LaTeXFeatures.h: remove #include "support/types.h".
3308 * ToolbarBackend.h: remove #include <algorithm>.
3309 * changes.h: remove #include <ctime>.
3310 * debug.h: remove #include <iosfwd>.
3311 * graph.h: remove #include "support/std_string.h".
3312 * lyx_main.h: remove #include <csignal>.
3313 * lyxlex_pimpl.h: remove #include <fstream>.
3314 * sgml.h: remove #include <algorithm>, <utility>.
3315 * toc.h: remove #include "support/std_ostream.h".
3316 Add #include <iosfwd>.
3318 2003-09-07 Angus Leeming <leeming@lyx.org>
3320 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3322 * converter.h: forward declare LatexRunParams.
3323 * encoding.h: remove #include "lyxrc.h".
3324 * lyxtext.h: remove #include "LColor.h".
3325 * lyxtextclass.h: remove #include "support/types.h".
3326 * trans.h: remove #include "tex-accent.h".
3327 * trans_mgr.h: remove #include "tex-accent.h".
3328 * insets/inset.h: remove #include "support/types.h", <vector>.
3329 * insets/insetcollapsable.h: remove #include "LColor.h".
3330 * insets/insetinclude.h: remove #include "dimension.h".
3331 * insets/insetlatexaccent.h: remove #include "dimension.h".
3332 * insets/insetoptarg.h:: remove #include "insettext.h".
3333 * insets/insettext.h: remove #include "dimension.h",
3334 <boost/shared_ptr.hpp>
3336 * insets/renderers.h: add #include "dimension.h".
3337 * insets/updatableinset.h: add #include "support/types.h".
3339 * many .C files: Associated changes.
3341 2003-09-06 Angus Leeming <leeming@lyx.org>
3343 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3344 one, inside testInvariant.
3346 * PrinterParams.C: new file.
3347 * PrinterParams.[Ch]: move the function bodies out of line.
3349 2003-09-06 Angus Leeming <leeming@lyx.org>
3351 * ParagraphParameters.h: forward declare ParameterStruct rather than
3352 including its header file.
3353 (depth): moved out-of-line.
3355 2003-09-06 Angus Leeming <leeming@lyx.org>
3357 * BufferView_pimpl.h:
3360 * lyxfunc.h: forward declare LyXKeySym rather than
3361 #include "frontends/LyXKeySym.h".
3363 * BufferView_pimpl.C:
3366 * lyxfunc.C: associated changes.
3368 2003-09-06 Angus Leeming <leeming@lyx.org>
3370 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3371 As a result, can remove the #include "insets/inset.h" from BufferView.h
3373 2003-09-06 Angus Leeming <leeming@lyx.org>
3375 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3376 As a result, can remove the #include "insets/inset.h" from BufferView.h
3378 2003-09-06 Angus Leeming <leeming@lyx.org>
3384 * bufferview_funcs.C:
3385 * BufferView_pimpl.C:
3390 * ParagraphParameters.C:
3395 * frontends/controllers/ControlDocument.C:
3396 * insets/insetcaption.C: rearrange the #includes into some sort of
3399 * buffer.h: remove #includes ErrorList.h, undo.h
3401 2003-09-06 Angus Leeming <leeming@lyx.org>
3403 * support/types.h: add a 'depth_type' typedef, used to store the
3404 nesting depth of a paragraph.
3407 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3408 defining explicitly.
3411 * paragraph_funcs.h:
3412 * ParagraphParameters.h:
3413 * sgml.h: use lyx::depth_type rather than Paragraph or
3414 ParameterStruct's depth_type.
3417 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3420 * BufferView_pimpl.C:
3422 * ParagraphParameters.C:
3425 * bufferview_funcs.C:
3432 * frontends/LyXView.C:
3433 * frontends/controllers/ControlDocument.C:
3434 * frontends/controllers/ControlErrorList.C:
3435 * insets/insetbibitem.C:
3436 * insets/insetbranch.C:
3437 * insets/insetcaption.C:
3438 * insets/insetcollapsable.C:
3439 * insets/insetenv.C:
3440 * insets/insetert.C:
3441 * insets/insetfloat.C:
3442 * insets/insetfoot.C:
3443 * insets/insetfootlike.C:
3444 * insets/insetnewline.C:
3445 * insets/insetquotes.C:
3446 * insets/insettabular.C:
3447 * insets/insettext.C:
3448 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3450 * frontends/controllers/ControlChanges.C: #include "changes.h".
3452 2003-09-06 Angus Leeming <leeming@lyx.org>
3454 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3455 than #including paragraph.h.
3458 * RowList.h: deleted. Superfluous.
3468 * insets/insettext.h: use ParagraphList_fwd.h rather than
3471 * paragraph.h: don't forward declare ParagraphList.
3474 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3475 rather than ParagraphList.h. paragraph.h is still needed for the
3476 Paragraph::depth_type parameters.
3478 * textcursor.h: enable it to compile stand-alone in light of the
3481 * bufferview_funcs.C:
3493 * frontends/controllers/ControlParagraph.C:
3494 * frontends/controllers/ControlTabular.C:
3495 * insets/insetmarginal.C:
3496 * insets/insetminipage.C:
3497 * insets/insetnote.C:
3498 * insets/insetoptarg.C: add header files needed to compile again.
3500 2003-09-06 Angus Leeming <leeming@lyx.org>
3502 * RowList_fwd.h: new file, forward-declaring Row rather than
3503 #including lyxrow.h.
3508 * insets/insettext.h: use it instead of RowList.h
3510 * bufferview_funcs.C:
3517 * text3.C: #include "RowList.h".
3519 2003-09-05 Angus Leeming <leeming@lyx.org>
3521 * factory.C (createInset):
3522 * vspace.C (c-tor): replace sscanf call with an istringstream.
3523 * ispell.C: re-add missing HP/UX headers.
3524 * lyxserver.C: re-add missing os2 headers.
3526 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3535 * text3.C: re-add missing system headers, needed for 2.95.2.
3537 2003-09-05 Angus Leeming <leeming@lyx.org>
3539 Changes most place everywhere due to the removal of using directives
3540 from support/std_sstream.h.
3542 2003-09-05 Angus Leeming <leeming@lyx.org>
3544 Replace LString.h with support/std_string.h,
3545 Lsstream.h with support/std_sstream.h,
3546 support/LIstream.h with support/std_istream.h,
3547 support/LOstream.h with support/std_ostream.h.
3549 Changes resulting throughout the tree.
3551 2003-09-05 Angus Leeming <leeming@lyx.org>
3553 * sgml.h: ensure that the header file can be compiled stand-alone.
3554 * *.C: strip out redundant #includes. (320 in total.)
3556 2003-09-04 Angus Leeming <leeming@lyx.org>
3558 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3559 here (from getPackages).
3561 * debug.[Ch]: add a new EXTERNAL tag.
3563 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3565 * text2.C (cursorEnd): simplify
3567 (getColumnNearX): adjust
3569 * text.C (computeBidiTables): adjust
3572 * rowpainter.C (paintChars): adjust
3573 (paintSelection): adjust
3574 (paintChangeBar): adjust
3577 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3579 (numberOfSeparators): adjust
3581 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3587 * text3.C: Restricts the mouse click functionality
3588 of insets like bibtex, include, toc and floatlist to the visible
3589 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3590 up the dialogs. Cursor has to be in front of the inset (i.e.
3591 start of row) for this to function.
3593 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3595 * bufferview_funcs.C (currentState): output row information
3597 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3599 * bufferview_funcs.C (currentState): output paragraph position
3601 2003-09-04 Angus Leeming <leeming@lyx.org>
3603 * FloatList.h: move out #include "Floating.h".
3604 * LaTeX.h: move out #include "DepTable.h".
3605 * LyXAction.h: move out #include "funcrequest.h".
3606 * buffer.h: move out #include "author.h", "iterators.h".
3607 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3608 * lyx_main.h: move out #include "errorlist.h".
3609 * lyxfunc.h: move out #include "FuncStatus.h".
3610 * lyxtext: move out #include "lyxcursor.h".
3611 * paragraph_pimpl.h: move out #include "counters.h".
3613 2003-09-03 Angus Leeming <leeming@lyx.org>
3615 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3616 preamble_snippets list, enabling us to add snippets to the preamble
3617 only if the snippet was not there already.
3619 2003-09-04 Angus Leeming <leeming@lyx.org>
3621 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3623 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3625 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3628 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3630 * BranchList.C: point fix, earlier forgotten
3632 2003-09-02 Angus Leeming <leeming@lyx.org>
3634 * box.C (contains): renamed from 'contained' after a fantastic
3637 2003-09-02 John Levon <levon@movementarian.org>
3643 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3645 2003-09-02 John Levon <levon@movementarian.org>
3647 * text2.C: simplification of cursorEnd(), including partial
3650 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3652 * buffer.C (readFile): add a space
3654 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3656 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3658 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3660 * buffer.C (readFile): new function, take a filename and a
3661 ParagraphList::iterator
3663 (readFile): adjust, make it private. don't use setStream, make
3664 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3665 always contain the filename.
3667 * BufferView.C (insertLyXFile): simplify and make it work for
3670 2003-08-30 John Levon <levon@movementarian.org>
3672 * Makefile.am: fix dist (from Kayvan)
3674 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3676 * most files: change to use const Buffer refs
3678 2003-08-27 André Pönitz <poenitz@gmx.net>
3680 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3681 on top of ownerPar().
3683 2003-08-27 John Levon <levon@movementarian.org>
3685 * funcrequest.C: properly initialise POD members
3687 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3689 * lyxtext.h (top_y): move top_y from here
3694 * BufferView_pimpl.[Ch]: to here
3695 * frontends/screen.C:
3696 * insets/insettabular.C:
3697 * insets/insettext.C: adjust
3698 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3700 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3703 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3705 2003-08-26 André Pönitz <poenitz@gmx.net>
3707 * paragraph_func.[Ch] (outerPar): new function
3710 * paragraph_funcs.C:
3711 * paragraph_funcs.h:
3712 * paragraph_pimpl.C:
3713 * text2.C: remove Inset::par_owner
3715 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3720 * text2.C: eliminates the needFullRow/display() stuff
3721 altogether, putting the logic in metrics/draw in the insets.
3723 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3725 * text2.C (redoParagraphInternal, redoParagraphs):
3726 * text.C (redoParagraph): add a call to updateRowPositions at the
3727 end of each 'metrics-like' call. Remove all others.
3728 (getRow): remove the 'y-computing' version.
3729 (getRowNearY): do not compute nor return the real y. Solve the
3730 'y < 0' problem and simplify.
3732 2003-08-22 Angus Leeming <leeming@lyx.org>
3734 * *.[Ch]: clean-up of licence and author blurbs.
3735 Also move config.h out of a few .h files and into a few .C files.
3737 2003-08-22 André Pönitz <poenitz@gmx.net>
3739 * lyxrow.[Ch]: add x_ and *fill_ members
3744 * text2.C: adjust/remove prepareToPrint() calls
3746 2003-08-22 André Pönitz <poenitz@gmx.net>
3748 * lyxrow.[Ch]: add end_ member
3750 * lyxrow_funcs.C: use LyXRow::end_
3752 * lyxtext.h (singleWidth): add LyXFont parameter
3755 * text2.C: adjust LyXText::singleWidth() calls
3757 * text.C (redoParagraph): simplify row breaking logic
3760 2003-08-19 André Pönitz <poenitz@gmx.net>
3762 * funcrequest.C: initialize button_ member
3765 * rowpainter.[Ch]: interface consolidation
3767 2003-08-18 André Pönitz <poenitz@gmx.net>
3770 * BufferView_pimpl.C:
3772 * paragraph_funcs.C:
3774 * text3.C: remove LyXScreen::draw() and fitCursor calls
3776 * BranchList.h: remove spurious semicolons
3778 * MenuBackend.C: fix branchlist related crash
3780 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3788 * bufferparams.[Ch]:
3792 * text3.C: implements the 'branch inset'
3793 idea. This allows the output of various versions of a document
3794 from a single source version, selectively outputing or suppressing
3795 output of parts of the text.
3796 This implementation contains a 'branch list editor' in a separate
3797 tab of the document settings dialog. Branches are user definable
3798 and have a "display colour" to distinguish them on-screen.
3800 ColorHandler was somewhat cleaned up.
3801 (1) make possible a dynamically growing LColor list by allowing
3802 the graphic context cache to grow along (vector);
3803 (2) eliminate an IMHO unnecessary step in colour allocation.
3805 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3807 * BufferView_pimpl.C: compile fix
3809 2003-08-15 André Pönitz <poenitz@gmx.net>
3811 * rowpainter.C: remove extra metrics calls
3813 * lyxtext.h: merge the two constructors into a single one,
3814 pass reference to owner's par list
3816 * BufferView_pimpl.C:
3820 2003-08-15 André Pönitz <poenitz@gmx.net>
3822 * lyxrow_funcs.[Ch]:
3825 * paragraph_funcs.C:
3830 * text_funcs.C: split LyXText::rowlist_ into individual
3831 Paragraph::rows_ chunks
3834 * BufferView_pimpl.[Ch]:
3837 * text3.C: remove toggleSelection()
3839 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3841 * bufferlist.C: beautify two alerts (shorter text of buttons)
3842 * buffer.C: Remove redundant ' ' from message
3844 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3845 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3846 rename VALIGN_CENTER to VALIGN_MIDDLE
3848 2003-08-11 André Pönitz <poenitz@gmx.net>
3850 * lyxtext.h (getPar):
3851 * text.C: new function
3853 2003-08-11 André Pönitz <poenitz@gmx.net>
3856 * tracer.[Ch]: remove unneeded files
3858 * InsetList.[Ch]: remove resizeInsetsLyXText()
3863 * text3.C: merge insertParagraphs() and appendParagraph()
3864 remove breakAgain(), update()
3866 * BufferView_pimpl.[Ch]:
3867 * bufferview_funcs.[Ch]:
3871 * tabular.C: adjust after text & InsetList changes.
3873 2003-08-08 André Pönitz <poenitz@gmx.net>
3875 * text.C (insertChar, backspace): replace rowlist fiddling
3876 with rebreak of full par
3879 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3880 checkParagraph, updateInset): removed
3882 2003-08-07 André Pönitz <poenitz@gmx.net>
3885 * text3.C: merge some LFUN handlers, remove dead code
3887 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3889 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3891 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3893 * text2.C (DEPM): fix part of bug 1255 and 1256
3895 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3897 * BufferView_pimpl.C (workAreaDispatch): change to use
3898 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3899 that are no mouse related.
3901 2003-08-05 André Pönitz <poenitz@gmx.net>
3904 * BufferView_pimpl.[Ch]:
3905 * bufferview_funcs.C:
3907 * text3.C: rip out "deep update"
3909 * textcursor.[Ch] (last_sel_cursor): remove unused member
3911 2003-08-04 André Pönitz <poenitz@gmx.net>
3914 * BufferView_pimpl.[Ch]:
3915 * ParagraphParameters.C:
3916 * bufferview_funcs.C:
3922 * text3.C: replace "complicated" BufferView::update(...) calls with
3925 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3927 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3929 * Makefile.am (lyx_SOURCES): add paper.h
3931 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3933 * Makefile.am: move things around so that both lyx-qt and
3934 lyx-xforms can be built (according to --with-frontend). Then lyx
3935 is a symbolic link to lyx-[firstfrontend]
3937 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3939 * Always use std::endl with lyxerr
3941 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3943 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3945 2003-08-01 André Pönitz <poenitz@gmx.net>
3948 * BufferView_pimpl.[Ch]:
3950 * text3.C: merge BufferView::repaint() and BufferView::update()
3952 2003-08-01 José Matos <jamatos@lyx.org>
3954 * buffer.[Ch]: file_format is no longer a buffer data element.
3956 2003-08-01 André Pönitz <poenitz@gmx.net>
3961 * text2.C: make redoParagraph more independent of current cursor
3963 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3965 * text2.C: remove unneeded members
3967 2003-07-30 André Pönitz <poenitz@gmx.net>
3969 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3971 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3972 create a single function...
3974 * paragraph_funcs.C (moveItem): ... here.
3977 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3979 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3981 * LColor.[Ch]: Add comment and greyedout logical colors.
3983 2003-07-30 André Pönitz <poenitz@gmx.net>
3985 * tabular.C: don't use Assert too heavily. This crashes where it
3988 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3990 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3991 is disabled (bug 1232)
3993 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3995 * factory.C: limited 'arg' scope
3997 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3999 * factory.C: fixed Note submenu issues
4001 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4003 * factory.C: submenu for Note/Comment/Greyedout
4005 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4008 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4010 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4013 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4014 greyedout. Patch provided by Jürgen Spitzmüller.
4016 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4018 * kbmap.C (read): fix error message when reading bind files
4020 2003-07-29 Angus Leeming <leeming@lyx.org>
4022 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4023 certainly does not do what it purports to do. I am doing it, and
4024 us, a favour by killing it.
4026 2003-07-28 José Matos <jamatos@lyx.org>
4028 * buffer.C (readBody, do_writeFile):
4029 * paragraph.C(readParagraph): \end_document replaces \the_end.
4031 2003-07-29 André Pönitz <poenitz@gmx.net>
4034 * BufferView_pimpl.[Ch]:
4038 * textcursor.[Ch]: remove toggleToggle & Co
4040 2003-07-28 José Matos <jamatos@fep.up.pt>
4042 * buffer.C (readParagraph):
4043 * params_func (readParToken, readParagraph):
4044 * paragraph.C (write): \layout -> \begin_layout.
4046 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4048 * lyxlex_pimpl.C (setFile): clean up slightly.
4050 * bufferparams.h: add compressed var
4052 * buffer_funcs.C (readFile): adjust for LyXLex change
4053 (newFile): ditto + simplify
4055 * buffer.C (writeFile): handle writing of compressed files
4057 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4058 Check if the file is compressed and set a bufferparm if so.
4060 * Makefile.am (lyx_LDADD): remove explicit -lz
4062 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4064 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4065 makeDocBookFile): put the real LyX version in the first line of
4069 * version.C.in: remove lyx_docversion
4071 * tabular.C (write_attribute): add a template-based version to
4072 write enums properly
4074 2003-07-28 André Pönitz <poenitz@gmx.net>
4079 * text3.C: use doubles again for x-coordinates. They are needed.
4081 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4083 * messages.C (getLocaleDir): use lyx_localedir()
4085 * lyxlex_pimpl.C (setFile): compress stuff
4087 * buffer.C (writeFile): add some compression stuff
4088 (do_writeFile): new func, dont call expliti close... will this
4091 * Makefile.am (lyx_LDADD): add -lz
4093 2003-07-28 José Matos <jamatos@fep.up.pt>
4095 * buffer.C: increment file format.
4096 * paragraph_funcs (readParagraph, readParToken):
4097 * paragraph.C (readParagraph): add \end_layout.
4099 2003-07-27 Angus Leeming <leeming@lyx.org>
4101 * Makefile.am: remove special casing for configure-time setting of
4102 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4104 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4105 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4107 2003-07-26 André Pönitz <poenitz@gmx.net>
4109 * paragraph_func.[Ch]:
4110 * paragraph.C (realizeFont): inline it whereever it is used
4115 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4118 2003-07-26 André Pönitz <poenitz@gmx.net>
4122 * text2.C: get rid of LyXText::need_break_row
4124 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4126 * toc.[Ch]: put namespace toc inside namespace lyx
4128 * MenuBackend.C (expandToc2): adjust for lyx::toc
4131 * lyxfunc.C (dispatch): adjust for lyx::find
4133 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4134 lyx::find instead. Reorganize a bit.
4135 (LyXReplace): rename to replace
4136 (LyXFind): rename to find
4138 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4141 2003-07-26 André Pönitz <poenitz@gmx.net>
4143 * text.C (setHeightOfRow): restrict scope of temporary variable
4145 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4146 code (never has been used?)
4148 2003-07-27 Asger Alstrup <alstrup@local>
4150 * text.C (fill): Optimise algorithm to exploit that we can reuse
4151 the LyXFont for many characters.
4152 (setHeightOfRow): Same thing.
4153 (rowBreakPoint): Same thing.
4155 2003-07-26 Asger Alstrup <alstrup@local>
4157 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4159 * text.C (singleWidth): Spurious font copying in hot-spot
4160 singleWidth avoided. Reorder tests for arabic for efficiency.
4162 * text.C (fill): handle empty paragraphs better.
4164 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4167 * encoding.h: add includes
4169 * lyxrc.C: remove reading of bind files
4171 * lyx_main.C (init): setup bindings and menus only if we have a
4174 * kbmap.C (read): new method. Do the actual reading of bind
4177 * converter.C (dvipdfm_options):
4180 (output): adapt PAPER_* enums.
4182 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4184 * bufferparams.h: remove paper-related enums from there
4186 * paper.h: New file. A trivial header file to hold paper-related
4187 enums. It should later expand to contain many paper-related
4190 * lyxrc.C: declare extern displayTranslator
4192 2003-07-27 José Matos <jamatos@fep.up.pt>
4194 * tabular.[Ch] (linuxdoc): add support for tables and figures
4197 2003-07-27 José Matos <jamatos@fep.up.pt>
4199 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4200 consistency in both functions.
4201 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4203 2003-07-26 Asger Alstrup <alstrup@local>
4205 * rowpainter.C (paintRows): Change algorithm to work directly on
4206 the insets rather than asking every character in the document
4207 whether its an inset.
4209 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4211 * buffer.C (openFileWrite): factorize some code
4213 2003-07-26 Angus Leeming <leeming@lyx.org>
4216 * lyx_main.[Ch]: replace occurances of system_tempdir with
4219 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4221 * rename Inset to InsetOld
4223 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4225 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4226 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4227 which I think is a bit clearer. EDIT is gone, since it was
4228 premature optimisation, and broken for mathed anyway.
4229 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4230 with cursor positioning in insets as well (math insets still do not
4231 work, but that's a different story anyway.) It mysteriously
4232 crashes sometimes with undo in the first paragraph, but I'm fairly
4233 confident that this is a compiler bug.
4235 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4237 * paragraph.C (Paragraph): adjust for new clone return type
4239 (copyIntoMinibuffer): ditto
4241 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4243 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4244 by not having a special case, and always doing a full rebreak of
4245 the document after undo.
4247 2003-07-23 Angus Leeming <leeming@lyx.org>
4249 * factory.C (createInset): InsetExternal::setParams now takes a
4252 2003-07-23 Angus Leeming <leeming@lyx.org>
4254 * factory.C (createInset): changed interface to the external and
4255 graphics mailers' string2params functions.
4257 2003-07-23 Angus Leeming <leeming@lyx.org>
4259 * factory.C (createInset): pass a
4260 Buffer const * parameter to InsetExternalMailer's string2params.
4262 2003-07-22 John Levon <levon@movementarian.org>
4264 * Thesaurus.h: include the right aiksaurus header
4266 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4268 * MenuBackend.C (expand): check menu shortcuts unconditionally
4270 2003-07-21 Angus Leeming <leeming@lyx.org>
4272 * factory.C (createInset): pass a
4273 buffer_path parameter to InsetGraphicsMailer's string2params.
4275 2003-07-21 Angus Leeming <leeming@lyx.org>
4277 * BufferView_pimpl.C (buffer):
4280 * lyxfunc.C (dispatch):
4281 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4282 rather than the grfx shortcut.
4284 2003-07-21 André Pönitz <poenitz@gmx.net>
4286 * rowpainter.C: remove unused variables
4289 * tabular_funcs.h: move to tabular.C
4290 * Makefile.am: adjust
4292 * tabular.[Ch]: basic optical cleaning
4294 * author.h: pass references, not values
4296 2003-07-18 André Pönitz <poenitz@gmx.net>
4304 * text3.C: two-phase drawing for InsetText and InsetTabular
4305 some float -> int changes.
4307 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4309 * lyx_main.C: fix the fix
4311 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4313 * lyx_main.C: fix a crash in batch mode if no files specified
4316 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4318 * format.[Ch] (papersize): moved to BufferParams
4319 * converter.[Ch] (dvips_options): moved to BufferParams
4320 (dvipdfm_options): moved to anon namespace
4321 * bufferparams.[Ch]: added above functions.
4323 2003-07-17 André Pönitz <poenitz@gmx.net>
4327 * text2.C: don't call inset->update() anymore
4329 * metricsinfo.[Ch]: add convenience constructor
4331 2003-07-16 André Pönitz <poenitz@gmx.net>
4336 * text2.C: replace the LyXCursor::irow_ member with
4337 on-demand computation of the value
4339 2003-07-16 John Levon <levon@movementarian.org>
4341 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4343 2003-07-15 André Pönitz <poenitz@gmx.net>
4346 * text2.C: remove no more needed refresh_row
4348 2003-07-15 André Pönitz <poenitz@gmx.net>
4353 * text3.C: refresh_status tristate -> need_update bool
4355 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4357 * lyxtext.h (init): remove reinit argument (act as if always true)
4358 * text2.C: adjust to that
4360 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4362 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4363 * text3.C: use it to delete selections in some cases
4364 (bugs 441, 673, 702, 954).
4366 2003-07-14 André Pönitz <poenitz@gmx.net>
4368 * rowpainter.[Ch]: reduce interface
4370 2003-07-14 André Pönitz <poenitz@gmx.net>
4372 * BufferView_pimpl.C:
4373 * text2.C: adjust after removing unused BufferView * argument
4375 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4377 * text2.C (init): fix a crash fired on resize
4379 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4381 * buffer.[Ch]: added new closing signal
4382 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4383 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4384 BufferView::Pimpl via the closing the signal
4386 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4388 * buffer.[Ch]: take out all bv-related from buffer
4390 * BufferView_pimpl.[Ch]: connect to new signals
4391 * CutAndPaste.C: removed useless asserts
4392 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4395 * lyxfunc.C: moved view-related funciontality from vc here
4396 * paragraph.C: removed outdated comments
4399 2003-07-10 André Pönitz <poenitz@gmx.net>
4401 * BufferView_pimpl.C:
4405 * text2.C: remove InsetText::InnerCache, clean up consequences
4407 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4409 * ispell.C: fix two typos in error messages
4411 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4413 * Extend Note inset to other forms of annotation like Comment
4414 and Greyedout. Right button click gives dialog.
4416 Files modified or added (+):
4420 * ControlNote.[Ch] +
4422 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4423 frontends/controllers
4427 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4429 * aspell.C: add missing namespace lyx::support
4431 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4433 * BufferView.[Ch] (newFile): Add
4434 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4435 * LaTeX.[Ch] (message): added this signal and use it
4436 * buffer.[Ch] (busy, message): added these signals and use them
4437 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4441 * importer.C: use buffer signals instead of direct bv calling
4442 * lyx_cb.[Ch] (ShowMessage): removed
4445 * paragraph_funcs.C:
4446 * text2.C: use buffer signals
4448 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4450 * introduce namespace lyx::graphics
4452 2003-07-02 André Pönitz <poenitz@gmx.net>
4454 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4456 2003-07-01 André Pönitz <poenitz@gmx.net>
4463 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4464 text*.C to text_func.C
4466 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4468 * introduce namespace lyx::support
4470 2003-06-30 André Pönitz <poenitz@gmx.net>
4475 * text.C: re-enable --with-included-string
4477 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4479 * textcursor.C: add <config.h>
4481 * text.C (getWord): remove const from word_location arg
4483 * lyxvc.C (getLogFile): fix const type order
4485 * lyxtext.h: remove const from word_location arg, add arg name
4487 * lyxlayout.h: currect type on labeltype.
4489 * importer.C: correct \file
4491 * converter.C (intToFormat): use std:: on ret val, ws changes
4493 * bufferlist.h: correct \file
4495 * buffer.C (makeLinuxDocFile): fix const type order
4496 (makeDocBookFile): ditto
4497 (fillWithBibKeys): use std:: on stdlib args.
4499 * CutAndPaste.C: fix authors.
4500 (availableSelections): use std:: on return vector
4502 2003-06-27 André Pönitz <poenitz@gmx.net>
4504 * BufferView_pimpl.C:
4505 * bufferview_funcs.C:
4513 * text3.C: remove LyXCursor::row_ member
4516 * text.C: rename fullRebreak() to partialRebreak() and implement
4517 a fullRebreak() that really bereks fully
4519 * textcursor.h: new struct for cursor-related data
4521 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4523 * lyx_main.C (LyX): get full path of document loaded on the
4526 2003-06-26 André Pönitz <poenitz@gmx.net>
4528 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4529 remove unused/broken operator>,<,>=.
4531 * text.C: remove only use of broken operator<= in an Assert().
4533 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4535 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4536 moved errorlist_.clear to showErrorList
4538 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4540 * converter.C (scanLog, runLaTeX):
4541 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4542 move the bv->showErrorList call to the callers
4543 * lyxfunc.C: i.e. here...
4545 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4546 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4547 namespace, the second to...
4548 * buffer_funcs (BufferFormat, parseErrors): added
4549 * errorlist.C (ErrorList(TeXErrors const &)): removed
4551 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4553 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4555 2003-06-24 "Garst R. Reese" <reese@isn.net>
4559 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4561 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4563 * version.C.in: change docversion to 1.4
4565 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4567 * buffer.C: fix a bug just introduced
4569 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4571 * buffer.[Ch]: added the parseError signal and use it, removed
4573 * BufferView.[Ch] (addError): moved to ...
4574 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4575 to the Buffer::parseError signal to catch (guess what) parse errors
4576 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4578 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4580 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4581 ability to create a buffer and to return an existing one from
4582 the list. Moved these functions to...
4583 * buffer_funcs.[Ch]: added
4584 * BufferView.[Ch] (loadLyXFile): added
4585 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4586 job removed from bufferlist::loadLyXFile.
4587 * buffer.C (setReadOnly): make it work without view
4588 (i.e added an if (users))
4590 2003-06-19 Angus Leeming <leeming@lyx.org>
4593 * LyXAction.C (init):
4594 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4595 with LFUN_DIALOG_SHOW <name> <data>.
4597 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4599 * CutAndPaste.C (availableSelections): small compilation fix for
4600 ancient (gcc 2.9x) compilers
4602 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4604 * text3.C (cursorNext): add tmp var
4606 * text2.C (updateCounters): for function calling out of for clause
4607 (replaceSelectionWithString): ditto
4608 (insertStringAsParagraphs): ditto
4609 (getColumnNearX): add tmp var
4610 (setCursorFromCoordinates): add tmp var
4611 (cursorDownParagraph): add tmp var
4612 (deleteEmptyParagraphMechanism): add tmp var
4614 * text.C (insertChar): add tmp var
4616 * rowpainter.C (paintDepthBar): add tmp var
4618 * CutAndPaste.C (availableSelections): potentially check all
4619 paragraphs in a cut to fill the shown strings.
4621 2003-06-18 André Pönitz <poenitz@gmx.net>
4623 * kbmap.[Ch]: use vector<> instead of list<>
4625 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4627 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4628 pasteSelection with index
4630 * text2.C (pasteSelection): modify, call pasteSelection with index
4632 * paragraph.C (asString): reimplement version with no interval to
4633 call the one with interval.
4635 * lyxtext.h: add index arg to pasteSelection
4637 * MenuBackend.C (MenuItem): handle PasteRecent
4638 (Menu::read::Menutags): add md_pasterecent
4640 (expandPasteRecent): new function
4643 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4645 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4647 (availableSelections): new function
4649 2003-06-17 Angus Leeming <leeming@lyx.org>
4651 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4653 2003-06-17 Angus Leeming <leeming@lyx.org>
4656 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4658 * lyxfunc.C (dispatch): invoke it.
4660 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4662 * iterators.C (operator++, ParPosition): reintroduce some
4663 const_cast for the benefit of older compilers.
4665 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4667 * text3.C (dispatch): do not modify clipboard when doing
4668 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4669 LFUN_DELETE_SKIP on a selection selection
4671 2003-06-16 André Pönitz <poenitz@gmx.net>
4677 * tabular.[Ch]: IU of clone() and getLabelList();
4679 2003-06-13 André Pönitz <poenitz@gmx.net>
4681 * tabular.h: compactification
4683 2003-06-12 André Pönitz <poenitz@gmx.net>
4687 * tabular_funcs.h: some renaming plus whitespace
4689 2003-06-12 André Pönitz <poenitz@gmx.net>
4692 * BufferView_pimpl.C:
4698 * toc.C: Return a Paragraph & for ParIterator::operator*()
4700 2003-06-11 John Levon <levon@movementarian.org>
4704 * ToolbarBackend.C: add "Toolbars" section and
4707 2003-06-10 Angus Leeming <leeming@lyx.org>
4710 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4712 * lyxfunc.C (dispatch): invoke it.
4714 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4716 * main.C: protect <ios> with HAVE_IOS
4717 (main): protect sync_with_stdio with HAVE_IOS
4719 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4721 * text2.C (cutSelection): adjust
4722 (pasteSelection): adjust
4724 * messages.C: handle get of empty string
4726 * main.C (main): use sync_with_stdio(false)
4728 * lyxfunc.C (dispatch): adjust
4730 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4731 (WriteAs): remove unneeded BufferView arg.
4733 * bufferparams.h: use correct types on papersize, papersize2 and
4736 * bufferparams.C (readToken): adjust for type
4737 (writeLaTeX): add missing cases to switch.
4739 * bufferlist.C (quitWriteBuffer): adjust
4742 * buffer.C (asciiParagraph): remove some commented code.
4744 * CutAndPaste.C: remove current_view extern variable.
4745 (cutSelection): add BufferParams arg.
4746 (eraseSelection): add BufferParams arg.
4747 (pasteSelection): add Buffer const & arg
4749 2003-06-07 John Levon <levon@movementarian.org>
4752 * paragraph_funcs.C:
4753 * paragraph_pimpl.C:
4757 * paragraph.C: allow InsetERT to freely space lines,
4758 and some consolidation of code
4760 2003-06-06 José Matos <jamatos@fep.up.pt>
4762 * buffer.C (makeDocBookFile): fix bug #821
4764 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4766 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4768 2003-06-04 Angus Leeming <leeming@lyx.org>
4770 * buffer.C: bump format to 224.
4772 2003-06-05 André Pönitz <poenitz@gmx.net>
4774 * text2.C (redoParagraphs): remove two const_cast<>
4776 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4778 * ParagraphList.h: remove last remnants of NO_STD_LIST
4780 2003-06-03 Angus Leeming <leeming@lyx.org>
4782 * factory.C (createInset): small change to the way InsetExternal's params
4785 2003-06-04 André Pönitz <poenitz@gmx.net>
4787 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4789 * paragraph_pimpl.h:
4790 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4792 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4794 * undo_funcs.C: make some simple cases of undo work again
4796 2003-06-03 John Levon <levon@movementarian.org>
4798 * ispell.C: HPUX doesn't have sys/select.h
4801 2003-06-03 John Levon <levon@movementarian.org>
4803 * CutAndPaste.C: update tabular and include inset
4808 * paragraph.C: remove owningBuffer(), don't pass Buffer
4811 * factory.C: insetGraphicsParams changed
4813 2003-06-02 John Levon <levon@movementarian.org>
4819 * text3.C: remove insetparent
4821 2003-06-02 John Levon <levon@movementarian.org>
4824 * buffer.C: fix inset_iterator.end(), move out of line
4827 2003-06-01 John Levon <levon@movementarian.org>
4829 * text3.C: use a proper cut/paste when doing inset
4830 insert (from Jürgen Spitzmüller)
4832 2003-06-01 John Levon <levon@movementarian.org>
4834 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4836 2003-05-30 André Pönitz <poenitz@gmx.net>
4838 * rowpainter.C: unify second drawing phase
4840 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4842 * trans_mgr.C: remove one case of current_view
4844 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4846 * paragraph_funcs.h: remove paragraph.h include
4848 * paragraph.h: delete NO_STD_LIST stuff
4850 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4852 * buffer.h: remove paragraph.h include
4854 * ParagraphList.C: delete file
4856 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4858 * toc.C (getTocList): adjust
4860 * paragraph_pimpl.C (validate): adjust
4862 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4864 * paragraph.C (Paragraph): adjust
4865 (getPositionOfInset): use const_iterator, adjust
4866 (bibitem): use const_iterator, adjust
4867 (setInsetOwner): adjust
4869 * iterators.C (operator++): adjust
4871 * InsetList.[Ch]: Replace selfmade iterator with standard
4872 vector::iterator also introduce const_iterator. Remove getPos,
4873 getInset and setInset from InsetTable. Adjust accordingly.
4875 * BufferView.C (lockInset): adjust
4876 (ChangeInsets): adjust
4878 * tabular.[Ch]: delete commented same_id functions
4880 2003-05-28 John Levon <levon@movementarian.org>
4882 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4884 2003-05-28 André Pönitz <poenitz@gmx.net>
4886 * metricsinfo.[Ch]: remove 'fullredraw' member
4888 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4890 * lyxtextclass.C (operator): remove caching.
4892 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4896 * text2.C (cursorBottom): adjust
4897 (setCounter): use ParagraphList::find, adjust
4899 * text.C (workWidth): use ParagraphList::find, adjust
4901 * lyxcursor.C (LyXCursor): adjust
4903 * buffer.C (inset_iterator): adjust
4905 * ParagraphList.h: make iterator(value_type) private, make
4906 ParagraphList a friend of iterator.
4908 * ParagraphList.C (find): new function
4910 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4912 2003-05-27 André Pönitz <poenitz@gmx.net>
4914 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4916 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4918 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4920 2003-05-26 John Levon <levon@movementarian.org>
4922 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4924 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4926 * remove same_id from function signatures, adjust.
4928 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4930 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4932 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4934 * paragraph.C (Paragraph): get rid of same_ids parameter
4936 * ParagraphList.C (insert): adjust
4939 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4941 * paragraph_funcs.C (breakParagraph): adjust
4942 (breakParagraphConservative): adjust
4944 * buffer.C (readParagraph): adjust
4946 * ParagraphList.C (insert): take a reference instead of a pointer
4949 * paragraph.[Ch] (id): new function
4951 * bufferlist.C (newFile): adjust
4953 * ParagraphList.C (ParagraphList): adjust
4955 (push_back): take a reference instead of a pointer.
4957 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4959 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4962 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4963 set else use old code.
4965 * ParagraphList.C: remove all NO_NEXT code and only compile this
4966 code of NO_STD_LIST is set.
4968 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4970 * BufferView_pimpl.C:
4980 * graphics/GraphicsConverter.C:
4981 * graphics/PreviewLoader.C: header adjustment
4983 2003-05-23 Angus Leeming <leeming@lyx.org>
4985 * LaTeXFeatures.[Ch] (useBabel): new method.
4986 * bufferparams.C (writeLaTeX): use it.
4988 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4990 * ParagraphList.h (set): remove unused function.
4992 2003-05-23 André Pönitz <poenitz@gmx.net>
4995 * BufferView_pimpl.C:
4999 * undo_funcs.C: setUndo reworked
5001 * iterators.[Ch]: add access to topmost ParagraphList
5003 * lyxtext.[Ch] (workWidth): add a const
5005 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5007 * texrow.[Ch] (increasePos): remove function
5008 * exporter.C (export): removed unused var and outdated comment
5010 2003-05-23 Angus Leeming <leeming@lyx.org>
5012 * latexrunparams.h: rename fragile as moving_arg.
5013 * paragraph.C (simpleTeXOnePar): ditto.
5014 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5016 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5018 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5020 (textUndoOrRedo): comment out a currently unused var.
5022 * paragraph.h (NO_NEXT): enable NO_NEXT
5024 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5026 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5028 * exporter.C (Export): adjust for removeAutoInsets removal.
5030 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5032 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5034 * BufferView.[Ch] (removeAutoInsets): delete function
5036 2003-05-22 Angus Leeming <leeming@lyx.org>
5038 * latexrunparams.h: add a free_spacing variable.
5040 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5041 to pass moving_arg, as the data is stored in runparams.fragile.
5043 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5044 to Inset::latexOptional or to simpleTeXOnePar.
5046 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5047 free_spacing arg to Inset::latexOptional.
5049 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5052 2003-05-22 Angus Leeming <leeming@lyx.org>
5054 * latexrunparams.h: add fragile and use_babel variables.
5056 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5057 * buffer.C (makeLaTeXFile): store this returned value in
5058 runparams.use_babel, thus passing it to the inset::latex methods.
5060 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5061 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5063 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5064 longer has a fragile arg, as it is stored in runparams.fragile.
5066 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5067 moving_arg parameter as the data is stored in runparams.fragile.
5069 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5070 a fragile parameter as the data is stored in runparams.fragile.
5072 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5074 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5076 2003-05-22 Angus Leeming <leeming@lyx.org>
5078 * latexrunparams.h: add a 'bool nice' which defaults to false.
5080 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5081 now encapsulated within runparams.
5083 * bufferlist.C (updateIncludedTeXfiles):
5084 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5086 2003-05-22 Angus Leeming <leeming@lyx.org>
5088 * latexrunparams.h: new file containing struct LatexRunParams.
5089 * Makefile.am: add new file.
5091 * LaTeX.[Ch] (c-tor, run):
5092 * buffer.[Ch] (makeLaTeXFile):
5093 * bufferlist.[Ch] (updateIncludedTeXfiles):
5094 * converter.C (convert, scanLog):
5095 * converter.[Ch] (runLaTeX):
5096 * exporter.C (Export):
5097 * paragraph.[Ch] (simpleTeXOnePar):
5098 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5099 * paragraph_funcs.[Ch] (latexParagraphs):
5100 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5101 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5102 pass around a LatexRunParams parameter.
5104 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5106 * paragraph.[Ch]: remove unused constructor
5108 * ParagraphList.C (erase): new function, taking two iterators
5110 2003-05-22 André Pönitz <poenitz@gmx.net>
5112 * undo_funcs.C: remove duplicated code
5114 * iterator.[Ch]: operator=
5116 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5118 * tabular.C (SetMultiColumn): ws changes
5120 * rowpainter.C (paintFirst): get rid of a ->previous
5122 * lyx_cb.C (getPossibleLabel): parlist simplification
5124 * BufferView.C (ChangeInsets): simplify slightly.
5126 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5128 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5129 * lfuns.h: new LFUN_SPACE
5130 * lyxfunc.C: protected space has a new lfun
5131 * paragraph_funcs.C: read new space insets
5133 * factory.C: handle new space insets
5135 2003-05-22 André Pönitz <poenitz@gmx.net>
5138 * BufferView_pimpl.C:
5141 * undo_funcs.C: return a ParIterator from getParFromID.
5143 * iterators.[Ch]: add two const's
5145 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5147 * toc.C (getTocList): adjust
5149 * iterators.[Ch]: rework for parlist
5151 * buffer.C (par_iterator_begin): adjust
5152 (par_iterator_end): adjust
5154 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5156 * BufferView.C (removeAutoInsets): adjust
5157 (ChangeInsets): adjust
5159 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5161 * text.C (top_y): fix bug 1110
5163 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5165 * errorlist.[Ch]: added
5168 * BufferView_pimpl.C:
5169 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5172 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5174 * Makefile.am: ensure that lyx is relinked upon changes to the
5175 various "convenience" libs.
5177 2003-05-20 Angus Leeming <leeming@lyx.org>
5179 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5180 files are compiled in alphabetical order again.
5182 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5184 2003-05-19 Angus Leeming <leeming@lyx.org>
5186 * gettext.[Ch]: remove "char const * _(char const *)".
5188 2003-05-19 André Pönitz <poenitz@gmx.net>
5190 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5199 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5201 2003-05-19 André Pönitz <poenitz@gmx.net>
5205 * lyxtextclass.[Ch]:
5207 * paragraph_funcs.[Ch]:
5209 * text3.C: more insetenv work
5211 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5213 * ParagraphParameters.C (params2string): small bug fixed
5215 2003-05-16 André Pönitz <poenitz@gmx.net>
5218 * bufferview_funcs.C: patch from Kornel Benko to prevent
5219 crash when _(...) is called twice in a statement
5221 2003-05-16 André Pönitz <poenitz@gmx.net>
5228 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5230 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5232 * lyx_main.C (init): remove spurious static_cast
5234 2003-05-14 André Pönitz <poenitz@gmx.net>
5236 * BufferView.C: fix format string
5238 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5240 * BufferView.[Ch] (insertErrors): removed
5241 * BufferView.[Ch] (showErrorList): added
5242 * buffer.C (runChkTeX):
5243 * converter.C (scanLog): call showErrorList instead of inserterrors
5245 2003-05-13 André Pönitz <poenitz@gmx.net>
5247 * BufferView_pimpl.C:
5249 * bufferview_func.C:
5256 * tabular_funcs.h: tostr() from its own header
5258 * ParagraphParameters.C:
5263 * text3.C: STRCONV()
5265 2003-05-12 André Pönitz <poenitz@gmx.net>
5268 * BufferView_pimpl.C:
5272 * ParagraphParameters.C:
5276 * bufferview_funcs.C:
5289 * paragraph_funcs.C:
5293 * text3.C: boost::format -> bformat all over the place
5296 2003-05-09 André Pönitz <poenitz@gmx.net>
5298 * LColor.[Ch]: Pimpl the #include <map> away
5300 2003-05-09 John Levon <levon@movementarian.org>
5302 * bufferlist.C: never remove emergency saves
5304 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5306 * Makefile.am: better lib building
5308 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5310 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5312 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5313 (simpleTeXSpecialChars): adjust
5314 (simpleTeXSpecialChars): adjust
5315 * paragraph.C (simpleTeXOnePar): adjust
5316 * buffer.C (makeLaTeXFile): adjust
5318 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5320 * text2.C (changeDepth): parlist cleanup
5321 (getColumnNearX): ditto
5323 * rowpainter.C (getLabelFont): parlist cleanup
5325 * bufferlist.C (newFile): parlist cleanup
5327 * CutAndPaste.C (eraseSelection): parlist cleanup
5329 * BufferView_pimpl.C (trackChanges): parlist cleanup
5332 * BufferView.C (lockInset): parlist cleanup.
5333 (ChangeInsets): ditto
5335 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5337 * CutAndPaste.h: Update file header.
5339 * CutAndPaste.C: Update file header.
5340 Store the parts cut out of the Document in a limited_stack.
5341 (copySelection): adjust
5342 (pasteSelection): new function, takes the index in the limited stack.
5343 (nrOfParagraphs): adjust
5344 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5345 simplify error inset insertion.
5346 (checkPastePossible): adjust
5348 2003-05-06 John Levon <levon@movementarian.org>
5350 * text2.C: don't cast wrap inset to float
5352 2003-05-05 André Pönitz <poenitz@gmx.net>
5355 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5357 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5358 few naked Paragraph *.
5360 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5362 * bufferparams.C: Output warning if a document with missing
5363 TeX document class is loaded
5364 * exporter.C: Disable TeX exports if the document class is missing
5367 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5368 isTeXClassAvailable()
5370 2003-05-03 John Levon <levon@movementarian.org>
5373 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5374 explicit cursor show/hide
5376 * BufferView_pimpl.h:
5377 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5378 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5380 * lyxfunc.C: hide cursor before dispatching.
5385 * text3.C: remove explicit cursor hides
5387 2003-05-02 André Pönitz <poenitz@gmx.net>
5389 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5392 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5395 * text2.C: tiny whitespace
5397 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5399 * undo_funcs.C: almost only ws changes.
5401 * ParagraphList.C (splice): just return if pl is empty.
5403 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5405 * ParagraphList.C (splice): new function.
5407 * CutAndPaste.C (pasteSelection): use it
5409 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5411 * CutAndPaste.C (pasteSelection): remove the last next and
5412 previous from this file.
5414 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5416 * CutAndPaste.C (pasteSelection): more clean up, user proper
5417 ParagraphList functions for pasteing.
5419 * ParagraphList.C (insert): new function, three arg insert
5421 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5423 * ParagraphList.C (insert): new function, three arg insert
5425 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5428 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5430 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5432 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5434 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5436 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5438 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5439 (copySelection): clean up a bit.
5440 (pasteSelection): use make_pair
5442 * ParagraphList.C (ParagraphList): implement copy constructor
5443 (operator=): implement, base on copy constructor.
5446 * paragraph.C (erase): return a bool
5448 * paragraph_pimpl.C (erasePos): remove function, move contents...
5449 (erase): ... here. Return a bool.
5450 (erase): call erase instead of erasePos.
5452 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5454 * ParagraphList.h: define PitPosPair
5455 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5456 ParagraphList, fix a bug on pasting multiple pars
5457 * text2.C: change interface to C&P
5459 2003-04-30 André Pönitz <poenitz@gmx.net>
5461 * undo_func.C: revert part of yesterday's patch 2
5463 2003-04-30 John Levon <levon@movementarian.org>
5465 * LColor.C: s/tabular/table/
5467 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5469 * text3.C (dispatch): do not convert iterator -> pointer
5470 * undo_funcs.C (setCursorParUndo): ditto
5471 * text_funcs.C (transposeChars): ditto
5473 * text2.C (setLayout): ws changes only
5475 * text.C (breakParagraph): do not convert iterator -> pointer
5477 (acceptChange): ditto
5478 (rejectChange): ditto
5483 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5486 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5488 * text3.C (gotoInset): YABG (yet another bad getChar)
5490 2003-04-29 André Pönitz <poenitz@gmx.net>
5492 * paragraph.h: make operator= private unimplemented as long as
5495 * ParagraphList.C: whitespace
5498 * paragraph_pimpl.[Ch]:
5499 * paragraph_funcs.C:
5501 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5504 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5506 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5508 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5509 * paragraph.[Ch] (erase):
5510 * paragraph_pimpl.[Ch] (erase): change return type and value
5511 * text2.C (cutSelection): some rework
5513 2003-04-28 John Levon <levon@movementarian.org>
5515 * bufferlist.C: changes for unsaved changes dialog
5517 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5519 * bufferlist.C (newFile): set language (messages_) for new
5522 * buffer.C (readFile): ws changes only.
5524 2003-04-28 André Pönitz <poenitz@gmx.net>
5529 * BufferView_pimpl.C:
5530 * BufferView.C: getParFromID related ParagraphList::iterator changes
5532 2003-04-28 André Pönitz <poenitz@gmx.net>
5534 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5537 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5539 * messages.C: remove one more localedir class variable.
5541 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5543 * messages.C (getLocaleDir): singleton generation function
5545 (Messages): add a default constructor.
5547 * main.C (main): do not setup localedir here, do not call
5550 * gettext.C (_): use it.
5551 (gettext_init): delete funciton
5553 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5555 * gettext.C (getLyXMessages): new singleton generating function.
5557 * buffer.C (updateDocLang): adjust
5559 * Makefile.am (messages.o): add target
5560 (main.o): remove target
5562 2003-04-27 John Levon <levon@movementarian.org>
5567 * lyxvc.C: specify cancel button in Alert::prompt
5569 2003-04-26 John Levon <levon@movementarian.org>
5574 * LyXAction.C: add LFUN_INSET_SETTINGS
5576 * lyxfunc.C: don't enable tabular-feature when there's
5577 just any locking inset
5579 2003-04-26 John Levon <levon@movementarian.org>
5581 * bufferlist.C: re-add Cancel to buffer close question
5583 * lyxfunc.C: fix import UI a bit
5585 2003-04-25 John Levon <levon@movementarian.org>
5587 * gettext.C: remove the broken asserts for now
5589 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5591 * messages.C: make case where setlocale cannot comply work better.
5593 * buffer.C (updateDocLang): new function
5594 (changeLanguage): use it
5597 * text2.C (setCounter): use B_ a bit.
5599 * lyxlayout.C (Read): be sure to trim the label strings.
5601 * messages.C (Messages): fix typo in comment
5603 * buffer.C (readFile): set message_ after file is loaded.
5604 (makeDocBookFile): remove double return
5605 (changeLanguage): reset message_ upon language change.
5606 (B_): new func, use this to get translated buffer strings.
5608 * main.C: add myself and Jean Marc as authors.
5610 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5612 * messages.[hC]: pimplify Messages, and three different pimpls to be
5613 used in different circumstances.
5615 * gettext.[Ch]: change for use with new message code.
5617 2003-04-24 André Pönitz <poenitz@gmx.net>
5619 * factory.C: support for eqref
5621 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5623 * messages.[Ch]: add missing char
5625 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5627 * messages.[Ch]: New files
5629 2003-04-18 John Levon <levon@movementarian.org>
5633 * BufferView_pimpl.C:
5637 * text2.C: remove layout-copy/paste (bug 778)
5639 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5641 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5643 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5645 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5646 if they succeed. Act accordingly.
5648 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5650 * text2.C (setCharFont): adjust
5651 (setCounter): adjust
5652 (insertStringAsLines): adjust
5654 * text.C (leftMargin): adjust
5655 (setHeightOfRow): adjust
5657 * rowpainter.C (paintFirst): adjust
5660 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5662 (isFirstInSequence): ditto
5663 (getEndLabel): ditto
5666 * paragraph.C (getParLanguage): comment out some hard stuff.
5668 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5670 (simpleDocBookOnePar): ditto
5671 (makeDocBookFile): use ParagraphList::iterator
5673 * CutAndPaste.C (pasteSelection): adjust
5675 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5677 * text2.C (getFont): adjust
5678 (getLayoutFont): adjust
5679 (getLabelFont): adjust
5681 * paragraph_funcs.C (TeXOnePar): adjust
5683 * buffer.C (simpleLinuxDocOnePar): adjust
5684 (simpleDocBookOnePar): adjust
5686 * CutAndPaste.C (pasteSelection): adjust
5688 * BufferView.C (getEncoding): adjust
5690 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5692 2003-04-16 John Levon <levon@movementarian.org>
5694 * lyxfind.C: use parlist stuff for search/changes
5696 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5698 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5700 * text2.C (deleteEmptyParagraphMechanism): adjust
5702 * text2.[Ch] (ownerParagraph): delete func (both of them
5704 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5706 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5708 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5710 * ParagraphList.C: prepare for NO_NEXT
5712 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5714 * text2.C (getFont): adjust
5715 (getLayoutFont): adjust
5716 (getLabelFont): adjust
5718 * paragraph.C (getFont): adjust
5719 (getLabelFont): adjust
5720 (getLayoutFont): adjust
5722 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5724 2003-04-15 John Levon <levon@movementarian.org>
5728 * lyx_main.C: handle Include in .ui files
5730 2003-04-15 John Levon <levon@movementarian.org>
5732 * MenuBackend.C: make the doc files length shorter
5735 * ToolbarBackend.C: handle toolbar placement flags,
5738 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5740 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5743 * paragraph_funcs.C (TeXOnePar): adjust
5745 * paragraph.C (getLabelFont): add outerfont arg, adjust
5746 (getLayoutFont): ditto
5747 (simpleTeXOnePar): adjust
5749 * paragraph_pimpl.C (realizeFont): delete func
5751 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5753 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5754 row argument, constify cur argument.
5756 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5758 * text2.C (getFont): adjust
5759 (getLayoutFont): adjust
5760 (getLabelFont): adjust
5762 * paragraph_funcs.C (TeXOnePar): adjust
5763 (outerFont): new func...
5764 (realizeFont): ...moved out from here, changed this to facilitate
5767 * paragraph.C (getFont): take outerfont as arg, adjust
5768 (simpleTeXOnePar): add outerfont arg, adjust
5770 * buffer.C (simpleLinuxDocOnePar): adjust
5771 (simpleDocBookOnePar): adjust
5773 * CutAndPaste.C (pasteSelection): adjust
5775 * BufferView.C (getEncoding): adjust
5777 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5779 * text2.C (setCharFont): adjust
5780 (setCounter): adjust
5782 * text.C (leftMargin): adjust
5783 (setHeightOfRow): adjust
5785 * rowpainter.C (paintFirst): adjust
5788 * paragraph_pimpl.C (realizeFont): adjust
5790 * paragraph.C (isFirstInSequence): move from here...
5791 * paragraph_funcs.C (isFirstInSequence): ...to here
5793 * paragraph.C (outerHook): move from here...
5794 * paragraph_funcs.C (outerHook): ...to here
5796 * paragraph.C (depthHook): move from here...
5797 * paragraph_funcs.C (depthHook): ...to here
5799 * paragraph.C (getEndLabel): move from here...
5800 * paragraph_funcs.C (getEndLabel): ...to here
5802 * text2.C (realizeFont): move from here...
5803 * paragraph_funcs.C (realizeFont): ...to here
5805 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5807 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5809 2003-04-14 Angus Leeming <leeming@lyx.org>
5811 * LColor.[Ch]: scrap LColor mathcursor.
5813 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5815 * lyxlex.[Ch] (text): delete function
5816 * trans.C (Load): adjust
5817 * paragraph_funcs.C (readParToken): adjust
5819 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5821 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5822 vector<char> instead of a char[].
5824 * lyxlex_pimpl.C (getString): adjust
5826 (lex): use getString
5830 * lyxlex.C (text): use pimpl_->getString()
5834 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5836 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5837 (makeFontEntriesLayoutSpecific): temp var for par.size()
5838 (setLayout): temp var for ownerParagraphs().end()
5839 (fullRebreak): temp var for rows().end()
5840 (selectionAsString): temp var for boost::next(startpit), realize
5841 that the while really is a regular for loop.
5842 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5843 setCursor in one place.
5844 (setParagraph): temp vr for ownerParagraphs().end()
5845 (updateCounters): make the while loop a for loop
5846 (cutSelection): temp var for ownerParagraphs().end()
5847 (updateInset): make the do {} while() a regular for loop
5848 (getCursorX): use temp vars
5849 (setCurrentFont): use temp vars
5850 (getColumnNearX): use temp vars
5852 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5854 * text.C (transformChar): use temp var for getChar
5855 (computeBidiTables): use temp var for row->par()
5856 (fill): move temp vars for row->par() and pit->layout() earlier in
5858 (labelFill): use temp var for row->par()
5859 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5860 asc and desc, realize that pit never changes and that firstpit is
5861 just a duplicate and not needed. Exchange rit->par() with pit in a
5863 (breakAgain): use a temp var for boost::next(rit)
5864 (breakAgainOneRow): ditto
5865 (breakParagraph): use a temp var for rows().begin()
5866 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5867 (cursorRightOneWord): use temp var for cursor.par() and
5868 cursor.pos(), remove usage of tmpcursor.
5869 (cursorLeftOneWord): use temp var for cursor.par() and
5870 cursor.pos() only set cur at end of function.
5872 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5874 * text.C, text2.C: exchange all usage of Paragraph::next with
5875 boost::next(ParagraphList::iterator)
5877 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5879 * text2.C (cursorTop): simplify implementation
5880 (cursorBottom): ditto
5881 (setParagraph): use ParagraphList::iterator
5882 (setCurrentFont): adjust
5883 (getColumnNearX): adjust
5884 (cursorRight): adjust
5885 (cursorLeft): remove usage of Paragraph::previous
5886 (cursorUpParagraph): ditto
5887 (deleteEmptyParagraphMechanism): slight cleanup
5889 * text.C (isBoundary): take a Paragraph const & instead of a
5891 (addressBreakPoint): ditto
5892 (leftMargin): remove usage of Paragraph::previous.
5893 (setHeightOfRow): ditto
5894 (cursorLeftOneWord): ditto
5895 (selectNextWordToSpellcheck): ditto
5898 (breakParagraph): remove one usage of Paragraph::next
5899 (redoParagraph): ditto
5900 (acceptChange): ditto
5901 (insertChar): adjust
5902 (rowBreakPoint): adjust
5904 * bufferview_funcs.C (toggleAndShow): adjust
5906 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5908 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5909 methods to access it.
5911 * text.C: Added updateRowPositions to compute all row positions.
5912 Make top_y and getRowNearY() to use the cached y position
5914 2003-04-11 John Levon <levon@movementarian.org>
5916 * text.C (rowBreakPoint): reintroduce the labelEnd
5917 checks, code copied from the row fill stuff. Deep voodoo.
5919 * text.C (fill): add a comment and debugging for the
5922 2003-04-11 John Levon <levon@movementarian.org>
5924 * text.C: make sure fullrow insets get wrapped to the next line,
5925 even when they're in a manual label
5927 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5929 * text2.C (insertParagraph): make it take ParagraphList::iterator
5931 (setLayout): make it return ParagraphList::iterator
5932 (redoParagraphs): ditto
5934 (checkParagraph): ditto
5936 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5938 * text2.C: adjust several funcs.
5939 (realizeFont): take a ParagraphList::iterator as arg.
5940 (getLayoutFont): ditto
5941 (getLabelFont): ditto
5942 (setCharFont): ditto
5944 * text.C: adjust several funcs.
5946 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5948 * text.C (selectNextWordToSpellcheck): don't accidentally
5951 2003-04-10 John Levon <levon@movementarian.org>
5953 * ToolbarBackend.C (getIcon): special handling for
5956 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5958 * text2.C (cursorRight): a getChar assert fixed
5960 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5962 * text2.C (getFont): change to take a ParagraphList::iterator
5963 instead of Paragraph*
5964 Adjust several functions.
5966 * text.C (transformChar): change to take a ParagraphList::iterator
5967 instead of Paragraph*
5968 (singleWidth): ditto
5969 Adjust several functions.
5971 * rowpainter.C: adjust several functions
5972 * rowpainter.h:store a ParagraphList::iterator and not a
5976 2003-04-09 John Levon <levon@movementarian.org>
5981 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5982 and the "help" bits as well
5984 2003-04-09 John Levon <levon@movementarian.org>
5987 * ToolbarBackend.C: allow multiple toolbars
5989 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5991 * undo_funcs.C (setCursorParUndo): adjust
5993 * text_funcs.C (transposeChars): adjust
5995 * text3.C (gotoNextInset): adjust
5998 * text2.C (setLayout): adjust
5999 (changeDepth): adjust
6001 (redoParagraphs): adjust
6002 (selectionAsString): adjust
6003 (setParagraph): adjust
6004 (insertInset): adjust
6005 (cutSelection): adjust
6006 (copySelection): adjust
6007 (pasteSelection): adjust
6008 (insertStringAsLines): adjust
6009 (updateInset): adjust
6010 (setCursor): change to take a ParagraphList::iterator parameter
6011 (setCursorIntern): change to take a ParagraphList::iterator parameter
6012 (setCurrentFont): adjust
6013 (cursorLeft): adjust
6014 (cursorRight): adjust
6015 (deleteEmptyParagraphMechanism): adjust
6017 * text.C (breakParagraph): adjust
6018 (insertChar): adjust
6019 (acceptChange): adjust
6020 (rejectChange): adjust
6021 (selectNextWordToSpellcheck): adjust
6022 (changeCase): adjust
6026 * lyxfind.C (SearchForward): adjust
6027 (SearchBackward): adjust
6028 (nextChange): adjust
6030 * lyxcursor.C (par): adjust
6032 * lyxcursor.h: store a ParagraphList::iterator instead of a
6035 * lyx_cb.C (getPossibleLabel): adjust
6037 * bufferview_funcs.C (toggleAndShow): adjust
6039 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6042 * BufferView.C (removeAutoInsets): adjust
6043 (lockedInsetStoreUndo): adjust
6045 2003-04-09 John Levon <levon@movementarian.org>
6047 * ToolbarBackend.C: try icon without argument
6048 if with argument fails
6050 2003-04-08 John Levon <levon@movementarian.org>
6053 * ToolbarBackend.C: add getIcon(), handle tooltip,
6054 and change from "Icon" to "Item".
6056 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6058 * BufferView.C (lockInset): another bad getchar crunched
6060 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6062 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6065 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6067 * lyxfind.C (searchForward, searchBackwards): bug 782
6069 2003-04-07 John Levon <levon@movementarian.org>
6071 * paragraph.C: remove dead comment
6073 * text.C: remove troublesome depth-fiddling code
6074 in leftMargin() and rightMargin() (bug 1017)
6076 * text.C: fix breaking of rows in nested lists
6079 * text2.C (updateCounters): fix up depth values
6082 2003-04-07 John Levon <levon@movementarian.org>
6084 * BufferView_pimpl.C: clear message when doc finishes resizing,
6085 and after a mouse event
6087 * lyxfunc.C: clear message after exiting inset
6089 2003-04-07 John Levon <levon@movementarian.org>
6091 * bufferview_funcs.C: show math status not outside
6092 status in the statusbar
6094 2003-04-07 John Levon <levon@movementarian.org>
6096 * lyxfunc.C: note status changed after a depth change
6098 2003-04-04 Angus Leeming <leeming@lyx.org>
6100 * LaTeX.h: move AuxInfo operator==, != out of line.
6101 Remove LaTeX virtual destructor; nothing derives from it.
6102 Move operator()() out of public area and rename it startscript().
6103 Change protected for private.
6105 2003-04-04 Angus Leeming <leeming@lyx.org>
6108 * text2.C: remove unneeded #includes.
6110 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6112 * text2.C (dEPM): fix the heigth of the next row
6114 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6116 * text.C: squashed an invalid getChar requester + some ws changes
6118 2003-04-03 John Levon <levon@movementarian.org>
6120 * bufferview_funcs.h:
6121 * bufferview_funcs.C:
6124 * text2.C: make getStatus work for the env depth lfuns
6126 2003-04-03 John Levon <levon@movementarian.org>
6128 * bufferview_funcs.h:
6129 * bufferview_funcs.C:
6132 * text2.C: parlistize decDepth(), by merging it with incDepth()
6134 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6136 * lyxrow.h: store a ParagraphList::iterator instead of a
6137 Paragraph* and adjust other class functions to suit.
6139 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6142 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6144 * text2.C (setCursor): do not anchor to cursor row for the time being
6146 2003-04-02 John Levon <levon@movementarian.org>
6153 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6155 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6157 * paragraph.h: make ParagraphList and ParagraphList::iterator
6158 friends of Paragraph.
6160 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6162 * ParagraphList.C: Use the private next_ and previous_ from
6165 2003-04-01 John Levon <levon@movementarian.org>
6169 * Makefile.am: rename, remove defaults gunk
6172 * MenuBackend.C: remove defaults gunk
6175 * Languages.C: remove defaults gunk
6178 * lyx_main.C: error out if files couldn't be found.
6180 2003-04-02 John Levon <levon@movementarian.org>
6182 * text2.C: make incDepth() use parlist
6184 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6186 * undo_funcs.C (firstUndoParagraph): adjust
6188 * text3.C (gotoInset): adjust
6189 (dispatch): adjust, and rewrite loop.
6191 * text2.C (init): adjust, and rewrite loop.
6192 (redoParagraphs): adjust
6193 (updateInset): adjust, and rewrite loop.
6194 (deleteEmptyParagraphMechanism): adjust
6196 * tabular.C (LyXTabular): adjust
6197 (SetMultiColumn): adjust
6200 * lyxtext.[Ch] (ownerParagraph): delete function
6201 (ownerParagraphs): new function returns a ParagraphList.
6203 * BufferView.C (removeAutoInsets): adjust
6204 (insertErrors): adjust
6205 (setCursorFromRow): adjust
6207 2003-04-01 Angus Leeming <leeming@lyx.org>
6209 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6212 2003-04-02 John Levon <levon@movementarian.org>
6218 * text_funcs.C: make transposeChars a free function
6220 * lyxrow_funcs.C: remove wrong comment
6222 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6225 * rowpainter.C: adjust
6230 * lyxrow_funcs. [Ch]: new files
6232 * lyxrow.[Ch]: remove next and previous pointers
6233 (next,previous): remove accessor functions
6234 (isParEnd): move to lyxrow_funcs
6235 (lastPos): move to lyxrow_funcs
6236 (nextRowIsAllInset): move to lyxrow_funcs
6237 (lastPrintablePos): move to lyxrow_funcs
6238 (numberOfSeparators): move to lyxrow_funcs
6239 (numberOfHfills): move to lyxrow_funcs
6240 (numberOfLabelHfills): move to lyxrow_funcs
6241 (hfillExpansion): move to lyxrow_funcs
6245 * bufferview_funcs.C (toggleAndShow): adjust
6247 * RowList.h: Remove class RowList from file leave just a
6250 * RowList.C: delete file
6252 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6255 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6257 * text3.C (cursorPrevious): adjust
6258 (cursorNext): adjust
6261 * text2.C (redoHeightOfParagraph): adjust
6262 (redoDrawingOfParagraph): adjust
6265 * text.C (breakParagraph): adjust
6266 (insertChar): adjust
6269 * rowpainter.C (RowPainter): adjust
6270 (leftMargin): simplify and adjust
6271 (most rowpainter functions): adjust.
6273 * rowpainter.h: store the row as RowList::iterator not as Row*
6275 * lyxcursor.C (row): taka RowList::iterator as arg
6278 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6281 2003-04-01 Angus Leeming <leeming@lyx.org>
6283 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6284 stuff like bool Bool.
6286 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6288 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6291 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6293 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6296 * lyxtext.h (rows): drop one version and leve a const variant that
6297 returns a RowList::iterator.
6299 2003-03-31 Angus Leeming <leeming@lyx.org>
6301 * text.C (fill): ensure that the signature is the same as that in the
6304 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6306 * text2.C (redoParagraphs): adjust
6307 (updateCounters): adjust
6308 (checkParagraph): adjust
6309 (getColumnNearX): adjust and reformat a bit.
6311 * text.C (top_y): adjust
6313 (leftMargin): adjust
6314 (prepareToPrint): adjust
6316 (getRowNearY): adjust
6318 * lyxtext.h: make rowlist_ mutable.
6320 * RowList.h: add const_iterator
6321 * RowList.C: adjust for RowList::const_iterator.
6323 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6326 2003-03-31 John Levon <levon@movementarian.org>
6329 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6331 * lyx_main.C: set default fonts from using lyx_gui funcs
6333 * exporter.C: pdf_mode moved from lyxrc
6336 * lyxfunc.C: changes from above
6338 2003-03-31 John Levon <levon@movementarian.org>
6340 * lyx_main.C: fix to the last fix
6342 2003-03-31 John Levon <levon@movementarian.org>
6344 * bufferlist.C: "Load original" -> "Load Original"
6350 * format.C: more Alert cleanups
6352 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6354 * text2.C (removeParagraph): make it take a RowList::iterator as
6356 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6357 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6359 * text.C (anchor_row): make it take a RowList::iterator as arg,
6361 (computeBidiTables): make it take a const reference to Row instead
6362 of Row pointer, adjust.
6363 (leftMargin): make it take a RowList::iterator as arg, adjust.
6364 (rowBreakPoint): adjust
6365 (breakAgainOneRow): make it take a RowList::iterator as arg,
6367 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6369 * bufferview_funcs.C (toggleAndShow): adjust
6371 2003-03-30 John Levon <levon@movementarian.org>
6375 * boost-inst.C: moved to support
6377 * several files: changes as a result
6379 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6381 * text2.C (LyXText): adjust.
6383 (removeRow): make it take a RowList::iterator as arg, adjust.
6384 (fullRebreak): adjust
6385 (deleteEmptyParagraphMechanism): adjust
6386 (clearPaint): adjust
6389 * text.C (top_y): adjust
6390 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6391 (breakAgain): make it take a RowList::iterator as arg, adjust.
6392 (breakParagraph): adjust
6393 (insertChar): adjust
6396 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6397 need_break_row, and refresh_row.
6399 * text3.C (dispatch): adjust
6401 * text2.C (checkParagraph): adjust
6403 (setCursorFromCoordinates): adjust
6405 * text.C (top_y): adjust
6407 (getRow): make it return a RowList::iterator, adjust
6408 (getRowNearY): make it return a RowList::iterator, adjust
6410 * text2.C (init): adjust
6411 (insertRow): remove function
6412 (insertParagraph): adjust
6413 (redoParagraphs): adjust
6414 (fullRebreak): adjust
6415 (updateCounters): adjust
6417 * text.C (top_y): rewrite to use RowList iterators.
6419 (setHeightOfRow): rewrite to sue RowList iterators.
6420 (appendParagraph): adjust
6421 (breakAgain): adjust
6422 (breakAgainOneRow): adjust
6423 (breakParagraph): adjust
6425 (getRowNearY): adjust, and remove commented code.
6427 * lyxtext.h (firstRow): delete function
6428 (lastRow): delete function
6429 (rows): new function (const and non-const versions.)
6430 (insertRow): delete function
6432 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6434 2003-03-29 John Levon <levon@movementarian.org>
6436 * BufferView_pimpl.C: always update scrollbar top
6437 because pasting text when we're anchored could mean we
6438 miss an update altogether
6440 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6442 * text2.C (init): use rowlist_.end() and not 0.
6443 (insertRow): change to take a RowList::iterator as arg, adjust
6445 (insertParagraph): change to take a RowList::iterator as arg,
6447 (redoParagraphs): remove some debug msgs.
6449 * text.C (appendParagraph): change to take a RowList::iterator
6450 arg, adjust for this.
6451 (breakAgain): add an assert
6452 (breakAgainOneRow): ditto
6454 2003-03-29 John Levon <levon@movementarian.org>
6456 * text2.C: do not clear selection after inc/decDepth
6459 2003-03-29 John Levon <levon@movementarian.org>
6462 * buffer.C: fix broken strerrors according to Lars
6464 2003-03-29 John Levon <levon@movementarian.org>
6466 * converters.C: more Alert cleanups
6468 2003-03-29 John Levon <levon@movementarian.org>
6470 * bufferview_funcs.C: remove pointless Alert
6472 * buffer.C: fix confusing error message when
6473 a template is chmoded 000
6475 2003-03-29 John Levon <levon@movementarian.org>
6479 * BufferView_pimpl.C: Alert fixes
6483 * tabular-old.C: remove unused table compat reading
6485 2003-03-29 John Levon <levon@movementarian.org>
6490 * lyx_cb.C: more Alert cleanups
6492 * lyxfunc.C: don't allow chktex if not latex document
6494 2003-03-29 John Levon <levon@movementarian.org>
6498 * buffer.C: warnings pushed down from support/,
6501 2003-03-29 John Levon <levon@movementarian.org>
6503 * lyxfunc.C: safety check for C-r (revert)
6505 2003-03-29 John Levon <levon@movementarian.org>
6508 * bufferlist.C: several UI fixes using Alert::prompt.
6509 Fix the pointless looping quit code. Fix stupid revert
6514 * lyx_cb.C: use Alert::prompt
6516 * lyx_main.C: remove a silly question
6518 * lyxfunc.C: remove a couple of silly questions,
6521 2003-03-28 John Levon <levon@movementarian.org>
6523 * text2.C: fix bug 974 (End on empty par)
6525 2003-03-28 John Levon <levon@movementarian.org>
6527 * BufferView_pimpl.C:
6529 * lfuns.h: remove do-nothing math greek lfuns
6531 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6533 * lyxgluelength.h (isValidGlueLength): add default arg on
6534 parameter 2. Remove default arg from friend in class.
6536 * lyxlength.h (isValidLength): add default arg on parameter 2.
6537 Remove default arg from friend in class.
6539 * text2.C (LyXText): adjust, initialize refresh_row.
6543 (insertParagraph): adjst
6544 (redoParagraphs): adjust
6545 (fullRebreak): adjust
6546 (updateCounters): adjust
6547 (deleteEmptyParagraphMechanism): first attempt at fixing a
6550 * text.C (top_y): adjust
6551 (setHeightOfRow): adjust
6553 (getRowNearY): adjust
6555 * lyxtext.h: include RowList.h
6556 (~LyXText): not needed anymore, deleted.
6557 (firstRow): modify for RowList
6558 (lastRow): new function
6559 Delete firstrow and lastrow class variables, add a Rowlist
6560 rowlist_ class variable.
6562 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6565 * RowList.C (insert): fix case where it == begin().
6567 2003-03-26 Angus Leeming <leeming@lyx.org>
6569 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6570 the thesaurus dialog.
6572 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6574 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6576 * RowList.[Ch]: new files
6578 * ParagraphList.C (erase): handle the case where it == begin
6581 2003-03-25 John Levon <levon@movementarian.org>
6585 * aspell.C: add new aspell support
6588 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6591 2003-03-25 Angus Leeming <leeming@lyx.org>
6594 * LyXAction.C (init): new LFUN_INSET_INSERT.
6596 * BufferView_pimpl.C (dispatch): split out part of the
6597 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6599 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6602 2003-03-25 Angus Leeming <leeming@lyx.org>
6604 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6606 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6609 * text3.C: remove useless row->height(0)
6611 2003-03-25 John Levon <levon@movementarian.org>
6615 * text3.C: rename the refreshing stuff to better names
6617 2003-03-24 John Levon <levon@movementarian.org>
6619 * BufferView_pimpl.h:
6620 * BufferView_pimpl.C: update layout choice on a mouse
6623 2003-03-23 John Levon <levon@movementarian.org>
6625 * Makefile.am: fix commandtags.h reference
6627 2003-03-22 John Levon <levon@movementarian.org>
6629 * BufferView_pimpl.C:
6634 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6636 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6639 * text.C: take the rtl methods out of line
6641 2003-03-21 André Pönitz <poenitz@gmx.net>
6643 * metricsinfo.[Ch]: new files containing structures to be passed around
6644 during the two-phase-drawing...
6646 2003-03-21 André Pönitz <poenitz@gmx.net>
6648 * lyxtextclass.C: read 'environment' tag.
6650 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6652 * text2.C (removeRow): fix bug 964
6654 2003-03-20 John Levon <levon@movementarian.org>
6658 * text2.C: paint cleanups. Inset::update() dropped font
6661 2003-03-19 John Levon <levon@movementarian.org>
6663 * lyxfunc.C: only fitcursor/markDirty if available()
6665 2003-03-19 John Levon <levon@movementarian.org>
6667 * commandtags.h: rename to ...
6669 * lfuns.h: ... this, and renumber / cleanup
6671 2003-03-19 John Levon <levon@movementarian.org>
6673 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6674 fit the cursor after an lfun
6678 * BufferView_pimpl.h:
6679 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6681 * LyXAction.C: layout-character should have ReadOnly
6683 * ParagraphParameters.C:
6685 * bufferview_funcs.C:
6692 * undo_funcs.C: changes from above
6694 2003-03-18 John Levon <levon@movementarian.org>
6696 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6697 remove it from update()
6699 * lyxfunc.C: update layout choice after an lfun
6701 * text3.C: remove extra updateLayoutChoice()s
6703 2003-03-18 John Levon <levon@movementarian.org>
6705 * text.C: top_y change means full repaint, fix
6706 a drawing bug with cursor movement
6708 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6712 * text2.C: anchor row on setCursor
6714 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6716 * lyxtext.h: remove almost all mutable keywords
6719 * text3.C: remove const keywords accordingly
6721 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6723 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6725 (TeXEnvironment): ditto
6728 2003-03-17 John Levon <levon@movementarian.org>
6730 * text.C (rowBreakPoint): remove attempt to fix displayed
6731 math insets inside a manual label
6733 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6735 * lyxtext.h: remove BufferView* as first arg from almost all class
6737 * other files: adjust.
6739 2003-03-17 John Levon <levon@movementarian.org>
6743 * text2.C: more paint cleanups
6745 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6748 * rowpainter.C: remove "smart" background painting code
6750 2003-03-16 John Levon <levon@movementarian.org>
6755 * text3.C: add helper functions for setting refresh_row/y
6757 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6759 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6760 newline inset which *can* get inserted in the pass_thru layouts.
6761 This is primarily for literate documents.
6763 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6765 * buffer.C: increment LYX_FORMAT to 223
6767 2003-03-14 André Pönitz <poenitz@gmx.net>
6769 * textclass.h: prepare for environment handling, ws changes
6770 * lyxlayout.C: read latexheader and latexfooter tags
6772 2003-03-14 John Levon <levon@movementarian.org>
6774 * text2.C: rewrite ::status() a bit
6776 2003-03-13 John Levon <levon@movementarian.org>
6778 * lyxtext.h: add some docs
6780 2003-03-13 John Levon <levon@movementarian.org>
6785 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6787 2003-03-13 John Levon <levon@movementarian.org>
6789 * text3.C: fix appendix redrawing
6791 2003-03-13 John Levon <levon@movementarian.org>
6793 * text.C (setHeightOfRow):
6795 * rowpainter.C: make appendix mark have the text
6796 "Appendix" so the user knows what it is
6799 * LColor.C: s/appendixline/appendix/ from above
6801 2003-03-13 John Levon <levon@movementarian.org>
6803 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6805 * text.C: fix a getChar(pos) bug properly
6807 2003-03-13 Angus Leeming <leeming@lyx.org>
6810 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6811 Probably only temporary. Let's see how things pan out.
6813 * BufferView.C (unlockInset):
6814 * BufferView_pimpl.C (fitCursor):
6815 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6817 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6818 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6820 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6821 new functions that convert ParagraphParameters to and from a string.
6823 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6824 BufferView::Pimpl's dispatch.
6825 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6827 2003-03-13 André Pönitz <poenitz@gmx.net>
6831 * factory.C: make it aware of InsetEnv
6833 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6835 * text2.C (setCursor): never ask for one past last
6836 (setCursor): add some debugging messages.
6838 * text.C (singleWidth): never ask for one past last
6839 (singleWidth): ditto
6841 (rightMargin): ditto
6842 (rowBreakPoint): ditto
6843 (setHeightOfRow): ditto
6844 (prepareToPrint): ditto
6846 * rowpainter.C (paintBackground): never ask for one past last
6847 (paintText): never ask for one past last
6849 * paragraph_pimpl.C (getChar): make the assert stricter, never
6850 allow the one past last pos to be taken
6852 * paragraph.C (getChar): ws changes only
6854 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6855 (numberOfSeparators): ditto
6856 (numberOfHfills): ditto
6858 2003-03-12 John Levon <levon@movementarian.org>
6864 * paragraph_funcs.C: fix per-buffer authorlists
6866 2003-03-12 John Levon <levon@movementarian.org>
6868 * text.C: fix newline in right address
6870 2003-03-12 Angus Leeming <leeming@lyx.org>
6872 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6873 duplicate those in LyXFunc::dispatch.
6877 * ToolbarDefaults.C:
6878 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6879 Add LFUN_FONTFREE_UPDATE.
6881 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6882 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6884 * bufferview_func.[Ch]: several new functions to facilliate
6885 transfer of data to and from the character dialog.
6887 2003-03-12 John Levon <levon@movementarian.org>
6892 * paragraph_funcs.C:
6893 * paragraph_pimpl.C:
6897 * text3.C: remove META_NEWLINE in favour of an inset
6900 * rowpainter.C: remove paintNewline (done by inset)
6902 2003-03-12 John Levon <levon@movementarian.org>
6904 * paragraph_pimpl.C: complain about bad getChar()s
6905 for a while at least
6907 2003-03-12 John Levon <levon@movementarian.org>
6910 * buffer.C: move paragraph read into a separate function,
6911 a little renaming to reflect that.
6914 * bufferparams.C: remove the author_ids map, not necessary now
6917 * factory.C: moved Buffer::readInset to here
6919 * paragraph_funcs.h:
6920 * paragraph_funcs.C: readParagraph free function moved from
6923 * tabular.C: name change
6925 2003-03-12 John Levon <levon@movementarian.org>
6928 * ParagraphParameters.C: move par params input to
6931 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6932 behave like a normal read from the stream wrt reading
6933 a line vs. a \\token
6935 2003-03-12 John Levon <levon@movementarian.org>
6938 * ParagraphParameters.h:
6939 * ParagraphParameters.C: move output code to a
6942 2003-03-12 John Levon <levon@movementarian.org>
6944 * BufferView.C (insertLyXFile):
6947 * tabular.C: use a parlist iterator for creating the
6950 2003-03-12 John Levon <levon@movementarian.org>
6952 * buffer.C: make current_change static local not
6955 2003-03-12 John Levon <levon@movementarian.org>
6957 * buffer.C: fix insertStringAsLines for change tracking
6959 2003-03-12 John Levon <levon@movementarian.org>
6966 * bufferparams.C: move author list into params. Rename some
6967 functions. Move the header reading into a separate token
6968 loop. Move the header token reading into BufferParams.
6970 2003-03-12 John Levon <levon@movementarian.org>
6972 * changes.C: put debug inside lyxerr.debugging() checks
6974 2003-03-11 André Pönitz <poenitz@gmx.net>
6976 * factory.C: make it aware of InsetHFill
6978 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6980 * buffer.C (latexParagraphs): move function from here...
6981 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6984 2003-03-10 Angus Leeming <leeming@lyx.org>
6986 * LyXAction.C (init): fix bug in poplating array with multiple entries
6987 with the same LFUN (spotted by JMarc).
6989 2003-03-10 John Levon <levon@movementarian.org>
6992 * text2.C: move getColumnNearX() near its
6995 2003-03-10 John Levon <levon@movementarian.org>
6997 * text.C: fix break before a minipage
6999 2003-03-10 John Levon <levon@movementarian.org>
7001 * text.C: fix the last commit
7003 2003-03-09 John Levon <levon@movementarian.org>
7007 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7008 bug 365 (don't break before insets unless needed). Don't
7009 return a value > last under any circumstances.
7011 2003-03-09 Angus Leeming <leeming@lyx.org>
7013 * BufferView_pimpl.C (trackChanges, dispatch): call
7014 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7016 2003-03-09 Angus Leeming <leeming@lyx.org>
7018 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7019 than Dialogs::showAboutlyx().
7021 2003-03-09 Angus Leeming <leeming@lyx.org>
7023 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7024 than Dialogs::showTabularCreate().
7026 2003-03-09 John Levon <levon@movementarian.org>
7030 * text2.C: 3rd arg to nextBreakPoint was always the same.
7033 2003-03-08 John Levon <levon@movementarian.org>
7040 * text2.C: Remove the "main" bit from the "main body"
7043 2003-03-08 John Levon <levon@movementarian.org>
7045 * text.C (leftMargin): The left margin of an empty
7046 manual label paragraph should not include the label width
7049 * text.C (prepareToPrint): don't attempt to measure hfills
7050 for empty manual label paragraphs - the answer should be 0
7052 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7054 * CutAndPaste.C: remove commented code and reindent.
7056 2003-03-08 John Levon <levon@movementarian.org>
7059 * lyxfunc.C: move reloadBuffer()
7062 * BufferView.C: to here
7064 * lyxvc.C: add comment
7067 * vc-backend.C: call bv->reload() to avoid
7068 getStatus() check on MENURELOAD
7070 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7072 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7073 to an old format .dep file.
7075 2003-03-07 Angus Leeming <leeming@lyx.org>
7077 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7078 when the LFUN_MOUSE_RELEASE should have been handled by
7079 inset->localDispatch.
7081 2003-03-07 Angus Leeming <leeming@lyx.org>
7083 * BufferView_pimpl.C (dispatch):
7084 * LyXAction.C (init):
7085 * ToolbarDefaults.C (init):
7087 * lyxfunc.C (getStatus):
7088 remove LFUN_INSET_GRAPHICS.
7090 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7092 2003-03-07 Angus Leeming <leeming@lyx.org>
7095 * LyXAction.C (init):
7096 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7098 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7101 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7103 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7104 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7106 2003-03-07 Angus Leeming <leeming@lyx.org>
7108 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7111 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7113 * ParagraphList.C (front): new function
7116 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7118 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7119 and top_row_offset_. removed var first_y.
7121 * text2.C (LyXText, removeRow):
7123 * BufferView_pimpl.C:
7124 use these methods instead of using first_y
7126 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7128 * text2.C (pasteSelection): adjust for checkPastePossible
7130 * CutAndPaste.C: remove Paragraph * buf and replace with
7131 ParagraphList paragraphs.
7132 (DeleteBuffer): delete
7133 (cutSelection): change the tc type to textclass_type
7134 (copySelection): change the tc type to textclass_type
7135 (copySelection): adjust for ParagraphList
7136 (pasteSelection): change the tc type to textclass_type
7137 (pasteSelection): adjust for Paragraphlist
7138 (nrOfParagraphs): simplify for ParagraphList
7139 (checkPastePossible): simplify for ParagraphList
7140 (checkPastePossible): remove unused arg
7142 * ParagraphList.C (insert): handle the case where there are no
7145 * CutAndPaste.h: make CutAndPaste a namespace.
7147 * text3.C (dispatch): adjust
7149 * text.C (breakParagraph): add a ParagraphList as arg
7151 * paragraph_funcs.C (breakParagraph): change to take a
7152 BufferParams and a ParagraphList as args.
7153 (breakParagraphConservative): ditto
7154 (mergeParagraph): ditto
7155 (TeXDeeper): add a ParagraphList arg
7156 (TeXEnvironment): ditto
7159 * buffer.C (readLyXformat2): adjust
7160 (insertStringAsLines): adjust
7161 (latexParagraphs): adjust
7163 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7164 (cutSelection): adjust
7165 (pasteSelection): adjust
7167 * BufferView_pimpl.C (insertInset): adjust
7169 2003-03-05 Angus Leeming <leeming@lyx.org>
7172 * LyXAction.C (init):
7173 * BufferView_pimpl.C (dispatch):
7174 * lyxfunc.C (getStatus):
7175 remove LFUN_CHILD_INSERT.
7177 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7179 2003-03-05 Angus Leeming <leeming@lyx.org>
7182 * LyXAction.C (init):
7183 * src/factory.C (createInset):
7184 * lyxfunc.C (getStatus):
7185 * text3.C (dispatch):
7186 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7188 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7190 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7192 * ParagraphList.C (insert): handle insert right before end()
7193 (erase): fix cases where it can be first or last paragraph.
7195 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7197 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7198 Paragraph::next and Paragraph::previous
7201 * text.C (breakParagraph): adjust
7203 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7204 BufferParams& as arg.
7205 (breakParagraph): use ParagraphList::insert
7206 (breakParagraphConservative): take a Buffer* instead of a
7207 BufferParams& as arg.
7208 (breakParagraphConservative): use ParagraphList::insert.
7210 * buffer.C (insertStringAsLines): un-const it
7211 (insertStringAsLines): adjust
7213 * ParagraphList.C (insert): new function
7215 * CutAndPaste.C (pasteSelection): adjust
7217 * text.C (backspace): adjust
7219 * tabular.C (SetMultiColumn): adjust
7221 * CutAndPaste.C (cutSelection): adjust
7222 (pasteSelection): adjust
7224 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7225 Buffer const * as arg
7227 * ParagraphList.C (erase): new function
7228 * paragraph_funcs.C (mergeParagraph): use it
7229 (mergeParagraph): make it take a Buffer* instead of a
7230 BufferParams* as arg
7232 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7234 (breakParagraphConservative): ditto
7236 * paragraph.h: remove the breakParagraph friend
7238 * paragraph.C (eraseIntern): new function
7239 (setChange): new function
7241 * paragraph_funcs.C (mergeParagraph): make it take a
7242 ParagraphList::iterator instead of a Paragraph *, adjust
7245 * paragraph.h: move an #endif so that the change tracking stuff
7246 also works in the NO_NEXT case.
7248 2003-03-04 Angus Leeming <leeming@lyx.org>
7251 * LyXAction.C: new LFUN_INSET_MODIFY.
7253 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7254 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7256 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7258 * several files: ws changes only
7260 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7261 (TeXEnvironment): ditto
7264 * buffer.C (makeLaTeXFile): adjust
7265 (latexParagraphs): make it take ParagraphList::iterator as args
7267 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7269 * buffer.C (latexParagraphs): adjust
7271 * paragraph.C (TeXOnePar): move function...
7272 (optArgInset): move function...
7273 (TeXEnvironment): move function...
7274 * paragraph_pimpl.C (TeXDeeper): move function...
7275 * paragraph_funcs.C: ...here
7277 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7279 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7281 * buffer.C (readInset): remove compability code for old Figure and
7284 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7286 * buffer.C: ws changes
7289 * BufferView_pimpl.C: ditto
7292 * bufferlist.h: ditto
7296 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7298 * converter.[Ch]: split into itself +
7301 * Makefile.am: += graph.[Ch] + format.[Ch]
7308 * lyxrc.C: added #include "format.h"
7310 2003-02-27 Angus Leeming <leeming@lyx.org>
7312 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7315 * factory.C (createInset): add "label" to the factory.
7317 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7318 string and do no more.
7320 2003-02-27 Angus Leeming <leeming@lyx.org>
7323 * LyXAction.C (init):
7324 * factory.C (createInset):
7325 * BufferView_pimpl.C (dispatch):
7326 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7328 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7330 * lyxfunc.C (dispatch):
7331 * text3.C (dispatch): pass name to params2string.
7333 2003-02-26 Angus Leeming <leeming@lyx.org>
7335 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7337 Rearrange the ~includes. Strip out the unnecessary ones.
7339 * factory.C (createInset): reformat.
7340 create new insets for the various LFUN_XYZ_APPLY lfuns.
7342 2003-02-26 John Levon <levon@movementarian.org>
7345 * lyxrow.C: add isParStart,isParEnd helpers
7347 * paragraph.h: make isInserted/DeletedText take refs
7349 * paragraph_funcs.h:
7350 * paragraph_funcs.C: remove #if 0'd code
7355 * text.C: use lyxrow helpers above.
7356 Move draw and paint routines to RowPainter.
7357 Make several methods use refs not pointers.
7358 Make backgroundColor() const.
7359 Add markChangeInDraw(), isInInset().
7360 Merge changeRegionCase into changeCase.
7361 Make workWidth() shouldn't-happen code into an Assert.
7364 * rowpainter.C: new class for painting a row.
7367 * vspace.C: make inPixels take a ref
7369 2003-02-26 Angus Leeming <leeming@lyx.org>
7371 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7374 2003-02-25 John Levon <levon@movementarian.org>
7376 * ispell.C: give the forked command a more accurate name
7378 2003-02-22 John Levon <levon@movementarian.org>
7381 * toc.C: make TocItem store an id not a Paragraph *
7384 2003-02-21 Angus Leeming <leeming@lyx.org>
7386 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7387 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7388 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7389 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7390 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7391 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7393 * BufferView_pimpl.C (dispatch):
7394 * LyXAction.C (init):
7395 * factory.C (createInset):
7396 * lyxfunc.C (getStatus, dispatch):
7397 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7399 2003-02-21 Angus Leeming <leeming@lyx.org>
7401 * BufferView_pimpl.C (MenuInsertLyXFile):
7402 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7403 * lyxfunc.C (menuNew, open, doImport):
7404 no longer pass a LyXView & to fileDlg.
7406 2003-02-21 Angus Leeming <leeming@lyx.org>
7408 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7409 * LyXAction.C: change, BIBKEY to BIBITEM.
7410 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7411 Change InsetBibKey to InsetBibitem.
7412 Change BIBKEY_CODE to BIBITEM_CODE.
7413 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7414 * factory.C: replace insetbib.h with insetbibitem.h.
7415 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7416 * paragraph.C: replace insetbib.h with insetbibitem.h.
7417 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7418 Change bibkey() to bibitem().
7419 * text.C: remove insetbib.h.
7420 * text2.C: replace insetbib.h with insetbibitem.h.
7421 change bibkey() to bibitem().
7422 * text3.C: remove insetbib.h.
7423 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7425 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7427 * lyxrc.C (output): enclose user email in quotes (in case there are
7430 2003-02-18 John Levon <levon@movementarian.org>
7432 * buffer.h: add std::
7434 2003-02-17 John Levon <levon@movementarian.org>
7440 * pspell.C: reworking. Especially in ispell, a large
7441 number of clean ups and bug fixes.
7443 * lyxfunc.C: fix revert to behave sensibly
7445 2003-02-17 André Pönitz <poenitz@gmx.net>
7448 * commandtags.h: new LFUN_INSERT_BIBKEY
7458 * paragraph_func.C: remove special bibkey handling
7460 2003-02-17 John Levon <levon@movementarian.org>
7462 * text.C (Delete): fix case where delete at the end of
7463 the very first paragraph would not merge the pars
7465 2003-02-17 John Levon <levon@movementarian.org>
7467 * lyxrow.C: fix lastPrintablePos()
7469 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7471 * bufferparams.C (writeLaTeX): add a std:here
7473 * buffer.C: and remove a using directive there
7475 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7477 * buffer.C (makeLaTeXFile): move the code that generates the
7480 * bufferparams.C (writeLaTeX): ... in this new method
7482 * LaTeXFeatures.C (getEncodingSet): make const
7483 (getLanguages): make const
7485 * MenuBackend.C (binding): returns the binding associated to this
7487 (add): sets the status of each item by calling getStatus. Adds
7489 (read): add support for OptSubMenu
7490 (expand): remove extra separator at the end of expanded menu
7492 2003-02-15 John Levon <levon@movementarian.org>
7495 * BufferView_pimpl.C:
7497 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7498 inset code that had no actual effect. Remove unneeded status
7501 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7503 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7506 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7508 * text.C (drawLengthMarker): also draw an arrow marker for
7509 symbolic lengths (medskip...)
7511 2003-02-14 John Levon <levon@movementarian.org>
7514 * tabular.C: better method names
7516 2003-02-14 John Levon <levon@movementarian.org>
7518 * BufferView_pimpl.C:
7523 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7524 it's a more accurate name. Remove some pointless uses.
7526 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7528 * text2.C (LyXText): change order of initilizers to shut off
7531 2003-02-14 John Levon <levon@movementarian.org>
7533 * buffer.C: use ParIterator for getParFromID()
7537 * paragraph_pimpl.h:
7538 * paragraph_pimpl.C: remove unused getParFromID()
7540 2003-02-14 John Levon <levon@movementarian.org>
7542 * buffer.C: remove some very old #if 0'd parse code
7544 2003-02-13 John Levon <levon@movementarian.org>
7548 * text2.C: move hfillExpansion(), numberOfSeparators(),
7549 rowLast(), rowLastPrintable(), numberofHfills(),
7550 numberOfLabelHfills() ...
7553 * lyxrow.C: ... to member functions here.
7558 * text.C: remove LyXText::beginningOfMainBody(), and call
7559 p->beginningOfMainBody() directly. Move the check for
7560 LABEL_MANUAL into the latter.
7567 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7573 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7574 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7576 2003-02-13 John Levon <levon@movementarian.org>
7578 * CutAndPaste.C: remove debug
7580 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7582 * paragraph.C (asString): remove two unused variables
7584 * lyxtextclass.C (readTitleType):
7586 (LyXTextClass): handle new members titletype_ and titlename_
7588 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7590 2003-02-09 John Levon <levon@movementarian.org>
7593 * buffer.C: replace hand-coded list with a map for the dep clean
7595 2003-02-08 John Levon <levon@movementarian.org>
7597 * LaTeX.C: consolidate code into showRunMessage() helper
7599 2003-02-08 John Levon <levon@movementarian.org>
7604 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7605 and pass the size in explicitly
7607 * BufferView_pimpl.h:
7608 * BufferView_pimpl.C:
7610 * BufferView.C: add getCurrentChange()
7612 * BufferView_pimpl.h:
7613 * BufferView_pimpl.C: handle change lfuns
7615 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7616 for changes. Mark pasted paragraphs as new.
7618 * support/lyxtime.h:
7619 * support/lyxtime.C:
7620 * DepTable.C: abstract time_t as lyx::time_type
7623 * LColor.C: add colours for new text, deleted text, changebars
7625 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7626 package use "usenames" option.
7630 * LyXAction.C: add change lfuns
7634 * author.C: author handling
7637 * buffer.C: add a per-buffer author list, with first entry as
7638 current author. Handle new .lyx tokens for change tracking. Output
7639 author list to .lyx file. Output dvipost stuff to .tex preamble.
7640 Bump lyx format to 222.
7643 * bufferlist.C: add setCurrentAuthor() to reset current author details
7647 * bufferparams.C: add param for tracking
7649 * bufferview_funcs.C: output change info in minibuffer
7653 * changes.C: add change-tracking structure
7656 * debug.C: add CHANGES debug flag
7659 * lyxfind.C: add code for finding the next change piece
7662 * lyxrc.C: add user_name and user_email
7665 * lyxrow.C: add a metric for the top of the text line
7668 * text.C: implement accept/rejectChange()
7671 * text.C: paint changebars. Paint new/deleted text in the chosen
7672 colours. Strike through deleted text.
7676 * paragraph_pimpl.h:
7677 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7678 in the current change to the insert functions. Rework erase to
7679 mark text as deleted, adding an eraseIntern() and a range-based
7680 erase(). Implement per-paragraph change lookup and
7683 * paragraph_funcs.C: Fixup paste for change tracking.
7685 * tabular.C: mark added row/columns as new.
7687 * text.C: fix rowLast() to never return -1. Don't allow
7688 spellchecking of deleted text. Track transpose changes. Don't
7689 allow paragraph break or merge where appropriate.
7691 * text2.C: leave cursor at end of selection after a cut.
7693 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7695 * text.C (getLengthMarkerHeight):
7696 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7697 visible on screen too.
7699 2003-02-07 John Levon <levon@movementarian.org>
7701 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7703 2003-02-05 Angus Leeming <leeming@lyx.org>
7705 * lyxserver.C (read_ready): revert my patch of 11 September last year
7706 as it sends PC cpu through the roof. Presumably this means that
7707 the lyxserver will no longer run on an Alpha...
7709 2003-01-30 Angus Leeming <leeming@lyx.org>
7711 * factory.C (createInset): create an InsetCommandParam of type "index"
7712 and use it to 'do the right thing'.
7714 * text2.C (getStringToIndex): ensure that cursor position is always
7715 reset to the reset_cursor position.
7717 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7719 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7722 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7726 * lyxfunc.C: Output messages with identical spelling, punctuation,
7729 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7731 * MenuBackend.C (expandFormats): List only viewable export formats
7734 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7737 * lyxfunc.C (getStatus): Make sure that formats other than
7738 "fax" can also be disabled
7740 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7742 * text3.C (dispatch): put the lfuns that insert insets in 3
7743 groups, and call doInsertInset with appropriate arguments.
7744 (doInsertInset): new function, that creates an inset and inserts
7745 it according to some boolean parameters.
7747 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7749 * buffer.C (readFile): remember to pass on 'par' when calling
7750 readFile recursively.
7752 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7754 * MenuBackend.C (expandFormats): add "..." to import formats.
7756 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7758 * paragraph.C (asString): Remove XForms RTL hacks.
7760 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7761 * buffer.C: fix typo
7763 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7765 * Makefile.am (LIBS): delete var
7766 (lyx_LDADD): add @LIBS@ here instead.
7768 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7770 * Clarify the meaning of "wheel mouse jump"
7772 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7774 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7777 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7779 * importer.C (Loaders): do not preallocate 3 elements in the
7780 vector, since one ends up with 6 elements otherwise
7782 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7784 * DepTable.C (write): write the file name as last element of the
7785 .dep file (because it may contain spaces)
7786 (read): read info in the right order
7788 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7790 * paragraph_pimpl.C (simpleTeXBlanks):
7791 (simpleTeXSpecialChars):
7792 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7794 * tabular.C (latex): add some missing case statements. Reindent.
7796 * MenuBackend.C (expandToc): remove unused variable.
7798 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7807 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7810 2003-01-05 John Levon <levon@movementarian.org>
7813 * BufferView.C: add getEncoding()
7816 * kbsequence.C: do not store last keypress
7819 * lyxfunc.C: store last keypress here instead. Pass encoding
7822 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7824 * lyx_main.C (init): remove annoying error message when following
7825 symbolic links (bug #780)
7827 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7829 * text.C (insertChar):
7830 * lyxrc.C (getDescription): remove extra spaces
7832 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7834 * lyxrc.C (getDescription): remove extra spaces
7836 2002-12-20 John Levon <levon@movementarian.org>
7838 * text3.C: hack fix for page up/down across tall rows
7840 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7842 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7845 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7847 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7848 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7849 thesaurus is not compiled in
7851 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7853 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7855 2002-12-16 Angus Leeming <leeming@lyx.org>
7858 * lyx_main.C (init): remove override_x_deadkeys stuff.
7860 2002-12-12 John Levon <levon@movementarian.org>
7862 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7863 insert. Only remove shift modifier under strict
7866 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7868 * MenuBackend.C (expandToc): fix crash.
7870 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7872 * MenuBackend.C (expandToc): gettext on float names.
7874 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7876 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7877 implement bool empty() [bug 490]
7879 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7881 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7883 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7885 * several files: ws changes
7887 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7889 * text2.C (setCounter): clean up a bit, use boost.format.
7890 (updateCounters): initialize par upon declaration.
7892 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7893 if the layout exists. We do not just store the layout any more.
7894 (SwitchLayoutsBetweenClasses): use boost.format
7896 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7898 * converter.C (convert): if from and to files are the same, use a
7899 temporary files as intermediary
7901 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7904 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7906 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7908 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7910 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7912 * tabular.C (asciiPrintCell): use string(size, char) instead of
7915 * sgml.C (openTag): fix order of arguments to string constructor
7918 * lyxfunc.C (dispatch): use boost.format
7920 * lots of files: change "c" -> 'c'
7922 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7924 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7926 2002-11-25 Angus Leeming <leeming@lyx.org>
7928 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7930 * lyx_main.C (init): compile fix.
7932 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7934 * lyx_cb.C (start): boost.formatify
7935 do not include <iostream>
7937 * lengthcommon.C: ws only
7939 * boost-inst.C,BoostFormat.h: add more explict instantations
7941 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7943 * lots of files: handle USE_BOOST_FORMAT
7945 2002-11-21 John Levon <levon@movementarian.org>
7947 * pspell.C: fix compile
7949 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7951 * lyxfunc.C (dispatch): use boost::format
7955 * lyxfont.C (stateText): use boost::format
7957 * lyx_main.C (LyX): use boost::format
7959 (queryUserLyXDir): ditto
7962 (typedef boost::function): use the recommened syntax.
7964 * importer.C (Import): use boost::format
7966 * debug.C (showLevel): use boost::format
7968 * converter.C (view): use boost::format
7973 * bufferview_funcs.C (currentState): use boost::format
7975 * bufferlist.C (emergencyWrite): use boost::format
7977 * buffer.C (readLyXformat2): use boost::format
7978 (parseSingleLyXformat2Token): ditto
7980 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7982 * LaTeX.C (run): use boost::format
7984 * Chktex.C (scanLogFile): use boost::format
7986 * BufferView_pimpl.C (savePosition): use boost::format
7987 (restorePosition): ditto
7988 (MenuInsertLyXFile): ditto
7990 * BoostFormat.h: help file for explicit instation.
7992 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7994 * tabular.C (latex): Support for block alignment in fixed width
7997 2002-11-17 John Levon <levon@movementarian.org>
7999 * BufferView_pimpl.C:
8001 * lyxfunc.C: split filedialog into open/save
8003 2002-11-08 Juergen Vigna <jug@sad.it>
8005 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8006 by my last patch (hopefully).
8008 2002-11-08 John Levon <levon@movementarian.org>
8017 * toc.C: ParConstIterator, and use it (from Lars)
8019 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8021 * lyxtextclass.[Ch]: revise and add doxygen comments
8023 2002-11-07 John Levon <levon@movementarian.org>
8025 * text.C: fix progress value for spellchecker
8027 * toc.C: fix navigate menu for insetwrap inside minipage
8029 * paragraph_funcs.C: added FIXME for suspect code
8031 2002-11-07 John Levon <levon@movementarian.org>
8033 * BufferView_pimpl.C: fix redrawing of insets
8036 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8038 * text2.C (updateCounters): fix bug 668
8040 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8042 * text3.C (dispatch): Do not make the buffer dirty when moving the
8045 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8047 * vc-backend.C: STRCONV
8050 * text2.C (setCounter): STRCONV
8052 * paragraph.C (asString): STRCONV
8054 * lyxlength.C (asString): STRCONV
8055 (asLatexString): ditto
8057 * lyxgluelength.C (asString): STRCONV
8058 (asLatexString): ditto
8060 * lyxfunc.C (dispatch): STRCONV
8063 * lyxfont.C (stateText): STRCONV
8065 * importer.C (Import): STRCONV
8067 * counters.C (labelItem): STRCONV
8068 (numberLabel): ditto
8069 (numberLabel): remove unused ostringstream o
8074 * bufferview_funcs.C (currentState): STRCONV
8076 * buffer.C (readFile): STRCONV
8077 (asciiParagraph): ditto
8078 (makeLaTeXFile): ditto
8080 * Spacing.C (writeEnvirBegin): STRCONV
8082 * LaTeXFeatures.C (getLanguages): STRCONV
8083 (getPackages): ditto
8085 (getBabelOptions): ditto
8086 (getTClassPreamble): ditto
8087 (getLyXSGMLEntities): ditto
8088 (getIncludedFiles): ditto
8092 (scanAuxFile): ditto
8095 * LString.h: add the STRCONV macros
8097 * BufferView_pimpl.C (savePosition): STRCONV
8098 (restorePosition): ditto
8099 (MenuInsertLyXFile): ditto
8101 * vc-backend.C (scanMaster): change from submatch[...] to
8104 * funcrequest.C: include config.h
8106 * factory.C: include config.h
8108 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8110 * box.C: include config.h
8112 * LaTeX.C (scanAuxFile): change from submatch[...] to
8116 2002-10-25 Angus Leeming <leeming@lyx.org>
8118 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8120 * ispell.[Ch] (setError): new method.
8121 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8122 Use setError() insetead of goto END.
8124 * lyx_cb.C (AutoSave): move out child process into new class
8127 2002-10-30 John Levon <levon@movementarian.org>
8129 * text3.C: make start appendix undoable
8131 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8133 * lyxlength.C (inPixels): Fix returned value.
8135 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8138 2002-10-24 Angus Leeming <leeming@lyx.org>
8140 * lyxgluelength.h: no need to forward declare BufferParams
8141 or BufferView, so don't.
8143 2002-10-21 John Levon <levon@movementarian.org>
8145 * BufferView.C: menuUndo ->undo, redo
8147 * BufferView.h: document, remove dead, make some methods private
8149 * paragraph_funcs.h:
8150 * paragraph_funcs.C:
8151 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8156 * sgml.C: move sgml open/close tag into sgml.C
8158 * bufferview_funcs.h: unused prototype
8161 * lyxfunc.C: remove unused
8164 * text.C: remove unused
8166 2002-10-21 John Levon <levon@movementarian.org>
8170 * BufferView_pimpl.h:
8171 * BufferView_pimpl.C: fix mouse wheel handling based on
8172 patch from Darren Freeman
8174 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8176 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8178 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8180 * lyxlength.C (inPixels): Fix hanfling of negative length.
8181 Fix LyXLength::MU case.
8183 2002-10-16 John Levon <levon@movementarian.org>
8185 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8187 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8189 * converter.C (view): add support for $$i (file name) and $$p
8190 (file path) for the viewer command. If $$i is not specified, then
8191 it is appended to the command (for compatibility with old syntax)
8193 2002-10-14 Juergen Vigna <jug@sad.it>
8195 * undo_funcs.C (textHandleUndo): alter the order in which the
8196 new undopar is added to the LyXText, as we have to set first
8197 the right prev/next and then add it as otherwise the rebuild of
8198 LyXText is not correct. Also reset the cursor to the right paragraph,
8199 with this IMO we could remove the hack in "redoParagraphs()".
8201 2002-10-09 Angus Leeming <leeming@lyx.org>
8203 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8204 to turn off an optimisation if a new inset is to be inserted.
8206 2002-10-11 André Pönitz <poenitz@gmx.net>
8208 * lyxtext.h: make some functions public to allow access
8209 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8211 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8213 * text3.C (dispatch): when changing layout, avoid an infinite loop
8216 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8218 * lyxrc.C (read): treat a viewer or converter command of "none" as
8221 * MenuBackend.C (expandFormats): for an update, also allow the
8222 formats that are not viewable
8224 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8225 script if it is newer than the lyxrc.defaults in user directory
8227 2002-10-07 André Pönitz <poenitz@gmx.net>
8229 * text.C: Vitaly Lipatov's small i18n fix
8231 2002-09-25 Angus Leeming <leeming@lyx.org>
8233 * ispell.h: doxygen fix.
8235 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8237 * buffer.h (readFile): Add a new argument to the method, to allow
8238 reading of old-format templates.
8240 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8242 * toc.C (getTocList): Get TOC from InsetWrap.
8244 2002-09-16 John Levon <levon@movementarian.org>
8246 * lyxfunc.C: check tabular for cut/copy too
8248 2002-09-12 John Levon <levon@movementarian.org>
8253 * factory.C: add header
8255 * paragraph_funcs.h:
8256 * paragraph_funcs.C: cleanup
8258 2002-09-11 John Levon <levon@movementarian.org>
8260 * PrinterParams.h: odd/even default to true
8262 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8264 * PrinterParams.h: update printer parameters for new xforms dialog
8266 2002-09-11 Angus Leeming <leeming@lyx.org>
8268 * lyxserver.C (read_ready): re-write to make it more transparent
8269 and to make it work in coherent fashion under Tru64 Unix.
8271 2002-09-11 André Pönitz <poenitz@gmx.net>
8275 * text3.C: implement LFUN_WORDSEL
8277 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8279 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8280 make floatlist_ a boost::shared_ptr<FloatList>
8282 * lyxtextclass.C: include FloatList.h
8283 (LyXTextClass): initialize floatlist_
8284 (TextClassTags): add TC_NOFLOAT
8285 (Read): match "nofloat" to TC_NOFLOAT and use it.
8286 (readFloat): modify call to floatlist_
8290 * FloatList.[Ch] (FloatList): remove commented out float
8292 (erase): new function
8294 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8296 * MenuBackend.C (expandToc): fix crash when there is no document
8299 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8301 * many files: Add insetwrap.
8303 2002-09-09 John Levon <levon@movementarian.org>
8305 * text2.C: remove confusing and awkward depth wraparound
8307 2002-09-09 John Levon <levon@movementarian.org>
8309 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8312 * buffer.C: remove getIncludeonlyList()
8315 * lyxfunc.C: remove headers
8317 2002-09-09 Juergen Vigna <jug@sad.it>
8319 * text.C (getColumnNearX): fix form Michael this is most
8320 probably a cut&paste bug.
8322 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8324 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8326 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8327 references, ws changes.
8329 * text2.C (init): update counters after init
8330 (insertParagraph): no need to set counter on idividual paragraphs.
8331 (setCounter): access the counters object in the textclass object
8332 on in the buffer object.
8333 (updateCounters): ditto
8335 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8336 shared_ptr<Counters> to avoid loading counters.h in all
8338 (LyXTextClass): initialize ctrs_
8339 (TextClassTags): add TC_COUNTER, and ...
8340 (Read): use it here.
8341 (CounterTags): new tags
8342 (readCounter): new function
8343 (counters): new funtion
8344 (defaultLayoutName): return a const reference
8346 * counters.C (Counters): remove contructor
8347 (newCounter): remove a couple of unneeded statements.
8348 (newCounter): simplify a bit.
8349 (numberLabel): some small formatting changes.
8351 * buffer.[Ch]: remove all traces of counters, move the Counters
8352 object to the LyXTextClass.
8354 2002-09-06 Alain Castera <castera@in2p3.fr>
8356 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8357 package to set the horizontal alignment on fixed width columns.
8360 * lyx_sty.h: added tabularnewline macro def.
8362 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8364 2002-09-06 John Levon <levon@movementarian.org>
8366 * LyXAction.C: tooltips for sub/superscript
8368 * MenuBackend.C: a bit more verbose
8370 * lyxfunc.C: tiny clean
8372 * undo_funcs.C: document undo_frozen
8374 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8376 * counters.C (Counters): add missing algorithm counter.
8378 * text2.C (setCounter): lookup the counter with layouts latexname
8379 instead of by section number.
8380 (setCounter): use a hackish way to lookup the correct enum
8382 a float name->type change
8383 reset enum couners with counter name directly instead of depth value.
8385 * counters.C (Counters): remove the push_backs, change to use the
8386 float type not the float name.
8387 (labelItem): remove unused string, float name->type change
8389 * counters.h: don't include vector, loose the enums and sects vectors
8391 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8393 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8394 (Read): add float->TC_FLOAT to textclassTags
8395 (Read): and handle it in the switch
8396 (readFloat): new function
8398 * FloatList.C (FloatList): comment out the hardcoded float
8401 * lyxlayout.h: ws change.
8403 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8405 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8407 2002-09-03 Angus Leeming <leeming@lyx.org>
8409 * BufferView_pimpl.h: qualified name is not allowed in member
8410 declaration: WorkArea & Pimpl::workarea() const;
8412 * factory.C: added using std::endl directive.
8414 * text3.C: added using std::find and std::vector directives.
8416 2002-08-29 André Pönitz <poenitz@gmx.net>
8419 * text2.C: remove unused member number_of_rows
8422 * BufferView2.C: remove file, move contents to...
8423 * BufferView.C: ... here
8425 * BufferView_pimpl.C:
8426 * factory.C: move more inset creation to factory
8428 * vspace.C: avoid direct usage of LyXText, ws changes
8431 don't provide direct access to WorkArea, use two simple
8432 acessors haveSelction() and workHeight() instead
8435 2002-08-29 John Levon <levon@movementarian.org>
8437 * BufferView_pimpl.C (dispatch): do not continue when
8440 2002-08-28 André Pönitz <poenitz@gmx.net>
8442 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8445 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8447 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8449 * buffer.C: increment LYX_FORMAT to 221
8451 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8452 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8454 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8456 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8458 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8460 * factory.C (createInset): use LyXTextClass::floats
8462 * MenuBackend.C (expandFloatListInsert):
8463 (expandFloatInsert):
8466 * text2.C (setCounter):
8468 * LaTeXFeatures.C (useFloat):
8469 (getFloatDefinitions):
8471 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8473 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8474 floatlist_, with accessor floats().
8476 * FloatList.h: remove global FloatList
8478 2002-08-26 André Pönitz <poenitz@gmx.net>
8480 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8484 * BufferView_pimpl.C:
8485 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8487 2002-08-25 John Levon <levon@movementarian.org>
8489 * LyXAction.C: fix margin note description
8491 2002-08-24 John Levon <levon@movementarian.org>
8495 * bufferview_funcs.C:
8497 * undo_funcs.C: cleanups
8499 * lyxfunc.C: disable CUT/COPY when no selection
8501 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8503 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8504 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8506 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8507 Add backward compatibility to "mono", "gray" and "no".
8509 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8511 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8512 (and file_format >= 200).
8514 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8516 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8518 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8520 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8522 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8524 * BufferView_pimpl.C:
8531 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8532 inset and code to make it work with the paragraph code. The inset
8533 can be anywhere in the paragraph, but will only do the expected
8534 thing in LaTeX if the layout file contains the parameter line
8536 (or more generally, a nonzero value) for that layout.
8538 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8540 * paragraph.h: remove the declaration of undefined counters class
8543 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8545 * text2.C (setCounter): fixed enumeration mis-count as reported by
8546 Dr. Richard Hawkins.
8548 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8550 * paragraph_funcs.h: remove some unneeded includes
8552 * text.C (backspace): pasteParagraph now in global scipe
8554 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8555 (pasteSelection): ditto
8557 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8558 * paragraph_funcs.C (pasteParagraph): ... here
8560 2002-08-20 André Pönitz <poenitz@gmx.net>
8562 * commandtags.h: new LFUNs for swapping/copying table row/colums
8565 * lyxfunc.C: support for new lfuns
8567 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8570 * buffer.[Ch]: remove NO_COMPABILITY stuff
8572 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8574 * boost.C (throw_exception): new file, with helper function for
8575 boost compiled without exceptions.
8580 * ParameterStruct.h:
8581 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8583 * bufferlist.C (emergencyWriteAll): use boost bind
8585 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8587 * text.C: include paragraph_funcs.h
8588 (breakParagraph): breakParagraph is now in global scope
8590 * paragraph_funcs.[Ch]: new files
8592 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8595 * buffer.C: include paragraph_funcs.h
8596 (insertStringAsLines): breakParagraph is now in global scope
8598 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8601 * CutAndPaste.C: include paragraph_funcs.h
8602 (cutSelection): breakParagraphConservative is now in global scope
8603 (pasteSelection): ditto
8605 * buffer.h: declare oprator== and operator!= for
8606 Buffer::inset_iterator
8608 * bufferlist.C (emergencyWrite): don't use fmt(...)
8610 * text3.C: add using std::endl
8612 * BufferView.C (moveCursorUpdate): remove default arg
8614 2002-08-20 André Pönitz <poenitz@gmx.net>
8616 * buffer.[Ch]: move inline functions to .C
8619 * BufferView_pimpl.C:
8621 * buffer.[Ch]: use improved inset_iterator
8624 * paragraph.[Ch]: write one paragraph at a time
8626 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8628 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8629 style if style is not specified.
8631 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8633 * text2.C (setCounter): when searching for right label for a
8634 caption, make sure to recurse to parent insets (so that a caption
8635 in a minipage in a figure float works) (bug #568)
8637 2002-08-20 André Pönitz <poenitz@gmx.net>
8639 * text3.C: new file for LyXText::dispatch() and helpers
8641 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8643 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8645 2002-08-19 André Pönitz <poenitz@gmx.net>
8648 * text.C: new LyXText::dispatch()
8650 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8652 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8654 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8656 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8659 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8661 * Makefile.am: use $(variables) instead of @substitutions@
8663 2002-08-15 André Pönitz <poenitz@gmx.net>
8666 * BufferView_pimpl.C: streamlining mathed <-> outer world
8670 * LyXAction.C: remove unused LFUN_MATH
8672 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8674 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8676 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8678 * paragraph.C (Paragraph): reformat a bit
8679 (cutIntoMinibuffer): use builtin InsetList function instad of
8683 * buffer.C: include boost/bind.hpp, add using std::for_each
8684 (writeFileAscii): use ParagraphList iterators
8685 (validate): use for_each for validate traversal of paragraphs
8686 (getBibkeyList): use ParagraphList iterators
8687 (resizeInsets): use for_each to resizeInsetsLyXText for all
8689 (getParFromID): use ParagraphList iterators
8691 * BufferView2.C (lockInset): use paragraph list and iterators
8693 2002-08-14 John Levon <levon@movementarian.org>
8695 * lyxserver.C: remove spurious xforms include
8697 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8699 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8701 2002-08-13 André Pönitz <poenitz@gmx.net>
8704 * lyxfunc.C: further cleaning
8706 2002-08-13 André Pönitz <poenitz@gmx.net>
8708 * funcrequest.h: new constructor
8710 * funcrequest.C: move stuff here from .h
8713 * BufferView_pimpl.C:
8716 * lyxfunc.C: subsequent changes
8718 * lyxfunc.h: new view() member function
8720 * lyxfunc.C: subsequent changes
8722 2002-08-13 Angus Leeming <leeming@lyx.org>
8725 * BufferView_pimpl.C:
8733 changes due to the changed LyXView interface that now returns references
8734 to member variables not pointers.
8736 2002-08-13 Angus Leeming <leeming@lyx.org>
8738 * WordLangTuple (word, lang_code): return references to strings,
8743 * lyxtext.h: forward-declare WordLangTuple.
8748 * text.C: #include "WordLangTuple.h".
8751 * text.C: (selectNextWordToSpellcheck): constify return type.
8753 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8759 * paragraph_pimpl.h:
8762 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8764 Made updateCounter always count from start of buffer, and removed
8765 second argument (par).
8766 Reverted floats number display to '#'. Perhaps I'll try again when the
8767 code base is sanitized a bit.
8769 2002-08-12 Angus Leeming <leeming@lyx.org>
8771 * buffer.[Ch] (getLabelList): constify.
8773 2002-08-07 André Pönitz <poenitz@gmx.net>
8775 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8777 * funcrequest.h: extension to keep mouse (x,y) position
8779 2002-08-12 Juergen Vigna <jug@sad.it>
8781 * BufferView2.C (insertErrors): forbid undo when inserting error
8784 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8786 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8788 * ParagraphList.[Ch]: new files
8790 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8792 * BufferView2.C (lockInset): ParagraphList changes
8795 * bufferlist.C: ditto
8799 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8801 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8802 unused class variable counter_,
8804 * paragraph.[Ch] (getFirstCounter): delete unused function
8806 * counters.C: include LAssert.h
8807 (reset): add a new function with no arg, change other version to
8808 not have def. arg and to not allow empty arg.
8810 * text2.C (setCounter): remove empty arg from call to Counters::reset
8812 2002-08-11 John Levon <levon@movementarian.org>
8814 * Makefile.am: add WordLangTuple.h
8816 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8818 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8819 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8821 * insets/insettext.C: InsetList changes
8823 * graphics/GraphicsSupport.C (operator()): InsetList changes
8825 * toc.C (getTocList): InsetList changes
8827 * paragraph_pimpl.[Ch]: InsetList changes
8829 * paragraph.[Ch]: InsetList changes
8831 * buffer.C (inset_iterator): InsetList changes
8832 (setParagraph): ditto
8833 * buffer.h (inset_iterator): ditto
8834 * iterators.C (operator++): ditto
8835 * iterators.h: ditto
8837 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8839 * InsetList.[Ch]: new files, most InsetList handling moved out of
8842 * BufferView2.C (removeAutoInsets): InsetList changes
8844 (ChangeInsets): ditto
8846 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8848 * paragraph_pimpl.h (empty): new function
8850 * paragraph.[Ch] (empty): new function
8852 * other files: use the new Paragraph::empty function
8854 2002-08-09 John Levon <levon@movementarian.org>
8856 * lyxtext.h: remove unused refresh_height
8858 2002-08-09 John Levon <levon@movementarian.org>
8865 * paragraph.C: move sgml char escaping out of paragraph
8868 * paragraph.C: remove id setter
8872 * paragraph_pimpl.C: remove dead tex_code_break_column
8874 * bufferview_funcs.C: small cleanup
8876 * lyxfunc.C: remove dead proto
8878 * lyxtext.h: make some stuff private. Remove some dead stuff.
8880 * lyxgluelength.C: make as[LyX]String() readable
8882 2002-08-08 John Levon <levon@movementarian.org>
8887 * ToolbarDefaults.C:
8890 * toc.C: lyxaction cleanup
8892 2002-08-08 John Levon <levon@movementarian.org>
8894 * BufferView2.C: small cleanup
8897 * lyxfind.C: move unnecessary header into the .C
8899 2002-08-08 John Levon <levon@movementarian.org>
8901 * funcrequest.h: just tedious nonsense
8904 * lyx_main.C: cleanups
8907 * vspace.C: remove dead header lyx_main.h
8909 2002-08-07 Angus Leeming <leeming@lyx.org>
8912 * paragraph_pimpl.h:
8913 Forward declare class Counters in paragraph.h by moving the ctrs member
8914 variable into Paragraph::Pimpl.
8915 (counters): new method, returning a reference to pimpl_->ctrs.
8917 * text2.C: ensuing changes.
8919 2002-08-07 John Levon <levon@movementarian.org>
8921 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8923 * BufferView_pimpl.C: announce X selection on double/triple
8926 * lyx_main.C: use correct bool in batch dispatch
8928 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8930 2002-08-07 André Pönitz <poenitz@gmx.net>
8932 * funcrequest.h: new class to wrap a kb_action and its argument
8935 * BufferView_pimpl[Ch]:
8939 * lyxrc.C: subsequent changes
8942 2002-08-07 John Levon <levon@movementarian.org>
8944 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8945 document options change.
8947 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8952 * makefile.am: move counters functionality over from
8953 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8955 2002-08-06 John Levon <levon@movementarian.org>
8957 * WordLangTuple.h: new file for word + language code tuple
8968 * BufferView2.C: use WordLangTuple
8971 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8973 2002-08-06 John Levon <levon@movementarian.org>
8975 * lyx_main.C: fix cmdline batch handling
8977 2002-08-06 André Pönitz <poenitz@gmx.net>
8979 * lyxrc.C: set default for show_banner to true
8981 2002-08-06 John Levon <levon@movementarian.org>
8983 * pspell.C: fix a crash, and allow new aspell to work
8985 2002-08-06 John Levon <levon@movementarian.org>
8988 * kbmap.C: small cleanup
8991 * vspace.C: add const
8993 2002-08-05 John Levon <levon@movementarian.org>
8995 * LyXAction.C: back to tabular-insert
8997 2002-08-04 John Levon <levon@movementarian.org>
9000 * BufferView.C: cosmetic change
9002 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9012 * BufferView2.C: purge all "Lyx" not "LyX" strings
9015 * lyxcursor.C: attempt to add some documentation
9020 * ToolbarDefaults.C:
9021 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9022 merge with LFUN_TABULAR_INSERT
9029 * pspell.C: split up i/pspell implementations into separate
9030 files, many cleanups
9032 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9034 * text2.C: some cleanup
9036 * lyxfunc.C: don't check for isp_command == "none" any more, it
9037 didn't make any sense
9039 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9044 * makefile.am: move counters functionality over
9045 from text2.C/paragraph.[Ch] to counters.[Ch], and
9047 2002-08-02 John Levon <levon@movementarian.org>
9049 * buffer.C: s/lyxconvert/lyx2lyx/
9051 2002-08-02 Angus Leeming <leeming@lyx.org>
9053 * lyxlex.C: revert John's change as it breaks reading of the user
9056 2002-08-02 Angus Leeming <leeming@lyx.org>
9058 * importer.C (Import):
9059 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9060 changes due to LyXView::view() now returning a boost::shared_ptr.
9062 2002-08-02 John Levon <levon@movementarian.org>
9064 * lyxlex.C: small cleanup
9066 2002-08-02 John Levon <levon@movementarian.org>
9068 * text2.C (status): small cleanup, no logic change
9070 2002-08-01 John Levon <levon@movementarian.org>
9073 * buffer.C (writeFile): don't output alerts, caller
9077 * lyx_cb.C: from above
9079 * lyxfunc.C: allow to open non-existent files
9081 2002-07-31 John Levon <levon@movementarian.org>
9083 * lyxserver.C: don't let incidental errors get
9086 2002-07-30 John Levon <levon@movementarian.org>
9088 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9090 2002-07-30 John Levon <levon@movementarian.org>
9093 * lyxserver.C: remove I/O callback too
9095 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9097 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9100 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9102 * many files: strip,frontStrip -> trim,ltrim,rtrim
9104 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9106 * PrinterParams.h: remove extern containsOnly, and include
9107 support/lstrings.h instead.
9109 * LaTeX.C (scanAuxFile): modify because of strip changes
9111 * buffer.C (makeLaTeXFile): ditto
9112 * bufferparams.C (writeFile): ditt
9113 * lyxfont.C (stateText): ditto
9114 * lyxserver.C (read_ready): ditto
9115 * vc-backend.C (scanMaster): ditto
9117 * BufferView_pimpl.h: ws changes
9119 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9121 2002-07-26 André Pönitz <poenitz@gmx.net>
9123 * kb_sequence.C: remove unnedred usings
9125 2002-07-26 Juergen Vigna <jug@sad.it>
9127 * lyxfind.C (LyXReplace): we have to check better if the returned
9128 text is not of theLockingInset()->getLockingInset().
9130 2002-07-25 Juergen Vigna <jug@sad.it>
9132 * lyxfind.C (LyXReplace): don't replace if we don't get the
9135 * undo_funcs.C (createUndo): remove debugging code.
9137 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9139 * buffer.C (parseSingleLyXformat2Token): Use default placement
9140 when reading old floats.
9142 * FloatList.C (FloatList): Change the default placement of figure
9143 and tables to "tbp".
9145 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9147 * MenuBackend.C: using std::max
9149 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9151 * MenuBackend.C (expandToc):
9152 (expandToc2): code moved from xforms menu frontend. It is now
9153 generic and TOCs are transparent to menu frontends.
9155 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9157 * toc.C (getTocList): protect against buf=0
9159 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9160 Menu as first parameter. Now, this calls itself recursively to
9161 expand a whole tree (this will be useful for TOC handling)
9162 (expandFloatInsert): remove 'wide' version of floats
9164 * MenuBackend.h (submenuname): returns the name of the submenu.
9165 (submenu): returns the submenu itself, provided it has been
9166 created by MenuBackend::expand
9168 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9170 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9171 insets which have noFontChange == true. (bug #172)
9173 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9175 * BufferView_pimpl.C: add connection objects and use them...
9178 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9180 * MenuBackend.C (expandLastfiles):
9183 (expandFloatListInsert):
9184 (expandFloatInsert):
9185 (expand): split expand in parts
9187 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9189 * lyx_gui.C: use lyx_gui::exit()
9191 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9193 * LyXAction.C: show the failing pseudo action
9195 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9197 * buffer.C (readFile): Run the lyxconvert script in order to read
9200 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9204 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9206 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9210 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9212 2002-07-22 Herbert Voss <voss@lyx.org>
9215 * lyxlength.[Ch]: add support for the vertical lengths
9217 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9219 * toc.[Ch]: std:: fixes
9221 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9223 * lyxrc.C: do not include lyx_main.h
9225 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9231 * BufferView2.C: include "lyxlex.h"
9234 * bufferparams.h: do not #include "lyxlex.h"
9236 * lyxtextclasslist.C (Add): remove method
9237 (classlist): renamed to classlist_
9239 * paragraph_pimpl.C:
9243 * bufferview_funcs.C:
9248 * toc.C (getTocList): use BufferParams::getLyXTextClass
9250 * toc.C (getTocList): use InsetFloat::addToToc
9252 * toc.[Ch]: new files, containing helper functions to handle table
9255 * lyxfunc.C (dispatch): no need to remove spaces around command
9257 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9258 first command of the sequence; it is not very clever, but I do not
9259 have a better idea, actually
9261 * LyXAction.C (LookupFunc): make sure to remove space at the
9262 beginning and end of the command
9264 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9266 * MenuBackend.C (getMenubar): new method: return the menubar of
9268 (read): treat differently reading of menu and menubar (in
9269 particular, the menubar has no name now)
9270 (Menu::menubar): remove
9272 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9275 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9277 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9278 a bibitem inset in a RTL paragraph.
9280 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9282 * paragraph_pimpl.C: constify
9284 * BufferView_pimpl.C:
9286 * lyxfunc.C: fix dispatch in a nicer way
9288 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9290 * lyxfunc.C (dispatch):
9291 * BufferView_pimpl.C:
9292 * BufferView_pimpl.h:
9294 * BufferView.h: rename Dispatch() to dispatch()
9296 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9298 * lyxlayout.C (Read): honor DependsOn tag
9300 * lyxlayout.[Ch] (depends_on): new method
9302 * version.C.in: update lyx_docversion
9304 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9306 * paragraph.C (validate): remove from here...
9307 * paragraph_pimpl.C (validate): ... and move here
9308 (isTextAt): make it const
9310 * buffer.C (getLists): ws cleanup
9312 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9314 * language.C (read): Use iso8859-1 encoding in latex_lang
9315 (this prevents LyX from crashing when using iso10646-1 encoding).
9317 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9319 * text2.C (toggleInset): if cursor is inside an inset, close the
9320 inset and leave cursor _after_ it
9322 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9324 * lyxfunc.C: move minibuffer completion handling out of here
9326 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9328 * BufferView_pimpl.C:
9329 * LaTeX.C: fix dispatch calls
9331 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9333 * text.C (drawChars): Fix Arabic text rendering.
9335 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9339 * lyxfunc.C: remove message-push/pop
9343 * lyxfunc.C: rationalise some code by removing verboseDispatch
9344 in favour of a bool argument to dispatch()
9346 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9348 * lyx_main.C (init): make sure to read symlinks as absolute paths
9350 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9353 * lyxfunc.C: no need for commandshortcut to be a member
9355 2002-07-15 André Pönitz <poenitz@gmx.net>
9357 * converter.C: add support for $$s (scripts from lib/scripts dir)
9358 * lyx_main.C: white space
9360 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9364 * lyxrc.C: remove second exit confirmation
9366 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9371 * BufferView_pimpl.h:
9372 * BufferView_pimpl.C:
9373 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9375 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9377 * MenuBackend.C (expand): add numeric shortcuts to document menu
9379 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9381 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9383 * lyxfont.C (setLyXFamily):
9390 * buffer.C (asciiParagraph): use ascii_lowercase
9392 2002-07-15 Mike Fabian <mfabian@suse.de>
9394 * lyxlex_pimpl.C (search_kw):
9395 * lyxlex.C (getLongString):
9396 * converter.h (operator<):
9397 * converter.C (operator<):
9398 * buffer.C (parseSingleLyXformat2Token):
9400 * ToolbarDefaults.C (read):
9401 * MenuBackend.C (checkShortcuts):
9403 * LColor.C (getFromGUIName):
9404 (getFromLyXName): use the compare_ascii_no_case instead of
9405 compare_no_case, because in turkish, 'i' is not the lowercase
9406 version of 'I', and thus turkish locale breaks parsing of tags.
9408 2002-07-16 Angus Leeming <leeming@lyx.org>
9410 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9411 now takes a Buffer const & argument.
9413 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9415 * BufferView.C (resize): check there's a buffer to resize
9417 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9419 * lyxfunc.C: remove dead code
9422 * lyxserver.C: use lyx_guii::set_read_callback
9424 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9426 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9427 an inset in a RTL paragraph.
9429 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9431 * lyxfunc.C: repaint after a font size update
9433 2002-07-15 André Pönitz <poenitz@gmx.net>
9435 * lyxlength.C: inBP should be able to return negative values
9437 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9439 * lyxfunc.C: use lyx_gui::update_fonts()
9441 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9443 * lyxfunc.C: use lyx_gui::update_color()
9445 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9451 * lyxrc.C: remove file->new asks for name option, and let
9452 buffer-new take an argument
9454 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9456 * BufferView_pimpl.C: remove unneeded extra repaint()
9458 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9460 * LyXAction.C: allow command-sequence with NoBuffer
9462 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9464 2002-07-10 Angus Leeming <leeming@lyx.org>
9466 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9468 2002-07-09 Angus Leeming <leeming@lyx.org>
9470 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9472 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9474 * lengthcommon.h: whitespace
9476 * lyxfunc.C: update scrollbar after goto paragraph
9478 * lyxtext.h: factor out page break drawing, and fix it so
9479 page break/added space paints as selected nicely
9481 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9483 * BufferView_pimpl.C: add FIXMEs, clean up a little
9485 2002-07-09 André Pönitz <poenitz@gmx.net>
9487 * lyxfont.[Ch]: support for wasy symbols
9489 2002-07-08 André Pönitz <poenitz@gmx.net>
9491 * BufferView_pimpl.C: apply John's patch for #93.
9493 2002-07-05 Angus Leeming <leeming@lyx.org>
9495 * BufferView_pimpl.C (buffer): generate previews if desired.
9497 * LColor.h: add "preview" to the color enum.
9499 * LColor.C (LColor): add a corresponding entry to the items array.
9501 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9504 2002-07-05 Angus Leeming <leeming@lyx.org>
9506 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9507 The body of the code is now in the method that is passed an ostream &
9508 rather than a file name.
9509 Pass an additional only_preamble parameter, useful for the forthcoming
9512 2002-07-03 André Pönitz <poenitz@gmx.net>
9514 * lyxfunc.C: simplify getStatus() a bit for math stuff
9516 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9518 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9520 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9522 * text.C (changeRegionCase): do not change case of all the
9523 document when region ends at paragraph end (bug #461)
9525 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9527 * paragraph.C (startTeXParParams):
9528 (endTeXParParams): add \protect when necessary
9530 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9532 * BufferView_pimpl.C (workAreaExpose): remove warning
9534 2002-06-27 Angus Leeming <leeming@lyx.org>
9536 * Makefile.am: add lyxlayout_ptr_fwd.h.
9538 2002-06-26 André Pönitz <poenitz@gmx.net>
9540 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9542 2002-06-25 Angus Leeming <leeming@lyx.org>
9544 * lyxfunc.C (dispatch): Comment out the call to
9545 grfx::GCache::changeDisplay. The method no longer exists now that the
9546 pixmap generation part of the graphics loader has been moved into
9549 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9551 * text2.C: layout as layout
9553 * text.C: layout as layout
9555 * tabular.C (OldFormatRead): layout as layout
9557 * paragraph_pimpl.C (TeXDeeper): layout as layout
9558 (realizeFont): layout as layout
9560 * paragraph.C (writeFile): layout as layout
9561 (validate): layout as layout
9562 (getFont): layout as layout
9563 (getLabelFont): layout as layout
9564 (getLayoutFont): layout as layout
9565 (breakParagraph): layout as layout
9566 (stripLeadingSpaces): layout as layout
9567 (getEndLabel): layout as layout
9568 (getMaxDepthAfter): layout as layout
9569 (applyLayout): layout as layout
9570 (TeXOnePar): layout as layout
9571 (simpleTeXOnePar): layout as layout
9572 (TeXEnvironment): layout as layout
9573 (layout): layout as layout
9574 (layout): layout as layout
9576 * lyxtextclass.C (compare_name): new functor to work with
9577 shared_ptr, layout as layout
9578 (Read): layout as layout
9579 (hasLayout): layout as layout
9580 (operator): layout as layout
9581 (delete_layout): layout as layout
9582 (defaultLayout): layout as layout
9584 * lyxlayout_ptr_fwd.h: new file
9586 * lyxlayout.C (Read): layout as layout
9588 * lyx_cb.C (MenuInsertLabel): layout as layout
9590 * bufferlist.C (newFile): layout as layout
9592 * buffer.C (readLyXformat2): layout as layout
9593 (parseSingleLyXformat2Token): layout as layout
9594 (insertStringAsLines): layout as layout
9595 (asciiParagraph): layout as layout
9596 (latexParagraphs): layout as layout
9597 (makeLinuxDocFile): layout as layout
9598 (simpleLinuxDocOnePar): layout as layout
9599 (makeDocBookFile): layout as layout
9600 (simpleDocBookOnePar): layout as layout
9601 (getLists): layout as layout
9603 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9605 * CutAndPaste.C (cutSelection): layout as layout
9606 (pasteSelection): layout as layout
9607 (SwitchLayoutsBetweenClasses): layout as layout
9609 * BufferView_pimpl.C (Dispatch): layout as layout
9610 (smartQuote): layout as layout
9612 * BufferView2.C (unlockInset): layout as layout
9614 2002-06-24 André Pönitz <poenitz@gmx.net>
9616 * lyxfunc.C: fix #487
9618 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9622 * lyxfunc.C: remove display_shortcuts, show_banner
9624 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9626 * Buffer_pimpl.C: oops, update on resize
9628 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9635 * BufferView.C: use repaint()
9637 * BufferView_pimpl.h:
9638 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9639 as it's a clearer description. Remove superfluous
9642 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9644 * text.C: fix bug 488. Not ideal, but getting
9645 getWord() to work properly for the insets that
9646 matter is more difficult ...
9648 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9650 * BufferView_pimpl.C:
9653 * lyxfunc.C: remove the six million index lyxfuncs to just
9654 one, and DTRT (bug 458)
9656 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9660 * BufferView_pimpl.h:
9661 * BufferView_pimpl.C: clean up resize() stuff,
9662 and unnecessary updateScreen()s
9664 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9668 * BufferView_pimpl.h:
9669 * BufferView_pimpl.C:
9672 * minibuffer.C: remove focus management of workarea,
9673 not needed. Use screen's greyOut()
9675 2002-06-17 Herbert Voss <voss@lyx.org>
9677 * converter.C: (convert) do not post a message, when converting
9678 fails, let the calling function decide what to do in this case
9680 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9682 * lyxfunc.C: tidy up a little
9684 2002-06-16 <alstrup@diku.dk>
9686 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9687 Got rid of FORMS_H_LOCATION include. Now we are
9690 2002-06-15 LyX Development team <lyx@rilke>
9692 * buffer.[Ch] (sgmlOpenTag):
9693 (sgmlCloseTag): Added support for avoiding pernicious mixed
9694 content. Return number of lines written.
9697 (makeDocBookFile): Fixed calls to sgml*Tag.
9698 Simple white space clean.
9700 (simpleDocBookOnePar): Simple white space clean.
9702 * tabular.[Ch] (docBook): Renamed to docbook and got another
9703 argument to related with the pernicious mixed content.
9705 (docbookRow): Fixed calls for docbook inset method.
9707 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9709 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9710 so it's X11 independent.
9714 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9716 2002-06-15 Lyx Development team <lyx@electronia>
9718 * intl.h: Renamed getTrans to getTransManager.
9720 2002-06-14 Angus Leeming <leeming@lyx.org>
9722 * Makefile.am: nuke forgotten stl_string_fwd.h.
9724 2002-06-12 Angus Leeming <leeming@lyx.org>
9726 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9728 2002-06-13 Angus Leeming <leeming@lyx.org>
9731 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9733 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9735 * kbmap.C (getiso): add support for cyrillic and greek
9737 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9741 * BufferView_pimpl.h:
9742 * BufferView_pimpl.C: move bogus scrolling logic
9745 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9748 * BufferView_pimpl.C: view->resize() change
9750 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9752 * BufferView_pimpl.C: topCursorVisible
9755 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9759 * lyx_gui.C: move to frontends/
9763 * lyx_main.C: changes from above
9765 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9772 * lyx_main.C: minor tidy
9774 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9776 * BufferView_pimpl.h:
9777 * BufferView_pimpl.C:
9779 * BufferView.C: make painter() const,
9782 * BufferView2.C: use screen() accessor
9785 * lyx_main.C: some minor cleanup
9787 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9789 * BufferView_pimpl.h:
9790 * BufferView_pimpl.C: remove enter/leaveView,
9793 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9798 * BufferView_pimpl.h:
9799 * BufferView_pimpl.C: only construct screen once,
9802 * lyxrc.C: remove pointless comment
9804 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9807 * BufferView.C: remove active() and belowMouse()
9809 * BufferView_pimpl.h:
9810 * BufferView_pimpl.C: use workarea() not workarea_,
9811 and make it use a scoped_ptr instead
9813 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9815 * lyx_gui.C: add debug message on BadWindow
9817 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9819 * sp_spell.C: fdopen is not part of the C++ standard.
9821 * paragraph.C (InsetIterator): use >= instead of ==
9823 2002-06-07 Angus Leeming <leeming@lyx.org>
9825 Fixes needed to compile with Compaq cxx 6.5.
9826 * BufferView_pimpl.C:
9833 * lyxtextclasslist.C:
9838 all c-library variables have been moved into namespace std. Wrap
9839 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9844 Add a using std::abs declaration.
9846 * kbmap.h (modifier_pair):
9847 * paragraph.h (InsetTable, InsetList):
9848 * lyxfont.h (FontBits):
9849 type definition made public.
9851 * bufferlist.C (emergencyWriteAll): the compiler complains that
9852 there is more than one possible lyx::class_fun template to choose from.
9853 I re-named the void specialisation as lyx::void_class_fun.
9855 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9857 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9858 the compiler is is unable to find tostr in write_attribute.
9860 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9862 * buffer.C (sgmlError): hide #warning
9864 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9866 * xtl/*: get rid of xtl, which is not in use anyway
9868 * LyXAction.C (init):
9869 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9870 were unimplemented xtl experimentation
9872 2002-06-04 André Pönitz <poenitz@gmx.net>
9874 * lyxfunc.C: disable array operation on simple formulae
9876 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9878 * converter.C: constify a bit
9880 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9882 * lyx_gui.C: check xforms version correctly
9884 2002-04-30 Herbert Voss <voss@lyx.org>
9886 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9889 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9891 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9892 attempt to register it with a VCS)
9894 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9896 * lyx_main.C (init): honor variables LYX_DIR_13x and
9899 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9903 * lyx_main.C: fix a crash on bad command line,
9904 and give a useful exit status on error
9906 * lyxfunc.C (doImport): allow -i lyx to work
9908 2002-03-30 André Pönitz <poenitz@gmx.net>
9910 * lyxfunc.C: mathed font changes
9912 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9927 * trans_mgr.h: srcdocs, and some minor cleanups
9929 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9931 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9932 call getFont all the time)
9934 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9936 * switch from SigC signals to boost::signals
9938 2002-05-29 André Pönitz <poenitz@gmx.net>
9940 * paragraph_pimpl.C (getChar): don't call size() too often...
9942 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9944 * paragraph_pimpl.C (insertChar): do not try to update tables when
9945 appending (pos == size())
9947 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9948 in order to reduce drastically the number of comparisons needed to
9949 parse a large document
9951 2002-05-29 André Pönitz <poenitz@gmx.net>
9957 * textclasslist.[Ch]:
9958 * sp_ispell.h: whitespace change
9960 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9962 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9963 lyxaction directly now.
9965 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9969 * lyxvc.C: remove unused headers
9971 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9978 * undo_funcs.C: some cleanups. Use shared_ptr
9979 and a template for the undo stacks.
9981 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9983 * BufferView_pimpl.h:
9984 * BufferView_pimpl.C:
9991 * text2.C: use key_state/mouse_state
9993 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9995 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9998 * chset.C: change include order
9999 (loadFile): use boost regex and get rid of LRegex and LSubstring
10001 * Makefile.am (BOOST_LIBS): new variable
10002 (lyx_LDADD): use it
10004 * LaTeX.C: change include order.
10005 (scanAuxFile): use boost regex and get rid of LRegex and
10009 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10014 * FontInfo.C: moved to frontends/xforms/
10017 * FontLoader.C: moved into frontends for GUIIzation
10022 * lyxfunc.C: changes from above
10024 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10026 * LColor.C: remove spurious X include
10028 * BufferView_pimpl.C:
10033 * text2.C: move font metrics to frontends/
10035 2002-05-24 Juergen Vigna <jug@sad.it>
10037 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10038 setting the undo_cursor.
10040 * ParagraphParameters.h: include local includes first.
10042 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10044 * BufferView_pimpl.C:
10045 * BufferView_pimpl.h:
10049 * screen.C: move WorkArea into frontends/
10055 * BufferView2.C: move LyXScreen into frontends/
10059 * lyx_gui.C: move lyxlookup into frontends/xforms/
10061 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10064 * BufferView_pimpl.C:
10074 * bufferview_funcs.C:
10087 * vc-backend.C: move LyX/XFormsView into frontends/
10089 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10101 * text2.C: move Painter to frontends/
10103 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10105 * buffer.C: comment out some some code that depend upon lyx_format
10108 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10109 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10111 * buffer.h (NO_COMPABILITY): turn off compability
10113 * ColorHandler.C: include scoped_array.hpp
10115 * font.C: Use more specific smart_ptr header.
10118 * ShareContainer.h: ditto
10119 * lyx_main.h: ditto
10121 * FontInfo.h: ditto
10122 * BufferView_pimpl.h: ditto
10123 * ColorHandler.h: ditto
10125 * kbmap.C (defkey): change call to shared_ptr::reset
10127 2002-05-21 Juergen Vigna <jug@sad.it>
10129 * buffer.C (insertErtContents): fix to insert ert asis if it is
10130 non empty. Skip it completely if it contains only whitespaces.
10132 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10134 * BufferView_pimpl.C:
10135 * BufferView2.C: clear selection on paste (bug 393)
10137 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10139 * DepTable.C: include ctime
10141 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10143 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10145 2002-05-14 Juergen Vigna <jug@sad.it>
10147 * text.C (breakParagraph): fixed function to honor the keepempty
10148 layout in the right maner and also to permit the right breaking
10149 algorithm on empty or non empyt keepempty paragraphs.
10151 * paragraph.C (breakParagraph): we have to check also if the par
10152 is really empty (!size()) for isempty otherwise we do the wrong
10155 2002-05-10 Juergen Vigna <jug@sad.it>
10157 * buffer.[Ch] : The following are only changes to the ert
10158 compatibility read reading old LaTeX layout and font stuff and
10159 convert it to ERTInsets.
10161 * buffer.h: added isErtInset().
10163 * buffer.C (struct ErtComp): add a fromlayout bool to check
10164 if we're inside a LaTeX layout.
10165 (isErtInset): new helper function.
10166 (insertErtContents): look for other ert insets before this one
10167 and insert the contents there, so that we don't have subsequent
10168 ERT insets with nothing between them. This way we create only one
10169 inset with multiple paragraphs. Also check if we don't insert only
10170 spaces ' ' as they are ignored anyway afterwards in the .tex file
10171 so if we have only spaces we will ignore this latex part in the
10173 (parseSingleLyXformat2Token \\layout): better compatibility when
10174 reading layout-latex stuff.
10175 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10177 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10178 stuff after reading the inset only get the information back from
10181 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10183 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10185 * LaTeXFeatures.C (getBabelOptions): New method.
10187 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10189 * BufferView_pimpl.C (Dispatch): work around missing argument for
10192 2002-05-08 Juergen Vigna <jug@sad.it>
10194 * text.C (leftMargin): handle paragraph leftindent.
10196 * paragraph.C (writeFile): write the new \\leftindent tag.
10197 (validate): handle leftindent code.
10198 (TeXEnvironment): handle paragraphleftindent code again.
10200 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10202 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10203 for paragrap_extra indent code and new token \\leftindent.
10204 (latexParagraphs): handle the leftindent as environment.
10206 * ParameterStruct.h: added leftindent support.
10208 * ParagraphParameters.C (leftIndent): added support functions for
10209 the paragraph left indent.
10211 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10214 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10216 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10219 * text.C (computeBidiTables): No bidi in insetERT.
10221 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10224 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10226 * version.C.in: pre 5
10228 2002-05-02 José Matos <jamatos@fep.up.pt>
10229 * buffer.C (makeDocBookFile): white space changes, add newline to
10231 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10233 * tabular.C (docBook): fix typo.
10235 2002-05-03 Juergen Vigna <jug@sad.it>
10237 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10238 change in LyXText as we can not be sure it was not freed.
10239 (drawOneRow): remove unused code.
10241 * text.C (drawInset): redo the calculation of the need_break_row as
10242 it could have a row which was already freed.
10243 (draw): look at the return value of drawInset and return false if
10244 it also returned false.
10245 (paintRowText): look at the return value of draw and return false if
10246 it also returned false.
10248 * lyxtext.h: added bool return type to drawInset() and draw() so that
10249 if we have a change in the row so that the rowbreak has to be redone
10250 we abort drawing as it will be called again.
10252 2002-05-02 Juergen Vigna <jug@sad.it>
10254 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10255 a change in the maintext also if we're inside an inset.
10256 (Dispatch): set the cursor again after a break line and after the
10257 screen has been updated as it could be we're in a different row.
10259 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10260 to set the cursor behind the pargraph with > size().
10261 (setCursor): check also for the same paragraph when checking where
10262 to put the cursor if we have a NFR inset.
10264 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10265 parts of layout read further up as it still was in the wrong
10268 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10270 * screen.C (drawFromTo): change sine fullRebreak always return
10273 * buffer.C (parseSingleLyXformat2Token): reindent some
10275 * BufferView_pimpl.C (update): change since fullRebreak always
10277 (Dispatch): git rid of the last hardcoded "Standard"s.
10279 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10281 * text2.[Ch] (fullRebreak): make it return void now that we always
10284 2002-04-30 Juergen Vigna <jug@sad.it>
10286 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10287 ert compatibility check for "latex" layout.
10289 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10291 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10292 minipages: use col% instead of p%, and also use the current font.
10293 (makeLaTeXFile): Fix use babel condition.
10294 (parseSingleLyXformat2Token): Correct font when reading old floats.
10296 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10298 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10299 inserting list of floats.
10301 2002-04-25 Herbert Voss <voss@lyx.org>
10303 * MenuBackend.C (expand): don't add the graphics extensions to the
10306 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10308 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10309 non-existing layout, do not complain if it was the default layout
10310 of the original class (bug #342)
10312 2002-04-24 Juergen Vigna <jug@sad.it>
10314 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10315 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10317 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10319 * buffer.C (getBibkeyList): If using \bibliography, return the
10320 option field with the reference itself. Enables us to provide natbib
10321 support when using \bibliography.
10323 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10325 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10327 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10328 natbib is provided by the LaTeX class.
10330 2002-04-23 Juergen Vigna <jug@sad.it>
10332 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10335 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10337 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10339 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10341 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10342 ensuremath around textordmasculine, textordfeminine and
10345 2002-04-19 Juergen Vigna <jug@sad.it>
10347 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10348 reinitializing the buffer otherwise row-dimensions may be wrong.
10349 (update): reset also the selection cursors if they do exits otherwise
10350 their x/y positions may be wrong.
10352 * text2.C (cursorDown): don't enter the inset if we came from a row
10353 above and are one row over the inset.
10355 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10356 really leaving an inset.
10358 2002-04-18 Juergen Vigna <jug@sad.it>
10360 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10361 of the selected paragraph does not have the selected layout also if
10364 * text2.C (setLayout): fixed bug which did not change last selected
10367 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10368 changed the read and substituted \\end_float with \\end_inset!
10370 * BufferView_pimpl.C (cursorPrevious):
10371 (cursorNext): fixed to make it work with rows heigher than the work
10372 area without moving the cursor only the draw of the row.
10373 (workAreaMotionNotify): fix jumping over high rows.
10375 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10377 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10380 2002-04-16 Juergen Vigna <jug@sad.it>
10382 * text2.C (setCursor): set also the irow().
10383 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10385 (cursorDown): support for locking an inset if the x_fix value goes
10386 inside it. That way I can transverse insets too with cursor up/down.
10388 * lyxrow.h: added irow helper function same as other (i) functions.
10390 * BufferView_pimpl.C (cursorPrevious):
10391 (cursorNext): fixed for insets!
10393 2002-04-15 Juergen Vigna <jug@sad.it>
10395 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10396 position otherwise it is wrong in some cases.
10398 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10399 inside the inset before the call.
10401 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10403 * buffer.[Ch] (getBibkeyList): make it const.
10405 2002-04-12 Juergen Vigna <jug@sad.it>
10407 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10409 * text2.C (getCursorX): new helper function
10410 (setCursor): compute also ix_
10411 (setCursorFromCoordinates): set also ix.
10413 * lyxcursor.h: added ix_ and helper functions.
10415 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10417 * buffer.C (insertStringAsLines): dont break paragraph if the this
10418 paragraph is inside an inset which does not permit it!
10420 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10421 also with no chars on this paragraph.
10422 (paintRowText): only paint stuff if it's inside the workarea!
10424 * paragraph.C (breakParagraph): honor keepempty flag and break the
10425 paragraph always below not above.
10427 * BufferView2.C (unlockInset): update the paragraph layout on inset
10428 unlock as we changed paragraph in such a case.
10430 * lyxfind.C (LyXFind): clear the former selection if not found!
10432 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10433 again called in insertChar().
10435 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10436 an inset which uses the whole row!
10437 (rightMargin): ditto.
10438 (insertChar): force a rebreak if we inserted an inset!
10440 2002-03-28 Herbert Voss <voss@lyx.org>
10442 * lyxlength.[Ch]: add inBP() to get the right PS-point
10443 units (BigPoint). With inPixels we have rounding errors
10445 2002-04-11 Juergen Vigna <jug@sad.it>
10447 * text2.C (setCursorFromCoordinates): set iy to the right value.
10448 (setCursor): add check if row->previous exists!
10450 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10451 an old float_type as this was the case in the old code!
10453 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10455 * BufferView2.C (showLockedInsetCursor): use iy
10456 (fitLockedInsetCursor): ditto
10458 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10459 locked insets as there we have the right value now.
10461 * lyxcursor.C: added iy_ variable and iy functions to set to the
10462 baseline of cursor-y of the locked inset.
10464 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10465 (setCursor): fixed for insets which need a full row.
10467 * text.C (rowLastPrintable): don't ignore the last space when before
10468 an inset which needs a full row.
10469 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10470 as last character of a row when before a inset which needs a full row.
10472 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10474 * version.C.in: update date
10476 * text2.C (fullRebreak): try to always return true and see what
10479 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10481 * MenuBackend.C (expand): use Floating::listName
10483 * FloatList.C (FloatList): add listName argument to the built-in
10486 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10487 text associated with the float.
10489 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10491 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10493 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10495 * ShareContainer.h: add a couple of missing typenames.
10497 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10499 * lyxrc.C (getDescription): use _() correctly rather than N_().
10501 2002-03-28 Herbert Voss <voss@lyx.org>
10503 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10504 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10506 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10508 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10509 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10511 2002-03-29 Juergen Vigna <jug@sad.it>
10513 * lyxfunc.C (dispatch): add a missing fitCursor call.
10515 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10516 it was scrolled by a cursor move, so return the bool status.
10518 * BufferView.C (fitCursor): return the bool flag also to the outside
10519 world as this is needed.
10521 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10523 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10524 call the edit() as it is not needed (and wrong) IMO.
10525 (workAreaButtonPress): set the screen_first variable before evt.
10526 unlock the inset as this may change screen_first and then we have
10527 a wrong y position for the click!
10529 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10531 * MenuBackend.C (expand): another translation that I missed
10533 2002-03-28 Juergen Vigna <jug@sad.it>
10535 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10537 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10539 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10541 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10543 * MenuBackend.C (expand): fix export/view/update when there is no
10546 2002-03-27 Herbert Voss <voss@lyx.org>
10548 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10551 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10553 * bufferview_funcs.C (currentState): only show paragraph number
10554 for is DEVEL_VERSION is set.
10556 * lyxfunc.C (dispatch): put warning in INFO channel
10558 * MenuBackend.C (expand): translate the name of floats
10560 * FloatList.C (FloatList): mark the float names for translation
10562 * converter.C (convert): use LibScriptSearch
10564 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10566 * MenuBackend.C (defaults): fix default menu (we might as well get
10569 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10571 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10574 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10576 * lyxvc.C: reorder includes.
10578 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10580 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10583 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10585 * CutAndPaste.C: change layouts earlier on paste
10586 to avoid crashing when calling getFont()
10588 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10590 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10593 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10595 * WorkArea.C: remove 'Pending' debug message.
10597 * most files: ws cleanup
10599 * buffer.[Ch]: ws changes
10601 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10603 2002-03-21 Juergen Vigna <jug@sad.it>
10605 * tabular.C (SetMultiColumn): collapse also the contents of the
10606 cells and set the last border right. Added a Buffer const * param.
10608 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10610 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10613 2002-03-19 Juergen Vigna <jug@sad.it>
10615 * text2.C (clearSelection): reset also xsel_cache.
10617 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10618 where it needs to be called (John tells us to do so too :)
10619 (selectionLost): reset sel_cache.
10621 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10623 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10625 * text2.C (setCursorIntern): put debuging code in INSETS channel
10627 2002-03-19 André Pönitz <poenitz@gmx.net>
10629 * lyxfunc.C: tiny whitespace change
10631 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10633 * ToolbarDefaults.C (init):
10634 * LyXAction.C (init):
10636 * BufferView_pimpl.C (Dispatch):
10637 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10639 2002-03-19 Allan Rae <rae@lyx.org>
10641 * exporter.C (Export): removeAutoInsets before doing anything else.
10642 While I've just introduced a dependency on BufferView this really is
10643 the best place to clean the buffer otherwise you need to cleanup in
10644 a dozen places before calling export or cleanup in a dozen functions
10647 * converter.C (runLaTeX):
10648 (scanLog): Better handling of removeAutoInsets and screen updates.
10650 * lyxfunc.C (dispatch): small whitespace changes
10652 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10654 * WorkArea.C (C_WorkAreaEvent): return a value.
10655 (event_cb): return 1 if we handled the event, 0 otherwise.
10657 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10659 2002-03-18 Juergen Vigna <jug@sad.it>
10661 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10662 (GetAdditionalWidth): ditto.
10663 (RightLine): ditto.
10666 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10667 inset if we're there actually (probably not used right now but this
10668 is the direction to go for unifying code).
10669 (paste): disable code to clear the selection.
10671 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10672 inside an InsetText and move the check further up as it is in the
10675 * text2.C (pasteSelection): set a selection over the pasted text.
10677 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10679 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10680 and libgraphics to build on Cygwin.
10682 2002-03-15 Juergen Vigna <jug@sad.it>
10684 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10685 inserting an Inset into the paragraph. I know this is not the best
10686 fix but we already use current_view in CutAndPaste so we will remove
10687 all of it's using at the same time.
10689 * buffer.C (sgmlError): deactivated function till it is rewritten in
10690 the right mode, now it can create problems.
10692 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10693 before accessing it.
10695 2002-03-14 Juergen Vigna <jug@sad.it>
10697 * undo_funcs.C (textHandleUndo): do the right thing when updating
10698 the inset after the undo/redo.
10700 * text2.C (setCursor): just some testcode for #44 not ready yet.
10702 * undo_funcs.C (textHandleUndo): set the next() and previous()
10703 pointers of the paragraph to 0 before deleting otherwise we have
10704 problems with the Paragraph::[destructor].
10706 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10707 on a paragraph insertion.
10709 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10711 * buffer.C (asciiParagraph): use += operator for char append to
10714 * paragraph.C (getFontSettings): compare >= not just >
10715 (highestFontInRange): ditto
10718 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10720 * paragraph.C: change several algorithm to be more appripriate for
10721 the problem domain. This is lookip in FontList and in the InsetList.
10723 2002-03-13 André Pönitz <poenitz@gmx.net>
10726 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10728 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10733 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10735 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10737 * Painter.C (display): anon helper function, adjust code for this
10739 (pixmap): remove function.
10741 * Painter.h: remove private display variable.
10743 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10745 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10747 * WorkArea.[Ch]: remove figinset_canvas cruft.
10749 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10751 * lyxtextclass.C (operator): add one item cache optimization.
10753 * bufferlist.h: doxy changes
10755 * bufferlist.C: ws changes
10757 * DepTable.[Ch] (ext_exist): place const in the right spot.
10759 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10761 (workAreaExpose): call resizeInsets when the with BufferView changes.
10762 (Dispatch): adjust for protectedBlank removal
10763 (specialChar): call updateInset if the insert went ok.
10765 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10766 specialChar instead.
10768 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10770 * BufferView.h: doxy change
10772 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10774 * lyxtextclass.C (operator[]): remove non-const version
10775 (defaultLayout): remove non-const version
10777 2002-03-12 Juergen Vigna <jug@sad.it>
10779 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10780 did resize the LyXText too.
10782 * buffer.C (readLyXformat2): set layout information on newly allocated
10785 * tabular.C (OldFormatRead): set layout information on the paragraph.
10787 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10789 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10791 2002-03-11 Juergen Vigna <jug@sad.it>
10793 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10795 (resizeCurrentBuffer): force also the insets to resize themselfes.
10796 (moveCursorUpdate): fixed up for InsetText.
10798 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10801 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10802 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10803 value of Dialogs::tooltipsEnabled().
10804 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10806 2002-03-08 Juergen Vigna <jug@sad.it>
10808 * BufferView_pimpl.C (updateInset): update inset inside inset also
10809 if it isn't inside theLockingInset().
10811 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10813 * buffer.C (asciiParagraph): redo some of the word and line length
10815 (getLists): look for Caption instead of caption.
10817 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10819 * buffer.C (Buffer): initialize niceFile to true
10821 (makeLinuxDocFile):
10822 (makeDocBookFile): make sure niceFile is true on exit
10824 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10826 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10828 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10830 * LyXSendto.C: remove.
10831 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10832 * lyx_gui.C: remove now-redundant comment.
10833 * ColorHandler.h: remove forward declaration of class WorkArea.
10834 * lyxfunc.C: remove #include "WorkArea.h".
10836 2002-03-07 Juergen Vigna <jug@sad.it>
10838 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10839 got moved away with the DEPM and also set the inset_owner always
10840 right which before could have been omitted.
10842 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10844 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10845 wanted layout is not found.
10847 2002-03-07 Juergen Vigna <jug@sad.it>
10849 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10851 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10853 * paragraph.C (breakParagraph): use default layout not layout of
10855 (Paragraph): clear ParagraphParameters.
10857 2002-03-06 Juergen Vigna <jug@sad.it>
10859 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10860 otherwise it would not be a valid lenght. Fixed a special case in
10861 the minipage compatibility read where we end the document with a
10864 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10865 was set as it could be 0 for InsetTexts first entry.
10867 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10869 * paragraph.C (writeFile): if layout is empty write out
10870 defaultLayoutName().
10872 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10873 file without named layout we set layout to defaultLayoutName().
10875 2002-03-06 Juergen Vigna <jug@sad.it>
10877 * CutAndPaste.C (copySelection): set layout for new paragraph.
10879 * text.C (prepareToPrint): leave ERT inset left aligned
10880 (leftMargin): don't indent paragraphs inside ERT insets
10882 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10884 * paragraph.C (breakParagraph): dont call clear do the work manually
10886 * paragraph.[Ch] (clear): remove function
10888 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10890 * paragraph.C (Paragraph): dont call clear, the work has already
10893 * lyxtextclass.C (operator): assert if n is empty
10895 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10896 work manually instead.
10898 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10900 * BufferView_pimpl.C: protect selectionLost against text == 0
10902 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10904 * text.C (breakParagraph): fix a setting layout to '0' problem.
10906 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10908 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10909 final location of file, for the included files, and graphics.
10911 2002-03-05 Juergen Vigna <jug@sad.it>
10913 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10915 2002-03-04 Juergen Vigna <jug@sad.it>
10917 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10919 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10920 last column of multicolumn cells.
10921 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10923 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10925 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10926 file if it doesn't go to a temporary file.
10928 * buffer.C (sgmlOpenTag):
10929 (sgmlCloseTag): remove extra newline insertion.
10931 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10933 * text.C (getRowNearY): comment out debug msg
10935 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10937 * text2.C: first -> first_y
10939 * text.C (getRowNearY): add some attemts at a possible
10940 optimization, not working.
10942 * tabular.[Ch]: add BufferParams to several function so that newly
10943 created paragraph can be initialized to he default layotu for the
10946 * tabular-old.C (ReadOld): add buf->params to call of Init
10948 * screen.C: rename text->first to text->first_y
10950 * paragraph.C (breakParagraph): always set layout in the broken
10953 * lyxtextclass.C (Read): remove lowercase
10956 (delete_layout): ditto
10958 * lyxtext.h: rename first -> first_y
10960 * lyxlayout.C (Read): remove lowercase
10963 (obsoleted_by): ditto
10965 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10967 * buffer.C (insertErtContents): add params are to InsetERT
10968 (parseSingleLyXformat2Token): add code to check if a paragraphs
10969 layout really exist.
10970 (parseSingleLyXformat2Token): add params to several inset
10972 (asciiParagraph): remove lowercase, do the layout comparisons with
10975 * BufferView_pimpl.C (cursorNext): first -> first_y
10976 (resizeCurrentBuffer): first -> first_y
10977 (updateScrollbar): first -> first_y
10978 (scrollCB): first -> first_y
10979 (workAreaMotionNotify): first -> first_y
10980 (workAreaButtonPress): first -> first_y
10981 (checkInsetHit): first -> first_y
10982 (cursorPrevious): first -> first_y
10983 (cursorNext): first -> first_y
10984 (Dispatch): add buffer_->params to severl inset contructors
10986 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10988 * lyxlayout.C (Read): remove some debug info that I forgot.
10990 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10991 clean up the code slightly.
10992 (makeLinuxDocFile): ditto
10993 (makeDocBookFile): ditto
10995 * text2.C: layout as string
10997 * text.C: layout as string
10999 * paragraph_pimpl.C: layout as string
11001 * paragraph.[Ch]: layout as string
11003 * lyxtextclasslist.[Ch]: layout as string
11005 * lyxtextclass.[Ch]: layout as string
11007 * lyxtext.h: layout as string
11009 * lyxlayout.[Ch]: layout as string
11011 * lyx_cb.C: layout as string
11013 * bufferview_funcs.C: layout as string
11015 * bufferparams.C: layout as string
11017 * buffer.C: layout as string
11019 * LyXView.[Ch]: layout as string
11021 * LaTeXFeatures.[Ch]: layout as string
11023 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11025 * BufferView_pimpl.C: change current_layout to string, remove
11030 (workAreaButtonRelease): layout as string
11032 * BufferView2.C (unlockInset): adjust
11034 * vspace.C (asLatexCommand): use an explict temp variable.
11036 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11038 * Makefile.am: use FRONTEND_*
11040 2002-03-01 Juergen Vigna <jug@sad.it>
11042 * tabular.C (SetWidthOfMulticolCell): changed to something better
11043 I hope but still work in progress.
11044 (recalculateMulticolumnsOfColumn): renamed function from
11045 recalculateMulticolCells as it is more appropriate now.
11046 (SetWidthOfCell): calculate multicols better.
11048 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11050 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11052 * lyxfunc.C (processKeySym): print sequence also if it is
11053 `deleted' (complete)
11055 * kbsequence.C (print): print sequence even if it is deleted
11056 (complete would be a better word, actually).
11058 * lyxfunc.C (dispatch): print complete options after a prefix key
11060 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11062 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11064 * text2.C (setCharFont): eliminate setCharFont code duplication.
11066 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11068 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11069 LFUN_TABULAR_FEATURE (bug #177)
11071 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11073 * Makefile.am: remove figure.h
11075 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11077 * Bufferview_pimpl.C:
11089 * text2.C: remove #include "lyx_gui_misc.h".
11091 * LaTeX.C: added #include <cstdio>
11093 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11095 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11096 that the paragraph following this one can have.
11098 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11100 * vspace.C (asLatexCommand): fix bogus gcc warning
11102 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11104 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11106 * text2.C (setLayout): get rid of redundant code
11108 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11110 * text2.C (incDepth): make sure depth cannot be increased beyond
11113 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11115 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11116 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11118 * PainterBase.h (image):
11119 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11120 a LyXImage const *.
11122 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11126 * BufferView_pimpl.C:
11127 * BufferView_pimpl.h:
11147 * sp_spell.C: remove fig inset, and the crap house of
11148 cards that follows it
11150 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11155 * os2_errortable.h:
11156 * nt_defines.h: move .h into support/
11158 * vms_defines.h: remove
11160 * WorkArea.C: add space in debug output
11164 * buffer.C: add WITH_WARNINGS
11168 * bufferlist.C: s/retrive/retrieve/, add docs
11177 * chset.C: add docs
11179 * lyxgui.C: add ID to X error handler
11181 * lyxtestclass.c: fix typo
11183 2002-02-26 Juergen Vigna <jug@sad.it>
11185 * tabular_funcs.C (write_attribute): changed so that some default
11186 attributes are not written at all.
11187 (getTokenValue): set default values before trying to read the
11188 value so we have the return value always set as default if we don't
11189 find the token we search for.
11191 * tabular.C (Write): write bools as bools not as strings!
11193 2002-02-22 Juergen Vigna <jug@sad.it>
11195 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11196 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11198 * text.C (leftMargin): don't add an indent for paragraphs inside
11199 tabular cells (fix #208).
11201 2002-02-21 José Matos <jamatos@fep.up.pt>
11203 * tabular.C (docBook): fixed support for long tables.
11205 2002-02-20 Juergen Vigna <jug@sad.it>
11207 * text2.C (getFont): get the drawing font of the Inset if this
11208 paragraph is inside an inset (only important for InsetERT for now).
11210 * buffer.C (insertErtContents): use new lanugage params in ERT
11213 * CutAndPaste.C: commenting out seemingly uneeded code.
11215 2002-02-19 Allan Rae <rae@lyx.org>
11217 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11218 Iterators might be simple to use but they also get invalidated.
11219 (removeAutoInsets): renamed saved cursor tracking variables and added
11220 some comments to clarify what everything does.
11222 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11229 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11230 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11233 * vc-backend.h: remove #include "support/syscall.h"
11237 * converter.C: rearrange #includes in Lars' approved fashion.
11239 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11240 forward declare class Timeout in the header file.
11242 * XFormsView.C: changes due to the above.
11244 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11245 similar to LyXView.
11247 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11248 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11250 2002-02-18 José Matos <jamatos@fep.up.pt>
11252 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11255 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11257 * a lot of small ws changes
11258 * add a lot of using std::XXX
11259 * use std construcs some places where approp.
11260 * use some exisint stuff from lyxfunctional where approp.
11261 * Make file changes to use partial linking (lets test this now...)
11263 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11267 remove #include "support/syscontr.h" as it's redundant. Always has been.
11275 change Systemcalls::System to Systemcalls::Wait and
11276 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11277 No change of functionality, just reflects the stripped down Systemcalls
11280 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11282 * debug.[Ch]: add a GRAPHICS type to the enum.
11284 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11286 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11288 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11291 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11293 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11294 match the changes below.
11296 * text2.C (toggleInset): if there is not editable inset at cursor
11297 position, try to see if cursor is _inside_ a collapsable inset
11300 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11302 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11303 document menu has a nice checkbox
11305 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11307 * lyxlength.C (asLatexString): change PW to output as percent of
11310 * lengthcommon.C: change '%' to 't%'
11312 * lyxfunc.C (dispatch): a few comments from Martin
11314 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11318 * BufferView_pimpl.h:
11319 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11322 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11324 * vspace.C (inPixels): fix compiler warning
11326 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11328 * lyxfunc.C (getStatus): fix status message for disabled commands.
11330 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11332 * BufferView_pimpl.C: fix crash on close buffer
11333 during selection (#227)
11335 2002-01-27 Herbert Voss <voss@lyx.org>
11337 * buffer.C: link old Figure to new graphic inset
11339 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11341 * FontLoader.C (getFontinfo): Change the latex font names in order
11342 to match the names of type1inst.
11344 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11346 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11348 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11349 (extchanged): ditto
11351 (remove_files_with_extension): ditto
11352 (remove_file): ditto
11355 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11356 document is smaller than the work area height. Do not initialize
11357 static variables to 0.
11359 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11361 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11363 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11364 LFUN_LAYOUT_PARAGRAPHS.
11366 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11367 tabular. It is possible to provide a possible cell, which will
11368 typically be the actcell from the corresponding insettabular
11370 * lyxfunc.C (getStatus): small cleanup; disable
11371 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11374 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11376 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11378 * paragraph.C (startTeXParParams):
11379 (endTeXParParams): new methods. The LaTeX code to
11380 start/end paragraph formatting
11381 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11382 empty (fixes bug #200)
11384 * vspace.C (inPixels): adapt to the change below
11385 (inPixels): [later] more cleanups (remove unused variables)
11387 * lyxlength.C (inPixels): change to use a width and a height as
11390 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11392 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11393 Replaced with \paperwidth
11395 * DepTable.C (insert): add std:: qualifier
11397 2002-01-18 Allan Rae <rae@lyx.org>
11399 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11402 * text.C (drawInset): Turned out I didn't know enough about how
11403 rebreaking worked. This fixes most of the redraw problems. I see
11404 an occasional cursor trail when a line is broken now and the cursor
11405 placement can seem out by a few pixels also after a rebreak.
11407 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11409 * buffer.C (parseSingleLyXformat2Token): update because minipage
11410 width is now a LyXLength
11412 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11414 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11417 2002-01-17 Juergen Vigna <jug@sad.it>
11419 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11421 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11422 is set correctly and the inset is updated correctly.
11424 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11426 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11427 the beginning of the loop.
11429 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11431 * lyxrc.C: improve help for use_scalable_fonts
11433 2002-01-17 Allan Rae <rae@lyx.org>
11435 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11437 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11439 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11440 make sure to set their inset_owner to the right value (bug #171)
11442 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11445 * DepTable.C: Implement mtime checking to reduce time spent doing
11448 2002-01-16 Juergen Vigna <jug@sad.it>
11450 * tabular.C (GetAdditionalHeight): one of error fixed.
11452 * lyxrc.C (output): small fix in writing use_pspell.
11454 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11456 * sp_base.h: #include LString.h
11458 2002-01-16 Allan Rae <rae@lyx.org>
11460 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11461 Can someone check this please?
11463 * text.C (drawInset): It was possible that p.row would be removed by
11464 breakAgainOneRow upsetting a few other settings. There may be another
11465 small tweak possible by setting need_break_row = 0 when p.row has been
11466 removed but I don't know enough about the logic here.
11468 2002-01-15 Allan Rae <rae@lyx.org>
11470 * text.C (insertChar): removed conditional truism.
11472 * BufferView2.C (removeAutoInsets): More tweaks.
11473 cur_par_prev could be a stray pointer. Check for trailing empty line
11474 in case last line was cur_par and only had an error inset on it.
11476 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11478 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11481 * vc-backend.C (most methods):
11482 * exporter.C (Export):
11483 * converter.C (convert):
11485 * LyXSendto.C (SendtoApplyCB):
11486 * lyxfunc.C (dispatch):
11490 * lyx_cb.C (AutoSave):
11492 * BufferView_pimpl.C (MenuInsertLyXFile):
11493 * buffer.C (runChktex): use Buffer::filePath().
11495 * buffer.h: rename filename to filename_; rename filepath to
11496 filepath_ and make it private
11497 (filePath): new method
11499 * buffer.C (writeFile): use fileName()
11502 * lyx_main.C (init): fix starting of LyX when the binary is a
11503 link from so,ewhere else.
11505 * minibuffer.C: include <cctype> for isprint
11507 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11509 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11510 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11511 name clash with InsetCollapsable's width function.
11513 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11515 * lastfiles.C: include <iterator>
11517 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11519 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11522 * buffer.C (makeLaTeXFile): ditto.
11523 Also make loop operation more transparent.
11525 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11527 * ToolbarDefaults.C: remove trailing comma closing namespace.
11529 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11531 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11534 * trans.C (Load): comment out unused variable, allowed.
11536 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11538 * minibuffer.[Ch] (append_char): new method to recieve input from the
11539 drop-down completion browser. If a key was pressed, then recieve this
11540 char and append it to the existing string.
11541 (peek_event): modify the positioning data passed to the completion
11542 browser so that it can be placed above the minibuffer rather than below.
11543 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11545 * LyXAction.C (init): alloe error-next for readonly documents.
11547 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11550 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11552 * bufferlist.C (readFile): create the buffer _after_ checking that
11555 * lyxfunc.C (verboseDispatch): fix handling of arguments
11557 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11559 * lyxrc.C: use string::erase() instead of initializing to "".
11562 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11564 * BufferView_pimpl.h:
11565 * BufferView_pimpl.C:
11568 * text2.C: tell X when we have made a selection for copying
11570 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11572 * BufferView_pimpl.C (MenuInsertLyXFile):
11573 * lyxfunc.C (menuNew):
11575 (doImport): add shortcuts to directory buttons
11577 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11580 * lyxfunc.C (setStatusMessage):
11581 (getStatusMessage): new methods
11582 (getStatus):use setStatusMessage instead of setErrorMessage
11583 (dispatch): when function is disabled, set error message here
11584 [instead of in getStatus previously]
11586 * BufferView_pimpl.C (workAreaButtonRelease): update
11587 toolbar/menubar here too.
11589 2002-01-13 Allan Rae <rae@lyx.org>
11591 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11592 Now seems indestructible. Remaining task is to audit all other
11593 code affected by deleteEmptyParagraphMechanism. One small quirk
11594 left is that an empty document with an error in the preamble can
11595 be made to report an error but no error box appears. I don't know
11597 (removeAutoInsets): Improved comments.
11599 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11602 * Thesaurus.C: update for Aiksaurus 0.14
11604 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11606 * text2.C (firstParagraph): removed member function, all uses
11607 replaces with ownerParagraph
11608 (redoParagraphs): here
11609 (updateInset): here
11610 (toggleAppendix): here
11611 * BufferView2.C (insertErrors): here
11612 (setCursorFromRow): here
11614 2002-01-13 Allan Rae <rae@lyx.org>
11616 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11617 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11618 There is still a way to segfault this although you may have to do this
11619 multiple times: Have an InsetERT with an unknown command in it.
11620 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11621 <down-arrow>, <Enter> again, View->DVI, BANG!
11623 * text2.C (setCursor):
11624 (deleteEmptyParagraphMechanism):
11625 * lyxtext.h (setCursor):
11626 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11627 Making use of the return value may help fix other bugs.
11629 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11631 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11633 * LyXView.C (updateMenubar): call MenuBar::update here
11634 (updateToolbar): but not here
11635 (showState): do not update toolbar/menubar
11637 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11638 should need to care about that.
11640 * lyxfunc.C (verboseDispatch): simplify a bit
11641 (getStatus): have a version which takes a pseudoaction, and
11642 another which requires a (kb_action,string).
11644 * LyXAction.C (retrieveActionArg): make it work also when action
11645 is not a pseudo-action.
11646 (getActionName): simplify a bit
11649 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11651 * lyxfunc.C (verboseDispatch): new families of methods with
11652 several ways to specify a command and a bool to indicate whether
11653 the command name and shortcut should be displayed in minibuffer
11654 (eventually, we could extend that to a finer bitmask like
11655 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11656 (dispatch): the pristine dispatch command which just, well,
11657 dispatchs! Note it still sets its result to minibuffer; I'm not
11660 * lyxfunc.h: remove setHintMessage
11662 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11664 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11666 * BufferView_pimpl.C (specialChar): delete new inset if we have
11667 not been able to insert it.
11669 * kbmap.C: revert to using int instead of kb_action, since all we
11670 are dealing with is pseudo-actions.
11672 * LyXAction.C (searchActionArg): change to return int instead of
11673 kb_action, since the result is a pseudoaction.
11675 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11677 * buffer.C (insertErtContents): Fix (partially) the font bug.
11679 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11681 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11682 as the other one is broken on my machine!
11684 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11687 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11689 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11691 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11692 reflect their actual use. Provide compatibility code for older lyxrc
11695 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11697 change names of popup font variables in line with the changes to lyxrc.C
11699 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11701 * buffer.C (asciiParagraph): avoid outputing a word twice after
11704 * lyxrc.C (getDescription): document that document_path and
11705 template_path can be empty.
11707 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11709 * LaTeXFeatures.C (getMacros):
11710 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11712 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11714 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11716 (getPackages): rename feature "floats" to "float". Use an array to
11717 iterate over 'simple' features (i.e. just a \usepackage). Add
11718 handling of "amsmath" (renamed from "amsstyle").
11720 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11722 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11725 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11727 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11728 FuncStaus::FuncStatus & FuncStaus::some_method().
11730 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11732 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11733 of the func_satus stuff. Edited and massaged in various ways by
11736 * lyxfunc.C (getStatus): use FuncStatus
11738 2002-01-08 Juergen Vigna <jug@sad.it>
11740 * text.C (nextBreakPoint): use function Inset::isChar().
11742 * paragraph.C (TeXOnePar): use function
11743 Inset::forceDefaultParagraphs.
11745 * buffer.C (latexParagraphs): use function
11746 Inset::forceDefaultParagraphs.
11748 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11750 * lyx_gui.C (init): set the style of the menu popups to
11751 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11753 2002-01-07 Juergen Vigna <jug@sad.it>
11755 * text.C (setHeightOfRow): small fix
11756 (prepareToPrint): don't look at alignment if we don't have the place
11759 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11761 * box.C: New file. Move the Box methods and functions out of box.h,
11762 following Lars' suggestion.
11764 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11766 * box.h: #include "support/LOstream.h", needed for inlined function.
11769 * lyxtextclasslist.C: added some using std declarations.
11771 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11773 * box.h: make signed dimensions to allow insets wider than
11774 the screen (bug #162)
11776 * BufferView_pimpl.C: add some insetHit debug
11778 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11780 * vc-backend.C: add FIXME
11782 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11784 * lyxfunc.C (getStatus): enable code for showing math font status
11787 2002-01-07 Juergen Vigna <jug@sad.it>
11789 * text.C (nextBreakPoint): removed debug output not needed anymore.
11791 2002-01-06 Juergen Vigna <jug@sad.it>
11793 * text.C (nextBreakPoint): fixed up this function we had this bug
11794 since ever but now hopefully we break row better.
11795 (insertChar): we have to check if an inset is the next char as it
11796 could now happen that a large inset is causing a break.
11798 2002-01-05 Juergen Vigna <jug@sad.it>
11800 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11801 if it doesn't like to be drawed.
11803 2002-01-04 Juergen Vigna <jug@sad.it>
11805 * BufferView2.C (lockInset): forgot to set a cursor.
11807 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11809 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11811 * FormMathsPanel.C:
11814 * form_maths_panel.C:
11815 * form_maths_panel.h:
11816 * form_maths_panel.fd: implemented sub- and super- buttons in math
11819 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11820 (or ^ space) to be used as in TeX (req'd by André).
11822 * lyxfunc.C: Allow ^ and _ again to be used both as
11823 super/subscript (mathed) and as themselves (in text).
11825 2002-01-03 Allan Rae <rae@lyx.org>
11827 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11828 "LyX" or the filename of the current buffer if it has one. This is a
11829 modified form of John Levon's patch.
11831 * XFormsView.C (setWindowTitle): also set icon title.
11833 * LyXView.h (setWindowTitle): signature changed.
11834 * XFormsView.h (setWindowTitle): ditto.
11836 2002-01-02 Juergen Vigna <jug@sad.it>
11838 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11840 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11842 * screen.C (topCursorVisible): introduce a temp var for
11843 text->cursor.row(), handle the case where this row is null. (kindo
11846 * text2.C (setCursor): add a couple of asserts.
11848 * paragraph.h (inset_iterator): add -> operator
11850 * paragraph.[Ch] (autoDeleteInsets): remove member function
11852 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11853 cursor pos correctly and handle inset deletion by itself.
11854 (insertErrors): move iterator declaration out of for expression
11856 * lyxtextclass.C: add <algorithm>
11858 * Makefile.am: added the new files to sources, removed layout.C
11860 * layout.C: removed file
11862 * layout.h: remove LYX_DUMMY_LAYOUT
11864 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11868 * lyxtextclass.[Ch]:
11869 * lyxtextclasslist.[Ch]: new files
11871 * include order changes to a lot of files, also changes because of
11874 2001-12-27 Juergen Vigna <jug@sad.it>
11876 * buffer.C (asciiParagraph): more fixes.
11878 * tabular.C (ascii): make ascii export support export of only the
11879 data separated by a column-delimiter.
11880 (ascii): better support for ascii export.
11882 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11884 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11886 * tabular_funcs.C: use a "using std::getline" instead of the
11887 previous fix from Angus (necessary for cxx + lyxstring)
11889 2001-12-24 Juergen Vigna <jug@sad.it>
11891 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11893 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11894 problems. First check a minipage also if we have some ert-contents
11895 (not only on par->size(), second set the right depth of the paragraph
11896 on the relink to the root-paragraph-list!
11898 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11899 which then did not anymore update the main paragraphs on undo/redo!
11901 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11903 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11904 code. Support all font-changing funcs (even those which are not in
11905 menu currently). Support for reporting font settings in
11906 mathed (disabled until Andre provides a function on mathed's side).
11908 * func_status.h (toggle): small helper function to set toggle
11911 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11913 * tabular_funcs.C: getline -> std::getline
11915 2001-12-21 Juergen Vigna <jug@sad.it>
11917 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11918 accessed and could be 0 (I couldn't generate this but it seems
11921 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11923 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11924 * tabular_funcs.h: here and include iosfwd
11926 2001-12-20 Juergen Vigna <jug@sad.it>
11928 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11929 inside inset but undo_par was.
11931 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11933 * Thesaurus.C: always include <config.h> in sources.
11937 * box.h: do not include <config.h> in header files
11939 * text.C (paintLastRow): remove unused variable
11941 * text.C (transformChar):
11943 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11945 * Painter.C (text):
11946 * font.C (width): rewrite to use uppercase() instead of
11949 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11951 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11953 * lyxfind.C: clean up of find failure position change
11955 2001-12-20 Juergen Vigna <jug@sad.it>
11957 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11959 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11960 (TeXRow): added to LaTeX a single tabular row.
11961 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11962 (Latex): simplified and finally good LT-h/f support.
11963 (various_functions): just small adaptions for LT-h/f support.
11965 * tabular_funcs.[hC]: added and moved here all not classfunctions
11968 2001-12-19 Juergen Vigna <jug@sad.it>
11970 * tabular.[Ch]: better support for longtabular options (not finished
11973 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11975 * text.C (paintLastRow): use the label font instead of the font of
11976 the last character to compute the size of *_BOX. This makes more
11977 sense and avoids a crash with empty paragraphs.
11978 Use Painter::rectangle to draw EMPTY_BOX.
11980 2001-12-19 Juergen Vigna <jug@sad.it>
11982 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11983 the paragraphs if the replaced paragraph is not the first one!
11984 Tried to delete not used paragraphs but does not work yet so for
11985 now it's inside #ifdef's and by default off!
11987 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11989 * MenuBackend.C: include "lyx_main.h" instead of declaring
11990 lastfiles (actually was declared as LastFiles* instead of a
11993 2001-12-17 Juergen Vigna <jug@sad.it>
11995 * tabular.C (AppendColumn): applied John's fix
11997 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12001 * BufferView_pimpl.h:
12002 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12005 * box.h: new start of class for above
12007 * lyxfunc.C: ignore space-only minibuffer dispatches.
12008 Show the command name when it doesn't exist
12010 * minibuffer.C: don't add empty lines to the history
12012 * minibuffer.C: add a space on dropdown completion
12014 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12016 * text.C: fix line above/below drawing in insets
12018 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12020 * lyxlength.C (LyXLength): Initialize private variables.
12022 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12024 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12025 when inserting error insets.
12027 2001-12-13 Juergen Vigna <jug@sad.it>
12029 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12030 actually sometimes the before-paragraph.
12031 (setUndo): don't clear the redostack if we're not actually undoing!
12033 2001-12-06 Juergen Vigna <jug@sad.it>
12035 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12036 and fixed redoing of main paragraph, so we can use it now ;)
12038 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12040 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12042 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12045 2001-12-13 André Pönitz <poenitz@gmx.net>
12048 * undo_func.C: minor cleanup
12050 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12052 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12053 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12054 font in urw-fonts package which is marked as -urw-fontspecific and
12055 does not work (incidentally, changing the encoding in the
12056 fonts.dir of this package to -adobe-fontspecific fixes the
12059 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12060 is a crash when undoing first paragraph (Juergen, please take a
12061 look). THis does not mean the undo fix is wrong, just that it
12064 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12065 the (Paragraph*) version when needed instead of duplicating the
12068 * text.C (workWidth): use Inset::parOwner to find out where the
12069 inset has been inserted. This is a huge performance gain for large
12070 documents with lots of insets. If Inset::parOwner is not set, fall
12071 back on the brute force method
12073 * paragraph_pimpl.C (insertInset):
12074 * paragraph.C (Paragraph):
12075 (cutIntoMinibuffer): set parOwner of insets when
12076 inserting/removing them
12078 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12080 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12086 * mathed/formulabase.C:
12087 * mathed/math_cursor.[Ch]:
12088 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12091 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12093 * lyxlength.[Ch] (operator!=): new function
12095 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12097 * text.C (workWidth): use Inset::parOwner to find out where the
12098 inset has been inserted. This is a huge performance gain for large
12099 documents with lots of insets. If Inset::parOwner is not set, fall
12100 back on the brute force method
12102 * paragraph_pimpl.C (insertInset):
12103 * paragraph.C (Paragraph):
12104 (cutIntoMinibuffer): set parOwner of insets when
12105 inserting/removing them
12107 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12109 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12111 * tabular-old.C (getTokenValue):
12112 * tabular.C (getTokenValue):
12113 (write_attribute): new versions for LyXLength
12114 (everywhere): adjust the use of widths
12116 * tabular.h: change the type of widths from string to LyXLength
12118 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12120 * paragraph.C: fixed missing line number count when exporting
12121 Environments to LaTeX file
12123 * buffer.C: added informational message for checking line numbers.
12125 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12127 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12128 paragraph, do the 'double space' part, but not the 'empty
12131 * text.C (workWidth): small optimization
12132 (getLengthMarkerHeight): use minimal size for negative lengths.
12134 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12136 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12138 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12140 2001-12-11 André Pönitz <poenitz@gmx.net>
12143 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12145 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12147 * text2.C: keep selection on a setFont()
12149 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12151 * lyx_cb.C: another bv->text misuse, from insert label
12153 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12156 * kbsequence.C: re-instate nmodifier mask
12158 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12160 * lyx_main.h: make lyxGUI private.
12162 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12164 * lyxfind.C: place the cursor correctly on failed search
12166 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12168 * text.C (getLengthMarkerHeight): for small heights, the arrows
12169 are not always on top/bottom of the text
12170 (drawLengthMarker): smaller arrows; take the left margin in
12171 account; draw also vfills.
12173 (paintLastRow): remove special code for vfill and standard spaces,
12174 since everything is handled in drawLengthMarker now.
12176 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12178 * buffer.C (insertErtContents): try to handle font and language
12179 interaction a bit better.g
12181 * ColorHandler.C (updateColor): change the hash to cover the whole
12182 LColor enum, ws cleanup
12183 (getGCLinepars): ditto
12184 (getGCLinepars): only lookup in the linecache once.
12186 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12188 * iterators.C (operator++): Make the iterator more robust
12190 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12192 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12194 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12197 * text.C: better added space drawing
12199 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12202 * BufferView2.C: fix layout combo update on inset unlock
12204 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12206 * Makefile.am: don't compile unused files
12208 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12212 * LyXAction.C: remove old LFUN_LAYOUTNO
12214 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12216 * paragraph_pimpl.h:
12217 * paragraph_pimpl.C: isTextAt() doesn't need font param
12219 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12222 * lyxlex.C: little cleanup
12224 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12226 * BufferView_pimpl.C: fix insertAscii for insets
12228 2001-12-05 Juergen Vigna <jug@sad.it>
12230 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12231 set the right font on the "multi" paragraph paste!
12233 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12239 * lyxlength.C: remove out-commented code.
12241 * BufferView_pimpl:
12255 * vc-backend.C: change "while(" to "while ("
12257 * lyxlength.[Ch]: add zero function to check if length is zero or
12259 * lyxgluelength.C: use it
12261 2001-12-05 Allan Rae <rae@lyx.org>
12263 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12264 Works for 2.95.3, from what I understand of Garst's reports this should
12265 work for other g++ versions. We're screwed if the abs(int) definition
12266 changed between bugfix releases of gcc.
12268 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12270 * text.C: fix chapter label offset !
12272 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12275 * text.C: fix hfill at end of line, clean up
12277 2001-12-04 Juergen Vigna <jug@sad.it>
12279 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12280 that we force an update of the inset and it's owners if neccessary.
12282 2001-12-03 Juergen Vigna <jug@sad.it>
12284 * text.C (rowLast): simplified code
12286 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12288 * lyxfunc.C: fix show options on timeout
12290 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12292 * screen.C (topCursorVisible): scroll half a page when the cursor
12293 reached top of bottom of screen
12295 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12297 * minibuffer.C: deactivate on loss of focus
12299 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12301 * vspace.[Ch] (operator!=): add operator.
12303 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12305 * BufferView_pimpl.C: refuse to open an inset when
12306 there's a selection.
12308 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12310 * BufferView_pimpl.C: allow to click on RHS of full row insets
12312 2001-11-30 Juergen Vigna <jug@sad.it>
12314 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12315 insets for undo reasons.
12317 2001-11-28 André Pönitz <poenitz@gmx.net>
12319 * vspace.[Ch]: cosmetical changes
12321 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12331 * kbsequence.C: part re-write of old kb code
12334 * WorkArea.C: remove Lgb_bug_find_hack
12336 2001-11-30 José Matos <jamatos@fep.up.pt>
12338 * buffer.C (makeDocBookFile): add a comment to point a hack.
12339 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12340 Fixed a double write of labels.
12342 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12345 * LaTeX.h Fixed bug in LaTeX class where it would not
12346 re-run latex if no depfiles were changed, but the .dvi was removed.
12348 2001-11-28 André Pönitz <poenitz@gmx.net>
12350 * all the files from the change on 2001/11/26:
12351 use lyx::layout_type instead of LyXTextClass::size_type
12352 use lyx::textclass_type instead of LyXTextClassList::size_type
12354 2001-11-29 Juergen Vigna <jug@sad.it>
12356 * text.C: added support for paragraph::isFreeSpacing()
12358 * buffer.C: same as above
12360 * paragraph.h: inserted isFreeSpacing() function to enable
12361 FreeSpacing inside InsetERT.
12363 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12364 of the paragraph's in the cut/copy buffer to 0!
12366 * text2.C (removeRow): remove the assert as it can!
12368 * lyxtext.h: added helper function firstRow returning firstrow and
12369 made firstrow private again.
12371 * BufferView2.C (lockInset): don't relock if we're already locked!
12373 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12374 the only paragraph.
12375 (removeRow): added Assert::(firstrow)
12377 * debug.C: forgot to add INSETTEXT here.
12379 2001-11-28 Juergen Vigna <jug@sad.it>
12381 * sp_spell.C (initialize): changed error text to more general
12382 spellchecker command use (not only ispell!)
12384 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12386 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12388 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12390 * vspace.C: initialise lyxgluelength on failure
12392 2001-11-28 Allan Rae <rae@lyx.org>
12394 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12395 declaration & definition that looks like a function declaration.
12397 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12399 * BufferView2.C (copy):
12400 (copyEnvironment): do not clear the selection when doing a copy.
12402 * text.C (paintFirstRow): compilation fix
12404 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12406 * tabular.C (Latex): correct line count when writing latex.
12408 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12410 * paragraph_pimpl.h:
12411 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12414 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12418 * LColor.C: change vfillline->added_space
12420 * text.C: add markers and text for added space
12422 * vspace.C: fix comment
12424 2001-11-28 André Pönitz <poenitz@gmx.net>
12426 * paragraph.C: whitespace changes
12427 * all the other files from the change on 2001/11/26:
12428 change *::pos_type into lyx::pos_type
12430 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12432 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12433 language of the document when inserting error insets.
12435 2001-11-26 André Pönitz <poenitz@gmx.net>
12437 * BufferView_pimpl.[Ch]:
12445 * paragraph_pimpl.[Ch]:
12448 * text2.C: reduce header dependencies, introduce type for positions
12450 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12452 * <various>: change to use Alert.h
12454 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12456 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12457 when encountering an unknown token.
12458 (readLyXformat2): Show an error message if there were unknown tokens.
12460 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12463 * BufferView_pimpl.C:
12467 * text2.C: use par->isInset()
12469 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12471 * paragraph_pimpl.h:
12472 * paragraph_pimpl.C: cleanup
12474 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12476 * text2.C (removeRow):
12477 * text.C (setHeightOfRow): remove useless (and costly) call to
12480 2001-11-20 Allan Rae <rae@lyx.org>
12482 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12483 Now need Inset*::checkInsertChar() to return true for appropriate
12484 cases so that the characters in the minibuffer will actually be
12487 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12489 * text.C: change the order of the includes.
12490 (workWidth): initialize it at once.
12491 (workWidth): make maxw unsigned
12492 (setHeightOfRow): remove unused variable (inset)
12493 (selectSelectedWord): remove unused variable (inset)
12494 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12496 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12498 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12499 server is not running.
12501 (closeConnection): add debug info when server is disabled.
12503 * ColorHandler.C (getGCForeground): send debug message to GUI
12506 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12508 * kbmap.C (bind): modify because return conventions of
12509 kb_sequence::parse have changed.
12511 * kbsequence.C (parse): only ignore spaces and not any stupid
12512 control character. This avoids tests like s[i] <= ' ', which are
12513 guaranteed to fail with 8bit characters and signed chars.
12514 Change return code to string::npos when there have been no error
12515 (0 was a bad idea when error is at first character)
12517 2001-11-14 José Matos <jamatos@fep.up.pt>
12520 * buffer.C (simpleDocBookOnePar): removed unused argument.
12522 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12524 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12525 insets which are part of a word. Paragraph::isLetter takes care of
12526 that now. Use Paragraph::isInset to identify insets.
12527 (selectSelectedWord): do not test for hyphenation break.
12529 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12530 that protected spaces are considered as spaces.
12532 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12535 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12538 * lyxserver.C: fix it. and small cleanup.
12540 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12542 * BufferView_pimpl.C: use inline helpers
12545 * LaTeXFeatures.C: fix typos
12548 * Spacing.C: move spacing_string into class
12550 * ToolbarDefaults.C: move stuff into namespace anon
12552 * layout.h: update enum
12554 * lyxfunc.C: use better debug
12556 * minibuffer.h: fix typo
12560 * WorkArea.C: add and use Debug::WORKAREA
12564 * text2.C: code re-organisation, inline helpers
12566 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12568 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12569 std::vector.empty().
12571 2001-11-09 Allan Rae <rae@lyx.org>
12573 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12574 '\n's after tables. Tabular and ERT inset work now makes this no
12577 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12580 * minibuffer.C: fix crash, improve drop-down completion
12582 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12585 * lyxserver.C: invalidate fd's when doing endPipe()
12587 2001-11-08 José Matos <jamatos@fep.up.pt>
12589 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12590 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12593 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12595 2001-11-07 José Matos <jamatos@fep.up.pt>
12598 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12601 * buffer.C (sgmlOpenTag):
12602 * buffer.C (sgmlCloseTag): removed debug info.
12604 * buffer.h (sgmlOpenTag):
12605 * buffer.h (sgmlCloseTag): made public.
12607 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12609 * buffer.C (saveParamsAsDefaults):
12610 * lyx_cb.C (MenuLayoutSave): remove
12612 * LyXAction.C (init):
12614 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12616 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12618 * buffer.C (setPaperStuff): removed from here...
12620 * bufferparams.C (setPaperStuff): ... and moved there.
12622 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12626 * XFormsView.C: add support for drop-down completion
12628 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12630 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12633 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12635 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12638 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12640 * lyx_main.C: change ref to known bugs
12642 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12644 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12645 to work around older babel problems.
12647 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12649 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12651 2001-10-24 Juergen Vigna <jug@sad.it>
12653 * tabular-old.C (ReadOld): below variable changes reflected.
12655 * tabular.[Ch]: added ltType struct for longtable header/footer
12656 defines and changed all instances where they are used. Added
12657 future support for double top/bottom rows.
12659 2001-10-24 José Matos <jamatos@fep.up.pt>
12661 * buffer.h (docbookHandleCaption):
12662 * buffer.C (docbookHandleCaption): removed unused function.
12663 (makeDocBookFile): moved docbook supported version to v4.1.
12665 2001-10-24 José Matos <jamatos@fep.up.pt>
12668 * tabular.C (docbookRow): new function to export docbook code of a row.
12669 (DocBook): now honors the longtable flags.
12671 2001-10-23 José Matos <jamatos@fep.up.pt>
12674 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12675 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12677 * buffer.C (makeLinuxDocFile):
12678 (makeDocBookFile): reworked the preamble, more clean, and with
12679 support for lyx defined entities. Changed the document declaration
12680 to be more XML friendly.
12682 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12683 if we need to output XML that should be done with a filter.
12685 2001-10-22 Juergen Vigna <jug@sad.it>
12687 * sp_pspell.h (class PSpell): add alive function needed in the
12688 controller to see if the spellchecker could be started.
12690 2001-10-22 Juergen Vigna <jug@sad.it>
12692 * buffer.C (insertStringAsLines): modify the font for inserting
12693 chars in certain conditions by calling checkInsertChar(font).
12695 2001-10-19 Juergen Vigna <jug@sad.it>
12697 * text.C (workWidth): use getRow instead of wrong algorithm.
12698 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12700 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12705 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12707 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12709 * text.C (workWidth): do not search for the exact row when
12710 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12711 optimization for big documents.
12713 2001-10-18 Juergen Vigna <jug@sad.it>
12715 * text.C (workWidth): new function with added Inset * parameter.
12717 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12719 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12721 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12722 change return type of getColumnNearX.
12725 * text.C (changeRegionCase): use uppercase/lowercase instead of
12728 (rightMargin): simplify code by factoring out the uses of
12733 (appendParagraph): use Paragraph::size_type
12735 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12737 * vspace.C (asLatexString): add a missing break
12739 2001-10-15 Herbert Voss <voss@perce.de>
12741 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12743 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12745 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12748 2001-10-10 André Pönitz <poenitz@gmx.net>
12750 * lyxfunc.C: removed greek_kb_flag.
12752 2001-10-10 Herbert Voss <voss@perce.de>
12754 * lyx_main.C: delete global string help_lyxdir.
12756 2001-10-09 Herbert Voss <voss@perce.de>
12758 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12760 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12762 * lyx_main.C: added global string help_lyxdir.
12764 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12766 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12768 * lyxrc.C (set_font_norm_type): support iso8859-4
12770 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12772 * LaTeX.C (deplog): add another regex for MikTeX
12774 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12776 * lyxrc.C (set_font_norm_type): support iso8859-3
12778 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12780 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12782 * LaTeXFeatures.C: remove special case of french and index
12784 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12785 before \begin{document}). This solves several incompatibilities.
12787 2001-10-03 Garst Reese <reese@isn.net>
12789 * lyx_cb.C: change CheckTex error msg.
12791 2001-10-03 José Matos <jamatos@fep.up.pt>
12793 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12795 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12797 * .cvsignore: update
12799 * lyx_main.C (commandLineVersionInfo): use new style version info.
12801 * buffer.C (writeFile):
12803 (makeLinuxDocFile):
12804 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12806 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12808 * version.h: update to use stuff in version.C
12810 * version.C.in: new file. Contains version information determined
12811 at compile time. This is a merging of version.h and
12814 2001-10-03 Juergen Vigna <jug@sad.it>
12816 * BufferView_pimpl.C (update): don't change "dirty" status in
12819 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12821 * WorkArea.C (c-tor): re-position version string slightly.
12823 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12825 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12826 revert to previous code.
12828 WorkArea.[Ch]: (show, destroySplash): methods removed.
12830 WorkArea.C: rework code so that it's an amalgam of the codes before and
12831 after the splash screen was moved to WorkArea.
12833 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12836 * vspace.C (inPixels):
12839 * buffer.C (insertStringAsLines):
12840 (asciiParagraph): fix types to be large enough
12842 * lyxlex_pimpl.h: change member status from short to int
12844 * layout.h: fix type of endlabeltype
12847 * kbsequence.C (parse): change return type to string::size_type
12849 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12852 * Bullet.C (bulletSize):
12853 (bulletEntry): do not use short ints as parameters
12855 * BufferView2.C (insertLyXFile): change a char to an int.
12857 * WorkArea.C (WorkArea): remove unneeded floats in computation
12859 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12861 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12863 * paragraph.C (asString): Do not ignore newline/hfill chars when
12864 copying to the clipboard.
12866 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12868 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12869 after a multi-line inset.
12871 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12873 * paragraph.C (validate): Set NeedLyXFootnoteCode
12875 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12877 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12878 and decrease-error to decrease.
12880 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12882 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12883 it more readable (should be equivalent)
12885 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12887 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12889 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12891 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12892 of a cursor (row, etc.) after a character has been deleted
12893 (deleteEmptyParagraphMechanism): call the method above on _all_
12894 cursors held by the LyXText when a double space has been
12897 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12899 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12901 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12903 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12904 background. Use greyOut() and the new show() methods to toggle between
12905 the foreground and background. Add code to remove the splash after
12906 its initial showing.
12908 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12909 (create_forms): no longer call Dialogs::showSplash.
12911 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12913 * .cvsignore: add version_info.h
12915 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12917 * version_info.h.in: new file
12919 * Makefile.am: add version_info.h.in
12921 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12922 version_info.h instead of VERSION_INFO
12924 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12926 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12927 The ERT inset now returns string().
12929 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12931 * lyxtext.h, text.C (selectNextWord): renamed as
12932 selectNextWordToSpellcheck.
12934 * text.C (selectNextWordToSpellcheck): Modified to not select
12935 words inside an ERT inset.
12937 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12939 * lyx_cb.C (MenuLayoutSave): change a bit the question
12941 * sp_base.h: include <sys/types.h>
12943 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12945 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12947 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12949 * several files: fix typos in user-visible strings
12951 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12953 * text2.C (pasteSelection): do not set the selection, since it
12954 will be cleared later. Actually, the intent was to fix the way the
12955 selection was set, but I figured rmoving the code was just as good.
12957 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12959 * FontLoader.C (available): Check if font is available without
12962 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12964 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12966 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12968 * lyxrc.[Ch]: added display_graphics variable and associated code.
12970 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12972 * bufferparams.C (hasClassDefaults): new method. Returns true if
12973 the buffer parameters correspond to known class defaults
12975 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12977 * XFormsView.C (show): set minimum size to the main window.
12979 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12981 * text2.C (copySelection):
12983 * lyxfind.C (LyXReplace):
12984 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12985 LyXText::selectionAsString.
12987 * paragraph.C (asString): add "label" argument to the second form
12989 * text2.C (selectionAsString): add "label" argument and pass it to
12990 Paragraph::asString.
12992 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12994 * lyx_main.C (commandLineHelp): remove version information
12996 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12998 * lyx_main.C: add -version commandline option
13000 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13002 * paragraph.h: make the optional constructor arg required instead.
13003 some modifications to other files because of this.
13005 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13007 * lyxserver.C (C_LyXComm_callback): make it static
13009 * lyx_main.C (error_handler): make it static
13011 * lyx_gui.C (LyX_XErrHandler): make it static
13013 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13015 * WorkArea.C: make the extern "C" methods static.
13017 * Makefile.am (lyx_LDADD): simplify
13019 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13021 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13022 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13024 * LyXAction.C (init):
13025 * lyxfunc.C (dispatch): associated code removal.
13027 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13029 * lyxfont.h (isSymbolFont): shut off warning
13031 * text.C (setHeightOfRow):
13032 (getVisibleRow): fix crash with empty paragraphs which have a
13035 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13037 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13040 2001-09-04 José Matos <jamatos@fep.up.pt>
13043 * tabular.C (docbook): rename docBook method to docbook.
13045 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13047 * Makefile.am: add dependencies to main.o.
13049 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13051 * FontLoader.C (available): Return false if !lyxrc.use_gui
13053 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13055 * FontInfo.C (query):
13056 * converter.C (view):
13057 * importer.C (Import):
13058 * exporter.C (Export): Can not -> cannot.
13060 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13062 * BufferView_pimpl.C: allow to create index inset even if
13065 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13067 * buffer.C (getLists): replace boost::tie code with an explicit pair
13068 as boost::tie can break some compilers.
13070 * iterators.h: Added a std:: declaration to the return type of
13073 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13075 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13078 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13080 * iterators.[Ch]: New files. Provide paragraph iterators.
13082 * buffer.C (changeLanguage): Use paragraph iterators.
13083 (isMultiLingual): ditto
13085 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13087 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13089 * FontLoader.C: Support for cmr font.
13091 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13093 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13094 (available): New method.
13096 * FontInfo.C (getFontname): Use scalable fonts even when
13097 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13100 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13102 * converter.C (Formats::view): reverted! Incorrect fix.
13104 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13106 * converter.C (Formats::view): only output the -paper option
13107 if the dvi viewer is xdvi, thereby fixing bug #233429.
13109 2001-08-23 Herbert Voss <voss@perce>
13111 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13113 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13115 * Spacing.h (Spacing): Set space to Default on in the default
13118 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13120 * vc-backend.h (RCS::versionString): add RCS to version
13121 (CVS::versionString): add CVS to version
13123 * vc-backend.C (scanMaster): do not add CVS to version.
13124 (scanMaster): do not add RCS to version
13126 * lyxvc.C (versionString): new method
13128 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13130 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13132 * Spacing.C (set): initialize fval
13134 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13136 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13139 2001-08-16 Juergen Vigna <jug@sad.it>
13141 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13143 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13145 * BufferView_pimpl.C:
13148 * text2.C: setParagraph takes linespacing now
13150 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13152 * LyxAction.C: add internal LFUN_CITATION_INSERT
13154 * LyXView.C: actually apply fix
13156 * bufferlist.C: fix open non-existent file
13158 * lyxfind.C: fix indentation
13160 * lyxfunc.C: remove unneeded assert, fix typo
13162 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13164 * MenuBackend.C: use "Floatname List"
13166 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13168 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13169 when converting LaTeX layout to insetERT.
13170 Generate a non-collapsed float when reading old float
13172 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13174 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13177 2001-08-13 Juergen Vigna <jug@sad.it>
13179 * text.C (fill): return 0 instead of 20 as this seems to be the more
13182 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13184 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13187 2001-08-13 Juergen Vigna <jug@sad.it>
13189 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13191 (SearchBackward): comment out the unlocking of the inset_owner this
13192 should not be needed!
13194 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13196 * Many files: Remove inherit_language, and add latex_language
13198 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13199 collapsible insets.
13201 2001-08-10 Juergen Vigna <jug@sad.it>
13203 * text.C (prepareToPrint): fixed hfill-width in draw!
13205 * BufferView2.C (selectLastWord): save the selection cursor as this
13206 now is cleared in the function LyXText::clearSelection!
13208 2001-08-08 Juergen Vigna <jug@sad.it>
13210 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13211 BACKSPACE type functions.
13213 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13214 is only cutted from the document but not put in the cut-buffer, where
13215 still the old stuff should be.
13217 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13219 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13221 * tabular.C (SetWidthOfCell): fixed special case where the width
13223 (LeftLine): handle '|' in align_special.
13225 (LeftAlreadyDrawed): ditto
13226 (SetWidthOfCell): ditto
13228 2001-08-07 Juergen Vigna <jug@sad.it>
13230 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13232 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13234 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13235 * lyxlex.[hC]: ditto
13237 2001-08-06 Juergen Vigna <jug@sad.it>
13239 * text.C (getVisibleRow): fix up row clearing a bit.
13241 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13243 * minibuffer.C: make sure the X server sees the changes in the input.
13245 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13247 * paragraph.C (getFont): split into...
13248 (getLabelFont): this
13249 (getLayoutFont): and this
13250 * paragraph_pimpl.C (realizeFont): calling this
13252 * text2.C (getFont): split into...
13253 (getLayoutFont): this
13254 (getLabelFont): and this
13255 (realizeFont): all three calling this
13257 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13260 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13262 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13264 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13266 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13267 layouts from the Quote inset insertion.
13269 2001-08-03 Juergen Vigna <jug@sad.it>
13271 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13273 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13274 only if status not is already CHANGED_IN_DRAW (second level).
13276 * text.C (draw): don't set the need_break_row when inside an
13279 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13281 * buffer.C (parseSingleLyXformat2Token): handle more latex
13284 * bufferview_funcs.[hC]: change function names to
13285 begin with small char, adjust other files.
13287 2001-08-02 André Pönitz <poenitz@gmx.net>
13290 BufferView_pimpl.C: remove broken special code for math-greek
13292 2001-08-02 Juergen Vigna <jug@sad.it>
13294 * BufferView_pimpl.C (update): redone this function so that we
13295 update the text again if there was a CHANGE_IN_DRAW.
13297 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13298 (drawFromTo): added a new internal bool which is used by draw() and
13300 (general): some cursor drawing problems fixed.
13302 2001-08-01 Juergen Vigna <jug@sad.it>
13304 * lyxfind.C (LyXFind): fixed
13305 (SearchForward): ditto
13306 (SearchBackward): ditto
13308 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13309 spurius drawing of the cursor in the main area.
13311 * text2.C (status): small fix which could lead to a segfault!
13312 (clearSelection): remove unneeded BufferView param.
13314 2001-08-01 André Pönitz <poenitz@gmx.net>
13316 * lyxfunc.C: small change due to changed mathed interface
13318 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13320 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13322 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13324 * lyxfunc.c: fail gracefully if file doesn't exist
13329 * BufferView_pimpl.C: IsDirWriteable() proto changed
13331 * LyXView.C: fix updateWindowTitle() to store the last title
13333 2001-07-31 Juergen Vigna <jug@sad.it>
13335 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13336 the font (wrong since using of Paragraph::highestFontInRange).
13338 * paragraph.C (highestFontInRange): added a default_size parameter.
13340 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13341 (setHeightOfRow): reformat
13343 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13345 * converter.[hC] + affected files: move to (inital-char)lowercase
13348 * ParagraphParameters.C (ParagraphParameters): remove commented code
13350 * PainterBase.[Ch]: remove commented code
13352 * LaTeXFeatures.h: add "bool floats" for float.sty
13354 * LaTeXFeatures.C (LaTeXFeatures): init floats
13355 (require): handle float
13356 (getPackages): do it with floats
13358 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13360 * BufferView_pimpl.C (Dispatch): improve handling of
13361 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13363 * commandtags.h: #include lyxfont.h here temporarily to avoid
13366 * bufferlist.h: include LString.h here.
13368 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13370 * text2.C (getStringToIndex): new method.
13372 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13374 * *: Reduced header file dependencies all over.
13376 2001-07-30 Baruch Even <baruch@lyx.org>
13378 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13380 2001-07-29 Baruch Even <baruch@lyx.org>
13382 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13384 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13386 * ParameterStruct.h (endif): add a default constructor to make
13387 sure that all variables is initialized.
13389 * ParagraphParameters.C (ParagraphParameters): adjust
13391 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13393 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13394 index; also, check that there is something to index, and that it
13395 does not span over several paragraphs.
13396 (doubleClick): use WHOLE_WORD_STRICT for double click.
13398 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13400 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13403 2001-07-26 Baruch Even <baruch@lyx.org>
13405 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13406 an InsetFig figure, backwards compatible reading of old figure code.
13408 2001-07-27 Juergen Vigna <jug@sad.it>
13410 * text2.C: font.realize function adaption.
13412 * text.C (draw): add a warnings lyxerr text if needed.
13414 * layout.C: font.realize function adaption.
13416 * language.C: add inherit_language and implement it's handlings
13418 * bufferview_funcs.C (StyleReset): remove language parameter from
13419 font creation (should be language_inherit now).
13421 * bufferparams.C (writeFile): handle ignore_language.
13423 * paragraph.C (getFontSettings): the language has to be resolved
13424 otherwise we have problems in LyXFont!
13426 * lyxfont.C (lyxWriteChanges): added document_language parameter
13427 (update): removed unneeded language parameter
13429 * paragraph.C (validate): fixed wrong output of color-package when
13430 using interface colors for certain fonts in certain environments,
13431 which should not seen as that on the final output.
13433 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13435 * BufferView_pimpl.C:
13440 * LyXAction.C: add thesaurus support
13443 * lyxfind.C: add "once" parameter, for thesaurus, to not
13444 move to the next match
13446 2001-07-26 Juergen Vigna <jug@sad.it>
13448 * lyxfont.C (realize): honor ignore_language too!
13451 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13453 * text.C (draw): one place more for ignore_language to not draw
13456 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13458 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13460 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13462 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13463 the minipage conversion problem.
13465 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13467 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13470 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13472 * BufferView.h: don't forward declare WorkArea
13474 * BufferView.C: don't include WorkArea.h
13476 2001-07-25 André Pönitz <poenitz@gmx.net>
13480 * lyxfunc.C: new LFUN 'math-space'
13482 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13484 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13486 * text2.C (toggleInset): call open/close
13488 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13490 * lyxfunc.C (dispatch): add debug for the disabled case
13492 * font.C (buttonText): make similar to rectText
13494 * buffer.C (readInset): comment out parsing of insetlist and
13497 * PainterBase.C (rectText): small correction
13499 * BufferView_pimpl.C: comment out insettheorem and insetlist
13500 * LyXAction.C: ditto
13501 * commandtags.h: ditto
13503 2001-07-24 Juergen Vigna <jug@sad.it>
13505 * text.C (draw): honor the ignore_language.
13507 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13509 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13511 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13514 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13516 * lyxtext.h: remove unused (and unimplemented) methods
13518 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13520 * text.C (getVisibleRow): honor background color
13523 * Painter.h: remove default color argument for fillRectangle
13525 * text.C (backgroundColor): new method
13527 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13529 * text.C (getVisibleRow): adjust
13531 * font.[Ch] (rectText): new method, metrics
13532 (buttonText): new method, metrics
13534 * PainterBase.[hC]: make rectText and buttonText always draw and take
13537 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13539 * ToolbarDefaults.C (read):
13540 * MenuBackend.C (read): allow escaping in all strings
13542 * BufferView_pimpl.C (insertAndEditInset): new method.
13543 (Dispatch): use insertAndEditInset whenever appropriate.
13545 * BufferView_pimpl.C (insertNote): removed
13547 * BufferView_pimpl.C (smartQuote): new method, moved from
13548 BufferView; if an insetquote cannot be inserted, insert a '"'
13551 * BufferView2.C: remove insertCorrectQuote();
13553 * lyxfunc.C (getStatus): Add support for all remaingin
13554 inset-insert lfuns.
13556 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13558 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13559 command (necessary to pass " as parameter of self-insert.
13561 * text.C (selectWordWhenUnderCursor):
13562 (selectWord): add word_location parameter
13563 (selectWordWhenUnderCursor): same + remove special code for word
13565 (selectNextWord): use kind() to guess type of insetspecialchar,
13568 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13569 (insertErtContents): create ert insets as collapsed.
13570 (readInset): better compatibility code for Info inset.
13572 2001-07-20 Juergen Vigna <jug@sad.it>
13574 * lyxfunc.C (dispatch): use always LyXFind now!
13576 * text2.C (init): add a reinit flag so that the LyXText can be
13577 reinited instead of deleted and reallocated (used in InsetText).
13579 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13585 2001-07-18 Juergen Vigna <jug@sad.it>
13587 * text.C (selectNextWord): handle insets inside inset by calling
13588 always the bv->text functions so that we can go up the_locking_inset!
13590 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13591 in strange locations when inside an inset!
13593 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13594 handling to include insets.
13596 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13598 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13600 * LyXAction.C (init):
13602 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13603 LIGATURE_BREAK, since the name is so stupid.
13605 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13607 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13610 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13612 * sp_form.[Ch]: remove.
13614 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13616 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13619 * src/buffer.C (readInset): ditto.
13621 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13623 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13624 menuSeparator(), endOfSentenceDot(), ldots() and
13625 hyphenationPoint(), which are therefore removed.
13626 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13628 * LyXAction.C (init):
13629 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13631 * paragraph.C (getWord): removed.
13633 * BufferView_pimpl.C (Dispatch): use last word or selection for
13634 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13636 * lyx_main.C (queryUserLyXDir): do not ask before creating
13637 user_dir, except if it has been named explicitely.
13639 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13641 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13642 a document of zero size.
13644 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13646 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13647 approriately in the c-tor and in require().
13648 (getPackages): output the appropriate LaTeX for natbib support.
13650 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13651 variables "use_natbib" and "use_numerical_citations" when reading the
13653 (readInset): read the various natbib cite commands.
13654 (validate): white-space change.
13656 * bufferparams.[Ch]: new variables "bool use_natbib" and
13657 "bool use_numerical_citations".
13658 (writeFile): output them in the LyX file.
13660 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13662 * lyxfunc.C (getStatus): add support for all the inset insertion
13665 * text2.C (insertInset):
13666 * paragraph.C (insetAllowed):
13667 * BufferView_pimpl.C (insertInset): update to take in account the
13668 renaming of insertInsetAllowed
13670 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13672 * text2.C (getInset): new method. returns inset at cursor position.
13674 * BufferView_pimpl.C (Dispatch): changes because of this.
13676 * LyXAction.C (init): rename open-stuff to inset-toggle.
13678 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13680 * text2.C (toggleInset): renamed from openStuff; use
13683 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13685 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13687 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13689 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13691 * buffer.C (readLyXformat2): Add filename to the error dialog
13693 2001-07-18 Juergen Vigna <jug@sad.it>
13695 * tabular.C (GetCellNumber): put an assert here instead of the check!
13697 2001-07-17 Juergen Vigna <jug@sad.it>
13699 * BufferView_pimpl.C (toggleSelection): adapted too.
13701 * text.C (selectNextWord): adapted for use with insets.
13702 (selectSelectedWord): ditto
13704 2001-07-17 Juergen Vigna <jug@sad.it>
13706 * sp_spell.C (PSpell): fix initialitation order.
13708 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13710 * paragraph.C: spacing
13712 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13714 * sp_spell.C: repair language selection for pspell
13716 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13718 * lyxfunc.h: change more methods to begin with lower char.
13720 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13722 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13723 for unknown layouts.
13725 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13727 * buffer.C (readLyXformat2): Generate an error dialog if there are
13730 2001-07-16 Juergen Vigna <jug@sad.it>
13732 * sp_spell.C: always compile ISpell part.
13734 * lyxrc.C: added use_pspell entry and it's handling.
13736 2001-07-13 Juergen Vigna <jug@sad.it>
13738 * sp_spell.C: removed double includes.
13740 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13742 Consistent use of Lsstream.h:
13743 * Lsstream.h: added using std::stringstream for consistencies sake.
13745 * buffer.C: removed using std::stringstream
13747 * lyxfont.C (stateText):
13748 * paragraph.C (asString):
13749 * text.C (selectNextWord, selectSelectedWord):
13750 * text2.C (setCounter):
13751 * vspace.C (asString, asLatexString):
13752 std::ostringstream -> ostringstream.
13754 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13756 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13757 * commandtags.h: add LFUN_HELP_ABOUTLYX
13758 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13760 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13762 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13764 * lyx_gui_misc.C: remove spellchecker
13765 * lyxfunc.C: showSpellchecker
13767 * sp_ispell.h: added
13768 * sp_pspell.h: added
13769 * sp_spell.C: added
13770 * sp_form.[Ch]: removed
13771 * spellchecker.[Ch]: removed
13773 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13775 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13777 (simpleTeXSpecialChars): Simply print the input character without
13778 any special translation if pass_thru is set.
13780 * layout.h: Added bool pass_thru to layout class for being able to
13781 implement pass through of a paragraph for Literate Programming.
13783 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13784 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13785 * layout.C (Read): add "passthru" to list of layout tags and add
13786 code to set the pass_thru boolean when it is read.
13788 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13790 * trans_decl.h: remove allowed from KmodInfo
13792 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13793 remove allowed code
13796 * paragraph_pimpl.C (erase): use boost::prior
13798 * Painter.C (text): use data() instead of c_str() when length is
13800 * WorkArea.C (putClipboard): ditto
13801 * font.h (width): ditto
13803 * BufferView2.C: use it-> instead of (*it). for iterators
13805 * paragraph_pimpl.C: ditto
13806 * paragraph.C: ditto
13807 * minibuffer.C: ditto
13808 * language.C: ditto
13810 * encoding.C: ditto
13811 * counters.C: ditto
13812 * converter.C: ditto
13814 * Variables.C: ditto
13815 * TextCache.C: ditto
13816 * MenuBackend.C: ditto
13817 * LyXAction.C: ditto
13819 * FloatList.C: ditto
13820 * DepTable.C: ditto
13821 * ColorHandler.C (LyXColorHandler): ditto
13823 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13825 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13827 * text2.C (openStuff): reintroduce this method (which had been
13828 nuked in NEW_INSETS frenzy).
13830 * lyxfunc.C (Dispatch): when an action has not been handled, use
13831 its name in the error message, not its number.
13833 * paragraph.C (inInset): change method name to begin with lowercase.
13836 * text2.C: updates because of this.
13838 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13840 * ToolbarDefaults.C (add): add spaces in error message
13842 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13844 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13845 (readLyXformat2): rename return_par to first_par, use lyxlex's
13846 pushToken and remove the manual push handling.
13847 (parseSingleLyXformat2Token): add another ert comp. variable:
13848 in_tabular, rename return_par to first_par. handle newlines better
13850 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13852 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13854 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13856 * text2.C (getParFromID): removed
13858 * buffer.C (getParFromID): new method moved form lyxtext.
13859 * BufferView2.C (insertErrors): adjust
13860 (setCursorFromRow): adjust
13861 * BufferView_pimpl.C (restorePosition): adjust
13862 * lyxfunc.C (Dispatch): adjust
13863 * undo_funcs.C (textUndo): adjust
13865 (textHandleUndo): adjust
13866 (textHandleUndo): adjust
13868 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13870 * buffer.C: up' the LYX_FORMAT
13872 * lyxfont.h: turn NO_LATEX on as default
13874 * buffer.C (insertErtContents): new methods of tex style compability.
13875 (parseSingleLyXformat2Token): use it several places.
13876 * tabular.C (OldFormatRead): and here
13878 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13880 * text2.C: remove some commented code.
13883 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13884 * trans.C: changes because of the above.
13886 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13888 * text2.C (setCounter): Fix counters bug with bibliography layout.
13890 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13892 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13893 own member functions
13894 (simpleTeXSpecialChars): ditto
13896 2001-07-06 Juergen Vigna <jug@sad.it>
13898 * a lot of files: changed the access to LyXText::status and the
13899 call of undo-functions.
13901 * undo.[Ch]: added a inset_id to the undo informations.
13903 * undo_funcs.[Ch]: added and moved here all undo functions.
13905 * lyxtext.h: give the status enum a weight, made status_ a private
13906 variable and made accessor functions for it, removed the whole bunch
13907 of undo-functions as they are now in their own file, make some
13908 functions publically available. Added function ownerParagraph with
13911 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13912 made InInset() a const function, added getParFromID() function.
13914 * buffer.[Ch]: added const version for inset_iterator functions,
13915 added getInsetFromID() function.
13917 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13918 changed undo functions for new version.
13920 2001-07-05 Juergen Vigna <jug@sad.it>
13922 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13923 unknow mechanism does not call the proper constructor but only this
13924 one also if I request the other!?
13926 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13928 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13930 * text2.C (LyXText): use initialization lists.
13932 * lyxtext.h (Selection): initialize set_ and mark_
13933 (init): remove method
13935 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13937 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13939 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13941 * screen.[Ch]: change method names to begin with lowercase
13943 * BufferView_pimpl.C (updateScrollbar): simplify further and
13944 hopefully make it a bit faster.
13946 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13948 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13949 calling directly xforms functions.
13951 * Painter.C (Painter):
13952 * lyx_cb.C (MenuWrite):
13953 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13956 * lyx_gui.C: remove bogus guiruntime extern declaration.
13958 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13960 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13962 (redoDrawingOfParagraph): ditto
13963 (redoParagraphs): ditto
13964 (cutSelection): don't create a object for CutAndPaste use the
13965 static method directly
13966 (pasteSelection): ditto
13968 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13971 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13973 * modifications to some other files because of this.
13975 * Makefile.am (lyx_SOURCES): add XFormsView
13977 * XFormsView.[Ch]: new files
13979 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13980 the main window. Move the gui dependent stuff to XFormsView
13982 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13984 * tabular.C (GetCellInset): update cur_cell also in the row/col
13985 version of this function.
13987 * lyxfunc.C: no need to include figure_form.h here.
13993 * lyxvc.C: no need to include forms.h here.
13995 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13997 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13999 * lyxfunc.C (Dispatch):
14001 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14002 constructor argument.
14004 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14006 * paragraph.C (Paragraph): dont't clear, and just set layout.
14007 (makeSameLayout): use params's copy contructor.
14009 * ParagraphParameters.[Ch] (makeSame): delete method
14011 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14013 * Variables.[Ch]: fix indentation, rename set to isSet
14015 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14017 * lyxfunc.C (Dispatch): fix typo
14019 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14021 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14024 * bufferlist.C: include assert.h for emergencyWrite().
14026 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14028 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14029 give up at last (bug #425202) !
14031 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14037 * spellchecker.C: strip spellchecker options and bring up
14038 preferences tab instead
14040 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14042 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14043 the istringstream constructor
14045 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14047 * paragraph.C (getLayout): fix return value
14049 * paragraph.h: do not declare getLayout as inline.
14051 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14053 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14055 * lyxcursor.h (operator<): new func
14056 (operator>): new func
14057 (operator>=): new func
14058 (operator<=): new func
14060 * text.C (changeCase): use selection.start and selection.end
14061 (changeRegionCase): require from to be <= to. Require par to be a
14064 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14066 2001-06-27 Juergen Vigna <jug@sad.it>
14068 * text.C (cursorLeftOneWord): changed to return the cursor and added
14069 overlay with BufferView * parameter which calls this one.
14071 (selectWord): use new getWord function.
14072 (changeCase): renamed from changeWordCase as and extended to work
14073 also on selections.
14075 * lyxtext.h: added enum word_location
14077 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14078 changeCase as this operates now also on selections.
14080 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14082 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14084 * many files: send debug output to Debug::INFO instead of
14087 * converter.C (View):
14089 (Move): send debug output to Debug::FILES instead of console.
14091 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14093 * lyxfunc.C (getStatus): use func_status
14095 * func_status.h: new header, describing the results of
14096 LyXFunc::getStatus;
14098 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14101 2001-06-25 The LyX Project <jug@sad.it>
14103 * buffer.C (sgmlOpenTag):
14105 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14107 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14109 * text2.C: remove some dead code
14111 * tabular.C (GetCellInset): store the last cell checked (gotten)
14113 * tabular.h: add the helper for the speedup
14115 * lyxtext.h: remove some dead code
14117 2001-06-26 The LyX Project <Asger>
14119 * paragraph.C: Change export to LaTeX of alignment to
14120 \begin{center} and family for better roundtrip work with reLyX.
14122 * Tune the math drawing a bit.
14124 2001-06-25 The LyX Project <Asger>
14126 * LColor.C (LColor): New color for math background. New color
14129 2001-06-25 The LyX Project <jug@sad.it>
14131 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14133 * lyxfunc.C (Open):
14134 * bufferlist.C (newFile): do not restrict to files ending with
14137 * BufferView_pimpl.C (MenuInsertLyXFile):
14139 2001-06-24 The LyX Project <jug@sad.it>
14141 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14144 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14146 * lyxtext.h: rename most methods to begin with a small char.
14147 Lots of changes because of this.
14149 * paragraph.C (Paragraph): do not call fitToSize
14150 (erase): call Pimpl::erase
14151 (insertChar): call Pimpl::insertChar
14152 (insertInset): call Pipl::insertInset
14153 (breakParagraph): do not call fitToSize
14154 (breakParagraphConservative): do not call fitToSize
14155 (fitToSize): remove method
14157 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14159 2001-06-24 The LyX Project <Asger>
14161 * Fix Qt compilation^2
14163 2001-06-24 The LyX Project <jug@sad.it>
14165 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14166 depthHook(getDepth()-1).
14169 * ParagraphParameters.h:
14170 * ParameterStruct.h: change type of depth to unsigned int ==
14171 depth_type. Many adaptations to other files before of that.
14173 2001-06-24 The LyX Project <Asger>
14175 * Fix Qt compilation.
14177 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14179 * paragraph.h: renamed several methods to begin with small letter.
14180 several changes to many parts of the code because of this.
14182 2001-06-23 The LyX Project <jug@sad.it>
14184 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14185 rewritten to discard all double spaces when KeepEmpty is off
14186 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14187 to only handle newlines but not fiddle with spaces and friends.
14189 * lyxfunc.C (MenuNew): when doing 'new from template', use
14190 template_path as default directory
14192 2001-06-23 The LyX Project <Asger>
14194 * Clean-up of header file includes all over
14195 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14197 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14199 * paragraph.h: renamed from lyxparagraph.h
14201 2001-06-23 Asger <lyx@violet.home.sad.it>
14203 * Buffer.h: Removed Buffer::resize
14204 * BufferList.h: Removed BufferList::resize
14205 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14206 the document lazily when we change the width, or the font settings.
14208 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14210 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14212 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14214 * buffer.h: remove out of date comment
14216 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14219 * screen.C: fix "theoretical" GC leak
14221 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14223 * LaTeX.C (scanAuxFile):
14224 (deplog): remove trailing \r when reading stream (useful under
14227 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14229 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14230 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14231 and BufferView::theLockingInset(Inset*), so should use them and not
14232 access bv_->text->the_locking_inset directly.
14234 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14236 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14239 * tex-defs.h: remove old unused file
14241 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14243 * BufferView_pimpl.C: fix typo, remove minibuffer message
14244 when buffer has loaded
14246 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14248 * lyxfunc.C (Dispatch): use stringstream
14249 (MenuNew): use stringstream
14250 (Open): use stringstream
14252 * importer.C (Import): use stringstream
14254 * bufferview_funcs.C (CurrentState): use stringstream
14256 * LaTeX.C (run): use stringstream
14258 * BufferView_pimpl.C (savePosition): use stringstream
14259 (restorePosition): use stringstream
14260 (MenuInsertLyXFile): use stringstream
14262 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14275 * vspace.C: removed // -*- C++ -*- as first line.
14278 * version.h: added // -*- C++ -*- as first line.
14280 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14282 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14284 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14287 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14289 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14292 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14294 * gettext.C: include LString.h even when --disable-nls is on.
14296 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14298 * converter.h (Get): changed argument type from int to
14299 FormatList::size_type to avoid unnecessary conversion.
14301 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14304 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14306 * gettext.h: include LString.h even when --disable-nls is on.
14308 2001-06-07 Juergen Vigna <jug@sad.it>
14310 * text.C (BreakAgain): subst spaces with tabs.
14312 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14313 (resizeInsetsLyXText): set force on resizeLyXText.
14315 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14317 * gettext.h (gettext_init):
14318 (locale_init): use a real definition instead of a macro
14320 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14322 * Bufferview_pimpl.C:
14324 * LColor.C: further lcolor tidies
14326 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14328 * BufferView_pimpl.C (updateScrollbar): simplify.
14330 * BufferView2.C: don't include insets/insetinfo.h, change
14331 prototype for insertInset and call the Pimpl version. let
14332 updateInset call Pimpl version.
14334 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14335 gotoInset to BufferView::Pimpl
14337 2001-06-01 Juergen Vigna <jug@sad.it>
14339 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14340 inside a LockingInset (is the update needed at all?).
14342 2001-05-31 Juergen Vigna <jug@sad.it>
14344 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14345 here not the old one otherwise how should we compare it afterwards
14348 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14353 * FontInfo.C: bring C functions into global namespace when
14356 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14358 * LString.h: make sure config.h has been loaded before LString.h.
14360 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14361 (one for each char read by EatLine!).
14363 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14366 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14368 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14369 to the same as the par we break from
14371 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14373 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14375 * MenuBackend.C (expand): also create menu entries for wide
14376 versions of the floats.
14378 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14380 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14382 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14383 frontends/Makefile.am
14389 * tabular.C (getTokenValue): add std::
14391 * tabular-old.C (getTokenValue): add std::
14392 (getTokenValue): ditto
14393 (getTokenValue): ditto
14395 * screen.C (ToggleSelection): adjust
14397 * lyxtext.h: put selection cursors inside a Selection struct.
14399 * lyxfunc.C (moveCursorUpdate): adjust
14401 * lyxfont.C (latexWriteStartChanges): add std::
14403 * lyxfind.C: adjust
14405 * font.h: delete with(char const *, LyXFont const &)
14407 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14409 * FontInfo.C (getFontname): add std::
14411 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14412 (workAreaButtonPress): adjust
14413 (tripleClick): adjust
14415 (moveCursorUpdate): adjust
14418 * BufferView2.C (gotoInset): adjust
14420 2001-05-30 Juergen Vigna <jug@sad.it>
14422 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14423 to check pspell I add this as default as I now have new pspell
14424 libraries and they seem to use this.
14426 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14428 * text2.C (CutSelection): make the cursor valid before the call to
14431 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14433 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14434 relied on 0 terminated strings and other horrors. Bug found due to
14435 the new assert in lyxstring!
14437 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14440 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14442 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14445 * lyxfunc.C (processKeySym): change method of getting to the
14448 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14449 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14450 * BufferView_pimpl.[Ch]: here as private methods.
14452 2001-05-28 Juergen Vigna <jug@sad.it>
14454 * text.C (SetHeightOfRow): added the update() call again as it is
14455 needed to initialize inset dimensions!
14457 2001-05-16 Juergen Vigna <jug@sad.it>
14459 * text2.C (SetCharFont): Add new function with BufferView * and
14460 bool toggleall parameters for setting insets internal fonts.
14461 (SetFont): Freeze the undo as we may change fonts in Insets and
14462 all this change should be inside only one Undo!
14464 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14465 setting font's in insets as for them we have the SetFont function!
14467 2001-05-15 Juergen Vigna <jug@sad.it>
14469 * text2.C (ClearSelection): to be sure we REALLY don't have any
14472 * tabular.C (TeXCellPreamble): fixed the left border problem for
14475 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14477 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14480 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14482 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14483 LFUN_BREAKPARAGRAPH.
14485 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14486 help test to "internal only", similar for LFUN_INSERT_URL
14488 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14489 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14490 auto_region_delete and deadkeys.
14492 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14495 * LColor.C: remove some dead entries, tidy a little
14497 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14499 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14501 (Dispatch): implement LFUN_ESCAPE
14503 * commandtags.h: add LFUN_ESCAPE
14505 * LyXAction.C (init): add entry for LFUN_ESCAPE
14507 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14508 Remove commented code.
14509 (insertNote): moved here
14510 (open_new_inset): moved here
14512 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14515 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14517 * kbmap.C (findbinding): clean it up and make it work correctly.
14519 * lyx_main.C (init): do not pass argc and argv as parameters
14521 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14523 * buffer.C: fix path for OS/2 & Win32
14527 * lyx_main.C: Added os:: class.
14529 * os2_defines.h: update
14531 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14533 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14534 better by trying again with reduced state.
14536 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14538 * lyxrc.C (read): print error about invalid key sequence only when
14539 debugging (because not all latinX keysyms are known to some X
14542 * kbsequence.C (getiso): add a few std:: qualifiers
14543 (getiso): comment out extra return statement.
14545 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14547 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14549 (Dispatch): enhance the accent inset a bit. (not perfect)
14551 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14553 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14555 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14557 * bufferlist.C (emergencyWrite): fix assert() call
14559 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14561 * text.C (InsertChar): Added trivial patch to only send the "you
14562 can not do multiple spaces this way" message once during a
14565 2001-05-08 Baruch Even <baruch@lyx.org>
14567 * Makefile.am: Changed order of libraries to get LyX to link properly
14568 with the gnome frontend.
14570 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14572 * LaTeXFeatures.h: add a std:: qualifier
14574 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14576 * paragraph.C (String): use stringstream
14578 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14580 * paragraph.C (writeFile): remove footflag arg
14582 * buffer.C (makeLaTeXFile): use stringstream
14583 (latexParagraphs): remove footnot gurba
14585 * LaTeXFeatures.C (getPackages): use stringstream
14586 (getMacros): likewise
14587 (getTClassPreamble): likewise
14588 (getFloatDefinitions): new method
14590 * paragraph.C (writeFile): reindent
14593 * WorkArea.h: revert the xpos + etc changes.
14595 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14597 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14599 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14600 (pasteSelection): likewise
14601 * text2.C (CreateUndo): likewise
14603 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14605 * minibuffer.C (peek_event): temporarily reduce the functionality
14606 of the minibuffer (to allow args on lfuns)
14608 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14609 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14611 * buffer.C (readInset): add compability reading of old float
14612 lists, add reading of new style float list.
14613 (readInset): avoid reevaluation of inscmd.getCmdName()
14614 (getLists): reindent
14616 * MenuBackend.C (MenuItem): implement parsing of
14617 md_floatlistinsert and md_floatinsert.
14618 (expand::LastFiles): move initalizaton of iterators out of loop,
14619 avoid reevaluation.
14620 (expand::Documents): introduce typdedef vector<string> Strings,
14622 (expand::ExportFormats): introduce typedef vector<Format const *>
14623 Formats, and use it.
14624 (expand): implement FloatListInsert and FloatInsert.
14626 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14627 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14628 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14630 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14632 (Dispatch::LFUN_FLOAT_LIST): implement
14634 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14636 * LaTeX.C (run): Fix problem with --export code.
14638 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14640 * BufferView.[Ch] (workarea): removed.
14641 (getClipboard) new method; wrapper for workarea()->getClipboard()
14643 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14646 * WorkArea.h (width, height, xpos, ypos): These methods all
14647 returned the dimensions of the work_area sub-area of WorkArea,
14648 resulting in a position error if the WorkArea were resized. Now
14649 return the dimensions of the entire WorkArea.
14651 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14653 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14655 * LaTeX.C (deplog): correct the syntax of regex reg1
14657 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14659 * undo.C: remove !NEW_INSETS cruft
14661 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14663 * text2.C: remove !NEW_INSETS cruft
14665 * text.C: remove !NEW_INSETS cruft
14667 * tabular.C: remove !NEW_INSETS cruft
14669 * spellchecker.C: remove !NEW_INSETS cruft
14671 * lyxtext.h: remove !NEW_INSETS cruft
14673 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14675 * lyxfunc.C: remove !NEW_INSETS cruft
14677 * lyxfind.C: remove !NEW_INSETS cruft
14679 * lyx_cb.C: remove !NEW_INSETS cruft
14681 * figureForm.C: remove !NEW_INSETS cruft
14683 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14685 * buffer.[Ch]: remove !NEW_INSETS cruft
14687 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14689 * CutAndPaste.C: remove !NEW_INSETS cruft
14691 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14693 * BufferView2.C: remove !NEW_INSETS cruft
14695 * BufferView.h: remove !NEW_INSETS cruft
14697 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14699 * Lsstream.h: include LString.h before the sstream headers to
14700 fix problem with gcc 2.95.3 and lyxstring
14702 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14704 * lyx_main.C: add using directives when needed for C functions
14705 declared in std:: namespace.
14707 2001-04-27 Juergen Vigna <jug@sad.it>
14709 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14710 (SetHeightOfRow): comment out the update call should not be needed!
14712 2001-04-13 Juergen Vigna <jug@sad.it>
14714 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14715 (LyXTabular): tried to minimize operator= operations (and realized
14716 hopfully Lars wish).
14718 2001-04-27 Juergen Vigna <jug@sad.it>
14720 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14722 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14724 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14726 * buffer.C (readInset): hack to make listof algorithm work
14728 * BufferView_pimpl.C: hack to make listof algorithm work
14730 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14732 * LyXAction.C: removed all !NEW_INSETS cruft
14733 (init): moved lfun_item in method
14735 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14737 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14739 * BufferView2.C (theLockingInset): white space.
14741 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14743 * minibuffer.C: include <iostream>
14745 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14747 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14749 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14751 * text.[Ch] (TransposeChars): new method
14753 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14755 * call message directly through LyXView instead of through LyXFunc
14756 * BufferView2.C: adjust
14757 * BufferView_pimpl.C: adjust
14758 * FontLoader.C: adjust
14760 * bufferview_funcs.C: adjust
14761 * converter.C: adjust
14762 * figureForm.C: adjust
14763 * importer.C: adjust
14765 * lyx_gui_misc.C: adjust
14766 * lyxfunc.C: adjust
14769 + more files in subdirs
14771 * lyxparagraph.h (size): move up int file
14774 * adjust all uses of Assert to lyx::Assert.
14776 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14777 lyxfunctional in namespace lyx
14778 * layout.C (hasLayout): ditto
14781 (delete_layout): ditto
14782 (NumberOfClass): ditto
14783 * converter.C (GetFormat): ditto
14788 * bufferlist.C (getFileNames): ditto
14789 (emergencyWriteAll): ditto
14792 * MenuBackend.C (hasSubmenu): ditto
14795 * BufferView_pimpl.C (getInsetByCode): ditto
14797 2001-04-18 Juergen Vigna <jug@sad.it>
14799 * vspace.C (asLatexString): fixed the 100% problem.
14801 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14803 * lyxfunc.C (Dispatch):
14805 * minibuffer.h: add a few std:: qualifiers
14807 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14809 * minibuffer.[Ch]: reimplement so that commands is initiated and
14810 run from lyxfunc, simplified som handling, and made the completion
14811 and history code for complete. wip.
14813 * lyxfunc.C (processKeySym): call message
14814 (miniDispatch): new temporary method
14815 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14816 (LFUN_MESSAGE): implement
14817 (LFUN_MESSAGE_PUSH): implement
14818 (LFUN_MESSAGE_POP): implement
14819 (initMiniBuffer): the initial/defualt minibuffer message.
14821 * lyxfont.[Ch]: inline some more getters
14823 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14825 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14827 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14828 (AutoSave): use LFUN_MESSAGE
14829 (Reconfigure): ditto
14831 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14833 * figureForm.C: use LFUN_MESSAGE
14835 * converter.C (runLaTeX): use LFUN_MESSAGE
14837 * bufferview_funcs.C: use LFUN_MESSAGE
14839 (changeDepth): ditto
14841 * bufferparams.h: use boost::
14843 * bufferlist.h: inherit privately from noncopyable
14845 * bufferlist.C (loadLyXFile): remove some commented code.
14847 * buffer.C (runChktex): use LFUN_MESSAGE
14849 * ShareContainer.h: inherit privately from noncopyable
14851 * ParagraphParameters.[hC] (depth): inline it.
14853 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14855 (message): new method
14856 (messagePush): ditto
14857 (messagePop): ditto
14858 (show): init minibuffer
14859 (showState): direct call
14861 * LaTeX.[Ch]: inherit privately from noncopyable
14862 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14863 instead of WriteStatus.
14865 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14867 * BufferView_pimpl.C (buffer): don't init minibuffer
14868 (workAreaButtonPress): use LFUN_MESSAGE
14869 (workAreaButtonRelease): ditto
14870 (savePosition): ditto
14871 (restorePosition): ditto
14872 (MenuInsertLyXFile): ditto
14873 (workAreaExpose): don't init minibuffer
14874 (update): remove commented code, simplify
14876 * BufferView2.C (openStuff): use LFUN_MESSAGE
14877 (toggleFloat): ditto
14880 (copyEnvironment): ditto
14881 (pasteEnvironment): ditto
14886 (updateInset): remove some commented code
14888 * lastfiles.h: inherit privately from noncopyable
14891 * lyx_main.h: ditto
14893 * lyxlex_pimpl.h: ditto
14895 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14896 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14897 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14899 * LyXAction.h: inherit privately from noncopyable, add methods
14900 func_begin, func_end, returning iterators to the func map.
14902 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14903 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14904 (func_begin): new method
14905 (func_end): new method
14907 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14909 (copySelection): ditto
14910 (pasteSelection): ditto
14912 * BufferView.C: whitespace change
14913 * BufferView.h: inherit privately from noncopyable
14915 2001-04-16 Allan Rae <rae@lyx.org>
14917 * tabular-old.C (l_getline):
14918 * spellchecker.C (sc_check_word):
14919 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14920 an unrecognised preprocessor directive. So ensure they're wrapped.
14922 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14924 * src/exporter.C (Export): Give an error message when path to file
14927 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14929 * LaTeX.C (deplog): Always check that foundfile exists.
14931 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14934 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14936 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14938 * tabular.[Ch] (getLabelList): implement new method
14940 * minibuffer.h: comment ouf setTiimer
14942 * minibuffer.C (ExecutingCB): constify res
14943 (peek_event): constify s
14944 (Set): constify ntext
14945 (Init): constify nicename
14947 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14949 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14950 (savePosition): use two params to Minibuffer::Set
14951 (restorePosition): ditto
14953 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14955 * lyx_main.C: include language.h
14957 * Makefile.am (lyx_main.o): add language.h
14959 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14965 * CutAndPaste.C: include gettext.h
14967 * lyxfont.h: remove old hack with ON and OFF.
14970 * lyxfont.h: do not include language.h...
14975 * bufferview_funcs.C:
14981 * paragraph.C: ... but do it here instead
14983 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14985 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14987 * tabular.C: small reformat
14989 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14992 (BreakParagraph): ditto
14993 (SetOnlyLayout): ditto
14996 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14999 * lastfiles.C: removed most using decl, add std:: where needed
15001 * buffer.C: ws changes
15003 * MenuBackend.C (class compare_format): put into anon namespace
15004 (expand): constify label, names, action, action2
15007 * text.C (SingleWidth): constify font
15008 (IsBoundary): constify rtl2
15009 (GetVisibleRow): constify ww
15011 * LaTeX.C (deplog): constify logfile
15013 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15015 (workAreaExpose): constify widthChange, heightChange
15017 * lyxrow.C (par): moved
15020 * lyxrow.h: as inlines here
15022 * lyxfont.h (shape): moved from lyxfont.C
15023 (emph): moved from lyxfont.C
15025 * lyxfont.C (LyXFont): use initialization list for all
15027 (shape): move to lyxfont.h as inline
15028 (emph): move to lyxfont.h as inline
15031 2001-04-04 Juergen Vigna <jug@sad.it>
15033 * vspace.C: had to include stdio.h for use of sscanf
15035 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15038 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15039 independent of xforms.
15041 2001-04-02 Juergen Vigna <jug@sad.it>
15043 * spellchecker.C: fixed namespace placing!
15045 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15047 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15048 the LyXParagraph * is 0.
15050 2001-03-29 Juergen Vigna <jug@sad.it>
15052 * vspace.C: added support for %, c%, p%, l%.
15053 (stringFromUnit): added helper function.
15054 (asLatexString): changed to give right results for the %-values.
15056 * buffer.C: convert the widthp in a width%.
15058 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15060 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15063 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15064 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15066 * lyx_cb.[Ch]: see above.
15068 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15072 * lyx.[Ch]: replaced by figure_form.[Ch].
15076 * lyxfunc.C: changed headers associated with above changes.
15078 2001-03-27 Juergen Vigna <jug@sad.it>
15080 * BufferView_pimpl.C: set the temporary cursor right!
15082 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15084 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15086 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15088 * LString.h: removed "using std::getline"!
15090 * BufferView_pimpl.C (Dispatch): changes due to changes in
15091 InsetInclude::Params.
15093 * buffer.C (tag_name): removed redundant break statements as they were
15094 producing lots of warnings with my compiler.
15096 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15098 * LString.h: add "using std::getline" when using the real <string>.
15100 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15102 * buffer.C: removed bitset usage.
15103 PAR_TAG moved to an anonymous name space.
15104 (tag_name): new funtion, also in the anonymous namespace.
15105 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15106 (makeDocBookFile): clean code. Completed transition from string arrays
15108 (SimpleDocBookOnePar): code clean.
15110 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15112 * tabular.C: add some comments.
15114 2001-03-22 Juergen Vigna <jug@sad.it>
15116 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15117 compatibility read a bit and fixed bug with minipage in different
15120 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15122 * buffer.C (pop_tag): removed.
15123 (push_tag): removed.
15124 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15125 array replaced with vector. Added support for CDATA sections.
15126 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15128 (makeDocBookFile): XML conformant declaration of CDATA section,
15129 fixed bug related to <emphasis> in the first paragraph char.
15130 (sgmlOpenTag): exclude empty tags.
15131 (sgmlCloseTag): ditto.
15133 * buffer.h (pop_tag): removed.
15134 (push_tag): removed.
15136 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15138 * language.h (Languages): added size_type and size().
15140 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15142 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15143 response on compability reading of minipages. One probliem is that
15144 the old usage of minipages was «flertydig»
15146 * several files here and in subdirs: don't use static at file
15147 scope use anon namespaces instead.
15149 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15151 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15152 LaTeX output. This is necessary for Literate document
15155 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15157 * buffer.C: insert hfill when needed.
15159 * tabular.C (l_getline): use string::erase, small whitespace change.
15161 * BufferView_pimpl.C: try the anon namespace.
15162 * WorkArea.C: ditto
15164 2001-03-16 Juergen Vigna <jug@sad.it>
15166 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15167 otherwise it won't open options-dialogs.
15169 * buffer.C: honor pextraWidth(p) on converting minipages.
15171 * tabular.C (l_getline): changed the functions to strip trailing \r.
15173 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15175 * BufferView_pimpl.C:
15176 * minibuffer..C: added "using SigC::slot" declaration.
15178 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15180 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15186 * paragraph.C: ditto
15188 * lyxtext.h: NO_PEXTRA
15190 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15192 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15193 * ParameterStruct.h: ditto
15194 * ParagraphParameters.h: ditto
15195 * lyxparagraph.h: ditto
15197 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15199 * buffer.C: add compability for minipage alignment.
15200 (latexParagraphs): remove unwanted pextra check.
15202 * several files: remove CXX_WORKING_NAMESPACES
15204 * buffer.C (pop_tag): tie is in namespace boost
15206 * BufferView.h: noncopyable is in namespace boost
15208 * lyx_main.h: ditto
15211 * lastfiles.h: ditto
15212 * bufferlist.h: ditto
15213 * ShareContainer.h: ditto
15215 * LyXAction.h: ditto
15218 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15220 * Merging changes from BRANCH_MVC back into HEAD.
15222 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15224 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15226 * BufferView_pimpl.C: change from intl.C
15230 * Makefile.am: move combox.*
15236 * intl.C: remove dialog (covered by prefs)
15238 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15240 * lyxfunc.C (Dispatch): removed redundant break statement.
15242 2001-03-14 Juergen Vigna <jug@sad.it>
15244 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15246 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15248 * buffer.C: add hack to fix compability reading of minipages.
15250 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15252 * buffer.C (getLists): Cleanup.
15254 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15256 * lyxfont.C (update): don't honor toggleall on font size.
15258 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15262 * Makefile.am: moved to frontends/xforms/
15266 * BufferView_pimpl.C: changes for moved mathpanel
15268 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15270 * gettext.h: fix gettext_init() in --disable-nls
15272 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15274 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15276 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15279 * lyx.h: strip external form
15281 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15283 * BufferView_pimpl.C: add comment, destroySplash()
15285 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15287 * BufferView_pimpl.C:
15291 * lyxfunc.C: use re-worked insetinclude
15293 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15295 * buffer.C: add using std::stringstream.
15297 * lyx_cb.C: readd using std::ios.
15299 * buffer.C: add using std::map.
15301 * BufferView_pimpl.C: add using std::vector.
15303 * ShareContainer.h: add std:: to swap.
15305 * buffer.h: add some typedefs
15306 * buffer.C (getLists): use them
15307 (getLists): renamed from getTocList.
15308 add a counter for the different float types and use it in the
15310 (getLists): use the same counter for the NEW_INSETS and the "non"
15313 * lyx_cb.h: remove unused items, includes, using etc.
15315 * ShareContainer.h: remove some commented code, add more comments
15316 and "documentation".
15318 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15320 * buffer.C (getTocList): make the list also when NEW_INSETS is
15323 * buffer.h: remove TocType
15325 * buffer.C (getTocList): change to return a map<string,
15326 vector<TocItem> >, implement for dynamic number of list.
15328 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15329 * text2.C (PasteSelection): adjust
15330 * CutAndPaste.C (pasteSelection): adjust
15332 * FloatList.C (FloatList): update from the new_insets branch.
15333 * Floating.[Ch]: ditto
15334 * LaTeXFeatures.C: ditto
15336 * lyxlex_pimpl.C: ditto
15338 * paragraph.C (Last): remove when NEW_INSETS is defined.
15340 * other file: changes because of the above.
15342 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15344 * lyxparagraph.h: rename next to next_, previous to previous_,
15345 make them private for NEW_INSETS. Rename Next() to next(),
15346 Previous() to previous().
15348 * other files: changes because of the above.
15350 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15353 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15356 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15358 * main.C (main): pass lyx_localedir to gettext_init().
15360 * gettext.h: remove locale_init and gettext_init macros
15362 * gettext.C (locale_init): new function
15363 (gettext_init): new function
15365 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15368 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15370 * Moved credits to frontends:
15371 * credits.[Ch]: removed
15372 * credits_form.[Ch]: removed
15373 * lyx_gui_misc.C: remove credits stuff
15376 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15378 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15380 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15381 unneeded destructor.
15383 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15384 a standalone pointer again.
15386 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15388 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15394 * ToolbarDefaults.C:
15403 * BufferView_pimpl.C: use new file dialog in GUII
15406 * lyx_cb.C: remove LayoutsCB to Toolbar
15408 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15410 * ShareContainer.h (get): add std:: qualifier
15412 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15414 * ShareContainer.h: define a proper ShareContainer::value_type
15415 type (and use typename to please compaq cxx)
15417 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15419 * lyxparagraph.h: move serveral local vars to
15420 ParameterStruct/ParagraphParameters., use ShareContainer in
15421 FontTable., make vars in FontTable private and add getter and
15424 * paragraph.C: changes because of the above.
15426 * lyxfont.h: remove copy constructor and copy assignment. (the
15427 default ones is ok), move number inside FontBits. move inlines to
15430 * lyxfont.C: add number to initializaton of statics, move several
15431 inlines here. constify several local vars. some whitespace
15432 cleanup. Dont hide outerscope variables.
15434 * Spacing.h: add two new constructors to match the set methods.
15436 * ShareContainer.h: new file, will perhaps be moved to support
15438 * ParameterStruct.h: new file
15440 * ParagraphParameters.h: new file
15442 * ParagraphParameters.C: new file
15444 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15445 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15447 * BufferView_pimpl.C: ParagraphParameter changes.
15448 * buffer.C: Likewise.
15449 * bufferview_funcs.C: Likewise.
15450 * text.C: Likewise.
15451 * text2.C: Likewise.
15453 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15455 * lyxfind.C (LyXReplace): do not redefine default argument in
15457 (IsStringInText): ditto
15458 (SearchForward): ditto
15459 (SearchBackward): ditto
15461 2001-03-06 Juergen Vigna <jug@sad.it>
15463 * lyxfind.C (IsStringInText): put parentes around expressions.
15465 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15467 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15469 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15471 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15473 * stl_string_fwd.h: add comment
15475 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15478 * tabular.C: remove unused DocBook methods
15484 killed DO_USE_DEFAULT_LANGUAGE
15486 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15488 * lyx_gui.C: do not include language.h.
15490 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15491 arguments in function implementation.
15493 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15495 * BufferView_pimpl.C: add <ctime>
15497 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15499 * BufferView_pimpl.C: add using std::find_if
15501 2001-02-27 José Matos <jamatos@fep.up.pt>
15503 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15506 2001-02-11 José Matos <jamatos@fep.up.pt>
15508 * buffer.C (makeDocBookFile): command styles now have a parameter as
15509 "title" by default.
15511 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15513 * layout_forms.[Ch]: removed
15514 * lyx_cb.[Ch]: out character
15515 * lyx_gui.C: out character
15516 * lyx_gui_misc.C: out character
15517 * bufferview_funcs.C: : out character,
15518 added toggleall as parameter in ToggleAndShow
15520 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15522 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15524 * text2.C (SetCurrentFont): Disable number property at boundary.
15526 2001-02-26 Juergen Vigna <jug@sad.it>
15528 * lyxfunc.C (getStatus): added a string argument override function so
15529 that this is correctly called from LyXFunc::Dispatch if it contains a
15530 do_not_use_argument which is used!
15531 (Dispatch): added check for "custom" export and call appropriate func.
15533 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15535 * lyxrc.C: Add language_command_local, language_use_babel and
15536 language_global_options.
15538 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15540 * buffer.C (makeLaTeXFile): Use language_use_babel and
15541 language_global_options.
15543 2001-02-23 Juergen Vigna <jug@sad.it>
15545 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15546 which works with LyXText and putted it inside BufferView. Here now we
15547 only call for that part the BufferView::Dispatch() function.
15549 * BufferView.C (Dispatch): added.
15551 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15552 functions which needs to use a LyXText over from LyXFunc.
15553 (MenuInsertLyXFile): added
15554 (getInsetByCode): added
15555 (moveCursorUpdate): added
15556 (static TEXT): added
15558 2001-02-22 Juergen Vigna <jug@sad.it>
15560 * BufferView_pimpl.C (update): call a status update to see if LyXText
15563 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15565 * vc-backend.C (revert): implement for CVS
15566 (getLog): implement for CVS
15568 2001-02-20 Juergen Vigna <jug@sad.it>
15570 * text2.C (ClearSelection): added BufferView param for inset_owner call
15572 * lyxfunc.C (TEXT): added this function and use it instead of
15573 directly owner->view()-text of getLyXText().
15575 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15577 * src/layout_forms.C: out preamble
15578 * src/layout_forms.h: out preamble
15579 * src/lyx_cb.C: out preamble
15580 * src/lyx_cb.h: out preamble
15581 * src/lyx_gui.C: out preamble
15582 * src/lyx_gui_misc.C: out preamble
15583 * src/lyxfunc.C: connect with guii preamble
15585 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15587 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15589 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15591 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15592 whether to run bibtex.
15594 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15596 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15598 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15600 * Makefile.am (lyx_SOURCES): removed bibforms.h
15602 * vspace.h: doxygen
15604 * text.C (GetVisibleRow): make several local vars const
15606 * tabular.C: small cleanup.
15608 * lyxserver.C (callback): use compare instead of strncmp
15610 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15611 inlines to after class or to paragraph.C
15613 * lyxfont.h: remove friend operator!=
15615 * converter.h: move friend bool operator< to non friend and after
15618 * combox.h: small cleanup
15620 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15621 to inlines after class def.
15623 * buffer.C (pop_tag): use string operations instead of strcmp
15625 * bmtable.c: doxygen, small cleanup
15627 * LaTeX.h: remove friend operator==
15629 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15641 * BufferView_pimpl.C:
15642 * BufferView.[Ch]: remove cruft
15644 2001-02-14 Juergen Vigna <jug@sad.it>
15646 * lyxfunc.C: removed #if 0 unused code
15648 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15650 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15652 * text2.C (SetSelection): added a BufferView * parameter
15654 2001-02-13 Juergen Vigna <jug@sad.it>
15656 * lyxfunc.C (Dispatch): fixed protected blank problem.
15657 * BufferView2.C (protectedBlank): added LyxText * parameter.
15659 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15660 (AppendColumn): same as above for column_info.
15662 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15663 (moveCursorUpdate): use a LyXText param for support of InsetText.
15665 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15666 (tripleClick): ditto
15668 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15670 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15672 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15674 * text2.C (SetSelection): set correct update status if inset_owner
15675 (ToggleFree): ditto
15677 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15679 * tabular.C: remove some commented code.
15681 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15683 * BufferView_pimpl.C: call hideSplash()
15685 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15688 * bibforms.h: remove
15691 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15692 add LFUN_CHILD_CREATE
15694 * counters.h: fix tiny typo
15699 * lyx.C: move splash to frontends/xforms/
15701 * lyx_gui_misc.C: move Include and Bibform to frontends
15703 * lyxvc.h: clarify comment
15705 * vspace.C: tiny housekeeping
15707 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15709 * text.C (PrepareToPrint): RTL Fix.
15711 * paragraph.C (GetUChar): New method.
15712 (String): Use GetUChar.
15714 * buffer.C (asciiParagraph): Use GetUChar.
15716 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15718 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15720 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15723 * buffer.C: rename to getLogName(), handle
15724 build log / latex log nicely
15726 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15729 * MenuBackend.h: remove support for reference menuitem type.
15731 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15733 * BufferView_pimpl.C: housekeeping
15734 * BufferView_pimpl.h:
15739 * minibuffer.h: move Timeout GUI-I
15741 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15743 * lyxrc.C (read): Update converters data-structures.
15745 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15747 * LaTeX.h (operator!=): add operator != for Aux_Info
15749 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15751 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15753 * LaTeXLog.C: deleted, useful code moved to Buffer
15756 * buffer.C: new function getLatexLogName()
15762 * lyxfunc.C: use frontends for LaTeX and VC logs
15764 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15766 * LaTeX.h: yet another std:: that Allan forgot.
15768 * Variables.C (set): renamed from isset(), because this clashes
15769 with some HP-UX macros (grr).
15771 2001-02-06 Allan Rae <rae@lyx.org>
15773 * LaTeX.h: Another bug fix. Missing std:: this time.
15775 2001-02-04 Allan Rae <rae@lyx.org>
15777 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15778 floats problem. I've left it commented out because it's not quite
15779 correct. It should also test that the current object is a table or
15780 figure inset. But I haven't gotten around to figuring out how to do
15781 that. I *think* it'll be something like: "table" == inset.type()
15783 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15786 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15788 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15789 all the citation/databases/styles in the auxilary file.
15790 (run): Rerun latex if there was a babel language error.
15792 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15794 * text.C (Backspace): Preserve the font when changing newline char
15796 (BreakParagraph): If the cursor is before a space, delete the space.
15798 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15800 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15802 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15803 new argument (code).
15804 (ChangeCitationsIfUnique): New method.
15806 * paragraph.C (GetPositionOfInset): Handle bibkey.
15808 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15810 * BufferView_pimpl.h: change type of Position::par_pos to
15811 LyXParagraph::size_type.
15813 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15815 * BufferView_pimpl.C (savePosition, restorePosition): Write
15816 messages to minibuffer.
15818 2001-01-28 José Matos <jamatos@fep.up.pt>
15820 * buffer.C (makeDocBookFile): adds support for document language.
15821 A silly restriction on the name of LatexCommand types where removed.
15822 Added support for CDATA sections, allows to chars unescaped, used
15823 among others in code, to avoid escape < and >.
15825 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15827 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15828 saved positions instrad of a stack. Furthermore, a position is
15829 stored using paragraph id/paragraph position.
15831 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15832 Remove LFUN_REF_BACK.
15834 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15836 * converter.C (dvipdfm_options): New method.
15838 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15840 * vspace.C (isValidLength): Fix for empty input string.
15842 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15844 * LyXAction.C (init): change description of LFUN_FIGURE to
15847 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15849 * LaTeX.C: add using directive
15851 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15853 * MenuBackend.C (expand): Fix the sorting of the formats.
15855 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15857 * lyx_main.C: tiny error message fix
15859 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15861 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15862 calling fl_initialize(). This fixes the problem with ',' as
15863 decimal separator in text files.
15865 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15867 * trans.C (process): Fix the keymap bug.
15869 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15871 * LaTeX.C (scanAuxFiles): New method. Provides support for
15872 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15873 (scanLogFile) Scan for "run BibTeX" messages.
15875 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15876 OT1 font encoding. Also, load the aecompl package if the ae
15879 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15881 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15883 * texrow.C (increasePos): turn two error messages into debug
15886 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15888 * LaTeX.C (scanAux): Handle the \@input macro.
15889 (runBibTeX): Use scanAux().
15891 * language.C (latex_options_): New field.
15893 * LaTeXFeatures.C (getMacros): Add language macros.
15895 * buffer.C (makeLaTeXFile): Small fix.
15897 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15899 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15901 * text2.C: add a using directive.
15903 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15908 * lyxfunc.C: kill LyXBell.
15910 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15912 * text.C (IsBoundary): Remove the error message
15914 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15916 * lyxrc.C (setDefaults): Correct initialization value for
15919 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15921 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15924 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15925 and GotoNextNote().
15927 * src/LyXAction.C: Added reference-next.
15929 * text.C (InsertChar): Use contains instead of strchr.
15931 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15933 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15935 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15936 alignment commands (when needed).
15938 * text.C (InsertChar): Add ':' to number separator chars.