1 2004-08-14 André Pönitz <poenitz@gmx.net>
6 * lyxtext.h (several functions): use a Paragraph & argument
9 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11 * metricsinfo.h: add a new field ltr_pos to PainterInfo
13 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
15 * text.C (singleWidth): remove useless test
17 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
19 * tabular.h: remove bogus comments
21 * tabular.C (getDescentOfRow):
22 (isPartOfMultiColumn): add assertions
24 * lyxlength.C (inPixels): remove #warning
26 2004-08-14 André Pönitz <poenitz@gmx.net>
28 * paragraph.h: inline getChar()
30 * BufferView.h: remove unused declarations
32 2004-08-14 José Matos <jamatos@lyx.org>
34 * Buffer.[Ch] (readDocument): new name for old readBody.
35 * Buffer.C: new file format, new keywords: \begin_document,
36 \begin_header, \begin_body, \end_body.
38 * bufferparams.C (readToken): replace all calls to lex.nextToken
39 by lex.next(). Do the same to eatLine except where really needed.
41 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
42 line when writing to the lyx file.
44 * output_plaintext.C (asciiParagraph): fix Bibliography style
47 * text.C (read): fix end of file handling.
49 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
51 * MenuBackend.C (Menu::operator[]): new method to access
53 (Menu::hasFunc): new method. search for an item that corresponds
55 (MenuBackend::specialMenu): new method
56 (MenuBackend::expand): if a special menu has been set, skip
57 entries whose func() appears in this menu
59 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
61 * text3.C: use Debug::DEBUG a bit more
63 * text.C (leftMargin): try to simplify a tiny bit change var x to
64 l_margin. Dont output the wide margins always.
65 (rightMargin): no margin in inner texts
67 * rowpainter.h (nestMargin): new func
68 (changebarMargin): new func
69 (rightMargin): new func
71 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
75 * factory.C (createInset): modify setDrawFrame
77 * cursor.C: use Debug::DEBUG a bit more
79 2004-08-14 André Pönitz <poenitz@gmx.net>
82 * Makefile.am: new files to accomodate an 'external' (x,y)-position
83 cache for all insets in (at least partially) visible (top-level)
86 * BufferView_pimpl.C: reset external coord cache before every update.
87 This means the coord cache only contains valid entries.
89 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
92 * BufferView_pimpl.C (getInsetByCode): move function out of class
93 and change in to a template in anon namespace. Also fix to do what
96 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
99 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
101 (breakParagraph): rename par to par_offset and use a local
102 reference. Add code to keep the language over a rebreak.
103 (breakParagraphConservative): rename par to par_offset, use a
105 (mergeParagraph): ditto
107 (isFirstInSequence): ditto
108 (outerFont): rename pit to par_offset
110 * paragraph.C: ws change
115 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
117 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
120 * paragraph.C (simpleTeXOnePar): when we have a \item with
121 optional argument, enclose the argument with curly brackets (in
122 case it contains a closing square bracket)
126 * text3.C (checkInsetHit): constify
128 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
130 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
133 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
135 Fix toggling of collapsable insets with the mouse (bug 1558)
137 * lyxfunc.C (dispatch): adapt to LCursor changes
139 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
140 make sure that dispatch is not invoked twice
142 * cursor.C (needsUpdate): new method
143 (dispatch): return void
144 (result): new method, to access the DispatchResult of the cursor.
146 2004-08-13 José Matos <jamatos@lyx.org>
148 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
150 2004-08-13 André Pönitz <poenitz@gmx.net>
152 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
154 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
157 2004-08-12 André Pönitz <poenitz@gmx.net>
159 * text3.C: take out the 'cursor right' form insertInset and only
160 do it in those places when it is really needed. Fixes crash on
163 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
165 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
167 * BufferView_pimpl.C (setBuffer): initialize the current font of
168 the underlying LyXText
170 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
172 * kbsequence.C (print): use UI native formatting for menu
175 * text.C (insertChar): call Paragraph::insertChar with a font
178 * paragraph.C (insertInset, insertChar): the version that takes a
179 LyXFont argument is now a wrapper around the other one (the
180 opposite used to be true).
182 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
183 argument. Font setting is done in Paragraph now.
185 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
187 * outputparams.h: add new members intitle and lang.
189 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
190 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
192 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
194 * text3.C (dispatch): remove special handling of button 4 and 5,
195 it is now taken care of in the frontend code.
197 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
199 * Spacing.h: add <string> (STLPort compile fix)
201 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
203 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
205 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
207 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
210 * converter.C (showMessage): inherit from unary_function, make
213 * buffer.C (writeFile): initialize retval
215 * InsetList.h: rename private variable list to list_
216 * InsetList.[Ch]: adjust accordingly.
218 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
220 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
221 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
222 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
223 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
224 * ParagraphParameters.C, LaTeXFeatures.C: replace
225 "support/std_sstream.h" with <sstream>
227 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
229 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
230 * lyxsocket.C (LyXServerSocket): ditto
231 (serverCallback): ditto
233 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
235 * LaTeXFeatures.C: check release date when loading jurabib.
237 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
239 * lyxserver.C (startPipe): call register_socket_callback
240 (endPipe): call unregister_socket_callback
242 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
244 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
245 (LyXServerSocket): register the callback
246 (LyXServerSocket): unregister the callback
247 (fd): delete function
248 (serverCallback): improve error checking and setup the callbacks.
249 (dataCallback): change arg to fd.
250 (writeln): new func (copied fro the client socket) used for server
252 (LyXDataSocket): simplify
253 (~LyXDataSocket): close ann unregiser callback
254 (server): delete function
255 (fd): delete function
256 (readln): small changes, improve some std::string usage
257 (writeln): constify a bit
259 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
261 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
264 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
266 * BufferView_pimpl.C (setBuffer): set the layout combox value only
267 after it has been populated
269 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
271 * text2.C (insertInset): move cursor when inserting inset.
273 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
275 * kbmap.C (findbindings): a couple of new methods. returns a
276 container of kb_sequence objects. The real work is done by the
277 private recursive version
278 (printbindings): uses findbindings to print out a bracketed list
279 of bindings (renamed from findbinding).
281 * MenuBackend.C (binding): use kb_keymap::findbindings
283 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
285 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
287 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
289 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
291 * paragraph.C (isWord): return true on insets that report
294 * text.C (getWord): use Paragraph::isWord to decide what is in a
295 word and what is not; fix bug 1609.
297 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
299 * tex-strings.C: add "none" to string_paperpackages[], fixes
300 off-by-one-error in the paperpackage selection.
303 * tex-strings.[Ch]: char const * string[n]
304 -> char const * const string[]
306 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
308 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
309 command, return early.
311 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
313 * debug.h: add DEBUG to enum and fix size of ANY.
315 * debug.C: add support for Debug::DEBUG
316 (showTags): cast errorTags.level to unsigned int
318 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
319 (redoCurrentBuffer): ditto
320 (updateScrollbar): ditto
321 * cursor.C (dispatch): ditto
322 * text2.C (setLayout): ditto
324 (updateCounters): ditto
326 (deleteEmptyParagraphMechanism): ditto
328 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
330 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
331 annotations to cleanup the Makefile slightly.
333 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
335 * lyxrc.C: do not set user_email to a default value but use empty
336 instead. The entry used to be translated, which does not work
337 since at the point where lyxrc is constructed there is no
338 translation service available
340 * messages.C (getLocaleDir): remove and use directly
341 lyx_localedir() instead
343 2004-06-02 Angus Leeming <leeming@lyx.org>
345 Fix crash caused by dereferencing null pointer 'exportdata' in
346 OutputParams by creating a new ExportData variable on the heap,
347 storing it in a boost::shared_ptr.
348 The crash was triggered when generating an Instant Preview
349 of an external inset.
351 * Makefile.am: add outputparams.C
353 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
354 (c-tor): allocate memory to it.
356 * exporter.C (c-tor): associated changes.
358 2004-06-01 Angus Leeming <leeming@lyx.org>
360 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
361 contains data before calling isInset(0). (Bug 1513.)
363 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
365 * exporter.C (checkOverwrite): new method
366 * exporter.C (copyFile): new method
367 * exporter.C (Export): copy referenced files to the document dir
368 * exporter.[Ch]: new class ExportedFile
369 * exporter.[Ch]: new class ExportData. Contains currently the
370 names of referenced external files
371 * outputparams.h: add exportdata member.
373 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
375 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
378 2004-05-19 Angus Leeming <leeming@lyx.org>
383 * lyxfunc.C: small changes due to the introduction of namespace
384 lyx::frontend and the moving of namespace biblio to lyx::biblio.
386 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
388 * text3.C (dispatch): supress update when only moving the cursor
389 * cursor.C (selHandle): remove commented code
391 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
393 * paragraph.C (startTeXParParams): correct column count
394 * CutAndPaste.C (pasteSelection): remove const_cast
395 * output_docbook.C (docbookParagraphs): remove const_cast
396 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
397 const_cast and return ParagraphList::const_iterator
398 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
399 * output_plaintext.C (writeFileAscii): remove const_cast
400 * paragraph.[Ch] (simpleTeXOnePar): make const
401 * paragraph_funcs.C (outerPar): use const iterators
402 * paragraph_pimpl.C (validate): use const iterators
403 * text.C (setHeightOfRow): use const iterators
405 2004-05-17 Angus Leeming <leeming@lyx.org>
408 * LyXAction.C (init): new LFUN_INSET_REFRESH.
410 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
411 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
412 if the citation engine has changed.
414 2004-05-14 José Matos <jamatos@lyx.org>
416 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
417 if the textclass does not provide it. Have it different for sgml and
419 support the language of document.
420 * output_docbook.C (docbookParagraphs):
421 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
422 first anchor as the id of the paragraph, remove special case code.
423 * sgml.C (escapeChar): escape only < & >.
425 2004-05-14 Angus Leeming <leeming@lyx.org>
427 * bufferparams.h: move biblio::CiteEngine enum here to minimize
428 dependencies on src/frontends/controllers/biblio.h. Define a
429 CiteEngine_enum wrapper class to enable the enum to be forward
432 2004-05-12 Angus Leeming <leeming@lyx.org>
434 * buffer.C: up LYX_FORMAT to 234.
435 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
436 use_numerical_citations with a single biblio::CiteEngine cite_engine
438 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
440 2004-05-13 José Matos <jamatos@lyx.org>
443 * converter.C (Converter, readFlags): add xml member.
444 * outputparams.h: add XML flavor.
445 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
447 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
449 * lyxfunc.C (dispatch):
450 (getStatus): fix handling of LFUN_SEQUENCE
452 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
454 * debug.C (showLevel): do not forget the end-of-line marker
456 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
458 * kbmap.C (read): do not stop parsing a bind file when an error
461 2004-04-29 Angus Leeming <leeming@lyx.org>
466 * text2.C: wrap a bunch of #warning statements
467 inside #ifdef WITH_WARNINGS blocks.
469 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
471 * buffer.C: increment format to 233.
473 2004-04-28 Angus Leeming <leeming@lyx.org>
475 * BufferView_pimpl.C:
478 s/updateToolbar()/updateToolbars()/
479 s/Toolbar.h/Toolbars.h/
481 2004-04-28 Angus Leeming <leeming@lyx.org>
483 * BufferView.[Ch] (c-tor):
484 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
485 No longer passes these data to the WorkArea generator.
487 2004-04-28 Angus Leeming <leeming@lyx.org>
489 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
491 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
493 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
495 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
497 * output_latex.C (TeXEnvironment): make sure that there is a line
498 break before \end{foo} for the last paragraph of a document
499 (TeXOnePar): if the paragraph is at the end of the document (or
500 inset) and the language has to be reset, then make sure that the
501 line break is _before_ the language command, not after (fixes bug
502 1225); also make sure that the language reset command is the first
503 thing after the paragraph (to ensure proper nesting of
504 environments and thus fix bug 1404)
506 2004-04-21 John Levon <levon@movementarian.org>
509 * ToolbarBackend.C: make "name" be a programmatic name
510 and a gui_name field.
512 * lyxfunc.C: display the minibuffer on M-x
514 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
516 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
519 2004-04-19 Angus Leeming <leeming@lyx.org>
521 * BufferView_pimpl.C (setBuffer): changed preview interface.
523 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
526 2004-04-19 John Levon <levon@movementarian.org>
528 * BufferView_pimpl.C:
529 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
531 2004-04-05 Angus Leeming <leeming@lyx.org>
533 * text.C (redoParagraphs): add call to updateCounters(), thereby
534 fixing the missing "Figure #:" label from the caption of a
537 2004-04-13 Angus Leeming <leeming@lyx.org>
539 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
540 cursor is clicked out of an inset.
542 2004-04-13 Angus Leeming <leeming@lyx.org>
544 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
545 than an InsetOld one.
547 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
549 * format.[Ch]: add editor to Format
550 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
551 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
553 2004-04-08 André Pönitz <poenitz@gmx.net>
555 * metricsinfo.h: remove PainterInfo::width member
557 2004-04-08 Angus Leeming <leeming@lyx.org>
559 * lyx_sty.C (boldsymbol_def): modify so that it outputs
560 "\providecommand" rather than "\newcommand", thereby preventing
561 clashes with packages that define "\boldsymbol" themselves.
564 2004-04-08 Angus Leeming <leeming@lyx.org>
566 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
567 thereby squashing an unnecessary warning.
569 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
571 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
574 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
576 * BufferView.C (setCursor): call redoParagraph (some insets could
578 (putSelectionAt): remove the 'double update' trick
580 * BufferView_pimpl.C (fitCursor): call refreshPar
581 (workAreaDispatch): remove an uneeded update call
582 (dispatch): remove some manual update calls
584 * cursor.[Ch]: remove cached_y_, updatePos
585 (selHandle): set noUpdate when appropriate
587 * lyxfunc.C (dispatch): track if we need an update
589 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
591 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
592 (paintSelection): cheap optimization, do not call cursorX when not
594 (paintPars): change signature
597 (paintTextInset): adjust
601 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
603 * lengthcommon.C: compilation fix: remove explicit array size from
604 unit_name[] and friends
606 2004-04-05 Angus Leeming <leeming@lyx.org>
608 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
610 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
611 present only for the preferences dialog.
612 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
614 2004-04-05 Angus Leeming <leeming@lyx.org>
616 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
617 to enable the frontends to export changes to lyxrc correctly.
619 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
621 2004-04-07 André Pönitz <poenitz@gmx.net>
623 * cursor.[Ch] (selClear, adjust): remove math
625 * cursor_slice.C: more agressive assert
628 * BufferView_pimpl.C: rework mouse event dispatch
635 2004-04-05 André Pönitz <poenitz@gmx.net>
637 * cursor.[Ch] (valign, halign...): remove unneeded functions
639 2004-04-05 Angus Leeming <leeming@lyx.org>
641 * lyxlength.[Ch] (unit_name et al.): const-correct.
643 2004-04-05 Angus Leeming <leeming@lyx.org>
645 * BufferView_pimpl.C:
654 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
656 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
658 * text3.C (getStatus): add LFUN_BEGINNINGBUF
660 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
662 * lyxfind.C: add a couple of inTexted() tests + other small fixes
663 * BufferView_pimpl.[Ch] (getStatus)
664 * BufferView.[Ch] (getStatus): add
665 * lyxfunc.C (getStatus): move lfuns handled in
666 BufferView::dispatch to te function above
667 * Cursor.C (setSelection): set selection() = true
669 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
671 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
673 2004-03-31 Angus Leeming <leeming@lyx.org>
675 * lyxfunc.C (dispatch): Fall through to the generic
676 Dialogs::show("preamble").
678 2004-03-31 Angus Leeming <leeming@lyx.org>
680 * lyxfunc.C (dispatch): Fall through to the generic
681 Dialogs::show("spellchecker").
683 2004-03-31 Angus Leeming <leeming@lyx.org>
685 * lyxfunc.C (getStatus, dispatch): changed invocation of the
688 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
693 * insetiterator.[Ch]:
698 * undo.[Ch]: s/DocumentIterator/DocIterator/g
700 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
702 * BufferView.C (setCursor, putSelectionAt): call edit to open the
703 insets where we are putting the cursor.
705 2004-03-31 Angus Leeming <leeming@lyx.org>
708 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
710 * lyxrc.[Ch] (read, write): overloaded member functions taking
711 a std::[io]stream arguments.
713 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
715 2004-03-31 Angus Leeming <leeming@lyx.org>
717 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
718 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
720 * lyxtextclass.C (load): if the text class couldn't be loaded, then
721 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
723 2004-03-31 Angus Leeming <leeming@lyx.org>
725 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
726 the LFUN_ALL_INSETS_TOGGLE code.
728 2004-03-30 Angus Leeming <leeming@lyx.org>
730 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
731 has died. Fall through to the generic Dialogs::show("document").
733 2004-03-30 Angus Leeming <leeming@lyx.org>
736 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
737 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
739 * lyxfunc.C (getStatus, dispatch): define the actions for these
740 lfuns. Little more than a cut and pste job from ControlDocument.C
742 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
744 2004-03-30 Angus Leeming <leeming@lyx.org>
747 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
748 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
750 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
751 open/closed state of ollapsable insets. Usage:
753 all-inset-toggle <state> <name>, where
754 <state> == "open" || "closed" || "toggle" and
755 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
757 * lyxtext.h, text2.C (toggleInset): removed.
759 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
760 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
761 now passes LFUN_INSET_TOGGLE to the found inset.
763 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
764 is now invoked as "all-insets-toggle toggle branch".
766 2004-03-30 Angus Leeming <leeming@lyx.org>
770 * pariterator.[Ch]: added/corrected header blurb.
772 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
774 * dociterator.[Ch]: add an inset_ member
775 (backwardPos): implemented
776 (backwardPos, forwardPos): use inset_ when the stack is empty.
777 (doc_iterator_begin, doc_iterator_end): implemented
778 * pariterator.[Ch]: adjust, add begin, end
779 * insetiterator.[Ch]: adjust, add begin, end
783 * BufferView_pimpl.C:
784 * CutAndPaste.C: adjust
786 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
788 * buffer.C: increment file format to 232.
789 * LaTeXFeatures.C: add bibtopic package.
790 * bufferparams.[Ch]: param \use_bibtopic.
792 * lyxrc.[Ch]: add lyxrc bibtex_command
793 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
795 * buffer.C: increment file format to 231.
797 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
799 * dociterator.C: implement forwardPar
800 * iterators.[Ch]: remove, replaced by
801 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
803 * BufferView_pimpl.C:
806 * bufferview_funcs.C:
812 * Makefile.am: adjust
814 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
816 * CutAndPaste.C (pasteSelection): fix 2 crashes
817 (eraseSelection): fix a crash
818 * paragraph_funcs.C: remove a warning
820 2004-03-28 Angus Leeming <leeming@lyx.org>
823 * LyXAction.C (init): new LFUN_PRINT.
825 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
827 2004-03-27 Angus Leeming <leeming@lyx.org>
830 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
832 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
834 2004-03-27 Angus Leeming <leeming@lyx.org>
836 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
837 insetlist always contains non-null pointers to insets.
839 2004-03-26 Angus Leeming <leeming@lyx.org>
841 * src/BufferView_pimpl.C:
845 * src/output_plaintext.C:
846 * src/outputparams.h:
847 * src/paragraph_funcs.C:
851 * src/frontends/controllers/ControlErrorList.C:
852 * src/frontends/gtk/FileDialogPrivate.C:
853 * src/frontends/gtk/GPainter.C:
854 * src/frontends/gtk/GToolbar.C:
855 * src/frontends/qt2/QRef.C:
856 * src/mathed/math_scriptinset.C: squash compiler warnings.
858 2004-03-26 Angus Leeming <leeming@lyx.org>
860 * ispell.C (LaunchIspell::start):
861 * lyx_cb.C (AutoSaveBuffer::start):
862 invoke run(DontWait) rather than runNonBlocking().
864 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
866 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
868 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
870 * kbsequence.C (print): adjust
872 * kbmap.C (printKeySym): rename and change signature
873 (printKey): use LyXKeySym::print()
875 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
877 * undo.C: add using std::advance to compile for stlport
879 2004-03-24 Angus Leeming <leeming@lyx.org>
881 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
882 it leads to a crash when no buffer is present.
884 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
885 Martin Vermeer <martin.vermeer@hut.fi>
887 * lyxfunc.C (dispatch):
888 * bufferparams.C (readToken): use the new LColor::setColor
890 * LColor.[Ch] (setColor): new version that takes two strings as
891 argument and creates a new color entry if necessary
893 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
895 * buffer.C (makeLaTeXFile): if the main latex file that is
896 processed is usually a subdocument of some master, then pretend
897 for a while that it is actually the master
899 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
901 * buffer.C (getLabelList):
902 (getBibkeyList): use getMasterBuffer()
903 (getMasterBuffer): new method. Returns the main document in the
904 case where one is using included documents.
906 2004-03-25 André Pönitz <poenitz@gmx.net>
910 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
912 * ParagraphList_fwd.h: change ParagraphList to a std::vector
914 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
915 text*.C over here. Rename namespace CutAndPaste to lyx::cap
917 * ParameterStruct.h: merge with ParagraphParameters
919 * lyxtext.h: remove LyXText::parOffset() and getPar()
921 * text3.C: Remove all 'manual' update calls. We do now one per user
922 interaction which is completely sufficient.
926 * BufferView_pimpl.C:
929 * ParagraphParameters.[Ch]:
941 * output_docbook.[Ch]:
943 * output_linuxdoc.[Ch]:
944 * output_plaintext.[Ch]:
946 * paragraph_funcs.[Ch]:
947 * paragraph_pimpl.[Ch]:
955 * frontends/controllers/ControlDocument.C:
956 * frontends/controllers/ControlErrorList.C:
957 * frontends/controllers/ControlSpellchecker.C:
960 * insets/insetbase.h:
961 * insets/insetbibitem.C:
963 * insets/insetbranch.C:
964 * insets/insetcaption.C:
965 * insets/insetcharstyle.C:
966 * insets/insetcharstyle.h:
967 * insets/insetcollapsable.C:
968 * insets/insetcollapsable.h:
970 * insets/insetfloat.C:
971 * insets/insetfoot.C:
972 * insets/insetmarginal.C:
973 * insets/insetnote.C:
974 * insets/insetoptarg.C:
975 * insets/insettabular.C:
976 * insets/insettext.C:
977 * insets/insettext.h:
978 * insets/insetwrap.C:
979 * mathed/math_mboxinset.C:
980 * mathed/math_nestinset.C:
981 * mathed/math_scriptinset.C:
982 * mathed/math_scriptinset.h:
985 2004-03-24 Angus Leeming <leeming@lyx.org>
987 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
988 deal with any child processes that have finished but are waiting to
989 communicate this fact to the rest of LyX.
991 2004-03-24 Angus Leeming <leeming@lyx.org>
993 64-bit compile fixes.
995 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
996 (c-tor): pass lyx::pos_types rather than ints.
998 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1001 * text.C (Delete): compile fix.
1002 (getPar): ensure that function declaration is the same as that in
1005 2004-03-23 Angus Leeming <leeming@lyx.org>
1007 * ispell.C (LaunchIspell):
1008 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1009 a boost::shred_ptr rather than a std::auto_ptr.
1011 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1013 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1014 handle LFUN_FILE_INSERT_*
1016 * lyxrc.C (setDefaults, getDescription, output, read):
1017 * lyxrc.h: remove ps_command
1019 2004-03-22 Angus Leeming <leeming@lyx.org>
1021 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1022 Ensure that error_handler is processed once only and that all data
1023 is saved before attempting to output any warning messages.
1025 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1027 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1029 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1031 2004-03-19 André Pönitz <poenitz@gmx.net>
1033 * cursor.[Ch] (reset): take main text inset as argument
1035 * BufferView: adjust
1036 * BufferView_pimpl.C: adjust
1038 * paragraph.[Ch]: fix completely broken operator=()
1040 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1042 * LColor.C (getFromLyXName): make sure that the color name is used
1045 2004-03-17 Angus Leeming <leeming@lyx.org>
1048 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1050 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1051 dialog and to kill a forked process.
1053 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1055 * text2.C (setCursorFromCoordinates): fix font problem
1057 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1059 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1060 bogus "rebuild cursor" code
1062 2004-03-11 André Pönitz <poenitz@gmx.net>
1064 * buffer.[Ch]: use InsetText instead of LyXText as container for
1067 * dociterator.[Ch]: drop the BufferView * member which is not needed
1068 anymore after the change to buffer.C
1070 * paragraph_funcs.C:
1074 * BufferView_pimpl.[Ch]:
1076 * cursor_slice.[Ch]: adjust
1078 * text3.C: fix bug in mathDispatch
1080 2004-03-08 André Pönitz <poenitz@gmx.net>
1082 * undo.[Ch]: use 'StableDocumentIterator' as base for
1085 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1088 * bufferparams.[Ch]: add jurabib support and param.
1090 * LaTeX.C: add FIXME/comment.
1092 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1094 * buffer.C: increment file format to 230.
1096 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1098 * cursor.C (dispatch): avoid infinite loops
1100 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1102 * rowpainter.C (paintSelection): fix x coordinates
1104 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1106 * text.C (rowBreakPoint): fix breaking before displayed insets
1108 2004-03-01 André Pönitz <poenitz@gmx.net>
1110 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1112 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1116 * BufferView_pimpl.C:
1124 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1130 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1131 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1133 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1135 * Bidi.[Ch] (computeTables): const correctness
1136 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1137 fill_hfill, fill_label_hfill and x from Row
1138 * lyxtext.h: prepareToPrint returns a RowMetrics
1139 * rowPainter.C: adjust
1140 * text.C (prepareToPrint): use width, not textWidth. adjust
1141 (redoParagraphInternal, cursorX): adjust
1142 * text2.C (getColumnNearX): adjust
1143 (init): put a default value to the top LyXText::width
1145 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1147 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1149 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1151 * lyxtext.h: add FontIterator class
1153 * text.C (FontIterator, operator*, operator->, operator++): add
1154 (rowBreakPoint, setRowWidth): adjust (fixing a
1157 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1159 * BufferView_pimpl.C (workAreaDispatch): allow also
1160 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1162 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1164 * text.C (rowBreakPoint): fix a bug showing with very large insets
1166 2004-02-25 André Pönitz <poenitz@gmx.net>
1169 * cursor.[Ch]: move some mathed specific code to mathed
1171 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1173 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1174 use_tempdir in preferences
1175 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1177 * lyx_main.C: ensure that tempdir is valid
1178 * lyxlex.h: correct typo
1179 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1180 * paragraph.[Ch] (isMultiLingual): make const
1181 * cursor.[Ch] (openable): make const
1183 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1185 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1187 2004-02-20 André Pönitz <poenitz@gmx.net>
1189 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1191 * cursor.[Ch]: prepare for localized getStatus()
1197 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1199 2004-02-20 André Pönitz <poenitz@gmx.net>
1201 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1203 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1205 * text2.C (setCursorFromCoordinates): switch to absolute coords
1207 (cursorDown): adjust
1208 * text3.C (dispatch): adjust
1210 2004-02-16 André Pönitz <poenitz@gmx.net>
1212 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1215 * cursor_slice.[Ch]: remove unneeded acessor function
1217 * lyxtext.h: rename rtl() to isRTL()
1225 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1227 * rowpainter.C (paintSelection): coord fix
1229 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1231 * Spacing.C: compile fix
1233 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1235 * cursor.C (dispatch): restore current_ before returning
1237 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1239 * text2.C (cursorUp, cursorDown): fix coords
1242 2004-02-12 André Pönitz <poenitz@gmx.net>
1247 * text3.C: add LCursor & parameter to most cursor movement functions
1248 remove usage of LyXText::cursorRow() and cursorPar()
1250 * cursor.[Ch]: add textRow() needed members
1253 * BufferView_pimpl.C:
1256 * BufferView_pimpl.C: adjust
1258 2004-02-11 André Pönitz <poenitz@gmx.net>
1262 * BufferView_pimpl.C: shift undo/redo handling
1264 * cursor.[Ch]: fix mathed crash
1267 * lyxtext.h: move selectionAsText to LCursor
1275 * rowpainter.C: fix excessive drawing
1277 2004-02-06 André Pönitz <poenitz@gmx.net>
1280 * BufferView_pimpl.[Ch]:
1281 * text3.C: move some text specific LFUN handling
1283 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1285 * text3.C (checkInsetHit): adjust coords
1286 * text2.C (getColumnNearX): adjust coords
1287 (edit): adjust coords
1288 * text.C (getRowNearY): add two asserts
1290 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1293 * format.C: add using std::distance to compile on gcc 2.95/stlport
1295 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1297 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1299 2004-02-04 André Pönitz <poenitz@gmx.net>
1301 * BufferView.[Ch] (insertInset):
1302 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1307 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1309 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1310 on the default clause of the switch
1311 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1312 wasn't catched by LCursor::dispatch
1314 2004-02-03 André Pönitz <poenitz@gmx.net>
1317 * cursor.[Ch]: some additional asserts
1319 * undo.[Ch]: remove LyXText dependency in interface
1323 * lyxtext.h (firstPar, lastPar): remove dead functions
1328 * paragraph.[Ch]: adjust
1330 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1332 * lyxfind.C (find): fix argument order in call to ::find
1334 2004-02-02 André Pönitz <poenitz@gmx.net>
1336 * cursor.[Ch]: remove direct access to anchor
1338 * text.C: remove findText() hack
1340 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1342 * iterators.[Ch] (lockPath): remove in favour of...
1343 * BufferView.[Ch] (setCursor): this addition
1344 * BufferView.C (putSelectionAt): adjust
1345 * undo.C (performUndoOrRedo): adjust
1346 * lyxfunc.C (dispatch): adjust
1348 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1350 * iterators.C (lockPath): add a missing slice
1351 * undo.C (performUndoOrRedo): remove redundant positioning code
1353 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1355 * vc-backend.C (scanMaster): ";" -> ';'
1357 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1359 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1360 std::binary_function
1362 * lyxtextclass.C (compare_name): rename to...
1363 (LayoutNamesEqual): ...this
1365 * lyxlex_pimpl.C (compare_tags): inherit from
1366 std::binary_function, put back into anon namespace
1368 * lyxfind.C (MatchString): inherig from std::binary_function
1369 (findChange): use empty() istead of !size()
1371 * format.C (FormatNamesEqual): new functor
1378 * converter.C (compare_Converter): rename to...
1379 (ConverterEqual): ...this, and fixup a bit.
1380 (getConverter): use it, and make function const
1381 (getNumber): use it, and make function const
1385 * bufferlist.C: add using boost::bind
1387 * MenuBackend.C (MenuNamesEqual): new functor
1388 (hasMenu): use it, and make function const
1389 (hasSubmenu): use nested bind to get rid of compare_memfun.
1391 2004-01-30 André Pönitz <poenitz@gmx.net>
1393 * BufferView_pimpl.C:
1396 * cursor_slice.[Ch]:
1399 * paragraph_funcs.C:
1400 * paragraph_funcs.h:
1404 * text3.C: move some of the edit(x,y) handling to the insets
1405 some coordinate changes.
1407 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1409 * text.C: add using statements for std::advance and std::distance
1411 * paragraph.C: add using statement for std::distance
1413 * lyxfind.C: add using statement for std::advance
1415 * cursor.C (region): remove std:: from swap
1416 (openable): use nucleus in stead of operator->
1418 * BufferView.C: add using statements for std::distance and std::swap
1420 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1422 * iterators.C: Remove the pimple, move the needed structures to
1423 the header file. Create accessor for the positions stack.
1424 (asPosIterator): remove function
1426 * PosIterator.C (PosIterator): move constructors to top of file
1427 (PosIterator): reimplement the constructor taking a ParIterator in
1429 (setFrom): new function
1430 (operator!=): inline it
1432 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1434 * lyxfind.C (replaceAll): use std::advance
1436 * iterators.h: inherit from std::iterator.
1438 * PosIterator.C (advance, distance): remove
1439 * PosIterator.h: interit from std::iterator.
1441 2004-01-26 André Pönitz <poenitz@gmx.net>
1444 * BufferView_pimpl.[Ch]:
1448 * bufferview_funcs.C:
1458 * output_linuxdoc.C:
1459 * output_plaintext.C:
1461 * paragraph_funcs.[Ch]:
1462 * paragraph_pimpl.[Ch]:
1468 * text3.C: more IU: dumps most of the rest of the mathcursor
1469 implementation into cursor.[Ch]; "globalize" a bit of it.
1471 2004-01-25 Angus Leeming <leeming@lyx.org>
1473 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1475 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1477 * LaTeXFeatures.h: add nice_ and nice() const
1478 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1480 2004-01-20 André Pönitz <poenitz@gmx.net>
1483 * BufferView_pimpl.C:
1485 * bufferview_funcs.C:
1487 * cursor_slice.[Ch]:
1498 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1499 LCursor and mathcursor parts to LCursor and InsetBase.
1501 2004-01-15 André Pönitz <poenitz@gmx.net>
1503 * cursor_slice.[Ch]: add a few covienience functions
1505 * funcrequest.[Ch]: remove BufferView * member
1507 * BufferView_pimpl.C:
1514 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1516 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1518 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1519 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1521 2004-01-13 André Pönitz <poenitz@gmx.net>
1524 * lyxtext.h: hide cursor and selection anchor behind accessor function
1527 * BufferView_pimpl.[Ch]:
1529 * bufferview_funcs.C:
1539 * cursor_slice.[Ch]: some integer type changes for inset unification
1541 * lyxcursor.[hC]: remove, it's CursorSlice now.
1544 * BufferView_pimpl.[Ch]:
1545 * bufferview_funcs.C:
1551 * textcursor.[Ch]: adjust
1553 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1555 * text2.C (undoSpan): add and use
1556 * text.C (breakParagraph): use undoSpan (fix bug 578)
1559 2004-01-08 Angus Leeming <leeming@lyx.org>
1561 * BufferView_pimpl.C (MenuInsertLyXFile):
1562 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1563 * lyxfunc.C (menuNew, open, doImport):
1564 FileFilterList change to the FileDialog open and save functions.
1566 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1568 * ShareContainer.h: make isEqual and isUnique adaptable
1570 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1572 2004-01-07 Angus Leeming <leeming@lyx.org>
1575 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1577 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1579 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1580 functions replacing find, replace and replaceAll.
1582 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1583 LFUN_WORDFIND(FORWARD|BACKWARD).
1585 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1587 * text.C (breakParagraph): remove an outdated #warning
1589 2004-01-07 André Pönitz <poenitz@gmx.net>
1591 * lyxfind.C: somewhat clearer logic
1593 * text.C: prevent crash in cursorX on unitialized row cache
1595 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1597 * lyxcursor.[Ch] (operator>): add
1598 * textcursor.C (selStart, selEnd): use std::min and std::max
1600 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1602 * Chktex.C: include boost/format.hpp
1604 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1606 * InsetList.C: replace functor MathcIt with adaptable functor
1608 (insetIterator): modify accordingly
1610 * BranchList.h: move the BranchNamesEqual functor here from...
1611 * BranchList.C: ... to here
1613 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1615 (add): replace a finding loop with std::find_if.
1617 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1619 * output_docbook.C: moving LatexParam functionality into
1622 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1624 * buffer.C: increment format to 229.
1626 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1629 * lyx_sty.[Ch]: remove minipageindent_def
1635 * text3.C: remove LFUN_INSET_MINIPAGE
1637 2003-12-28 Angus Leeming <leeming@lyx.org>
1639 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1641 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1643 * text2.C (setParagraph): fix off-by-one crash
1645 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1647 * output_docbook.C: header stuff for AGU
1649 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1651 * text2.C (redoCursor): remove
1654 * BufferView_pimpl.C: remove calls to redoCursor and
1655 setCursor(cursor.par(), cursor.pos()) all around
1657 2003-12-15 Angus Leeming <leeming@lyx.org>
1659 * buffer.C: up the format to 228.
1661 2003-12-15 André Pönitz <poenitz@gmx.net>
1663 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1668 * BufferView_pimpl.C:
1677 2003-12-15 Angus Leeming <leeming@lyx.org>
1679 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1680 than getFromGUIName to manipulate the color.
1682 2003-12-14 Angus Leeming <leeming@lyx.org>
1684 * BranchList.[Ch]: minimize the API.
1685 (Branch::getBranch, getColor): now return a 'const &'.
1686 (Branch::setSelected) now returns a bool set to true if the
1687 selection status changes.
1688 (BranchList::clear, size, getColor, setColor, setSelected,
1689 allBranches, allSelected, separator): removed.
1690 (BranchList::find): new functions, returning the Branch with
1692 (BranchList::add, remove): return a bool indicating that
1693 the operation was successful.
1695 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1696 new InsetBranch::isBranchSlected member function.
1698 * LColor.[Ch]: mimimize the API.
1699 (fill): renamed as addColor and made private.
1700 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1701 versions of these functions taking a string arg have been removed.
1703 * bufferparams.C (readToken):
1704 * lyxfunc.C (dispatch):
1705 * lyxrc.C (read): changes due to the altered BranchList and
1708 * factory.C (createInset, readInset): changes due to altered
1711 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1714 * lyxfunc.C: remove insetminipage. "minipage-insert"
1715 now produces a frameless minipage box inset.
1717 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1719 * textcursor.[Ch] (selStart,selEnd): add new methods
1720 remove selection::start, end, use LyXCursor::operator<
1721 * lyxcursor.[Ch] (operator<): add
1722 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1723 * BufferView.[Ch] (unsetXSel): add
1724 * text2.C (clearSelection): use unsetXSel,adjust
1727 * rowpainter.C: adjust
1728 * bufferview_funcs.C (put_selection_at): adjust
1730 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1732 * BufferView_pimpl.C: small coord. correction
1734 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1736 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1737 dragging over the splash screen.
1739 2003-12-11 Angus Leeming <leeming@lyx.org>
1741 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1742 as it is now handled in LyXText::dispatch.
1744 * text3.C (doInsertInset): remove a level of nesting.
1746 2003-12-11 Angus Leeming <leeming@lyx.org>
1748 * factory.C (createInset): changes due to the changed interface to
1749 InsetCommandMailer::string2params.
1751 2003-12-10 Angus Leeming <leeming@lyx.org>
1753 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1754 'dialog-show-new-inset <inset name>'
1756 2003-12-10 Angus Leeming <leeming@lyx.org>
1758 * buffer.C: up the format to 227.
1760 * factory.C: the box inset is now identified simply by 'Box'.
1762 2003-12-10 Angus Leeming <leeming@lyx.org>
1764 * buffer.C: up the format to 226.
1766 * factory.C: the note inset is now identified simply by 'Note'.
1768 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1770 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1771 when a pit is enough. Standarize a couple of loops.
1773 2003-12-05 Angus Leeming <leeming@lyx.org>
1775 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1776 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1777 data to the re-worked "log" dialog.
1779 2003-12-03 André Pönitz <poenitz@gmx.net>
1785 * paragraph_funcs.C:
1787 * text2.C: use Inset::getText instead of Inset::getParagraph
1789 2003-12-03 André Pönitz <poenitz@gmx.net>
1793 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1794 InsetText::read() as LyXText::read()
1796 2003-12-02 Angus Leeming <leeming@lyx.org>
1798 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1799 type. Add a comment in the implementation that the function uses
1800 the stream's bad() function rather than fail() as the std::streams
1803 2003-12-02 André Pönitz <poenitz@gmx.net>
1805 * lyxlex.[Ch]: make interface more similar to std::stream
1807 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1809 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1811 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1813 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1815 * vspace.[Ch]: remove VSpace::NONE
1817 2003-12-01 André Pönitz <poenitz@gmx.net>
1820 * lyxtext.h: move ParagraphList member to LyXText
1821 rename LyXText::ownerParagraphs to LyXText::paragraph
1824 * bufferview_funcs.C:
1834 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1836 * undo.C: fix cursor positioning
1838 2003-12-01 John Levon <levon@movementarian.org>
1840 * BufferView_pimpl.C: fix a crash on exit with
1843 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1845 * BranchList.C: fix setSelected() method.
1847 2003-11-28 André Pönitz <poenitz@gmx.net>
1849 * ParagraphParameters.[Ch]:
1850 * ParameterStruct.h: remove space above/below from Paragraph to
1853 * BufferView_pimpl.C:
1859 * paragraph_funcs.C:
1865 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1867 * factory.C: Syntax change for CharStyles
1869 2003-11-28 André Pönitz <poenitz@gmx.net>
1874 * buffer.[Ch]: move LyXText member
1876 2003-11-28 André Pönitz <poenitz@gmx.net>
1878 * BufferView.[Ch]: make LyXText * text a private member
1880 * BufferView_pimpl.C:
1891 * output_plaintext.C: cleanup
1893 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1896 * lyxtextclass.[Ch]: parametrize SGML document header
1898 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1901 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1904 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1906 * text2.C (setFont): rework using PosIterator (no more recursive)
1907 (setCharFont): no more needed
1908 (setLayout): no more selection cursors fiddling (done by redoCursor)
1909 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1910 destroy remaining ones)
1912 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1914 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1916 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1919 * text3.C: adjust + re-allow multi par depth changes
1920 * textcursor.C: simplify a bit
1922 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1928 * src/output_docbook.C:
1929 * src/output_latex.C:
1934 * src/text2.C: Introducing a number of tags parametrizing various
1935 XML formats that we may want to support
1937 2003-11-25 André Pönitz <poenitz@gmx.net>
1939 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1941 * lyxtext.h (leftMargin/rightMargin): simplify interface
1948 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1950 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1951 master file to any child files. Fixes bug 546.
1953 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1955 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1957 2003-11-24 André Pönitz <poenitz@gmx.net>
1959 * rowpainter.C: simplification
1961 * text2.C (updateCounters): remove call to redoParagraph on
1962 changed labels as this is far too expensive.
1964 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1966 * converter.C (convert): fix a crash: this function gets
1967 called with buffer == 0 from importer code.
1969 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1971 * text3.C (cursorPrevious): make sure that we do not compare
1972 iterators form different containers.
1975 * rowpainter.C (paintSelection): make sure that we do not compare
1976 iterators from different containers.
1978 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1979 iterators from different ParagraphList containers.
1982 * text2.C (LyXText): change order of initialization slightly
1983 (operator=): new function. copy all variables except cache_par_
1984 (moveUp): make sure that we do not compare iterators from
1985 different ParagraphList constainers.
1988 * text.C (firstPar): new function
1989 (lastPar): new function
1990 (endPar): new function
1992 * lyxtext.h: move things around and group public functions, public
1993 variables, private functions, private variables
1995 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1997 * factory.C: change call to InsetERT constructor to avoid
1998 additional invocation of method status
1999 * text2.C (toggleInset): remove redundant update() call
2000 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2001 instead of a Bufferview pointer
2003 2003-11-21 André Pönitz <poenitz@gmx.net>
2005 * rowpainter.C: simplification
2007 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2009 * text3.C (dispatch): make possible to extend a word/row selection
2012 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2014 * lyxtext.h: x0_,y0_ -> xo_,yo_
2015 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2016 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2017 * rowpainter.C (paintRows): paint full paragraphs
2019 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2021 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2024 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2026 * lyxtext.h: add x0_, y0_
2027 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2028 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2030 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2032 * text2.C (setCursorIntern): move the x_target update here *
2033 * text3.C: change some bv() to true/false in calls to
2034 cursorUp/Down/Right/Left
2035 * cursor.C: use helper function.
2037 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2039 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2040 * paragraph_funcs.[Ch]: correct comment
2041 * rowpainter.C: do not paint selections away from bv->cursor()
2042 Fix a long standing selection painting bug.
2043 * text3.C: generalize mouse-selection code to LyXTexts other that
2045 * textcursor.C: do not use y coords if we can use par offsets
2047 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2049 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2050 cursor position after e.g. inset insert)
2052 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2054 * lyxfind.C (replace): adjust to locking removal + some
2057 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2059 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2062 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2065 * output_docbook.C: XML sanitation: new layout
2066 parameters InnerTag and CommandDepth
2068 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2070 * BufferView_pimpl.C:
2072 * text3.C: Fix the insertion and modification of button-style
2075 2003-11-13 André Pönitz <poenitz@gmx.net>
2077 * InsetList.[Ch]: remove deleteLyXText
2079 * paragraph.[Ch]: cache beginOfBody position
2084 * text3.C: remove superfluous update() calls
2088 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2090 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2091 * BufferView.C (fitLockedInsetCursor): remove
2092 * cursor.[Ch] (getDim): add
2093 * text.C (getRowNearY): add faster version
2094 * text3.C: remove some update calls
2096 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2108 * text3.C: The Character Style /XML short element patch.
2110 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2113 * factory.C: Small step to solving 'unable to insert some insets'
2116 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2118 * cursor.[Ch] (updatePos): new function for updating the y
2119 position of the tip inset
2120 * bufferview_funcs.C (put_selection_at):
2121 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2123 2003-11-11 André Pönitz <poenitz@gmx.net>
2125 * text.C: remove big comment on invalid Paragraph pointers as it is
2128 2003-11-11 André Pönitz <poenitz@gmx.net>
2130 * text_funcs.[Ch]: merge with ...
2138 * Makefile.am: remove text_funcs.[Ch]
2140 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2142 * cursor.C (getPos): return absolute cached y coord
2144 * BufferView_pimpl.C (fitCursor): new simplistic code
2145 (workAreaDispatch): add a fitCursor call
2147 2003-11-10 André Pönitz <poenitz@gmx.net>
2150 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2152 2003-11-10 André Pönitz <poenitz@gmx.net>
2154 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2155 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2156 indicate that the cursor needs to leave an inset
2158 * lyxtext.h: remove inset locking
2160 * cursor.[Ch]: re-implement functionality provided by inset locking
2163 * BufferView_pimpl.[Ch]:
2165 * bufferview_funcs.[Ch]:
2177 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2179 * PosIterator.[Ch]: replace the stack with a vector, add inset
2181 * iterators.[C]: adjust
2183 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2185 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2187 * paragraph_funcs.C (readParToken): put the correct id in the
2188 error item, not the id of the top paragraph
2190 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2192 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2193 * bufferview_funcs.C (put_selection_at): use the above
2195 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2197 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2199 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2201 * output_linuxdoc.h:
2202 * output_plaintext.h:
2204 * output_docbook.h: add #include statements
2206 2003-11-05 José Matos <jamatos@lyx.org>
2208 * output_docbook.[Ch]:
2209 * output_latex.[Ch]:
2210 * output_linuxdoc.[Ch]:
2211 * output_plaintext.[Ch]: New files for output formats.
2212 * output.[Ch]: New file for helper functions.
2215 * paragraph_funcs.[Ch]: output functions moved to new files.
2217 * outputparams.h: rename of latexrunparams.h
2225 * paragraph_funcs.[Ch]:
2226 * paragraph_pimpl.[Ch]:
2227 * tabular.[Ch]: rename ascii to plaintext
2228 and LatexRunParams to OutputParams.
2230 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2232 * iterators.[Ch] (text): require bv argument
2233 * undo.C (recordUndo):
2234 * lyxfunc.C (dispatch):
2235 * bufferview_funcs.C (put_selection_at): adjust
2237 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2239 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2241 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2243 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2246 2003-11-04 André Pönitz <poenitz@gmx.net>
2248 * cursor.[Ch]: restructure
2251 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2253 * iterators.[Ch] (asCursor): remove
2255 * lfuns.h: remove LFUN_INSET_EDIT
2261 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2263 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2265 * lyxfind.[Ch]: complete overhaul
2266 * BufferView_pimpl.C:
2268 * paragraph.[Ch] (insert): add
2270 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2274 * text.C: remove dead spellcheck code
2276 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2278 * dispatchresult.h: add a val setter
2280 * cursor.C (dispatch): use a tempvar for data_[i]
2282 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2284 * PosIterator.[Ch]: compile fix
2286 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2288 * text.C (cursorPar): deactivate the cursor cache
2290 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2292 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2294 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2296 * text3.C (dispatch): adjust for new DisptchResult semantics.
2298 * lyxfunc.C (dispatch): handle update when return from
2299 Cursor::dispatch, adjust for new DispatchResult semantics.
2301 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2302 DispatchResult(true) mean to not update. Add class functions for
2303 setting dispatched and update, as well as reading.
2305 * cursor.C (dispatch): don't handle update here
2307 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2309 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2310 * trans_mgr.C: adjust
2312 * paragraph_funcs.C (readParToken): exception safety
2314 * lyxvc.h: store the vcs pointer in a scoped_ptr
2317 * lyxsocket.C (serverCallback): exception safety
2319 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2321 * ispell.C (clone): make it return a auto_ptr
2323 * factory.C (createInset): exception safety
2324 (readInset): exception safety
2326 * bufferlist.C (newBuffer): exception safety
2328 * Thesaurus.C (Thesaurus): use initialization for aik_
2330 * MenuBackend.C (expandToc): exception safety.
2332 2003-11-03 André Pönitz <poenitz@gmx.net>
2336 * bufferview_funcs.C: remove getInsetFromId()
2339 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2345 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2347 * PosIterator.C (distance, advance): new
2348 * bufferview_funcs.[Ch] (put_selection_at): new
2349 * iterators.[Ch] (lockPath): new
2351 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2353 * iterators.[Ch] (asPosIterator): added
2354 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2355 * PosIterator.[Ch]: added
2357 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2361 * cursor.C (dispatch):
2362 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2364 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2365 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2366 contructor, add a class function dispatched. Remove operator>=
2368 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2370 * debug.C: only use the default constructor for debugstream
2373 * main.C (main): include debug.h and setup the lyxerr streambuf
2376 2003-10-31 José Matos <jamatos@lyx.org>
2378 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2380 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2381 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2382 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2383 * paragraph_pimpl.C (simpleTeXSpecialC):
2384 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2385 add LatexRunParams argument.
2387 * exporter.C (Export): change call accordingly.
2389 * latexrunparams.h: add new member to take care of the other backends.
2390 2003-10-30 José Matos <jamatos@lyx.org>
2392 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2393 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2394 factorise code for paragraph output.
2396 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2399 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2401 * text3.C (dispatch):
2402 * lyxfunc.C (dispatch):
2403 * cursor.C (dispatch):
2404 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2406 * dispatchresult.h: make the dispatch_result_t ctor explicit
2408 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2411 * buffer.C: small refactoring of docbook stuff
2413 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2415 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2418 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2420 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2421 operator dispatch_result_t, and operators for == != and >=
2423 * cursor.C (dispatch): adjust for operator dispatch_result_t
2424 removal. comment out call to update
2426 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2428 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2436 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2439 * dispatchresult.h: new file, DispatchResult broken out of
2442 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2444 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2446 * text.C (rowBreakPoint): put a hack inside #if 0
2448 2003-10-28 André Pönitz <poenitz@gmx.net>
2452 * paragraph_funcs.C:
2455 * text2.C: general cleanup (lots of small stuff)
2457 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2459 * text2.C (cursorEnd): simple fix to the "end key goes to one
2460 before the end on last row" bug
2462 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2464 * text.C (backspace): fix the "zombie characters"
2466 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2468 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2470 2003-10-27 André Pönitz <poenitz@gmx.net>
2472 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2474 * factory.C: handle new InsetPagebreak, InsetLine
2476 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2477 and move handling into new InsetPagebreak, InsetLine
2479 * BufferView_pimpl.C:
2481 * ParagraphParameters.C:
2482 * ParameterStruct.h:
2487 * paragraph_funcs.C:
2488 * paragraph_pimpl.C:
2494 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2497 * lyxrow_funcs.[Ch]:
2503 * text3.C: remove lastPos uses in favour of Row::endpos
2505 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2507 * undo.C (performUndoOrRedo): fix two crashes by setting a
2508 cursor by hand and reordering some calls. Use bv->lockInset instead
2509 of inset->edit because the latter loses cursor information
2511 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2513 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2515 (rowBreakPoint): fix width. change point to point + 1.
2516 Add a missing check.
2518 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2521 * lyxfunc.C: fix (at least partly) the problems
2522 with the Nav menu and headers inside branch insets
2525 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2527 * paragraph.C (getChar): add strong asserts
2529 * lyxrow_funcs.C (lastPos): remove hideous hack
2531 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2532 (fill): adjust to that (avoid an infinite loop)
2534 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2536 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2538 2003-10-23 André Pönitz <poenitz@gmx.net>
2540 * RowList_fwd.h: change list<> to vector<> to gain speed
2541 after suggestion from Alfredo
2543 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2545 * lyxtext.h: move the bidi stuff from here...
2548 * Bidi.[Ch]: ... to here
2550 2003-10-23 André Pönitz <poenitz@gmx.net>
2553 * text.C (isLastRow, isFirstRow): new functions
2555 * paragraph.h: new width cache member
2557 * rowpainter.C: replace RowList::iterator with Row & where possible
2559 * lyxfunc.C: replace several view()->text with a single call
2561 * toc.C: fix 'unused' warning
2563 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2565 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2566 when woring with stream::pos_type
2567 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2569 2003-10-22 André Pönitz <poenitz@gmx.net>
2572 * text.C: use Row & instead of RowList::iterator
2574 * lyxrow.h: rename end() to endpos()
2580 2003-10-22 Angus Leeming <leeming@lyx.org>
2582 * buffer.[Ch] (fully_loaded): new member function, returning true
2583 only when the file has been loaded fully.
2584 Used to prevent the premature generation of previews and by the
2585 citation inset to prevent computation of the natbib-style label.
2587 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2588 templates are all set up.
2590 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2592 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2594 * text.C: fixed an "oops" in the "is a bit silly"
2597 2003-10-21 André Pönitz <poenitz@gmx.net>
2599 * FuncStatus.[Ch]: small stuff, whitespace
2601 * lyxfont.[Ch]: operator<<() for debug reasons
2605 * lyxtext.h: whitespace, spelling
2607 * paragraph.C: naming of variables
2610 * text2.C: small stuff
2613 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2615 * text.C: (1) finish off the inset display() work;
2616 (2) fix the "is a bit silly" bug (accessing char
2619 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2621 * text.C: re-introduce display() for insets, fixing the
2622 various bugs (stretch of line above, math inset
2625 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2627 * text.C (rightMargin): remove spurious semicolon
2629 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2632 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2634 * text3.C: fix one crash due to wrong cursor def
2636 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2638 * vc-backend.C (scanMaster): make the regex static
2640 * LaTeX.C (scanAuxFile): make the regexs static
2642 * text3.C (doInsertInset, dispatch, dispatch):
2643 * text2.C (cursorUp, cursorDown):
2644 * text.C (selectNextWordToSpellcheck):
2645 * BufferView_pimpl.C (dispatch):
2646 * lyxfunc.C (dispatch): localDispatch -> dispatch
2648 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2650 * lyxsocket.C: include <cerrno>
2652 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2654 * lyxfunc.C (dispatch): remove textcache stuff
2656 * bufferlist.C (release): remove textcache stuff
2659 * TextCache.C: delete file
2660 * TextCache.h: delete file
2662 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2664 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2665 delete of the bv_->text.
2666 (resizeCurrentBuffer): remove texcache stuff
2667 (workAreaResize): ditto
2669 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2671 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2674 2003-10-16 André Pönitz <poenitz@gmx.net>
2681 * text3.C: speed up by storing y positions per paragraph plus per-row
2682 offset instead of having a 'full' y position in the row.
2684 2003-10-15 André Pönitz <poenitz@gmx.net>
2688 * undo.[Ch]: make undo aware of inner insets
2690 2003-10-14 Angus Leeming <leeming@lyx.org>
2692 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2693 static member functions LyX::ref() and LyX::cref.
2694 (lastfiles): new accessor functions for the new lastfiles_ member var.
2695 (addLyXView, views_): add a new LyXView to the list of views_.
2696 (updateInset): loop over all LyXViews to call their own updateInset
2697 member function, returning a pointer to the Buffer owning the inset.
2699 * BufferView_pimpl.C (loadLyXFile):
2700 * MenuBackend.C (expandLastfiles):
2701 * bufferlist.C (MenuWrite, QuitLyX):
2702 lastfiles is no longer a global variable.
2703 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2705 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2706 static function. Access through LyX::cref().emergencyCleanup().
2708 2003-10-14 André Pönitz <poenitz@gmx.net>
2710 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2712 * undo.[Ch]: restoring part of 'undo in insets'
2715 * undo_funcs.[Ch]: merge with undo.[Ch]
2717 * tabular.C: small cleansing stuff
2719 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2721 * paragraph_funcs.C (readParToken): report unknown insets as error
2722 boxes. Use the outer paragraph as location (also for unknown
2725 * factory.C (readInset): do not abort on reading an unknown inset.
2726 Eat it and return 0.
2728 2003-10-13 Angus Leeming <leeming@lyx.org>
2730 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2732 * lyxrc.C: displayTranslator is now a function,
2733 declared in GraphicsTypes.h.
2735 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2737 * format.C: new placeholder $$a to pass the socket address.
2739 * bufferlist.[Ch]: new function getBufferFromTmp.
2741 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2742 files in the temporary dir.
2744 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2746 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2748 * Makefile.am: add lyxsocket.[Ch].
2750 * lyx_main.C (error_handler): handle SIGPIPE.
2752 2003-10-13 André Pönitz <poenitz@gmx.net>
2754 * BufferView_pimpl.C:
2759 * undo_funcs.[Ch]: use paroffset_type instead of
2760 ParagraphList::iterators to prevent multiple conversion
2761 (and get a more robust interface)
2763 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2765 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2767 * text3.C (dispatch): ditto
2769 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2771 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2772 move the onlyfile, use onlyfile instead of foundfile in a couple
2775 * DepTable.C (update): flush the error stream a bit more
2777 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2779 * lyxserver.C (callback): adjust
2781 * lyxfunc.C (getStatus): add a missing brace in commented code
2782 (ensureBufferClean): reindent
2783 (dispatch): delete version taking a string
2785 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2787 * LaTeX.C (deplog): move found file handlig from here...
2788 (handleFoundFile): .. to new function here.
2789 (deplog): make sure to discover several files mentioned on the
2792 2003-10-10 André Pönitz <poenitz@gmx.net>
2799 * text3.C: fix some of the tabular crashes
2801 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2803 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2805 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2807 2003-10-09 André Pönitz <poenitz@gmx.net>
2809 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2812 * BufferView_pimpl.C:
2813 * bufferview_funcs.C:
2824 * undo_funcs.C: adjust
2826 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2828 * text2.C (incrementItemDepth): new function, use a backtracking
2829 algorithm to discover the correct item depth.
2830 (resetEnumCounterIfNeeded): new function, use a backtracking
2831 algorithm to discover if counter reset is needed.
2832 (setCounter): use them. Simplify a bit. Add different labels for
2833 different item depths for itemize.
2835 * paragraph.C (Paragraph): remove initialization of enumdepth
2838 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2839 enumerate and itemize. Change the type of itemdepth to signed char.
2841 2003-10-08 André Pönitz <poenitz@gmx.net>
2843 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2848 * tabular.[Ch]: fix crash after 'row-insert'
2850 2003-10-08 Angus Leeming <leeming@lyx.org>
2852 Fix doxygen warnings.
2854 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2855 Remove CutAndPaste:: prefix from header file declaration.
2857 * LColor.h (fill): remove LColor:: prefix from declaration.
2859 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2860 use lyx::depth_type rather than Paragraph::depth_type so that
2861 header file and .C file match.
2863 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2865 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2866 * aspell.C: \file aspell_local.C -> \file aspell.C
2867 * gettext.C: \file gettext.C -> \file src/gettext.C
2868 * gettext.h: \file gettext.h -> \file src/gettext.h
2869 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2870 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2871 * text.C: \file text.C -> \file src/text.C
2873 * toc.C: move comment so that doxygen is not confused.
2875 2003-10-07 Angus Leeming <leeming@lyx.org>
2877 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2879 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2882 * aspell_local.h: add forgotten std::string's.
2884 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2891 * text3.C: The Box patch. Fancybox support, minipage, parbox
2893 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2899 * ParagraphParameters.h:
2909 * lyxtextclasslist.h:
2912 * paragraph_pimpl.C:
2913 * textcursor.h: add <string> and other small fixes to make Lars'
2914 std::string patch compile with STLport.
2916 2003-10-06 Angus Leeming <leeming@lyx.org>
2918 * LColor.h: Add missing #include <string>.
2920 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2922 * All most all file in all subdirs: Make <string> be the prefered
2923 way of getting to std::string, add using declarations.
2925 2003-10-06 André Pönitz <poenitz@gmx.net>
2927 * metricsinfo.C: initialize LyXFont before changing attribute.
2928 (fixes the 'math in \emph is upright' bug)
2930 2003-10-06 André Pönitz <poenitz@gmx.net>
2932 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2934 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2937 * paragraph_pimpl.C: Small fixes to build using STLport
2939 2003-10-02 André Pönitz <poenitz@gmx.net>
2942 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2944 2003-10-01 André Pönitz <poenitz@gmx.net>
2946 * factory.C: assert early
2948 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2950 * lyx_main.C: remove the global debug object
2952 * debug.h: adjust for new debugstream
2954 * debug.C: adjust for new debugstream and keep the global debug
2957 2003-09-22 Angus Leeming <leeming@lyx.org>
2959 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2960 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2961 an incomplete class LyXFont.
2963 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2965 * factory.C: bug fix in branches
2967 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2969 * lyxfunc.C (processKeySym): adjust
2971 (dispatch): change arg name from ev to func, adjust
2972 (sendDispatchMessage): ditto
2974 * lyx_main.C (defaultKeyBindings): adjust keybindings
2975 (deadKeyBindings): ditto
2977 * kbsequence.C (addkey): return a FuncRequest
2979 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2981 * kbmap.C (bind): take a FuncRequest as arg, adjust
2984 (defkey): change to take a FuncRequest as arg, adjust
2985 (findbinding): take a FuncRequest as arg, adjust.
2987 * funcrequest.h (operator=): added
2989 * funcrequest.C (FuncRequest): default kb_action changed from
2990 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2992 * buffer.C (dispatch): simplify
2993 (dispatch): adjust to take a FuncRequest as arg, adjust
2995 * boost.C (assertion_failed): change assertion message slightly
2997 * ToolbarBackend.C (read): simplify
2999 * MenuBackend.C (binding): adjust call to findbinding, add a
3000 message if no binding is found.
3002 (expandToc): correct by adding a empty FuncRequest
3004 * LyXAction.C: include <boost/assert.hpp>
3005 (isPseudoAction): delete function
3006 (LookupFunc): change name to...
3007 (lookupFunc): this. change return type to FuncRequest.
3008 (getActionName): take kb_action as arg, simplify
3009 (funcHasFlag): add an assert, simplify.
3011 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3013 * toc.C (action): return a FuncRequest, simplify
3015 * lyxfunc.C (processKeySym): adjust
3016 (getStatus): delete version that takes an int.
3018 (dispatch): delete version that takes action as int
3020 (sendDispatchMessage): simplify and adjust
3022 * funcrequest.C (getArg): take unsigned int as arg
3024 * ToolbarBackend.C (read): adjust
3025 (add): delete version that takes func as a string.
3026 (getIton): take a FuncRequest as arg
3028 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3031 * MenuBackend.C (MenuItem): add a new construct that only takes a
3032 Kind, simplify the constructor use for submenus.
3034 (expandLastfiles): adjust
3035 (expandDocuments): adjust
3036 (expandFormats): adjust
3037 (expandFloatListInsert): adjust
3038 (expandFloatInsert): adjust
3039 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3041 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3042 Remove class variables lyx_pseudo_map and lyx_arg_map
3044 * LyXAction.C (searchActionArg): delete function
3045 (getPseudoAction): delete function
3046 (retrieveActionArg): delete function
3047 (LookupFunc): make it return kb_action, simplify.
3048 (getActionName): simplify
3050 * factory.C (createInset): fix new bug
3052 2003-09-19 Angus Leeming <leeming@lyx.org>
3054 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3055 masterFilename_ parameter in the include inset.
3057 * factory.C (createInset): changes due to the changes to InsetInclude.
3059 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3061 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3063 2003-09-18 Angus Leeming <leeming@lyx.org>
3066 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3067 Inset::fillWithBibKeys.
3068 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3070 2003-09-18 Angus Leeming <leeming@lyx.org>
3072 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3074 (ctor): pass and store a 'Buffer const &'
3075 (buffer): new member function.
3077 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3078 '*this' to the LaTeXFeatures ctor.
3080 2003-09-18 Angus Leeming <leeming@lyx.org>
3086 * text.C: rename EnumLColor as LColor_color.
3088 2003-09-18 Angus Leeming <leeming@lyx.org>
3090 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3091 remove #include "insets/insetbase.h" from cursor.h.
3093 2003-09-18 Angus Leeming <leeming@lyx.org>
3095 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3096 InsetOld_code to remove #include "inset.h".
3098 * iterators.C: add #include "insets/inset.h"
3100 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3102 * BufferView.C: remove more locking stuff that apparently doesn't
3103 do anything sensible.
3105 2003-09-16 André Pönitz <poenitz@gmx.net>
3108 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3111 2003-09-16 Angus Leeming <leeming@lyx.org>
3113 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3115 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3118 * paragraph.h: remove #include "lyxfont.h". Forward declare
3121 2003-09-16 Angus Leeming <leeming@lyx.org>
3123 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3124 of support/textutils.h.
3125 (isWord): move the contents of support/textutils.h's IsWordChar here.
3131 * text2.C: add #include "paragraph.h".
3134 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3136 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3142 * LaTeX.C: use namespace alias for lyx::support::os
3144 2003-09-16 Angus Leeming <leeming@lyx.org>
3147 * bufferview_funcs.C:
3150 * paragraph_pimpl.C:
3152 * text.C: add #include "LColor.h".
3154 2003-09-16 Angus Leeming <leeming@lyx.org>
3156 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3157 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3159 Store the FontBits::color variable as an int rather than as an
3160 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3163 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3164 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3165 string calls together.
3167 * lyxrc.C: add #include "LColor.h".
3169 2003-09-15 Angus Leeming <leeming@lyx.org>
3171 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3174 2003-09-15 Angus Leeming <leeming@lyx.org>
3176 * LColor.h: add an EnumLColor wrapper for LColor::color.
3178 * lyxfont.[Ch] (color, setColor, realColor):
3179 * lyxtext.h, text.C (backgroundColor):
3180 pass EnumLColor args to/from the functions, rather than LColor::color
3184 * lyxtext.h: forward declare EnumLColor.
3186 * lyx_main.C: add #include "LColor.h".
3188 2003-09-15 Angus Leeming <leeming@lyx.org>
3190 * .cvsignore: add lyx-gtk.
3192 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3197 * ParagraphParameters.C
3201 * bufferview_funcs.C
3211 * vc-backend.C: remove usage of STRCONV
3213 2003-09-15 Angus Leeming <leeming@lyx.org>
3215 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3216 explicitly define the color passed to the painter.
3218 2003-09-15 Angus Leeming <leeming@lyx.org>
3220 * bufferparams.C (BufferParams): reorder member initializers to avoid
3223 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3225 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3226 * text.C (updateRowPositions): remove an unusual nop
3228 2003-09-12 André Pönitz <poenitz@gmx.net>
3230 * BufferView_pimpl.C:
3239 * Counters.[Ch]: finish the 'automatic counters' job
3241 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3243 * aspell.C: include <boost/assert.cpp> (compile fix)
3245 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3247 * boost.C (assertion_failed): use lyx::support::abort instead of
3250 2003-09-10 Angus Leeming <leeming@lyx.org>
3252 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3253 with their _fwd progeny.
3255 2003-09-09 Angus Leeming <leeming@lyx.org>
3257 134 files throughtout the source tree: replace 'using namespace abc;'
3258 directives with the appropriate 'using abc::xyz;' declarations.
3260 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3262 * boost.C (emergencyCleanup): moved here from LAssert.c
3263 (assertion_failed): new function, called by BOOST_ASSERT
3265 * several files: change Assert to BOOST_ASSERT
3267 2003-09-09 Angus Leeming <leeming@lyx.org>
3269 * buffer.[Ch]: Add an Impl class and move Buffer's member
3270 variables into it. As a result move several header files out of
3273 Add header files to lots of .C files all over the tree as a result.
3275 2003-09-09 Angus Leeming <leeming@lyx.org>
3277 * buffer.[Ch]: make Buffer's member variables private. Add
3280 Lots of changes all over the tree as a result.
3282 2003-09-08 Angus Leeming <leeming@lyx.org>
3284 * graph.C: #include <config.h>.
3286 2003-09-08 Angus Leeming <leeming@lyx.org>
3290 * BufferView_pimpl.C:
3319 * toc.C: remove redundant using directives.
3321 2003-09-07 Angus Leeming <leeming@lyx.org>
3323 * LaTeXFeatures.h: remove #include "support/types.h".
3324 * ToolbarBackend.h: remove #include <algorithm>.
3325 * changes.h: remove #include <ctime>.
3326 * debug.h: remove #include <iosfwd>.
3327 * graph.h: remove #include "support/std_string.h".
3328 * lyx_main.h: remove #include <csignal>.
3329 * lyxlex_pimpl.h: remove #include <fstream>.
3330 * sgml.h: remove #include <algorithm>, <utility>.
3331 * toc.h: remove #include "support/std_ostream.h".
3332 Add #include <iosfwd>.
3334 2003-09-07 Angus Leeming <leeming@lyx.org>
3336 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3338 * converter.h: forward declare LatexRunParams.
3339 * encoding.h: remove #include "lyxrc.h".
3340 * lyxtext.h: remove #include "LColor.h".
3341 * lyxtextclass.h: remove #include "support/types.h".
3342 * trans.h: remove #include "tex-accent.h".
3343 * trans_mgr.h: remove #include "tex-accent.h".
3344 * insets/inset.h: remove #include "support/types.h", <vector>.
3345 * insets/insetcollapsable.h: remove #include "LColor.h".
3346 * insets/insetinclude.h: remove #include "dimension.h".
3347 * insets/insetlatexaccent.h: remove #include "dimension.h".
3348 * insets/insetoptarg.h:: remove #include "insettext.h".
3349 * insets/insettext.h: remove #include "dimension.h",
3350 <boost/shared_ptr.hpp>
3352 * insets/renderers.h: add #include "dimension.h".
3353 * insets/updatableinset.h: add #include "support/types.h".
3355 * many .C files: Associated changes.
3357 2003-09-06 Angus Leeming <leeming@lyx.org>
3359 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3360 one, inside testInvariant.
3362 * PrinterParams.C: new file.
3363 * PrinterParams.[Ch]: move the function bodies out of line.
3365 2003-09-06 Angus Leeming <leeming@lyx.org>
3367 * ParagraphParameters.h: forward declare ParameterStruct rather than
3368 including its header file.
3369 (depth): moved out-of-line.
3371 2003-09-06 Angus Leeming <leeming@lyx.org>
3373 * BufferView_pimpl.h:
3376 * lyxfunc.h: forward declare LyXKeySym rather than
3377 #include "frontends/LyXKeySym.h".
3379 * BufferView_pimpl.C:
3382 * lyxfunc.C: associated changes.
3384 2003-09-06 Angus Leeming <leeming@lyx.org>
3386 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3387 As a result, can remove the #include "insets/inset.h" from BufferView.h
3389 2003-09-06 Angus Leeming <leeming@lyx.org>
3391 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3392 As a result, can remove the #include "insets/inset.h" from BufferView.h
3394 2003-09-06 Angus Leeming <leeming@lyx.org>
3400 * bufferview_funcs.C:
3401 * BufferView_pimpl.C:
3406 * ParagraphParameters.C:
3411 * frontends/controllers/ControlDocument.C:
3412 * insets/insetcaption.C: rearrange the #includes into some sort of
3415 * buffer.h: remove #includes ErrorList.h, undo.h
3417 2003-09-06 Angus Leeming <leeming@lyx.org>
3419 * support/types.h: add a 'depth_type' typedef, used to store the
3420 nesting depth of a paragraph.
3423 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3424 defining explicitly.
3427 * paragraph_funcs.h:
3428 * ParagraphParameters.h:
3429 * sgml.h: use lyx::depth_type rather than Paragraph or
3430 ParameterStruct's depth_type.
3433 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3436 * BufferView_pimpl.C:
3438 * ParagraphParameters.C:
3441 * bufferview_funcs.C:
3448 * frontends/LyXView.C:
3449 * frontends/controllers/ControlDocument.C:
3450 * frontends/controllers/ControlErrorList.C:
3451 * insets/insetbibitem.C:
3452 * insets/insetbranch.C:
3453 * insets/insetcaption.C:
3454 * insets/insetcollapsable.C:
3455 * insets/insetenv.C:
3456 * insets/insetert.C:
3457 * insets/insetfloat.C:
3458 * insets/insetfoot.C:
3459 * insets/insetfootlike.C:
3460 * insets/insetnewline.C:
3461 * insets/insetquotes.C:
3462 * insets/insettabular.C:
3463 * insets/insettext.C:
3464 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3466 * frontends/controllers/ControlChanges.C: #include "changes.h".
3468 2003-09-06 Angus Leeming <leeming@lyx.org>
3470 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3471 than #including paragraph.h.
3474 * RowList.h: deleted. Superfluous.
3484 * insets/insettext.h: use ParagraphList_fwd.h rather than
3487 * paragraph.h: don't forward declare ParagraphList.
3490 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3491 rather than ParagraphList.h. paragraph.h is still needed for the
3492 Paragraph::depth_type parameters.
3494 * textcursor.h: enable it to compile stand-alone in light of the
3497 * bufferview_funcs.C:
3509 * frontends/controllers/ControlParagraph.C:
3510 * frontends/controllers/ControlTabular.C:
3511 * insets/insetmarginal.C:
3512 * insets/insetminipage.C:
3513 * insets/insetnote.C:
3514 * insets/insetoptarg.C: add header files needed to compile again.
3516 2003-09-06 Angus Leeming <leeming@lyx.org>
3518 * RowList_fwd.h: new file, forward-declaring Row rather than
3519 #including lyxrow.h.
3524 * insets/insettext.h: use it instead of RowList.h
3526 * bufferview_funcs.C:
3533 * text3.C: #include "RowList.h".
3535 2003-09-05 Angus Leeming <leeming@lyx.org>
3537 * factory.C (createInset):
3538 * vspace.C (c-tor): replace sscanf call with an istringstream.
3539 * ispell.C: re-add missing HP/UX headers.
3540 * lyxserver.C: re-add missing os2 headers.
3542 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3551 * text3.C: re-add missing system headers, needed for 2.95.2.
3553 2003-09-05 Angus Leeming <leeming@lyx.org>
3555 Changes most place everywhere due to the removal of using directives
3556 from support/std_sstream.h.
3558 2003-09-05 Angus Leeming <leeming@lyx.org>
3560 Replace LString.h with support/std_string.h,
3561 Lsstream.h with support/std_sstream.h,
3562 support/LIstream.h with support/std_istream.h,
3563 support/LOstream.h with support/std_ostream.h.
3565 Changes resulting throughout the tree.
3567 2003-09-05 Angus Leeming <leeming@lyx.org>
3569 * sgml.h: ensure that the header file can be compiled stand-alone.
3570 * *.C: strip out redundant #includes. (320 in total.)
3572 2003-09-04 Angus Leeming <leeming@lyx.org>
3574 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3575 here (from getPackages).
3577 * debug.[Ch]: add a new EXTERNAL tag.
3579 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3581 * text2.C (cursorEnd): simplify
3583 (getColumnNearX): adjust
3585 * text.C (computeBidiTables): adjust
3588 * rowpainter.C (paintChars): adjust
3589 (paintSelection): adjust
3590 (paintChangeBar): adjust
3593 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3595 (numberOfSeparators): adjust
3597 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3603 * text3.C: Restricts the mouse click functionality
3604 of insets like bibtex, include, toc and floatlist to the visible
3605 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3606 up the dialogs. Cursor has to be in front of the inset (i.e.
3607 start of row) for this to function.
3609 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3611 * bufferview_funcs.C (currentState): output row information
3613 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3615 * bufferview_funcs.C (currentState): output paragraph position
3617 2003-09-04 Angus Leeming <leeming@lyx.org>
3619 * FloatList.h: move out #include "Floating.h".
3620 * LaTeX.h: move out #include "DepTable.h".
3621 * LyXAction.h: move out #include "funcrequest.h".
3622 * buffer.h: move out #include "author.h", "iterators.h".
3623 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3624 * lyx_main.h: move out #include "errorlist.h".
3625 * lyxfunc.h: move out #include "FuncStatus.h".
3626 * lyxtext: move out #include "lyxcursor.h".
3627 * paragraph_pimpl.h: move out #include "counters.h".
3629 2003-09-03 Angus Leeming <leeming@lyx.org>
3631 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3632 preamble_snippets list, enabling us to add snippets to the preamble
3633 only if the snippet was not there already.
3635 2003-09-04 Angus Leeming <leeming@lyx.org>
3637 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3639 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3641 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3644 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3646 * BranchList.C: point fix, earlier forgotten
3648 2003-09-02 Angus Leeming <leeming@lyx.org>
3650 * box.C (contains): renamed from 'contained' after a fantastic
3653 2003-09-02 John Levon <levon@movementarian.org>
3659 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3661 2003-09-02 John Levon <levon@movementarian.org>
3663 * text2.C: simplification of cursorEnd(), including partial
3666 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3668 * buffer.C (readFile): add a space
3670 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3672 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3674 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3676 * buffer.C (readFile): new function, take a filename and a
3677 ParagraphList::iterator
3679 (readFile): adjust, make it private. don't use setStream, make
3680 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3681 always contain the filename.
3683 * BufferView.C (insertLyXFile): simplify and make it work for
3686 2003-08-30 John Levon <levon@movementarian.org>
3688 * Makefile.am: fix dist (from Kayvan)
3690 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3692 * most files: change to use const Buffer refs
3694 2003-08-27 André Pönitz <poenitz@gmx.net>
3696 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3697 on top of ownerPar().
3699 2003-08-27 John Levon <levon@movementarian.org>
3701 * funcrequest.C: properly initialise POD members
3703 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3705 * lyxtext.h (top_y): move top_y from here
3710 * BufferView_pimpl.[Ch]: to here
3711 * frontends/screen.C:
3712 * insets/insettabular.C:
3713 * insets/insettext.C: adjust
3714 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3716 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3719 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3721 2003-08-26 André Pönitz <poenitz@gmx.net>
3723 * paragraph_func.[Ch] (outerPar): new function
3726 * paragraph_funcs.C:
3727 * paragraph_funcs.h:
3728 * paragraph_pimpl.C:
3729 * text2.C: remove Inset::par_owner
3731 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3736 * text2.C: eliminates the needFullRow/display() stuff
3737 altogether, putting the logic in metrics/draw in the insets.
3739 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3741 * text2.C (redoParagraphInternal, redoParagraphs):
3742 * text.C (redoParagraph): add a call to updateRowPositions at the
3743 end of each 'metrics-like' call. Remove all others.
3744 (getRow): remove the 'y-computing' version.
3745 (getRowNearY): do not compute nor return the real y. Solve the
3746 'y < 0' problem and simplify.
3748 2003-08-22 Angus Leeming <leeming@lyx.org>
3750 * *.[Ch]: clean-up of licence and author blurbs.
3751 Also move config.h out of a few .h files and into a few .C files.
3753 2003-08-22 André Pönitz <poenitz@gmx.net>
3755 * lyxrow.[Ch]: add x_ and *fill_ members
3760 * text2.C: adjust/remove prepareToPrint() calls
3762 2003-08-22 André Pönitz <poenitz@gmx.net>
3764 * lyxrow.[Ch]: add end_ member
3766 * lyxrow_funcs.C: use LyXRow::end_
3768 * lyxtext.h (singleWidth): add LyXFont parameter
3771 * text2.C: adjust LyXText::singleWidth() calls
3773 * text.C (redoParagraph): simplify row breaking logic
3776 2003-08-19 André Pönitz <poenitz@gmx.net>
3778 * funcrequest.C: initialize button_ member
3781 * rowpainter.[Ch]: interface consolidation
3783 2003-08-18 André Pönitz <poenitz@gmx.net>
3786 * BufferView_pimpl.C:
3788 * paragraph_funcs.C:
3790 * text3.C: remove LyXScreen::draw() and fitCursor calls
3792 * BranchList.h: remove spurious semicolons
3794 * MenuBackend.C: fix branchlist related crash
3796 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3804 * bufferparams.[Ch]:
3808 * text3.C: implements the 'branch inset'
3809 idea. This allows the output of various versions of a document
3810 from a single source version, selectively outputing or suppressing
3811 output of parts of the text.
3812 This implementation contains a 'branch list editor' in a separate
3813 tab of the document settings dialog. Branches are user definable
3814 and have a "display colour" to distinguish them on-screen.
3816 ColorHandler was somewhat cleaned up.
3817 (1) make possible a dynamically growing LColor list by allowing
3818 the graphic context cache to grow along (vector);
3819 (2) eliminate an IMHO unnecessary step in colour allocation.
3821 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3823 * BufferView_pimpl.C: compile fix
3825 2003-08-15 André Pönitz <poenitz@gmx.net>
3827 * rowpainter.C: remove extra metrics calls
3829 * lyxtext.h: merge the two constructors into a single one,
3830 pass reference to owner's par list
3832 * BufferView_pimpl.C:
3836 2003-08-15 André Pönitz <poenitz@gmx.net>
3838 * lyxrow_funcs.[Ch]:
3841 * paragraph_funcs.C:
3846 * text_funcs.C: split LyXText::rowlist_ into individual
3847 Paragraph::rows_ chunks
3850 * BufferView_pimpl.[Ch]:
3853 * text3.C: remove toggleSelection()
3855 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3857 * bufferlist.C: beautify two alerts (shorter text of buttons)
3858 * buffer.C: Remove redundant ' ' from message
3860 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3861 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3862 rename VALIGN_CENTER to VALIGN_MIDDLE
3864 2003-08-11 André Pönitz <poenitz@gmx.net>
3866 * lyxtext.h (getPar):
3867 * text.C: new function
3869 2003-08-11 André Pönitz <poenitz@gmx.net>
3872 * tracer.[Ch]: remove unneeded files
3874 * InsetList.[Ch]: remove resizeInsetsLyXText()
3879 * text3.C: merge insertParagraphs() and appendParagraph()
3880 remove breakAgain(), update()
3882 * BufferView_pimpl.[Ch]:
3883 * bufferview_funcs.[Ch]:
3887 * tabular.C: adjust after text & InsetList changes.
3889 2003-08-08 André Pönitz <poenitz@gmx.net>
3891 * text.C (insertChar, backspace): replace rowlist fiddling
3892 with rebreak of full par
3895 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3896 checkParagraph, updateInset): removed
3898 2003-08-07 André Pönitz <poenitz@gmx.net>
3901 * text3.C: merge some LFUN handlers, remove dead code
3903 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3905 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3907 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3909 * text2.C (DEPM): fix part of bug 1255 and 1256
3911 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3913 * BufferView_pimpl.C (workAreaDispatch): change to use
3914 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3915 that are no mouse related.
3917 2003-08-05 André Pönitz <poenitz@gmx.net>
3920 * BufferView_pimpl.[Ch]:
3921 * bufferview_funcs.C:
3923 * text3.C: rip out "deep update"
3925 * textcursor.[Ch] (last_sel_cursor): remove unused member
3927 2003-08-04 André Pönitz <poenitz@gmx.net>
3930 * BufferView_pimpl.[Ch]:
3931 * ParagraphParameters.C:
3932 * bufferview_funcs.C:
3938 * text3.C: replace "complicated" BufferView::update(...) calls with
3941 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3943 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3945 * Makefile.am (lyx_SOURCES): add paper.h
3947 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3949 * Makefile.am: move things around so that both lyx-qt and
3950 lyx-xforms can be built (according to --with-frontend). Then lyx
3951 is a symbolic link to lyx-[firstfrontend]
3953 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3955 * Always use std::endl with lyxerr
3957 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3959 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3961 2003-08-01 André Pönitz <poenitz@gmx.net>
3964 * BufferView_pimpl.[Ch]:
3966 * text3.C: merge BufferView::repaint() and BufferView::update()
3968 2003-08-01 José Matos <jamatos@lyx.org>
3970 * buffer.[Ch]: file_format is no longer a buffer data element.
3972 2003-08-01 André Pönitz <poenitz@gmx.net>
3977 * text2.C: make redoParagraph more independent of current cursor
3979 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3981 * text2.C: remove unneeded members
3983 2003-07-30 André Pönitz <poenitz@gmx.net>
3985 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3987 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3988 create a single function...
3990 * paragraph_funcs.C (moveItem): ... here.
3993 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3995 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3997 * LColor.[Ch]: Add comment and greyedout logical colors.
3999 2003-07-30 André Pönitz <poenitz@gmx.net>
4001 * tabular.C: don't use Assert too heavily. This crashes where it
4004 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4006 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4007 is disabled (bug 1232)
4009 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4011 * factory.C: limited 'arg' scope
4013 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4015 * factory.C: fixed Note submenu issues
4017 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4019 * factory.C: submenu for Note/Comment/Greyedout
4021 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4024 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4026 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4029 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4030 greyedout. Patch provided by Jürgen Spitzmüller.
4032 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4034 * kbmap.C (read): fix error message when reading bind files
4036 2003-07-29 Angus Leeming <leeming@lyx.org>
4038 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4039 certainly does not do what it purports to do. I am doing it, and
4040 us, a favour by killing it.
4042 2003-07-28 José Matos <jamatos@lyx.org>
4044 * buffer.C (readBody, do_writeFile):
4045 * paragraph.C(readParagraph): \end_document replaces \the_end.
4047 2003-07-29 André Pönitz <poenitz@gmx.net>
4050 * BufferView_pimpl.[Ch]:
4054 * textcursor.[Ch]: remove toggleToggle & Co
4056 2003-07-28 José Matos <jamatos@fep.up.pt>
4058 * buffer.C (readParagraph):
4059 * params_func (readParToken, readParagraph):
4060 * paragraph.C (write): \layout -> \begin_layout.
4062 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4064 * lyxlex_pimpl.C (setFile): clean up slightly.
4066 * bufferparams.h: add compressed var
4068 * buffer_funcs.C (readFile): adjust for LyXLex change
4069 (newFile): ditto + simplify
4071 * buffer.C (writeFile): handle writing of compressed files
4073 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4074 Check if the file is compressed and set a bufferparm if so.
4076 * Makefile.am (lyx_LDADD): remove explicit -lz
4078 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4080 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4081 makeDocBookFile): put the real LyX version in the first line of
4085 * version.C.in: remove lyx_docversion
4087 * tabular.C (write_attribute): add a template-based version to
4088 write enums properly
4090 2003-07-28 André Pönitz <poenitz@gmx.net>
4095 * text3.C: use doubles again for x-coordinates. They are needed.
4097 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4099 * messages.C (getLocaleDir): use lyx_localedir()
4101 * lyxlex_pimpl.C (setFile): compress stuff
4103 * buffer.C (writeFile): add some compression stuff
4104 (do_writeFile): new func, dont call expliti close... will this
4107 * Makefile.am (lyx_LDADD): add -lz
4109 2003-07-28 José Matos <jamatos@fep.up.pt>
4111 * buffer.C: increment file format.
4112 * paragraph_funcs (readParagraph, readParToken):
4113 * paragraph.C (readParagraph): add \end_layout.
4115 2003-07-27 Angus Leeming <leeming@lyx.org>
4117 * Makefile.am: remove special casing for configure-time setting of
4118 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4120 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4121 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4123 2003-07-26 André Pönitz <poenitz@gmx.net>
4125 * paragraph_func.[Ch]:
4126 * paragraph.C (realizeFont): inline it whereever it is used
4131 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4134 2003-07-26 André Pönitz <poenitz@gmx.net>
4138 * text2.C: get rid of LyXText::need_break_row
4140 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4142 * toc.[Ch]: put namespace toc inside namespace lyx
4144 * MenuBackend.C (expandToc2): adjust for lyx::toc
4147 * lyxfunc.C (dispatch): adjust for lyx::find
4149 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4150 lyx::find instead. Reorganize a bit.
4151 (LyXReplace): rename to replace
4152 (LyXFind): rename to find
4154 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4157 2003-07-26 André Pönitz <poenitz@gmx.net>
4159 * text.C (setHeightOfRow): restrict scope of temporary variable
4161 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4162 code (never has been used?)
4164 2003-07-27 Asger Alstrup <alstrup@local>
4166 * text.C (fill): Optimise algorithm to exploit that we can reuse
4167 the LyXFont for many characters.
4168 (setHeightOfRow): Same thing.
4169 (rowBreakPoint): Same thing.
4171 2003-07-26 Asger Alstrup <alstrup@local>
4173 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4175 * text.C (singleWidth): Spurious font copying in hot-spot
4176 singleWidth avoided. Reorder tests for arabic for efficiency.
4178 * text.C (fill): handle empty paragraphs better.
4180 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4183 * encoding.h: add includes
4185 * lyxrc.C: remove reading of bind files
4187 * lyx_main.C (init): setup bindings and menus only if we have a
4190 * kbmap.C (read): new method. Do the actual reading of bind
4193 * converter.C (dvipdfm_options):
4196 (output): adapt PAPER_* enums.
4198 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4200 * bufferparams.h: remove paper-related enums from there
4202 * paper.h: New file. A trivial header file to hold paper-related
4203 enums. It should later expand to contain many paper-related
4206 * lyxrc.C: declare extern displayTranslator
4208 2003-07-27 José Matos <jamatos@fep.up.pt>
4210 * tabular.[Ch] (linuxdoc): add support for tables and figures
4213 2003-07-27 José Matos <jamatos@fep.up.pt>
4215 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4216 consistency in both functions.
4217 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4219 2003-07-26 Asger Alstrup <alstrup@local>
4221 * rowpainter.C (paintRows): Change algorithm to work directly on
4222 the insets rather than asking every character in the document
4223 whether its an inset.
4225 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4227 * buffer.C (openFileWrite): factorize some code
4229 2003-07-26 Angus Leeming <leeming@lyx.org>
4232 * lyx_main.[Ch]: replace occurances of system_tempdir with
4235 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4237 * rename Inset to InsetOld
4239 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4241 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4242 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4243 which I think is a bit clearer. EDIT is gone, since it was
4244 premature optimisation, and broken for mathed anyway.
4245 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4246 with cursor positioning in insets as well (math insets still do not
4247 work, but that's a different story anyway.) It mysteriously
4248 crashes sometimes with undo in the first paragraph, but I'm fairly
4249 confident that this is a compiler bug.
4251 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4253 * paragraph.C (Paragraph): adjust for new clone return type
4255 (copyIntoMinibuffer): ditto
4257 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4259 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4260 by not having a special case, and always doing a full rebreak of
4261 the document after undo.
4263 2003-07-23 Angus Leeming <leeming@lyx.org>
4265 * factory.C (createInset): InsetExternal::setParams now takes a
4268 2003-07-23 Angus Leeming <leeming@lyx.org>
4270 * factory.C (createInset): changed interface to the external and
4271 graphics mailers' string2params functions.
4273 2003-07-23 Angus Leeming <leeming@lyx.org>
4275 * factory.C (createInset): pass a
4276 Buffer const * parameter to InsetExternalMailer's string2params.
4278 2003-07-22 John Levon <levon@movementarian.org>
4280 * Thesaurus.h: include the right aiksaurus header
4282 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4284 * MenuBackend.C (expand): check menu shortcuts unconditionally
4286 2003-07-21 Angus Leeming <leeming@lyx.org>
4288 * factory.C (createInset): pass a
4289 buffer_path parameter to InsetGraphicsMailer's string2params.
4291 2003-07-21 Angus Leeming <leeming@lyx.org>
4293 * BufferView_pimpl.C (buffer):
4296 * lyxfunc.C (dispatch):
4297 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4298 rather than the grfx shortcut.
4300 2003-07-21 André Pönitz <poenitz@gmx.net>
4302 * rowpainter.C: remove unused variables
4305 * tabular_funcs.h: move to tabular.C
4306 * Makefile.am: adjust
4308 * tabular.[Ch]: basic optical cleaning
4310 * author.h: pass references, not values
4312 2003-07-18 André Pönitz <poenitz@gmx.net>
4320 * text3.C: two-phase drawing for InsetText and InsetTabular
4321 some float -> int changes.
4323 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4325 * lyx_main.C: fix the fix
4327 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4329 * lyx_main.C: fix a crash in batch mode if no files specified
4332 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4334 * format.[Ch] (papersize): moved to BufferParams
4335 * converter.[Ch] (dvips_options): moved to BufferParams
4336 (dvipdfm_options): moved to anon namespace
4337 * bufferparams.[Ch]: added above functions.
4339 2003-07-17 André Pönitz <poenitz@gmx.net>
4343 * text2.C: don't call inset->update() anymore
4345 * metricsinfo.[Ch]: add convenience constructor
4347 2003-07-16 André Pönitz <poenitz@gmx.net>
4352 * text2.C: replace the LyXCursor::irow_ member with
4353 on-demand computation of the value
4355 2003-07-16 John Levon <levon@movementarian.org>
4357 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4359 2003-07-15 André Pönitz <poenitz@gmx.net>
4362 * text2.C: remove no more needed refresh_row
4364 2003-07-15 André Pönitz <poenitz@gmx.net>
4369 * text3.C: refresh_status tristate -> need_update bool
4371 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4373 * lyxtext.h (init): remove reinit argument (act as if always true)
4374 * text2.C: adjust to that
4376 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4378 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4379 * text3.C: use it to delete selections in some cases
4380 (bugs 441, 673, 702, 954).
4382 2003-07-14 André Pönitz <poenitz@gmx.net>
4384 * rowpainter.[Ch]: reduce interface
4386 2003-07-14 André Pönitz <poenitz@gmx.net>
4388 * BufferView_pimpl.C:
4389 * text2.C: adjust after removing unused BufferView * argument
4391 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4393 * text2.C (init): fix a crash fired on resize
4395 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4397 * buffer.[Ch]: added new closing signal
4398 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4399 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4400 BufferView::Pimpl via the closing the signal
4402 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4404 * buffer.[Ch]: take out all bv-related from buffer
4406 * BufferView_pimpl.[Ch]: connect to new signals
4407 * CutAndPaste.C: removed useless asserts
4408 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4411 * lyxfunc.C: moved view-related funciontality from vc here
4412 * paragraph.C: removed outdated comments
4415 2003-07-10 André Pönitz <poenitz@gmx.net>
4417 * BufferView_pimpl.C:
4421 * text2.C: remove InsetText::InnerCache, clean up consequences
4423 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4425 * ispell.C: fix two typos in error messages
4427 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4429 * Extend Note inset to other forms of annotation like Comment
4430 and Greyedout. Right button click gives dialog.
4432 Files modified or added (+):
4436 * ControlNote.[Ch] +
4438 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4439 frontends/controllers
4443 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4445 * aspell.C: add missing namespace lyx::support
4447 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4449 * BufferView.[Ch] (newFile): Add
4450 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4451 * LaTeX.[Ch] (message): added this signal and use it
4452 * buffer.[Ch] (busy, message): added these signals and use them
4453 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4457 * importer.C: use buffer signals instead of direct bv calling
4458 * lyx_cb.[Ch] (ShowMessage): removed
4461 * paragraph_funcs.C:
4462 * text2.C: use buffer signals
4464 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4466 * introduce namespace lyx::graphics
4468 2003-07-02 André Pönitz <poenitz@gmx.net>
4470 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4472 2003-07-01 André Pönitz <poenitz@gmx.net>
4479 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4480 text*.C to text_func.C
4482 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4484 * introduce namespace lyx::support
4486 2003-06-30 André Pönitz <poenitz@gmx.net>
4491 * text.C: re-enable --with-included-string
4493 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4495 * textcursor.C: add <config.h>
4497 * text.C (getWord): remove const from word_location arg
4499 * lyxvc.C (getLogFile): fix const type order
4501 * lyxtext.h: remove const from word_location arg, add arg name
4503 * lyxlayout.h: currect type on labeltype.
4505 * importer.C: correct \file
4507 * converter.C (intToFormat): use std:: on ret val, ws changes
4509 * bufferlist.h: correct \file
4511 * buffer.C (makeLinuxDocFile): fix const type order
4512 (makeDocBookFile): ditto
4513 (fillWithBibKeys): use std:: on stdlib args.
4515 * CutAndPaste.C: fix authors.
4516 (availableSelections): use std:: on return vector
4518 2003-06-27 André Pönitz <poenitz@gmx.net>
4520 * BufferView_pimpl.C:
4521 * bufferview_funcs.C:
4529 * text3.C: remove LyXCursor::row_ member
4532 * text.C: rename fullRebreak() to partialRebreak() and implement
4533 a fullRebreak() that really bereks fully
4535 * textcursor.h: new struct for cursor-related data
4537 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4539 * lyx_main.C (LyX): get full path of document loaded on the
4542 2003-06-26 André Pönitz <poenitz@gmx.net>
4544 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4545 remove unused/broken operator>,<,>=.
4547 * text.C: remove only use of broken operator<= in an Assert().
4549 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4551 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4552 moved errorlist_.clear to showErrorList
4554 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4556 * converter.C (scanLog, runLaTeX):
4557 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4558 move the bv->showErrorList call to the callers
4559 * lyxfunc.C: i.e. here...
4561 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4562 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4563 namespace, the second to...
4564 * buffer_funcs (BufferFormat, parseErrors): added
4565 * errorlist.C (ErrorList(TeXErrors const &)): removed
4567 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4569 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4571 2003-06-24 "Garst R. Reese" <reese@isn.net>
4575 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4577 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4579 * version.C.in: change docversion to 1.4
4581 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4583 * buffer.C: fix a bug just introduced
4585 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4587 * buffer.[Ch]: added the parseError signal and use it, removed
4589 * BufferView.[Ch] (addError): moved to ...
4590 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4591 to the Buffer::parseError signal to catch (guess what) parse errors
4592 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4594 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4596 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4597 ability to create a buffer and to return an existing one from
4598 the list. Moved these functions to...
4599 * buffer_funcs.[Ch]: added
4600 * BufferView.[Ch] (loadLyXFile): added
4601 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4602 job removed from bufferlist::loadLyXFile.
4603 * buffer.C (setReadOnly): make it work without view
4604 (i.e added an if (users))
4606 2003-06-19 Angus Leeming <leeming@lyx.org>
4609 * LyXAction.C (init):
4610 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4611 with LFUN_DIALOG_SHOW <name> <data>.
4613 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4615 * CutAndPaste.C (availableSelections): small compilation fix for
4616 ancient (gcc 2.9x) compilers
4618 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4620 * text3.C (cursorNext): add tmp var
4622 * text2.C (updateCounters): for function calling out of for clause
4623 (replaceSelectionWithString): ditto
4624 (insertStringAsParagraphs): ditto
4625 (getColumnNearX): add tmp var
4626 (setCursorFromCoordinates): add tmp var
4627 (cursorDownParagraph): add tmp var
4628 (deleteEmptyParagraphMechanism): add tmp var
4630 * text.C (insertChar): add tmp var
4632 * rowpainter.C (paintDepthBar): add tmp var
4634 * CutAndPaste.C (availableSelections): potentially check all
4635 paragraphs in a cut to fill the shown strings.
4637 2003-06-18 André Pönitz <poenitz@gmx.net>
4639 * kbmap.[Ch]: use vector<> instead of list<>
4641 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4643 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4644 pasteSelection with index
4646 * text2.C (pasteSelection): modify, call pasteSelection with index
4648 * paragraph.C (asString): reimplement version with no interval to
4649 call the one with interval.
4651 * lyxtext.h: add index arg to pasteSelection
4653 * MenuBackend.C (MenuItem): handle PasteRecent
4654 (Menu::read::Menutags): add md_pasterecent
4656 (expandPasteRecent): new function
4659 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4661 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4663 (availableSelections): new function
4665 2003-06-17 Angus Leeming <leeming@lyx.org>
4667 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4669 2003-06-17 Angus Leeming <leeming@lyx.org>
4672 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4674 * lyxfunc.C (dispatch): invoke it.
4676 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4678 * iterators.C (operator++, ParPosition): reintroduce some
4679 const_cast for the benefit of older compilers.
4681 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4683 * text3.C (dispatch): do not modify clipboard when doing
4684 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4685 LFUN_DELETE_SKIP on a selection selection
4687 2003-06-16 André Pönitz <poenitz@gmx.net>
4693 * tabular.[Ch]: IU of clone() and getLabelList();
4695 2003-06-13 André Pönitz <poenitz@gmx.net>
4697 * tabular.h: compactification
4699 2003-06-12 André Pönitz <poenitz@gmx.net>
4703 * tabular_funcs.h: some renaming plus whitespace
4705 2003-06-12 André Pönitz <poenitz@gmx.net>
4708 * BufferView_pimpl.C:
4714 * toc.C: Return a Paragraph & for ParIterator::operator*()
4716 2003-06-11 John Levon <levon@movementarian.org>
4720 * ToolbarBackend.C: add "Toolbars" section and
4723 2003-06-10 Angus Leeming <leeming@lyx.org>
4726 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4728 * lyxfunc.C (dispatch): invoke it.
4730 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4732 * main.C: protect <ios> with HAVE_IOS
4733 (main): protect sync_with_stdio with HAVE_IOS
4735 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4737 * text2.C (cutSelection): adjust
4738 (pasteSelection): adjust
4740 * messages.C: handle get of empty string
4742 * main.C (main): use sync_with_stdio(false)
4744 * lyxfunc.C (dispatch): adjust
4746 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4747 (WriteAs): remove unneeded BufferView arg.
4749 * bufferparams.h: use correct types on papersize, papersize2 and
4752 * bufferparams.C (readToken): adjust for type
4753 (writeLaTeX): add missing cases to switch.
4755 * bufferlist.C (quitWriteBuffer): adjust
4758 * buffer.C (asciiParagraph): remove some commented code.
4760 * CutAndPaste.C: remove current_view extern variable.
4761 (cutSelection): add BufferParams arg.
4762 (eraseSelection): add BufferParams arg.
4763 (pasteSelection): add Buffer const & arg
4765 2003-06-07 John Levon <levon@movementarian.org>
4768 * paragraph_funcs.C:
4769 * paragraph_pimpl.C:
4773 * paragraph.C: allow InsetERT to freely space lines,
4774 and some consolidation of code
4776 2003-06-06 José Matos <jamatos@fep.up.pt>
4778 * buffer.C (makeDocBookFile): fix bug #821
4780 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4782 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4784 2003-06-04 Angus Leeming <leeming@lyx.org>
4786 * buffer.C: bump format to 224.
4788 2003-06-05 André Pönitz <poenitz@gmx.net>
4790 * text2.C (redoParagraphs): remove two const_cast<>
4792 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4794 * ParagraphList.h: remove last remnants of NO_STD_LIST
4796 2003-06-03 Angus Leeming <leeming@lyx.org>
4798 * factory.C (createInset): small change to the way InsetExternal's params
4801 2003-06-04 André Pönitz <poenitz@gmx.net>
4803 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4805 * paragraph_pimpl.h:
4806 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4808 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4810 * undo_funcs.C: make some simple cases of undo work again
4812 2003-06-03 John Levon <levon@movementarian.org>
4814 * ispell.C: HPUX doesn't have sys/select.h
4817 2003-06-03 John Levon <levon@movementarian.org>
4819 * CutAndPaste.C: update tabular and include inset
4824 * paragraph.C: remove owningBuffer(), don't pass Buffer
4827 * factory.C: insetGraphicsParams changed
4829 2003-06-02 John Levon <levon@movementarian.org>
4835 * text3.C: remove insetparent
4837 2003-06-02 John Levon <levon@movementarian.org>
4840 * buffer.C: fix inset_iterator.end(), move out of line
4843 2003-06-01 John Levon <levon@movementarian.org>
4845 * text3.C: use a proper cut/paste when doing inset
4846 insert (from Jürgen Spitzmüller)
4848 2003-06-01 John Levon <levon@movementarian.org>
4850 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4852 2003-05-30 André Pönitz <poenitz@gmx.net>
4854 * rowpainter.C: unify second drawing phase
4856 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4858 * trans_mgr.C: remove one case of current_view
4860 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4862 * paragraph_funcs.h: remove paragraph.h include
4864 * paragraph.h: delete NO_STD_LIST stuff
4866 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4868 * buffer.h: remove paragraph.h include
4870 * ParagraphList.C: delete file
4872 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4874 * toc.C (getTocList): adjust
4876 * paragraph_pimpl.C (validate): adjust
4878 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4880 * paragraph.C (Paragraph): adjust
4881 (getPositionOfInset): use const_iterator, adjust
4882 (bibitem): use const_iterator, adjust
4883 (setInsetOwner): adjust
4885 * iterators.C (operator++): adjust
4887 * InsetList.[Ch]: Replace selfmade iterator with standard
4888 vector::iterator also introduce const_iterator. Remove getPos,
4889 getInset and setInset from InsetTable. Adjust accordingly.
4891 * BufferView.C (lockInset): adjust
4892 (ChangeInsets): adjust
4894 * tabular.[Ch]: delete commented same_id functions
4896 2003-05-28 John Levon <levon@movementarian.org>
4898 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4900 2003-05-28 André Pönitz <poenitz@gmx.net>
4902 * metricsinfo.[Ch]: remove 'fullredraw' member
4904 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4906 * lyxtextclass.C (operator): remove caching.
4908 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4912 * text2.C (cursorBottom): adjust
4913 (setCounter): use ParagraphList::find, adjust
4915 * text.C (workWidth): use ParagraphList::find, adjust
4917 * lyxcursor.C (LyXCursor): adjust
4919 * buffer.C (inset_iterator): adjust
4921 * ParagraphList.h: make iterator(value_type) private, make
4922 ParagraphList a friend of iterator.
4924 * ParagraphList.C (find): new function
4926 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4928 2003-05-27 André Pönitz <poenitz@gmx.net>
4930 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4932 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4934 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4936 2003-05-26 John Levon <levon@movementarian.org>
4938 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4940 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4942 * remove same_id from function signatures, adjust.
4944 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4946 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4948 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4950 * paragraph.C (Paragraph): get rid of same_ids parameter
4952 * ParagraphList.C (insert): adjust
4955 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4957 * paragraph_funcs.C (breakParagraph): adjust
4958 (breakParagraphConservative): adjust
4960 * buffer.C (readParagraph): adjust
4962 * ParagraphList.C (insert): take a reference instead of a pointer
4965 * paragraph.[Ch] (id): new function
4967 * bufferlist.C (newFile): adjust
4969 * ParagraphList.C (ParagraphList): adjust
4971 (push_back): take a reference instead of a pointer.
4973 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4975 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4978 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4979 set else use old code.
4981 * ParagraphList.C: remove all NO_NEXT code and only compile this
4982 code of NO_STD_LIST is set.
4984 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4986 * BufferView_pimpl.C:
4996 * graphics/GraphicsConverter.C:
4997 * graphics/PreviewLoader.C: header adjustment
4999 2003-05-23 Angus Leeming <leeming@lyx.org>
5001 * LaTeXFeatures.[Ch] (useBabel): new method.
5002 * bufferparams.C (writeLaTeX): use it.
5004 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5006 * ParagraphList.h (set): remove unused function.
5008 2003-05-23 André Pönitz <poenitz@gmx.net>
5011 * BufferView_pimpl.C:
5015 * undo_funcs.C: setUndo reworked
5017 * iterators.[Ch]: add access to topmost ParagraphList
5019 * lyxtext.[Ch] (workWidth): add a const
5021 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5023 * texrow.[Ch] (increasePos): remove function
5024 * exporter.C (export): removed unused var and outdated comment
5026 2003-05-23 Angus Leeming <leeming@lyx.org>
5028 * latexrunparams.h: rename fragile as moving_arg.
5029 * paragraph.C (simpleTeXOnePar): ditto.
5030 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5032 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5034 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5036 (textUndoOrRedo): comment out a currently unused var.
5038 * paragraph.h (NO_NEXT): enable NO_NEXT
5040 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5042 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5044 * exporter.C (Export): adjust for removeAutoInsets removal.
5046 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5048 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5050 * BufferView.[Ch] (removeAutoInsets): delete function
5052 2003-05-22 Angus Leeming <leeming@lyx.org>
5054 * latexrunparams.h: add a free_spacing variable.
5056 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5057 to pass moving_arg, as the data is stored in runparams.fragile.
5059 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5060 to Inset::latexOptional or to simpleTeXOnePar.
5062 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5063 free_spacing arg to Inset::latexOptional.
5065 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5068 2003-05-22 Angus Leeming <leeming@lyx.org>
5070 * latexrunparams.h: add fragile and use_babel variables.
5072 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5073 * buffer.C (makeLaTeXFile): store this returned value in
5074 runparams.use_babel, thus passing it to the inset::latex methods.
5076 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5077 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5079 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5080 longer has a fragile arg, as it is stored in runparams.fragile.
5082 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5083 moving_arg parameter as the data is stored in runparams.fragile.
5085 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5086 a fragile parameter as the data is stored in runparams.fragile.
5088 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5090 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5092 2003-05-22 Angus Leeming <leeming@lyx.org>
5094 * latexrunparams.h: add a 'bool nice' which defaults to false.
5096 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5097 now encapsulated within runparams.
5099 * bufferlist.C (updateIncludedTeXfiles):
5100 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5102 2003-05-22 Angus Leeming <leeming@lyx.org>
5104 * latexrunparams.h: new file containing struct LatexRunParams.
5105 * Makefile.am: add new file.
5107 * LaTeX.[Ch] (c-tor, run):
5108 * buffer.[Ch] (makeLaTeXFile):
5109 * bufferlist.[Ch] (updateIncludedTeXfiles):
5110 * converter.C (convert, scanLog):
5111 * converter.[Ch] (runLaTeX):
5112 * exporter.C (Export):
5113 * paragraph.[Ch] (simpleTeXOnePar):
5114 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5115 * paragraph_funcs.[Ch] (latexParagraphs):
5116 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5117 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5118 pass around a LatexRunParams parameter.
5120 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5122 * paragraph.[Ch]: remove unused constructor
5124 * ParagraphList.C (erase): new function, taking two iterators
5126 2003-05-22 André Pönitz <poenitz@gmx.net>
5128 * undo_funcs.C: remove duplicated code
5130 * iterator.[Ch]: operator=
5132 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5134 * tabular.C (SetMultiColumn): ws changes
5136 * rowpainter.C (paintFirst): get rid of a ->previous
5138 * lyx_cb.C (getPossibleLabel): parlist simplification
5140 * BufferView.C (ChangeInsets): simplify slightly.
5142 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5144 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5145 * lfuns.h: new LFUN_SPACE
5146 * lyxfunc.C: protected space has a new lfun
5147 * paragraph_funcs.C: read new space insets
5149 * factory.C: handle new space insets
5151 2003-05-22 André Pönitz <poenitz@gmx.net>
5154 * BufferView_pimpl.C:
5157 * undo_funcs.C: return a ParIterator from getParFromID.
5159 * iterators.[Ch]: add two const's
5161 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5163 * toc.C (getTocList): adjust
5165 * iterators.[Ch]: rework for parlist
5167 * buffer.C (par_iterator_begin): adjust
5168 (par_iterator_end): adjust
5170 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5172 * BufferView.C (removeAutoInsets): adjust
5173 (ChangeInsets): adjust
5175 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5177 * text.C (top_y): fix bug 1110
5179 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5181 * errorlist.[Ch]: added
5184 * BufferView_pimpl.C:
5185 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5188 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5190 * Makefile.am: ensure that lyx is relinked upon changes to the
5191 various "convenience" libs.
5193 2003-05-20 Angus Leeming <leeming@lyx.org>
5195 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5196 files are compiled in alphabetical order again.
5198 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5200 2003-05-19 Angus Leeming <leeming@lyx.org>
5202 * gettext.[Ch]: remove "char const * _(char const *)".
5204 2003-05-19 André Pönitz <poenitz@gmx.net>
5206 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5215 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5217 2003-05-19 André Pönitz <poenitz@gmx.net>
5221 * lyxtextclass.[Ch]:
5223 * paragraph_funcs.[Ch]:
5225 * text3.C: more insetenv work
5227 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5229 * ParagraphParameters.C (params2string): small bug fixed
5231 2003-05-16 André Pönitz <poenitz@gmx.net>
5234 * bufferview_funcs.C: patch from Kornel Benko to prevent
5235 crash when _(...) is called twice in a statement
5237 2003-05-16 André Pönitz <poenitz@gmx.net>
5244 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5246 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5248 * lyx_main.C (init): remove spurious static_cast
5250 2003-05-14 André Pönitz <poenitz@gmx.net>
5252 * BufferView.C: fix format string
5254 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5256 * BufferView.[Ch] (insertErrors): removed
5257 * BufferView.[Ch] (showErrorList): added
5258 * buffer.C (runChkTeX):
5259 * converter.C (scanLog): call showErrorList instead of inserterrors
5261 2003-05-13 André Pönitz <poenitz@gmx.net>
5263 * BufferView_pimpl.C:
5265 * bufferview_func.C:
5272 * tabular_funcs.h: tostr() from its own header
5274 * ParagraphParameters.C:
5279 * text3.C: STRCONV()
5281 2003-05-12 André Pönitz <poenitz@gmx.net>
5284 * BufferView_pimpl.C:
5288 * ParagraphParameters.C:
5292 * bufferview_funcs.C:
5305 * paragraph_funcs.C:
5309 * text3.C: boost::format -> bformat all over the place
5312 2003-05-09 André Pönitz <poenitz@gmx.net>
5314 * LColor.[Ch]: Pimpl the #include <map> away
5316 2003-05-09 John Levon <levon@movementarian.org>
5318 * bufferlist.C: never remove emergency saves
5320 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5322 * Makefile.am: better lib building
5324 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5326 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5328 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5329 (simpleTeXSpecialChars): adjust
5330 (simpleTeXSpecialChars): adjust
5331 * paragraph.C (simpleTeXOnePar): adjust
5332 * buffer.C (makeLaTeXFile): adjust
5334 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5336 * text2.C (changeDepth): parlist cleanup
5337 (getColumnNearX): ditto
5339 * rowpainter.C (getLabelFont): parlist cleanup
5341 * bufferlist.C (newFile): parlist cleanup
5343 * CutAndPaste.C (eraseSelection): parlist cleanup
5345 * BufferView_pimpl.C (trackChanges): parlist cleanup
5348 * BufferView.C (lockInset): parlist cleanup.
5349 (ChangeInsets): ditto
5351 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5353 * CutAndPaste.h: Update file header.
5355 * CutAndPaste.C: Update file header.
5356 Store the parts cut out of the Document in a limited_stack.
5357 (copySelection): adjust
5358 (pasteSelection): new function, takes the index in the limited stack.
5359 (nrOfParagraphs): adjust
5360 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5361 simplify error inset insertion.
5362 (checkPastePossible): adjust
5364 2003-05-06 John Levon <levon@movementarian.org>
5366 * text2.C: don't cast wrap inset to float
5368 2003-05-05 André Pönitz <poenitz@gmx.net>
5371 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5373 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5374 few naked Paragraph *.
5376 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5378 * bufferparams.C: Output warning if a document with missing
5379 TeX document class is loaded
5380 * exporter.C: Disable TeX exports if the document class is missing
5383 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5384 isTeXClassAvailable()
5386 2003-05-03 John Levon <levon@movementarian.org>
5389 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5390 explicit cursor show/hide
5392 * BufferView_pimpl.h:
5393 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5394 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5396 * lyxfunc.C: hide cursor before dispatching.
5401 * text3.C: remove explicit cursor hides
5403 2003-05-02 André Pönitz <poenitz@gmx.net>
5405 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5408 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5411 * text2.C: tiny whitespace
5413 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5415 * undo_funcs.C: almost only ws changes.
5417 * ParagraphList.C (splice): just return if pl is empty.
5419 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5421 * ParagraphList.C (splice): new function.
5423 * CutAndPaste.C (pasteSelection): use it
5425 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5427 * CutAndPaste.C (pasteSelection): remove the last next and
5428 previous from this file.
5430 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5432 * CutAndPaste.C (pasteSelection): more clean up, user proper
5433 ParagraphList functions for pasteing.
5435 * ParagraphList.C (insert): new function, three arg insert
5437 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5439 * ParagraphList.C (insert): new function, three arg insert
5441 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5444 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5446 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5448 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5450 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5452 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5454 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5455 (copySelection): clean up a bit.
5456 (pasteSelection): use make_pair
5458 * ParagraphList.C (ParagraphList): implement copy constructor
5459 (operator=): implement, base on copy constructor.
5462 * paragraph.C (erase): return a bool
5464 * paragraph_pimpl.C (erasePos): remove function, move contents...
5465 (erase): ... here. Return a bool.
5466 (erase): call erase instead of erasePos.
5468 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5470 * ParagraphList.h: define PitPosPair
5471 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5472 ParagraphList, fix a bug on pasting multiple pars
5473 * text2.C: change interface to C&P
5475 2003-04-30 André Pönitz <poenitz@gmx.net>
5477 * undo_func.C: revert part of yesterday's patch 2
5479 2003-04-30 John Levon <levon@movementarian.org>
5481 * LColor.C: s/tabular/table/
5483 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5485 * text3.C (dispatch): do not convert iterator -> pointer
5486 * undo_funcs.C (setCursorParUndo): ditto
5487 * text_funcs.C (transposeChars): ditto
5489 * text2.C (setLayout): ws changes only
5491 * text.C (breakParagraph): do not convert iterator -> pointer
5493 (acceptChange): ditto
5494 (rejectChange): ditto
5499 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5502 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5504 * text3.C (gotoInset): YABG (yet another bad getChar)
5506 2003-04-29 André Pönitz <poenitz@gmx.net>
5508 * paragraph.h: make operator= private unimplemented as long as
5511 * ParagraphList.C: whitespace
5514 * paragraph_pimpl.[Ch]:
5515 * paragraph_funcs.C:
5517 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5520 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5522 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5524 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5525 * paragraph.[Ch] (erase):
5526 * paragraph_pimpl.[Ch] (erase): change return type and value
5527 * text2.C (cutSelection): some rework
5529 2003-04-28 John Levon <levon@movementarian.org>
5531 * bufferlist.C: changes for unsaved changes dialog
5533 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5535 * bufferlist.C (newFile): set language (messages_) for new
5538 * buffer.C (readFile): ws changes only.
5540 2003-04-28 André Pönitz <poenitz@gmx.net>
5545 * BufferView_pimpl.C:
5546 * BufferView.C: getParFromID related ParagraphList::iterator changes
5548 2003-04-28 André Pönitz <poenitz@gmx.net>
5550 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5553 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5555 * messages.C: remove one more localedir class variable.
5557 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5559 * messages.C (getLocaleDir): singleton generation function
5561 (Messages): add a default constructor.
5563 * main.C (main): do not setup localedir here, do not call
5566 * gettext.C (_): use it.
5567 (gettext_init): delete funciton
5569 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5571 * gettext.C (getLyXMessages): new singleton generating function.
5573 * buffer.C (updateDocLang): adjust
5575 * Makefile.am (messages.o): add target
5576 (main.o): remove target
5578 2003-04-27 John Levon <levon@movementarian.org>
5583 * lyxvc.C: specify cancel button in Alert::prompt
5585 2003-04-26 John Levon <levon@movementarian.org>
5590 * LyXAction.C: add LFUN_INSET_SETTINGS
5592 * lyxfunc.C: don't enable tabular-feature when there's
5593 just any locking inset
5595 2003-04-26 John Levon <levon@movementarian.org>
5597 * bufferlist.C: re-add Cancel to buffer close question
5599 * lyxfunc.C: fix import UI a bit
5601 2003-04-25 John Levon <levon@movementarian.org>
5603 * gettext.C: remove the broken asserts for now
5605 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5607 * messages.C: make case where setlocale cannot comply work better.
5609 * buffer.C (updateDocLang): new function
5610 (changeLanguage): use it
5613 * text2.C (setCounter): use B_ a bit.
5615 * lyxlayout.C (Read): be sure to trim the label strings.
5617 * messages.C (Messages): fix typo in comment
5619 * buffer.C (readFile): set message_ after file is loaded.
5620 (makeDocBookFile): remove double return
5621 (changeLanguage): reset message_ upon language change.
5622 (B_): new func, use this to get translated buffer strings.
5624 * main.C: add myself and Jean Marc as authors.
5626 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5628 * messages.[hC]: pimplify Messages, and three different pimpls to be
5629 used in different circumstances.
5631 * gettext.[Ch]: change for use with new message code.
5633 2003-04-24 André Pönitz <poenitz@gmx.net>
5635 * factory.C: support for eqref
5637 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5639 * messages.[Ch]: add missing char
5641 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5643 * messages.[Ch]: New files
5645 2003-04-18 John Levon <levon@movementarian.org>
5649 * BufferView_pimpl.C:
5653 * text2.C: remove layout-copy/paste (bug 778)
5655 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5657 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5659 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5661 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5662 if they succeed. Act accordingly.
5664 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5666 * text2.C (setCharFont): adjust
5667 (setCounter): adjust
5668 (insertStringAsLines): adjust
5670 * text.C (leftMargin): adjust
5671 (setHeightOfRow): adjust
5673 * rowpainter.C (paintFirst): adjust
5676 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5678 (isFirstInSequence): ditto
5679 (getEndLabel): ditto
5682 * paragraph.C (getParLanguage): comment out some hard stuff.
5684 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5686 (simpleDocBookOnePar): ditto
5687 (makeDocBookFile): use ParagraphList::iterator
5689 * CutAndPaste.C (pasteSelection): adjust
5691 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5693 * text2.C (getFont): adjust
5694 (getLayoutFont): adjust
5695 (getLabelFont): adjust
5697 * paragraph_funcs.C (TeXOnePar): adjust
5699 * buffer.C (simpleLinuxDocOnePar): adjust
5700 (simpleDocBookOnePar): adjust
5702 * CutAndPaste.C (pasteSelection): adjust
5704 * BufferView.C (getEncoding): adjust
5706 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5708 2003-04-16 John Levon <levon@movementarian.org>
5710 * lyxfind.C: use parlist stuff for search/changes
5712 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5714 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5716 * text2.C (deleteEmptyParagraphMechanism): adjust
5718 * text2.[Ch] (ownerParagraph): delete func (both of them
5720 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5722 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5724 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5726 * ParagraphList.C: prepare for NO_NEXT
5728 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5730 * text2.C (getFont): adjust
5731 (getLayoutFont): adjust
5732 (getLabelFont): adjust
5734 * paragraph.C (getFont): adjust
5735 (getLabelFont): adjust
5736 (getLayoutFont): adjust
5738 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5740 2003-04-15 John Levon <levon@movementarian.org>
5744 * lyx_main.C: handle Include in .ui files
5746 2003-04-15 John Levon <levon@movementarian.org>
5748 * MenuBackend.C: make the doc files length shorter
5751 * ToolbarBackend.C: handle toolbar placement flags,
5754 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5756 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5759 * paragraph_funcs.C (TeXOnePar): adjust
5761 * paragraph.C (getLabelFont): add outerfont arg, adjust
5762 (getLayoutFont): ditto
5763 (simpleTeXOnePar): adjust
5765 * paragraph_pimpl.C (realizeFont): delete func
5767 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5769 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5770 row argument, constify cur argument.
5772 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5774 * text2.C (getFont): adjust
5775 (getLayoutFont): adjust
5776 (getLabelFont): adjust
5778 * paragraph_funcs.C (TeXOnePar): adjust
5779 (outerFont): new func...
5780 (realizeFont): ...moved out from here, changed this to facilitate
5783 * paragraph.C (getFont): take outerfont as arg, adjust
5784 (simpleTeXOnePar): add outerfont arg, adjust
5786 * buffer.C (simpleLinuxDocOnePar): adjust
5787 (simpleDocBookOnePar): adjust
5789 * CutAndPaste.C (pasteSelection): adjust
5791 * BufferView.C (getEncoding): adjust
5793 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5795 * text2.C (setCharFont): adjust
5796 (setCounter): adjust
5798 * text.C (leftMargin): adjust
5799 (setHeightOfRow): adjust
5801 * rowpainter.C (paintFirst): adjust
5804 * paragraph_pimpl.C (realizeFont): adjust
5806 * paragraph.C (isFirstInSequence): move from here...
5807 * paragraph_funcs.C (isFirstInSequence): ...to here
5809 * paragraph.C (outerHook): move from here...
5810 * paragraph_funcs.C (outerHook): ...to here
5812 * paragraph.C (depthHook): move from here...
5813 * paragraph_funcs.C (depthHook): ...to here
5815 * paragraph.C (getEndLabel): move from here...
5816 * paragraph_funcs.C (getEndLabel): ...to here
5818 * text2.C (realizeFont): move from here...
5819 * paragraph_funcs.C (realizeFont): ...to here
5821 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5823 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5825 2003-04-14 Angus Leeming <leeming@lyx.org>
5827 * LColor.[Ch]: scrap LColor mathcursor.
5829 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5831 * lyxlex.[Ch] (text): delete function
5832 * trans.C (Load): adjust
5833 * paragraph_funcs.C (readParToken): adjust
5835 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5837 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5838 vector<char> instead of a char[].
5840 * lyxlex_pimpl.C (getString): adjust
5842 (lex): use getString
5846 * lyxlex.C (text): use pimpl_->getString()
5850 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5852 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5853 (makeFontEntriesLayoutSpecific): temp var for par.size()
5854 (setLayout): temp var for ownerParagraphs().end()
5855 (fullRebreak): temp var for rows().end()
5856 (selectionAsString): temp var for boost::next(startpit), realize
5857 that the while really is a regular for loop.
5858 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5859 setCursor in one place.
5860 (setParagraph): temp vr for ownerParagraphs().end()
5861 (updateCounters): make the while loop a for loop
5862 (cutSelection): temp var for ownerParagraphs().end()
5863 (updateInset): make the do {} while() a regular for loop
5864 (getCursorX): use temp vars
5865 (setCurrentFont): use temp vars
5866 (getColumnNearX): use temp vars
5868 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5870 * text.C (transformChar): use temp var for getChar
5871 (computeBidiTables): use temp var for row->par()
5872 (fill): move temp vars for row->par() and pit->layout() earlier in
5874 (labelFill): use temp var for row->par()
5875 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5876 asc and desc, realize that pit never changes and that firstpit is
5877 just a duplicate and not needed. Exchange rit->par() with pit in a
5879 (breakAgain): use a temp var for boost::next(rit)
5880 (breakAgainOneRow): ditto
5881 (breakParagraph): use a temp var for rows().begin()
5882 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5883 (cursorRightOneWord): use temp var for cursor.par() and
5884 cursor.pos(), remove usage of tmpcursor.
5885 (cursorLeftOneWord): use temp var for cursor.par() and
5886 cursor.pos() only set cur at end of function.
5888 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5890 * text.C, text2.C: exchange all usage of Paragraph::next with
5891 boost::next(ParagraphList::iterator)
5893 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5895 * text2.C (cursorTop): simplify implementation
5896 (cursorBottom): ditto
5897 (setParagraph): use ParagraphList::iterator
5898 (setCurrentFont): adjust
5899 (getColumnNearX): adjust
5900 (cursorRight): adjust
5901 (cursorLeft): remove usage of Paragraph::previous
5902 (cursorUpParagraph): ditto
5903 (deleteEmptyParagraphMechanism): slight cleanup
5905 * text.C (isBoundary): take a Paragraph const & instead of a
5907 (addressBreakPoint): ditto
5908 (leftMargin): remove usage of Paragraph::previous.
5909 (setHeightOfRow): ditto
5910 (cursorLeftOneWord): ditto
5911 (selectNextWordToSpellcheck): ditto
5914 (breakParagraph): remove one usage of Paragraph::next
5915 (redoParagraph): ditto
5916 (acceptChange): ditto
5917 (insertChar): adjust
5918 (rowBreakPoint): adjust
5920 * bufferview_funcs.C (toggleAndShow): adjust
5922 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5924 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5925 methods to access it.
5927 * text.C: Added updateRowPositions to compute all row positions.
5928 Make top_y and getRowNearY() to use the cached y position
5930 2003-04-11 John Levon <levon@movementarian.org>
5932 * text.C (rowBreakPoint): reintroduce the labelEnd
5933 checks, code copied from the row fill stuff. Deep voodoo.
5935 * text.C (fill): add a comment and debugging for the
5938 2003-04-11 John Levon <levon@movementarian.org>
5940 * text.C: make sure fullrow insets get wrapped to the next line,
5941 even when they're in a manual label
5943 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5945 * text2.C (insertParagraph): make it take ParagraphList::iterator
5947 (setLayout): make it return ParagraphList::iterator
5948 (redoParagraphs): ditto
5950 (checkParagraph): ditto
5952 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5954 * text2.C: adjust several funcs.
5955 (realizeFont): take a ParagraphList::iterator as arg.
5956 (getLayoutFont): ditto
5957 (getLabelFont): ditto
5958 (setCharFont): ditto
5960 * text.C: adjust several funcs.
5962 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5964 * text.C (selectNextWordToSpellcheck): don't accidentally
5967 2003-04-10 John Levon <levon@movementarian.org>
5969 * ToolbarBackend.C (getIcon): special handling for
5972 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5974 * text2.C (cursorRight): a getChar assert fixed
5976 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5978 * text2.C (getFont): change to take a ParagraphList::iterator
5979 instead of Paragraph*
5980 Adjust several functions.
5982 * text.C (transformChar): change to take a ParagraphList::iterator
5983 instead of Paragraph*
5984 (singleWidth): ditto
5985 Adjust several functions.
5987 * rowpainter.C: adjust several functions
5988 * rowpainter.h:store a ParagraphList::iterator and not a
5992 2003-04-09 John Levon <levon@movementarian.org>
5997 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5998 and the "help" bits as well
6000 2003-04-09 John Levon <levon@movementarian.org>
6003 * ToolbarBackend.C: allow multiple toolbars
6005 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6007 * undo_funcs.C (setCursorParUndo): adjust
6009 * text_funcs.C (transposeChars): adjust
6011 * text3.C (gotoNextInset): adjust
6014 * text2.C (setLayout): adjust
6015 (changeDepth): adjust
6017 (redoParagraphs): adjust
6018 (selectionAsString): adjust
6019 (setParagraph): adjust
6020 (insertInset): adjust
6021 (cutSelection): adjust
6022 (copySelection): adjust
6023 (pasteSelection): adjust
6024 (insertStringAsLines): adjust
6025 (updateInset): adjust
6026 (setCursor): change to take a ParagraphList::iterator parameter
6027 (setCursorIntern): change to take a ParagraphList::iterator parameter
6028 (setCurrentFont): adjust
6029 (cursorLeft): adjust
6030 (cursorRight): adjust
6031 (deleteEmptyParagraphMechanism): adjust
6033 * text.C (breakParagraph): adjust
6034 (insertChar): adjust
6035 (acceptChange): adjust
6036 (rejectChange): adjust
6037 (selectNextWordToSpellcheck): adjust
6038 (changeCase): adjust
6042 * lyxfind.C (SearchForward): adjust
6043 (SearchBackward): adjust
6044 (nextChange): adjust
6046 * lyxcursor.C (par): adjust
6048 * lyxcursor.h: store a ParagraphList::iterator instead of a
6051 * lyx_cb.C (getPossibleLabel): adjust
6053 * bufferview_funcs.C (toggleAndShow): adjust
6055 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6058 * BufferView.C (removeAutoInsets): adjust
6059 (lockedInsetStoreUndo): adjust
6061 2003-04-09 John Levon <levon@movementarian.org>
6063 * ToolbarBackend.C: try icon without argument
6064 if with argument fails
6066 2003-04-08 John Levon <levon@movementarian.org>
6069 * ToolbarBackend.C: add getIcon(), handle tooltip,
6070 and change from "Icon" to "Item".
6072 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6074 * BufferView.C (lockInset): another bad getchar crunched
6076 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6078 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6081 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6083 * lyxfind.C (searchForward, searchBackwards): bug 782
6085 2003-04-07 John Levon <levon@movementarian.org>
6087 * paragraph.C: remove dead comment
6089 * text.C: remove troublesome depth-fiddling code
6090 in leftMargin() and rightMargin() (bug 1017)
6092 * text.C: fix breaking of rows in nested lists
6095 * text2.C (updateCounters): fix up depth values
6098 2003-04-07 John Levon <levon@movementarian.org>
6100 * BufferView_pimpl.C: clear message when doc finishes resizing,
6101 and after a mouse event
6103 * lyxfunc.C: clear message after exiting inset
6105 2003-04-07 John Levon <levon@movementarian.org>
6107 * bufferview_funcs.C: show math status not outside
6108 status in the statusbar
6110 2003-04-07 John Levon <levon@movementarian.org>
6112 * lyxfunc.C: note status changed after a depth change
6114 2003-04-04 Angus Leeming <leeming@lyx.org>
6116 * LaTeX.h: move AuxInfo operator==, != out of line.
6117 Remove LaTeX virtual destructor; nothing derives from it.
6118 Move operator()() out of public area and rename it startscript().
6119 Change protected for private.
6121 2003-04-04 Angus Leeming <leeming@lyx.org>
6124 * text2.C: remove unneeded #includes.
6126 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6128 * text2.C (dEPM): fix the heigth of the next row
6130 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6132 * text.C: squashed an invalid getChar requester + some ws changes
6134 2003-04-03 John Levon <levon@movementarian.org>
6136 * bufferview_funcs.h:
6137 * bufferview_funcs.C:
6140 * text2.C: make getStatus work for the env depth lfuns
6142 2003-04-03 John Levon <levon@movementarian.org>
6144 * bufferview_funcs.h:
6145 * bufferview_funcs.C:
6148 * text2.C: parlistize decDepth(), by merging it with incDepth()
6150 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6152 * lyxrow.h: store a ParagraphList::iterator instead of a
6153 Paragraph* and adjust other class functions to suit.
6155 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6158 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6160 * text2.C (setCursor): do not anchor to cursor row for the time being
6162 2003-04-02 John Levon <levon@movementarian.org>
6169 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6171 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6173 * paragraph.h: make ParagraphList and ParagraphList::iterator
6174 friends of Paragraph.
6176 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6178 * ParagraphList.C: Use the private next_ and previous_ from
6181 2003-04-01 John Levon <levon@movementarian.org>
6185 * Makefile.am: rename, remove defaults gunk
6188 * MenuBackend.C: remove defaults gunk
6191 * Languages.C: remove defaults gunk
6194 * lyx_main.C: error out if files couldn't be found.
6196 2003-04-02 John Levon <levon@movementarian.org>
6198 * text2.C: make incDepth() use parlist
6200 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6202 * undo_funcs.C (firstUndoParagraph): adjust
6204 * text3.C (gotoInset): adjust
6205 (dispatch): adjust, and rewrite loop.
6207 * text2.C (init): adjust, and rewrite loop.
6208 (redoParagraphs): adjust
6209 (updateInset): adjust, and rewrite loop.
6210 (deleteEmptyParagraphMechanism): adjust
6212 * tabular.C (LyXTabular): adjust
6213 (SetMultiColumn): adjust
6216 * lyxtext.[Ch] (ownerParagraph): delete function
6217 (ownerParagraphs): new function returns a ParagraphList.
6219 * BufferView.C (removeAutoInsets): adjust
6220 (insertErrors): adjust
6221 (setCursorFromRow): adjust
6223 2003-04-01 Angus Leeming <leeming@lyx.org>
6225 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6228 2003-04-02 John Levon <levon@movementarian.org>
6234 * text_funcs.C: make transposeChars a free function
6236 * lyxrow_funcs.C: remove wrong comment
6238 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6241 * rowpainter.C: adjust
6246 * lyxrow_funcs. [Ch]: new files
6248 * lyxrow.[Ch]: remove next and previous pointers
6249 (next,previous): remove accessor functions
6250 (isParEnd): move to lyxrow_funcs
6251 (lastPos): move to lyxrow_funcs
6252 (nextRowIsAllInset): move to lyxrow_funcs
6253 (lastPrintablePos): move to lyxrow_funcs
6254 (numberOfSeparators): move to lyxrow_funcs
6255 (numberOfHfills): move to lyxrow_funcs
6256 (numberOfLabelHfills): move to lyxrow_funcs
6257 (hfillExpansion): move to lyxrow_funcs
6261 * bufferview_funcs.C (toggleAndShow): adjust
6263 * RowList.h: Remove class RowList from file leave just a
6266 * RowList.C: delete file
6268 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6271 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6273 * text3.C (cursorPrevious): adjust
6274 (cursorNext): adjust
6277 * text2.C (redoHeightOfParagraph): adjust
6278 (redoDrawingOfParagraph): adjust
6281 * text.C (breakParagraph): adjust
6282 (insertChar): adjust
6285 * rowpainter.C (RowPainter): adjust
6286 (leftMargin): simplify and adjust
6287 (most rowpainter functions): adjust.
6289 * rowpainter.h: store the row as RowList::iterator not as Row*
6291 * lyxcursor.C (row): taka RowList::iterator as arg
6294 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6297 2003-04-01 Angus Leeming <leeming@lyx.org>
6299 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6300 stuff like bool Bool.
6302 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6304 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6307 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6309 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6312 * lyxtext.h (rows): drop one version and leve a const variant that
6313 returns a RowList::iterator.
6315 2003-03-31 Angus Leeming <leeming@lyx.org>
6317 * text.C (fill): ensure that the signature is the same as that in the
6320 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6322 * text2.C (redoParagraphs): adjust
6323 (updateCounters): adjust
6324 (checkParagraph): adjust
6325 (getColumnNearX): adjust and reformat a bit.
6327 * text.C (top_y): adjust
6329 (leftMargin): adjust
6330 (prepareToPrint): adjust
6332 (getRowNearY): adjust
6334 * lyxtext.h: make rowlist_ mutable.
6336 * RowList.h: add const_iterator
6337 * RowList.C: adjust for RowList::const_iterator.
6339 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6342 2003-03-31 John Levon <levon@movementarian.org>
6345 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6347 * lyx_main.C: set default fonts from using lyx_gui funcs
6349 * exporter.C: pdf_mode moved from lyxrc
6352 * lyxfunc.C: changes from above
6354 2003-03-31 John Levon <levon@movementarian.org>
6356 * lyx_main.C: fix to the last fix
6358 2003-03-31 John Levon <levon@movementarian.org>
6360 * bufferlist.C: "Load original" -> "Load Original"
6366 * format.C: more Alert cleanups
6368 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6370 * text2.C (removeParagraph): make it take a RowList::iterator as
6372 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6373 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6375 * text.C (anchor_row): make it take a RowList::iterator as arg,
6377 (computeBidiTables): make it take a const reference to Row instead
6378 of Row pointer, adjust.
6379 (leftMargin): make it take a RowList::iterator as arg, adjust.
6380 (rowBreakPoint): adjust
6381 (breakAgainOneRow): make it take a RowList::iterator as arg,
6383 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6385 * bufferview_funcs.C (toggleAndShow): adjust
6387 2003-03-30 John Levon <levon@movementarian.org>
6391 * boost-inst.C: moved to support
6393 * several files: changes as a result
6395 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6397 * text2.C (LyXText): adjust.
6399 (removeRow): make it take a RowList::iterator as arg, adjust.
6400 (fullRebreak): adjust
6401 (deleteEmptyParagraphMechanism): adjust
6402 (clearPaint): adjust
6405 * text.C (top_y): adjust
6406 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6407 (breakAgain): make it take a RowList::iterator as arg, adjust.
6408 (breakParagraph): adjust
6409 (insertChar): adjust
6412 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6413 need_break_row, and refresh_row.
6415 * text3.C (dispatch): adjust
6417 * text2.C (checkParagraph): adjust
6419 (setCursorFromCoordinates): adjust
6421 * text.C (top_y): adjust
6423 (getRow): make it return a RowList::iterator, adjust
6424 (getRowNearY): make it return a RowList::iterator, adjust
6426 * text2.C (init): adjust
6427 (insertRow): remove function
6428 (insertParagraph): adjust
6429 (redoParagraphs): adjust
6430 (fullRebreak): adjust
6431 (updateCounters): adjust
6433 * text.C (top_y): rewrite to use RowList iterators.
6435 (setHeightOfRow): rewrite to sue RowList iterators.
6436 (appendParagraph): adjust
6437 (breakAgain): adjust
6438 (breakAgainOneRow): adjust
6439 (breakParagraph): adjust
6441 (getRowNearY): adjust, and remove commented code.
6443 * lyxtext.h (firstRow): delete function
6444 (lastRow): delete function
6445 (rows): new function (const and non-const versions.)
6446 (insertRow): delete function
6448 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6450 2003-03-29 John Levon <levon@movementarian.org>
6452 * BufferView_pimpl.C: always update scrollbar top
6453 because pasting text when we're anchored could mean we
6454 miss an update altogether
6456 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6458 * text2.C (init): use rowlist_.end() and not 0.
6459 (insertRow): change to take a RowList::iterator as arg, adjust
6461 (insertParagraph): change to take a RowList::iterator as arg,
6463 (redoParagraphs): remove some debug msgs.
6465 * text.C (appendParagraph): change to take a RowList::iterator
6466 arg, adjust for this.
6467 (breakAgain): add an assert
6468 (breakAgainOneRow): ditto
6470 2003-03-29 John Levon <levon@movementarian.org>
6472 * text2.C: do not clear selection after inc/decDepth
6475 2003-03-29 John Levon <levon@movementarian.org>
6478 * buffer.C: fix broken strerrors according to Lars
6480 2003-03-29 John Levon <levon@movementarian.org>
6482 * converters.C: more Alert cleanups
6484 2003-03-29 John Levon <levon@movementarian.org>
6486 * bufferview_funcs.C: remove pointless Alert
6488 * buffer.C: fix confusing error message when
6489 a template is chmoded 000
6491 2003-03-29 John Levon <levon@movementarian.org>
6495 * BufferView_pimpl.C: Alert fixes
6499 * tabular-old.C: remove unused table compat reading
6501 2003-03-29 John Levon <levon@movementarian.org>
6506 * lyx_cb.C: more Alert cleanups
6508 * lyxfunc.C: don't allow chktex if not latex document
6510 2003-03-29 John Levon <levon@movementarian.org>
6514 * buffer.C: warnings pushed down from support/,
6517 2003-03-29 John Levon <levon@movementarian.org>
6519 * lyxfunc.C: safety check for C-r (revert)
6521 2003-03-29 John Levon <levon@movementarian.org>
6524 * bufferlist.C: several UI fixes using Alert::prompt.
6525 Fix the pointless looping quit code. Fix stupid revert
6530 * lyx_cb.C: use Alert::prompt
6532 * lyx_main.C: remove a silly question
6534 * lyxfunc.C: remove a couple of silly questions,
6537 2003-03-28 John Levon <levon@movementarian.org>
6539 * text2.C: fix bug 974 (End on empty par)
6541 2003-03-28 John Levon <levon@movementarian.org>
6543 * BufferView_pimpl.C:
6545 * lfuns.h: remove do-nothing math greek lfuns
6547 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6549 * lyxgluelength.h (isValidGlueLength): add default arg on
6550 parameter 2. Remove default arg from friend in class.
6552 * lyxlength.h (isValidLength): add default arg on parameter 2.
6553 Remove default arg from friend in class.
6555 * text2.C (LyXText): adjust, initialize refresh_row.
6559 (insertParagraph): adjst
6560 (redoParagraphs): adjust
6561 (fullRebreak): adjust
6562 (updateCounters): adjust
6563 (deleteEmptyParagraphMechanism): first attempt at fixing a
6566 * text.C (top_y): adjust
6567 (setHeightOfRow): adjust
6569 (getRowNearY): adjust
6571 * lyxtext.h: include RowList.h
6572 (~LyXText): not needed anymore, deleted.
6573 (firstRow): modify for RowList
6574 (lastRow): new function
6575 Delete firstrow and lastrow class variables, add a Rowlist
6576 rowlist_ class variable.
6578 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6581 * RowList.C (insert): fix case where it == begin().
6583 2003-03-26 Angus Leeming <leeming@lyx.org>
6585 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6586 the thesaurus dialog.
6588 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6590 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6592 * RowList.[Ch]: new files
6594 * ParagraphList.C (erase): handle the case where it == begin
6597 2003-03-25 John Levon <levon@movementarian.org>
6601 * aspell.C: add new aspell support
6604 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6607 2003-03-25 Angus Leeming <leeming@lyx.org>
6610 * LyXAction.C (init): new LFUN_INSET_INSERT.
6612 * BufferView_pimpl.C (dispatch): split out part of the
6613 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6615 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6618 2003-03-25 Angus Leeming <leeming@lyx.org>
6620 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6622 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6625 * text3.C: remove useless row->height(0)
6627 2003-03-25 John Levon <levon@movementarian.org>
6631 * text3.C: rename the refreshing stuff to better names
6633 2003-03-24 John Levon <levon@movementarian.org>
6635 * BufferView_pimpl.h:
6636 * BufferView_pimpl.C: update layout choice on a mouse
6639 2003-03-23 John Levon <levon@movementarian.org>
6641 * Makefile.am: fix commandtags.h reference
6643 2003-03-22 John Levon <levon@movementarian.org>
6645 * BufferView_pimpl.C:
6650 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6652 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6655 * text.C: take the rtl methods out of line
6657 2003-03-21 André Pönitz <poenitz@gmx.net>
6659 * metricsinfo.[Ch]: new files containing structures to be passed around
6660 during the two-phase-drawing...
6662 2003-03-21 André Pönitz <poenitz@gmx.net>
6664 * lyxtextclass.C: read 'environment' tag.
6666 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6668 * text2.C (removeRow): fix bug 964
6670 2003-03-20 John Levon <levon@movementarian.org>
6674 * text2.C: paint cleanups. Inset::update() dropped font
6677 2003-03-19 John Levon <levon@movementarian.org>
6679 * lyxfunc.C: only fitcursor/markDirty if available()
6681 2003-03-19 John Levon <levon@movementarian.org>
6683 * commandtags.h: rename to ...
6685 * lfuns.h: ... this, and renumber / cleanup
6687 2003-03-19 John Levon <levon@movementarian.org>
6689 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6690 fit the cursor after an lfun
6694 * BufferView_pimpl.h:
6695 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6697 * LyXAction.C: layout-character should have ReadOnly
6699 * ParagraphParameters.C:
6701 * bufferview_funcs.C:
6708 * undo_funcs.C: changes from above
6710 2003-03-18 John Levon <levon@movementarian.org>
6712 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6713 remove it from update()
6715 * lyxfunc.C: update layout choice after an lfun
6717 * text3.C: remove extra updateLayoutChoice()s
6719 2003-03-18 John Levon <levon@movementarian.org>
6721 * text.C: top_y change means full repaint, fix
6722 a drawing bug with cursor movement
6724 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6728 * text2.C: anchor row on setCursor
6730 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6732 * lyxtext.h: remove almost all mutable keywords
6735 * text3.C: remove const keywords accordingly
6737 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6739 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6741 (TeXEnvironment): ditto
6744 2003-03-17 John Levon <levon@movementarian.org>
6746 * text.C (rowBreakPoint): remove attempt to fix displayed
6747 math insets inside a manual label
6749 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6751 * lyxtext.h: remove BufferView* as first arg from almost all class
6753 * other files: adjust.
6755 2003-03-17 John Levon <levon@movementarian.org>
6759 * text2.C: more paint cleanups
6761 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6764 * rowpainter.C: remove "smart" background painting code
6766 2003-03-16 John Levon <levon@movementarian.org>
6771 * text3.C: add helper functions for setting refresh_row/y
6773 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6775 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6776 newline inset which *can* get inserted in the pass_thru layouts.
6777 This is primarily for literate documents.
6779 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6781 * buffer.C: increment LYX_FORMAT to 223
6783 2003-03-14 André Pönitz <poenitz@gmx.net>
6785 * textclass.h: prepare for environment handling, ws changes
6786 * lyxlayout.C: read latexheader and latexfooter tags
6788 2003-03-14 John Levon <levon@movementarian.org>
6790 * text2.C: rewrite ::status() a bit
6792 2003-03-13 John Levon <levon@movementarian.org>
6794 * lyxtext.h: add some docs
6796 2003-03-13 John Levon <levon@movementarian.org>
6801 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6803 2003-03-13 John Levon <levon@movementarian.org>
6805 * text3.C: fix appendix redrawing
6807 2003-03-13 John Levon <levon@movementarian.org>
6809 * text.C (setHeightOfRow):
6811 * rowpainter.C: make appendix mark have the text
6812 "Appendix" so the user knows what it is
6815 * LColor.C: s/appendixline/appendix/ from above
6817 2003-03-13 John Levon <levon@movementarian.org>
6819 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6821 * text.C: fix a getChar(pos) bug properly
6823 2003-03-13 Angus Leeming <leeming@lyx.org>
6826 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6827 Probably only temporary. Let's see how things pan out.
6829 * BufferView.C (unlockInset):
6830 * BufferView_pimpl.C (fitCursor):
6831 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6833 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6834 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6836 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6837 new functions that convert ParagraphParameters to and from a string.
6839 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6840 BufferView::Pimpl's dispatch.
6841 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6843 2003-03-13 André Pönitz <poenitz@gmx.net>
6847 * factory.C: make it aware of InsetEnv
6849 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6851 * text2.C (setCursor): never ask for one past last
6852 (setCursor): add some debugging messages.
6854 * text.C (singleWidth): never ask for one past last
6855 (singleWidth): ditto
6857 (rightMargin): ditto
6858 (rowBreakPoint): ditto
6859 (setHeightOfRow): ditto
6860 (prepareToPrint): ditto
6862 * rowpainter.C (paintBackground): never ask for one past last
6863 (paintText): never ask for one past last
6865 * paragraph_pimpl.C (getChar): make the assert stricter, never
6866 allow the one past last pos to be taken
6868 * paragraph.C (getChar): ws changes only
6870 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6871 (numberOfSeparators): ditto
6872 (numberOfHfills): ditto
6874 2003-03-12 John Levon <levon@movementarian.org>
6880 * paragraph_funcs.C: fix per-buffer authorlists
6882 2003-03-12 John Levon <levon@movementarian.org>
6884 * text.C: fix newline in right address
6886 2003-03-12 Angus Leeming <leeming@lyx.org>
6888 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6889 duplicate those in LyXFunc::dispatch.
6893 * ToolbarDefaults.C:
6894 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6895 Add LFUN_FONTFREE_UPDATE.
6897 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6898 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6900 * bufferview_func.[Ch]: several new functions to facilliate
6901 transfer of data to and from the character dialog.
6903 2003-03-12 John Levon <levon@movementarian.org>
6908 * paragraph_funcs.C:
6909 * paragraph_pimpl.C:
6913 * text3.C: remove META_NEWLINE in favour of an inset
6916 * rowpainter.C: remove paintNewline (done by inset)
6918 2003-03-12 John Levon <levon@movementarian.org>
6920 * paragraph_pimpl.C: complain about bad getChar()s
6921 for a while at least
6923 2003-03-12 John Levon <levon@movementarian.org>
6926 * buffer.C: move paragraph read into a separate function,
6927 a little renaming to reflect that.
6930 * bufferparams.C: remove the author_ids map, not necessary now
6933 * factory.C: moved Buffer::readInset to here
6935 * paragraph_funcs.h:
6936 * paragraph_funcs.C: readParagraph free function moved from
6939 * tabular.C: name change
6941 2003-03-12 John Levon <levon@movementarian.org>
6944 * ParagraphParameters.C: move par params input to
6947 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6948 behave like a normal read from the stream wrt reading
6949 a line vs. a \\token
6951 2003-03-12 John Levon <levon@movementarian.org>
6954 * ParagraphParameters.h:
6955 * ParagraphParameters.C: move output code to a
6958 2003-03-12 John Levon <levon@movementarian.org>
6960 * BufferView.C (insertLyXFile):
6963 * tabular.C: use a parlist iterator for creating the
6966 2003-03-12 John Levon <levon@movementarian.org>
6968 * buffer.C: make current_change static local not
6971 2003-03-12 John Levon <levon@movementarian.org>
6973 * buffer.C: fix insertStringAsLines for change tracking
6975 2003-03-12 John Levon <levon@movementarian.org>
6982 * bufferparams.C: move author list into params. Rename some
6983 functions. Move the header reading into a separate token
6984 loop. Move the header token reading into BufferParams.
6986 2003-03-12 John Levon <levon@movementarian.org>
6988 * changes.C: put debug inside lyxerr.debugging() checks
6990 2003-03-11 André Pönitz <poenitz@gmx.net>
6992 * factory.C: make it aware of InsetHFill
6994 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6996 * buffer.C (latexParagraphs): move function from here...
6997 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7000 2003-03-10 Angus Leeming <leeming@lyx.org>
7002 * LyXAction.C (init): fix bug in poplating array with multiple entries
7003 with the same LFUN (spotted by JMarc).
7005 2003-03-10 John Levon <levon@movementarian.org>
7008 * text2.C: move getColumnNearX() near its
7011 2003-03-10 John Levon <levon@movementarian.org>
7013 * text.C: fix break before a minipage
7015 2003-03-10 John Levon <levon@movementarian.org>
7017 * text.C: fix the last commit
7019 2003-03-09 John Levon <levon@movementarian.org>
7023 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7024 bug 365 (don't break before insets unless needed). Don't
7025 return a value > last under any circumstances.
7027 2003-03-09 Angus Leeming <leeming@lyx.org>
7029 * BufferView_pimpl.C (trackChanges, dispatch): call
7030 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7032 2003-03-09 Angus Leeming <leeming@lyx.org>
7034 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7035 than Dialogs::showAboutlyx().
7037 2003-03-09 Angus Leeming <leeming@lyx.org>
7039 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7040 than Dialogs::showTabularCreate().
7042 2003-03-09 John Levon <levon@movementarian.org>
7046 * text2.C: 3rd arg to nextBreakPoint was always the same.
7049 2003-03-08 John Levon <levon@movementarian.org>
7056 * text2.C: Remove the "main" bit from the "main body"
7059 2003-03-08 John Levon <levon@movementarian.org>
7061 * text.C (leftMargin): The left margin of an empty
7062 manual label paragraph should not include the label width
7065 * text.C (prepareToPrint): don't attempt to measure hfills
7066 for empty manual label paragraphs - the answer should be 0
7068 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7070 * CutAndPaste.C: remove commented code and reindent.
7072 2003-03-08 John Levon <levon@movementarian.org>
7075 * lyxfunc.C: move reloadBuffer()
7078 * BufferView.C: to here
7080 * lyxvc.C: add comment
7083 * vc-backend.C: call bv->reload() to avoid
7084 getStatus() check on MENURELOAD
7086 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7088 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7089 to an old format .dep file.
7091 2003-03-07 Angus Leeming <leeming@lyx.org>
7093 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7094 when the LFUN_MOUSE_RELEASE should have been handled by
7095 inset->localDispatch.
7097 2003-03-07 Angus Leeming <leeming@lyx.org>
7099 * BufferView_pimpl.C (dispatch):
7100 * LyXAction.C (init):
7101 * ToolbarDefaults.C (init):
7103 * lyxfunc.C (getStatus):
7104 remove LFUN_INSET_GRAPHICS.
7106 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7108 2003-03-07 Angus Leeming <leeming@lyx.org>
7111 * LyXAction.C (init):
7112 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7114 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7117 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7119 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7120 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7122 2003-03-07 Angus Leeming <leeming@lyx.org>
7124 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7127 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7129 * ParagraphList.C (front): new function
7132 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7134 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7135 and top_row_offset_. removed var first_y.
7137 * text2.C (LyXText, removeRow):
7139 * BufferView_pimpl.C:
7140 use these methods instead of using first_y
7142 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7144 * text2.C (pasteSelection): adjust for checkPastePossible
7146 * CutAndPaste.C: remove Paragraph * buf and replace with
7147 ParagraphList paragraphs.
7148 (DeleteBuffer): delete
7149 (cutSelection): change the tc type to textclass_type
7150 (copySelection): change the tc type to textclass_type
7151 (copySelection): adjust for ParagraphList
7152 (pasteSelection): change the tc type to textclass_type
7153 (pasteSelection): adjust for Paragraphlist
7154 (nrOfParagraphs): simplify for ParagraphList
7155 (checkPastePossible): simplify for ParagraphList
7156 (checkPastePossible): remove unused arg
7158 * ParagraphList.C (insert): handle the case where there are no
7161 * CutAndPaste.h: make CutAndPaste a namespace.
7163 * text3.C (dispatch): adjust
7165 * text.C (breakParagraph): add a ParagraphList as arg
7167 * paragraph_funcs.C (breakParagraph): change to take a
7168 BufferParams and a ParagraphList as args.
7169 (breakParagraphConservative): ditto
7170 (mergeParagraph): ditto
7171 (TeXDeeper): add a ParagraphList arg
7172 (TeXEnvironment): ditto
7175 * buffer.C (readLyXformat2): adjust
7176 (insertStringAsLines): adjust
7177 (latexParagraphs): adjust
7179 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7180 (cutSelection): adjust
7181 (pasteSelection): adjust
7183 * BufferView_pimpl.C (insertInset): adjust
7185 2003-03-05 Angus Leeming <leeming@lyx.org>
7188 * LyXAction.C (init):
7189 * BufferView_pimpl.C (dispatch):
7190 * lyxfunc.C (getStatus):
7191 remove LFUN_CHILD_INSERT.
7193 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7195 2003-03-05 Angus Leeming <leeming@lyx.org>
7198 * LyXAction.C (init):
7199 * src/factory.C (createInset):
7200 * lyxfunc.C (getStatus):
7201 * text3.C (dispatch):
7202 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7204 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7206 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7208 * ParagraphList.C (insert): handle insert right before end()
7209 (erase): fix cases where it can be first or last paragraph.
7211 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7213 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7214 Paragraph::next and Paragraph::previous
7217 * text.C (breakParagraph): adjust
7219 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7220 BufferParams& as arg.
7221 (breakParagraph): use ParagraphList::insert
7222 (breakParagraphConservative): take a Buffer* instead of a
7223 BufferParams& as arg.
7224 (breakParagraphConservative): use ParagraphList::insert.
7226 * buffer.C (insertStringAsLines): un-const it
7227 (insertStringAsLines): adjust
7229 * ParagraphList.C (insert): new function
7231 * CutAndPaste.C (pasteSelection): adjust
7233 * text.C (backspace): adjust
7235 * tabular.C (SetMultiColumn): adjust
7237 * CutAndPaste.C (cutSelection): adjust
7238 (pasteSelection): adjust
7240 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7241 Buffer const * as arg
7243 * ParagraphList.C (erase): new function
7244 * paragraph_funcs.C (mergeParagraph): use it
7245 (mergeParagraph): make it take a Buffer* instead of a
7246 BufferParams* as arg
7248 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7250 (breakParagraphConservative): ditto
7252 * paragraph.h: remove the breakParagraph friend
7254 * paragraph.C (eraseIntern): new function
7255 (setChange): new function
7257 * paragraph_funcs.C (mergeParagraph): make it take a
7258 ParagraphList::iterator instead of a Paragraph *, adjust
7261 * paragraph.h: move an #endif so that the change tracking stuff
7262 also works in the NO_NEXT case.
7264 2003-03-04 Angus Leeming <leeming@lyx.org>
7267 * LyXAction.C: new LFUN_INSET_MODIFY.
7269 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7270 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7272 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7274 * several files: ws changes only
7276 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7277 (TeXEnvironment): ditto
7280 * buffer.C (makeLaTeXFile): adjust
7281 (latexParagraphs): make it take ParagraphList::iterator as args
7283 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7285 * buffer.C (latexParagraphs): adjust
7287 * paragraph.C (TeXOnePar): move function...
7288 (optArgInset): move function...
7289 (TeXEnvironment): move function...
7290 * paragraph_pimpl.C (TeXDeeper): move function...
7291 * paragraph_funcs.C: ...here
7293 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7295 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7297 * buffer.C (readInset): remove compability code for old Figure and
7300 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7302 * buffer.C: ws changes
7305 * BufferView_pimpl.C: ditto
7308 * bufferlist.h: ditto
7312 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7314 * converter.[Ch]: split into itself +
7317 * Makefile.am: += graph.[Ch] + format.[Ch]
7324 * lyxrc.C: added #include "format.h"
7326 2003-02-27 Angus Leeming <leeming@lyx.org>
7328 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7331 * factory.C (createInset): add "label" to the factory.
7333 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7334 string and do no more.
7336 2003-02-27 Angus Leeming <leeming@lyx.org>
7339 * LyXAction.C (init):
7340 * factory.C (createInset):
7341 * BufferView_pimpl.C (dispatch):
7342 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7344 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7346 * lyxfunc.C (dispatch):
7347 * text3.C (dispatch): pass name to params2string.
7349 2003-02-26 Angus Leeming <leeming@lyx.org>
7351 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7353 Rearrange the ~includes. Strip out the unnecessary ones.
7355 * factory.C (createInset): reformat.
7356 create new insets for the various LFUN_XYZ_APPLY lfuns.
7358 2003-02-26 John Levon <levon@movementarian.org>
7361 * lyxrow.C: add isParStart,isParEnd helpers
7363 * paragraph.h: make isInserted/DeletedText take refs
7365 * paragraph_funcs.h:
7366 * paragraph_funcs.C: remove #if 0'd code
7371 * text.C: use lyxrow helpers above.
7372 Move draw and paint routines to RowPainter.
7373 Make several methods use refs not pointers.
7374 Make backgroundColor() const.
7375 Add markChangeInDraw(), isInInset().
7376 Merge changeRegionCase into changeCase.
7377 Make workWidth() shouldn't-happen code into an Assert.
7380 * rowpainter.C: new class for painting a row.
7383 * vspace.C: make inPixels take a ref
7385 2003-02-26 Angus Leeming <leeming@lyx.org>
7387 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7390 2003-02-25 John Levon <levon@movementarian.org>
7392 * ispell.C: give the forked command a more accurate name
7394 2003-02-22 John Levon <levon@movementarian.org>
7397 * toc.C: make TocItem store an id not a Paragraph *
7400 2003-02-21 Angus Leeming <leeming@lyx.org>
7402 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7403 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7404 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7405 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7406 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7407 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7409 * BufferView_pimpl.C (dispatch):
7410 * LyXAction.C (init):
7411 * factory.C (createInset):
7412 * lyxfunc.C (getStatus, dispatch):
7413 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7415 2003-02-21 Angus Leeming <leeming@lyx.org>
7417 * BufferView_pimpl.C (MenuInsertLyXFile):
7418 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7419 * lyxfunc.C (menuNew, open, doImport):
7420 no longer pass a LyXView & to fileDlg.
7422 2003-02-21 Angus Leeming <leeming@lyx.org>
7424 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7425 * LyXAction.C: change, BIBKEY to BIBITEM.
7426 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7427 Change InsetBibKey to InsetBibitem.
7428 Change BIBKEY_CODE to BIBITEM_CODE.
7429 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7430 * factory.C: replace insetbib.h with insetbibitem.h.
7431 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7432 * paragraph.C: replace insetbib.h with insetbibitem.h.
7433 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7434 Change bibkey() to bibitem().
7435 * text.C: remove insetbib.h.
7436 * text2.C: replace insetbib.h with insetbibitem.h.
7437 change bibkey() to bibitem().
7438 * text3.C: remove insetbib.h.
7439 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7441 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7443 * lyxrc.C (output): enclose user email in quotes (in case there are
7446 2003-02-18 John Levon <levon@movementarian.org>
7448 * buffer.h: add std::
7450 2003-02-17 John Levon <levon@movementarian.org>
7456 * pspell.C: reworking. Especially in ispell, a large
7457 number of clean ups and bug fixes.
7459 * lyxfunc.C: fix revert to behave sensibly
7461 2003-02-17 André Pönitz <poenitz@gmx.net>
7464 * commandtags.h: new LFUN_INSERT_BIBKEY
7474 * paragraph_func.C: remove special bibkey handling
7476 2003-02-17 John Levon <levon@movementarian.org>
7478 * text.C (Delete): fix case where delete at the end of
7479 the very first paragraph would not merge the pars
7481 2003-02-17 John Levon <levon@movementarian.org>
7483 * lyxrow.C: fix lastPrintablePos()
7485 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7487 * bufferparams.C (writeLaTeX): add a std:here
7489 * buffer.C: and remove a using directive there
7491 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7493 * buffer.C (makeLaTeXFile): move the code that generates the
7496 * bufferparams.C (writeLaTeX): ... in this new method
7498 * LaTeXFeatures.C (getEncodingSet): make const
7499 (getLanguages): make const
7501 * MenuBackend.C (binding): returns the binding associated to this
7503 (add): sets the status of each item by calling getStatus. Adds
7505 (read): add support for OptSubMenu
7506 (expand): remove extra separator at the end of expanded menu
7508 2003-02-15 John Levon <levon@movementarian.org>
7511 * BufferView_pimpl.C:
7513 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7514 inset code that had no actual effect. Remove unneeded status
7517 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7519 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7522 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7524 * text.C (drawLengthMarker): also draw an arrow marker for
7525 symbolic lengths (medskip...)
7527 2003-02-14 John Levon <levon@movementarian.org>
7530 * tabular.C: better method names
7532 2003-02-14 John Levon <levon@movementarian.org>
7534 * BufferView_pimpl.C:
7539 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7540 it's a more accurate name. Remove some pointless uses.
7542 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7544 * text2.C (LyXText): change order of initilizers to shut off
7547 2003-02-14 John Levon <levon@movementarian.org>
7549 * buffer.C: use ParIterator for getParFromID()
7553 * paragraph_pimpl.h:
7554 * paragraph_pimpl.C: remove unused getParFromID()
7556 2003-02-14 John Levon <levon@movementarian.org>
7558 * buffer.C: remove some very old #if 0'd parse code
7560 2003-02-13 John Levon <levon@movementarian.org>
7564 * text2.C: move hfillExpansion(), numberOfSeparators(),
7565 rowLast(), rowLastPrintable(), numberofHfills(),
7566 numberOfLabelHfills() ...
7569 * lyxrow.C: ... to member functions here.
7574 * text.C: remove LyXText::beginningOfMainBody(), and call
7575 p->beginningOfMainBody() directly. Move the check for
7576 LABEL_MANUAL into the latter.
7583 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7589 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7590 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7592 2003-02-13 John Levon <levon@movementarian.org>
7594 * CutAndPaste.C: remove debug
7596 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7598 * paragraph.C (asString): remove two unused variables
7600 * lyxtextclass.C (readTitleType):
7602 (LyXTextClass): handle new members titletype_ and titlename_
7604 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7606 2003-02-09 John Levon <levon@movementarian.org>
7609 * buffer.C: replace hand-coded list with a map for the dep clean
7611 2003-02-08 John Levon <levon@movementarian.org>
7613 * LaTeX.C: consolidate code into showRunMessage() helper
7615 2003-02-08 John Levon <levon@movementarian.org>
7620 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7621 and pass the size in explicitly
7623 * BufferView_pimpl.h:
7624 * BufferView_pimpl.C:
7626 * BufferView.C: add getCurrentChange()
7628 * BufferView_pimpl.h:
7629 * BufferView_pimpl.C: handle change lfuns
7631 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7632 for changes. Mark pasted paragraphs as new.
7634 * support/lyxtime.h:
7635 * support/lyxtime.C:
7636 * DepTable.C: abstract time_t as lyx::time_type
7639 * LColor.C: add colours for new text, deleted text, changebars
7641 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7642 package use "usenames" option.
7646 * LyXAction.C: add change lfuns
7650 * author.C: author handling
7653 * buffer.C: add a per-buffer author list, with first entry as
7654 current author. Handle new .lyx tokens for change tracking. Output
7655 author list to .lyx file. Output dvipost stuff to .tex preamble.
7656 Bump lyx format to 222.
7659 * bufferlist.C: add setCurrentAuthor() to reset current author details
7663 * bufferparams.C: add param for tracking
7665 * bufferview_funcs.C: output change info in minibuffer
7669 * changes.C: add change-tracking structure
7672 * debug.C: add CHANGES debug flag
7675 * lyxfind.C: add code for finding the next change piece
7678 * lyxrc.C: add user_name and user_email
7681 * lyxrow.C: add a metric for the top of the text line
7684 * text.C: implement accept/rejectChange()
7687 * text.C: paint changebars. Paint new/deleted text in the chosen
7688 colours. Strike through deleted text.
7692 * paragraph_pimpl.h:
7693 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7694 in the current change to the insert functions. Rework erase to
7695 mark text as deleted, adding an eraseIntern() and a range-based
7696 erase(). Implement per-paragraph change lookup and
7699 * paragraph_funcs.C: Fixup paste for change tracking.
7701 * tabular.C: mark added row/columns as new.
7703 * text.C: fix rowLast() to never return -1. Don't allow
7704 spellchecking of deleted text. Track transpose changes. Don't
7705 allow paragraph break or merge where appropriate.
7707 * text2.C: leave cursor at end of selection after a cut.
7709 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7711 * text.C (getLengthMarkerHeight):
7712 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7713 visible on screen too.
7715 2003-02-07 John Levon <levon@movementarian.org>
7717 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7719 2003-02-05 Angus Leeming <leeming@lyx.org>
7721 * lyxserver.C (read_ready): revert my patch of 11 September last year
7722 as it sends PC cpu through the roof. Presumably this means that
7723 the lyxserver will no longer run on an Alpha...
7725 2003-01-30 Angus Leeming <leeming@lyx.org>
7727 * factory.C (createInset): create an InsetCommandParam of type "index"
7728 and use it to 'do the right thing'.
7730 * text2.C (getStringToIndex): ensure that cursor position is always
7731 reset to the reset_cursor position.
7733 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7735 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7738 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7742 * lyxfunc.C: Output messages with identical spelling, punctuation,
7745 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7747 * MenuBackend.C (expandFormats): List only viewable export formats
7750 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7753 * lyxfunc.C (getStatus): Make sure that formats other than
7754 "fax" can also be disabled
7756 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7758 * text3.C (dispatch): put the lfuns that insert insets in 3
7759 groups, and call doInsertInset with appropriate arguments.
7760 (doInsertInset): new function, that creates an inset and inserts
7761 it according to some boolean parameters.
7763 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7765 * buffer.C (readFile): remember to pass on 'par' when calling
7766 readFile recursively.
7768 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7770 * MenuBackend.C (expandFormats): add "..." to import formats.
7772 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7774 * paragraph.C (asString): Remove XForms RTL hacks.
7776 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7777 * buffer.C: fix typo
7779 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7781 * Makefile.am (LIBS): delete var
7782 (lyx_LDADD): add @LIBS@ here instead.
7784 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7786 * Clarify the meaning of "wheel mouse jump"
7788 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7790 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7793 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7795 * importer.C (Loaders): do not preallocate 3 elements in the
7796 vector, since one ends up with 6 elements otherwise
7798 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7800 * DepTable.C (write): write the file name as last element of the
7801 .dep file (because it may contain spaces)
7802 (read): read info in the right order
7804 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7806 * paragraph_pimpl.C (simpleTeXBlanks):
7807 (simpleTeXSpecialChars):
7808 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7810 * tabular.C (latex): add some missing case statements. Reindent.
7812 * MenuBackend.C (expandToc): remove unused variable.
7814 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7823 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7826 2003-01-05 John Levon <levon@movementarian.org>
7829 * BufferView.C: add getEncoding()
7832 * kbsequence.C: do not store last keypress
7835 * lyxfunc.C: store last keypress here instead. Pass encoding
7838 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7840 * lyx_main.C (init): remove annoying error message when following
7841 symbolic links (bug #780)
7843 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7845 * text.C (insertChar):
7846 * lyxrc.C (getDescription): remove extra spaces
7848 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7850 * lyxrc.C (getDescription): remove extra spaces
7852 2002-12-20 John Levon <levon@movementarian.org>
7854 * text3.C: hack fix for page up/down across tall rows
7856 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7858 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7861 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7863 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7864 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7865 thesaurus is not compiled in
7867 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7869 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7871 2002-12-16 Angus Leeming <leeming@lyx.org>
7874 * lyx_main.C (init): remove override_x_deadkeys stuff.
7876 2002-12-12 John Levon <levon@movementarian.org>
7878 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7879 insert. Only remove shift modifier under strict
7882 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7884 * MenuBackend.C (expandToc): fix crash.
7886 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7888 * MenuBackend.C (expandToc): gettext on float names.
7890 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7892 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7893 implement bool empty() [bug 490]
7895 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7897 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7899 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7901 * several files: ws changes
7903 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7905 * text2.C (setCounter): clean up a bit, use boost.format.
7906 (updateCounters): initialize par upon declaration.
7908 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7909 if the layout exists. We do not just store the layout any more.
7910 (SwitchLayoutsBetweenClasses): use boost.format
7912 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7914 * converter.C (convert): if from and to files are the same, use a
7915 temporary files as intermediary
7917 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7920 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7922 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7924 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7926 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7928 * tabular.C (asciiPrintCell): use string(size, char) instead of
7931 * sgml.C (openTag): fix order of arguments to string constructor
7934 * lyxfunc.C (dispatch): use boost.format
7936 * lots of files: change "c" -> 'c'
7938 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7940 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7942 2002-11-25 Angus Leeming <leeming@lyx.org>
7944 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7946 * lyx_main.C (init): compile fix.
7948 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7950 * lyx_cb.C (start): boost.formatify
7951 do not include <iostream>
7953 * lengthcommon.C: ws only
7955 * boost-inst.C,BoostFormat.h: add more explict instantations
7957 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7959 * lots of files: handle USE_BOOST_FORMAT
7961 2002-11-21 John Levon <levon@movementarian.org>
7963 * pspell.C: fix compile
7965 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7967 * lyxfunc.C (dispatch): use boost::format
7971 * lyxfont.C (stateText): use boost::format
7973 * lyx_main.C (LyX): use boost::format
7975 (queryUserLyXDir): ditto
7978 (typedef boost::function): use the recommened syntax.
7980 * importer.C (Import): use boost::format
7982 * debug.C (showLevel): use boost::format
7984 * converter.C (view): use boost::format
7989 * bufferview_funcs.C (currentState): use boost::format
7991 * bufferlist.C (emergencyWrite): use boost::format
7993 * buffer.C (readLyXformat2): use boost::format
7994 (parseSingleLyXformat2Token): ditto
7996 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7998 * LaTeX.C (run): use boost::format
8000 * Chktex.C (scanLogFile): use boost::format
8002 * BufferView_pimpl.C (savePosition): use boost::format
8003 (restorePosition): ditto
8004 (MenuInsertLyXFile): ditto
8006 * BoostFormat.h: help file for explicit instation.
8008 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8010 * tabular.C (latex): Support for block alignment in fixed width
8013 2002-11-17 John Levon <levon@movementarian.org>
8015 * BufferView_pimpl.C:
8017 * lyxfunc.C: split filedialog into open/save
8019 2002-11-08 Juergen Vigna <jug@sad.it>
8021 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8022 by my last patch (hopefully).
8024 2002-11-08 John Levon <levon@movementarian.org>
8033 * toc.C: ParConstIterator, and use it (from Lars)
8035 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8037 * lyxtextclass.[Ch]: revise and add doxygen comments
8039 2002-11-07 John Levon <levon@movementarian.org>
8041 * text.C: fix progress value for spellchecker
8043 * toc.C: fix navigate menu for insetwrap inside minipage
8045 * paragraph_funcs.C: added FIXME for suspect code
8047 2002-11-07 John Levon <levon@movementarian.org>
8049 * BufferView_pimpl.C: fix redrawing of insets
8052 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8054 * text2.C (updateCounters): fix bug 668
8056 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8058 * text3.C (dispatch): Do not make the buffer dirty when moving the
8061 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8063 * vc-backend.C: STRCONV
8066 * text2.C (setCounter): STRCONV
8068 * paragraph.C (asString): STRCONV
8070 * lyxlength.C (asString): STRCONV
8071 (asLatexString): ditto
8073 * lyxgluelength.C (asString): STRCONV
8074 (asLatexString): ditto
8076 * lyxfunc.C (dispatch): STRCONV
8079 * lyxfont.C (stateText): STRCONV
8081 * importer.C (Import): STRCONV
8083 * counters.C (labelItem): STRCONV
8084 (numberLabel): ditto
8085 (numberLabel): remove unused ostringstream o
8090 * bufferview_funcs.C (currentState): STRCONV
8092 * buffer.C (readFile): STRCONV
8093 (asciiParagraph): ditto
8094 (makeLaTeXFile): ditto
8096 * Spacing.C (writeEnvirBegin): STRCONV
8098 * LaTeXFeatures.C (getLanguages): STRCONV
8099 (getPackages): ditto
8101 (getBabelOptions): ditto
8102 (getTClassPreamble): ditto
8103 (getLyXSGMLEntities): ditto
8104 (getIncludedFiles): ditto
8108 (scanAuxFile): ditto
8111 * LString.h: add the STRCONV macros
8113 * BufferView_pimpl.C (savePosition): STRCONV
8114 (restorePosition): ditto
8115 (MenuInsertLyXFile): ditto
8117 * vc-backend.C (scanMaster): change from submatch[...] to
8120 * funcrequest.C: include config.h
8122 * factory.C: include config.h
8124 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8126 * box.C: include config.h
8128 * LaTeX.C (scanAuxFile): change from submatch[...] to
8132 2002-10-25 Angus Leeming <leeming@lyx.org>
8134 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8136 * ispell.[Ch] (setError): new method.
8137 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8138 Use setError() insetead of goto END.
8140 * lyx_cb.C (AutoSave): move out child process into new class
8143 2002-10-30 John Levon <levon@movementarian.org>
8145 * text3.C: make start appendix undoable
8147 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8149 * lyxlength.C (inPixels): Fix returned value.
8151 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8154 2002-10-24 Angus Leeming <leeming@lyx.org>
8156 * lyxgluelength.h: no need to forward declare BufferParams
8157 or BufferView, so don't.
8159 2002-10-21 John Levon <levon@movementarian.org>
8161 * BufferView.C: menuUndo ->undo, redo
8163 * BufferView.h: document, remove dead, make some methods private
8165 * paragraph_funcs.h:
8166 * paragraph_funcs.C:
8167 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8172 * sgml.C: move sgml open/close tag into sgml.C
8174 * bufferview_funcs.h: unused prototype
8177 * lyxfunc.C: remove unused
8180 * text.C: remove unused
8182 2002-10-21 John Levon <levon@movementarian.org>
8186 * BufferView_pimpl.h:
8187 * BufferView_pimpl.C: fix mouse wheel handling based on
8188 patch from Darren Freeman
8190 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8192 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8194 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8196 * lyxlength.C (inPixels): Fix hanfling of negative length.
8197 Fix LyXLength::MU case.
8199 2002-10-16 John Levon <levon@movementarian.org>
8201 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8203 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8205 * converter.C (view): add support for $$i (file name) and $$p
8206 (file path) for the viewer command. If $$i is not specified, then
8207 it is appended to the command (for compatibility with old syntax)
8209 2002-10-14 Juergen Vigna <jug@sad.it>
8211 * undo_funcs.C (textHandleUndo): alter the order in which the
8212 new undopar is added to the LyXText, as we have to set first
8213 the right prev/next and then add it as otherwise the rebuild of
8214 LyXText is not correct. Also reset the cursor to the right paragraph,
8215 with this IMO we could remove the hack in "redoParagraphs()".
8217 2002-10-09 Angus Leeming <leeming@lyx.org>
8219 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8220 to turn off an optimisation if a new inset is to be inserted.
8222 2002-10-11 André Pönitz <poenitz@gmx.net>
8224 * lyxtext.h: make some functions public to allow access
8225 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8227 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8229 * text3.C (dispatch): when changing layout, avoid an infinite loop
8232 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8234 * lyxrc.C (read): treat a viewer or converter command of "none" as
8237 * MenuBackend.C (expandFormats): for an update, also allow the
8238 formats that are not viewable
8240 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8241 script if it is newer than the lyxrc.defaults in user directory
8243 2002-10-07 André Pönitz <poenitz@gmx.net>
8245 * text.C: Vitaly Lipatov's small i18n fix
8247 2002-09-25 Angus Leeming <leeming@lyx.org>
8249 * ispell.h: doxygen fix.
8251 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8253 * buffer.h (readFile): Add a new argument to the method, to allow
8254 reading of old-format templates.
8256 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8258 * toc.C (getTocList): Get TOC from InsetWrap.
8260 2002-09-16 John Levon <levon@movementarian.org>
8262 * lyxfunc.C: check tabular for cut/copy too
8264 2002-09-12 John Levon <levon@movementarian.org>
8269 * factory.C: add header
8271 * paragraph_funcs.h:
8272 * paragraph_funcs.C: cleanup
8274 2002-09-11 John Levon <levon@movementarian.org>
8276 * PrinterParams.h: odd/even default to true
8278 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8280 * PrinterParams.h: update printer parameters for new xforms dialog
8282 2002-09-11 Angus Leeming <leeming@lyx.org>
8284 * lyxserver.C (read_ready): re-write to make it more transparent
8285 and to make it work in coherent fashion under Tru64 Unix.
8287 2002-09-11 André Pönitz <poenitz@gmx.net>
8291 * text3.C: implement LFUN_WORDSEL
8293 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8295 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8296 make floatlist_ a boost::shared_ptr<FloatList>
8298 * lyxtextclass.C: include FloatList.h
8299 (LyXTextClass): initialize floatlist_
8300 (TextClassTags): add TC_NOFLOAT
8301 (Read): match "nofloat" to TC_NOFLOAT and use it.
8302 (readFloat): modify call to floatlist_
8306 * FloatList.[Ch] (FloatList): remove commented out float
8308 (erase): new function
8310 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8312 * MenuBackend.C (expandToc): fix crash when there is no document
8315 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8317 * many files: Add insetwrap.
8319 2002-09-09 John Levon <levon@movementarian.org>
8321 * text2.C: remove confusing and awkward depth wraparound
8323 2002-09-09 John Levon <levon@movementarian.org>
8325 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8328 * buffer.C: remove getIncludeonlyList()
8331 * lyxfunc.C: remove headers
8333 2002-09-09 Juergen Vigna <jug@sad.it>
8335 * text.C (getColumnNearX): fix form Michael this is most
8336 probably a cut&paste bug.
8338 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8340 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8342 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8343 references, ws changes.
8345 * text2.C (init): update counters after init
8346 (insertParagraph): no need to set counter on idividual paragraphs.
8347 (setCounter): access the counters object in the textclass object
8348 on in the buffer object.
8349 (updateCounters): ditto
8351 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8352 shared_ptr<Counters> to avoid loading counters.h in all
8354 (LyXTextClass): initialize ctrs_
8355 (TextClassTags): add TC_COUNTER, and ...
8356 (Read): use it here.
8357 (CounterTags): new tags
8358 (readCounter): new function
8359 (counters): new funtion
8360 (defaultLayoutName): return a const reference
8362 * counters.C (Counters): remove contructor
8363 (newCounter): remove a couple of unneeded statements.
8364 (newCounter): simplify a bit.
8365 (numberLabel): some small formatting changes.
8367 * buffer.[Ch]: remove all traces of counters, move the Counters
8368 object to the LyXTextClass.
8370 2002-09-06 Alain Castera <castera@in2p3.fr>
8372 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8373 package to set the horizontal alignment on fixed width columns.
8376 * lyx_sty.h: added tabularnewline macro def.
8378 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8380 2002-09-06 John Levon <levon@movementarian.org>
8382 * LyXAction.C: tooltips for sub/superscript
8384 * MenuBackend.C: a bit more verbose
8386 * lyxfunc.C: tiny clean
8388 * undo_funcs.C: document undo_frozen
8390 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8392 * counters.C (Counters): add missing algorithm counter.
8394 * text2.C (setCounter): lookup the counter with layouts latexname
8395 instead of by section number.
8396 (setCounter): use a hackish way to lookup the correct enum
8398 a float name->type change
8399 reset enum couners with counter name directly instead of depth value.
8401 * counters.C (Counters): remove the push_backs, change to use the
8402 float type not the float name.
8403 (labelItem): remove unused string, float name->type change
8405 * counters.h: don't include vector, loose the enums and sects vectors
8407 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8409 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8410 (Read): add float->TC_FLOAT to textclassTags
8411 (Read): and handle it in the switch
8412 (readFloat): new function
8414 * FloatList.C (FloatList): comment out the hardcoded float
8417 * lyxlayout.h: ws change.
8419 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8421 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8423 2002-09-03 Angus Leeming <leeming@lyx.org>
8425 * BufferView_pimpl.h: qualified name is not allowed in member
8426 declaration: WorkArea & Pimpl::workarea() const;
8428 * factory.C: added using std::endl directive.
8430 * text3.C: added using std::find and std::vector directives.
8432 2002-08-29 André Pönitz <poenitz@gmx.net>
8435 * text2.C: remove unused member number_of_rows
8438 * BufferView2.C: remove file, move contents to...
8439 * BufferView.C: ... here
8441 * BufferView_pimpl.C:
8442 * factory.C: move more inset creation to factory
8444 * vspace.C: avoid direct usage of LyXText, ws changes
8447 don't provide direct access to WorkArea, use two simple
8448 acessors haveSelction() and workHeight() instead
8451 2002-08-29 John Levon <levon@movementarian.org>
8453 * BufferView_pimpl.C (dispatch): do not continue when
8456 2002-08-28 André Pönitz <poenitz@gmx.net>
8458 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8461 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8463 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8465 * buffer.C: increment LYX_FORMAT to 221
8467 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8468 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8470 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8472 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8474 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8476 * factory.C (createInset): use LyXTextClass::floats
8478 * MenuBackend.C (expandFloatListInsert):
8479 (expandFloatInsert):
8482 * text2.C (setCounter):
8484 * LaTeXFeatures.C (useFloat):
8485 (getFloatDefinitions):
8487 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8489 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8490 floatlist_, with accessor floats().
8492 * FloatList.h: remove global FloatList
8494 2002-08-26 André Pönitz <poenitz@gmx.net>
8496 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8500 * BufferView_pimpl.C:
8501 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8503 2002-08-25 John Levon <levon@movementarian.org>
8505 * LyXAction.C: fix margin note description
8507 2002-08-24 John Levon <levon@movementarian.org>
8511 * bufferview_funcs.C:
8513 * undo_funcs.C: cleanups
8515 * lyxfunc.C: disable CUT/COPY when no selection
8517 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8519 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8520 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8522 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8523 Add backward compatibility to "mono", "gray" and "no".
8525 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8527 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8528 (and file_format >= 200).
8530 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8532 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8534 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8536 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8538 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8540 * BufferView_pimpl.C:
8547 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8548 inset and code to make it work with the paragraph code. The inset
8549 can be anywhere in the paragraph, but will only do the expected
8550 thing in LaTeX if the layout file contains the parameter line
8552 (or more generally, a nonzero value) for that layout.
8554 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8556 * paragraph.h: remove the declaration of undefined counters class
8559 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8561 * text2.C (setCounter): fixed enumeration mis-count as reported by
8562 Dr. Richard Hawkins.
8564 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8566 * paragraph_funcs.h: remove some unneeded includes
8568 * text.C (backspace): pasteParagraph now in global scipe
8570 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8571 (pasteSelection): ditto
8573 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8574 * paragraph_funcs.C (pasteParagraph): ... here
8576 2002-08-20 André Pönitz <poenitz@gmx.net>
8578 * commandtags.h: new LFUNs for swapping/copying table row/colums
8581 * lyxfunc.C: support for new lfuns
8583 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8586 * buffer.[Ch]: remove NO_COMPABILITY stuff
8588 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8590 * boost.C (throw_exception): new file, with helper function for
8591 boost compiled without exceptions.
8596 * ParameterStruct.h:
8597 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8599 * bufferlist.C (emergencyWriteAll): use boost bind
8601 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8603 * text.C: include paragraph_funcs.h
8604 (breakParagraph): breakParagraph is now in global scope
8606 * paragraph_funcs.[Ch]: new files
8608 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8611 * buffer.C: include paragraph_funcs.h
8612 (insertStringAsLines): breakParagraph is now in global scope
8614 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8617 * CutAndPaste.C: include paragraph_funcs.h
8618 (cutSelection): breakParagraphConservative is now in global scope
8619 (pasteSelection): ditto
8621 * buffer.h: declare oprator== and operator!= for
8622 Buffer::inset_iterator
8624 * bufferlist.C (emergencyWrite): don't use fmt(...)
8626 * text3.C: add using std::endl
8628 * BufferView.C (moveCursorUpdate): remove default arg
8630 2002-08-20 André Pönitz <poenitz@gmx.net>
8632 * buffer.[Ch]: move inline functions to .C
8635 * BufferView_pimpl.C:
8637 * buffer.[Ch]: use improved inset_iterator
8640 * paragraph.[Ch]: write one paragraph at a time
8642 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8644 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8645 style if style is not specified.
8647 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8649 * text2.C (setCounter): when searching for right label for a
8650 caption, make sure to recurse to parent insets (so that a caption
8651 in a minipage in a figure float works) (bug #568)
8653 2002-08-20 André Pönitz <poenitz@gmx.net>
8655 * text3.C: new file for LyXText::dispatch() and helpers
8657 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8659 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8661 2002-08-19 André Pönitz <poenitz@gmx.net>
8664 * text.C: new LyXText::dispatch()
8666 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8668 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8670 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8672 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8675 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8677 * Makefile.am: use $(variables) instead of @substitutions@
8679 2002-08-15 André Pönitz <poenitz@gmx.net>
8682 * BufferView_pimpl.C: streamlining mathed <-> outer world
8686 * LyXAction.C: remove unused LFUN_MATH
8688 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8690 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8692 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8694 * paragraph.C (Paragraph): reformat a bit
8695 (cutIntoMinibuffer): use builtin InsetList function instad of
8699 * buffer.C: include boost/bind.hpp, add using std::for_each
8700 (writeFileAscii): use ParagraphList iterators
8701 (validate): use for_each for validate traversal of paragraphs
8702 (getBibkeyList): use ParagraphList iterators
8703 (resizeInsets): use for_each to resizeInsetsLyXText for all
8705 (getParFromID): use ParagraphList iterators
8707 * BufferView2.C (lockInset): use paragraph list and iterators
8709 2002-08-14 John Levon <levon@movementarian.org>
8711 * lyxserver.C: remove spurious xforms include
8713 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8715 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8717 2002-08-13 André Pönitz <poenitz@gmx.net>
8720 * lyxfunc.C: further cleaning
8722 2002-08-13 André Pönitz <poenitz@gmx.net>
8724 * funcrequest.h: new constructor
8726 * funcrequest.C: move stuff here from .h
8729 * BufferView_pimpl.C:
8732 * lyxfunc.C: subsequent changes
8734 * lyxfunc.h: new view() member function
8736 * lyxfunc.C: subsequent changes
8738 2002-08-13 Angus Leeming <leeming@lyx.org>
8741 * BufferView_pimpl.C:
8749 changes due to the changed LyXView interface that now returns references
8750 to member variables not pointers.
8752 2002-08-13 Angus Leeming <leeming@lyx.org>
8754 * WordLangTuple (word, lang_code): return references to strings,
8759 * lyxtext.h: forward-declare WordLangTuple.
8764 * text.C: #include "WordLangTuple.h".
8767 * text.C: (selectNextWordToSpellcheck): constify return type.
8769 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8775 * paragraph_pimpl.h:
8778 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8780 Made updateCounter always count from start of buffer, and removed
8781 second argument (par).
8782 Reverted floats number display to '#'. Perhaps I'll try again when the
8783 code base is sanitized a bit.
8785 2002-08-12 Angus Leeming <leeming@lyx.org>
8787 * buffer.[Ch] (getLabelList): constify.
8789 2002-08-07 André Pönitz <poenitz@gmx.net>
8791 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8793 * funcrequest.h: extension to keep mouse (x,y) position
8795 2002-08-12 Juergen Vigna <jug@sad.it>
8797 * BufferView2.C (insertErrors): forbid undo when inserting error
8800 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8802 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8804 * ParagraphList.[Ch]: new files
8806 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8808 * BufferView2.C (lockInset): ParagraphList changes
8811 * bufferlist.C: ditto
8815 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8817 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8818 unused class variable counter_,
8820 * paragraph.[Ch] (getFirstCounter): delete unused function
8822 * counters.C: include LAssert.h
8823 (reset): add a new function with no arg, change other version to
8824 not have def. arg and to not allow empty arg.
8826 * text2.C (setCounter): remove empty arg from call to Counters::reset
8828 2002-08-11 John Levon <levon@movementarian.org>
8830 * Makefile.am: add WordLangTuple.h
8832 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8834 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8835 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8837 * insets/insettext.C: InsetList changes
8839 * graphics/GraphicsSupport.C (operator()): InsetList changes
8841 * toc.C (getTocList): InsetList changes
8843 * paragraph_pimpl.[Ch]: InsetList changes
8845 * paragraph.[Ch]: InsetList changes
8847 * buffer.C (inset_iterator): InsetList changes
8848 (setParagraph): ditto
8849 * buffer.h (inset_iterator): ditto
8850 * iterators.C (operator++): ditto
8851 * iterators.h: ditto
8853 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8855 * InsetList.[Ch]: new files, most InsetList handling moved out of
8858 * BufferView2.C (removeAutoInsets): InsetList changes
8860 (ChangeInsets): ditto
8862 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8864 * paragraph_pimpl.h (empty): new function
8866 * paragraph.[Ch] (empty): new function
8868 * other files: use the new Paragraph::empty function
8870 2002-08-09 John Levon <levon@movementarian.org>
8872 * lyxtext.h: remove unused refresh_height
8874 2002-08-09 John Levon <levon@movementarian.org>
8881 * paragraph.C: move sgml char escaping out of paragraph
8884 * paragraph.C: remove id setter
8888 * paragraph_pimpl.C: remove dead tex_code_break_column
8890 * bufferview_funcs.C: small cleanup
8892 * lyxfunc.C: remove dead proto
8894 * lyxtext.h: make some stuff private. Remove some dead stuff.
8896 * lyxgluelength.C: make as[LyX]String() readable
8898 2002-08-08 John Levon <levon@movementarian.org>
8903 * ToolbarDefaults.C:
8906 * toc.C: lyxaction cleanup
8908 2002-08-08 John Levon <levon@movementarian.org>
8910 * BufferView2.C: small cleanup
8913 * lyxfind.C: move unnecessary header into the .C
8915 2002-08-08 John Levon <levon@movementarian.org>
8917 * funcrequest.h: just tedious nonsense
8920 * lyx_main.C: cleanups
8923 * vspace.C: remove dead header lyx_main.h
8925 2002-08-07 Angus Leeming <leeming@lyx.org>
8928 * paragraph_pimpl.h:
8929 Forward declare class Counters in paragraph.h by moving the ctrs member
8930 variable into Paragraph::Pimpl.
8931 (counters): new method, returning a reference to pimpl_->ctrs.
8933 * text2.C: ensuing changes.
8935 2002-08-07 John Levon <levon@movementarian.org>
8937 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8939 * BufferView_pimpl.C: announce X selection on double/triple
8942 * lyx_main.C: use correct bool in batch dispatch
8944 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8946 2002-08-07 André Pönitz <poenitz@gmx.net>
8948 * funcrequest.h: new class to wrap a kb_action and its argument
8951 * BufferView_pimpl[Ch]:
8955 * lyxrc.C: subsequent changes
8958 2002-08-07 John Levon <levon@movementarian.org>
8960 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8961 document options change.
8963 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8968 * makefile.am: move counters functionality over from
8969 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8971 2002-08-06 John Levon <levon@movementarian.org>
8973 * WordLangTuple.h: new file for word + language code tuple
8984 * BufferView2.C: use WordLangTuple
8987 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8989 2002-08-06 John Levon <levon@movementarian.org>
8991 * lyx_main.C: fix cmdline batch handling
8993 2002-08-06 André Pönitz <poenitz@gmx.net>
8995 * lyxrc.C: set default for show_banner to true
8997 2002-08-06 John Levon <levon@movementarian.org>
8999 * pspell.C: fix a crash, and allow new aspell to work
9001 2002-08-06 John Levon <levon@movementarian.org>
9004 * kbmap.C: small cleanup
9007 * vspace.C: add const
9009 2002-08-05 John Levon <levon@movementarian.org>
9011 * LyXAction.C: back to tabular-insert
9013 2002-08-04 John Levon <levon@movementarian.org>
9016 * BufferView.C: cosmetic change
9018 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9028 * BufferView2.C: purge all "Lyx" not "LyX" strings
9031 * lyxcursor.C: attempt to add some documentation
9036 * ToolbarDefaults.C:
9037 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9038 merge with LFUN_TABULAR_INSERT
9045 * pspell.C: split up i/pspell implementations into separate
9046 files, many cleanups
9048 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9050 * text2.C: some cleanup
9052 * lyxfunc.C: don't check for isp_command == "none" any more, it
9053 didn't make any sense
9055 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9060 * makefile.am: move counters functionality over
9061 from text2.C/paragraph.[Ch] to counters.[Ch], and
9063 2002-08-02 John Levon <levon@movementarian.org>
9065 * buffer.C: s/lyxconvert/lyx2lyx/
9067 2002-08-02 Angus Leeming <leeming@lyx.org>
9069 * lyxlex.C: revert John's change as it breaks reading of the user
9072 2002-08-02 Angus Leeming <leeming@lyx.org>
9074 * importer.C (Import):
9075 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9076 changes due to LyXView::view() now returning a boost::shared_ptr.
9078 2002-08-02 John Levon <levon@movementarian.org>
9080 * lyxlex.C: small cleanup
9082 2002-08-02 John Levon <levon@movementarian.org>
9084 * text2.C (status): small cleanup, no logic change
9086 2002-08-01 John Levon <levon@movementarian.org>
9089 * buffer.C (writeFile): don't output alerts, caller
9093 * lyx_cb.C: from above
9095 * lyxfunc.C: allow to open non-existent files
9097 2002-07-31 John Levon <levon@movementarian.org>
9099 * lyxserver.C: don't let incidental errors get
9102 2002-07-30 John Levon <levon@movementarian.org>
9104 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9106 2002-07-30 John Levon <levon@movementarian.org>
9109 * lyxserver.C: remove I/O callback too
9111 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9113 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9116 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9118 * many files: strip,frontStrip -> trim,ltrim,rtrim
9120 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9122 * PrinterParams.h: remove extern containsOnly, and include
9123 support/lstrings.h instead.
9125 * LaTeX.C (scanAuxFile): modify because of strip changes
9127 * buffer.C (makeLaTeXFile): ditto
9128 * bufferparams.C (writeFile): ditt
9129 * lyxfont.C (stateText): ditto
9130 * lyxserver.C (read_ready): ditto
9131 * vc-backend.C (scanMaster): ditto
9133 * BufferView_pimpl.h: ws changes
9135 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9137 2002-07-26 André Pönitz <poenitz@gmx.net>
9139 * kb_sequence.C: remove unnedred usings
9141 2002-07-26 Juergen Vigna <jug@sad.it>
9143 * lyxfind.C (LyXReplace): we have to check better if the returned
9144 text is not of theLockingInset()->getLockingInset().
9146 2002-07-25 Juergen Vigna <jug@sad.it>
9148 * lyxfind.C (LyXReplace): don't replace if we don't get the
9151 * undo_funcs.C (createUndo): remove debugging code.
9153 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9155 * buffer.C (parseSingleLyXformat2Token): Use default placement
9156 when reading old floats.
9158 * FloatList.C (FloatList): Change the default placement of figure
9159 and tables to "tbp".
9161 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9163 * MenuBackend.C: using std::max
9165 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9167 * MenuBackend.C (expandToc):
9168 (expandToc2): code moved from xforms menu frontend. It is now
9169 generic and TOCs are transparent to menu frontends.
9171 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9173 * toc.C (getTocList): protect against buf=0
9175 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9176 Menu as first parameter. Now, this calls itself recursively to
9177 expand a whole tree (this will be useful for TOC handling)
9178 (expandFloatInsert): remove 'wide' version of floats
9180 * MenuBackend.h (submenuname): returns the name of the submenu.
9181 (submenu): returns the submenu itself, provided it has been
9182 created by MenuBackend::expand
9184 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9186 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9187 insets which have noFontChange == true. (bug #172)
9189 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9191 * BufferView_pimpl.C: add connection objects and use them...
9194 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9196 * MenuBackend.C (expandLastfiles):
9199 (expandFloatListInsert):
9200 (expandFloatInsert):
9201 (expand): split expand in parts
9203 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9205 * lyx_gui.C: use lyx_gui::exit()
9207 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9209 * LyXAction.C: show the failing pseudo action
9211 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9213 * buffer.C (readFile): Run the lyxconvert script in order to read
9216 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9220 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9222 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9226 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9228 2002-07-22 Herbert Voss <voss@lyx.org>
9231 * lyxlength.[Ch]: add support for the vertical lengths
9233 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9235 * toc.[Ch]: std:: fixes
9237 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9239 * lyxrc.C: do not include lyx_main.h
9241 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9247 * BufferView2.C: include "lyxlex.h"
9250 * bufferparams.h: do not #include "lyxlex.h"
9252 * lyxtextclasslist.C (Add): remove method
9253 (classlist): renamed to classlist_
9255 * paragraph_pimpl.C:
9259 * bufferview_funcs.C:
9264 * toc.C (getTocList): use BufferParams::getLyXTextClass
9266 * toc.C (getTocList): use InsetFloat::addToToc
9268 * toc.[Ch]: new files, containing helper functions to handle table
9271 * lyxfunc.C (dispatch): no need to remove spaces around command
9273 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9274 first command of the sequence; it is not very clever, but I do not
9275 have a better idea, actually
9277 * LyXAction.C (LookupFunc): make sure to remove space at the
9278 beginning and end of the command
9280 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9282 * MenuBackend.C (getMenubar): new method: return the menubar of
9284 (read): treat differently reading of menu and menubar (in
9285 particular, the menubar has no name now)
9286 (Menu::menubar): remove
9288 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9291 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9293 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9294 a bibitem inset in a RTL paragraph.
9296 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9298 * paragraph_pimpl.C: constify
9300 * BufferView_pimpl.C:
9302 * lyxfunc.C: fix dispatch in a nicer way
9304 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9306 * lyxfunc.C (dispatch):
9307 * BufferView_pimpl.C:
9308 * BufferView_pimpl.h:
9310 * BufferView.h: rename Dispatch() to dispatch()
9312 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9314 * lyxlayout.C (Read): honor DependsOn tag
9316 * lyxlayout.[Ch] (depends_on): new method
9318 * version.C.in: update lyx_docversion
9320 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9322 * paragraph.C (validate): remove from here...
9323 * paragraph_pimpl.C (validate): ... and move here
9324 (isTextAt): make it const
9326 * buffer.C (getLists): ws cleanup
9328 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9330 * language.C (read): Use iso8859-1 encoding in latex_lang
9331 (this prevents LyX from crashing when using iso10646-1 encoding).
9333 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9335 * text2.C (toggleInset): if cursor is inside an inset, close the
9336 inset and leave cursor _after_ it
9338 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9340 * lyxfunc.C: move minibuffer completion handling out of here
9342 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9344 * BufferView_pimpl.C:
9345 * LaTeX.C: fix dispatch calls
9347 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9349 * text.C (drawChars): Fix Arabic text rendering.
9351 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9355 * lyxfunc.C: remove message-push/pop
9359 * lyxfunc.C: rationalise some code by removing verboseDispatch
9360 in favour of a bool argument to dispatch()
9362 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9364 * lyx_main.C (init): make sure to read symlinks as absolute paths
9366 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9369 * lyxfunc.C: no need for commandshortcut to be a member
9371 2002-07-15 André Pönitz <poenitz@gmx.net>
9373 * converter.C: add support for $$s (scripts from lib/scripts dir)
9374 * lyx_main.C: white space
9376 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9380 * lyxrc.C: remove second exit confirmation
9382 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9387 * BufferView_pimpl.h:
9388 * BufferView_pimpl.C:
9389 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9391 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9393 * MenuBackend.C (expand): add numeric shortcuts to document menu
9395 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9397 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9399 * lyxfont.C (setLyXFamily):
9406 * buffer.C (asciiParagraph): use ascii_lowercase
9408 2002-07-15 Mike Fabian <mfabian@suse.de>
9410 * lyxlex_pimpl.C (search_kw):
9411 * lyxlex.C (getLongString):
9412 * converter.h (operator<):
9413 * converter.C (operator<):
9414 * buffer.C (parseSingleLyXformat2Token):
9416 * ToolbarDefaults.C (read):
9417 * MenuBackend.C (checkShortcuts):
9419 * LColor.C (getFromGUIName):
9420 (getFromLyXName): use the compare_ascii_no_case instead of
9421 compare_no_case, because in turkish, 'i' is not the lowercase
9422 version of 'I', and thus turkish locale breaks parsing of tags.
9424 2002-07-16 Angus Leeming <leeming@lyx.org>
9426 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9427 now takes a Buffer const & argument.
9429 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9431 * BufferView.C (resize): check there's a buffer to resize
9433 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9435 * lyxfunc.C: remove dead code
9438 * lyxserver.C: use lyx_guii::set_read_callback
9440 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9442 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9443 an inset in a RTL paragraph.
9445 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9447 * lyxfunc.C: repaint after a font size update
9449 2002-07-15 André Pönitz <poenitz@gmx.net>
9451 * lyxlength.C: inBP should be able to return negative values
9453 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9455 * lyxfunc.C: use lyx_gui::update_fonts()
9457 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9459 * lyxfunc.C: use lyx_gui::update_color()
9461 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9467 * lyxrc.C: remove file->new asks for name option, and let
9468 buffer-new take an argument
9470 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9472 * BufferView_pimpl.C: remove unneeded extra repaint()
9474 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9476 * LyXAction.C: allow command-sequence with NoBuffer
9478 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9480 2002-07-10 Angus Leeming <leeming@lyx.org>
9482 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9484 2002-07-09 Angus Leeming <leeming@lyx.org>
9486 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9488 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9490 * lengthcommon.h: whitespace
9492 * lyxfunc.C: update scrollbar after goto paragraph
9494 * lyxtext.h: factor out page break drawing, and fix it so
9495 page break/added space paints as selected nicely
9497 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9499 * BufferView_pimpl.C: add FIXMEs, clean up a little
9501 2002-07-09 André Pönitz <poenitz@gmx.net>
9503 * lyxfont.[Ch]: support for wasy symbols
9505 2002-07-08 André Pönitz <poenitz@gmx.net>
9507 * BufferView_pimpl.C: apply John's patch for #93.
9509 2002-07-05 Angus Leeming <leeming@lyx.org>
9511 * BufferView_pimpl.C (buffer): generate previews if desired.
9513 * LColor.h: add "preview" to the color enum.
9515 * LColor.C (LColor): add a corresponding entry to the items array.
9517 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9520 2002-07-05 Angus Leeming <leeming@lyx.org>
9522 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9523 The body of the code is now in the method that is passed an ostream &
9524 rather than a file name.
9525 Pass an additional only_preamble parameter, useful for the forthcoming
9528 2002-07-03 André Pönitz <poenitz@gmx.net>
9530 * lyxfunc.C: simplify getStatus() a bit for math stuff
9532 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9534 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9536 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9538 * text.C (changeRegionCase): do not change case of all the
9539 document when region ends at paragraph end (bug #461)
9541 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9543 * paragraph.C (startTeXParParams):
9544 (endTeXParParams): add \protect when necessary
9546 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9548 * BufferView_pimpl.C (workAreaExpose): remove warning
9550 2002-06-27 Angus Leeming <leeming@lyx.org>
9552 * Makefile.am: add lyxlayout_ptr_fwd.h.
9554 2002-06-26 André Pönitz <poenitz@gmx.net>
9556 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9558 2002-06-25 Angus Leeming <leeming@lyx.org>
9560 * lyxfunc.C (dispatch): Comment out the call to
9561 grfx::GCache::changeDisplay. The method no longer exists now that the
9562 pixmap generation part of the graphics loader has been moved into
9565 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9567 * text2.C: layout as layout
9569 * text.C: layout as layout
9571 * tabular.C (OldFormatRead): layout as layout
9573 * paragraph_pimpl.C (TeXDeeper): layout as layout
9574 (realizeFont): layout as layout
9576 * paragraph.C (writeFile): layout as layout
9577 (validate): layout as layout
9578 (getFont): layout as layout
9579 (getLabelFont): layout as layout
9580 (getLayoutFont): layout as layout
9581 (breakParagraph): layout as layout
9582 (stripLeadingSpaces): layout as layout
9583 (getEndLabel): layout as layout
9584 (getMaxDepthAfter): layout as layout
9585 (applyLayout): layout as layout
9586 (TeXOnePar): layout as layout
9587 (simpleTeXOnePar): layout as layout
9588 (TeXEnvironment): layout as layout
9589 (layout): layout as layout
9590 (layout): layout as layout
9592 * lyxtextclass.C (compare_name): new functor to work with
9593 shared_ptr, layout as layout
9594 (Read): layout as layout
9595 (hasLayout): layout as layout
9596 (operator): layout as layout
9597 (delete_layout): layout as layout
9598 (defaultLayout): layout as layout
9600 * lyxlayout_ptr_fwd.h: new file
9602 * lyxlayout.C (Read): layout as layout
9604 * lyx_cb.C (MenuInsertLabel): layout as layout
9606 * bufferlist.C (newFile): layout as layout
9608 * buffer.C (readLyXformat2): layout as layout
9609 (parseSingleLyXformat2Token): layout as layout
9610 (insertStringAsLines): layout as layout
9611 (asciiParagraph): layout as layout
9612 (latexParagraphs): layout as layout
9613 (makeLinuxDocFile): layout as layout
9614 (simpleLinuxDocOnePar): layout as layout
9615 (makeDocBookFile): layout as layout
9616 (simpleDocBookOnePar): layout as layout
9617 (getLists): layout as layout
9619 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9621 * CutAndPaste.C (cutSelection): layout as layout
9622 (pasteSelection): layout as layout
9623 (SwitchLayoutsBetweenClasses): layout as layout
9625 * BufferView_pimpl.C (Dispatch): layout as layout
9626 (smartQuote): layout as layout
9628 * BufferView2.C (unlockInset): layout as layout
9630 2002-06-24 André Pönitz <poenitz@gmx.net>
9632 * lyxfunc.C: fix #487
9634 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9638 * lyxfunc.C: remove display_shortcuts, show_banner
9640 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9642 * Buffer_pimpl.C: oops, update on resize
9644 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9651 * BufferView.C: use repaint()
9653 * BufferView_pimpl.h:
9654 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9655 as it's a clearer description. Remove superfluous
9658 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9660 * text.C: fix bug 488. Not ideal, but getting
9661 getWord() to work properly for the insets that
9662 matter is more difficult ...
9664 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9666 * BufferView_pimpl.C:
9669 * lyxfunc.C: remove the six million index lyxfuncs to just
9670 one, and DTRT (bug 458)
9672 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9676 * BufferView_pimpl.h:
9677 * BufferView_pimpl.C: clean up resize() stuff,
9678 and unnecessary updateScreen()s
9680 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9684 * BufferView_pimpl.h:
9685 * BufferView_pimpl.C:
9688 * minibuffer.C: remove focus management of workarea,
9689 not needed. Use screen's greyOut()
9691 2002-06-17 Herbert Voss <voss@lyx.org>
9693 * converter.C: (convert) do not post a message, when converting
9694 fails, let the calling function decide what to do in this case
9696 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9698 * lyxfunc.C: tidy up a little
9700 2002-06-16 <alstrup@diku.dk>
9702 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9703 Got rid of FORMS_H_LOCATION include. Now we are
9706 2002-06-15 LyX Development team <lyx@rilke>
9708 * buffer.[Ch] (sgmlOpenTag):
9709 (sgmlCloseTag): Added support for avoiding pernicious mixed
9710 content. Return number of lines written.
9713 (makeDocBookFile): Fixed calls to sgml*Tag.
9714 Simple white space clean.
9716 (simpleDocBookOnePar): Simple white space clean.
9718 * tabular.[Ch] (docBook): Renamed to docbook and got another
9719 argument to related with the pernicious mixed content.
9721 (docbookRow): Fixed calls for docbook inset method.
9723 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9725 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9726 so it's X11 independent.
9730 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9732 2002-06-15 Lyx Development team <lyx@electronia>
9734 * intl.h: Renamed getTrans to getTransManager.
9736 2002-06-14 Angus Leeming <leeming@lyx.org>
9738 * Makefile.am: nuke forgotten stl_string_fwd.h.
9740 2002-06-12 Angus Leeming <leeming@lyx.org>
9742 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9744 2002-06-13 Angus Leeming <leeming@lyx.org>
9747 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9749 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9751 * kbmap.C (getiso): add support for cyrillic and greek
9753 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9757 * BufferView_pimpl.h:
9758 * BufferView_pimpl.C: move bogus scrolling logic
9761 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9764 * BufferView_pimpl.C: view->resize() change
9766 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9768 * BufferView_pimpl.C: topCursorVisible
9771 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9775 * lyx_gui.C: move to frontends/
9779 * lyx_main.C: changes from above
9781 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9788 * lyx_main.C: minor tidy
9790 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9792 * BufferView_pimpl.h:
9793 * BufferView_pimpl.C:
9795 * BufferView.C: make painter() const,
9798 * BufferView2.C: use screen() accessor
9801 * lyx_main.C: some minor cleanup
9803 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9805 * BufferView_pimpl.h:
9806 * BufferView_pimpl.C: remove enter/leaveView,
9809 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9814 * BufferView_pimpl.h:
9815 * BufferView_pimpl.C: only construct screen once,
9818 * lyxrc.C: remove pointless comment
9820 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9823 * BufferView.C: remove active() and belowMouse()
9825 * BufferView_pimpl.h:
9826 * BufferView_pimpl.C: use workarea() not workarea_,
9827 and make it use a scoped_ptr instead
9829 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9831 * lyx_gui.C: add debug message on BadWindow
9833 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9835 * sp_spell.C: fdopen is not part of the C++ standard.
9837 * paragraph.C (InsetIterator): use >= instead of ==
9839 2002-06-07 Angus Leeming <leeming@lyx.org>
9841 Fixes needed to compile with Compaq cxx 6.5.
9842 * BufferView_pimpl.C:
9849 * lyxtextclasslist.C:
9854 all c-library variables have been moved into namespace std. Wrap
9855 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9860 Add a using std::abs declaration.
9862 * kbmap.h (modifier_pair):
9863 * paragraph.h (InsetTable, InsetList):
9864 * lyxfont.h (FontBits):
9865 type definition made public.
9867 * bufferlist.C (emergencyWriteAll): the compiler complains that
9868 there is more than one possible lyx::class_fun template to choose from.
9869 I re-named the void specialisation as lyx::void_class_fun.
9871 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9873 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9874 the compiler is is unable to find tostr in write_attribute.
9876 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9878 * buffer.C (sgmlError): hide #warning
9880 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9882 * xtl/*: get rid of xtl, which is not in use anyway
9884 * LyXAction.C (init):
9885 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9886 were unimplemented xtl experimentation
9888 2002-06-04 André Pönitz <poenitz@gmx.net>
9890 * lyxfunc.C: disable array operation on simple formulae
9892 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9894 * converter.C: constify a bit
9896 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9898 * lyx_gui.C: check xforms version correctly
9900 2002-04-30 Herbert Voss <voss@lyx.org>
9902 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9905 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9907 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9908 attempt to register it with a VCS)
9910 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9912 * lyx_main.C (init): honor variables LYX_DIR_13x and
9915 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9919 * lyx_main.C: fix a crash on bad command line,
9920 and give a useful exit status on error
9922 * lyxfunc.C (doImport): allow -i lyx to work
9924 2002-03-30 André Pönitz <poenitz@gmx.net>
9926 * lyxfunc.C: mathed font changes
9928 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9943 * trans_mgr.h: srcdocs, and some minor cleanups
9945 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9947 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9948 call getFont all the time)
9950 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9952 * switch from SigC signals to boost::signals
9954 2002-05-29 André Pönitz <poenitz@gmx.net>
9956 * paragraph_pimpl.C (getChar): don't call size() too often...
9958 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9960 * paragraph_pimpl.C (insertChar): do not try to update tables when
9961 appending (pos == size())
9963 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9964 in order to reduce drastically the number of comparisons needed to
9965 parse a large document
9967 2002-05-29 André Pönitz <poenitz@gmx.net>
9973 * textclasslist.[Ch]:
9974 * sp_ispell.h: whitespace change
9976 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9978 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9979 lyxaction directly now.
9981 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9985 * lyxvc.C: remove unused headers
9987 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9994 * undo_funcs.C: some cleanups. Use shared_ptr
9995 and a template for the undo stacks.
9997 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9999 * BufferView_pimpl.h:
10000 * BufferView_pimpl.C:
10007 * text2.C: use key_state/mouse_state
10009 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10011 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10014 * chset.C: change include order
10015 (loadFile): use boost regex and get rid of LRegex and LSubstring
10017 * Makefile.am (BOOST_LIBS): new variable
10018 (lyx_LDADD): use it
10020 * LaTeX.C: change include order.
10021 (scanAuxFile): use boost regex and get rid of LRegex and
10025 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10030 * FontInfo.C: moved to frontends/xforms/
10033 * FontLoader.C: moved into frontends for GUIIzation
10038 * lyxfunc.C: changes from above
10040 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10042 * LColor.C: remove spurious X include
10044 * BufferView_pimpl.C:
10049 * text2.C: move font metrics to frontends/
10051 2002-05-24 Juergen Vigna <jug@sad.it>
10053 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10054 setting the undo_cursor.
10056 * ParagraphParameters.h: include local includes first.
10058 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10060 * BufferView_pimpl.C:
10061 * BufferView_pimpl.h:
10065 * screen.C: move WorkArea into frontends/
10071 * BufferView2.C: move LyXScreen into frontends/
10075 * lyx_gui.C: move lyxlookup into frontends/xforms/
10077 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10080 * BufferView_pimpl.C:
10090 * bufferview_funcs.C:
10103 * vc-backend.C: move LyX/XFormsView into frontends/
10105 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10117 * text2.C: move Painter to frontends/
10119 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10121 * buffer.C: comment out some some code that depend upon lyx_format
10124 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10125 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10127 * buffer.h (NO_COMPABILITY): turn off compability
10129 * ColorHandler.C: include scoped_array.hpp
10131 * font.C: Use more specific smart_ptr header.
10134 * ShareContainer.h: ditto
10135 * lyx_main.h: ditto
10137 * FontInfo.h: ditto
10138 * BufferView_pimpl.h: ditto
10139 * ColorHandler.h: ditto
10141 * kbmap.C (defkey): change call to shared_ptr::reset
10143 2002-05-21 Juergen Vigna <jug@sad.it>
10145 * buffer.C (insertErtContents): fix to insert ert asis if it is
10146 non empty. Skip it completely if it contains only whitespaces.
10148 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10150 * BufferView_pimpl.C:
10151 * BufferView2.C: clear selection on paste (bug 393)
10153 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10155 * DepTable.C: include ctime
10157 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10159 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10161 2002-05-14 Juergen Vigna <jug@sad.it>
10163 * text.C (breakParagraph): fixed function to honor the keepempty
10164 layout in the right maner and also to permit the right breaking
10165 algorithm on empty or non empyt keepempty paragraphs.
10167 * paragraph.C (breakParagraph): we have to check also if the par
10168 is really empty (!size()) for isempty otherwise we do the wrong
10171 2002-05-10 Juergen Vigna <jug@sad.it>
10173 * buffer.[Ch] : The following are only changes to the ert
10174 compatibility read reading old LaTeX layout and font stuff and
10175 convert it to ERTInsets.
10177 * buffer.h: added isErtInset().
10179 * buffer.C (struct ErtComp): add a fromlayout bool to check
10180 if we're inside a LaTeX layout.
10181 (isErtInset): new helper function.
10182 (insertErtContents): look for other ert insets before this one
10183 and insert the contents there, so that we don't have subsequent
10184 ERT insets with nothing between them. This way we create only one
10185 inset with multiple paragraphs. Also check if we don't insert only
10186 spaces ' ' as they are ignored anyway afterwards in the .tex file
10187 so if we have only spaces we will ignore this latex part in the
10189 (parseSingleLyXformat2Token \\layout): better compatibility when
10190 reading layout-latex stuff.
10191 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10193 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10194 stuff after reading the inset only get the information back from
10197 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10199 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10201 * LaTeXFeatures.C (getBabelOptions): New method.
10203 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10205 * BufferView_pimpl.C (Dispatch): work around missing argument for
10208 2002-05-08 Juergen Vigna <jug@sad.it>
10210 * text.C (leftMargin): handle paragraph leftindent.
10212 * paragraph.C (writeFile): write the new \\leftindent tag.
10213 (validate): handle leftindent code.
10214 (TeXEnvironment): handle paragraphleftindent code again.
10216 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10218 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10219 for paragrap_extra indent code and new token \\leftindent.
10220 (latexParagraphs): handle the leftindent as environment.
10222 * ParameterStruct.h: added leftindent support.
10224 * ParagraphParameters.C (leftIndent): added support functions for
10225 the paragraph left indent.
10227 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10230 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10232 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10235 * text.C (computeBidiTables): No bidi in insetERT.
10237 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10240 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10242 * version.C.in: pre 5
10244 2002-05-02 José Matos <jamatos@fep.up.pt>
10245 * buffer.C (makeDocBookFile): white space changes, add newline to
10247 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10249 * tabular.C (docBook): fix typo.
10251 2002-05-03 Juergen Vigna <jug@sad.it>
10253 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10254 change in LyXText as we can not be sure it was not freed.
10255 (drawOneRow): remove unused code.
10257 * text.C (drawInset): redo the calculation of the need_break_row as
10258 it could have a row which was already freed.
10259 (draw): look at the return value of drawInset and return false if
10260 it also returned false.
10261 (paintRowText): look at the return value of draw and return false if
10262 it also returned false.
10264 * lyxtext.h: added bool return type to drawInset() and draw() so that
10265 if we have a change in the row so that the rowbreak has to be redone
10266 we abort drawing as it will be called again.
10268 2002-05-02 Juergen Vigna <jug@sad.it>
10270 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10271 a change in the maintext also if we're inside an inset.
10272 (Dispatch): set the cursor again after a break line and after the
10273 screen has been updated as it could be we're in a different row.
10275 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10276 to set the cursor behind the pargraph with > size().
10277 (setCursor): check also for the same paragraph when checking where
10278 to put the cursor if we have a NFR inset.
10280 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10281 parts of layout read further up as it still was in the wrong
10284 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10286 * screen.C (drawFromTo): change sine fullRebreak always return
10289 * buffer.C (parseSingleLyXformat2Token): reindent some
10291 * BufferView_pimpl.C (update): change since fullRebreak always
10293 (Dispatch): git rid of the last hardcoded "Standard"s.
10295 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10297 * text2.[Ch] (fullRebreak): make it return void now that we always
10300 2002-04-30 Juergen Vigna <jug@sad.it>
10302 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10303 ert compatibility check for "latex" layout.
10305 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10307 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10308 minipages: use col% instead of p%, and also use the current font.
10309 (makeLaTeXFile): Fix use babel condition.
10310 (parseSingleLyXformat2Token): Correct font when reading old floats.
10312 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10314 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10315 inserting list of floats.
10317 2002-04-25 Herbert Voss <voss@lyx.org>
10319 * MenuBackend.C (expand): don't add the graphics extensions to the
10322 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10324 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10325 non-existing layout, do not complain if it was the default layout
10326 of the original class (bug #342)
10328 2002-04-24 Juergen Vigna <jug@sad.it>
10330 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10331 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10333 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10335 * buffer.C (getBibkeyList): If using \bibliography, return the
10336 option field with the reference itself. Enables us to provide natbib
10337 support when using \bibliography.
10339 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10341 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10343 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10344 natbib is provided by the LaTeX class.
10346 2002-04-23 Juergen Vigna <jug@sad.it>
10348 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10351 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10353 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10355 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10357 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10358 ensuremath around textordmasculine, textordfeminine and
10361 2002-04-19 Juergen Vigna <jug@sad.it>
10363 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10364 reinitializing the buffer otherwise row-dimensions may be wrong.
10365 (update): reset also the selection cursors if they do exits otherwise
10366 their x/y positions may be wrong.
10368 * text2.C (cursorDown): don't enter the inset if we came from a row
10369 above and are one row over the inset.
10371 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10372 really leaving an inset.
10374 2002-04-18 Juergen Vigna <jug@sad.it>
10376 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10377 of the selected paragraph does not have the selected layout also if
10380 * text2.C (setLayout): fixed bug which did not change last selected
10383 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10384 changed the read and substituted \\end_float with \\end_inset!
10386 * BufferView_pimpl.C (cursorPrevious):
10387 (cursorNext): fixed to make it work with rows heigher than the work
10388 area without moving the cursor only the draw of the row.
10389 (workAreaMotionNotify): fix jumping over high rows.
10391 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10393 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10396 2002-04-16 Juergen Vigna <jug@sad.it>
10398 * text2.C (setCursor): set also the irow().
10399 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10401 (cursorDown): support for locking an inset if the x_fix value goes
10402 inside it. That way I can transverse insets too with cursor up/down.
10404 * lyxrow.h: added irow helper function same as other (i) functions.
10406 * BufferView_pimpl.C (cursorPrevious):
10407 (cursorNext): fixed for insets!
10409 2002-04-15 Juergen Vigna <jug@sad.it>
10411 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10412 position otherwise it is wrong in some cases.
10414 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10415 inside the inset before the call.
10417 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10419 * buffer.[Ch] (getBibkeyList): make it const.
10421 2002-04-12 Juergen Vigna <jug@sad.it>
10423 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10425 * text2.C (getCursorX): new helper function
10426 (setCursor): compute also ix_
10427 (setCursorFromCoordinates): set also ix.
10429 * lyxcursor.h: added ix_ and helper functions.
10431 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10433 * buffer.C (insertStringAsLines): dont break paragraph if the this
10434 paragraph is inside an inset which does not permit it!
10436 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10437 also with no chars on this paragraph.
10438 (paintRowText): only paint stuff if it's inside the workarea!
10440 * paragraph.C (breakParagraph): honor keepempty flag and break the
10441 paragraph always below not above.
10443 * BufferView2.C (unlockInset): update the paragraph layout on inset
10444 unlock as we changed paragraph in such a case.
10446 * lyxfind.C (LyXFind): clear the former selection if not found!
10448 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10449 again called in insertChar().
10451 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10452 an inset which uses the whole row!
10453 (rightMargin): ditto.
10454 (insertChar): force a rebreak if we inserted an inset!
10456 2002-03-28 Herbert Voss <voss@lyx.org>
10458 * lyxlength.[Ch]: add inBP() to get the right PS-point
10459 units (BigPoint). With inPixels we have rounding errors
10461 2002-04-11 Juergen Vigna <jug@sad.it>
10463 * text2.C (setCursorFromCoordinates): set iy to the right value.
10464 (setCursor): add check if row->previous exists!
10466 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10467 an old float_type as this was the case in the old code!
10469 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10471 * BufferView2.C (showLockedInsetCursor): use iy
10472 (fitLockedInsetCursor): ditto
10474 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10475 locked insets as there we have the right value now.
10477 * lyxcursor.C: added iy_ variable and iy functions to set to the
10478 baseline of cursor-y of the locked inset.
10480 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10481 (setCursor): fixed for insets which need a full row.
10483 * text.C (rowLastPrintable): don't ignore the last space when before
10484 an inset which needs a full row.
10485 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10486 as last character of a row when before a inset which needs a full row.
10488 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10490 * version.C.in: update date
10492 * text2.C (fullRebreak): try to always return true and see what
10495 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10497 * MenuBackend.C (expand): use Floating::listName
10499 * FloatList.C (FloatList): add listName argument to the built-in
10502 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10503 text associated with the float.
10505 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10507 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10509 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10511 * ShareContainer.h: add a couple of missing typenames.
10513 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10515 * lyxrc.C (getDescription): use _() correctly rather than N_().
10517 2002-03-28 Herbert Voss <voss@lyx.org>
10519 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10520 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10522 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10524 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10525 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10527 2002-03-29 Juergen Vigna <jug@sad.it>
10529 * lyxfunc.C (dispatch): add a missing fitCursor call.
10531 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10532 it was scrolled by a cursor move, so return the bool status.
10534 * BufferView.C (fitCursor): return the bool flag also to the outside
10535 world as this is needed.
10537 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10539 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10540 call the edit() as it is not needed (and wrong) IMO.
10541 (workAreaButtonPress): set the screen_first variable before evt.
10542 unlock the inset as this may change screen_first and then we have
10543 a wrong y position for the click!
10545 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10547 * MenuBackend.C (expand): another translation that I missed
10549 2002-03-28 Juergen Vigna <jug@sad.it>
10551 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10553 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10555 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10557 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10559 * MenuBackend.C (expand): fix export/view/update when there is no
10562 2002-03-27 Herbert Voss <voss@lyx.org>
10564 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10567 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10569 * bufferview_funcs.C (currentState): only show paragraph number
10570 for is DEVEL_VERSION is set.
10572 * lyxfunc.C (dispatch): put warning in INFO channel
10574 * MenuBackend.C (expand): translate the name of floats
10576 * FloatList.C (FloatList): mark the float names for translation
10578 * converter.C (convert): use LibScriptSearch
10580 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10582 * MenuBackend.C (defaults): fix default menu (we might as well get
10585 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10587 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10590 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10592 * lyxvc.C: reorder includes.
10594 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10596 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10599 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10601 * CutAndPaste.C: change layouts earlier on paste
10602 to avoid crashing when calling getFont()
10604 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10606 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10609 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10611 * WorkArea.C: remove 'Pending' debug message.
10613 * most files: ws cleanup
10615 * buffer.[Ch]: ws changes
10617 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10619 2002-03-21 Juergen Vigna <jug@sad.it>
10621 * tabular.C (SetMultiColumn): collapse also the contents of the
10622 cells and set the last border right. Added a Buffer const * param.
10624 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10626 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10629 2002-03-19 Juergen Vigna <jug@sad.it>
10631 * text2.C (clearSelection): reset also xsel_cache.
10633 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10634 where it needs to be called (John tells us to do so too :)
10635 (selectionLost): reset sel_cache.
10637 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10639 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10641 * text2.C (setCursorIntern): put debuging code in INSETS channel
10643 2002-03-19 André Pönitz <poenitz@gmx.net>
10645 * lyxfunc.C: tiny whitespace change
10647 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10649 * ToolbarDefaults.C (init):
10650 * LyXAction.C (init):
10652 * BufferView_pimpl.C (Dispatch):
10653 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10655 2002-03-19 Allan Rae <rae@lyx.org>
10657 * exporter.C (Export): removeAutoInsets before doing anything else.
10658 While I've just introduced a dependency on BufferView this really is
10659 the best place to clean the buffer otherwise you need to cleanup in
10660 a dozen places before calling export or cleanup in a dozen functions
10663 * converter.C (runLaTeX):
10664 (scanLog): Better handling of removeAutoInsets and screen updates.
10666 * lyxfunc.C (dispatch): small whitespace changes
10668 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10670 * WorkArea.C (C_WorkAreaEvent): return a value.
10671 (event_cb): return 1 if we handled the event, 0 otherwise.
10673 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10675 2002-03-18 Juergen Vigna <jug@sad.it>
10677 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10678 (GetAdditionalWidth): ditto.
10679 (RightLine): ditto.
10682 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10683 inset if we're there actually (probably not used right now but this
10684 is the direction to go for unifying code).
10685 (paste): disable code to clear the selection.
10687 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10688 inside an InsetText and move the check further up as it is in the
10691 * text2.C (pasteSelection): set a selection over the pasted text.
10693 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10695 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10696 and libgraphics to build on Cygwin.
10698 2002-03-15 Juergen Vigna <jug@sad.it>
10700 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10701 inserting an Inset into the paragraph. I know this is not the best
10702 fix but we already use current_view in CutAndPaste so we will remove
10703 all of it's using at the same time.
10705 * buffer.C (sgmlError): deactivated function till it is rewritten in
10706 the right mode, now it can create problems.
10708 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10709 before accessing it.
10711 2002-03-14 Juergen Vigna <jug@sad.it>
10713 * undo_funcs.C (textHandleUndo): do the right thing when updating
10714 the inset after the undo/redo.
10716 * text2.C (setCursor): just some testcode for #44 not ready yet.
10718 * undo_funcs.C (textHandleUndo): set the next() and previous()
10719 pointers of the paragraph to 0 before deleting otherwise we have
10720 problems with the Paragraph::[destructor].
10722 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10723 on a paragraph insertion.
10725 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10727 * buffer.C (asciiParagraph): use += operator for char append to
10730 * paragraph.C (getFontSettings): compare >= not just >
10731 (highestFontInRange): ditto
10734 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10736 * paragraph.C: change several algorithm to be more appripriate for
10737 the problem domain. This is lookip in FontList and in the InsetList.
10739 2002-03-13 André Pönitz <poenitz@gmx.net>
10742 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10744 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10749 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10751 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10753 * Painter.C (display): anon helper function, adjust code for this
10755 (pixmap): remove function.
10757 * Painter.h: remove private display variable.
10759 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10761 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10763 * WorkArea.[Ch]: remove figinset_canvas cruft.
10765 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10767 * lyxtextclass.C (operator): add one item cache optimization.
10769 * bufferlist.h: doxy changes
10771 * bufferlist.C: ws changes
10773 * DepTable.[Ch] (ext_exist): place const in the right spot.
10775 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10777 (workAreaExpose): call resizeInsets when the with BufferView changes.
10778 (Dispatch): adjust for protectedBlank removal
10779 (specialChar): call updateInset if the insert went ok.
10781 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10782 specialChar instead.
10784 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10786 * BufferView.h: doxy change
10788 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10790 * lyxtextclass.C (operator[]): remove non-const version
10791 (defaultLayout): remove non-const version
10793 2002-03-12 Juergen Vigna <jug@sad.it>
10795 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10796 did resize the LyXText too.
10798 * buffer.C (readLyXformat2): set layout information on newly allocated
10801 * tabular.C (OldFormatRead): set layout information on the paragraph.
10803 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10805 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10807 2002-03-11 Juergen Vigna <jug@sad.it>
10809 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10811 (resizeCurrentBuffer): force also the insets to resize themselfes.
10812 (moveCursorUpdate): fixed up for InsetText.
10814 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10817 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10818 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10819 value of Dialogs::tooltipsEnabled().
10820 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10822 2002-03-08 Juergen Vigna <jug@sad.it>
10824 * BufferView_pimpl.C (updateInset): update inset inside inset also
10825 if it isn't inside theLockingInset().
10827 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10829 * buffer.C (asciiParagraph): redo some of the word and line length
10831 (getLists): look for Caption instead of caption.
10833 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10835 * buffer.C (Buffer): initialize niceFile to true
10837 (makeLinuxDocFile):
10838 (makeDocBookFile): make sure niceFile is true on exit
10840 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10842 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10844 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10846 * LyXSendto.C: remove.
10847 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10848 * lyx_gui.C: remove now-redundant comment.
10849 * ColorHandler.h: remove forward declaration of class WorkArea.
10850 * lyxfunc.C: remove #include "WorkArea.h".
10852 2002-03-07 Juergen Vigna <jug@sad.it>
10854 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10855 got moved away with the DEPM and also set the inset_owner always
10856 right which before could have been omitted.
10858 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10860 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10861 wanted layout is not found.
10863 2002-03-07 Juergen Vigna <jug@sad.it>
10865 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10867 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10869 * paragraph.C (breakParagraph): use default layout not layout of
10871 (Paragraph): clear ParagraphParameters.
10873 2002-03-06 Juergen Vigna <jug@sad.it>
10875 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10876 otherwise it would not be a valid lenght. Fixed a special case in
10877 the minipage compatibility read where we end the document with a
10880 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10881 was set as it could be 0 for InsetTexts first entry.
10883 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10885 * paragraph.C (writeFile): if layout is empty write out
10886 defaultLayoutName().
10888 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10889 file without named layout we set layout to defaultLayoutName().
10891 2002-03-06 Juergen Vigna <jug@sad.it>
10893 * CutAndPaste.C (copySelection): set layout for new paragraph.
10895 * text.C (prepareToPrint): leave ERT inset left aligned
10896 (leftMargin): don't indent paragraphs inside ERT insets
10898 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10900 * paragraph.C (breakParagraph): dont call clear do the work manually
10902 * paragraph.[Ch] (clear): remove function
10904 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10906 * paragraph.C (Paragraph): dont call clear, the work has already
10909 * lyxtextclass.C (operator): assert if n is empty
10911 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10912 work manually instead.
10914 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10916 * BufferView_pimpl.C: protect selectionLost against text == 0
10918 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10920 * text.C (breakParagraph): fix a setting layout to '0' problem.
10922 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10924 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10925 final location of file, for the included files, and graphics.
10927 2002-03-05 Juergen Vigna <jug@sad.it>
10929 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10931 2002-03-04 Juergen Vigna <jug@sad.it>
10933 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10935 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10936 last column of multicolumn cells.
10937 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10939 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10941 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10942 file if it doesn't go to a temporary file.
10944 * buffer.C (sgmlOpenTag):
10945 (sgmlCloseTag): remove extra newline insertion.
10947 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10949 * text.C (getRowNearY): comment out debug msg
10951 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10953 * text2.C: first -> first_y
10955 * text.C (getRowNearY): add some attemts at a possible
10956 optimization, not working.
10958 * tabular.[Ch]: add BufferParams to several function so that newly
10959 created paragraph can be initialized to he default layotu for the
10962 * tabular-old.C (ReadOld): add buf->params to call of Init
10964 * screen.C: rename text->first to text->first_y
10966 * paragraph.C (breakParagraph): always set layout in the broken
10969 * lyxtextclass.C (Read): remove lowercase
10972 (delete_layout): ditto
10974 * lyxtext.h: rename first -> first_y
10976 * lyxlayout.C (Read): remove lowercase
10979 (obsoleted_by): ditto
10981 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10983 * buffer.C (insertErtContents): add params are to InsetERT
10984 (parseSingleLyXformat2Token): add code to check if a paragraphs
10985 layout really exist.
10986 (parseSingleLyXformat2Token): add params to several inset
10988 (asciiParagraph): remove lowercase, do the layout comparisons with
10991 * BufferView_pimpl.C (cursorNext): first -> first_y
10992 (resizeCurrentBuffer): first -> first_y
10993 (updateScrollbar): first -> first_y
10994 (scrollCB): first -> first_y
10995 (workAreaMotionNotify): first -> first_y
10996 (workAreaButtonPress): first -> first_y
10997 (checkInsetHit): first -> first_y
10998 (cursorPrevious): first -> first_y
10999 (cursorNext): first -> first_y
11000 (Dispatch): add buffer_->params to severl inset contructors
11002 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11004 * lyxlayout.C (Read): remove some debug info that I forgot.
11006 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11007 clean up the code slightly.
11008 (makeLinuxDocFile): ditto
11009 (makeDocBookFile): ditto
11011 * text2.C: layout as string
11013 * text.C: layout as string
11015 * paragraph_pimpl.C: layout as string
11017 * paragraph.[Ch]: layout as string
11019 * lyxtextclasslist.[Ch]: layout as string
11021 * lyxtextclass.[Ch]: layout as string
11023 * lyxtext.h: layout as string
11025 * lyxlayout.[Ch]: layout as string
11027 * lyx_cb.C: layout as string
11029 * bufferview_funcs.C: layout as string
11031 * bufferparams.C: layout as string
11033 * buffer.C: layout as string
11035 * LyXView.[Ch]: layout as string
11037 * LaTeXFeatures.[Ch]: layout as string
11039 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11041 * BufferView_pimpl.C: change current_layout to string, remove
11046 (workAreaButtonRelease): layout as string
11048 * BufferView2.C (unlockInset): adjust
11050 * vspace.C (asLatexCommand): use an explict temp variable.
11052 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11054 * Makefile.am: use FRONTEND_*
11056 2002-03-01 Juergen Vigna <jug@sad.it>
11058 * tabular.C (SetWidthOfMulticolCell): changed to something better
11059 I hope but still work in progress.
11060 (recalculateMulticolumnsOfColumn): renamed function from
11061 recalculateMulticolCells as it is more appropriate now.
11062 (SetWidthOfCell): calculate multicols better.
11064 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11066 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11068 * lyxfunc.C (processKeySym): print sequence also if it is
11069 `deleted' (complete)
11071 * kbsequence.C (print): print sequence even if it is deleted
11072 (complete would be a better word, actually).
11074 * lyxfunc.C (dispatch): print complete options after a prefix key
11076 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11078 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11080 * text2.C (setCharFont): eliminate setCharFont code duplication.
11082 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11084 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11085 LFUN_TABULAR_FEATURE (bug #177)
11087 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11089 * Makefile.am: remove figure.h
11091 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11093 * Bufferview_pimpl.C:
11105 * text2.C: remove #include "lyx_gui_misc.h".
11107 * LaTeX.C: added #include <cstdio>
11109 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11111 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11112 that the paragraph following this one can have.
11114 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11116 * vspace.C (asLatexCommand): fix bogus gcc warning
11118 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11120 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11122 * text2.C (setLayout): get rid of redundant code
11124 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11126 * text2.C (incDepth): make sure depth cannot be increased beyond
11129 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11131 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11132 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11134 * PainterBase.h (image):
11135 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11136 a LyXImage const *.
11138 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11142 * BufferView_pimpl.C:
11143 * BufferView_pimpl.h:
11163 * sp_spell.C: remove fig inset, and the crap house of
11164 cards that follows it
11166 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11171 * os2_errortable.h:
11172 * nt_defines.h: move .h into support/
11174 * vms_defines.h: remove
11176 * WorkArea.C: add space in debug output
11180 * buffer.C: add WITH_WARNINGS
11184 * bufferlist.C: s/retrive/retrieve/, add docs
11193 * chset.C: add docs
11195 * lyxgui.C: add ID to X error handler
11197 * lyxtestclass.c: fix typo
11199 2002-02-26 Juergen Vigna <jug@sad.it>
11201 * tabular_funcs.C (write_attribute): changed so that some default
11202 attributes are not written at all.
11203 (getTokenValue): set default values before trying to read the
11204 value so we have the return value always set as default if we don't
11205 find the token we search for.
11207 * tabular.C (Write): write bools as bools not as strings!
11209 2002-02-22 Juergen Vigna <jug@sad.it>
11211 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11212 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11214 * text.C (leftMargin): don't add an indent for paragraphs inside
11215 tabular cells (fix #208).
11217 2002-02-21 José Matos <jamatos@fep.up.pt>
11219 * tabular.C (docBook): fixed support for long tables.
11221 2002-02-20 Juergen Vigna <jug@sad.it>
11223 * text2.C (getFont): get the drawing font of the Inset if this
11224 paragraph is inside an inset (only important for InsetERT for now).
11226 * buffer.C (insertErtContents): use new lanugage params in ERT
11229 * CutAndPaste.C: commenting out seemingly uneeded code.
11231 2002-02-19 Allan Rae <rae@lyx.org>
11233 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11234 Iterators might be simple to use but they also get invalidated.
11235 (removeAutoInsets): renamed saved cursor tracking variables and added
11236 some comments to clarify what everything does.
11238 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11245 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11246 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11249 * vc-backend.h: remove #include "support/syscall.h"
11253 * converter.C: rearrange #includes in Lars' approved fashion.
11255 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11256 forward declare class Timeout in the header file.
11258 * XFormsView.C: changes due to the above.
11260 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11261 similar to LyXView.
11263 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11264 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11266 2002-02-18 José Matos <jamatos@fep.up.pt>
11268 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11271 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11273 * a lot of small ws changes
11274 * add a lot of using std::XXX
11275 * use std construcs some places where approp.
11276 * use some exisint stuff from lyxfunctional where approp.
11277 * Make file changes to use partial linking (lets test this now...)
11279 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11283 remove #include "support/syscontr.h" as it's redundant. Always has been.
11291 change Systemcalls::System to Systemcalls::Wait and
11292 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11293 No change of functionality, just reflects the stripped down Systemcalls
11296 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11298 * debug.[Ch]: add a GRAPHICS type to the enum.
11300 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11302 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11304 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11307 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11309 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11310 match the changes below.
11312 * text2.C (toggleInset): if there is not editable inset at cursor
11313 position, try to see if cursor is _inside_ a collapsable inset
11316 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11318 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11319 document menu has a nice checkbox
11321 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11323 * lyxlength.C (asLatexString): change PW to output as percent of
11326 * lengthcommon.C: change '%' to 't%'
11328 * lyxfunc.C (dispatch): a few comments from Martin
11330 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11334 * BufferView_pimpl.h:
11335 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11338 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11340 * vspace.C (inPixels): fix compiler warning
11342 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11344 * lyxfunc.C (getStatus): fix status message for disabled commands.
11346 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11348 * BufferView_pimpl.C: fix crash on close buffer
11349 during selection (#227)
11351 2002-01-27 Herbert Voss <voss@lyx.org>
11353 * buffer.C: link old Figure to new graphic inset
11355 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11357 * FontLoader.C (getFontinfo): Change the latex font names in order
11358 to match the names of type1inst.
11360 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11362 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11364 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11365 (extchanged): ditto
11367 (remove_files_with_extension): ditto
11368 (remove_file): ditto
11371 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11372 document is smaller than the work area height. Do not initialize
11373 static variables to 0.
11375 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11377 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11379 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11380 LFUN_LAYOUT_PARAGRAPHS.
11382 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11383 tabular. It is possible to provide a possible cell, which will
11384 typically be the actcell from the corresponding insettabular
11386 * lyxfunc.C (getStatus): small cleanup; disable
11387 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11390 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11392 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11394 * paragraph.C (startTeXParParams):
11395 (endTeXParParams): new methods. The LaTeX code to
11396 start/end paragraph formatting
11397 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11398 empty (fixes bug #200)
11400 * vspace.C (inPixels): adapt to the change below
11401 (inPixels): [later] more cleanups (remove unused variables)
11403 * lyxlength.C (inPixels): change to use a width and a height as
11406 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11408 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11409 Replaced with \paperwidth
11411 * DepTable.C (insert): add std:: qualifier
11413 2002-01-18 Allan Rae <rae@lyx.org>
11415 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11418 * text.C (drawInset): Turned out I didn't know enough about how
11419 rebreaking worked. This fixes most of the redraw problems. I see
11420 an occasional cursor trail when a line is broken now and the cursor
11421 placement can seem out by a few pixels also after a rebreak.
11423 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11425 * buffer.C (parseSingleLyXformat2Token): update because minipage
11426 width is now a LyXLength
11428 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11430 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11433 2002-01-17 Juergen Vigna <jug@sad.it>
11435 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11437 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11438 is set correctly and the inset is updated correctly.
11440 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11442 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11443 the beginning of the loop.
11445 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11447 * lyxrc.C: improve help for use_scalable_fonts
11449 2002-01-17 Allan Rae <rae@lyx.org>
11451 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11453 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11455 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11456 make sure to set their inset_owner to the right value (bug #171)
11458 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11461 * DepTable.C: Implement mtime checking to reduce time spent doing
11464 2002-01-16 Juergen Vigna <jug@sad.it>
11466 * tabular.C (GetAdditionalHeight): one of error fixed.
11468 * lyxrc.C (output): small fix in writing use_pspell.
11470 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11472 * sp_base.h: #include LString.h
11474 2002-01-16 Allan Rae <rae@lyx.org>
11476 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11477 Can someone check this please?
11479 * text.C (drawInset): It was possible that p.row would be removed by
11480 breakAgainOneRow upsetting a few other settings. There may be another
11481 small tweak possible by setting need_break_row = 0 when p.row has been
11482 removed but I don't know enough about the logic here.
11484 2002-01-15 Allan Rae <rae@lyx.org>
11486 * text.C (insertChar): removed conditional truism.
11488 * BufferView2.C (removeAutoInsets): More tweaks.
11489 cur_par_prev could be a stray pointer. Check for trailing empty line
11490 in case last line was cur_par and only had an error inset on it.
11492 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11494 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11497 * vc-backend.C (most methods):
11498 * exporter.C (Export):
11499 * converter.C (convert):
11501 * LyXSendto.C (SendtoApplyCB):
11502 * lyxfunc.C (dispatch):
11506 * lyx_cb.C (AutoSave):
11508 * BufferView_pimpl.C (MenuInsertLyXFile):
11509 * buffer.C (runChktex): use Buffer::filePath().
11511 * buffer.h: rename filename to filename_; rename filepath to
11512 filepath_ and make it private
11513 (filePath): new method
11515 * buffer.C (writeFile): use fileName()
11518 * lyx_main.C (init): fix starting of LyX when the binary is a
11519 link from so,ewhere else.
11521 * minibuffer.C: include <cctype> for isprint
11523 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11525 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11526 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11527 name clash with InsetCollapsable's width function.
11529 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11531 * lastfiles.C: include <iterator>
11533 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11535 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11538 * buffer.C (makeLaTeXFile): ditto.
11539 Also make loop operation more transparent.
11541 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11543 * ToolbarDefaults.C: remove trailing comma closing namespace.
11545 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11547 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11550 * trans.C (Load): comment out unused variable, allowed.
11552 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11554 * minibuffer.[Ch] (append_char): new method to recieve input from the
11555 drop-down completion browser. If a key was pressed, then recieve this
11556 char and append it to the existing string.
11557 (peek_event): modify the positioning data passed to the completion
11558 browser so that it can be placed above the minibuffer rather than below.
11559 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11561 * LyXAction.C (init): alloe error-next for readonly documents.
11563 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11566 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11568 * bufferlist.C (readFile): create the buffer _after_ checking that
11571 * lyxfunc.C (verboseDispatch): fix handling of arguments
11573 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11575 * lyxrc.C: use string::erase() instead of initializing to "".
11578 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11580 * BufferView_pimpl.h:
11581 * BufferView_pimpl.C:
11584 * text2.C: tell X when we have made a selection for copying
11586 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11588 * BufferView_pimpl.C (MenuInsertLyXFile):
11589 * lyxfunc.C (menuNew):
11591 (doImport): add shortcuts to directory buttons
11593 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11596 * lyxfunc.C (setStatusMessage):
11597 (getStatusMessage): new methods
11598 (getStatus):use setStatusMessage instead of setErrorMessage
11599 (dispatch): when function is disabled, set error message here
11600 [instead of in getStatus previously]
11602 * BufferView_pimpl.C (workAreaButtonRelease): update
11603 toolbar/menubar here too.
11605 2002-01-13 Allan Rae <rae@lyx.org>
11607 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11608 Now seems indestructible. Remaining task is to audit all other
11609 code affected by deleteEmptyParagraphMechanism. One small quirk
11610 left is that an empty document with an error in the preamble can
11611 be made to report an error but no error box appears. I don't know
11613 (removeAutoInsets): Improved comments.
11615 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11618 * Thesaurus.C: update for Aiksaurus 0.14
11620 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11622 * text2.C (firstParagraph): removed member function, all uses
11623 replaces with ownerParagraph
11624 (redoParagraphs): here
11625 (updateInset): here
11626 (toggleAppendix): here
11627 * BufferView2.C (insertErrors): here
11628 (setCursorFromRow): here
11630 2002-01-13 Allan Rae <rae@lyx.org>
11632 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11633 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11634 There is still a way to segfault this although you may have to do this
11635 multiple times: Have an InsetERT with an unknown command in it.
11636 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11637 <down-arrow>, <Enter> again, View->DVI, BANG!
11639 * text2.C (setCursor):
11640 (deleteEmptyParagraphMechanism):
11641 * lyxtext.h (setCursor):
11642 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11643 Making use of the return value may help fix other bugs.
11645 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11647 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11649 * LyXView.C (updateMenubar): call MenuBar::update here
11650 (updateToolbar): but not here
11651 (showState): do not update toolbar/menubar
11653 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11654 should need to care about that.
11656 * lyxfunc.C (verboseDispatch): simplify a bit
11657 (getStatus): have a version which takes a pseudoaction, and
11658 another which requires a (kb_action,string).
11660 * LyXAction.C (retrieveActionArg): make it work also when action
11661 is not a pseudo-action.
11662 (getActionName): simplify a bit
11665 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11667 * lyxfunc.C (verboseDispatch): new families of methods with
11668 several ways to specify a command and a bool to indicate whether
11669 the command name and shortcut should be displayed in minibuffer
11670 (eventually, we could extend that to a finer bitmask like
11671 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11672 (dispatch): the pristine dispatch command which just, well,
11673 dispatchs! Note it still sets its result to minibuffer; I'm not
11676 * lyxfunc.h: remove setHintMessage
11678 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11680 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11682 * BufferView_pimpl.C (specialChar): delete new inset if we have
11683 not been able to insert it.
11685 * kbmap.C: revert to using int instead of kb_action, since all we
11686 are dealing with is pseudo-actions.
11688 * LyXAction.C (searchActionArg): change to return int instead of
11689 kb_action, since the result is a pseudoaction.
11691 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11693 * buffer.C (insertErtContents): Fix (partially) the font bug.
11695 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11697 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11698 as the other one is broken on my machine!
11700 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11703 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11705 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11707 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11708 reflect their actual use. Provide compatibility code for older lyxrc
11711 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11713 change names of popup font variables in line with the changes to lyxrc.C
11715 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11717 * buffer.C (asciiParagraph): avoid outputing a word twice after
11720 * lyxrc.C (getDescription): document that document_path and
11721 template_path can be empty.
11723 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11725 * LaTeXFeatures.C (getMacros):
11726 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11728 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11730 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11732 (getPackages): rename feature "floats" to "float". Use an array to
11733 iterate over 'simple' features (i.e. just a \usepackage). Add
11734 handling of "amsmath" (renamed from "amsstyle").
11736 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11738 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11741 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11743 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11744 FuncStaus::FuncStatus & FuncStaus::some_method().
11746 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11748 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11749 of the func_satus stuff. Edited and massaged in various ways by
11752 * lyxfunc.C (getStatus): use FuncStatus
11754 2002-01-08 Juergen Vigna <jug@sad.it>
11756 * text.C (nextBreakPoint): use function Inset::isChar().
11758 * paragraph.C (TeXOnePar): use function
11759 Inset::forceDefaultParagraphs.
11761 * buffer.C (latexParagraphs): use function
11762 Inset::forceDefaultParagraphs.
11764 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11766 * lyx_gui.C (init): set the style of the menu popups to
11767 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11769 2002-01-07 Juergen Vigna <jug@sad.it>
11771 * text.C (setHeightOfRow): small fix
11772 (prepareToPrint): don't look at alignment if we don't have the place
11775 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11777 * box.C: New file. Move the Box methods and functions out of box.h,
11778 following Lars' suggestion.
11780 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11782 * box.h: #include "support/LOstream.h", needed for inlined function.
11785 * lyxtextclasslist.C: added some using std declarations.
11787 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11789 * box.h: make signed dimensions to allow insets wider than
11790 the screen (bug #162)
11792 * BufferView_pimpl.C: add some insetHit debug
11794 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11796 * vc-backend.C: add FIXME
11798 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11800 * lyxfunc.C (getStatus): enable code for showing math font status
11803 2002-01-07 Juergen Vigna <jug@sad.it>
11805 * text.C (nextBreakPoint): removed debug output not needed anymore.
11807 2002-01-06 Juergen Vigna <jug@sad.it>
11809 * text.C (nextBreakPoint): fixed up this function we had this bug
11810 since ever but now hopefully we break row better.
11811 (insertChar): we have to check if an inset is the next char as it
11812 could now happen that a large inset is causing a break.
11814 2002-01-05 Juergen Vigna <jug@sad.it>
11816 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11817 if it doesn't like to be drawed.
11819 2002-01-04 Juergen Vigna <jug@sad.it>
11821 * BufferView2.C (lockInset): forgot to set a cursor.
11823 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11825 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11827 * FormMathsPanel.C:
11830 * form_maths_panel.C:
11831 * form_maths_panel.h:
11832 * form_maths_panel.fd: implemented sub- and super- buttons in math
11835 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11836 (or ^ space) to be used as in TeX (req'd by André).
11838 * lyxfunc.C: Allow ^ and _ again to be used both as
11839 super/subscript (mathed) and as themselves (in text).
11841 2002-01-03 Allan Rae <rae@lyx.org>
11843 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11844 "LyX" or the filename of the current buffer if it has one. This is a
11845 modified form of John Levon's patch.
11847 * XFormsView.C (setWindowTitle): also set icon title.
11849 * LyXView.h (setWindowTitle): signature changed.
11850 * XFormsView.h (setWindowTitle): ditto.
11852 2002-01-02 Juergen Vigna <jug@sad.it>
11854 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11856 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11858 * screen.C (topCursorVisible): introduce a temp var for
11859 text->cursor.row(), handle the case where this row is null. (kindo
11862 * text2.C (setCursor): add a couple of asserts.
11864 * paragraph.h (inset_iterator): add -> operator
11866 * paragraph.[Ch] (autoDeleteInsets): remove member function
11868 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11869 cursor pos correctly and handle inset deletion by itself.
11870 (insertErrors): move iterator declaration out of for expression
11872 * lyxtextclass.C: add <algorithm>
11874 * Makefile.am: added the new files to sources, removed layout.C
11876 * layout.C: removed file
11878 * layout.h: remove LYX_DUMMY_LAYOUT
11880 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11884 * lyxtextclass.[Ch]:
11885 * lyxtextclasslist.[Ch]: new files
11887 * include order changes to a lot of files, also changes because of
11890 2001-12-27 Juergen Vigna <jug@sad.it>
11892 * buffer.C (asciiParagraph): more fixes.
11894 * tabular.C (ascii): make ascii export support export of only the
11895 data separated by a column-delimiter.
11896 (ascii): better support for ascii export.
11898 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11900 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11902 * tabular_funcs.C: use a "using std::getline" instead of the
11903 previous fix from Angus (necessary for cxx + lyxstring)
11905 2001-12-24 Juergen Vigna <jug@sad.it>
11907 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11909 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11910 problems. First check a minipage also if we have some ert-contents
11911 (not only on par->size(), second set the right depth of the paragraph
11912 on the relink to the root-paragraph-list!
11914 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11915 which then did not anymore update the main paragraphs on undo/redo!
11917 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11919 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11920 code. Support all font-changing funcs (even those which are not in
11921 menu currently). Support for reporting font settings in
11922 mathed (disabled until Andre provides a function on mathed's side).
11924 * func_status.h (toggle): small helper function to set toggle
11927 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11929 * tabular_funcs.C: getline -> std::getline
11931 2001-12-21 Juergen Vigna <jug@sad.it>
11933 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11934 accessed and could be 0 (I couldn't generate this but it seems
11937 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11939 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11940 * tabular_funcs.h: here and include iosfwd
11942 2001-12-20 Juergen Vigna <jug@sad.it>
11944 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11945 inside inset but undo_par was.
11947 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11949 * Thesaurus.C: always include <config.h> in sources.
11953 * box.h: do not include <config.h> in header files
11955 * text.C (paintLastRow): remove unused variable
11957 * text.C (transformChar):
11959 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11961 * Painter.C (text):
11962 * font.C (width): rewrite to use uppercase() instead of
11965 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11967 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11969 * lyxfind.C: clean up of find failure position change
11971 2001-12-20 Juergen Vigna <jug@sad.it>
11973 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11975 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11976 (TeXRow): added to LaTeX a single tabular row.
11977 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11978 (Latex): simplified and finally good LT-h/f support.
11979 (various_functions): just small adaptions for LT-h/f support.
11981 * tabular_funcs.[hC]: added and moved here all not classfunctions
11984 2001-12-19 Juergen Vigna <jug@sad.it>
11986 * tabular.[Ch]: better support for longtabular options (not finished
11989 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11991 * text.C (paintLastRow): use the label font instead of the font of
11992 the last character to compute the size of *_BOX. This makes more
11993 sense and avoids a crash with empty paragraphs.
11994 Use Painter::rectangle to draw EMPTY_BOX.
11996 2001-12-19 Juergen Vigna <jug@sad.it>
11998 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11999 the paragraphs if the replaced paragraph is not the first one!
12000 Tried to delete not used paragraphs but does not work yet so for
12001 now it's inside #ifdef's and by default off!
12003 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12005 * MenuBackend.C: include "lyx_main.h" instead of declaring
12006 lastfiles (actually was declared as LastFiles* instead of a
12009 2001-12-17 Juergen Vigna <jug@sad.it>
12011 * tabular.C (AppendColumn): applied John's fix
12013 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12017 * BufferView_pimpl.h:
12018 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12021 * box.h: new start of class for above
12023 * lyxfunc.C: ignore space-only minibuffer dispatches.
12024 Show the command name when it doesn't exist
12026 * minibuffer.C: don't add empty lines to the history
12028 * minibuffer.C: add a space on dropdown completion
12030 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12032 * text.C: fix line above/below drawing in insets
12034 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12036 * lyxlength.C (LyXLength): Initialize private variables.
12038 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12040 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12041 when inserting error insets.
12043 2001-12-13 Juergen Vigna <jug@sad.it>
12045 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12046 actually sometimes the before-paragraph.
12047 (setUndo): don't clear the redostack if we're not actually undoing!
12049 2001-12-06 Juergen Vigna <jug@sad.it>
12051 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12052 and fixed redoing of main paragraph, so we can use it now ;)
12054 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12056 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12058 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12061 2001-12-13 André Pönitz <poenitz@gmx.net>
12064 * undo_func.C: minor cleanup
12066 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12068 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12069 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12070 font in urw-fonts package which is marked as -urw-fontspecific and
12071 does not work (incidentally, changing the encoding in the
12072 fonts.dir of this package to -adobe-fontspecific fixes the
12075 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12076 is a crash when undoing first paragraph (Juergen, please take a
12077 look). THis does not mean the undo fix is wrong, just that it
12080 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12081 the (Paragraph*) version when needed instead of duplicating the
12084 * text.C (workWidth): use Inset::parOwner to find out where the
12085 inset has been inserted. This is a huge performance gain for large
12086 documents with lots of insets. If Inset::parOwner is not set, fall
12087 back on the brute force method
12089 * paragraph_pimpl.C (insertInset):
12090 * paragraph.C (Paragraph):
12091 (cutIntoMinibuffer): set parOwner of insets when
12092 inserting/removing them
12094 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12096 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12102 * mathed/formulabase.C:
12103 * mathed/math_cursor.[Ch]:
12104 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12107 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12109 * lyxlength.[Ch] (operator!=): new function
12111 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12113 * text.C (workWidth): use Inset::parOwner to find out where the
12114 inset has been inserted. This is a huge performance gain for large
12115 documents with lots of insets. If Inset::parOwner is not set, fall
12116 back on the brute force method
12118 * paragraph_pimpl.C (insertInset):
12119 * paragraph.C (Paragraph):
12120 (cutIntoMinibuffer): set parOwner of insets when
12121 inserting/removing them
12123 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12125 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12127 * tabular-old.C (getTokenValue):
12128 * tabular.C (getTokenValue):
12129 (write_attribute): new versions for LyXLength
12130 (everywhere): adjust the use of widths
12132 * tabular.h: change the type of widths from string to LyXLength
12134 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12136 * paragraph.C: fixed missing line number count when exporting
12137 Environments to LaTeX file
12139 * buffer.C: added informational message for checking line numbers.
12141 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12143 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12144 paragraph, do the 'double space' part, but not the 'empty
12147 * text.C (workWidth): small optimization
12148 (getLengthMarkerHeight): use minimal size for negative lengths.
12150 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12152 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12154 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12156 2001-12-11 André Pönitz <poenitz@gmx.net>
12159 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12161 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12163 * text2.C: keep selection on a setFont()
12165 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12167 * lyx_cb.C: another bv->text misuse, from insert label
12169 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12172 * kbsequence.C: re-instate nmodifier mask
12174 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12176 * lyx_main.h: make lyxGUI private.
12178 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12180 * lyxfind.C: place the cursor correctly on failed search
12182 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12184 * text.C (getLengthMarkerHeight): for small heights, the arrows
12185 are not always on top/bottom of the text
12186 (drawLengthMarker): smaller arrows; take the left margin in
12187 account; draw also vfills.
12189 (paintLastRow): remove special code for vfill and standard spaces,
12190 since everything is handled in drawLengthMarker now.
12192 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12194 * buffer.C (insertErtContents): try to handle font and language
12195 interaction a bit better.g
12197 * ColorHandler.C (updateColor): change the hash to cover the whole
12198 LColor enum, ws cleanup
12199 (getGCLinepars): ditto
12200 (getGCLinepars): only lookup in the linecache once.
12202 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12204 * iterators.C (operator++): Make the iterator more robust
12206 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12208 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12210 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12213 * text.C: better added space drawing
12215 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12218 * BufferView2.C: fix layout combo update on inset unlock
12220 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12222 * Makefile.am: don't compile unused files
12224 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12228 * LyXAction.C: remove old LFUN_LAYOUTNO
12230 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12232 * paragraph_pimpl.h:
12233 * paragraph_pimpl.C: isTextAt() doesn't need font param
12235 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12238 * lyxlex.C: little cleanup
12240 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12242 * BufferView_pimpl.C: fix insertAscii for insets
12244 2001-12-05 Juergen Vigna <jug@sad.it>
12246 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12247 set the right font on the "multi" paragraph paste!
12249 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12255 * lyxlength.C: remove out-commented code.
12257 * BufferView_pimpl:
12271 * vc-backend.C: change "while(" to "while ("
12273 * lyxlength.[Ch]: add zero function to check if length is zero or
12275 * lyxgluelength.C: use it
12277 2001-12-05 Allan Rae <rae@lyx.org>
12279 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12280 Works for 2.95.3, from what I understand of Garst's reports this should
12281 work for other g++ versions. We're screwed if the abs(int) definition
12282 changed between bugfix releases of gcc.
12284 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12286 * text.C: fix chapter label offset !
12288 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12291 * text.C: fix hfill at end of line, clean up
12293 2001-12-04 Juergen Vigna <jug@sad.it>
12295 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12296 that we force an update of the inset and it's owners if neccessary.
12298 2001-12-03 Juergen Vigna <jug@sad.it>
12300 * text.C (rowLast): simplified code
12302 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12304 * lyxfunc.C: fix show options on timeout
12306 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12308 * screen.C (topCursorVisible): scroll half a page when the cursor
12309 reached top of bottom of screen
12311 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12313 * minibuffer.C: deactivate on loss of focus
12315 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12317 * vspace.[Ch] (operator!=): add operator.
12319 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12321 * BufferView_pimpl.C: refuse to open an inset when
12322 there's a selection.
12324 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12326 * BufferView_pimpl.C: allow to click on RHS of full row insets
12328 2001-11-30 Juergen Vigna <jug@sad.it>
12330 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12331 insets for undo reasons.
12333 2001-11-28 André Pönitz <poenitz@gmx.net>
12335 * vspace.[Ch]: cosmetical changes
12337 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12347 * kbsequence.C: part re-write of old kb code
12350 * WorkArea.C: remove Lgb_bug_find_hack
12352 2001-11-30 José Matos <jamatos@fep.up.pt>
12354 * buffer.C (makeDocBookFile): add a comment to point a hack.
12355 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12356 Fixed a double write of labels.
12358 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12361 * LaTeX.h Fixed bug in LaTeX class where it would not
12362 re-run latex if no depfiles were changed, but the .dvi was removed.
12364 2001-11-28 André Pönitz <poenitz@gmx.net>
12366 * all the files from the change on 2001/11/26:
12367 use lyx::layout_type instead of LyXTextClass::size_type
12368 use lyx::textclass_type instead of LyXTextClassList::size_type
12370 2001-11-29 Juergen Vigna <jug@sad.it>
12372 * text.C: added support for paragraph::isFreeSpacing()
12374 * buffer.C: same as above
12376 * paragraph.h: inserted isFreeSpacing() function to enable
12377 FreeSpacing inside InsetERT.
12379 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12380 of the paragraph's in the cut/copy buffer to 0!
12382 * text2.C (removeRow): remove the assert as it can!
12384 * lyxtext.h: added helper function firstRow returning firstrow and
12385 made firstrow private again.
12387 * BufferView2.C (lockInset): don't relock if we're already locked!
12389 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12390 the only paragraph.
12391 (removeRow): added Assert::(firstrow)
12393 * debug.C: forgot to add INSETTEXT here.
12395 2001-11-28 Juergen Vigna <jug@sad.it>
12397 * sp_spell.C (initialize): changed error text to more general
12398 spellchecker command use (not only ispell!)
12400 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12402 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12404 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12406 * vspace.C: initialise lyxgluelength on failure
12408 2001-11-28 Allan Rae <rae@lyx.org>
12410 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12411 declaration & definition that looks like a function declaration.
12413 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12415 * BufferView2.C (copy):
12416 (copyEnvironment): do not clear the selection when doing a copy.
12418 * text.C (paintFirstRow): compilation fix
12420 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12422 * tabular.C (Latex): correct line count when writing latex.
12424 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12426 * paragraph_pimpl.h:
12427 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12430 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12434 * LColor.C: change vfillline->added_space
12436 * text.C: add markers and text for added space
12438 * vspace.C: fix comment
12440 2001-11-28 André Pönitz <poenitz@gmx.net>
12442 * paragraph.C: whitespace changes
12443 * all the other files from the change on 2001/11/26:
12444 change *::pos_type into lyx::pos_type
12446 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12448 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12449 language of the document when inserting error insets.
12451 2001-11-26 André Pönitz <poenitz@gmx.net>
12453 * BufferView_pimpl.[Ch]:
12461 * paragraph_pimpl.[Ch]:
12464 * text2.C: reduce header dependencies, introduce type for positions
12466 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12468 * <various>: change to use Alert.h
12470 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12472 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12473 when encountering an unknown token.
12474 (readLyXformat2): Show an error message if there were unknown tokens.
12476 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12479 * BufferView_pimpl.C:
12483 * text2.C: use par->isInset()
12485 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12487 * paragraph_pimpl.h:
12488 * paragraph_pimpl.C: cleanup
12490 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12492 * text2.C (removeRow):
12493 * text.C (setHeightOfRow): remove useless (and costly) call to
12496 2001-11-20 Allan Rae <rae@lyx.org>
12498 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12499 Now need Inset*::checkInsertChar() to return true for appropriate
12500 cases so that the characters in the minibuffer will actually be
12503 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12505 * text.C: change the order of the includes.
12506 (workWidth): initialize it at once.
12507 (workWidth): make maxw unsigned
12508 (setHeightOfRow): remove unused variable (inset)
12509 (selectSelectedWord): remove unused variable (inset)
12510 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12512 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12514 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12515 server is not running.
12517 (closeConnection): add debug info when server is disabled.
12519 * ColorHandler.C (getGCForeground): send debug message to GUI
12522 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12524 * kbmap.C (bind): modify because return conventions of
12525 kb_sequence::parse have changed.
12527 * kbsequence.C (parse): only ignore spaces and not any stupid
12528 control character. This avoids tests like s[i] <= ' ', which are
12529 guaranteed to fail with 8bit characters and signed chars.
12530 Change return code to string::npos when there have been no error
12531 (0 was a bad idea when error is at first character)
12533 2001-11-14 José Matos <jamatos@fep.up.pt>
12536 * buffer.C (simpleDocBookOnePar): removed unused argument.
12538 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12540 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12541 insets which are part of a word. Paragraph::isLetter takes care of
12542 that now. Use Paragraph::isInset to identify insets.
12543 (selectSelectedWord): do not test for hyphenation break.
12545 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12546 that protected spaces are considered as spaces.
12548 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12551 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12554 * lyxserver.C: fix it. and small cleanup.
12556 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12558 * BufferView_pimpl.C: use inline helpers
12561 * LaTeXFeatures.C: fix typos
12564 * Spacing.C: move spacing_string into class
12566 * ToolbarDefaults.C: move stuff into namespace anon
12568 * layout.h: update enum
12570 * lyxfunc.C: use better debug
12572 * minibuffer.h: fix typo
12576 * WorkArea.C: add and use Debug::WORKAREA
12580 * text2.C: code re-organisation, inline helpers
12582 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12584 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12585 std::vector.empty().
12587 2001-11-09 Allan Rae <rae@lyx.org>
12589 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12590 '\n's after tables. Tabular and ERT inset work now makes this no
12593 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12596 * minibuffer.C: fix crash, improve drop-down completion
12598 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12601 * lyxserver.C: invalidate fd's when doing endPipe()
12603 2001-11-08 José Matos <jamatos@fep.up.pt>
12605 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12606 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12609 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12611 2001-11-07 José Matos <jamatos@fep.up.pt>
12614 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12617 * buffer.C (sgmlOpenTag):
12618 * buffer.C (sgmlCloseTag): removed debug info.
12620 * buffer.h (sgmlOpenTag):
12621 * buffer.h (sgmlCloseTag): made public.
12623 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12625 * buffer.C (saveParamsAsDefaults):
12626 * lyx_cb.C (MenuLayoutSave): remove
12628 * LyXAction.C (init):
12630 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12632 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12634 * buffer.C (setPaperStuff): removed from here...
12636 * bufferparams.C (setPaperStuff): ... and moved there.
12638 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12642 * XFormsView.C: add support for drop-down completion
12644 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12646 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12649 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12651 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12654 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12656 * lyx_main.C: change ref to known bugs
12658 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12660 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12661 to work around older babel problems.
12663 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12665 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12667 2001-10-24 Juergen Vigna <jug@sad.it>
12669 * tabular-old.C (ReadOld): below variable changes reflected.
12671 * tabular.[Ch]: added ltType struct for longtable header/footer
12672 defines and changed all instances where they are used. Added
12673 future support for double top/bottom rows.
12675 2001-10-24 José Matos <jamatos@fep.up.pt>
12677 * buffer.h (docbookHandleCaption):
12678 * buffer.C (docbookHandleCaption): removed unused function.
12679 (makeDocBookFile): moved docbook supported version to v4.1.
12681 2001-10-24 José Matos <jamatos@fep.up.pt>
12684 * tabular.C (docbookRow): new function to export docbook code of a row.
12685 (DocBook): now honors the longtable flags.
12687 2001-10-23 José Matos <jamatos@fep.up.pt>
12690 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12691 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12693 * buffer.C (makeLinuxDocFile):
12694 (makeDocBookFile): reworked the preamble, more clean, and with
12695 support for lyx defined entities. Changed the document declaration
12696 to be more XML friendly.
12698 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12699 if we need to output XML that should be done with a filter.
12701 2001-10-22 Juergen Vigna <jug@sad.it>
12703 * sp_pspell.h (class PSpell): add alive function needed in the
12704 controller to see if the spellchecker could be started.
12706 2001-10-22 Juergen Vigna <jug@sad.it>
12708 * buffer.C (insertStringAsLines): modify the font for inserting
12709 chars in certain conditions by calling checkInsertChar(font).
12711 2001-10-19 Juergen Vigna <jug@sad.it>
12713 * text.C (workWidth): use getRow instead of wrong algorithm.
12714 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12716 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12721 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12723 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12725 * text.C (workWidth): do not search for the exact row when
12726 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12727 optimization for big documents.
12729 2001-10-18 Juergen Vigna <jug@sad.it>
12731 * text.C (workWidth): new function with added Inset * parameter.
12733 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12735 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12737 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12738 change return type of getColumnNearX.
12741 * text.C (changeRegionCase): use uppercase/lowercase instead of
12744 (rightMargin): simplify code by factoring out the uses of
12749 (appendParagraph): use Paragraph::size_type
12751 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12753 * vspace.C (asLatexString): add a missing break
12755 2001-10-15 Herbert Voss <voss@perce.de>
12757 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12759 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12761 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12764 2001-10-10 André Pönitz <poenitz@gmx.net>
12766 * lyxfunc.C: removed greek_kb_flag.
12768 2001-10-10 Herbert Voss <voss@perce.de>
12770 * lyx_main.C: delete global string help_lyxdir.
12772 2001-10-09 Herbert Voss <voss@perce.de>
12774 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12776 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12778 * lyx_main.C: added global string help_lyxdir.
12780 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12782 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12784 * lyxrc.C (set_font_norm_type): support iso8859-4
12786 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12788 * LaTeX.C (deplog): add another regex for MikTeX
12790 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12792 * lyxrc.C (set_font_norm_type): support iso8859-3
12794 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12796 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12798 * LaTeXFeatures.C: remove special case of french and index
12800 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12801 before \begin{document}). This solves several incompatibilities.
12803 2001-10-03 Garst Reese <reese@isn.net>
12805 * lyx_cb.C: change CheckTex error msg.
12807 2001-10-03 José Matos <jamatos@fep.up.pt>
12809 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12811 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12813 * .cvsignore: update
12815 * lyx_main.C (commandLineVersionInfo): use new style version info.
12817 * buffer.C (writeFile):
12819 (makeLinuxDocFile):
12820 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12822 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12824 * version.h: update to use stuff in version.C
12826 * version.C.in: new file. Contains version information determined
12827 at compile time. This is a merging of version.h and
12830 2001-10-03 Juergen Vigna <jug@sad.it>
12832 * BufferView_pimpl.C (update): don't change "dirty" status in
12835 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12837 * WorkArea.C (c-tor): re-position version string slightly.
12839 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12841 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12842 revert to previous code.
12844 WorkArea.[Ch]: (show, destroySplash): methods removed.
12846 WorkArea.C: rework code so that it's an amalgam of the codes before and
12847 after the splash screen was moved to WorkArea.
12849 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12852 * vspace.C (inPixels):
12855 * buffer.C (insertStringAsLines):
12856 (asciiParagraph): fix types to be large enough
12858 * lyxlex_pimpl.h: change member status from short to int
12860 * layout.h: fix type of endlabeltype
12863 * kbsequence.C (parse): change return type to string::size_type
12865 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12868 * Bullet.C (bulletSize):
12869 (bulletEntry): do not use short ints as parameters
12871 * BufferView2.C (insertLyXFile): change a char to an int.
12873 * WorkArea.C (WorkArea): remove unneeded floats in computation
12875 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12877 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12879 * paragraph.C (asString): Do not ignore newline/hfill chars when
12880 copying to the clipboard.
12882 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12884 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12885 after a multi-line inset.
12887 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12889 * paragraph.C (validate): Set NeedLyXFootnoteCode
12891 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12893 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12894 and decrease-error to decrease.
12896 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12898 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12899 it more readable (should be equivalent)
12901 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12903 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12905 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12907 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12908 of a cursor (row, etc.) after a character has been deleted
12909 (deleteEmptyParagraphMechanism): call the method above on _all_
12910 cursors held by the LyXText when a double space has been
12913 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12915 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12917 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12919 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12920 background. Use greyOut() and the new show() methods to toggle between
12921 the foreground and background. Add code to remove the splash after
12922 its initial showing.
12924 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12925 (create_forms): no longer call Dialogs::showSplash.
12927 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12929 * .cvsignore: add version_info.h
12931 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12933 * version_info.h.in: new file
12935 * Makefile.am: add version_info.h.in
12937 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12938 version_info.h instead of VERSION_INFO
12940 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12942 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12943 The ERT inset now returns string().
12945 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12947 * lyxtext.h, text.C (selectNextWord): renamed as
12948 selectNextWordToSpellcheck.
12950 * text.C (selectNextWordToSpellcheck): Modified to not select
12951 words inside an ERT inset.
12953 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12955 * lyx_cb.C (MenuLayoutSave): change a bit the question
12957 * sp_base.h: include <sys/types.h>
12959 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12961 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12963 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12965 * several files: fix typos in user-visible strings
12967 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12969 * text2.C (pasteSelection): do not set the selection, since it
12970 will be cleared later. Actually, the intent was to fix the way the
12971 selection was set, but I figured rmoving the code was just as good.
12973 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12975 * FontLoader.C (available): Check if font is available without
12978 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12980 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12982 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12984 * lyxrc.[Ch]: added display_graphics variable and associated code.
12986 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12988 * bufferparams.C (hasClassDefaults): new method. Returns true if
12989 the buffer parameters correspond to known class defaults
12991 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12993 * XFormsView.C (show): set minimum size to the main window.
12995 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12997 * text2.C (copySelection):
12999 * lyxfind.C (LyXReplace):
13000 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13001 LyXText::selectionAsString.
13003 * paragraph.C (asString): add "label" argument to the second form
13005 * text2.C (selectionAsString): add "label" argument and pass it to
13006 Paragraph::asString.
13008 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13010 * lyx_main.C (commandLineHelp): remove version information
13012 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13014 * lyx_main.C: add -version commandline option
13016 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13018 * paragraph.h: make the optional constructor arg required instead.
13019 some modifications to other files because of this.
13021 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13023 * lyxserver.C (C_LyXComm_callback): make it static
13025 * lyx_main.C (error_handler): make it static
13027 * lyx_gui.C (LyX_XErrHandler): make it static
13029 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13031 * WorkArea.C: make the extern "C" methods static.
13033 * Makefile.am (lyx_LDADD): simplify
13035 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13037 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13038 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13040 * LyXAction.C (init):
13041 * lyxfunc.C (dispatch): associated code removal.
13043 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13045 * lyxfont.h (isSymbolFont): shut off warning
13047 * text.C (setHeightOfRow):
13048 (getVisibleRow): fix crash with empty paragraphs which have a
13051 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13053 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13056 2001-09-04 José Matos <jamatos@fep.up.pt>
13059 * tabular.C (docbook): rename docBook method to docbook.
13061 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13063 * Makefile.am: add dependencies to main.o.
13065 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13067 * FontLoader.C (available): Return false if !lyxrc.use_gui
13069 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13071 * FontInfo.C (query):
13072 * converter.C (view):
13073 * importer.C (Import):
13074 * exporter.C (Export): Can not -> cannot.
13076 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13078 * BufferView_pimpl.C: allow to create index inset even if
13081 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13083 * buffer.C (getLists): replace boost::tie code with an explicit pair
13084 as boost::tie can break some compilers.
13086 * iterators.h: Added a std:: declaration to the return type of
13089 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13091 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13094 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13096 * iterators.[Ch]: New files. Provide paragraph iterators.
13098 * buffer.C (changeLanguage): Use paragraph iterators.
13099 (isMultiLingual): ditto
13101 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13103 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13105 * FontLoader.C: Support for cmr font.
13107 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13109 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13110 (available): New method.
13112 * FontInfo.C (getFontname): Use scalable fonts even when
13113 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13116 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13118 * converter.C (Formats::view): reverted! Incorrect fix.
13120 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13122 * converter.C (Formats::view): only output the -paper option
13123 if the dvi viewer is xdvi, thereby fixing bug #233429.
13125 2001-08-23 Herbert Voss <voss@perce>
13127 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13129 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13131 * Spacing.h (Spacing): Set space to Default on in the default
13134 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13136 * vc-backend.h (RCS::versionString): add RCS to version
13137 (CVS::versionString): add CVS to version
13139 * vc-backend.C (scanMaster): do not add CVS to version.
13140 (scanMaster): do not add RCS to version
13142 * lyxvc.C (versionString): new method
13144 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13146 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13148 * Spacing.C (set): initialize fval
13150 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13152 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13155 2001-08-16 Juergen Vigna <jug@sad.it>
13157 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13159 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13161 * BufferView_pimpl.C:
13164 * text2.C: setParagraph takes linespacing now
13166 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13168 * LyxAction.C: add internal LFUN_CITATION_INSERT
13170 * LyXView.C: actually apply fix
13172 * bufferlist.C: fix open non-existent file
13174 * lyxfind.C: fix indentation
13176 * lyxfunc.C: remove unneeded assert, fix typo
13178 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13180 * MenuBackend.C: use "Floatname List"
13182 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13184 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13185 when converting LaTeX layout to insetERT.
13186 Generate a non-collapsed float when reading old float
13188 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13190 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13193 2001-08-13 Juergen Vigna <jug@sad.it>
13195 * text.C (fill): return 0 instead of 20 as this seems to be the more
13198 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13200 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13203 2001-08-13 Juergen Vigna <jug@sad.it>
13205 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13207 (SearchBackward): comment out the unlocking of the inset_owner this
13208 should not be needed!
13210 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13212 * Many files: Remove inherit_language, and add latex_language
13214 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13215 collapsible insets.
13217 2001-08-10 Juergen Vigna <jug@sad.it>
13219 * text.C (prepareToPrint): fixed hfill-width in draw!
13221 * BufferView2.C (selectLastWord): save the selection cursor as this
13222 now is cleared in the function LyXText::clearSelection!
13224 2001-08-08 Juergen Vigna <jug@sad.it>
13226 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13227 BACKSPACE type functions.
13229 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13230 is only cutted from the document but not put in the cut-buffer, where
13231 still the old stuff should be.
13233 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13235 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13237 * tabular.C (SetWidthOfCell): fixed special case where the width
13239 (LeftLine): handle '|' in align_special.
13241 (LeftAlreadyDrawed): ditto
13242 (SetWidthOfCell): ditto
13244 2001-08-07 Juergen Vigna <jug@sad.it>
13246 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13248 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13250 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13251 * lyxlex.[hC]: ditto
13253 2001-08-06 Juergen Vigna <jug@sad.it>
13255 * text.C (getVisibleRow): fix up row clearing a bit.
13257 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13259 * minibuffer.C: make sure the X server sees the changes in the input.
13261 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13263 * paragraph.C (getFont): split into...
13264 (getLabelFont): this
13265 (getLayoutFont): and this
13266 * paragraph_pimpl.C (realizeFont): calling this
13268 * text2.C (getFont): split into...
13269 (getLayoutFont): this
13270 (getLabelFont): and this
13271 (realizeFont): all three calling this
13273 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13276 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13278 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13280 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13282 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13283 layouts from the Quote inset insertion.
13285 2001-08-03 Juergen Vigna <jug@sad.it>
13287 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13289 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13290 only if status not is already CHANGED_IN_DRAW (second level).
13292 * text.C (draw): don't set the need_break_row when inside an
13295 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13297 * buffer.C (parseSingleLyXformat2Token): handle more latex
13300 * bufferview_funcs.[hC]: change function names to
13301 begin with small char, adjust other files.
13303 2001-08-02 André Pönitz <poenitz@gmx.net>
13306 BufferView_pimpl.C: remove broken special code for math-greek
13308 2001-08-02 Juergen Vigna <jug@sad.it>
13310 * BufferView_pimpl.C (update): redone this function so that we
13311 update the text again if there was a CHANGE_IN_DRAW.
13313 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13314 (drawFromTo): added a new internal bool which is used by draw() and
13316 (general): some cursor drawing problems fixed.
13318 2001-08-01 Juergen Vigna <jug@sad.it>
13320 * lyxfind.C (LyXFind): fixed
13321 (SearchForward): ditto
13322 (SearchBackward): ditto
13324 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13325 spurius drawing of the cursor in the main area.
13327 * text2.C (status): small fix which could lead to a segfault!
13328 (clearSelection): remove unneeded BufferView param.
13330 2001-08-01 André Pönitz <poenitz@gmx.net>
13332 * lyxfunc.C: small change due to changed mathed interface
13334 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13336 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13338 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13340 * lyxfunc.c: fail gracefully if file doesn't exist
13345 * BufferView_pimpl.C: IsDirWriteable() proto changed
13347 * LyXView.C: fix updateWindowTitle() to store the last title
13349 2001-07-31 Juergen Vigna <jug@sad.it>
13351 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13352 the font (wrong since using of Paragraph::highestFontInRange).
13354 * paragraph.C (highestFontInRange): added a default_size parameter.
13356 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13357 (setHeightOfRow): reformat
13359 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13361 * converter.[hC] + affected files: move to (inital-char)lowercase
13364 * ParagraphParameters.C (ParagraphParameters): remove commented code
13366 * PainterBase.[Ch]: remove commented code
13368 * LaTeXFeatures.h: add "bool floats" for float.sty
13370 * LaTeXFeatures.C (LaTeXFeatures): init floats
13371 (require): handle float
13372 (getPackages): do it with floats
13374 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13376 * BufferView_pimpl.C (Dispatch): improve handling of
13377 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13379 * commandtags.h: #include lyxfont.h here temporarily to avoid
13382 * bufferlist.h: include LString.h here.
13384 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13386 * text2.C (getStringToIndex): new method.
13388 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13390 * *: Reduced header file dependencies all over.
13392 2001-07-30 Baruch Even <baruch@lyx.org>
13394 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13396 2001-07-29 Baruch Even <baruch@lyx.org>
13398 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13400 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13402 * ParameterStruct.h (endif): add a default constructor to make
13403 sure that all variables is initialized.
13405 * ParagraphParameters.C (ParagraphParameters): adjust
13407 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13409 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13410 index; also, check that there is something to index, and that it
13411 does not span over several paragraphs.
13412 (doubleClick): use WHOLE_WORD_STRICT for double click.
13414 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13416 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13419 2001-07-26 Baruch Even <baruch@lyx.org>
13421 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13422 an InsetFig figure, backwards compatible reading of old figure code.
13424 2001-07-27 Juergen Vigna <jug@sad.it>
13426 * text2.C: font.realize function adaption.
13428 * text.C (draw): add a warnings lyxerr text if needed.
13430 * layout.C: font.realize function adaption.
13432 * language.C: add inherit_language and implement it's handlings
13434 * bufferview_funcs.C (StyleReset): remove language parameter from
13435 font creation (should be language_inherit now).
13437 * bufferparams.C (writeFile): handle ignore_language.
13439 * paragraph.C (getFontSettings): the language has to be resolved
13440 otherwise we have problems in LyXFont!
13442 * lyxfont.C (lyxWriteChanges): added document_language parameter
13443 (update): removed unneeded language parameter
13445 * paragraph.C (validate): fixed wrong output of color-package when
13446 using interface colors for certain fonts in certain environments,
13447 which should not seen as that on the final output.
13449 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13451 * BufferView_pimpl.C:
13456 * LyXAction.C: add thesaurus support
13459 * lyxfind.C: add "once" parameter, for thesaurus, to not
13460 move to the next match
13462 2001-07-26 Juergen Vigna <jug@sad.it>
13464 * lyxfont.C (realize): honor ignore_language too!
13467 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13469 * text.C (draw): one place more for ignore_language to not draw
13472 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13474 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13476 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13478 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13479 the minipage conversion problem.
13481 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13483 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13486 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13488 * BufferView.h: don't forward declare WorkArea
13490 * BufferView.C: don't include WorkArea.h
13492 2001-07-25 André Pönitz <poenitz@gmx.net>
13496 * lyxfunc.C: new LFUN 'math-space'
13498 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13500 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13502 * text2.C (toggleInset): call open/close
13504 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13506 * lyxfunc.C (dispatch): add debug for the disabled case
13508 * font.C (buttonText): make similar to rectText
13510 * buffer.C (readInset): comment out parsing of insetlist and
13513 * PainterBase.C (rectText): small correction
13515 * BufferView_pimpl.C: comment out insettheorem and insetlist
13516 * LyXAction.C: ditto
13517 * commandtags.h: ditto
13519 2001-07-24 Juergen Vigna <jug@sad.it>
13521 * text.C (draw): honor the ignore_language.
13523 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13525 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13527 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13530 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13532 * lyxtext.h: remove unused (and unimplemented) methods
13534 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13536 * text.C (getVisibleRow): honor background color
13539 * Painter.h: remove default color argument for fillRectangle
13541 * text.C (backgroundColor): new method
13543 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13545 * text.C (getVisibleRow): adjust
13547 * font.[Ch] (rectText): new method, metrics
13548 (buttonText): new method, metrics
13550 * PainterBase.[hC]: make rectText and buttonText always draw and take
13553 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13555 * ToolbarDefaults.C (read):
13556 * MenuBackend.C (read): allow escaping in all strings
13558 * BufferView_pimpl.C (insertAndEditInset): new method.
13559 (Dispatch): use insertAndEditInset whenever appropriate.
13561 * BufferView_pimpl.C (insertNote): removed
13563 * BufferView_pimpl.C (smartQuote): new method, moved from
13564 BufferView; if an insetquote cannot be inserted, insert a '"'
13567 * BufferView2.C: remove insertCorrectQuote();
13569 * lyxfunc.C (getStatus): Add support for all remaingin
13570 inset-insert lfuns.
13572 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13574 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13575 command (necessary to pass " as parameter of self-insert.
13577 * text.C (selectWordWhenUnderCursor):
13578 (selectWord): add word_location parameter
13579 (selectWordWhenUnderCursor): same + remove special code for word
13581 (selectNextWord): use kind() to guess type of insetspecialchar,
13584 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13585 (insertErtContents): create ert insets as collapsed.
13586 (readInset): better compatibility code for Info inset.
13588 2001-07-20 Juergen Vigna <jug@sad.it>
13590 * lyxfunc.C (dispatch): use always LyXFind now!
13592 * text2.C (init): add a reinit flag so that the LyXText can be
13593 reinited instead of deleted and reallocated (used in InsetText).
13595 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13601 2001-07-18 Juergen Vigna <jug@sad.it>
13603 * text.C (selectNextWord): handle insets inside inset by calling
13604 always the bv->text functions so that we can go up the_locking_inset!
13606 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13607 in strange locations when inside an inset!
13609 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13610 handling to include insets.
13612 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13614 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13616 * LyXAction.C (init):
13618 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13619 LIGATURE_BREAK, since the name is so stupid.
13621 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13623 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13626 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13628 * sp_form.[Ch]: remove.
13630 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13632 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13635 * src/buffer.C (readInset): ditto.
13637 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13639 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13640 menuSeparator(), endOfSentenceDot(), ldots() and
13641 hyphenationPoint(), which are therefore removed.
13642 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13644 * LyXAction.C (init):
13645 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13647 * paragraph.C (getWord): removed.
13649 * BufferView_pimpl.C (Dispatch): use last word or selection for
13650 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13652 * lyx_main.C (queryUserLyXDir): do not ask before creating
13653 user_dir, except if it has been named explicitely.
13655 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13657 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13658 a document of zero size.
13660 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13662 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13663 approriately in the c-tor and in require().
13664 (getPackages): output the appropriate LaTeX for natbib support.
13666 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13667 variables "use_natbib" and "use_numerical_citations" when reading the
13669 (readInset): read the various natbib cite commands.
13670 (validate): white-space change.
13672 * bufferparams.[Ch]: new variables "bool use_natbib" and
13673 "bool use_numerical_citations".
13674 (writeFile): output them in the LyX file.
13676 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13678 * lyxfunc.C (getStatus): add support for all the inset insertion
13681 * text2.C (insertInset):
13682 * paragraph.C (insetAllowed):
13683 * BufferView_pimpl.C (insertInset): update to take in account the
13684 renaming of insertInsetAllowed
13686 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13688 * text2.C (getInset): new method. returns inset at cursor position.
13690 * BufferView_pimpl.C (Dispatch): changes because of this.
13692 * LyXAction.C (init): rename open-stuff to inset-toggle.
13694 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13696 * text2.C (toggleInset): renamed from openStuff; use
13699 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13701 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13703 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13705 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13707 * buffer.C (readLyXformat2): Add filename to the error dialog
13709 2001-07-18 Juergen Vigna <jug@sad.it>
13711 * tabular.C (GetCellNumber): put an assert here instead of the check!
13713 2001-07-17 Juergen Vigna <jug@sad.it>
13715 * BufferView_pimpl.C (toggleSelection): adapted too.
13717 * text.C (selectNextWord): adapted for use with insets.
13718 (selectSelectedWord): ditto
13720 2001-07-17 Juergen Vigna <jug@sad.it>
13722 * sp_spell.C (PSpell): fix initialitation order.
13724 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13726 * paragraph.C: spacing
13728 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13730 * sp_spell.C: repair language selection for pspell
13732 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13734 * lyxfunc.h: change more methods to begin with lower char.
13736 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13738 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13739 for unknown layouts.
13741 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13743 * buffer.C (readLyXformat2): Generate an error dialog if there are
13746 2001-07-16 Juergen Vigna <jug@sad.it>
13748 * sp_spell.C: always compile ISpell part.
13750 * lyxrc.C: added use_pspell entry and it's handling.
13752 2001-07-13 Juergen Vigna <jug@sad.it>
13754 * sp_spell.C: removed double includes.
13756 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13758 Consistent use of Lsstream.h:
13759 * Lsstream.h: added using std::stringstream for consistencies sake.
13761 * buffer.C: removed using std::stringstream
13763 * lyxfont.C (stateText):
13764 * paragraph.C (asString):
13765 * text.C (selectNextWord, selectSelectedWord):
13766 * text2.C (setCounter):
13767 * vspace.C (asString, asLatexString):
13768 std::ostringstream -> ostringstream.
13770 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13772 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13773 * commandtags.h: add LFUN_HELP_ABOUTLYX
13774 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13776 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13778 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13780 * lyx_gui_misc.C: remove spellchecker
13781 * lyxfunc.C: showSpellchecker
13783 * sp_ispell.h: added
13784 * sp_pspell.h: added
13785 * sp_spell.C: added
13786 * sp_form.[Ch]: removed
13787 * spellchecker.[Ch]: removed
13789 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13791 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13793 (simpleTeXSpecialChars): Simply print the input character without
13794 any special translation if pass_thru is set.
13796 * layout.h: Added bool pass_thru to layout class for being able to
13797 implement pass through of a paragraph for Literate Programming.
13799 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13800 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13801 * layout.C (Read): add "passthru" to list of layout tags and add
13802 code to set the pass_thru boolean when it is read.
13804 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13806 * trans_decl.h: remove allowed from KmodInfo
13808 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13809 remove allowed code
13812 * paragraph_pimpl.C (erase): use boost::prior
13814 * Painter.C (text): use data() instead of c_str() when length is
13816 * WorkArea.C (putClipboard): ditto
13817 * font.h (width): ditto
13819 * BufferView2.C: use it-> instead of (*it). for iterators
13821 * paragraph_pimpl.C: ditto
13822 * paragraph.C: ditto
13823 * minibuffer.C: ditto
13824 * language.C: ditto
13826 * encoding.C: ditto
13827 * counters.C: ditto
13828 * converter.C: ditto
13830 * Variables.C: ditto
13831 * TextCache.C: ditto
13832 * MenuBackend.C: ditto
13833 * LyXAction.C: ditto
13835 * FloatList.C: ditto
13836 * DepTable.C: ditto
13837 * ColorHandler.C (LyXColorHandler): ditto
13839 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13841 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13843 * text2.C (openStuff): reintroduce this method (which had been
13844 nuked in NEW_INSETS frenzy).
13846 * lyxfunc.C (Dispatch): when an action has not been handled, use
13847 its name in the error message, not its number.
13849 * paragraph.C (inInset): change method name to begin with lowercase.
13852 * text2.C: updates because of this.
13854 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13856 * ToolbarDefaults.C (add): add spaces in error message
13858 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13860 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13861 (readLyXformat2): rename return_par to first_par, use lyxlex's
13862 pushToken and remove the manual push handling.
13863 (parseSingleLyXformat2Token): add another ert comp. variable:
13864 in_tabular, rename return_par to first_par. handle newlines better
13866 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13868 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13870 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13872 * text2.C (getParFromID): removed
13874 * buffer.C (getParFromID): new method moved form lyxtext.
13875 * BufferView2.C (insertErrors): adjust
13876 (setCursorFromRow): adjust
13877 * BufferView_pimpl.C (restorePosition): adjust
13878 * lyxfunc.C (Dispatch): adjust
13879 * undo_funcs.C (textUndo): adjust
13881 (textHandleUndo): adjust
13882 (textHandleUndo): adjust
13884 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13886 * buffer.C: up' the LYX_FORMAT
13888 * lyxfont.h: turn NO_LATEX on as default
13890 * buffer.C (insertErtContents): new methods of tex style compability.
13891 (parseSingleLyXformat2Token): use it several places.
13892 * tabular.C (OldFormatRead): and here
13894 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13896 * text2.C: remove some commented code.
13899 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13900 * trans.C: changes because of the above.
13902 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13904 * text2.C (setCounter): Fix counters bug with bibliography layout.
13906 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13908 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13909 own member functions
13910 (simpleTeXSpecialChars): ditto
13912 2001-07-06 Juergen Vigna <jug@sad.it>
13914 * a lot of files: changed the access to LyXText::status and the
13915 call of undo-functions.
13917 * undo.[Ch]: added a inset_id to the undo informations.
13919 * undo_funcs.[Ch]: added and moved here all undo functions.
13921 * lyxtext.h: give the status enum a weight, made status_ a private
13922 variable and made accessor functions for it, removed the whole bunch
13923 of undo-functions as they are now in their own file, make some
13924 functions publically available. Added function ownerParagraph with
13927 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13928 made InInset() a const function, added getParFromID() function.
13930 * buffer.[Ch]: added const version for inset_iterator functions,
13931 added getInsetFromID() function.
13933 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13934 changed undo functions for new version.
13936 2001-07-05 Juergen Vigna <jug@sad.it>
13938 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13939 unknow mechanism does not call the proper constructor but only this
13940 one also if I request the other!?
13942 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13944 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13946 * text2.C (LyXText): use initialization lists.
13948 * lyxtext.h (Selection): initialize set_ and mark_
13949 (init): remove method
13951 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13953 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13955 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13957 * screen.[Ch]: change method names to begin with lowercase
13959 * BufferView_pimpl.C (updateScrollbar): simplify further and
13960 hopefully make it a bit faster.
13962 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13964 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13965 calling directly xforms functions.
13967 * Painter.C (Painter):
13968 * lyx_cb.C (MenuWrite):
13969 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13972 * lyx_gui.C: remove bogus guiruntime extern declaration.
13974 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13976 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13978 (redoDrawingOfParagraph): ditto
13979 (redoParagraphs): ditto
13980 (cutSelection): don't create a object for CutAndPaste use the
13981 static method directly
13982 (pasteSelection): ditto
13984 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13987 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13989 * modifications to some other files because of this.
13991 * Makefile.am (lyx_SOURCES): add XFormsView
13993 * XFormsView.[Ch]: new files
13995 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13996 the main window. Move the gui dependent stuff to XFormsView
13998 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14000 * tabular.C (GetCellInset): update cur_cell also in the row/col
14001 version of this function.
14003 * lyxfunc.C: no need to include figure_form.h here.
14009 * lyxvc.C: no need to include forms.h here.
14011 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14013 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14015 * lyxfunc.C (Dispatch):
14017 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14018 constructor argument.
14020 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14022 * paragraph.C (Paragraph): dont't clear, and just set layout.
14023 (makeSameLayout): use params's copy contructor.
14025 * ParagraphParameters.[Ch] (makeSame): delete method
14027 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14029 * Variables.[Ch]: fix indentation, rename set to isSet
14031 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14033 * lyxfunc.C (Dispatch): fix typo
14035 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14037 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14040 * bufferlist.C: include assert.h for emergencyWrite().
14042 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14044 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14045 give up at last (bug #425202) !
14047 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14053 * spellchecker.C: strip spellchecker options and bring up
14054 preferences tab instead
14056 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14058 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14059 the istringstream constructor
14061 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14063 * paragraph.C (getLayout): fix return value
14065 * paragraph.h: do not declare getLayout as inline.
14067 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14069 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14071 * lyxcursor.h (operator<): new func
14072 (operator>): new func
14073 (operator>=): new func
14074 (operator<=): new func
14076 * text.C (changeCase): use selection.start and selection.end
14077 (changeRegionCase): require from to be <= to. Require par to be a
14080 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14082 2001-06-27 Juergen Vigna <jug@sad.it>
14084 * text.C (cursorLeftOneWord): changed to return the cursor and added
14085 overlay with BufferView * parameter which calls this one.
14087 (selectWord): use new getWord function.
14088 (changeCase): renamed from changeWordCase as and extended to work
14089 also on selections.
14091 * lyxtext.h: added enum word_location
14093 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14094 changeCase as this operates now also on selections.
14096 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14098 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14100 * many files: send debug output to Debug::INFO instead of
14103 * converter.C (View):
14105 (Move): send debug output to Debug::FILES instead of console.
14107 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14109 * lyxfunc.C (getStatus): use func_status
14111 * func_status.h: new header, describing the results of
14112 LyXFunc::getStatus;
14114 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14117 2001-06-25 The LyX Project <jug@sad.it>
14119 * buffer.C (sgmlOpenTag):
14121 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14123 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14125 * text2.C: remove some dead code
14127 * tabular.C (GetCellInset): store the last cell checked (gotten)
14129 * tabular.h: add the helper for the speedup
14131 * lyxtext.h: remove some dead code
14133 2001-06-26 The LyX Project <Asger>
14135 * paragraph.C: Change export to LaTeX of alignment to
14136 \begin{center} and family for better roundtrip work with reLyX.
14138 * Tune the math drawing a bit.
14140 2001-06-25 The LyX Project <Asger>
14142 * LColor.C (LColor): New color for math background. New color
14145 2001-06-25 The LyX Project <jug@sad.it>
14147 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14149 * lyxfunc.C (Open):
14150 * bufferlist.C (newFile): do not restrict to files ending with
14153 * BufferView_pimpl.C (MenuInsertLyXFile):
14155 2001-06-24 The LyX Project <jug@sad.it>
14157 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14160 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14162 * lyxtext.h: rename most methods to begin with a small char.
14163 Lots of changes because of this.
14165 * paragraph.C (Paragraph): do not call fitToSize
14166 (erase): call Pimpl::erase
14167 (insertChar): call Pimpl::insertChar
14168 (insertInset): call Pipl::insertInset
14169 (breakParagraph): do not call fitToSize
14170 (breakParagraphConservative): do not call fitToSize
14171 (fitToSize): remove method
14173 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14175 2001-06-24 The LyX Project <Asger>
14177 * Fix Qt compilation^2
14179 2001-06-24 The LyX Project <jug@sad.it>
14181 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14182 depthHook(getDepth()-1).
14185 * ParagraphParameters.h:
14186 * ParameterStruct.h: change type of depth to unsigned int ==
14187 depth_type. Many adaptations to other files before of that.
14189 2001-06-24 The LyX Project <Asger>
14191 * Fix Qt compilation.
14193 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14195 * paragraph.h: renamed several methods to begin with small letter.
14196 several changes to many parts of the code because of this.
14198 2001-06-23 The LyX Project <jug@sad.it>
14200 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14201 rewritten to discard all double spaces when KeepEmpty is off
14202 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14203 to only handle newlines but not fiddle with spaces and friends.
14205 * lyxfunc.C (MenuNew): when doing 'new from template', use
14206 template_path as default directory
14208 2001-06-23 The LyX Project <Asger>
14210 * Clean-up of header file includes all over
14211 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14213 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14215 * paragraph.h: renamed from lyxparagraph.h
14217 2001-06-23 Asger <lyx@violet.home.sad.it>
14219 * Buffer.h: Removed Buffer::resize
14220 * BufferList.h: Removed BufferList::resize
14221 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14222 the document lazily when we change the width, or the font settings.
14224 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14226 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14228 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14230 * buffer.h: remove out of date comment
14232 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14235 * screen.C: fix "theoretical" GC leak
14237 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14239 * LaTeX.C (scanAuxFile):
14240 (deplog): remove trailing \r when reading stream (useful under
14243 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14245 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14246 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14247 and BufferView::theLockingInset(Inset*), so should use them and not
14248 access bv_->text->the_locking_inset directly.
14250 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14252 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14255 * tex-defs.h: remove old unused file
14257 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14259 * BufferView_pimpl.C: fix typo, remove minibuffer message
14260 when buffer has loaded
14262 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14264 * lyxfunc.C (Dispatch): use stringstream
14265 (MenuNew): use stringstream
14266 (Open): use stringstream
14268 * importer.C (Import): use stringstream
14270 * bufferview_funcs.C (CurrentState): use stringstream
14272 * LaTeX.C (run): use stringstream
14274 * BufferView_pimpl.C (savePosition): use stringstream
14275 (restorePosition): use stringstream
14276 (MenuInsertLyXFile): use stringstream
14278 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14291 * vspace.C: removed // -*- C++ -*- as first line.
14294 * version.h: added // -*- C++ -*- as first line.
14296 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14298 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14300 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14303 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14305 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14308 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14310 * gettext.C: include LString.h even when --disable-nls is on.
14312 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14314 * converter.h (Get): changed argument type from int to
14315 FormatList::size_type to avoid unnecessary conversion.
14317 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14320 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14322 * gettext.h: include LString.h even when --disable-nls is on.
14324 2001-06-07 Juergen Vigna <jug@sad.it>
14326 * text.C (BreakAgain): subst spaces with tabs.
14328 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14329 (resizeInsetsLyXText): set force on resizeLyXText.
14331 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14333 * gettext.h (gettext_init):
14334 (locale_init): use a real definition instead of a macro
14336 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14338 * Bufferview_pimpl.C:
14340 * LColor.C: further lcolor tidies
14342 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14344 * BufferView_pimpl.C (updateScrollbar): simplify.
14346 * BufferView2.C: don't include insets/insetinfo.h, change
14347 prototype for insertInset and call the Pimpl version. let
14348 updateInset call Pimpl version.
14350 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14351 gotoInset to BufferView::Pimpl
14353 2001-06-01 Juergen Vigna <jug@sad.it>
14355 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14356 inside a LockingInset (is the update needed at all?).
14358 2001-05-31 Juergen Vigna <jug@sad.it>
14360 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14361 here not the old one otherwise how should we compare it afterwards
14364 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14369 * FontInfo.C: bring C functions into global namespace when
14372 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14374 * LString.h: make sure config.h has been loaded before LString.h.
14376 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14377 (one for each char read by EatLine!).
14379 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14382 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14384 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14385 to the same as the par we break from
14387 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14389 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14391 * MenuBackend.C (expand): also create menu entries for wide
14392 versions of the floats.
14394 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14396 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14398 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14399 frontends/Makefile.am
14405 * tabular.C (getTokenValue): add std::
14407 * tabular-old.C (getTokenValue): add std::
14408 (getTokenValue): ditto
14409 (getTokenValue): ditto
14411 * screen.C (ToggleSelection): adjust
14413 * lyxtext.h: put selection cursors inside a Selection struct.
14415 * lyxfunc.C (moveCursorUpdate): adjust
14417 * lyxfont.C (latexWriteStartChanges): add std::
14419 * lyxfind.C: adjust
14421 * font.h: delete with(char const *, LyXFont const &)
14423 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14425 * FontInfo.C (getFontname): add std::
14427 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14428 (workAreaButtonPress): adjust
14429 (tripleClick): adjust
14431 (moveCursorUpdate): adjust
14434 * BufferView2.C (gotoInset): adjust
14436 2001-05-30 Juergen Vigna <jug@sad.it>
14438 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14439 to check pspell I add this as default as I now have new pspell
14440 libraries and they seem to use this.
14442 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14444 * text2.C (CutSelection): make the cursor valid before the call to
14447 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14449 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14450 relied on 0 terminated strings and other horrors. Bug found due to
14451 the new assert in lyxstring!
14453 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14456 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14458 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14461 * lyxfunc.C (processKeySym): change method of getting to the
14464 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14465 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14466 * BufferView_pimpl.[Ch]: here as private methods.
14468 2001-05-28 Juergen Vigna <jug@sad.it>
14470 * text.C (SetHeightOfRow): added the update() call again as it is
14471 needed to initialize inset dimensions!
14473 2001-05-16 Juergen Vigna <jug@sad.it>
14475 * text2.C (SetCharFont): Add new function with BufferView * and
14476 bool toggleall parameters for setting insets internal fonts.
14477 (SetFont): Freeze the undo as we may change fonts in Insets and
14478 all this change should be inside only one Undo!
14480 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14481 setting font's in insets as for them we have the SetFont function!
14483 2001-05-15 Juergen Vigna <jug@sad.it>
14485 * text2.C (ClearSelection): to be sure we REALLY don't have any
14488 * tabular.C (TeXCellPreamble): fixed the left border problem for
14491 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14493 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14496 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14498 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14499 LFUN_BREAKPARAGRAPH.
14501 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14502 help test to "internal only", similar for LFUN_INSERT_URL
14504 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14505 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14506 auto_region_delete and deadkeys.
14508 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14511 * LColor.C: remove some dead entries, tidy a little
14513 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14515 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14517 (Dispatch): implement LFUN_ESCAPE
14519 * commandtags.h: add LFUN_ESCAPE
14521 * LyXAction.C (init): add entry for LFUN_ESCAPE
14523 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14524 Remove commented code.
14525 (insertNote): moved here
14526 (open_new_inset): moved here
14528 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14531 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14533 * kbmap.C (findbinding): clean it up and make it work correctly.
14535 * lyx_main.C (init): do not pass argc and argv as parameters
14537 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14539 * buffer.C: fix path for OS/2 & Win32
14543 * lyx_main.C: Added os:: class.
14545 * os2_defines.h: update
14547 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14549 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14550 better by trying again with reduced state.
14552 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14554 * lyxrc.C (read): print error about invalid key sequence only when
14555 debugging (because not all latinX keysyms are known to some X
14558 * kbsequence.C (getiso): add a few std:: qualifiers
14559 (getiso): comment out extra return statement.
14561 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14563 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14565 (Dispatch): enhance the accent inset a bit. (not perfect)
14567 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14569 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14571 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14573 * bufferlist.C (emergencyWrite): fix assert() call
14575 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14577 * text.C (InsertChar): Added trivial patch to only send the "you
14578 can not do multiple spaces this way" message once during a
14581 2001-05-08 Baruch Even <baruch@lyx.org>
14583 * Makefile.am: Changed order of libraries to get LyX to link properly
14584 with the gnome frontend.
14586 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14588 * LaTeXFeatures.h: add a std:: qualifier
14590 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14592 * paragraph.C (String): use stringstream
14594 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14596 * paragraph.C (writeFile): remove footflag arg
14598 * buffer.C (makeLaTeXFile): use stringstream
14599 (latexParagraphs): remove footnot gurba
14601 * LaTeXFeatures.C (getPackages): use stringstream
14602 (getMacros): likewise
14603 (getTClassPreamble): likewise
14604 (getFloatDefinitions): new method
14606 * paragraph.C (writeFile): reindent
14609 * WorkArea.h: revert the xpos + etc changes.
14611 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14613 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14615 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14616 (pasteSelection): likewise
14617 * text2.C (CreateUndo): likewise
14619 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14621 * minibuffer.C (peek_event): temporarily reduce the functionality
14622 of the minibuffer (to allow args on lfuns)
14624 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14625 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14627 * buffer.C (readInset): add compability reading of old float
14628 lists, add reading of new style float list.
14629 (readInset): avoid reevaluation of inscmd.getCmdName()
14630 (getLists): reindent
14632 * MenuBackend.C (MenuItem): implement parsing of
14633 md_floatlistinsert and md_floatinsert.
14634 (expand::LastFiles): move initalizaton of iterators out of loop,
14635 avoid reevaluation.
14636 (expand::Documents): introduce typdedef vector<string> Strings,
14638 (expand::ExportFormats): introduce typedef vector<Format const *>
14639 Formats, and use it.
14640 (expand): implement FloatListInsert and FloatInsert.
14642 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14643 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14644 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14646 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14648 (Dispatch::LFUN_FLOAT_LIST): implement
14650 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14652 * LaTeX.C (run): Fix problem with --export code.
14654 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14656 * BufferView.[Ch] (workarea): removed.
14657 (getClipboard) new method; wrapper for workarea()->getClipboard()
14659 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14662 * WorkArea.h (width, height, xpos, ypos): These methods all
14663 returned the dimensions of the work_area sub-area of WorkArea,
14664 resulting in a position error if the WorkArea were resized. Now
14665 return the dimensions of the entire WorkArea.
14667 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14669 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14671 * LaTeX.C (deplog): correct the syntax of regex reg1
14673 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14675 * undo.C: remove !NEW_INSETS cruft
14677 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14679 * text2.C: remove !NEW_INSETS cruft
14681 * text.C: remove !NEW_INSETS cruft
14683 * tabular.C: remove !NEW_INSETS cruft
14685 * spellchecker.C: remove !NEW_INSETS cruft
14687 * lyxtext.h: remove !NEW_INSETS cruft
14689 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14691 * lyxfunc.C: remove !NEW_INSETS cruft
14693 * lyxfind.C: remove !NEW_INSETS cruft
14695 * lyx_cb.C: remove !NEW_INSETS cruft
14697 * figureForm.C: remove !NEW_INSETS cruft
14699 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14701 * buffer.[Ch]: remove !NEW_INSETS cruft
14703 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14705 * CutAndPaste.C: remove !NEW_INSETS cruft
14707 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14709 * BufferView2.C: remove !NEW_INSETS cruft
14711 * BufferView.h: remove !NEW_INSETS cruft
14713 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14715 * Lsstream.h: include LString.h before the sstream headers to
14716 fix problem with gcc 2.95.3 and lyxstring
14718 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14720 * lyx_main.C: add using directives when needed for C functions
14721 declared in std:: namespace.
14723 2001-04-27 Juergen Vigna <jug@sad.it>
14725 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14726 (SetHeightOfRow): comment out the update call should not be needed!
14728 2001-04-13 Juergen Vigna <jug@sad.it>
14730 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14731 (LyXTabular): tried to minimize operator= operations (and realized
14732 hopfully Lars wish).
14734 2001-04-27 Juergen Vigna <jug@sad.it>
14736 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14738 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14740 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14742 * buffer.C (readInset): hack to make listof algorithm work
14744 * BufferView_pimpl.C: hack to make listof algorithm work
14746 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14748 * LyXAction.C: removed all !NEW_INSETS cruft
14749 (init): moved lfun_item in method
14751 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14753 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14755 * BufferView2.C (theLockingInset): white space.
14757 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14759 * minibuffer.C: include <iostream>
14761 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14763 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14765 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14767 * text.[Ch] (TransposeChars): new method
14769 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14771 * call message directly through LyXView instead of through LyXFunc
14772 * BufferView2.C: adjust
14773 * BufferView_pimpl.C: adjust
14774 * FontLoader.C: adjust
14776 * bufferview_funcs.C: adjust
14777 * converter.C: adjust
14778 * figureForm.C: adjust
14779 * importer.C: adjust
14781 * lyx_gui_misc.C: adjust
14782 * lyxfunc.C: adjust
14785 + more files in subdirs
14787 * lyxparagraph.h (size): move up int file
14790 * adjust all uses of Assert to lyx::Assert.
14792 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14793 lyxfunctional in namespace lyx
14794 * layout.C (hasLayout): ditto
14797 (delete_layout): ditto
14798 (NumberOfClass): ditto
14799 * converter.C (GetFormat): ditto
14804 * bufferlist.C (getFileNames): ditto
14805 (emergencyWriteAll): ditto
14808 * MenuBackend.C (hasSubmenu): ditto
14811 * BufferView_pimpl.C (getInsetByCode): ditto
14813 2001-04-18 Juergen Vigna <jug@sad.it>
14815 * vspace.C (asLatexString): fixed the 100% problem.
14817 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14819 * lyxfunc.C (Dispatch):
14821 * minibuffer.h: add a few std:: qualifiers
14823 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14825 * minibuffer.[Ch]: reimplement so that commands is initiated and
14826 run from lyxfunc, simplified som handling, and made the completion
14827 and history code for complete. wip.
14829 * lyxfunc.C (processKeySym): call message
14830 (miniDispatch): new temporary method
14831 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14832 (LFUN_MESSAGE): implement
14833 (LFUN_MESSAGE_PUSH): implement
14834 (LFUN_MESSAGE_POP): implement
14835 (initMiniBuffer): the initial/defualt minibuffer message.
14837 * lyxfont.[Ch]: inline some more getters
14839 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14841 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14843 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14844 (AutoSave): use LFUN_MESSAGE
14845 (Reconfigure): ditto
14847 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14849 * figureForm.C: use LFUN_MESSAGE
14851 * converter.C (runLaTeX): use LFUN_MESSAGE
14853 * bufferview_funcs.C: use LFUN_MESSAGE
14855 (changeDepth): ditto
14857 * bufferparams.h: use boost::
14859 * bufferlist.h: inherit privately from noncopyable
14861 * bufferlist.C (loadLyXFile): remove some commented code.
14863 * buffer.C (runChktex): use LFUN_MESSAGE
14865 * ShareContainer.h: inherit privately from noncopyable
14867 * ParagraphParameters.[hC] (depth): inline it.
14869 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14871 (message): new method
14872 (messagePush): ditto
14873 (messagePop): ditto
14874 (show): init minibuffer
14875 (showState): direct call
14877 * LaTeX.[Ch]: inherit privately from noncopyable
14878 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14879 instead of WriteStatus.
14881 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14883 * BufferView_pimpl.C (buffer): don't init minibuffer
14884 (workAreaButtonPress): use LFUN_MESSAGE
14885 (workAreaButtonRelease): ditto
14886 (savePosition): ditto
14887 (restorePosition): ditto
14888 (MenuInsertLyXFile): ditto
14889 (workAreaExpose): don't init minibuffer
14890 (update): remove commented code, simplify
14892 * BufferView2.C (openStuff): use LFUN_MESSAGE
14893 (toggleFloat): ditto
14896 (copyEnvironment): ditto
14897 (pasteEnvironment): ditto
14902 (updateInset): remove some commented code
14904 * lastfiles.h: inherit privately from noncopyable
14907 * lyx_main.h: ditto
14909 * lyxlex_pimpl.h: ditto
14911 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14912 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14913 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14915 * LyXAction.h: inherit privately from noncopyable, add methods
14916 func_begin, func_end, returning iterators to the func map.
14918 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14919 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14920 (func_begin): new method
14921 (func_end): new method
14923 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14925 (copySelection): ditto
14926 (pasteSelection): ditto
14928 * BufferView.C: whitespace change
14929 * BufferView.h: inherit privately from noncopyable
14931 2001-04-16 Allan Rae <rae@lyx.org>
14933 * tabular-old.C (l_getline):
14934 * spellchecker.C (sc_check_word):
14935 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14936 an unrecognised preprocessor directive. So ensure they're wrapped.
14938 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14940 * src/exporter.C (Export): Give an error message when path to file
14943 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14945 * LaTeX.C (deplog): Always check that foundfile exists.
14947 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14950 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14952 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14954 * tabular.[Ch] (getLabelList): implement new method
14956 * minibuffer.h: comment ouf setTiimer
14958 * minibuffer.C (ExecutingCB): constify res
14959 (peek_event): constify s
14960 (Set): constify ntext
14961 (Init): constify nicename
14963 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14965 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14966 (savePosition): use two params to Minibuffer::Set
14967 (restorePosition): ditto
14969 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14971 * lyx_main.C: include language.h
14973 * Makefile.am (lyx_main.o): add language.h
14975 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14981 * CutAndPaste.C: include gettext.h
14983 * lyxfont.h: remove old hack with ON and OFF.
14986 * lyxfont.h: do not include language.h...
14991 * bufferview_funcs.C:
14997 * paragraph.C: ... but do it here instead
14999 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15001 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15003 * tabular.C: small reformat
15005 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15008 (BreakParagraph): ditto
15009 (SetOnlyLayout): ditto
15012 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15015 * lastfiles.C: removed most using decl, add std:: where needed
15017 * buffer.C: ws changes
15019 * MenuBackend.C (class compare_format): put into anon namespace
15020 (expand): constify label, names, action, action2
15023 * text.C (SingleWidth): constify font
15024 (IsBoundary): constify rtl2
15025 (GetVisibleRow): constify ww
15027 * LaTeX.C (deplog): constify logfile
15029 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15031 (workAreaExpose): constify widthChange, heightChange
15033 * lyxrow.C (par): moved
15036 * lyxrow.h: as inlines here
15038 * lyxfont.h (shape): moved from lyxfont.C
15039 (emph): moved from lyxfont.C
15041 * lyxfont.C (LyXFont): use initialization list for all
15043 (shape): move to lyxfont.h as inline
15044 (emph): move to lyxfont.h as inline
15047 2001-04-04 Juergen Vigna <jug@sad.it>
15049 * vspace.C: had to include stdio.h for use of sscanf
15051 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15054 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15055 independent of xforms.
15057 2001-04-02 Juergen Vigna <jug@sad.it>
15059 * spellchecker.C: fixed namespace placing!
15061 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15063 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15064 the LyXParagraph * is 0.
15066 2001-03-29 Juergen Vigna <jug@sad.it>
15068 * vspace.C: added support for %, c%, p%, l%.
15069 (stringFromUnit): added helper function.
15070 (asLatexString): changed to give right results for the %-values.
15072 * buffer.C: convert the widthp in a width%.
15074 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15076 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15079 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15080 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15082 * lyx_cb.[Ch]: see above.
15084 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15088 * lyx.[Ch]: replaced by figure_form.[Ch].
15092 * lyxfunc.C: changed headers associated with above changes.
15094 2001-03-27 Juergen Vigna <jug@sad.it>
15096 * BufferView_pimpl.C: set the temporary cursor right!
15098 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15100 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15102 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15104 * LString.h: removed "using std::getline"!
15106 * BufferView_pimpl.C (Dispatch): changes due to changes in
15107 InsetInclude::Params.
15109 * buffer.C (tag_name): removed redundant break statements as they were
15110 producing lots of warnings with my compiler.
15112 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15114 * LString.h: add "using std::getline" when using the real <string>.
15116 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15118 * buffer.C: removed bitset usage.
15119 PAR_TAG moved to an anonymous name space.
15120 (tag_name): new funtion, also in the anonymous namespace.
15121 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15122 (makeDocBookFile): clean code. Completed transition from string arrays
15124 (SimpleDocBookOnePar): code clean.
15126 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15128 * tabular.C: add some comments.
15130 2001-03-22 Juergen Vigna <jug@sad.it>
15132 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15133 compatibility read a bit and fixed bug with minipage in different
15136 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15138 * buffer.C (pop_tag): removed.
15139 (push_tag): removed.
15140 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15141 array replaced with vector. Added support for CDATA sections.
15142 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15144 (makeDocBookFile): XML conformant declaration of CDATA section,
15145 fixed bug related to <emphasis> in the first paragraph char.
15146 (sgmlOpenTag): exclude empty tags.
15147 (sgmlCloseTag): ditto.
15149 * buffer.h (pop_tag): removed.
15150 (push_tag): removed.
15152 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15154 * language.h (Languages): added size_type and size().
15156 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15158 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15159 response on compability reading of minipages. One probliem is that
15160 the old usage of minipages was «flertydig»
15162 * several files here and in subdirs: don't use static at file
15163 scope use anon namespaces instead.
15165 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15167 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15168 LaTeX output. This is necessary for Literate document
15171 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15173 * buffer.C: insert hfill when needed.
15175 * tabular.C (l_getline): use string::erase, small whitespace change.
15177 * BufferView_pimpl.C: try the anon namespace.
15178 * WorkArea.C: ditto
15180 2001-03-16 Juergen Vigna <jug@sad.it>
15182 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15183 otherwise it won't open options-dialogs.
15185 * buffer.C: honor pextraWidth(p) on converting minipages.
15187 * tabular.C (l_getline): changed the functions to strip trailing \r.
15189 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15191 * BufferView_pimpl.C:
15192 * minibuffer..C: added "using SigC::slot" declaration.
15194 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15196 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15202 * paragraph.C: ditto
15204 * lyxtext.h: NO_PEXTRA
15206 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15208 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15209 * ParameterStruct.h: ditto
15210 * ParagraphParameters.h: ditto
15211 * lyxparagraph.h: ditto
15213 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15215 * buffer.C: add compability for minipage alignment.
15216 (latexParagraphs): remove unwanted pextra check.
15218 * several files: remove CXX_WORKING_NAMESPACES
15220 * buffer.C (pop_tag): tie is in namespace boost
15222 * BufferView.h: noncopyable is in namespace boost
15224 * lyx_main.h: ditto
15227 * lastfiles.h: ditto
15228 * bufferlist.h: ditto
15229 * ShareContainer.h: ditto
15231 * LyXAction.h: ditto
15234 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15236 * Merging changes from BRANCH_MVC back into HEAD.
15238 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15240 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15242 * BufferView_pimpl.C: change from intl.C
15246 * Makefile.am: move combox.*
15252 * intl.C: remove dialog (covered by prefs)
15254 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15256 * lyxfunc.C (Dispatch): removed redundant break statement.
15258 2001-03-14 Juergen Vigna <jug@sad.it>
15260 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15262 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15264 * buffer.C: add hack to fix compability reading of minipages.
15266 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15268 * buffer.C (getLists): Cleanup.
15270 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15272 * lyxfont.C (update): don't honor toggleall on font size.
15274 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15278 * Makefile.am: moved to frontends/xforms/
15282 * BufferView_pimpl.C: changes for moved mathpanel
15284 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15286 * gettext.h: fix gettext_init() in --disable-nls
15288 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15290 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15292 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15295 * lyx.h: strip external form
15297 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15299 * BufferView_pimpl.C: add comment, destroySplash()
15301 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15303 * BufferView_pimpl.C:
15307 * lyxfunc.C: use re-worked insetinclude
15309 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15311 * buffer.C: add using std::stringstream.
15313 * lyx_cb.C: readd using std::ios.
15315 * buffer.C: add using std::map.
15317 * BufferView_pimpl.C: add using std::vector.
15319 * ShareContainer.h: add std:: to swap.
15321 * buffer.h: add some typedefs
15322 * buffer.C (getLists): use them
15323 (getLists): renamed from getTocList.
15324 add a counter for the different float types and use it in the
15326 (getLists): use the same counter for the NEW_INSETS and the "non"
15329 * lyx_cb.h: remove unused items, includes, using etc.
15331 * ShareContainer.h: remove some commented code, add more comments
15332 and "documentation".
15334 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15336 * buffer.C (getTocList): make the list also when NEW_INSETS is
15339 * buffer.h: remove TocType
15341 * buffer.C (getTocList): change to return a map<string,
15342 vector<TocItem> >, implement for dynamic number of list.
15344 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15345 * text2.C (PasteSelection): adjust
15346 * CutAndPaste.C (pasteSelection): adjust
15348 * FloatList.C (FloatList): update from the new_insets branch.
15349 * Floating.[Ch]: ditto
15350 * LaTeXFeatures.C: ditto
15352 * lyxlex_pimpl.C: ditto
15354 * paragraph.C (Last): remove when NEW_INSETS is defined.
15356 * other file: changes because of the above.
15358 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15360 * lyxparagraph.h: rename next to next_, previous to previous_,
15361 make them private for NEW_INSETS. Rename Next() to next(),
15362 Previous() to previous().
15364 * other files: changes because of the above.
15366 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15369 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15372 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15374 * main.C (main): pass lyx_localedir to gettext_init().
15376 * gettext.h: remove locale_init and gettext_init macros
15378 * gettext.C (locale_init): new function
15379 (gettext_init): new function
15381 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15384 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15386 * Moved credits to frontends:
15387 * credits.[Ch]: removed
15388 * credits_form.[Ch]: removed
15389 * lyx_gui_misc.C: remove credits stuff
15392 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15394 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15396 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15397 unneeded destructor.
15399 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15400 a standalone pointer again.
15402 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15404 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15410 * ToolbarDefaults.C:
15419 * BufferView_pimpl.C: use new file dialog in GUII
15422 * lyx_cb.C: remove LayoutsCB to Toolbar
15424 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15426 * ShareContainer.h (get): add std:: qualifier
15428 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15430 * ShareContainer.h: define a proper ShareContainer::value_type
15431 type (and use typename to please compaq cxx)
15433 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15435 * lyxparagraph.h: move serveral local vars to
15436 ParameterStruct/ParagraphParameters., use ShareContainer in
15437 FontTable., make vars in FontTable private and add getter and
15440 * paragraph.C: changes because of the above.
15442 * lyxfont.h: remove copy constructor and copy assignment. (the
15443 default ones is ok), move number inside FontBits. move inlines to
15446 * lyxfont.C: add number to initializaton of statics, move several
15447 inlines here. constify several local vars. some whitespace
15448 cleanup. Dont hide outerscope variables.
15450 * Spacing.h: add two new constructors to match the set methods.
15452 * ShareContainer.h: new file, will perhaps be moved to support
15454 * ParameterStruct.h: new file
15456 * ParagraphParameters.h: new file
15458 * ParagraphParameters.C: new file
15460 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15461 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15463 * BufferView_pimpl.C: ParagraphParameter changes.
15464 * buffer.C: Likewise.
15465 * bufferview_funcs.C: Likewise.
15466 * text.C: Likewise.
15467 * text2.C: Likewise.
15469 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15471 * lyxfind.C (LyXReplace): do not redefine default argument in
15473 (IsStringInText): ditto
15474 (SearchForward): ditto
15475 (SearchBackward): ditto
15477 2001-03-06 Juergen Vigna <jug@sad.it>
15479 * lyxfind.C (IsStringInText): put parentes around expressions.
15481 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15483 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15485 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15487 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15489 * stl_string_fwd.h: add comment
15491 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15494 * tabular.C: remove unused DocBook methods
15500 killed DO_USE_DEFAULT_LANGUAGE
15502 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15504 * lyx_gui.C: do not include language.h.
15506 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15507 arguments in function implementation.
15509 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15511 * BufferView_pimpl.C: add <ctime>
15513 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15515 * BufferView_pimpl.C: add using std::find_if
15517 2001-02-27 José Matos <jamatos@fep.up.pt>
15519 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15522 2001-02-11 José Matos <jamatos@fep.up.pt>
15524 * buffer.C (makeDocBookFile): command styles now have a parameter as
15525 "title" by default.
15527 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15529 * layout_forms.[Ch]: removed
15530 * lyx_cb.[Ch]: out character
15531 * lyx_gui.C: out character
15532 * lyx_gui_misc.C: out character
15533 * bufferview_funcs.C: : out character,
15534 added toggleall as parameter in ToggleAndShow
15536 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15538 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15540 * text2.C (SetCurrentFont): Disable number property at boundary.
15542 2001-02-26 Juergen Vigna <jug@sad.it>
15544 * lyxfunc.C (getStatus): added a string argument override function so
15545 that this is correctly called from LyXFunc::Dispatch if it contains a
15546 do_not_use_argument which is used!
15547 (Dispatch): added check for "custom" export and call appropriate func.
15549 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15551 * lyxrc.C: Add language_command_local, language_use_babel and
15552 language_global_options.
15554 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15556 * buffer.C (makeLaTeXFile): Use language_use_babel and
15557 language_global_options.
15559 2001-02-23 Juergen Vigna <jug@sad.it>
15561 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15562 which works with LyXText and putted it inside BufferView. Here now we
15563 only call for that part the BufferView::Dispatch() function.
15565 * BufferView.C (Dispatch): added.
15567 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15568 functions which needs to use a LyXText over from LyXFunc.
15569 (MenuInsertLyXFile): added
15570 (getInsetByCode): added
15571 (moveCursorUpdate): added
15572 (static TEXT): added
15574 2001-02-22 Juergen Vigna <jug@sad.it>
15576 * BufferView_pimpl.C (update): call a status update to see if LyXText
15579 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15581 * vc-backend.C (revert): implement for CVS
15582 (getLog): implement for CVS
15584 2001-02-20 Juergen Vigna <jug@sad.it>
15586 * text2.C (ClearSelection): added BufferView param for inset_owner call
15588 * lyxfunc.C (TEXT): added this function and use it instead of
15589 directly owner->view()-text of getLyXText().
15591 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15593 * src/layout_forms.C: out preamble
15594 * src/layout_forms.h: out preamble
15595 * src/lyx_cb.C: out preamble
15596 * src/lyx_cb.h: out preamble
15597 * src/lyx_gui.C: out preamble
15598 * src/lyx_gui_misc.C: out preamble
15599 * src/lyxfunc.C: connect with guii preamble
15601 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15603 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15605 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15607 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15608 whether to run bibtex.
15610 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15612 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15614 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15616 * Makefile.am (lyx_SOURCES): removed bibforms.h
15618 * vspace.h: doxygen
15620 * text.C (GetVisibleRow): make several local vars const
15622 * tabular.C: small cleanup.
15624 * lyxserver.C (callback): use compare instead of strncmp
15626 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15627 inlines to after class or to paragraph.C
15629 * lyxfont.h: remove friend operator!=
15631 * converter.h: move friend bool operator< to non friend and after
15634 * combox.h: small cleanup
15636 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15637 to inlines after class def.
15639 * buffer.C (pop_tag): use string operations instead of strcmp
15641 * bmtable.c: doxygen, small cleanup
15643 * LaTeX.h: remove friend operator==
15645 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15657 * BufferView_pimpl.C:
15658 * BufferView.[Ch]: remove cruft
15660 2001-02-14 Juergen Vigna <jug@sad.it>
15662 * lyxfunc.C: removed #if 0 unused code
15664 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15666 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15668 * text2.C (SetSelection): added a BufferView * parameter
15670 2001-02-13 Juergen Vigna <jug@sad.it>
15672 * lyxfunc.C (Dispatch): fixed protected blank problem.
15673 * BufferView2.C (protectedBlank): added LyxText * parameter.
15675 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15676 (AppendColumn): same as above for column_info.
15678 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15679 (moveCursorUpdate): use a LyXText param for support of InsetText.
15681 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15682 (tripleClick): ditto
15684 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15686 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15688 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15690 * text2.C (SetSelection): set correct update status if inset_owner
15691 (ToggleFree): ditto
15693 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15695 * tabular.C: remove some commented code.
15697 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15699 * BufferView_pimpl.C: call hideSplash()
15701 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15704 * bibforms.h: remove
15707 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15708 add LFUN_CHILD_CREATE
15710 * counters.h: fix tiny typo
15715 * lyx.C: move splash to frontends/xforms/
15717 * lyx_gui_misc.C: move Include and Bibform to frontends
15719 * lyxvc.h: clarify comment
15721 * vspace.C: tiny housekeeping
15723 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15725 * text.C (PrepareToPrint): RTL Fix.
15727 * paragraph.C (GetUChar): New method.
15728 (String): Use GetUChar.
15730 * buffer.C (asciiParagraph): Use GetUChar.
15732 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15734 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15736 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15739 * buffer.C: rename to getLogName(), handle
15740 build log / latex log nicely
15742 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15745 * MenuBackend.h: remove support for reference menuitem type.
15747 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15749 * BufferView_pimpl.C: housekeeping
15750 * BufferView_pimpl.h:
15755 * minibuffer.h: move Timeout GUI-I
15757 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15759 * lyxrc.C (read): Update converters data-structures.
15761 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15763 * LaTeX.h (operator!=): add operator != for Aux_Info
15765 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15767 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15769 * LaTeXLog.C: deleted, useful code moved to Buffer
15772 * buffer.C: new function getLatexLogName()
15778 * lyxfunc.C: use frontends for LaTeX and VC logs
15780 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15782 * LaTeX.h: yet another std:: that Allan forgot.
15784 * Variables.C (set): renamed from isset(), because this clashes
15785 with some HP-UX macros (grr).
15787 2001-02-06 Allan Rae <rae@lyx.org>
15789 * LaTeX.h: Another bug fix. Missing std:: this time.
15791 2001-02-04 Allan Rae <rae@lyx.org>
15793 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15794 floats problem. I've left it commented out because it's not quite
15795 correct. It should also test that the current object is a table or
15796 figure inset. But I haven't gotten around to figuring out how to do
15797 that. I *think* it'll be something like: "table" == inset.type()
15799 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15802 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15804 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15805 all the citation/databases/styles in the auxilary file.
15806 (run): Rerun latex if there was a babel language error.
15808 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15810 * text.C (Backspace): Preserve the font when changing newline char
15812 (BreakParagraph): If the cursor is before a space, delete the space.
15814 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15816 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15818 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15819 new argument (code).
15820 (ChangeCitationsIfUnique): New method.
15822 * paragraph.C (GetPositionOfInset): Handle bibkey.
15824 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15826 * BufferView_pimpl.h: change type of Position::par_pos to
15827 LyXParagraph::size_type.
15829 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15831 * BufferView_pimpl.C (savePosition, restorePosition): Write
15832 messages to minibuffer.
15834 2001-01-28 José Matos <jamatos@fep.up.pt>
15836 * buffer.C (makeDocBookFile): adds support for document language.
15837 A silly restriction on the name of LatexCommand types where removed.
15838 Added support for CDATA sections, allows to chars unescaped, used
15839 among others in code, to avoid escape < and >.
15841 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15843 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15844 saved positions instrad of a stack. Furthermore, a position is
15845 stored using paragraph id/paragraph position.
15847 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15848 Remove LFUN_REF_BACK.
15850 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15852 * converter.C (dvipdfm_options): New method.
15854 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15856 * vspace.C (isValidLength): Fix for empty input string.
15858 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15860 * LyXAction.C (init): change description of LFUN_FIGURE to
15863 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15865 * LaTeX.C: add using directive
15867 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15869 * MenuBackend.C (expand): Fix the sorting of the formats.
15871 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15873 * lyx_main.C: tiny error message fix
15875 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15877 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15878 calling fl_initialize(). This fixes the problem with ',' as
15879 decimal separator in text files.
15881 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15883 * trans.C (process): Fix the keymap bug.
15885 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15887 * LaTeX.C (scanAuxFiles): New method. Provides support for
15888 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15889 (scanLogFile) Scan for "run BibTeX" messages.
15891 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15892 OT1 font encoding. Also, load the aecompl package if the ae
15895 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15897 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15899 * texrow.C (increasePos): turn two error messages into debug
15902 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15904 * LaTeX.C (scanAux): Handle the \@input macro.
15905 (runBibTeX): Use scanAux().
15907 * language.C (latex_options_): New field.
15909 * LaTeXFeatures.C (getMacros): Add language macros.
15911 * buffer.C (makeLaTeXFile): Small fix.
15913 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15915 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15917 * text2.C: add a using directive.
15919 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15924 * lyxfunc.C: kill LyXBell.
15926 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15928 * text.C (IsBoundary): Remove the error message
15930 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15932 * lyxrc.C (setDefaults): Correct initialization value for
15935 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15937 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15940 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15941 and GotoNextNote().
15943 * src/LyXAction.C: Added reference-next.
15945 * text.C (InsertChar): Use contains instead of strchr.
15947 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15949 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15951 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15952 alignment commands (when needed).
15954 * text.C (InsertChar): Add ':' to number separator chars.