1 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
5 * Makefile.am: support pch
7 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9 * text.C (readParToken): remove the static LyXFont variable and
10 pass it as a parameter instead. This fixes a nasty bug where an
11 inset will be inserted with a bad font in some situations
12 (readParagraph): adapt
14 * text2.C (setCounter): reduce number of calls to pars_[pit]
16 * text.C (singleWidth): add an assert, fix a test
18 * rowpainter.C (paintText): reduce number of calls to singleWidth
20 * paragraph.C (isHfill):
23 2004-08-14 André Pönitz <poenitz@gmx.net>
28 * lyxtext.h (several functions): use a Paragraph & argument
31 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
33 * metricsinfo.h: add a new field ltr_pos to PainterInfo
35 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
37 * text.C (singleWidth): remove useless test
39 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
41 * tabular.h: remove bogus comments
43 * tabular.C (getDescentOfRow):
44 (isPartOfMultiColumn): add assertions
46 * lyxlength.C (inPixels): remove #warning
48 2004-08-14 André Pönitz <poenitz@gmx.net>
50 * paragraph.h: inline getChar()
52 * BufferView.h: remove unused declarations
54 2004-08-14 José Matos <jamatos@lyx.org>
56 * Buffer.[Ch] (readDocument): new name for old readBody.
57 * Buffer.C: new file format, new keywords: \begin_document,
58 \begin_header, \begin_body, \end_body.
60 * bufferparams.C (readToken): replace all calls to lex.nextToken
61 by lex.next(). Do the same to eatLine except where really needed.
63 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
64 line when writing to the lyx file.
66 * output_plaintext.C (asciiParagraph): fix Bibliography style
69 * text.C (read): fix end of file handling.
71 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
73 * MenuBackend.C (Menu::operator[]): new method to access
75 (Menu::hasFunc): new method. search for an item that corresponds
77 (MenuBackend::specialMenu): new method
78 (MenuBackend::expand): if a special menu has been set, skip
79 entries whose func() appears in this menu
81 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
83 * text3.C: use Debug::DEBUG a bit more
85 * text.C (leftMargin): try to simplify a tiny bit change var x to
86 l_margin. Dont output the wide margins always.
87 (rightMargin): no margin in inner texts
89 * rowpainter.h (nestMargin): new func
90 (changebarMargin): new func
91 (rightMargin): new func
93 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
97 * factory.C (createInset): modify setDrawFrame
99 * cursor.C: use Debug::DEBUG a bit more
101 2004-08-14 André Pönitz <poenitz@gmx.net>
104 * Makefile.am: new files to accomodate an 'external' (x,y)-position
105 cache for all insets in (at least partially) visible (top-level)
108 * BufferView_pimpl.C: reset external coord cache before every update.
109 This means the coord cache only contains valid entries.
111 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
114 * BufferView_pimpl.C (getInsetByCode): move function out of class
115 and change in to a template in anon namespace. Also fix to do what
118 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
121 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
123 (breakParagraph): rename par to par_offset and use a local
124 reference. Add code to keep the language over a rebreak.
125 (breakParagraphConservative): rename par to par_offset, use a
127 (mergeParagraph): ditto
129 (isFirstInSequence): ditto
130 (outerFont): rename pit to par_offset
132 * paragraph.C: ws change
137 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
139 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
142 * paragraph.C (simpleTeXOnePar): when we have a \item with
143 optional argument, enclose the argument with curly brackets (in
144 case it contains a closing square bracket)
148 * text3.C (checkInsetHit): constify
150 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
152 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
155 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
157 Fix toggling of collapsable insets with the mouse (bug 1558)
159 * lyxfunc.C (dispatch): adapt to LCursor changes
161 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
162 make sure that dispatch is not invoked twice
164 * cursor.C (needsUpdate): new method
165 (dispatch): return void
166 (result): new method, to access the DispatchResult of the cursor.
168 2004-08-13 José Matos <jamatos@lyx.org>
170 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
172 2004-08-13 André Pönitz <poenitz@gmx.net>
174 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
176 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
179 2004-08-12 André Pönitz <poenitz@gmx.net>
181 * text3.C: take out the 'cursor right' form insertInset and only
182 do it in those places when it is really needed. Fixes crash on
185 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
187 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
189 * BufferView_pimpl.C (setBuffer): initialize the current font of
190 the underlying LyXText
192 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
194 * kbsequence.C (print): use UI native formatting for menu
197 * text.C (insertChar): call Paragraph::insertChar with a font
200 * paragraph.C (insertInset, insertChar): the version that takes a
201 LyXFont argument is now a wrapper around the other one (the
202 opposite used to be true).
204 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
205 argument. Font setting is done in Paragraph now.
207 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
209 * outputparams.h: add new members intitle and lang.
211 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
212 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
214 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
216 * text3.C (dispatch): remove special handling of button 4 and 5,
217 it is now taken care of in the frontend code.
219 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
221 * Spacing.h: add <string> (STLPort compile fix)
223 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
225 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
227 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
229 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
232 * converter.C (showMessage): inherit from unary_function, make
235 * buffer.C (writeFile): initialize retval
237 * InsetList.h: rename private variable list to list_
238 * InsetList.[Ch]: adjust accordingly.
240 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
242 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
243 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
244 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
245 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
246 * ParagraphParameters.C, LaTeXFeatures.C: replace
247 "support/std_sstream.h" with <sstream>
249 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
251 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
252 * lyxsocket.C (LyXServerSocket): ditto
253 (serverCallback): ditto
255 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
257 * LaTeXFeatures.C: check release date when loading jurabib.
259 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
261 * lyxserver.C (startPipe): call register_socket_callback
262 (endPipe): call unregister_socket_callback
264 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
266 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
267 (LyXServerSocket): register the callback
268 (LyXServerSocket): unregister the callback
269 (fd): delete function
270 (serverCallback): improve error checking and setup the callbacks.
271 (dataCallback): change arg to fd.
272 (writeln): new func (copied fro the client socket) used for server
274 (LyXDataSocket): simplify
275 (~LyXDataSocket): close ann unregiser callback
276 (server): delete function
277 (fd): delete function
278 (readln): small changes, improve some std::string usage
279 (writeln): constify a bit
281 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
283 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
286 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
288 * BufferView_pimpl.C (setBuffer): set the layout combox value only
289 after it has been populated
291 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
293 * text2.C (insertInset): move cursor when inserting inset.
295 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
297 * kbmap.C (findbindings): a couple of new methods. returns a
298 container of kb_sequence objects. The real work is done by the
299 private recursive version
300 (printbindings): uses findbindings to print out a bracketed list
301 of bindings (renamed from findbinding).
303 * MenuBackend.C (binding): use kb_keymap::findbindings
305 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
307 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
309 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
311 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
313 * paragraph.C (isWord): return true on insets that report
316 * text.C (getWord): use Paragraph::isWord to decide what is in a
317 word and what is not; fix bug 1609.
319 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
321 * tex-strings.C: add "none" to string_paperpackages[], fixes
322 off-by-one-error in the paperpackage selection.
325 * tex-strings.[Ch]: char const * string[n]
326 -> char const * const string[]
328 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
330 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
331 command, return early.
333 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
335 * debug.h: add DEBUG to enum and fix size of ANY.
337 * debug.C: add support for Debug::DEBUG
338 (showTags): cast errorTags.level to unsigned int
340 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
341 (redoCurrentBuffer): ditto
342 (updateScrollbar): ditto
343 * cursor.C (dispatch): ditto
344 * text2.C (setLayout): ditto
346 (updateCounters): ditto
348 (deleteEmptyParagraphMechanism): ditto
350 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
352 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
353 annotations to cleanup the Makefile slightly.
355 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
357 * lyxrc.C: do not set user_email to a default value but use empty
358 instead. The entry used to be translated, which does not work
359 since at the point where lyxrc is constructed there is no
360 translation service available
362 * messages.C (getLocaleDir): remove and use directly
363 lyx_localedir() instead
365 2004-06-02 Angus Leeming <leeming@lyx.org>
367 Fix crash caused by dereferencing null pointer 'exportdata' in
368 OutputParams by creating a new ExportData variable on the heap,
369 storing it in a boost::shared_ptr.
370 The crash was triggered when generating an Instant Preview
371 of an external inset.
373 * Makefile.am: add outputparams.C
375 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
376 (c-tor): allocate memory to it.
378 * exporter.C (c-tor): associated changes.
380 2004-06-01 Angus Leeming <leeming@lyx.org>
382 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
383 contains data before calling isInset(0). (Bug 1513.)
385 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
387 * exporter.C (checkOverwrite): new method
388 * exporter.C (copyFile): new method
389 * exporter.C (Export): copy referenced files to the document dir
390 * exporter.[Ch]: new class ExportedFile
391 * exporter.[Ch]: new class ExportData. Contains currently the
392 names of referenced external files
393 * outputparams.h: add exportdata member.
395 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
397 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
400 2004-05-19 Angus Leeming <leeming@lyx.org>
405 * lyxfunc.C: small changes due to the introduction of namespace
406 lyx::frontend and the moving of namespace biblio to lyx::biblio.
408 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
410 * text3.C (dispatch): supress update when only moving the cursor
411 * cursor.C (selHandle): remove commented code
413 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
415 * paragraph.C (startTeXParParams): correct column count
416 * CutAndPaste.C (pasteSelection): remove const_cast
417 * output_docbook.C (docbookParagraphs): remove const_cast
418 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
419 const_cast and return ParagraphList::const_iterator
420 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
421 * output_plaintext.C (writeFileAscii): remove const_cast
422 * paragraph.[Ch] (simpleTeXOnePar): make const
423 * paragraph_funcs.C (outerPar): use const iterators
424 * paragraph_pimpl.C (validate): use const iterators
425 * text.C (setHeightOfRow): use const iterators
427 2004-05-17 Angus Leeming <leeming@lyx.org>
430 * LyXAction.C (init): new LFUN_INSET_REFRESH.
432 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
433 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
434 if the citation engine has changed.
436 2004-05-14 José Matos <jamatos@lyx.org>
438 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
439 if the textclass does not provide it. Have it different for sgml and
441 support the language of document.
442 * output_docbook.C (docbookParagraphs):
443 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
444 first anchor as the id of the paragraph, remove special case code.
445 * sgml.C (escapeChar): escape only < & >.
447 2004-05-14 Angus Leeming <leeming@lyx.org>
449 * bufferparams.h: move biblio::CiteEngine enum here to minimize
450 dependencies on src/frontends/controllers/biblio.h. Define a
451 CiteEngine_enum wrapper class to enable the enum to be forward
454 2004-05-12 Angus Leeming <leeming@lyx.org>
456 * buffer.C: up LYX_FORMAT to 234.
457 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
458 use_numerical_citations with a single biblio::CiteEngine cite_engine
460 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
462 2004-05-13 José Matos <jamatos@lyx.org>
465 * converter.C (Converter, readFlags): add xml member.
466 * outputparams.h: add XML flavor.
467 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
469 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
471 * lyxfunc.C (dispatch):
472 (getStatus): fix handling of LFUN_SEQUENCE
474 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
476 * debug.C (showLevel): do not forget the end-of-line marker
478 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
480 * kbmap.C (read): do not stop parsing a bind file when an error
483 2004-04-29 Angus Leeming <leeming@lyx.org>
488 * text2.C: wrap a bunch of #warning statements
489 inside #ifdef WITH_WARNINGS blocks.
491 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
493 * buffer.C: increment format to 233.
495 2004-04-28 Angus Leeming <leeming@lyx.org>
497 * BufferView_pimpl.C:
500 s/updateToolbar()/updateToolbars()/
501 s/Toolbar.h/Toolbars.h/
503 2004-04-28 Angus Leeming <leeming@lyx.org>
505 * BufferView.[Ch] (c-tor):
506 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
507 No longer passes these data to the WorkArea generator.
509 2004-04-28 Angus Leeming <leeming@lyx.org>
511 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
513 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
515 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
517 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
519 * output_latex.C (TeXEnvironment): make sure that there is a line
520 break before \end{foo} for the last paragraph of a document
521 (TeXOnePar): if the paragraph is at the end of the document (or
522 inset) and the language has to be reset, then make sure that the
523 line break is _before_ the language command, not after (fixes bug
524 1225); also make sure that the language reset command is the first
525 thing after the paragraph (to ensure proper nesting of
526 environments and thus fix bug 1404)
528 2004-04-21 John Levon <levon@movementarian.org>
531 * ToolbarBackend.C: make "name" be a programmatic name
532 and a gui_name field.
534 * lyxfunc.C: display the minibuffer on M-x
536 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
538 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
541 2004-04-19 Angus Leeming <leeming@lyx.org>
543 * BufferView_pimpl.C (setBuffer): changed preview interface.
545 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
548 2004-04-19 John Levon <levon@movementarian.org>
550 * BufferView_pimpl.C:
551 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
553 2004-04-05 Angus Leeming <leeming@lyx.org>
555 * text.C (redoParagraphs): add call to updateCounters(), thereby
556 fixing the missing "Figure #:" label from the caption of a
559 2004-04-13 Angus Leeming <leeming@lyx.org>
561 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
562 cursor is clicked out of an inset.
564 2004-04-13 Angus Leeming <leeming@lyx.org>
566 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
567 than an InsetOld one.
569 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
571 * format.[Ch]: add editor to Format
572 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
573 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
575 2004-04-08 André Pönitz <poenitz@gmx.net>
577 * metricsinfo.h: remove PainterInfo::width member
579 2004-04-08 Angus Leeming <leeming@lyx.org>
581 * lyx_sty.C (boldsymbol_def): modify so that it outputs
582 "\providecommand" rather than "\newcommand", thereby preventing
583 clashes with packages that define "\boldsymbol" themselves.
586 2004-04-08 Angus Leeming <leeming@lyx.org>
588 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
589 thereby squashing an unnecessary warning.
591 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
593 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
596 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
598 * BufferView.C (setCursor): call redoParagraph (some insets could
600 (putSelectionAt): remove the 'double update' trick
602 * BufferView_pimpl.C (fitCursor): call refreshPar
603 (workAreaDispatch): remove an uneeded update call
604 (dispatch): remove some manual update calls
606 * cursor.[Ch]: remove cached_y_, updatePos
607 (selHandle): set noUpdate when appropriate
609 * lyxfunc.C (dispatch): track if we need an update
611 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
613 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
614 (paintSelection): cheap optimization, do not call cursorX when not
616 (paintPars): change signature
619 (paintTextInset): adjust
623 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
625 * lengthcommon.C: compilation fix: remove explicit array size from
626 unit_name[] and friends
628 2004-04-05 Angus Leeming <leeming@lyx.org>
630 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
632 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
633 present only for the preferences dialog.
634 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
636 2004-04-05 Angus Leeming <leeming@lyx.org>
638 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
639 to enable the frontends to export changes to lyxrc correctly.
641 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
643 2004-04-07 André Pönitz <poenitz@gmx.net>
645 * cursor.[Ch] (selClear, adjust): remove math
647 * cursor_slice.C: more agressive assert
650 * BufferView_pimpl.C: rework mouse event dispatch
657 2004-04-05 André Pönitz <poenitz@gmx.net>
659 * cursor.[Ch] (valign, halign...): remove unneeded functions
661 2004-04-05 Angus Leeming <leeming@lyx.org>
663 * lyxlength.[Ch] (unit_name et al.): const-correct.
665 2004-04-05 Angus Leeming <leeming@lyx.org>
667 * BufferView_pimpl.C:
676 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
678 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
680 * text3.C (getStatus): add LFUN_BEGINNINGBUF
682 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
684 * lyxfind.C: add a couple of inTexted() tests + other small fixes
685 * BufferView_pimpl.[Ch] (getStatus)
686 * BufferView.[Ch] (getStatus): add
687 * lyxfunc.C (getStatus): move lfuns handled in
688 BufferView::dispatch to te function above
689 * Cursor.C (setSelection): set selection() = true
691 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
693 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
695 2004-03-31 Angus Leeming <leeming@lyx.org>
697 * lyxfunc.C (dispatch): Fall through to the generic
698 Dialogs::show("preamble").
700 2004-03-31 Angus Leeming <leeming@lyx.org>
702 * lyxfunc.C (dispatch): Fall through to the generic
703 Dialogs::show("spellchecker").
705 2004-03-31 Angus Leeming <leeming@lyx.org>
707 * lyxfunc.C (getStatus, dispatch): changed invocation of the
710 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
715 * insetiterator.[Ch]:
720 * undo.[Ch]: s/DocumentIterator/DocIterator/g
722 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
724 * BufferView.C (setCursor, putSelectionAt): call edit to open the
725 insets where we are putting the cursor.
727 2004-03-31 Angus Leeming <leeming@lyx.org>
730 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
732 * lyxrc.[Ch] (read, write): overloaded member functions taking
733 a std::[io]stream arguments.
735 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
737 2004-03-31 Angus Leeming <leeming@lyx.org>
739 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
740 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
742 * lyxtextclass.C (load): if the text class couldn't be loaded, then
743 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
745 2004-03-31 Angus Leeming <leeming@lyx.org>
747 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
748 the LFUN_ALL_INSETS_TOGGLE code.
750 2004-03-30 Angus Leeming <leeming@lyx.org>
752 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
753 has died. Fall through to the generic Dialogs::show("document").
755 2004-03-30 Angus Leeming <leeming@lyx.org>
758 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
759 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
761 * lyxfunc.C (getStatus, dispatch): define the actions for these
762 lfuns. Little more than a cut and pste job from ControlDocument.C
764 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
766 2004-03-30 Angus Leeming <leeming@lyx.org>
769 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
770 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
772 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
773 open/closed state of ollapsable insets. Usage:
775 all-inset-toggle <state> <name>, where
776 <state> == "open" || "closed" || "toggle" and
777 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
779 * lyxtext.h, text2.C (toggleInset): removed.
781 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
782 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
783 now passes LFUN_INSET_TOGGLE to the found inset.
785 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
786 is now invoked as "all-insets-toggle toggle branch".
788 2004-03-30 Angus Leeming <leeming@lyx.org>
792 * pariterator.[Ch]: added/corrected header blurb.
794 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
796 * dociterator.[Ch]: add an inset_ member
797 (backwardPos): implemented
798 (backwardPos, forwardPos): use inset_ when the stack is empty.
799 (doc_iterator_begin, doc_iterator_end): implemented
800 * pariterator.[Ch]: adjust, add begin, end
801 * insetiterator.[Ch]: adjust, add begin, end
805 * BufferView_pimpl.C:
806 * CutAndPaste.C: adjust
808 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
810 * buffer.C: increment file format to 232.
811 * LaTeXFeatures.C: add bibtopic package.
812 * bufferparams.[Ch]: param \use_bibtopic.
814 * lyxrc.[Ch]: add lyxrc bibtex_command
815 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
817 * buffer.C: increment file format to 231.
819 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
821 * dociterator.C: implement forwardPar
822 * iterators.[Ch]: remove, replaced by
823 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
825 * BufferView_pimpl.C:
828 * bufferview_funcs.C:
834 * Makefile.am: adjust
836 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
838 * CutAndPaste.C (pasteSelection): fix 2 crashes
839 (eraseSelection): fix a crash
840 * paragraph_funcs.C: remove a warning
842 2004-03-28 Angus Leeming <leeming@lyx.org>
845 * LyXAction.C (init): new LFUN_PRINT.
847 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
849 2004-03-27 Angus Leeming <leeming@lyx.org>
852 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
854 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
856 2004-03-27 Angus Leeming <leeming@lyx.org>
858 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
859 insetlist always contains non-null pointers to insets.
861 2004-03-26 Angus Leeming <leeming@lyx.org>
863 * src/BufferView_pimpl.C:
867 * src/output_plaintext.C:
868 * src/outputparams.h:
869 * src/paragraph_funcs.C:
873 * src/frontends/controllers/ControlErrorList.C:
874 * src/frontends/gtk/FileDialogPrivate.C:
875 * src/frontends/gtk/GPainter.C:
876 * src/frontends/gtk/GToolbar.C:
877 * src/frontends/qt2/QRef.C:
878 * src/mathed/math_scriptinset.C: squash compiler warnings.
880 2004-03-26 Angus Leeming <leeming@lyx.org>
882 * ispell.C (LaunchIspell::start):
883 * lyx_cb.C (AutoSaveBuffer::start):
884 invoke run(DontWait) rather than runNonBlocking().
886 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
888 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
890 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
892 * kbsequence.C (print): adjust
894 * kbmap.C (printKeySym): rename and change signature
895 (printKey): use LyXKeySym::print()
897 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
899 * undo.C: add using std::advance to compile for stlport
901 2004-03-24 Angus Leeming <leeming@lyx.org>
903 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
904 it leads to a crash when no buffer is present.
906 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
907 Martin Vermeer <martin.vermeer@hut.fi>
909 * lyxfunc.C (dispatch):
910 * bufferparams.C (readToken): use the new LColor::setColor
912 * LColor.[Ch] (setColor): new version that takes two strings as
913 argument and creates a new color entry if necessary
915 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
917 * buffer.C (makeLaTeXFile): if the main latex file that is
918 processed is usually a subdocument of some master, then pretend
919 for a while that it is actually the master
921 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
923 * buffer.C (getLabelList):
924 (getBibkeyList): use getMasterBuffer()
925 (getMasterBuffer): new method. Returns the main document in the
926 case where one is using included documents.
928 2004-03-25 André Pönitz <poenitz@gmx.net>
932 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
934 * ParagraphList_fwd.h: change ParagraphList to a std::vector
936 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
937 text*.C over here. Rename namespace CutAndPaste to lyx::cap
939 * ParameterStruct.h: merge with ParagraphParameters
941 * lyxtext.h: remove LyXText::parOffset() and getPar()
943 * text3.C: Remove all 'manual' update calls. We do now one per user
944 interaction which is completely sufficient.
948 * BufferView_pimpl.C:
951 * ParagraphParameters.[Ch]:
963 * output_docbook.[Ch]:
965 * output_linuxdoc.[Ch]:
966 * output_plaintext.[Ch]:
968 * paragraph_funcs.[Ch]:
969 * paragraph_pimpl.[Ch]:
977 * frontends/controllers/ControlDocument.C:
978 * frontends/controllers/ControlErrorList.C:
979 * frontends/controllers/ControlSpellchecker.C:
982 * insets/insetbase.h:
983 * insets/insetbibitem.C:
985 * insets/insetbranch.C:
986 * insets/insetcaption.C:
987 * insets/insetcharstyle.C:
988 * insets/insetcharstyle.h:
989 * insets/insetcollapsable.C:
990 * insets/insetcollapsable.h:
992 * insets/insetfloat.C:
993 * insets/insetfoot.C:
994 * insets/insetmarginal.C:
995 * insets/insetnote.C:
996 * insets/insetoptarg.C:
997 * insets/insettabular.C:
998 * insets/insettext.C:
999 * insets/insettext.h:
1000 * insets/insetwrap.C:
1001 * mathed/math_mboxinset.C:
1002 * mathed/math_nestinset.C:
1003 * mathed/math_scriptinset.C:
1004 * mathed/math_scriptinset.h:
1007 2004-03-24 Angus Leeming <leeming@lyx.org>
1009 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1010 deal with any child processes that have finished but are waiting to
1011 communicate this fact to the rest of LyX.
1013 2004-03-24 Angus Leeming <leeming@lyx.org>
1015 64-bit compile fixes.
1017 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1018 (c-tor): pass lyx::pos_types rather than ints.
1020 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1023 * text.C (Delete): compile fix.
1024 (getPar): ensure that function declaration is the same as that in
1027 2004-03-23 Angus Leeming <leeming@lyx.org>
1029 * ispell.C (LaunchIspell):
1030 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1031 a boost::shred_ptr rather than a std::auto_ptr.
1033 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1035 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1036 handle LFUN_FILE_INSERT_*
1038 * lyxrc.C (setDefaults, getDescription, output, read):
1039 * lyxrc.h: remove ps_command
1041 2004-03-22 Angus Leeming <leeming@lyx.org>
1043 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1044 Ensure that error_handler is processed once only and that all data
1045 is saved before attempting to output any warning messages.
1047 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1049 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1051 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1053 2004-03-19 André Pönitz <poenitz@gmx.net>
1055 * cursor.[Ch] (reset): take main text inset as argument
1057 * BufferView: adjust
1058 * BufferView_pimpl.C: adjust
1060 * paragraph.[Ch]: fix completely broken operator=()
1062 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1064 * LColor.C (getFromLyXName): make sure that the color name is used
1067 2004-03-17 Angus Leeming <leeming@lyx.org>
1070 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1072 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1073 dialog and to kill a forked process.
1075 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1077 * text2.C (setCursorFromCoordinates): fix font problem
1079 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1081 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1082 bogus "rebuild cursor" code
1084 2004-03-11 André Pönitz <poenitz@gmx.net>
1086 * buffer.[Ch]: use InsetText instead of LyXText as container for
1089 * dociterator.[Ch]: drop the BufferView * member which is not needed
1090 anymore after the change to buffer.C
1092 * paragraph_funcs.C:
1096 * BufferView_pimpl.[Ch]:
1098 * cursor_slice.[Ch]: adjust
1100 * text3.C: fix bug in mathDispatch
1102 2004-03-08 André Pönitz <poenitz@gmx.net>
1104 * undo.[Ch]: use 'StableDocumentIterator' as base for
1107 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1110 * bufferparams.[Ch]: add jurabib support and param.
1112 * LaTeX.C: add FIXME/comment.
1114 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1116 * buffer.C: increment file format to 230.
1118 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1120 * cursor.C (dispatch): avoid infinite loops
1122 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1124 * rowpainter.C (paintSelection): fix x coordinates
1126 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1128 * text.C (rowBreakPoint): fix breaking before displayed insets
1130 2004-03-01 André Pönitz <poenitz@gmx.net>
1132 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1134 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1138 * BufferView_pimpl.C:
1146 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1152 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1153 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1155 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1157 * Bidi.[Ch] (computeTables): const correctness
1158 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1159 fill_hfill, fill_label_hfill and x from Row
1160 * lyxtext.h: prepareToPrint returns a RowMetrics
1161 * rowPainter.C: adjust
1162 * text.C (prepareToPrint): use width, not textWidth. adjust
1163 (redoParagraphInternal, cursorX): adjust
1164 * text2.C (getColumnNearX): adjust
1165 (init): put a default value to the top LyXText::width
1167 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1169 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1171 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1173 * lyxtext.h: add FontIterator class
1175 * text.C (FontIterator, operator*, operator->, operator++): add
1176 (rowBreakPoint, setRowWidth): adjust (fixing a
1179 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1181 * BufferView_pimpl.C (workAreaDispatch): allow also
1182 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1184 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1186 * text.C (rowBreakPoint): fix a bug showing with very large insets
1188 2004-02-25 André Pönitz <poenitz@gmx.net>
1191 * cursor.[Ch]: move some mathed specific code to mathed
1193 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1195 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1196 use_tempdir in preferences
1197 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1199 * lyx_main.C: ensure that tempdir is valid
1200 * lyxlex.h: correct typo
1201 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1202 * paragraph.[Ch] (isMultiLingual): make const
1203 * cursor.[Ch] (openable): make const
1205 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1207 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1209 2004-02-20 André Pönitz <poenitz@gmx.net>
1211 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1213 * cursor.[Ch]: prepare for localized getStatus()
1219 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1221 2004-02-20 André Pönitz <poenitz@gmx.net>
1223 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1225 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1227 * text2.C (setCursorFromCoordinates): switch to absolute coords
1229 (cursorDown): adjust
1230 * text3.C (dispatch): adjust
1232 2004-02-16 André Pönitz <poenitz@gmx.net>
1234 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1237 * cursor_slice.[Ch]: remove unneeded acessor function
1239 * lyxtext.h: rename rtl() to isRTL()
1247 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1249 * rowpainter.C (paintSelection): coord fix
1251 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1253 * Spacing.C: compile fix
1255 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1257 * cursor.C (dispatch): restore current_ before returning
1259 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1261 * text2.C (cursorUp, cursorDown): fix coords
1264 2004-02-12 André Pönitz <poenitz@gmx.net>
1269 * text3.C: add LCursor & parameter to most cursor movement functions
1270 remove usage of LyXText::cursorRow() and cursorPar()
1272 * cursor.[Ch]: add textRow() needed members
1275 * BufferView_pimpl.C:
1278 * BufferView_pimpl.C: adjust
1280 2004-02-11 André Pönitz <poenitz@gmx.net>
1284 * BufferView_pimpl.C: shift undo/redo handling
1286 * cursor.[Ch]: fix mathed crash
1289 * lyxtext.h: move selectionAsText to LCursor
1297 * rowpainter.C: fix excessive drawing
1299 2004-02-06 André Pönitz <poenitz@gmx.net>
1302 * BufferView_pimpl.[Ch]:
1303 * text3.C: move some text specific LFUN handling
1305 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1307 * text3.C (checkInsetHit): adjust coords
1308 * text2.C (getColumnNearX): adjust coords
1309 (edit): adjust coords
1310 * text.C (getRowNearY): add two asserts
1312 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1315 * format.C: add using std::distance to compile on gcc 2.95/stlport
1317 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1319 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1321 2004-02-04 André Pönitz <poenitz@gmx.net>
1323 * BufferView.[Ch] (insertInset):
1324 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1329 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1331 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1332 on the default clause of the switch
1333 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1334 wasn't catched by LCursor::dispatch
1336 2004-02-03 André Pönitz <poenitz@gmx.net>
1339 * cursor.[Ch]: some additional asserts
1341 * undo.[Ch]: remove LyXText dependency in interface
1345 * lyxtext.h (firstPar, lastPar): remove dead functions
1350 * paragraph.[Ch]: adjust
1352 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1354 * lyxfind.C (find): fix argument order in call to ::find
1356 2004-02-02 André Pönitz <poenitz@gmx.net>
1358 * cursor.[Ch]: remove direct access to anchor
1360 * text.C: remove findText() hack
1362 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1364 * iterators.[Ch] (lockPath): remove in favour of...
1365 * BufferView.[Ch] (setCursor): this addition
1366 * BufferView.C (putSelectionAt): adjust
1367 * undo.C (performUndoOrRedo): adjust
1368 * lyxfunc.C (dispatch): adjust
1370 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1372 * iterators.C (lockPath): add a missing slice
1373 * undo.C (performUndoOrRedo): remove redundant positioning code
1375 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1377 * vc-backend.C (scanMaster): ";" -> ';'
1379 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1381 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1382 std::binary_function
1384 * lyxtextclass.C (compare_name): rename to...
1385 (LayoutNamesEqual): ...this
1387 * lyxlex_pimpl.C (compare_tags): inherit from
1388 std::binary_function, put back into anon namespace
1390 * lyxfind.C (MatchString): inherig from std::binary_function
1391 (findChange): use empty() istead of !size()
1393 * format.C (FormatNamesEqual): new functor
1400 * converter.C (compare_Converter): rename to...
1401 (ConverterEqual): ...this, and fixup a bit.
1402 (getConverter): use it, and make function const
1403 (getNumber): use it, and make function const
1407 * bufferlist.C: add using boost::bind
1409 * MenuBackend.C (MenuNamesEqual): new functor
1410 (hasMenu): use it, and make function const
1411 (hasSubmenu): use nested bind to get rid of compare_memfun.
1413 2004-01-30 André Pönitz <poenitz@gmx.net>
1415 * BufferView_pimpl.C:
1418 * cursor_slice.[Ch]:
1421 * paragraph_funcs.C:
1422 * paragraph_funcs.h:
1426 * text3.C: move some of the edit(x,y) handling to the insets
1427 some coordinate changes.
1429 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1431 * text.C: add using statements for std::advance and std::distance
1433 * paragraph.C: add using statement for std::distance
1435 * lyxfind.C: add using statement for std::advance
1437 * cursor.C (region): remove std:: from swap
1438 (openable): use nucleus in stead of operator->
1440 * BufferView.C: add using statements for std::distance and std::swap
1442 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1444 * iterators.C: Remove the pimple, move the needed structures to
1445 the header file. Create accessor for the positions stack.
1446 (asPosIterator): remove function
1448 * PosIterator.C (PosIterator): move constructors to top of file
1449 (PosIterator): reimplement the constructor taking a ParIterator in
1451 (setFrom): new function
1452 (operator!=): inline it
1454 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1456 * lyxfind.C (replaceAll): use std::advance
1458 * iterators.h: inherit from std::iterator.
1460 * PosIterator.C (advance, distance): remove
1461 * PosIterator.h: interit from std::iterator.
1463 2004-01-26 André Pönitz <poenitz@gmx.net>
1466 * BufferView_pimpl.[Ch]:
1470 * bufferview_funcs.C:
1480 * output_linuxdoc.C:
1481 * output_plaintext.C:
1483 * paragraph_funcs.[Ch]:
1484 * paragraph_pimpl.[Ch]:
1490 * text3.C: more IU: dumps most of the rest of the mathcursor
1491 implementation into cursor.[Ch]; "globalize" a bit of it.
1493 2004-01-25 Angus Leeming <leeming@lyx.org>
1495 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1497 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1499 * LaTeXFeatures.h: add nice_ and nice() const
1500 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1502 2004-01-20 André Pönitz <poenitz@gmx.net>
1505 * BufferView_pimpl.C:
1507 * bufferview_funcs.C:
1509 * cursor_slice.[Ch]:
1520 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1521 LCursor and mathcursor parts to LCursor and InsetBase.
1523 2004-01-15 André Pönitz <poenitz@gmx.net>
1525 * cursor_slice.[Ch]: add a few covienience functions
1527 * funcrequest.[Ch]: remove BufferView * member
1529 * BufferView_pimpl.C:
1536 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1538 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1540 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1541 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1543 2004-01-13 André Pönitz <poenitz@gmx.net>
1546 * lyxtext.h: hide cursor and selection anchor behind accessor function
1549 * BufferView_pimpl.[Ch]:
1551 * bufferview_funcs.C:
1561 * cursor_slice.[Ch]: some integer type changes for inset unification
1563 * lyxcursor.[hC]: remove, it's CursorSlice now.
1566 * BufferView_pimpl.[Ch]:
1567 * bufferview_funcs.C:
1573 * textcursor.[Ch]: adjust
1575 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1577 * text2.C (undoSpan): add and use
1578 * text.C (breakParagraph): use undoSpan (fix bug 578)
1581 2004-01-08 Angus Leeming <leeming@lyx.org>
1583 * BufferView_pimpl.C (MenuInsertLyXFile):
1584 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1585 * lyxfunc.C (menuNew, open, doImport):
1586 FileFilterList change to the FileDialog open and save functions.
1588 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1590 * ShareContainer.h: make isEqual and isUnique adaptable
1592 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1594 2004-01-07 Angus Leeming <leeming@lyx.org>
1597 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1599 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1601 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1602 functions replacing find, replace and replaceAll.
1604 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1605 LFUN_WORDFIND(FORWARD|BACKWARD).
1607 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1609 * text.C (breakParagraph): remove an outdated #warning
1611 2004-01-07 André Pönitz <poenitz@gmx.net>
1613 * lyxfind.C: somewhat clearer logic
1615 * text.C: prevent crash in cursorX on unitialized row cache
1617 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1619 * lyxcursor.[Ch] (operator>): add
1620 * textcursor.C (selStart, selEnd): use std::min and std::max
1622 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1624 * Chktex.C: include boost/format.hpp
1626 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1628 * InsetList.C: replace functor MathcIt with adaptable functor
1630 (insetIterator): modify accordingly
1632 * BranchList.h: move the BranchNamesEqual functor here from...
1633 * BranchList.C: ... to here
1635 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1637 (add): replace a finding loop with std::find_if.
1639 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1641 * output_docbook.C: moving LatexParam functionality into
1644 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1646 * buffer.C: increment format to 229.
1648 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1651 * lyx_sty.[Ch]: remove minipageindent_def
1657 * text3.C: remove LFUN_INSET_MINIPAGE
1659 2003-12-28 Angus Leeming <leeming@lyx.org>
1661 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1663 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1665 * text2.C (setParagraph): fix off-by-one crash
1667 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1669 * output_docbook.C: header stuff for AGU
1671 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1673 * text2.C (redoCursor): remove
1676 * BufferView_pimpl.C: remove calls to redoCursor and
1677 setCursor(cursor.par(), cursor.pos()) all around
1679 2003-12-15 Angus Leeming <leeming@lyx.org>
1681 * buffer.C: up the format to 228.
1683 2003-12-15 André Pönitz <poenitz@gmx.net>
1685 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1690 * BufferView_pimpl.C:
1699 2003-12-15 Angus Leeming <leeming@lyx.org>
1701 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1702 than getFromGUIName to manipulate the color.
1704 2003-12-14 Angus Leeming <leeming@lyx.org>
1706 * BranchList.[Ch]: minimize the API.
1707 (Branch::getBranch, getColor): now return a 'const &'.
1708 (Branch::setSelected) now returns a bool set to true if the
1709 selection status changes.
1710 (BranchList::clear, size, getColor, setColor, setSelected,
1711 allBranches, allSelected, separator): removed.
1712 (BranchList::find): new functions, returning the Branch with
1714 (BranchList::add, remove): return a bool indicating that
1715 the operation was successful.
1717 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1718 new InsetBranch::isBranchSlected member function.
1720 * LColor.[Ch]: mimimize the API.
1721 (fill): renamed as addColor and made private.
1722 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1723 versions of these functions taking a string arg have been removed.
1725 * bufferparams.C (readToken):
1726 * lyxfunc.C (dispatch):
1727 * lyxrc.C (read): changes due to the altered BranchList and
1730 * factory.C (createInset, readInset): changes due to altered
1733 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1736 * lyxfunc.C: remove insetminipage. "minipage-insert"
1737 now produces a frameless minipage box inset.
1739 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1741 * textcursor.[Ch] (selStart,selEnd): add new methods
1742 remove selection::start, end, use LyXCursor::operator<
1743 * lyxcursor.[Ch] (operator<): add
1744 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1745 * BufferView.[Ch] (unsetXSel): add
1746 * text2.C (clearSelection): use unsetXSel,adjust
1749 * rowpainter.C: adjust
1750 * bufferview_funcs.C (put_selection_at): adjust
1752 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1754 * BufferView_pimpl.C: small coord. correction
1756 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1758 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1759 dragging over the splash screen.
1761 2003-12-11 Angus Leeming <leeming@lyx.org>
1763 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1764 as it is now handled in LyXText::dispatch.
1766 * text3.C (doInsertInset): remove a level of nesting.
1768 2003-12-11 Angus Leeming <leeming@lyx.org>
1770 * factory.C (createInset): changes due to the changed interface to
1771 InsetCommandMailer::string2params.
1773 2003-12-10 Angus Leeming <leeming@lyx.org>
1775 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1776 'dialog-show-new-inset <inset name>'
1778 2003-12-10 Angus Leeming <leeming@lyx.org>
1780 * buffer.C: up the format to 227.
1782 * factory.C: the box inset is now identified simply by 'Box'.
1784 2003-12-10 Angus Leeming <leeming@lyx.org>
1786 * buffer.C: up the format to 226.
1788 * factory.C: the note inset is now identified simply by 'Note'.
1790 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1792 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1793 when a pit is enough. Standarize a couple of loops.
1795 2003-12-05 Angus Leeming <leeming@lyx.org>
1797 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1798 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1799 data to the re-worked "log" dialog.
1801 2003-12-03 André Pönitz <poenitz@gmx.net>
1807 * paragraph_funcs.C:
1809 * text2.C: use Inset::getText instead of Inset::getParagraph
1811 2003-12-03 André Pönitz <poenitz@gmx.net>
1815 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1816 InsetText::read() as LyXText::read()
1818 2003-12-02 Angus Leeming <leeming@lyx.org>
1820 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1821 type. Add a comment in the implementation that the function uses
1822 the stream's bad() function rather than fail() as the std::streams
1825 2003-12-02 André Pönitz <poenitz@gmx.net>
1827 * lyxlex.[Ch]: make interface more similar to std::stream
1829 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1831 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1833 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1835 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1837 * vspace.[Ch]: remove VSpace::NONE
1839 2003-12-01 André Pönitz <poenitz@gmx.net>
1842 * lyxtext.h: move ParagraphList member to LyXText
1843 rename LyXText::ownerParagraphs to LyXText::paragraph
1846 * bufferview_funcs.C:
1856 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1858 * undo.C: fix cursor positioning
1860 2003-12-01 John Levon <levon@movementarian.org>
1862 * BufferView_pimpl.C: fix a crash on exit with
1865 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1867 * BranchList.C: fix setSelected() method.
1869 2003-11-28 André Pönitz <poenitz@gmx.net>
1871 * ParagraphParameters.[Ch]:
1872 * ParameterStruct.h: remove space above/below from Paragraph to
1875 * BufferView_pimpl.C:
1881 * paragraph_funcs.C:
1887 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1889 * factory.C: Syntax change for CharStyles
1891 2003-11-28 André Pönitz <poenitz@gmx.net>
1896 * buffer.[Ch]: move LyXText member
1898 2003-11-28 André Pönitz <poenitz@gmx.net>
1900 * BufferView.[Ch]: make LyXText * text a private member
1902 * BufferView_pimpl.C:
1913 * output_plaintext.C: cleanup
1915 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1918 * lyxtextclass.[Ch]: parametrize SGML document header
1920 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1923 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1926 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1928 * text2.C (setFont): rework using PosIterator (no more recursive)
1929 (setCharFont): no more needed
1930 (setLayout): no more selection cursors fiddling (done by redoCursor)
1931 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1932 destroy remaining ones)
1934 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1936 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1938 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1941 * text3.C: adjust + re-allow multi par depth changes
1942 * textcursor.C: simplify a bit
1944 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1950 * src/output_docbook.C:
1951 * src/output_latex.C:
1956 * src/text2.C: Introducing a number of tags parametrizing various
1957 XML formats that we may want to support
1959 2003-11-25 André Pönitz <poenitz@gmx.net>
1961 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1963 * lyxtext.h (leftMargin/rightMargin): simplify interface
1970 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1972 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1973 master file to any child files. Fixes bug 546.
1975 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1977 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1979 2003-11-24 André Pönitz <poenitz@gmx.net>
1981 * rowpainter.C: simplification
1983 * text2.C (updateCounters): remove call to redoParagraph on
1984 changed labels as this is far too expensive.
1986 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1988 * converter.C (convert): fix a crash: this function gets
1989 called with buffer == 0 from importer code.
1991 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1993 * text3.C (cursorPrevious): make sure that we do not compare
1994 iterators form different containers.
1997 * rowpainter.C (paintSelection): make sure that we do not compare
1998 iterators from different containers.
2000 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2001 iterators from different ParagraphList containers.
2004 * text2.C (LyXText): change order of initialization slightly
2005 (operator=): new function. copy all variables except cache_par_
2006 (moveUp): make sure that we do not compare iterators from
2007 different ParagraphList constainers.
2010 * text.C (firstPar): new function
2011 (lastPar): new function
2012 (endPar): new function
2014 * lyxtext.h: move things around and group public functions, public
2015 variables, private functions, private variables
2017 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2019 * factory.C: change call to InsetERT constructor to avoid
2020 additional invocation of method status
2021 * text2.C (toggleInset): remove redundant update() call
2022 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2023 instead of a Bufferview pointer
2025 2003-11-21 André Pönitz <poenitz@gmx.net>
2027 * rowpainter.C: simplification
2029 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2031 * text3.C (dispatch): make possible to extend a word/row selection
2034 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2036 * lyxtext.h: x0_,y0_ -> xo_,yo_
2037 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2038 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2039 * rowpainter.C (paintRows): paint full paragraphs
2041 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2043 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2046 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2048 * lyxtext.h: add x0_, y0_
2049 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2050 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2052 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2054 * text2.C (setCursorIntern): move the x_target update here *
2055 * text3.C: change some bv() to true/false in calls to
2056 cursorUp/Down/Right/Left
2057 * cursor.C: use helper function.
2059 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2061 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2062 * paragraph_funcs.[Ch]: correct comment
2063 * rowpainter.C: do not paint selections away from bv->cursor()
2064 Fix a long standing selection painting bug.
2065 * text3.C: generalize mouse-selection code to LyXTexts other that
2067 * textcursor.C: do not use y coords if we can use par offsets
2069 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2071 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2072 cursor position after e.g. inset insert)
2074 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2076 * lyxfind.C (replace): adjust to locking removal + some
2079 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2081 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2084 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2087 * output_docbook.C: XML sanitation: new layout
2088 parameters InnerTag and CommandDepth
2090 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2092 * BufferView_pimpl.C:
2094 * text3.C: Fix the insertion and modification of button-style
2097 2003-11-13 André Pönitz <poenitz@gmx.net>
2099 * InsetList.[Ch]: remove deleteLyXText
2101 * paragraph.[Ch]: cache beginOfBody position
2106 * text3.C: remove superfluous update() calls
2110 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2112 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2113 * BufferView.C (fitLockedInsetCursor): remove
2114 * cursor.[Ch] (getDim): add
2115 * text.C (getRowNearY): add faster version
2116 * text3.C: remove some update calls
2118 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2130 * text3.C: The Character Style /XML short element patch.
2132 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2135 * factory.C: Small step to solving 'unable to insert some insets'
2138 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2140 * cursor.[Ch] (updatePos): new function for updating the y
2141 position of the tip inset
2142 * bufferview_funcs.C (put_selection_at):
2143 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2145 2003-11-11 André Pönitz <poenitz@gmx.net>
2147 * text.C: remove big comment on invalid Paragraph pointers as it is
2150 2003-11-11 André Pönitz <poenitz@gmx.net>
2152 * text_funcs.[Ch]: merge with ...
2160 * Makefile.am: remove text_funcs.[Ch]
2162 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2164 * cursor.C (getPos): return absolute cached y coord
2166 * BufferView_pimpl.C (fitCursor): new simplistic code
2167 (workAreaDispatch): add a fitCursor call
2169 2003-11-10 André Pönitz <poenitz@gmx.net>
2172 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2174 2003-11-10 André Pönitz <poenitz@gmx.net>
2176 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2177 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2178 indicate that the cursor needs to leave an inset
2180 * lyxtext.h: remove inset locking
2182 * cursor.[Ch]: re-implement functionality provided by inset locking
2185 * BufferView_pimpl.[Ch]:
2187 * bufferview_funcs.[Ch]:
2199 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2201 * PosIterator.[Ch]: replace the stack with a vector, add inset
2203 * iterators.[C]: adjust
2205 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2207 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2209 * paragraph_funcs.C (readParToken): put the correct id in the
2210 error item, not the id of the top paragraph
2212 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2214 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2215 * bufferview_funcs.C (put_selection_at): use the above
2217 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2219 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2221 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2223 * output_linuxdoc.h:
2224 * output_plaintext.h:
2226 * output_docbook.h: add #include statements
2228 2003-11-05 José Matos <jamatos@lyx.org>
2230 * output_docbook.[Ch]:
2231 * output_latex.[Ch]:
2232 * output_linuxdoc.[Ch]:
2233 * output_plaintext.[Ch]: New files for output formats.
2234 * output.[Ch]: New file for helper functions.
2237 * paragraph_funcs.[Ch]: output functions moved to new files.
2239 * outputparams.h: rename of latexrunparams.h
2247 * paragraph_funcs.[Ch]:
2248 * paragraph_pimpl.[Ch]:
2249 * tabular.[Ch]: rename ascii to plaintext
2250 and LatexRunParams to OutputParams.
2252 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2254 * iterators.[Ch] (text): require bv argument
2255 * undo.C (recordUndo):
2256 * lyxfunc.C (dispatch):
2257 * bufferview_funcs.C (put_selection_at): adjust
2259 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2261 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2263 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2265 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2268 2003-11-04 André Pönitz <poenitz@gmx.net>
2270 * cursor.[Ch]: restructure
2273 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2275 * iterators.[Ch] (asCursor): remove
2277 * lfuns.h: remove LFUN_INSET_EDIT
2283 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2285 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2287 * lyxfind.[Ch]: complete overhaul
2288 * BufferView_pimpl.C:
2290 * paragraph.[Ch] (insert): add
2292 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2296 * text.C: remove dead spellcheck code
2298 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2300 * dispatchresult.h: add a val setter
2302 * cursor.C (dispatch): use a tempvar for data_[i]
2304 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2306 * PosIterator.[Ch]: compile fix
2308 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2310 * text.C (cursorPar): deactivate the cursor cache
2312 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2314 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2316 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2318 * text3.C (dispatch): adjust for new DisptchResult semantics.
2320 * lyxfunc.C (dispatch): handle update when return from
2321 Cursor::dispatch, adjust for new DispatchResult semantics.
2323 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2324 DispatchResult(true) mean to not update. Add class functions for
2325 setting dispatched and update, as well as reading.
2327 * cursor.C (dispatch): don't handle update here
2329 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2331 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2332 * trans_mgr.C: adjust
2334 * paragraph_funcs.C (readParToken): exception safety
2336 * lyxvc.h: store the vcs pointer in a scoped_ptr
2339 * lyxsocket.C (serverCallback): exception safety
2341 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2343 * ispell.C (clone): make it return a auto_ptr
2345 * factory.C (createInset): exception safety
2346 (readInset): exception safety
2348 * bufferlist.C (newBuffer): exception safety
2350 * Thesaurus.C (Thesaurus): use initialization for aik_
2352 * MenuBackend.C (expandToc): exception safety.
2354 2003-11-03 André Pönitz <poenitz@gmx.net>
2358 * bufferview_funcs.C: remove getInsetFromId()
2361 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2367 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2369 * PosIterator.C (distance, advance): new
2370 * bufferview_funcs.[Ch] (put_selection_at): new
2371 * iterators.[Ch] (lockPath): new
2373 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2375 * iterators.[Ch] (asPosIterator): added
2376 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2377 * PosIterator.[Ch]: added
2379 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2383 * cursor.C (dispatch):
2384 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2386 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2387 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2388 contructor, add a class function dispatched. Remove operator>=
2390 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2392 * debug.C: only use the default constructor for debugstream
2395 * main.C (main): include debug.h and setup the lyxerr streambuf
2398 2003-10-31 José Matos <jamatos@lyx.org>
2400 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2402 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2403 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2404 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2405 * paragraph_pimpl.C (simpleTeXSpecialC):
2406 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2407 add LatexRunParams argument.
2409 * exporter.C (Export): change call accordingly.
2411 * latexrunparams.h: add new member to take care of the other backends.
2412 2003-10-30 José Matos <jamatos@lyx.org>
2414 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2415 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2416 factorise code for paragraph output.
2418 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2421 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2423 * text3.C (dispatch):
2424 * lyxfunc.C (dispatch):
2425 * cursor.C (dispatch):
2426 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2428 * dispatchresult.h: make the dispatch_result_t ctor explicit
2430 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2433 * buffer.C: small refactoring of docbook stuff
2435 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2437 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2440 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2442 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2443 operator dispatch_result_t, and operators for == != and >=
2445 * cursor.C (dispatch): adjust for operator dispatch_result_t
2446 removal. comment out call to update
2448 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2450 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2458 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2461 * dispatchresult.h: new file, DispatchResult broken out of
2464 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2466 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2468 * text.C (rowBreakPoint): put a hack inside #if 0
2470 2003-10-28 André Pönitz <poenitz@gmx.net>
2474 * paragraph_funcs.C:
2477 * text2.C: general cleanup (lots of small stuff)
2479 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2481 * text2.C (cursorEnd): simple fix to the "end key goes to one
2482 before the end on last row" bug
2484 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2486 * text.C (backspace): fix the "zombie characters"
2488 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2490 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2492 2003-10-27 André Pönitz <poenitz@gmx.net>
2494 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2496 * factory.C: handle new InsetPagebreak, InsetLine
2498 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2499 and move handling into new InsetPagebreak, InsetLine
2501 * BufferView_pimpl.C:
2503 * ParagraphParameters.C:
2504 * ParameterStruct.h:
2509 * paragraph_funcs.C:
2510 * paragraph_pimpl.C:
2516 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2519 * lyxrow_funcs.[Ch]:
2525 * text3.C: remove lastPos uses in favour of Row::endpos
2527 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2529 * undo.C (performUndoOrRedo): fix two crashes by setting a
2530 cursor by hand and reordering some calls. Use bv->lockInset instead
2531 of inset->edit because the latter loses cursor information
2533 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2535 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2537 (rowBreakPoint): fix width. change point to point + 1.
2538 Add a missing check.
2540 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2543 * lyxfunc.C: fix (at least partly) the problems
2544 with the Nav menu and headers inside branch insets
2547 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2549 * paragraph.C (getChar): add strong asserts
2551 * lyxrow_funcs.C (lastPos): remove hideous hack
2553 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2554 (fill): adjust to that (avoid an infinite loop)
2556 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2558 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2560 2003-10-23 André Pönitz <poenitz@gmx.net>
2562 * RowList_fwd.h: change list<> to vector<> to gain speed
2563 after suggestion from Alfredo
2565 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2567 * lyxtext.h: move the bidi stuff from here...
2570 * Bidi.[Ch]: ... to here
2572 2003-10-23 André Pönitz <poenitz@gmx.net>
2575 * text.C (isLastRow, isFirstRow): new functions
2577 * paragraph.h: new width cache member
2579 * rowpainter.C: replace RowList::iterator with Row & where possible
2581 * lyxfunc.C: replace several view()->text with a single call
2583 * toc.C: fix 'unused' warning
2585 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2587 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2588 when woring with stream::pos_type
2589 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2591 2003-10-22 André Pönitz <poenitz@gmx.net>
2594 * text.C: use Row & instead of RowList::iterator
2596 * lyxrow.h: rename end() to endpos()
2602 2003-10-22 Angus Leeming <leeming@lyx.org>
2604 * buffer.[Ch] (fully_loaded): new member function, returning true
2605 only when the file has been loaded fully.
2606 Used to prevent the premature generation of previews and by the
2607 citation inset to prevent computation of the natbib-style label.
2609 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2610 templates are all set up.
2612 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2614 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2616 * text.C: fixed an "oops" in the "is a bit silly"
2619 2003-10-21 André Pönitz <poenitz@gmx.net>
2621 * FuncStatus.[Ch]: small stuff, whitespace
2623 * lyxfont.[Ch]: operator<<() for debug reasons
2627 * lyxtext.h: whitespace, spelling
2629 * paragraph.C: naming of variables
2632 * text2.C: small stuff
2635 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2637 * text.C: (1) finish off the inset display() work;
2638 (2) fix the "is a bit silly" bug (accessing char
2641 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2643 * text.C: re-introduce display() for insets, fixing the
2644 various bugs (stretch of line above, math inset
2647 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2649 * text.C (rightMargin): remove spurious semicolon
2651 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2654 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2656 * text3.C: fix one crash due to wrong cursor def
2658 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2660 * vc-backend.C (scanMaster): make the regex static
2662 * LaTeX.C (scanAuxFile): make the regexs static
2664 * text3.C (doInsertInset, dispatch, dispatch):
2665 * text2.C (cursorUp, cursorDown):
2666 * text.C (selectNextWordToSpellcheck):
2667 * BufferView_pimpl.C (dispatch):
2668 * lyxfunc.C (dispatch): localDispatch -> dispatch
2670 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2672 * lyxsocket.C: include <cerrno>
2674 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2676 * lyxfunc.C (dispatch): remove textcache stuff
2678 * bufferlist.C (release): remove textcache stuff
2681 * TextCache.C: delete file
2682 * TextCache.h: delete file
2684 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2686 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2687 delete of the bv_->text.
2688 (resizeCurrentBuffer): remove texcache stuff
2689 (workAreaResize): ditto
2691 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2693 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2696 2003-10-16 André Pönitz <poenitz@gmx.net>
2703 * text3.C: speed up by storing y positions per paragraph plus per-row
2704 offset instead of having a 'full' y position in the row.
2706 2003-10-15 André Pönitz <poenitz@gmx.net>
2710 * undo.[Ch]: make undo aware of inner insets
2712 2003-10-14 Angus Leeming <leeming@lyx.org>
2714 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2715 static member functions LyX::ref() and LyX::cref.
2716 (lastfiles): new accessor functions for the new lastfiles_ member var.
2717 (addLyXView, views_): add a new LyXView to the list of views_.
2718 (updateInset): loop over all LyXViews to call their own updateInset
2719 member function, returning a pointer to the Buffer owning the inset.
2721 * BufferView_pimpl.C (loadLyXFile):
2722 * MenuBackend.C (expandLastfiles):
2723 * bufferlist.C (MenuWrite, QuitLyX):
2724 lastfiles is no longer a global variable.
2725 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2727 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2728 static function. Access through LyX::cref().emergencyCleanup().
2730 2003-10-14 André Pönitz <poenitz@gmx.net>
2732 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2734 * undo.[Ch]: restoring part of 'undo in insets'
2737 * undo_funcs.[Ch]: merge with undo.[Ch]
2739 * tabular.C: small cleansing stuff
2741 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2743 * paragraph_funcs.C (readParToken): report unknown insets as error
2744 boxes. Use the outer paragraph as location (also for unknown
2747 * factory.C (readInset): do not abort on reading an unknown inset.
2748 Eat it and return 0.
2750 2003-10-13 Angus Leeming <leeming@lyx.org>
2752 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2754 * lyxrc.C: displayTranslator is now a function,
2755 declared in GraphicsTypes.h.
2757 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2759 * format.C: new placeholder $$a to pass the socket address.
2761 * bufferlist.[Ch]: new function getBufferFromTmp.
2763 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2764 files in the temporary dir.
2766 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2768 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2770 * Makefile.am: add lyxsocket.[Ch].
2772 * lyx_main.C (error_handler): handle SIGPIPE.
2774 2003-10-13 André Pönitz <poenitz@gmx.net>
2776 * BufferView_pimpl.C:
2781 * undo_funcs.[Ch]: use paroffset_type instead of
2782 ParagraphList::iterators to prevent multiple conversion
2783 (and get a more robust interface)
2785 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2787 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2789 * text3.C (dispatch): ditto
2791 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2793 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2794 move the onlyfile, use onlyfile instead of foundfile in a couple
2797 * DepTable.C (update): flush the error stream a bit more
2799 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2801 * lyxserver.C (callback): adjust
2803 * lyxfunc.C (getStatus): add a missing brace in commented code
2804 (ensureBufferClean): reindent
2805 (dispatch): delete version taking a string
2807 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2809 * LaTeX.C (deplog): move found file handlig from here...
2810 (handleFoundFile): .. to new function here.
2811 (deplog): make sure to discover several files mentioned on the
2814 2003-10-10 André Pönitz <poenitz@gmx.net>
2821 * text3.C: fix some of the tabular crashes
2823 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2825 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2827 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2829 2003-10-09 André Pönitz <poenitz@gmx.net>
2831 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2834 * BufferView_pimpl.C:
2835 * bufferview_funcs.C:
2846 * undo_funcs.C: adjust
2848 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2850 * text2.C (incrementItemDepth): new function, use a backtracking
2851 algorithm to discover the correct item depth.
2852 (resetEnumCounterIfNeeded): new function, use a backtracking
2853 algorithm to discover if counter reset is needed.
2854 (setCounter): use them. Simplify a bit. Add different labels for
2855 different item depths for itemize.
2857 * paragraph.C (Paragraph): remove initialization of enumdepth
2860 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2861 enumerate and itemize. Change the type of itemdepth to signed char.
2863 2003-10-08 André Pönitz <poenitz@gmx.net>
2865 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2870 * tabular.[Ch]: fix crash after 'row-insert'
2872 2003-10-08 Angus Leeming <leeming@lyx.org>
2874 Fix doxygen warnings.
2876 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2877 Remove CutAndPaste:: prefix from header file declaration.
2879 * LColor.h (fill): remove LColor:: prefix from declaration.
2881 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2882 use lyx::depth_type rather than Paragraph::depth_type so that
2883 header file and .C file match.
2885 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2887 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2888 * aspell.C: \file aspell_local.C -> \file aspell.C
2889 * gettext.C: \file gettext.C -> \file src/gettext.C
2890 * gettext.h: \file gettext.h -> \file src/gettext.h
2891 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2892 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2893 * text.C: \file text.C -> \file src/text.C
2895 * toc.C: move comment so that doxygen is not confused.
2897 2003-10-07 Angus Leeming <leeming@lyx.org>
2899 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2901 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2904 * aspell_local.h: add forgotten std::string's.
2906 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2913 * text3.C: The Box patch. Fancybox support, minipage, parbox
2915 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2921 * ParagraphParameters.h:
2931 * lyxtextclasslist.h:
2934 * paragraph_pimpl.C:
2935 * textcursor.h: add <string> and other small fixes to make Lars'
2936 std::string patch compile with STLport.
2938 2003-10-06 Angus Leeming <leeming@lyx.org>
2940 * LColor.h: Add missing #include <string>.
2942 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2944 * All most all file in all subdirs: Make <string> be the prefered
2945 way of getting to std::string, add using declarations.
2947 2003-10-06 André Pönitz <poenitz@gmx.net>
2949 * metricsinfo.C: initialize LyXFont before changing attribute.
2950 (fixes the 'math in \emph is upright' bug)
2952 2003-10-06 André Pönitz <poenitz@gmx.net>
2954 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2956 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2959 * paragraph_pimpl.C: Small fixes to build using STLport
2961 2003-10-02 André Pönitz <poenitz@gmx.net>
2964 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2966 2003-10-01 André Pönitz <poenitz@gmx.net>
2968 * factory.C: assert early
2970 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2972 * lyx_main.C: remove the global debug object
2974 * debug.h: adjust for new debugstream
2976 * debug.C: adjust for new debugstream and keep the global debug
2979 2003-09-22 Angus Leeming <leeming@lyx.org>
2981 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2982 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2983 an incomplete class LyXFont.
2985 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2987 * factory.C: bug fix in branches
2989 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2991 * lyxfunc.C (processKeySym): adjust
2993 (dispatch): change arg name from ev to func, adjust
2994 (sendDispatchMessage): ditto
2996 * lyx_main.C (defaultKeyBindings): adjust keybindings
2997 (deadKeyBindings): ditto
2999 * kbsequence.C (addkey): return a FuncRequest
3001 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3003 * kbmap.C (bind): take a FuncRequest as arg, adjust
3006 (defkey): change to take a FuncRequest as arg, adjust
3007 (findbinding): take a FuncRequest as arg, adjust.
3009 * funcrequest.h (operator=): added
3011 * funcrequest.C (FuncRequest): default kb_action changed from
3012 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3014 * buffer.C (dispatch): simplify
3015 (dispatch): adjust to take a FuncRequest as arg, adjust
3017 * boost.C (assertion_failed): change assertion message slightly
3019 * ToolbarBackend.C (read): simplify
3021 * MenuBackend.C (binding): adjust call to findbinding, add a
3022 message if no binding is found.
3024 (expandToc): correct by adding a empty FuncRequest
3026 * LyXAction.C: include <boost/assert.hpp>
3027 (isPseudoAction): delete function
3028 (LookupFunc): change name to...
3029 (lookupFunc): this. change return type to FuncRequest.
3030 (getActionName): take kb_action as arg, simplify
3031 (funcHasFlag): add an assert, simplify.
3033 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3035 * toc.C (action): return a FuncRequest, simplify
3037 * lyxfunc.C (processKeySym): adjust
3038 (getStatus): delete version that takes an int.
3040 (dispatch): delete version that takes action as int
3042 (sendDispatchMessage): simplify and adjust
3044 * funcrequest.C (getArg): take unsigned int as arg
3046 * ToolbarBackend.C (read): adjust
3047 (add): delete version that takes func as a string.
3048 (getIton): take a FuncRequest as arg
3050 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3053 * MenuBackend.C (MenuItem): add a new construct that only takes a
3054 Kind, simplify the constructor use for submenus.
3056 (expandLastfiles): adjust
3057 (expandDocuments): adjust
3058 (expandFormats): adjust
3059 (expandFloatListInsert): adjust
3060 (expandFloatInsert): adjust
3061 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3063 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3064 Remove class variables lyx_pseudo_map and lyx_arg_map
3066 * LyXAction.C (searchActionArg): delete function
3067 (getPseudoAction): delete function
3068 (retrieveActionArg): delete function
3069 (LookupFunc): make it return kb_action, simplify.
3070 (getActionName): simplify
3072 * factory.C (createInset): fix new bug
3074 2003-09-19 Angus Leeming <leeming@lyx.org>
3076 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3077 masterFilename_ parameter in the include inset.
3079 * factory.C (createInset): changes due to the changes to InsetInclude.
3081 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3083 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3085 2003-09-18 Angus Leeming <leeming@lyx.org>
3088 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3089 Inset::fillWithBibKeys.
3090 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3092 2003-09-18 Angus Leeming <leeming@lyx.org>
3094 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3096 (ctor): pass and store a 'Buffer const &'
3097 (buffer): new member function.
3099 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3100 '*this' to the LaTeXFeatures ctor.
3102 2003-09-18 Angus Leeming <leeming@lyx.org>
3108 * text.C: rename EnumLColor as LColor_color.
3110 2003-09-18 Angus Leeming <leeming@lyx.org>
3112 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3113 remove #include "insets/insetbase.h" from cursor.h.
3115 2003-09-18 Angus Leeming <leeming@lyx.org>
3117 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3118 InsetOld_code to remove #include "inset.h".
3120 * iterators.C: add #include "insets/inset.h"
3122 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3124 * BufferView.C: remove more locking stuff that apparently doesn't
3125 do anything sensible.
3127 2003-09-16 André Pönitz <poenitz@gmx.net>
3130 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3133 2003-09-16 Angus Leeming <leeming@lyx.org>
3135 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3137 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3140 * paragraph.h: remove #include "lyxfont.h". Forward declare
3143 2003-09-16 Angus Leeming <leeming@lyx.org>
3145 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3146 of support/textutils.h.
3147 (isWord): move the contents of support/textutils.h's IsWordChar here.
3153 * text2.C: add #include "paragraph.h".
3156 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3158 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3164 * LaTeX.C: use namespace alias for lyx::support::os
3166 2003-09-16 Angus Leeming <leeming@lyx.org>
3169 * bufferview_funcs.C:
3172 * paragraph_pimpl.C:
3174 * text.C: add #include "LColor.h".
3176 2003-09-16 Angus Leeming <leeming@lyx.org>
3178 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3179 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3181 Store the FontBits::color variable as an int rather than as an
3182 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3185 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3186 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3187 string calls together.
3189 * lyxrc.C: add #include "LColor.h".
3191 2003-09-15 Angus Leeming <leeming@lyx.org>
3193 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3196 2003-09-15 Angus Leeming <leeming@lyx.org>
3198 * LColor.h: add an EnumLColor wrapper for LColor::color.
3200 * lyxfont.[Ch] (color, setColor, realColor):
3201 * lyxtext.h, text.C (backgroundColor):
3202 pass EnumLColor args to/from the functions, rather than LColor::color
3206 * lyxtext.h: forward declare EnumLColor.
3208 * lyx_main.C: add #include "LColor.h".
3210 2003-09-15 Angus Leeming <leeming@lyx.org>
3212 * .cvsignore: add lyx-gtk.
3214 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3219 * ParagraphParameters.C
3223 * bufferview_funcs.C
3233 * vc-backend.C: remove usage of STRCONV
3235 2003-09-15 Angus Leeming <leeming@lyx.org>
3237 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3238 explicitly define the color passed to the painter.
3240 2003-09-15 Angus Leeming <leeming@lyx.org>
3242 * bufferparams.C (BufferParams): reorder member initializers to avoid
3245 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3247 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3248 * text.C (updateRowPositions): remove an unusual nop
3250 2003-09-12 André Pönitz <poenitz@gmx.net>
3252 * BufferView_pimpl.C:
3261 * Counters.[Ch]: finish the 'automatic counters' job
3263 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3265 * aspell.C: include <boost/assert.cpp> (compile fix)
3267 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3269 * boost.C (assertion_failed): use lyx::support::abort instead of
3272 2003-09-10 Angus Leeming <leeming@lyx.org>
3274 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3275 with their _fwd progeny.
3277 2003-09-09 Angus Leeming <leeming@lyx.org>
3279 134 files throughtout the source tree: replace 'using namespace abc;'
3280 directives with the appropriate 'using abc::xyz;' declarations.
3282 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3284 * boost.C (emergencyCleanup): moved here from LAssert.c
3285 (assertion_failed): new function, called by BOOST_ASSERT
3287 * several files: change Assert to BOOST_ASSERT
3289 2003-09-09 Angus Leeming <leeming@lyx.org>
3291 * buffer.[Ch]: Add an Impl class and move Buffer's member
3292 variables into it. As a result move several header files out of
3295 Add header files to lots of .C files all over the tree as a result.
3297 2003-09-09 Angus Leeming <leeming@lyx.org>
3299 * buffer.[Ch]: make Buffer's member variables private. Add
3302 Lots of changes all over the tree as a result.
3304 2003-09-08 Angus Leeming <leeming@lyx.org>
3306 * graph.C: #include <config.h>.
3308 2003-09-08 Angus Leeming <leeming@lyx.org>
3312 * BufferView_pimpl.C:
3341 * toc.C: remove redundant using directives.
3343 2003-09-07 Angus Leeming <leeming@lyx.org>
3345 * LaTeXFeatures.h: remove #include "support/types.h".
3346 * ToolbarBackend.h: remove #include <algorithm>.
3347 * changes.h: remove #include <ctime>.
3348 * debug.h: remove #include <iosfwd>.
3349 * graph.h: remove #include "support/std_string.h".
3350 * lyx_main.h: remove #include <csignal>.
3351 * lyxlex_pimpl.h: remove #include <fstream>.
3352 * sgml.h: remove #include <algorithm>, <utility>.
3353 * toc.h: remove #include "support/std_ostream.h".
3354 Add #include <iosfwd>.
3356 2003-09-07 Angus Leeming <leeming@lyx.org>
3358 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3360 * converter.h: forward declare LatexRunParams.
3361 * encoding.h: remove #include "lyxrc.h".
3362 * lyxtext.h: remove #include "LColor.h".
3363 * lyxtextclass.h: remove #include "support/types.h".
3364 * trans.h: remove #include "tex-accent.h".
3365 * trans_mgr.h: remove #include "tex-accent.h".
3366 * insets/inset.h: remove #include "support/types.h", <vector>.
3367 * insets/insetcollapsable.h: remove #include "LColor.h".
3368 * insets/insetinclude.h: remove #include "dimension.h".
3369 * insets/insetlatexaccent.h: remove #include "dimension.h".
3370 * insets/insetoptarg.h:: remove #include "insettext.h".
3371 * insets/insettext.h: remove #include "dimension.h",
3372 <boost/shared_ptr.hpp>
3374 * insets/renderers.h: add #include "dimension.h".
3375 * insets/updatableinset.h: add #include "support/types.h".
3377 * many .C files: Associated changes.
3379 2003-09-06 Angus Leeming <leeming@lyx.org>
3381 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3382 one, inside testInvariant.
3384 * PrinterParams.C: new file.
3385 * PrinterParams.[Ch]: move the function bodies out of line.
3387 2003-09-06 Angus Leeming <leeming@lyx.org>
3389 * ParagraphParameters.h: forward declare ParameterStruct rather than
3390 including its header file.
3391 (depth): moved out-of-line.
3393 2003-09-06 Angus Leeming <leeming@lyx.org>
3395 * BufferView_pimpl.h:
3398 * lyxfunc.h: forward declare LyXKeySym rather than
3399 #include "frontends/LyXKeySym.h".
3401 * BufferView_pimpl.C:
3404 * lyxfunc.C: associated changes.
3406 2003-09-06 Angus Leeming <leeming@lyx.org>
3408 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3409 As a result, can remove the #include "insets/inset.h" from BufferView.h
3411 2003-09-06 Angus Leeming <leeming@lyx.org>
3413 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3414 As a result, can remove the #include "insets/inset.h" from BufferView.h
3416 2003-09-06 Angus Leeming <leeming@lyx.org>
3422 * bufferview_funcs.C:
3423 * BufferView_pimpl.C:
3428 * ParagraphParameters.C:
3433 * frontends/controllers/ControlDocument.C:
3434 * insets/insetcaption.C: rearrange the #includes into some sort of
3437 * buffer.h: remove #includes ErrorList.h, undo.h
3439 2003-09-06 Angus Leeming <leeming@lyx.org>
3441 * support/types.h: add a 'depth_type' typedef, used to store the
3442 nesting depth of a paragraph.
3445 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3446 defining explicitly.
3449 * paragraph_funcs.h:
3450 * ParagraphParameters.h:
3451 * sgml.h: use lyx::depth_type rather than Paragraph or
3452 ParameterStruct's depth_type.
3455 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3458 * BufferView_pimpl.C:
3460 * ParagraphParameters.C:
3463 * bufferview_funcs.C:
3470 * frontends/LyXView.C:
3471 * frontends/controllers/ControlDocument.C:
3472 * frontends/controllers/ControlErrorList.C:
3473 * insets/insetbibitem.C:
3474 * insets/insetbranch.C:
3475 * insets/insetcaption.C:
3476 * insets/insetcollapsable.C:
3477 * insets/insetenv.C:
3478 * insets/insetert.C:
3479 * insets/insetfloat.C:
3480 * insets/insetfoot.C:
3481 * insets/insetfootlike.C:
3482 * insets/insetnewline.C:
3483 * insets/insetquotes.C:
3484 * insets/insettabular.C:
3485 * insets/insettext.C:
3486 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3488 * frontends/controllers/ControlChanges.C: #include "changes.h".
3490 2003-09-06 Angus Leeming <leeming@lyx.org>
3492 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3493 than #including paragraph.h.
3496 * RowList.h: deleted. Superfluous.
3506 * insets/insettext.h: use ParagraphList_fwd.h rather than
3509 * paragraph.h: don't forward declare ParagraphList.
3512 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3513 rather than ParagraphList.h. paragraph.h is still needed for the
3514 Paragraph::depth_type parameters.
3516 * textcursor.h: enable it to compile stand-alone in light of the
3519 * bufferview_funcs.C:
3531 * frontends/controllers/ControlParagraph.C:
3532 * frontends/controllers/ControlTabular.C:
3533 * insets/insetmarginal.C:
3534 * insets/insetminipage.C:
3535 * insets/insetnote.C:
3536 * insets/insetoptarg.C: add header files needed to compile again.
3538 2003-09-06 Angus Leeming <leeming@lyx.org>
3540 * RowList_fwd.h: new file, forward-declaring Row rather than
3541 #including lyxrow.h.
3546 * insets/insettext.h: use it instead of RowList.h
3548 * bufferview_funcs.C:
3555 * text3.C: #include "RowList.h".
3557 2003-09-05 Angus Leeming <leeming@lyx.org>
3559 * factory.C (createInset):
3560 * vspace.C (c-tor): replace sscanf call with an istringstream.
3561 * ispell.C: re-add missing HP/UX headers.
3562 * lyxserver.C: re-add missing os2 headers.
3564 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3573 * text3.C: re-add missing system headers, needed for 2.95.2.
3575 2003-09-05 Angus Leeming <leeming@lyx.org>
3577 Changes most place everywhere due to the removal of using directives
3578 from support/std_sstream.h.
3580 2003-09-05 Angus Leeming <leeming@lyx.org>
3582 Replace LString.h with support/std_string.h,
3583 Lsstream.h with support/std_sstream.h,
3584 support/LIstream.h with support/std_istream.h,
3585 support/LOstream.h with support/std_ostream.h.
3587 Changes resulting throughout the tree.
3589 2003-09-05 Angus Leeming <leeming@lyx.org>
3591 * sgml.h: ensure that the header file can be compiled stand-alone.
3592 * *.C: strip out redundant #includes. (320 in total.)
3594 2003-09-04 Angus Leeming <leeming@lyx.org>
3596 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3597 here (from getPackages).
3599 * debug.[Ch]: add a new EXTERNAL tag.
3601 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3603 * text2.C (cursorEnd): simplify
3605 (getColumnNearX): adjust
3607 * text.C (computeBidiTables): adjust
3610 * rowpainter.C (paintChars): adjust
3611 (paintSelection): adjust
3612 (paintChangeBar): adjust
3615 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3617 (numberOfSeparators): adjust
3619 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3625 * text3.C: Restricts the mouse click functionality
3626 of insets like bibtex, include, toc and floatlist to the visible
3627 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3628 up the dialogs. Cursor has to be in front of the inset (i.e.
3629 start of row) for this to function.
3631 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3633 * bufferview_funcs.C (currentState): output row information
3635 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3637 * bufferview_funcs.C (currentState): output paragraph position
3639 2003-09-04 Angus Leeming <leeming@lyx.org>
3641 * FloatList.h: move out #include "Floating.h".
3642 * LaTeX.h: move out #include "DepTable.h".
3643 * LyXAction.h: move out #include "funcrequest.h".
3644 * buffer.h: move out #include "author.h", "iterators.h".
3645 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3646 * lyx_main.h: move out #include "errorlist.h".
3647 * lyxfunc.h: move out #include "FuncStatus.h".
3648 * lyxtext: move out #include "lyxcursor.h".
3649 * paragraph_pimpl.h: move out #include "counters.h".
3651 2003-09-03 Angus Leeming <leeming@lyx.org>
3653 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3654 preamble_snippets list, enabling us to add snippets to the preamble
3655 only if the snippet was not there already.
3657 2003-09-04 Angus Leeming <leeming@lyx.org>
3659 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3661 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3663 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3666 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3668 * BranchList.C: point fix, earlier forgotten
3670 2003-09-02 Angus Leeming <leeming@lyx.org>
3672 * box.C (contains): renamed from 'contained' after a fantastic
3675 2003-09-02 John Levon <levon@movementarian.org>
3681 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3683 2003-09-02 John Levon <levon@movementarian.org>
3685 * text2.C: simplification of cursorEnd(), including partial
3688 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3690 * buffer.C (readFile): add a space
3692 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3694 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3696 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3698 * buffer.C (readFile): new function, take a filename and a
3699 ParagraphList::iterator
3701 (readFile): adjust, make it private. don't use setStream, make
3702 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3703 always contain the filename.
3705 * BufferView.C (insertLyXFile): simplify and make it work for
3708 2003-08-30 John Levon <levon@movementarian.org>
3710 * Makefile.am: fix dist (from Kayvan)
3712 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3714 * most files: change to use const Buffer refs
3716 2003-08-27 André Pönitz <poenitz@gmx.net>
3718 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3719 on top of ownerPar().
3721 2003-08-27 John Levon <levon@movementarian.org>
3723 * funcrequest.C: properly initialise POD members
3725 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3727 * lyxtext.h (top_y): move top_y from here
3732 * BufferView_pimpl.[Ch]: to here
3733 * frontends/screen.C:
3734 * insets/insettabular.C:
3735 * insets/insettext.C: adjust
3736 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3738 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3741 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3743 2003-08-26 André Pönitz <poenitz@gmx.net>
3745 * paragraph_func.[Ch] (outerPar): new function
3748 * paragraph_funcs.C:
3749 * paragraph_funcs.h:
3750 * paragraph_pimpl.C:
3751 * text2.C: remove Inset::par_owner
3753 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3758 * text2.C: eliminates the needFullRow/display() stuff
3759 altogether, putting the logic in metrics/draw in the insets.
3761 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3763 * text2.C (redoParagraphInternal, redoParagraphs):
3764 * text.C (redoParagraph): add a call to updateRowPositions at the
3765 end of each 'metrics-like' call. Remove all others.
3766 (getRow): remove the 'y-computing' version.
3767 (getRowNearY): do not compute nor return the real y. Solve the
3768 'y < 0' problem and simplify.
3770 2003-08-22 Angus Leeming <leeming@lyx.org>
3772 * *.[Ch]: clean-up of licence and author blurbs.
3773 Also move config.h out of a few .h files and into a few .C files.
3775 2003-08-22 André Pönitz <poenitz@gmx.net>
3777 * lyxrow.[Ch]: add x_ and *fill_ members
3782 * text2.C: adjust/remove prepareToPrint() calls
3784 2003-08-22 André Pönitz <poenitz@gmx.net>
3786 * lyxrow.[Ch]: add end_ member
3788 * lyxrow_funcs.C: use LyXRow::end_
3790 * lyxtext.h (singleWidth): add LyXFont parameter
3793 * text2.C: adjust LyXText::singleWidth() calls
3795 * text.C (redoParagraph): simplify row breaking logic
3798 2003-08-19 André Pönitz <poenitz@gmx.net>
3800 * funcrequest.C: initialize button_ member
3803 * rowpainter.[Ch]: interface consolidation
3805 2003-08-18 André Pönitz <poenitz@gmx.net>
3808 * BufferView_pimpl.C:
3810 * paragraph_funcs.C:
3812 * text3.C: remove LyXScreen::draw() and fitCursor calls
3814 * BranchList.h: remove spurious semicolons
3816 * MenuBackend.C: fix branchlist related crash
3818 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3826 * bufferparams.[Ch]:
3830 * text3.C: implements the 'branch inset'
3831 idea. This allows the output of various versions of a document
3832 from a single source version, selectively outputing or suppressing
3833 output of parts of the text.
3834 This implementation contains a 'branch list editor' in a separate
3835 tab of the document settings dialog. Branches are user definable
3836 and have a "display colour" to distinguish them on-screen.
3838 ColorHandler was somewhat cleaned up.
3839 (1) make possible a dynamically growing LColor list by allowing
3840 the graphic context cache to grow along (vector);
3841 (2) eliminate an IMHO unnecessary step in colour allocation.
3843 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3845 * BufferView_pimpl.C: compile fix
3847 2003-08-15 André Pönitz <poenitz@gmx.net>
3849 * rowpainter.C: remove extra metrics calls
3851 * lyxtext.h: merge the two constructors into a single one,
3852 pass reference to owner's par list
3854 * BufferView_pimpl.C:
3858 2003-08-15 André Pönitz <poenitz@gmx.net>
3860 * lyxrow_funcs.[Ch]:
3863 * paragraph_funcs.C:
3868 * text_funcs.C: split LyXText::rowlist_ into individual
3869 Paragraph::rows_ chunks
3872 * BufferView_pimpl.[Ch]:
3875 * text3.C: remove toggleSelection()
3877 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3879 * bufferlist.C: beautify two alerts (shorter text of buttons)
3880 * buffer.C: Remove redundant ' ' from message
3882 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3883 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3884 rename VALIGN_CENTER to VALIGN_MIDDLE
3886 2003-08-11 André Pönitz <poenitz@gmx.net>
3888 * lyxtext.h (getPar):
3889 * text.C: new function
3891 2003-08-11 André Pönitz <poenitz@gmx.net>
3894 * tracer.[Ch]: remove unneeded files
3896 * InsetList.[Ch]: remove resizeInsetsLyXText()
3901 * text3.C: merge insertParagraphs() and appendParagraph()
3902 remove breakAgain(), update()
3904 * BufferView_pimpl.[Ch]:
3905 * bufferview_funcs.[Ch]:
3909 * tabular.C: adjust after text & InsetList changes.
3911 2003-08-08 André Pönitz <poenitz@gmx.net>
3913 * text.C (insertChar, backspace): replace rowlist fiddling
3914 with rebreak of full par
3917 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3918 checkParagraph, updateInset): removed
3920 2003-08-07 André Pönitz <poenitz@gmx.net>
3923 * text3.C: merge some LFUN handlers, remove dead code
3925 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3927 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3929 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3931 * text2.C (DEPM): fix part of bug 1255 and 1256
3933 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3935 * BufferView_pimpl.C (workAreaDispatch): change to use
3936 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3937 that are no mouse related.
3939 2003-08-05 André Pönitz <poenitz@gmx.net>
3942 * BufferView_pimpl.[Ch]:
3943 * bufferview_funcs.C:
3945 * text3.C: rip out "deep update"
3947 * textcursor.[Ch] (last_sel_cursor): remove unused member
3949 2003-08-04 André Pönitz <poenitz@gmx.net>
3952 * BufferView_pimpl.[Ch]:
3953 * ParagraphParameters.C:
3954 * bufferview_funcs.C:
3960 * text3.C: replace "complicated" BufferView::update(...) calls with
3963 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3965 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3967 * Makefile.am (lyx_SOURCES): add paper.h
3969 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3971 * Makefile.am: move things around so that both lyx-qt and
3972 lyx-xforms can be built (according to --with-frontend). Then lyx
3973 is a symbolic link to lyx-[firstfrontend]
3975 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3977 * Always use std::endl with lyxerr
3979 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3981 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3983 2003-08-01 André Pönitz <poenitz@gmx.net>
3986 * BufferView_pimpl.[Ch]:
3988 * text3.C: merge BufferView::repaint() and BufferView::update()
3990 2003-08-01 José Matos <jamatos@lyx.org>
3992 * buffer.[Ch]: file_format is no longer a buffer data element.
3994 2003-08-01 André Pönitz <poenitz@gmx.net>
3999 * text2.C: make redoParagraph more independent of current cursor
4001 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4003 * text2.C: remove unneeded members
4005 2003-07-30 André Pönitz <poenitz@gmx.net>
4007 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4009 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4010 create a single function...
4012 * paragraph_funcs.C (moveItem): ... here.
4015 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4017 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4019 * LColor.[Ch]: Add comment and greyedout logical colors.
4021 2003-07-30 André Pönitz <poenitz@gmx.net>
4023 * tabular.C: don't use Assert too heavily. This crashes where it
4026 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4028 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4029 is disabled (bug 1232)
4031 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4033 * factory.C: limited 'arg' scope
4035 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4037 * factory.C: fixed Note submenu issues
4039 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4041 * factory.C: submenu for Note/Comment/Greyedout
4043 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4046 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4048 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4051 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4052 greyedout. Patch provided by Jürgen Spitzmüller.
4054 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4056 * kbmap.C (read): fix error message when reading bind files
4058 2003-07-29 Angus Leeming <leeming@lyx.org>
4060 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4061 certainly does not do what it purports to do. I am doing it, and
4062 us, a favour by killing it.
4064 2003-07-28 José Matos <jamatos@lyx.org>
4066 * buffer.C (readBody, do_writeFile):
4067 * paragraph.C(readParagraph): \end_document replaces \the_end.
4069 2003-07-29 André Pönitz <poenitz@gmx.net>
4072 * BufferView_pimpl.[Ch]:
4076 * textcursor.[Ch]: remove toggleToggle & Co
4078 2003-07-28 José Matos <jamatos@fep.up.pt>
4080 * buffer.C (readParagraph):
4081 * params_func (readParToken, readParagraph):
4082 * paragraph.C (write): \layout -> \begin_layout.
4084 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4086 * lyxlex_pimpl.C (setFile): clean up slightly.
4088 * bufferparams.h: add compressed var
4090 * buffer_funcs.C (readFile): adjust for LyXLex change
4091 (newFile): ditto + simplify
4093 * buffer.C (writeFile): handle writing of compressed files
4095 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4096 Check if the file is compressed and set a bufferparm if so.
4098 * Makefile.am (lyx_LDADD): remove explicit -lz
4100 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4102 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4103 makeDocBookFile): put the real LyX version in the first line of
4107 * version.C.in: remove lyx_docversion
4109 * tabular.C (write_attribute): add a template-based version to
4110 write enums properly
4112 2003-07-28 André Pönitz <poenitz@gmx.net>
4117 * text3.C: use doubles again for x-coordinates. They are needed.
4119 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4121 * messages.C (getLocaleDir): use lyx_localedir()
4123 * lyxlex_pimpl.C (setFile): compress stuff
4125 * buffer.C (writeFile): add some compression stuff
4126 (do_writeFile): new func, dont call expliti close... will this
4129 * Makefile.am (lyx_LDADD): add -lz
4131 2003-07-28 José Matos <jamatos@fep.up.pt>
4133 * buffer.C: increment file format.
4134 * paragraph_funcs (readParagraph, readParToken):
4135 * paragraph.C (readParagraph): add \end_layout.
4137 2003-07-27 Angus Leeming <leeming@lyx.org>
4139 * Makefile.am: remove special casing for configure-time setting of
4140 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4142 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4143 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4145 2003-07-26 André Pönitz <poenitz@gmx.net>
4147 * paragraph_func.[Ch]:
4148 * paragraph.C (realizeFont): inline it whereever it is used
4153 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4156 2003-07-26 André Pönitz <poenitz@gmx.net>
4160 * text2.C: get rid of LyXText::need_break_row
4162 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4164 * toc.[Ch]: put namespace toc inside namespace lyx
4166 * MenuBackend.C (expandToc2): adjust for lyx::toc
4169 * lyxfunc.C (dispatch): adjust for lyx::find
4171 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4172 lyx::find instead. Reorganize a bit.
4173 (LyXReplace): rename to replace
4174 (LyXFind): rename to find
4176 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4179 2003-07-26 André Pönitz <poenitz@gmx.net>
4181 * text.C (setHeightOfRow): restrict scope of temporary variable
4183 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4184 code (never has been used?)
4186 2003-07-27 Asger Alstrup <alstrup@local>
4188 * text.C (fill): Optimise algorithm to exploit that we can reuse
4189 the LyXFont for many characters.
4190 (setHeightOfRow): Same thing.
4191 (rowBreakPoint): Same thing.
4193 2003-07-26 Asger Alstrup <alstrup@local>
4195 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4197 * text.C (singleWidth): Spurious font copying in hot-spot
4198 singleWidth avoided. Reorder tests for arabic for efficiency.
4200 * text.C (fill): handle empty paragraphs better.
4202 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4205 * encoding.h: add includes
4207 * lyxrc.C: remove reading of bind files
4209 * lyx_main.C (init): setup bindings and menus only if we have a
4212 * kbmap.C (read): new method. Do the actual reading of bind
4215 * converter.C (dvipdfm_options):
4218 (output): adapt PAPER_* enums.
4220 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4222 * bufferparams.h: remove paper-related enums from there
4224 * paper.h: New file. A trivial header file to hold paper-related
4225 enums. It should later expand to contain many paper-related
4228 * lyxrc.C: declare extern displayTranslator
4230 2003-07-27 José Matos <jamatos@fep.up.pt>
4232 * tabular.[Ch] (linuxdoc): add support for tables and figures
4235 2003-07-27 José Matos <jamatos@fep.up.pt>
4237 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4238 consistency in both functions.
4239 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4241 2003-07-26 Asger Alstrup <alstrup@local>
4243 * rowpainter.C (paintRows): Change algorithm to work directly on
4244 the insets rather than asking every character in the document
4245 whether its an inset.
4247 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4249 * buffer.C (openFileWrite): factorize some code
4251 2003-07-26 Angus Leeming <leeming@lyx.org>
4254 * lyx_main.[Ch]: replace occurances of system_tempdir with
4257 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4259 * rename Inset to InsetOld
4261 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4263 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4264 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4265 which I think is a bit clearer. EDIT is gone, since it was
4266 premature optimisation, and broken for mathed anyway.
4267 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4268 with cursor positioning in insets as well (math insets still do not
4269 work, but that's a different story anyway.) It mysteriously
4270 crashes sometimes with undo in the first paragraph, but I'm fairly
4271 confident that this is a compiler bug.
4273 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4275 * paragraph.C (Paragraph): adjust for new clone return type
4277 (copyIntoMinibuffer): ditto
4279 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4281 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4282 by not having a special case, and always doing a full rebreak of
4283 the document after undo.
4285 2003-07-23 Angus Leeming <leeming@lyx.org>
4287 * factory.C (createInset): InsetExternal::setParams now takes a
4290 2003-07-23 Angus Leeming <leeming@lyx.org>
4292 * factory.C (createInset): changed interface to the external and
4293 graphics mailers' string2params functions.
4295 2003-07-23 Angus Leeming <leeming@lyx.org>
4297 * factory.C (createInset): pass a
4298 Buffer const * parameter to InsetExternalMailer's string2params.
4300 2003-07-22 John Levon <levon@movementarian.org>
4302 * Thesaurus.h: include the right aiksaurus header
4304 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4306 * MenuBackend.C (expand): check menu shortcuts unconditionally
4308 2003-07-21 Angus Leeming <leeming@lyx.org>
4310 * factory.C (createInset): pass a
4311 buffer_path parameter to InsetGraphicsMailer's string2params.
4313 2003-07-21 Angus Leeming <leeming@lyx.org>
4315 * BufferView_pimpl.C (buffer):
4318 * lyxfunc.C (dispatch):
4319 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4320 rather than the grfx shortcut.
4322 2003-07-21 André Pönitz <poenitz@gmx.net>
4324 * rowpainter.C: remove unused variables
4327 * tabular_funcs.h: move to tabular.C
4328 * Makefile.am: adjust
4330 * tabular.[Ch]: basic optical cleaning
4332 * author.h: pass references, not values
4334 2003-07-18 André Pönitz <poenitz@gmx.net>
4342 * text3.C: two-phase drawing for InsetText and InsetTabular
4343 some float -> int changes.
4345 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4347 * lyx_main.C: fix the fix
4349 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4351 * lyx_main.C: fix a crash in batch mode if no files specified
4354 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4356 * format.[Ch] (papersize): moved to BufferParams
4357 * converter.[Ch] (dvips_options): moved to BufferParams
4358 (dvipdfm_options): moved to anon namespace
4359 * bufferparams.[Ch]: added above functions.
4361 2003-07-17 André Pönitz <poenitz@gmx.net>
4365 * text2.C: don't call inset->update() anymore
4367 * metricsinfo.[Ch]: add convenience constructor
4369 2003-07-16 André Pönitz <poenitz@gmx.net>
4374 * text2.C: replace the LyXCursor::irow_ member with
4375 on-demand computation of the value
4377 2003-07-16 John Levon <levon@movementarian.org>
4379 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4381 2003-07-15 André Pönitz <poenitz@gmx.net>
4384 * text2.C: remove no more needed refresh_row
4386 2003-07-15 André Pönitz <poenitz@gmx.net>
4391 * text3.C: refresh_status tristate -> need_update bool
4393 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4395 * lyxtext.h (init): remove reinit argument (act as if always true)
4396 * text2.C: adjust to that
4398 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4400 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4401 * text3.C: use it to delete selections in some cases
4402 (bugs 441, 673, 702, 954).
4404 2003-07-14 André Pönitz <poenitz@gmx.net>
4406 * rowpainter.[Ch]: reduce interface
4408 2003-07-14 André Pönitz <poenitz@gmx.net>
4410 * BufferView_pimpl.C:
4411 * text2.C: adjust after removing unused BufferView * argument
4413 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4415 * text2.C (init): fix a crash fired on resize
4417 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4419 * buffer.[Ch]: added new closing signal
4420 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4421 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4422 BufferView::Pimpl via the closing the signal
4424 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4426 * buffer.[Ch]: take out all bv-related from buffer
4428 * BufferView_pimpl.[Ch]: connect to new signals
4429 * CutAndPaste.C: removed useless asserts
4430 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4433 * lyxfunc.C: moved view-related funciontality from vc here
4434 * paragraph.C: removed outdated comments
4437 2003-07-10 André Pönitz <poenitz@gmx.net>
4439 * BufferView_pimpl.C:
4443 * text2.C: remove InsetText::InnerCache, clean up consequences
4445 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4447 * ispell.C: fix two typos in error messages
4449 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4451 * Extend Note inset to other forms of annotation like Comment
4452 and Greyedout. Right button click gives dialog.
4454 Files modified or added (+):
4458 * ControlNote.[Ch] +
4460 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4461 frontends/controllers
4465 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4467 * aspell.C: add missing namespace lyx::support
4469 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4471 * BufferView.[Ch] (newFile): Add
4472 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4473 * LaTeX.[Ch] (message): added this signal and use it
4474 * buffer.[Ch] (busy, message): added these signals and use them
4475 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4479 * importer.C: use buffer signals instead of direct bv calling
4480 * lyx_cb.[Ch] (ShowMessage): removed
4483 * paragraph_funcs.C:
4484 * text2.C: use buffer signals
4486 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4488 * introduce namespace lyx::graphics
4490 2003-07-02 André Pönitz <poenitz@gmx.net>
4492 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4494 2003-07-01 André Pönitz <poenitz@gmx.net>
4501 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4502 text*.C to text_func.C
4504 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4506 * introduce namespace lyx::support
4508 2003-06-30 André Pönitz <poenitz@gmx.net>
4513 * text.C: re-enable --with-included-string
4515 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4517 * textcursor.C: add <config.h>
4519 * text.C (getWord): remove const from word_location arg
4521 * lyxvc.C (getLogFile): fix const type order
4523 * lyxtext.h: remove const from word_location arg, add arg name
4525 * lyxlayout.h: currect type on labeltype.
4527 * importer.C: correct \file
4529 * converter.C (intToFormat): use std:: on ret val, ws changes
4531 * bufferlist.h: correct \file
4533 * buffer.C (makeLinuxDocFile): fix const type order
4534 (makeDocBookFile): ditto
4535 (fillWithBibKeys): use std:: on stdlib args.
4537 * CutAndPaste.C: fix authors.
4538 (availableSelections): use std:: on return vector
4540 2003-06-27 André Pönitz <poenitz@gmx.net>
4542 * BufferView_pimpl.C:
4543 * bufferview_funcs.C:
4551 * text3.C: remove LyXCursor::row_ member
4554 * text.C: rename fullRebreak() to partialRebreak() and implement
4555 a fullRebreak() that really bereks fully
4557 * textcursor.h: new struct for cursor-related data
4559 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4561 * lyx_main.C (LyX): get full path of document loaded on the
4564 2003-06-26 André Pönitz <poenitz@gmx.net>
4566 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4567 remove unused/broken operator>,<,>=.
4569 * text.C: remove only use of broken operator<= in an Assert().
4571 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4573 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4574 moved errorlist_.clear to showErrorList
4576 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4578 * converter.C (scanLog, runLaTeX):
4579 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4580 move the bv->showErrorList call to the callers
4581 * lyxfunc.C: i.e. here...
4583 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4584 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4585 namespace, the second to...
4586 * buffer_funcs (BufferFormat, parseErrors): added
4587 * errorlist.C (ErrorList(TeXErrors const &)): removed
4589 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4591 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4593 2003-06-24 "Garst R. Reese" <reese@isn.net>
4597 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4599 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4601 * version.C.in: change docversion to 1.4
4603 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4605 * buffer.C: fix a bug just introduced
4607 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4609 * buffer.[Ch]: added the parseError signal and use it, removed
4611 * BufferView.[Ch] (addError): moved to ...
4612 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4613 to the Buffer::parseError signal to catch (guess what) parse errors
4614 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4616 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4618 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4619 ability to create a buffer and to return an existing one from
4620 the list. Moved these functions to...
4621 * buffer_funcs.[Ch]: added
4622 * BufferView.[Ch] (loadLyXFile): added
4623 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4624 job removed from bufferlist::loadLyXFile.
4625 * buffer.C (setReadOnly): make it work without view
4626 (i.e added an if (users))
4628 2003-06-19 Angus Leeming <leeming@lyx.org>
4631 * LyXAction.C (init):
4632 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4633 with LFUN_DIALOG_SHOW <name> <data>.
4635 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4637 * CutAndPaste.C (availableSelections): small compilation fix for
4638 ancient (gcc 2.9x) compilers
4640 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4642 * text3.C (cursorNext): add tmp var
4644 * text2.C (updateCounters): for function calling out of for clause
4645 (replaceSelectionWithString): ditto
4646 (insertStringAsParagraphs): ditto
4647 (getColumnNearX): add tmp var
4648 (setCursorFromCoordinates): add tmp var
4649 (cursorDownParagraph): add tmp var
4650 (deleteEmptyParagraphMechanism): add tmp var
4652 * text.C (insertChar): add tmp var
4654 * rowpainter.C (paintDepthBar): add tmp var
4656 * CutAndPaste.C (availableSelections): potentially check all
4657 paragraphs in a cut to fill the shown strings.
4659 2003-06-18 André Pönitz <poenitz@gmx.net>
4661 * kbmap.[Ch]: use vector<> instead of list<>
4663 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4665 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4666 pasteSelection with index
4668 * text2.C (pasteSelection): modify, call pasteSelection with index
4670 * paragraph.C (asString): reimplement version with no interval to
4671 call the one with interval.
4673 * lyxtext.h: add index arg to pasteSelection
4675 * MenuBackend.C (MenuItem): handle PasteRecent
4676 (Menu::read::Menutags): add md_pasterecent
4678 (expandPasteRecent): new function
4681 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4683 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4685 (availableSelections): new function
4687 2003-06-17 Angus Leeming <leeming@lyx.org>
4689 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4691 2003-06-17 Angus Leeming <leeming@lyx.org>
4694 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4696 * lyxfunc.C (dispatch): invoke it.
4698 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4700 * iterators.C (operator++, ParPosition): reintroduce some
4701 const_cast for the benefit of older compilers.
4703 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4705 * text3.C (dispatch): do not modify clipboard when doing
4706 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4707 LFUN_DELETE_SKIP on a selection selection
4709 2003-06-16 André Pönitz <poenitz@gmx.net>
4715 * tabular.[Ch]: IU of clone() and getLabelList();
4717 2003-06-13 André Pönitz <poenitz@gmx.net>
4719 * tabular.h: compactification
4721 2003-06-12 André Pönitz <poenitz@gmx.net>
4725 * tabular_funcs.h: some renaming plus whitespace
4727 2003-06-12 André Pönitz <poenitz@gmx.net>
4730 * BufferView_pimpl.C:
4736 * toc.C: Return a Paragraph & for ParIterator::operator*()
4738 2003-06-11 John Levon <levon@movementarian.org>
4742 * ToolbarBackend.C: add "Toolbars" section and
4745 2003-06-10 Angus Leeming <leeming@lyx.org>
4748 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4750 * lyxfunc.C (dispatch): invoke it.
4752 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4754 * main.C: protect <ios> with HAVE_IOS
4755 (main): protect sync_with_stdio with HAVE_IOS
4757 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4759 * text2.C (cutSelection): adjust
4760 (pasteSelection): adjust
4762 * messages.C: handle get of empty string
4764 * main.C (main): use sync_with_stdio(false)
4766 * lyxfunc.C (dispatch): adjust
4768 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4769 (WriteAs): remove unneeded BufferView arg.
4771 * bufferparams.h: use correct types on papersize, papersize2 and
4774 * bufferparams.C (readToken): adjust for type
4775 (writeLaTeX): add missing cases to switch.
4777 * bufferlist.C (quitWriteBuffer): adjust
4780 * buffer.C (asciiParagraph): remove some commented code.
4782 * CutAndPaste.C: remove current_view extern variable.
4783 (cutSelection): add BufferParams arg.
4784 (eraseSelection): add BufferParams arg.
4785 (pasteSelection): add Buffer const & arg
4787 2003-06-07 John Levon <levon@movementarian.org>
4790 * paragraph_funcs.C:
4791 * paragraph_pimpl.C:
4795 * paragraph.C: allow InsetERT to freely space lines,
4796 and some consolidation of code
4798 2003-06-06 José Matos <jamatos@fep.up.pt>
4800 * buffer.C (makeDocBookFile): fix bug #821
4802 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4804 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4806 2003-06-04 Angus Leeming <leeming@lyx.org>
4808 * buffer.C: bump format to 224.
4810 2003-06-05 André Pönitz <poenitz@gmx.net>
4812 * text2.C (redoParagraphs): remove two const_cast<>
4814 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4816 * ParagraphList.h: remove last remnants of NO_STD_LIST
4818 2003-06-03 Angus Leeming <leeming@lyx.org>
4820 * factory.C (createInset): small change to the way InsetExternal's params
4823 2003-06-04 André Pönitz <poenitz@gmx.net>
4825 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4827 * paragraph_pimpl.h:
4828 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4830 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4832 * undo_funcs.C: make some simple cases of undo work again
4834 2003-06-03 John Levon <levon@movementarian.org>
4836 * ispell.C: HPUX doesn't have sys/select.h
4839 2003-06-03 John Levon <levon@movementarian.org>
4841 * CutAndPaste.C: update tabular and include inset
4846 * paragraph.C: remove owningBuffer(), don't pass Buffer
4849 * factory.C: insetGraphicsParams changed
4851 2003-06-02 John Levon <levon@movementarian.org>
4857 * text3.C: remove insetparent
4859 2003-06-02 John Levon <levon@movementarian.org>
4862 * buffer.C: fix inset_iterator.end(), move out of line
4865 2003-06-01 John Levon <levon@movementarian.org>
4867 * text3.C: use a proper cut/paste when doing inset
4868 insert (from Jürgen Spitzmüller)
4870 2003-06-01 John Levon <levon@movementarian.org>
4872 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4874 2003-05-30 André Pönitz <poenitz@gmx.net>
4876 * rowpainter.C: unify second drawing phase
4878 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4880 * trans_mgr.C: remove one case of current_view
4882 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4884 * paragraph_funcs.h: remove paragraph.h include
4886 * paragraph.h: delete NO_STD_LIST stuff
4888 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4890 * buffer.h: remove paragraph.h include
4892 * ParagraphList.C: delete file
4894 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4896 * toc.C (getTocList): adjust
4898 * paragraph_pimpl.C (validate): adjust
4900 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4902 * paragraph.C (Paragraph): adjust
4903 (getPositionOfInset): use const_iterator, adjust
4904 (bibitem): use const_iterator, adjust
4905 (setInsetOwner): adjust
4907 * iterators.C (operator++): adjust
4909 * InsetList.[Ch]: Replace selfmade iterator with standard
4910 vector::iterator also introduce const_iterator. Remove getPos,
4911 getInset and setInset from InsetTable. Adjust accordingly.
4913 * BufferView.C (lockInset): adjust
4914 (ChangeInsets): adjust
4916 * tabular.[Ch]: delete commented same_id functions
4918 2003-05-28 John Levon <levon@movementarian.org>
4920 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4922 2003-05-28 André Pönitz <poenitz@gmx.net>
4924 * metricsinfo.[Ch]: remove 'fullredraw' member
4926 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4928 * lyxtextclass.C (operator): remove caching.
4930 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4934 * text2.C (cursorBottom): adjust
4935 (setCounter): use ParagraphList::find, adjust
4937 * text.C (workWidth): use ParagraphList::find, adjust
4939 * lyxcursor.C (LyXCursor): adjust
4941 * buffer.C (inset_iterator): adjust
4943 * ParagraphList.h: make iterator(value_type) private, make
4944 ParagraphList a friend of iterator.
4946 * ParagraphList.C (find): new function
4948 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4950 2003-05-27 André Pönitz <poenitz@gmx.net>
4952 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4954 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4956 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4958 2003-05-26 John Levon <levon@movementarian.org>
4960 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4962 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4964 * remove same_id from function signatures, adjust.
4966 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4968 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4970 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4972 * paragraph.C (Paragraph): get rid of same_ids parameter
4974 * ParagraphList.C (insert): adjust
4977 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4979 * paragraph_funcs.C (breakParagraph): adjust
4980 (breakParagraphConservative): adjust
4982 * buffer.C (readParagraph): adjust
4984 * ParagraphList.C (insert): take a reference instead of a pointer
4987 * paragraph.[Ch] (id): new function
4989 * bufferlist.C (newFile): adjust
4991 * ParagraphList.C (ParagraphList): adjust
4993 (push_back): take a reference instead of a pointer.
4995 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4997 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5000 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5001 set else use old code.
5003 * ParagraphList.C: remove all NO_NEXT code and only compile this
5004 code of NO_STD_LIST is set.
5006 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5008 * BufferView_pimpl.C:
5018 * graphics/GraphicsConverter.C:
5019 * graphics/PreviewLoader.C: header adjustment
5021 2003-05-23 Angus Leeming <leeming@lyx.org>
5023 * LaTeXFeatures.[Ch] (useBabel): new method.
5024 * bufferparams.C (writeLaTeX): use it.
5026 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5028 * ParagraphList.h (set): remove unused function.
5030 2003-05-23 André Pönitz <poenitz@gmx.net>
5033 * BufferView_pimpl.C:
5037 * undo_funcs.C: setUndo reworked
5039 * iterators.[Ch]: add access to topmost ParagraphList
5041 * lyxtext.[Ch] (workWidth): add a const
5043 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5045 * texrow.[Ch] (increasePos): remove function
5046 * exporter.C (export): removed unused var and outdated comment
5048 2003-05-23 Angus Leeming <leeming@lyx.org>
5050 * latexrunparams.h: rename fragile as moving_arg.
5051 * paragraph.C (simpleTeXOnePar): ditto.
5052 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5054 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5056 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5058 (textUndoOrRedo): comment out a currently unused var.
5060 * paragraph.h (NO_NEXT): enable NO_NEXT
5062 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5064 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5066 * exporter.C (Export): adjust for removeAutoInsets removal.
5068 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5070 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5072 * BufferView.[Ch] (removeAutoInsets): delete function
5074 2003-05-22 Angus Leeming <leeming@lyx.org>
5076 * latexrunparams.h: add a free_spacing variable.
5078 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5079 to pass moving_arg, as the data is stored in runparams.fragile.
5081 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5082 to Inset::latexOptional or to simpleTeXOnePar.
5084 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5085 free_spacing arg to Inset::latexOptional.
5087 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5090 2003-05-22 Angus Leeming <leeming@lyx.org>
5092 * latexrunparams.h: add fragile and use_babel variables.
5094 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5095 * buffer.C (makeLaTeXFile): store this returned value in
5096 runparams.use_babel, thus passing it to the inset::latex methods.
5098 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5099 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5101 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5102 longer has a fragile arg, as it is stored in runparams.fragile.
5104 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5105 moving_arg parameter as the data is stored in runparams.fragile.
5107 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5108 a fragile parameter as the data is stored in runparams.fragile.
5110 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5112 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5114 2003-05-22 Angus Leeming <leeming@lyx.org>
5116 * latexrunparams.h: add a 'bool nice' which defaults to false.
5118 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5119 now encapsulated within runparams.
5121 * bufferlist.C (updateIncludedTeXfiles):
5122 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5124 2003-05-22 Angus Leeming <leeming@lyx.org>
5126 * latexrunparams.h: new file containing struct LatexRunParams.
5127 * Makefile.am: add new file.
5129 * LaTeX.[Ch] (c-tor, run):
5130 * buffer.[Ch] (makeLaTeXFile):
5131 * bufferlist.[Ch] (updateIncludedTeXfiles):
5132 * converter.C (convert, scanLog):
5133 * converter.[Ch] (runLaTeX):
5134 * exporter.C (Export):
5135 * paragraph.[Ch] (simpleTeXOnePar):
5136 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5137 * paragraph_funcs.[Ch] (latexParagraphs):
5138 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5139 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5140 pass around a LatexRunParams parameter.
5142 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5144 * paragraph.[Ch]: remove unused constructor
5146 * ParagraphList.C (erase): new function, taking two iterators
5148 2003-05-22 André Pönitz <poenitz@gmx.net>
5150 * undo_funcs.C: remove duplicated code
5152 * iterator.[Ch]: operator=
5154 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5156 * tabular.C (SetMultiColumn): ws changes
5158 * rowpainter.C (paintFirst): get rid of a ->previous
5160 * lyx_cb.C (getPossibleLabel): parlist simplification
5162 * BufferView.C (ChangeInsets): simplify slightly.
5164 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5166 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5167 * lfuns.h: new LFUN_SPACE
5168 * lyxfunc.C: protected space has a new lfun
5169 * paragraph_funcs.C: read new space insets
5171 * factory.C: handle new space insets
5173 2003-05-22 André Pönitz <poenitz@gmx.net>
5176 * BufferView_pimpl.C:
5179 * undo_funcs.C: return a ParIterator from getParFromID.
5181 * iterators.[Ch]: add two const's
5183 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5185 * toc.C (getTocList): adjust
5187 * iterators.[Ch]: rework for parlist
5189 * buffer.C (par_iterator_begin): adjust
5190 (par_iterator_end): adjust
5192 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5194 * BufferView.C (removeAutoInsets): adjust
5195 (ChangeInsets): adjust
5197 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5199 * text.C (top_y): fix bug 1110
5201 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5203 * errorlist.[Ch]: added
5206 * BufferView_pimpl.C:
5207 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5210 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5212 * Makefile.am: ensure that lyx is relinked upon changes to the
5213 various "convenience" libs.
5215 2003-05-20 Angus Leeming <leeming@lyx.org>
5217 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5218 files are compiled in alphabetical order again.
5220 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5222 2003-05-19 Angus Leeming <leeming@lyx.org>
5224 * gettext.[Ch]: remove "char const * _(char const *)".
5226 2003-05-19 André Pönitz <poenitz@gmx.net>
5228 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5237 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5239 2003-05-19 André Pönitz <poenitz@gmx.net>
5243 * lyxtextclass.[Ch]:
5245 * paragraph_funcs.[Ch]:
5247 * text3.C: more insetenv work
5249 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5251 * ParagraphParameters.C (params2string): small bug fixed
5253 2003-05-16 André Pönitz <poenitz@gmx.net>
5256 * bufferview_funcs.C: patch from Kornel Benko to prevent
5257 crash when _(...) is called twice in a statement
5259 2003-05-16 André Pönitz <poenitz@gmx.net>
5266 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5268 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5270 * lyx_main.C (init): remove spurious static_cast
5272 2003-05-14 André Pönitz <poenitz@gmx.net>
5274 * BufferView.C: fix format string
5276 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5278 * BufferView.[Ch] (insertErrors): removed
5279 * BufferView.[Ch] (showErrorList): added
5280 * buffer.C (runChkTeX):
5281 * converter.C (scanLog): call showErrorList instead of inserterrors
5283 2003-05-13 André Pönitz <poenitz@gmx.net>
5285 * BufferView_pimpl.C:
5287 * bufferview_func.C:
5294 * tabular_funcs.h: tostr() from its own header
5296 * ParagraphParameters.C:
5301 * text3.C: STRCONV()
5303 2003-05-12 André Pönitz <poenitz@gmx.net>
5306 * BufferView_pimpl.C:
5310 * ParagraphParameters.C:
5314 * bufferview_funcs.C:
5327 * paragraph_funcs.C:
5331 * text3.C: boost::format -> bformat all over the place
5334 2003-05-09 André Pönitz <poenitz@gmx.net>
5336 * LColor.[Ch]: Pimpl the #include <map> away
5338 2003-05-09 John Levon <levon@movementarian.org>
5340 * bufferlist.C: never remove emergency saves
5342 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5344 * Makefile.am: better lib building
5346 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5348 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5350 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5351 (simpleTeXSpecialChars): adjust
5352 (simpleTeXSpecialChars): adjust
5353 * paragraph.C (simpleTeXOnePar): adjust
5354 * buffer.C (makeLaTeXFile): adjust
5356 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5358 * text2.C (changeDepth): parlist cleanup
5359 (getColumnNearX): ditto
5361 * rowpainter.C (getLabelFont): parlist cleanup
5363 * bufferlist.C (newFile): parlist cleanup
5365 * CutAndPaste.C (eraseSelection): parlist cleanup
5367 * BufferView_pimpl.C (trackChanges): parlist cleanup
5370 * BufferView.C (lockInset): parlist cleanup.
5371 (ChangeInsets): ditto
5373 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5375 * CutAndPaste.h: Update file header.
5377 * CutAndPaste.C: Update file header.
5378 Store the parts cut out of the Document in a limited_stack.
5379 (copySelection): adjust
5380 (pasteSelection): new function, takes the index in the limited stack.
5381 (nrOfParagraphs): adjust
5382 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5383 simplify error inset insertion.
5384 (checkPastePossible): adjust
5386 2003-05-06 John Levon <levon@movementarian.org>
5388 * text2.C: don't cast wrap inset to float
5390 2003-05-05 André Pönitz <poenitz@gmx.net>
5393 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5395 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5396 few naked Paragraph *.
5398 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5400 * bufferparams.C: Output warning if a document with missing
5401 TeX document class is loaded
5402 * exporter.C: Disable TeX exports if the document class is missing
5405 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5406 isTeXClassAvailable()
5408 2003-05-03 John Levon <levon@movementarian.org>
5411 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5412 explicit cursor show/hide
5414 * BufferView_pimpl.h:
5415 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5416 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5418 * lyxfunc.C: hide cursor before dispatching.
5423 * text3.C: remove explicit cursor hides
5425 2003-05-02 André Pönitz <poenitz@gmx.net>
5427 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5430 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5433 * text2.C: tiny whitespace
5435 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5437 * undo_funcs.C: almost only ws changes.
5439 * ParagraphList.C (splice): just return if pl is empty.
5441 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5443 * ParagraphList.C (splice): new function.
5445 * CutAndPaste.C (pasteSelection): use it
5447 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5449 * CutAndPaste.C (pasteSelection): remove the last next and
5450 previous from this file.
5452 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5454 * CutAndPaste.C (pasteSelection): more clean up, user proper
5455 ParagraphList functions for pasteing.
5457 * ParagraphList.C (insert): new function, three arg insert
5459 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5461 * ParagraphList.C (insert): new function, three arg insert
5463 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5466 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5468 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5470 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5472 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5474 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5476 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5477 (copySelection): clean up a bit.
5478 (pasteSelection): use make_pair
5480 * ParagraphList.C (ParagraphList): implement copy constructor
5481 (operator=): implement, base on copy constructor.
5484 * paragraph.C (erase): return a bool
5486 * paragraph_pimpl.C (erasePos): remove function, move contents...
5487 (erase): ... here. Return a bool.
5488 (erase): call erase instead of erasePos.
5490 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5492 * ParagraphList.h: define PitPosPair
5493 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5494 ParagraphList, fix a bug on pasting multiple pars
5495 * text2.C: change interface to C&P
5497 2003-04-30 André Pönitz <poenitz@gmx.net>
5499 * undo_func.C: revert part of yesterday's patch 2
5501 2003-04-30 John Levon <levon@movementarian.org>
5503 * LColor.C: s/tabular/table/
5505 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5507 * text3.C (dispatch): do not convert iterator -> pointer
5508 * undo_funcs.C (setCursorParUndo): ditto
5509 * text_funcs.C (transposeChars): ditto
5511 * text2.C (setLayout): ws changes only
5513 * text.C (breakParagraph): do not convert iterator -> pointer
5515 (acceptChange): ditto
5516 (rejectChange): ditto
5521 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5524 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5526 * text3.C (gotoInset): YABG (yet another bad getChar)
5528 2003-04-29 André Pönitz <poenitz@gmx.net>
5530 * paragraph.h: make operator= private unimplemented as long as
5533 * ParagraphList.C: whitespace
5536 * paragraph_pimpl.[Ch]:
5537 * paragraph_funcs.C:
5539 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5542 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5544 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5546 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5547 * paragraph.[Ch] (erase):
5548 * paragraph_pimpl.[Ch] (erase): change return type and value
5549 * text2.C (cutSelection): some rework
5551 2003-04-28 John Levon <levon@movementarian.org>
5553 * bufferlist.C: changes for unsaved changes dialog
5555 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5557 * bufferlist.C (newFile): set language (messages_) for new
5560 * buffer.C (readFile): ws changes only.
5562 2003-04-28 André Pönitz <poenitz@gmx.net>
5567 * BufferView_pimpl.C:
5568 * BufferView.C: getParFromID related ParagraphList::iterator changes
5570 2003-04-28 André Pönitz <poenitz@gmx.net>
5572 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5575 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5577 * messages.C: remove one more localedir class variable.
5579 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5581 * messages.C (getLocaleDir): singleton generation function
5583 (Messages): add a default constructor.
5585 * main.C (main): do not setup localedir here, do not call
5588 * gettext.C (_): use it.
5589 (gettext_init): delete funciton
5591 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5593 * gettext.C (getLyXMessages): new singleton generating function.
5595 * buffer.C (updateDocLang): adjust
5597 * Makefile.am (messages.o): add target
5598 (main.o): remove target
5600 2003-04-27 John Levon <levon@movementarian.org>
5605 * lyxvc.C: specify cancel button in Alert::prompt
5607 2003-04-26 John Levon <levon@movementarian.org>
5612 * LyXAction.C: add LFUN_INSET_SETTINGS
5614 * lyxfunc.C: don't enable tabular-feature when there's
5615 just any locking inset
5617 2003-04-26 John Levon <levon@movementarian.org>
5619 * bufferlist.C: re-add Cancel to buffer close question
5621 * lyxfunc.C: fix import UI a bit
5623 2003-04-25 John Levon <levon@movementarian.org>
5625 * gettext.C: remove the broken asserts for now
5627 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5629 * messages.C: make case where setlocale cannot comply work better.
5631 * buffer.C (updateDocLang): new function
5632 (changeLanguage): use it
5635 * text2.C (setCounter): use B_ a bit.
5637 * lyxlayout.C (Read): be sure to trim the label strings.
5639 * messages.C (Messages): fix typo in comment
5641 * buffer.C (readFile): set message_ after file is loaded.
5642 (makeDocBookFile): remove double return
5643 (changeLanguage): reset message_ upon language change.
5644 (B_): new func, use this to get translated buffer strings.
5646 * main.C: add myself and Jean Marc as authors.
5648 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5650 * messages.[hC]: pimplify Messages, and three different pimpls to be
5651 used in different circumstances.
5653 * gettext.[Ch]: change for use with new message code.
5655 2003-04-24 André Pönitz <poenitz@gmx.net>
5657 * factory.C: support for eqref
5659 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5661 * messages.[Ch]: add missing char
5663 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5665 * messages.[Ch]: New files
5667 2003-04-18 John Levon <levon@movementarian.org>
5671 * BufferView_pimpl.C:
5675 * text2.C: remove layout-copy/paste (bug 778)
5677 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5679 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5681 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5683 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5684 if they succeed. Act accordingly.
5686 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5688 * text2.C (setCharFont): adjust
5689 (setCounter): adjust
5690 (insertStringAsLines): adjust
5692 * text.C (leftMargin): adjust
5693 (setHeightOfRow): adjust
5695 * rowpainter.C (paintFirst): adjust
5698 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5700 (isFirstInSequence): ditto
5701 (getEndLabel): ditto
5704 * paragraph.C (getParLanguage): comment out some hard stuff.
5706 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5708 (simpleDocBookOnePar): ditto
5709 (makeDocBookFile): use ParagraphList::iterator
5711 * CutAndPaste.C (pasteSelection): adjust
5713 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5715 * text2.C (getFont): adjust
5716 (getLayoutFont): adjust
5717 (getLabelFont): adjust
5719 * paragraph_funcs.C (TeXOnePar): adjust
5721 * buffer.C (simpleLinuxDocOnePar): adjust
5722 (simpleDocBookOnePar): adjust
5724 * CutAndPaste.C (pasteSelection): adjust
5726 * BufferView.C (getEncoding): adjust
5728 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5730 2003-04-16 John Levon <levon@movementarian.org>
5732 * lyxfind.C: use parlist stuff for search/changes
5734 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5736 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5738 * text2.C (deleteEmptyParagraphMechanism): adjust
5740 * text2.[Ch] (ownerParagraph): delete func (both of them
5742 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5744 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5746 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5748 * ParagraphList.C: prepare for NO_NEXT
5750 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5752 * text2.C (getFont): adjust
5753 (getLayoutFont): adjust
5754 (getLabelFont): adjust
5756 * paragraph.C (getFont): adjust
5757 (getLabelFont): adjust
5758 (getLayoutFont): adjust
5760 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5762 2003-04-15 John Levon <levon@movementarian.org>
5766 * lyx_main.C: handle Include in .ui files
5768 2003-04-15 John Levon <levon@movementarian.org>
5770 * MenuBackend.C: make the doc files length shorter
5773 * ToolbarBackend.C: handle toolbar placement flags,
5776 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5778 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5781 * paragraph_funcs.C (TeXOnePar): adjust
5783 * paragraph.C (getLabelFont): add outerfont arg, adjust
5784 (getLayoutFont): ditto
5785 (simpleTeXOnePar): adjust
5787 * paragraph_pimpl.C (realizeFont): delete func
5789 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5791 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5792 row argument, constify cur argument.
5794 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5796 * text2.C (getFont): adjust
5797 (getLayoutFont): adjust
5798 (getLabelFont): adjust
5800 * paragraph_funcs.C (TeXOnePar): adjust
5801 (outerFont): new func...
5802 (realizeFont): ...moved out from here, changed this to facilitate
5805 * paragraph.C (getFont): take outerfont as arg, adjust
5806 (simpleTeXOnePar): add outerfont arg, adjust
5808 * buffer.C (simpleLinuxDocOnePar): adjust
5809 (simpleDocBookOnePar): adjust
5811 * CutAndPaste.C (pasteSelection): adjust
5813 * BufferView.C (getEncoding): adjust
5815 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5817 * text2.C (setCharFont): adjust
5818 (setCounter): adjust
5820 * text.C (leftMargin): adjust
5821 (setHeightOfRow): adjust
5823 * rowpainter.C (paintFirst): adjust
5826 * paragraph_pimpl.C (realizeFont): adjust
5828 * paragraph.C (isFirstInSequence): move from here...
5829 * paragraph_funcs.C (isFirstInSequence): ...to here
5831 * paragraph.C (outerHook): move from here...
5832 * paragraph_funcs.C (outerHook): ...to here
5834 * paragraph.C (depthHook): move from here...
5835 * paragraph_funcs.C (depthHook): ...to here
5837 * paragraph.C (getEndLabel): move from here...
5838 * paragraph_funcs.C (getEndLabel): ...to here
5840 * text2.C (realizeFont): move from here...
5841 * paragraph_funcs.C (realizeFont): ...to here
5843 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5845 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5847 2003-04-14 Angus Leeming <leeming@lyx.org>
5849 * LColor.[Ch]: scrap LColor mathcursor.
5851 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5853 * lyxlex.[Ch] (text): delete function
5854 * trans.C (Load): adjust
5855 * paragraph_funcs.C (readParToken): adjust
5857 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5859 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5860 vector<char> instead of a char[].
5862 * lyxlex_pimpl.C (getString): adjust
5864 (lex): use getString
5868 * lyxlex.C (text): use pimpl_->getString()
5872 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5874 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5875 (makeFontEntriesLayoutSpecific): temp var for par.size()
5876 (setLayout): temp var for ownerParagraphs().end()
5877 (fullRebreak): temp var for rows().end()
5878 (selectionAsString): temp var for boost::next(startpit), realize
5879 that the while really is a regular for loop.
5880 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5881 setCursor in one place.
5882 (setParagraph): temp vr for ownerParagraphs().end()
5883 (updateCounters): make the while loop a for loop
5884 (cutSelection): temp var for ownerParagraphs().end()
5885 (updateInset): make the do {} while() a regular for loop
5886 (getCursorX): use temp vars
5887 (setCurrentFont): use temp vars
5888 (getColumnNearX): use temp vars
5890 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5892 * text.C (transformChar): use temp var for getChar
5893 (computeBidiTables): use temp var for row->par()
5894 (fill): move temp vars for row->par() and pit->layout() earlier in
5896 (labelFill): use temp var for row->par()
5897 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5898 asc and desc, realize that pit never changes and that firstpit is
5899 just a duplicate and not needed. Exchange rit->par() with pit in a
5901 (breakAgain): use a temp var for boost::next(rit)
5902 (breakAgainOneRow): ditto
5903 (breakParagraph): use a temp var for rows().begin()
5904 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5905 (cursorRightOneWord): use temp var for cursor.par() and
5906 cursor.pos(), remove usage of tmpcursor.
5907 (cursorLeftOneWord): use temp var for cursor.par() and
5908 cursor.pos() only set cur at end of function.
5910 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5912 * text.C, text2.C: exchange all usage of Paragraph::next with
5913 boost::next(ParagraphList::iterator)
5915 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5917 * text2.C (cursorTop): simplify implementation
5918 (cursorBottom): ditto
5919 (setParagraph): use ParagraphList::iterator
5920 (setCurrentFont): adjust
5921 (getColumnNearX): adjust
5922 (cursorRight): adjust
5923 (cursorLeft): remove usage of Paragraph::previous
5924 (cursorUpParagraph): ditto
5925 (deleteEmptyParagraphMechanism): slight cleanup
5927 * text.C (isBoundary): take a Paragraph const & instead of a
5929 (addressBreakPoint): ditto
5930 (leftMargin): remove usage of Paragraph::previous.
5931 (setHeightOfRow): ditto
5932 (cursorLeftOneWord): ditto
5933 (selectNextWordToSpellcheck): ditto
5936 (breakParagraph): remove one usage of Paragraph::next
5937 (redoParagraph): ditto
5938 (acceptChange): ditto
5939 (insertChar): adjust
5940 (rowBreakPoint): adjust
5942 * bufferview_funcs.C (toggleAndShow): adjust
5944 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5946 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5947 methods to access it.
5949 * text.C: Added updateRowPositions to compute all row positions.
5950 Make top_y and getRowNearY() to use the cached y position
5952 2003-04-11 John Levon <levon@movementarian.org>
5954 * text.C (rowBreakPoint): reintroduce the labelEnd
5955 checks, code copied from the row fill stuff. Deep voodoo.
5957 * text.C (fill): add a comment and debugging for the
5960 2003-04-11 John Levon <levon@movementarian.org>
5962 * text.C: make sure fullrow insets get wrapped to the next line,
5963 even when they're in a manual label
5965 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5967 * text2.C (insertParagraph): make it take ParagraphList::iterator
5969 (setLayout): make it return ParagraphList::iterator
5970 (redoParagraphs): ditto
5972 (checkParagraph): ditto
5974 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5976 * text2.C: adjust several funcs.
5977 (realizeFont): take a ParagraphList::iterator as arg.
5978 (getLayoutFont): ditto
5979 (getLabelFont): ditto
5980 (setCharFont): ditto
5982 * text.C: adjust several funcs.
5984 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5986 * text.C (selectNextWordToSpellcheck): don't accidentally
5989 2003-04-10 John Levon <levon@movementarian.org>
5991 * ToolbarBackend.C (getIcon): special handling for
5994 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5996 * text2.C (cursorRight): a getChar assert fixed
5998 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6000 * text2.C (getFont): change to take a ParagraphList::iterator
6001 instead of Paragraph*
6002 Adjust several functions.
6004 * text.C (transformChar): change to take a ParagraphList::iterator
6005 instead of Paragraph*
6006 (singleWidth): ditto
6007 Adjust several functions.
6009 * rowpainter.C: adjust several functions
6010 * rowpainter.h:store a ParagraphList::iterator and not a
6014 2003-04-09 John Levon <levon@movementarian.org>
6019 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6020 and the "help" bits as well
6022 2003-04-09 John Levon <levon@movementarian.org>
6025 * ToolbarBackend.C: allow multiple toolbars
6027 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6029 * undo_funcs.C (setCursorParUndo): adjust
6031 * text_funcs.C (transposeChars): adjust
6033 * text3.C (gotoNextInset): adjust
6036 * text2.C (setLayout): adjust
6037 (changeDepth): adjust
6039 (redoParagraphs): adjust
6040 (selectionAsString): adjust
6041 (setParagraph): adjust
6042 (insertInset): adjust
6043 (cutSelection): adjust
6044 (copySelection): adjust
6045 (pasteSelection): adjust
6046 (insertStringAsLines): adjust
6047 (updateInset): adjust
6048 (setCursor): change to take a ParagraphList::iterator parameter
6049 (setCursorIntern): change to take a ParagraphList::iterator parameter
6050 (setCurrentFont): adjust
6051 (cursorLeft): adjust
6052 (cursorRight): adjust
6053 (deleteEmptyParagraphMechanism): adjust
6055 * text.C (breakParagraph): adjust
6056 (insertChar): adjust
6057 (acceptChange): adjust
6058 (rejectChange): adjust
6059 (selectNextWordToSpellcheck): adjust
6060 (changeCase): adjust
6064 * lyxfind.C (SearchForward): adjust
6065 (SearchBackward): adjust
6066 (nextChange): adjust
6068 * lyxcursor.C (par): adjust
6070 * lyxcursor.h: store a ParagraphList::iterator instead of a
6073 * lyx_cb.C (getPossibleLabel): adjust
6075 * bufferview_funcs.C (toggleAndShow): adjust
6077 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6080 * BufferView.C (removeAutoInsets): adjust
6081 (lockedInsetStoreUndo): adjust
6083 2003-04-09 John Levon <levon@movementarian.org>
6085 * ToolbarBackend.C: try icon without argument
6086 if with argument fails
6088 2003-04-08 John Levon <levon@movementarian.org>
6091 * ToolbarBackend.C: add getIcon(), handle tooltip,
6092 and change from "Icon" to "Item".
6094 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6096 * BufferView.C (lockInset): another bad getchar crunched
6098 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6100 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6103 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6105 * lyxfind.C (searchForward, searchBackwards): bug 782
6107 2003-04-07 John Levon <levon@movementarian.org>
6109 * paragraph.C: remove dead comment
6111 * text.C: remove troublesome depth-fiddling code
6112 in leftMargin() and rightMargin() (bug 1017)
6114 * text.C: fix breaking of rows in nested lists
6117 * text2.C (updateCounters): fix up depth values
6120 2003-04-07 John Levon <levon@movementarian.org>
6122 * BufferView_pimpl.C: clear message when doc finishes resizing,
6123 and after a mouse event
6125 * lyxfunc.C: clear message after exiting inset
6127 2003-04-07 John Levon <levon@movementarian.org>
6129 * bufferview_funcs.C: show math status not outside
6130 status in the statusbar
6132 2003-04-07 John Levon <levon@movementarian.org>
6134 * lyxfunc.C: note status changed after a depth change
6136 2003-04-04 Angus Leeming <leeming@lyx.org>
6138 * LaTeX.h: move AuxInfo operator==, != out of line.
6139 Remove LaTeX virtual destructor; nothing derives from it.
6140 Move operator()() out of public area and rename it startscript().
6141 Change protected for private.
6143 2003-04-04 Angus Leeming <leeming@lyx.org>
6146 * text2.C: remove unneeded #includes.
6148 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6150 * text2.C (dEPM): fix the heigth of the next row
6152 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6154 * text.C: squashed an invalid getChar requester + some ws changes
6156 2003-04-03 John Levon <levon@movementarian.org>
6158 * bufferview_funcs.h:
6159 * bufferview_funcs.C:
6162 * text2.C: make getStatus work for the env depth lfuns
6164 2003-04-03 John Levon <levon@movementarian.org>
6166 * bufferview_funcs.h:
6167 * bufferview_funcs.C:
6170 * text2.C: parlistize decDepth(), by merging it with incDepth()
6172 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6174 * lyxrow.h: store a ParagraphList::iterator instead of a
6175 Paragraph* and adjust other class functions to suit.
6177 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6180 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6182 * text2.C (setCursor): do not anchor to cursor row for the time being
6184 2003-04-02 John Levon <levon@movementarian.org>
6191 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6193 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6195 * paragraph.h: make ParagraphList and ParagraphList::iterator
6196 friends of Paragraph.
6198 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6200 * ParagraphList.C: Use the private next_ and previous_ from
6203 2003-04-01 John Levon <levon@movementarian.org>
6207 * Makefile.am: rename, remove defaults gunk
6210 * MenuBackend.C: remove defaults gunk
6213 * Languages.C: remove defaults gunk
6216 * lyx_main.C: error out if files couldn't be found.
6218 2003-04-02 John Levon <levon@movementarian.org>
6220 * text2.C: make incDepth() use parlist
6222 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6224 * undo_funcs.C (firstUndoParagraph): adjust
6226 * text3.C (gotoInset): adjust
6227 (dispatch): adjust, and rewrite loop.
6229 * text2.C (init): adjust, and rewrite loop.
6230 (redoParagraphs): adjust
6231 (updateInset): adjust, and rewrite loop.
6232 (deleteEmptyParagraphMechanism): adjust
6234 * tabular.C (LyXTabular): adjust
6235 (SetMultiColumn): adjust
6238 * lyxtext.[Ch] (ownerParagraph): delete function
6239 (ownerParagraphs): new function returns a ParagraphList.
6241 * BufferView.C (removeAutoInsets): adjust
6242 (insertErrors): adjust
6243 (setCursorFromRow): adjust
6245 2003-04-01 Angus Leeming <leeming@lyx.org>
6247 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6250 2003-04-02 John Levon <levon@movementarian.org>
6256 * text_funcs.C: make transposeChars a free function
6258 * lyxrow_funcs.C: remove wrong comment
6260 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6263 * rowpainter.C: adjust
6268 * lyxrow_funcs. [Ch]: new files
6270 * lyxrow.[Ch]: remove next and previous pointers
6271 (next,previous): remove accessor functions
6272 (isParEnd): move to lyxrow_funcs
6273 (lastPos): move to lyxrow_funcs
6274 (nextRowIsAllInset): move to lyxrow_funcs
6275 (lastPrintablePos): move to lyxrow_funcs
6276 (numberOfSeparators): move to lyxrow_funcs
6277 (numberOfHfills): move to lyxrow_funcs
6278 (numberOfLabelHfills): move to lyxrow_funcs
6279 (hfillExpansion): move to lyxrow_funcs
6283 * bufferview_funcs.C (toggleAndShow): adjust
6285 * RowList.h: Remove class RowList from file leave just a
6288 * RowList.C: delete file
6290 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6293 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6295 * text3.C (cursorPrevious): adjust
6296 (cursorNext): adjust
6299 * text2.C (redoHeightOfParagraph): adjust
6300 (redoDrawingOfParagraph): adjust
6303 * text.C (breakParagraph): adjust
6304 (insertChar): adjust
6307 * rowpainter.C (RowPainter): adjust
6308 (leftMargin): simplify and adjust
6309 (most rowpainter functions): adjust.
6311 * rowpainter.h: store the row as RowList::iterator not as Row*
6313 * lyxcursor.C (row): taka RowList::iterator as arg
6316 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6319 2003-04-01 Angus Leeming <leeming@lyx.org>
6321 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6322 stuff like bool Bool.
6324 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6326 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6329 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6331 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6334 * lyxtext.h (rows): drop one version and leve a const variant that
6335 returns a RowList::iterator.
6337 2003-03-31 Angus Leeming <leeming@lyx.org>
6339 * text.C (fill): ensure that the signature is the same as that in the
6342 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6344 * text2.C (redoParagraphs): adjust
6345 (updateCounters): adjust
6346 (checkParagraph): adjust
6347 (getColumnNearX): adjust and reformat a bit.
6349 * text.C (top_y): adjust
6351 (leftMargin): adjust
6352 (prepareToPrint): adjust
6354 (getRowNearY): adjust
6356 * lyxtext.h: make rowlist_ mutable.
6358 * RowList.h: add const_iterator
6359 * RowList.C: adjust for RowList::const_iterator.
6361 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6364 2003-03-31 John Levon <levon@movementarian.org>
6367 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6369 * lyx_main.C: set default fonts from using lyx_gui funcs
6371 * exporter.C: pdf_mode moved from lyxrc
6374 * lyxfunc.C: changes from above
6376 2003-03-31 John Levon <levon@movementarian.org>
6378 * lyx_main.C: fix to the last fix
6380 2003-03-31 John Levon <levon@movementarian.org>
6382 * bufferlist.C: "Load original" -> "Load Original"
6388 * format.C: more Alert cleanups
6390 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6392 * text2.C (removeParagraph): make it take a RowList::iterator as
6394 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6395 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6397 * text.C (anchor_row): make it take a RowList::iterator as arg,
6399 (computeBidiTables): make it take a const reference to Row instead
6400 of Row pointer, adjust.
6401 (leftMargin): make it take a RowList::iterator as arg, adjust.
6402 (rowBreakPoint): adjust
6403 (breakAgainOneRow): make it take a RowList::iterator as arg,
6405 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6407 * bufferview_funcs.C (toggleAndShow): adjust
6409 2003-03-30 John Levon <levon@movementarian.org>
6413 * boost-inst.C: moved to support
6415 * several files: changes as a result
6417 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6419 * text2.C (LyXText): adjust.
6421 (removeRow): make it take a RowList::iterator as arg, adjust.
6422 (fullRebreak): adjust
6423 (deleteEmptyParagraphMechanism): adjust
6424 (clearPaint): adjust
6427 * text.C (top_y): adjust
6428 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6429 (breakAgain): make it take a RowList::iterator as arg, adjust.
6430 (breakParagraph): adjust
6431 (insertChar): adjust
6434 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6435 need_break_row, and refresh_row.
6437 * text3.C (dispatch): adjust
6439 * text2.C (checkParagraph): adjust
6441 (setCursorFromCoordinates): adjust
6443 * text.C (top_y): adjust
6445 (getRow): make it return a RowList::iterator, adjust
6446 (getRowNearY): make it return a RowList::iterator, adjust
6448 * text2.C (init): adjust
6449 (insertRow): remove function
6450 (insertParagraph): adjust
6451 (redoParagraphs): adjust
6452 (fullRebreak): adjust
6453 (updateCounters): adjust
6455 * text.C (top_y): rewrite to use RowList iterators.
6457 (setHeightOfRow): rewrite to sue RowList iterators.
6458 (appendParagraph): adjust
6459 (breakAgain): adjust
6460 (breakAgainOneRow): adjust
6461 (breakParagraph): adjust
6463 (getRowNearY): adjust, and remove commented code.
6465 * lyxtext.h (firstRow): delete function
6466 (lastRow): delete function
6467 (rows): new function (const and non-const versions.)
6468 (insertRow): delete function
6470 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6472 2003-03-29 John Levon <levon@movementarian.org>
6474 * BufferView_pimpl.C: always update scrollbar top
6475 because pasting text when we're anchored could mean we
6476 miss an update altogether
6478 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6480 * text2.C (init): use rowlist_.end() and not 0.
6481 (insertRow): change to take a RowList::iterator as arg, adjust
6483 (insertParagraph): change to take a RowList::iterator as arg,
6485 (redoParagraphs): remove some debug msgs.
6487 * text.C (appendParagraph): change to take a RowList::iterator
6488 arg, adjust for this.
6489 (breakAgain): add an assert
6490 (breakAgainOneRow): ditto
6492 2003-03-29 John Levon <levon@movementarian.org>
6494 * text2.C: do not clear selection after inc/decDepth
6497 2003-03-29 John Levon <levon@movementarian.org>
6500 * buffer.C: fix broken strerrors according to Lars
6502 2003-03-29 John Levon <levon@movementarian.org>
6504 * converters.C: more Alert cleanups
6506 2003-03-29 John Levon <levon@movementarian.org>
6508 * bufferview_funcs.C: remove pointless Alert
6510 * buffer.C: fix confusing error message when
6511 a template is chmoded 000
6513 2003-03-29 John Levon <levon@movementarian.org>
6517 * BufferView_pimpl.C: Alert fixes
6521 * tabular-old.C: remove unused table compat reading
6523 2003-03-29 John Levon <levon@movementarian.org>
6528 * lyx_cb.C: more Alert cleanups
6530 * lyxfunc.C: don't allow chktex if not latex document
6532 2003-03-29 John Levon <levon@movementarian.org>
6536 * buffer.C: warnings pushed down from support/,
6539 2003-03-29 John Levon <levon@movementarian.org>
6541 * lyxfunc.C: safety check for C-r (revert)
6543 2003-03-29 John Levon <levon@movementarian.org>
6546 * bufferlist.C: several UI fixes using Alert::prompt.
6547 Fix the pointless looping quit code. Fix stupid revert
6552 * lyx_cb.C: use Alert::prompt
6554 * lyx_main.C: remove a silly question
6556 * lyxfunc.C: remove a couple of silly questions,
6559 2003-03-28 John Levon <levon@movementarian.org>
6561 * text2.C: fix bug 974 (End on empty par)
6563 2003-03-28 John Levon <levon@movementarian.org>
6565 * BufferView_pimpl.C:
6567 * lfuns.h: remove do-nothing math greek lfuns
6569 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6571 * lyxgluelength.h (isValidGlueLength): add default arg on
6572 parameter 2. Remove default arg from friend in class.
6574 * lyxlength.h (isValidLength): add default arg on parameter 2.
6575 Remove default arg from friend in class.
6577 * text2.C (LyXText): adjust, initialize refresh_row.
6581 (insertParagraph): adjst
6582 (redoParagraphs): adjust
6583 (fullRebreak): adjust
6584 (updateCounters): adjust
6585 (deleteEmptyParagraphMechanism): first attempt at fixing a
6588 * text.C (top_y): adjust
6589 (setHeightOfRow): adjust
6591 (getRowNearY): adjust
6593 * lyxtext.h: include RowList.h
6594 (~LyXText): not needed anymore, deleted.
6595 (firstRow): modify for RowList
6596 (lastRow): new function
6597 Delete firstrow and lastrow class variables, add a Rowlist
6598 rowlist_ class variable.
6600 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6603 * RowList.C (insert): fix case where it == begin().
6605 2003-03-26 Angus Leeming <leeming@lyx.org>
6607 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6608 the thesaurus dialog.
6610 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6612 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6614 * RowList.[Ch]: new files
6616 * ParagraphList.C (erase): handle the case where it == begin
6619 2003-03-25 John Levon <levon@movementarian.org>
6623 * aspell.C: add new aspell support
6626 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6629 2003-03-25 Angus Leeming <leeming@lyx.org>
6632 * LyXAction.C (init): new LFUN_INSET_INSERT.
6634 * BufferView_pimpl.C (dispatch): split out part of the
6635 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6637 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6640 2003-03-25 Angus Leeming <leeming@lyx.org>
6642 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6644 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6647 * text3.C: remove useless row->height(0)
6649 2003-03-25 John Levon <levon@movementarian.org>
6653 * text3.C: rename the refreshing stuff to better names
6655 2003-03-24 John Levon <levon@movementarian.org>
6657 * BufferView_pimpl.h:
6658 * BufferView_pimpl.C: update layout choice on a mouse
6661 2003-03-23 John Levon <levon@movementarian.org>
6663 * Makefile.am: fix commandtags.h reference
6665 2003-03-22 John Levon <levon@movementarian.org>
6667 * BufferView_pimpl.C:
6672 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6674 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6677 * text.C: take the rtl methods out of line
6679 2003-03-21 André Pönitz <poenitz@gmx.net>
6681 * metricsinfo.[Ch]: new files containing structures to be passed around
6682 during the two-phase-drawing...
6684 2003-03-21 André Pönitz <poenitz@gmx.net>
6686 * lyxtextclass.C: read 'environment' tag.
6688 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6690 * text2.C (removeRow): fix bug 964
6692 2003-03-20 John Levon <levon@movementarian.org>
6696 * text2.C: paint cleanups. Inset::update() dropped font
6699 2003-03-19 John Levon <levon@movementarian.org>
6701 * lyxfunc.C: only fitcursor/markDirty if available()
6703 2003-03-19 John Levon <levon@movementarian.org>
6705 * commandtags.h: rename to ...
6707 * lfuns.h: ... this, and renumber / cleanup
6709 2003-03-19 John Levon <levon@movementarian.org>
6711 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6712 fit the cursor after an lfun
6716 * BufferView_pimpl.h:
6717 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6719 * LyXAction.C: layout-character should have ReadOnly
6721 * ParagraphParameters.C:
6723 * bufferview_funcs.C:
6730 * undo_funcs.C: changes from above
6732 2003-03-18 John Levon <levon@movementarian.org>
6734 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6735 remove it from update()
6737 * lyxfunc.C: update layout choice after an lfun
6739 * text3.C: remove extra updateLayoutChoice()s
6741 2003-03-18 John Levon <levon@movementarian.org>
6743 * text.C: top_y change means full repaint, fix
6744 a drawing bug with cursor movement
6746 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6750 * text2.C: anchor row on setCursor
6752 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6754 * lyxtext.h: remove almost all mutable keywords
6757 * text3.C: remove const keywords accordingly
6759 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6761 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6763 (TeXEnvironment): ditto
6766 2003-03-17 John Levon <levon@movementarian.org>
6768 * text.C (rowBreakPoint): remove attempt to fix displayed
6769 math insets inside a manual label
6771 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6773 * lyxtext.h: remove BufferView* as first arg from almost all class
6775 * other files: adjust.
6777 2003-03-17 John Levon <levon@movementarian.org>
6781 * text2.C: more paint cleanups
6783 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6786 * rowpainter.C: remove "smart" background painting code
6788 2003-03-16 John Levon <levon@movementarian.org>
6793 * text3.C: add helper functions for setting refresh_row/y
6795 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6797 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6798 newline inset which *can* get inserted in the pass_thru layouts.
6799 This is primarily for literate documents.
6801 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6803 * buffer.C: increment LYX_FORMAT to 223
6805 2003-03-14 André Pönitz <poenitz@gmx.net>
6807 * textclass.h: prepare for environment handling, ws changes
6808 * lyxlayout.C: read latexheader and latexfooter tags
6810 2003-03-14 John Levon <levon@movementarian.org>
6812 * text2.C: rewrite ::status() a bit
6814 2003-03-13 John Levon <levon@movementarian.org>
6816 * lyxtext.h: add some docs
6818 2003-03-13 John Levon <levon@movementarian.org>
6823 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6825 2003-03-13 John Levon <levon@movementarian.org>
6827 * text3.C: fix appendix redrawing
6829 2003-03-13 John Levon <levon@movementarian.org>
6831 * text.C (setHeightOfRow):
6833 * rowpainter.C: make appendix mark have the text
6834 "Appendix" so the user knows what it is
6837 * LColor.C: s/appendixline/appendix/ from above
6839 2003-03-13 John Levon <levon@movementarian.org>
6841 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6843 * text.C: fix a getChar(pos) bug properly
6845 2003-03-13 Angus Leeming <leeming@lyx.org>
6848 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6849 Probably only temporary. Let's see how things pan out.
6851 * BufferView.C (unlockInset):
6852 * BufferView_pimpl.C (fitCursor):
6853 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6855 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6856 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6858 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6859 new functions that convert ParagraphParameters to and from a string.
6861 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6862 BufferView::Pimpl's dispatch.
6863 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6865 2003-03-13 André Pönitz <poenitz@gmx.net>
6869 * factory.C: make it aware of InsetEnv
6871 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6873 * text2.C (setCursor): never ask for one past last
6874 (setCursor): add some debugging messages.
6876 * text.C (singleWidth): never ask for one past last
6877 (singleWidth): ditto
6879 (rightMargin): ditto
6880 (rowBreakPoint): ditto
6881 (setHeightOfRow): ditto
6882 (prepareToPrint): ditto
6884 * rowpainter.C (paintBackground): never ask for one past last
6885 (paintText): never ask for one past last
6887 * paragraph_pimpl.C (getChar): make the assert stricter, never
6888 allow the one past last pos to be taken
6890 * paragraph.C (getChar): ws changes only
6892 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6893 (numberOfSeparators): ditto
6894 (numberOfHfills): ditto
6896 2003-03-12 John Levon <levon@movementarian.org>
6902 * paragraph_funcs.C: fix per-buffer authorlists
6904 2003-03-12 John Levon <levon@movementarian.org>
6906 * text.C: fix newline in right address
6908 2003-03-12 Angus Leeming <leeming@lyx.org>
6910 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6911 duplicate those in LyXFunc::dispatch.
6915 * ToolbarDefaults.C:
6916 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6917 Add LFUN_FONTFREE_UPDATE.
6919 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6920 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6922 * bufferview_func.[Ch]: several new functions to facilliate
6923 transfer of data to and from the character dialog.
6925 2003-03-12 John Levon <levon@movementarian.org>
6930 * paragraph_funcs.C:
6931 * paragraph_pimpl.C:
6935 * text3.C: remove META_NEWLINE in favour of an inset
6938 * rowpainter.C: remove paintNewline (done by inset)
6940 2003-03-12 John Levon <levon@movementarian.org>
6942 * paragraph_pimpl.C: complain about bad getChar()s
6943 for a while at least
6945 2003-03-12 John Levon <levon@movementarian.org>
6948 * buffer.C: move paragraph read into a separate function,
6949 a little renaming to reflect that.
6952 * bufferparams.C: remove the author_ids map, not necessary now
6955 * factory.C: moved Buffer::readInset to here
6957 * paragraph_funcs.h:
6958 * paragraph_funcs.C: readParagraph free function moved from
6961 * tabular.C: name change
6963 2003-03-12 John Levon <levon@movementarian.org>
6966 * ParagraphParameters.C: move par params input to
6969 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6970 behave like a normal read from the stream wrt reading
6971 a line vs. a \\token
6973 2003-03-12 John Levon <levon@movementarian.org>
6976 * ParagraphParameters.h:
6977 * ParagraphParameters.C: move output code to a
6980 2003-03-12 John Levon <levon@movementarian.org>
6982 * BufferView.C (insertLyXFile):
6985 * tabular.C: use a parlist iterator for creating the
6988 2003-03-12 John Levon <levon@movementarian.org>
6990 * buffer.C: make current_change static local not
6993 2003-03-12 John Levon <levon@movementarian.org>
6995 * buffer.C: fix insertStringAsLines for change tracking
6997 2003-03-12 John Levon <levon@movementarian.org>
7004 * bufferparams.C: move author list into params. Rename some
7005 functions. Move the header reading into a separate token
7006 loop. Move the header token reading into BufferParams.
7008 2003-03-12 John Levon <levon@movementarian.org>
7010 * changes.C: put debug inside lyxerr.debugging() checks
7012 2003-03-11 André Pönitz <poenitz@gmx.net>
7014 * factory.C: make it aware of InsetHFill
7016 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7018 * buffer.C (latexParagraphs): move function from here...
7019 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7022 2003-03-10 Angus Leeming <leeming@lyx.org>
7024 * LyXAction.C (init): fix bug in poplating array with multiple entries
7025 with the same LFUN (spotted by JMarc).
7027 2003-03-10 John Levon <levon@movementarian.org>
7030 * text2.C: move getColumnNearX() near its
7033 2003-03-10 John Levon <levon@movementarian.org>
7035 * text.C: fix break before a minipage
7037 2003-03-10 John Levon <levon@movementarian.org>
7039 * text.C: fix the last commit
7041 2003-03-09 John Levon <levon@movementarian.org>
7045 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7046 bug 365 (don't break before insets unless needed). Don't
7047 return a value > last under any circumstances.
7049 2003-03-09 Angus Leeming <leeming@lyx.org>
7051 * BufferView_pimpl.C (trackChanges, dispatch): call
7052 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7054 2003-03-09 Angus Leeming <leeming@lyx.org>
7056 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7057 than Dialogs::showAboutlyx().
7059 2003-03-09 Angus Leeming <leeming@lyx.org>
7061 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7062 than Dialogs::showTabularCreate().
7064 2003-03-09 John Levon <levon@movementarian.org>
7068 * text2.C: 3rd arg to nextBreakPoint was always the same.
7071 2003-03-08 John Levon <levon@movementarian.org>
7078 * text2.C: Remove the "main" bit from the "main body"
7081 2003-03-08 John Levon <levon@movementarian.org>
7083 * text.C (leftMargin): The left margin of an empty
7084 manual label paragraph should not include the label width
7087 * text.C (prepareToPrint): don't attempt to measure hfills
7088 for empty manual label paragraphs - the answer should be 0
7090 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7092 * CutAndPaste.C: remove commented code and reindent.
7094 2003-03-08 John Levon <levon@movementarian.org>
7097 * lyxfunc.C: move reloadBuffer()
7100 * BufferView.C: to here
7102 * lyxvc.C: add comment
7105 * vc-backend.C: call bv->reload() to avoid
7106 getStatus() check on MENURELOAD
7108 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7110 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7111 to an old format .dep file.
7113 2003-03-07 Angus Leeming <leeming@lyx.org>
7115 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7116 when the LFUN_MOUSE_RELEASE should have been handled by
7117 inset->localDispatch.
7119 2003-03-07 Angus Leeming <leeming@lyx.org>
7121 * BufferView_pimpl.C (dispatch):
7122 * LyXAction.C (init):
7123 * ToolbarDefaults.C (init):
7125 * lyxfunc.C (getStatus):
7126 remove LFUN_INSET_GRAPHICS.
7128 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7130 2003-03-07 Angus Leeming <leeming@lyx.org>
7133 * LyXAction.C (init):
7134 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7136 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7139 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7141 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7142 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7144 2003-03-07 Angus Leeming <leeming@lyx.org>
7146 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7149 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7151 * ParagraphList.C (front): new function
7154 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7156 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7157 and top_row_offset_. removed var first_y.
7159 * text2.C (LyXText, removeRow):
7161 * BufferView_pimpl.C:
7162 use these methods instead of using first_y
7164 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7166 * text2.C (pasteSelection): adjust for checkPastePossible
7168 * CutAndPaste.C: remove Paragraph * buf and replace with
7169 ParagraphList paragraphs.
7170 (DeleteBuffer): delete
7171 (cutSelection): change the tc type to textclass_type
7172 (copySelection): change the tc type to textclass_type
7173 (copySelection): adjust for ParagraphList
7174 (pasteSelection): change the tc type to textclass_type
7175 (pasteSelection): adjust for Paragraphlist
7176 (nrOfParagraphs): simplify for ParagraphList
7177 (checkPastePossible): simplify for ParagraphList
7178 (checkPastePossible): remove unused arg
7180 * ParagraphList.C (insert): handle the case where there are no
7183 * CutAndPaste.h: make CutAndPaste a namespace.
7185 * text3.C (dispatch): adjust
7187 * text.C (breakParagraph): add a ParagraphList as arg
7189 * paragraph_funcs.C (breakParagraph): change to take a
7190 BufferParams and a ParagraphList as args.
7191 (breakParagraphConservative): ditto
7192 (mergeParagraph): ditto
7193 (TeXDeeper): add a ParagraphList arg
7194 (TeXEnvironment): ditto
7197 * buffer.C (readLyXformat2): adjust
7198 (insertStringAsLines): adjust
7199 (latexParagraphs): adjust
7201 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7202 (cutSelection): adjust
7203 (pasteSelection): adjust
7205 * BufferView_pimpl.C (insertInset): adjust
7207 2003-03-05 Angus Leeming <leeming@lyx.org>
7210 * LyXAction.C (init):
7211 * BufferView_pimpl.C (dispatch):
7212 * lyxfunc.C (getStatus):
7213 remove LFUN_CHILD_INSERT.
7215 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7217 2003-03-05 Angus Leeming <leeming@lyx.org>
7220 * LyXAction.C (init):
7221 * src/factory.C (createInset):
7222 * lyxfunc.C (getStatus):
7223 * text3.C (dispatch):
7224 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7226 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7228 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7230 * ParagraphList.C (insert): handle insert right before end()
7231 (erase): fix cases where it can be first or last paragraph.
7233 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7235 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7236 Paragraph::next and Paragraph::previous
7239 * text.C (breakParagraph): adjust
7241 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7242 BufferParams& as arg.
7243 (breakParagraph): use ParagraphList::insert
7244 (breakParagraphConservative): take a Buffer* instead of a
7245 BufferParams& as arg.
7246 (breakParagraphConservative): use ParagraphList::insert.
7248 * buffer.C (insertStringAsLines): un-const it
7249 (insertStringAsLines): adjust
7251 * ParagraphList.C (insert): new function
7253 * CutAndPaste.C (pasteSelection): adjust
7255 * text.C (backspace): adjust
7257 * tabular.C (SetMultiColumn): adjust
7259 * CutAndPaste.C (cutSelection): adjust
7260 (pasteSelection): adjust
7262 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7263 Buffer const * as arg
7265 * ParagraphList.C (erase): new function
7266 * paragraph_funcs.C (mergeParagraph): use it
7267 (mergeParagraph): make it take a Buffer* instead of a
7268 BufferParams* as arg
7270 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7272 (breakParagraphConservative): ditto
7274 * paragraph.h: remove the breakParagraph friend
7276 * paragraph.C (eraseIntern): new function
7277 (setChange): new function
7279 * paragraph_funcs.C (mergeParagraph): make it take a
7280 ParagraphList::iterator instead of a Paragraph *, adjust
7283 * paragraph.h: move an #endif so that the change tracking stuff
7284 also works in the NO_NEXT case.
7286 2003-03-04 Angus Leeming <leeming@lyx.org>
7289 * LyXAction.C: new LFUN_INSET_MODIFY.
7291 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7292 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7294 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7296 * several files: ws changes only
7298 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7299 (TeXEnvironment): ditto
7302 * buffer.C (makeLaTeXFile): adjust
7303 (latexParagraphs): make it take ParagraphList::iterator as args
7305 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7307 * buffer.C (latexParagraphs): adjust
7309 * paragraph.C (TeXOnePar): move function...
7310 (optArgInset): move function...
7311 (TeXEnvironment): move function...
7312 * paragraph_pimpl.C (TeXDeeper): move function...
7313 * paragraph_funcs.C: ...here
7315 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7317 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7319 * buffer.C (readInset): remove compability code for old Figure and
7322 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7324 * buffer.C: ws changes
7327 * BufferView_pimpl.C: ditto
7330 * bufferlist.h: ditto
7334 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7336 * converter.[Ch]: split into itself +
7339 * Makefile.am: += graph.[Ch] + format.[Ch]
7346 * lyxrc.C: added #include "format.h"
7348 2003-02-27 Angus Leeming <leeming@lyx.org>
7350 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7353 * factory.C (createInset): add "label" to the factory.
7355 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7356 string and do no more.
7358 2003-02-27 Angus Leeming <leeming@lyx.org>
7361 * LyXAction.C (init):
7362 * factory.C (createInset):
7363 * BufferView_pimpl.C (dispatch):
7364 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7366 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7368 * lyxfunc.C (dispatch):
7369 * text3.C (dispatch): pass name to params2string.
7371 2003-02-26 Angus Leeming <leeming@lyx.org>
7373 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7375 Rearrange the ~includes. Strip out the unnecessary ones.
7377 * factory.C (createInset): reformat.
7378 create new insets for the various LFUN_XYZ_APPLY lfuns.
7380 2003-02-26 John Levon <levon@movementarian.org>
7383 * lyxrow.C: add isParStart,isParEnd helpers
7385 * paragraph.h: make isInserted/DeletedText take refs
7387 * paragraph_funcs.h:
7388 * paragraph_funcs.C: remove #if 0'd code
7393 * text.C: use lyxrow helpers above.
7394 Move draw and paint routines to RowPainter.
7395 Make several methods use refs not pointers.
7396 Make backgroundColor() const.
7397 Add markChangeInDraw(), isInInset().
7398 Merge changeRegionCase into changeCase.
7399 Make workWidth() shouldn't-happen code into an Assert.
7402 * rowpainter.C: new class for painting a row.
7405 * vspace.C: make inPixels take a ref
7407 2003-02-26 Angus Leeming <leeming@lyx.org>
7409 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7412 2003-02-25 John Levon <levon@movementarian.org>
7414 * ispell.C: give the forked command a more accurate name
7416 2003-02-22 John Levon <levon@movementarian.org>
7419 * toc.C: make TocItem store an id not a Paragraph *
7422 2003-02-21 Angus Leeming <leeming@lyx.org>
7424 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7425 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7426 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7427 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7428 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7429 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7431 * BufferView_pimpl.C (dispatch):
7432 * LyXAction.C (init):
7433 * factory.C (createInset):
7434 * lyxfunc.C (getStatus, dispatch):
7435 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7437 2003-02-21 Angus Leeming <leeming@lyx.org>
7439 * BufferView_pimpl.C (MenuInsertLyXFile):
7440 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7441 * lyxfunc.C (menuNew, open, doImport):
7442 no longer pass a LyXView & to fileDlg.
7444 2003-02-21 Angus Leeming <leeming@lyx.org>
7446 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7447 * LyXAction.C: change, BIBKEY to BIBITEM.
7448 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7449 Change InsetBibKey to InsetBibitem.
7450 Change BIBKEY_CODE to BIBITEM_CODE.
7451 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7452 * factory.C: replace insetbib.h with insetbibitem.h.
7453 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7454 * paragraph.C: replace insetbib.h with insetbibitem.h.
7455 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7456 Change bibkey() to bibitem().
7457 * text.C: remove insetbib.h.
7458 * text2.C: replace insetbib.h with insetbibitem.h.
7459 change bibkey() to bibitem().
7460 * text3.C: remove insetbib.h.
7461 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7463 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7465 * lyxrc.C (output): enclose user email in quotes (in case there are
7468 2003-02-18 John Levon <levon@movementarian.org>
7470 * buffer.h: add std::
7472 2003-02-17 John Levon <levon@movementarian.org>
7478 * pspell.C: reworking. Especially in ispell, a large
7479 number of clean ups and bug fixes.
7481 * lyxfunc.C: fix revert to behave sensibly
7483 2003-02-17 André Pönitz <poenitz@gmx.net>
7486 * commandtags.h: new LFUN_INSERT_BIBKEY
7496 * paragraph_func.C: remove special bibkey handling
7498 2003-02-17 John Levon <levon@movementarian.org>
7500 * text.C (Delete): fix case where delete at the end of
7501 the very first paragraph would not merge the pars
7503 2003-02-17 John Levon <levon@movementarian.org>
7505 * lyxrow.C: fix lastPrintablePos()
7507 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7509 * bufferparams.C (writeLaTeX): add a std:here
7511 * buffer.C: and remove a using directive there
7513 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7515 * buffer.C (makeLaTeXFile): move the code that generates the
7518 * bufferparams.C (writeLaTeX): ... in this new method
7520 * LaTeXFeatures.C (getEncodingSet): make const
7521 (getLanguages): make const
7523 * MenuBackend.C (binding): returns the binding associated to this
7525 (add): sets the status of each item by calling getStatus. Adds
7527 (read): add support for OptSubMenu
7528 (expand): remove extra separator at the end of expanded menu
7530 2003-02-15 John Levon <levon@movementarian.org>
7533 * BufferView_pimpl.C:
7535 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7536 inset code that had no actual effect. Remove unneeded status
7539 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7541 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7544 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7546 * text.C (drawLengthMarker): also draw an arrow marker for
7547 symbolic lengths (medskip...)
7549 2003-02-14 John Levon <levon@movementarian.org>
7552 * tabular.C: better method names
7554 2003-02-14 John Levon <levon@movementarian.org>
7556 * BufferView_pimpl.C:
7561 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7562 it's a more accurate name. Remove some pointless uses.
7564 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7566 * text2.C (LyXText): change order of initilizers to shut off
7569 2003-02-14 John Levon <levon@movementarian.org>
7571 * buffer.C: use ParIterator for getParFromID()
7575 * paragraph_pimpl.h:
7576 * paragraph_pimpl.C: remove unused getParFromID()
7578 2003-02-14 John Levon <levon@movementarian.org>
7580 * buffer.C: remove some very old #if 0'd parse code
7582 2003-02-13 John Levon <levon@movementarian.org>
7586 * text2.C: move hfillExpansion(), numberOfSeparators(),
7587 rowLast(), rowLastPrintable(), numberofHfills(),
7588 numberOfLabelHfills() ...
7591 * lyxrow.C: ... to member functions here.
7596 * text.C: remove LyXText::beginningOfMainBody(), and call
7597 p->beginningOfMainBody() directly. Move the check for
7598 LABEL_MANUAL into the latter.
7605 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7611 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7612 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7614 2003-02-13 John Levon <levon@movementarian.org>
7616 * CutAndPaste.C: remove debug
7618 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7620 * paragraph.C (asString): remove two unused variables
7622 * lyxtextclass.C (readTitleType):
7624 (LyXTextClass): handle new members titletype_ and titlename_
7626 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7628 2003-02-09 John Levon <levon@movementarian.org>
7631 * buffer.C: replace hand-coded list with a map for the dep clean
7633 2003-02-08 John Levon <levon@movementarian.org>
7635 * LaTeX.C: consolidate code into showRunMessage() helper
7637 2003-02-08 John Levon <levon@movementarian.org>
7642 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7643 and pass the size in explicitly
7645 * BufferView_pimpl.h:
7646 * BufferView_pimpl.C:
7648 * BufferView.C: add getCurrentChange()
7650 * BufferView_pimpl.h:
7651 * BufferView_pimpl.C: handle change lfuns
7653 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7654 for changes. Mark pasted paragraphs as new.
7656 * support/lyxtime.h:
7657 * support/lyxtime.C:
7658 * DepTable.C: abstract time_t as lyx::time_type
7661 * LColor.C: add colours for new text, deleted text, changebars
7663 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7664 package use "usenames" option.
7668 * LyXAction.C: add change lfuns
7672 * author.C: author handling
7675 * buffer.C: add a per-buffer author list, with first entry as
7676 current author. Handle new .lyx tokens for change tracking. Output
7677 author list to .lyx file. Output dvipost stuff to .tex preamble.
7678 Bump lyx format to 222.
7681 * bufferlist.C: add setCurrentAuthor() to reset current author details
7685 * bufferparams.C: add param for tracking
7687 * bufferview_funcs.C: output change info in minibuffer
7691 * changes.C: add change-tracking structure
7694 * debug.C: add CHANGES debug flag
7697 * lyxfind.C: add code for finding the next change piece
7700 * lyxrc.C: add user_name and user_email
7703 * lyxrow.C: add a metric for the top of the text line
7706 * text.C: implement accept/rejectChange()
7709 * text.C: paint changebars. Paint new/deleted text in the chosen
7710 colours. Strike through deleted text.
7714 * paragraph_pimpl.h:
7715 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7716 in the current change to the insert functions. Rework erase to
7717 mark text as deleted, adding an eraseIntern() and a range-based
7718 erase(). Implement per-paragraph change lookup and
7721 * paragraph_funcs.C: Fixup paste for change tracking.
7723 * tabular.C: mark added row/columns as new.
7725 * text.C: fix rowLast() to never return -1. Don't allow
7726 spellchecking of deleted text. Track transpose changes. Don't
7727 allow paragraph break or merge where appropriate.
7729 * text2.C: leave cursor at end of selection after a cut.
7731 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7733 * text.C (getLengthMarkerHeight):
7734 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7735 visible on screen too.
7737 2003-02-07 John Levon <levon@movementarian.org>
7739 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7741 2003-02-05 Angus Leeming <leeming@lyx.org>
7743 * lyxserver.C (read_ready): revert my patch of 11 September last year
7744 as it sends PC cpu through the roof. Presumably this means that
7745 the lyxserver will no longer run on an Alpha...
7747 2003-01-30 Angus Leeming <leeming@lyx.org>
7749 * factory.C (createInset): create an InsetCommandParam of type "index"
7750 and use it to 'do the right thing'.
7752 * text2.C (getStringToIndex): ensure that cursor position is always
7753 reset to the reset_cursor position.
7755 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7757 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7760 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7764 * lyxfunc.C: Output messages with identical spelling, punctuation,
7767 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7769 * MenuBackend.C (expandFormats): List only viewable export formats
7772 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7775 * lyxfunc.C (getStatus): Make sure that formats other than
7776 "fax" can also be disabled
7778 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7780 * text3.C (dispatch): put the lfuns that insert insets in 3
7781 groups, and call doInsertInset with appropriate arguments.
7782 (doInsertInset): new function, that creates an inset and inserts
7783 it according to some boolean parameters.
7785 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7787 * buffer.C (readFile): remember to pass on 'par' when calling
7788 readFile recursively.
7790 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7792 * MenuBackend.C (expandFormats): add "..." to import formats.
7794 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7796 * paragraph.C (asString): Remove XForms RTL hacks.
7798 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7799 * buffer.C: fix typo
7801 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7803 * Makefile.am (LIBS): delete var
7804 (lyx_LDADD): add @LIBS@ here instead.
7806 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7808 * Clarify the meaning of "wheel mouse jump"
7810 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7812 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7815 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7817 * importer.C (Loaders): do not preallocate 3 elements in the
7818 vector, since one ends up with 6 elements otherwise
7820 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7822 * DepTable.C (write): write the file name as last element of the
7823 .dep file (because it may contain spaces)
7824 (read): read info in the right order
7826 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7828 * paragraph_pimpl.C (simpleTeXBlanks):
7829 (simpleTeXSpecialChars):
7830 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7832 * tabular.C (latex): add some missing case statements. Reindent.
7834 * MenuBackend.C (expandToc): remove unused variable.
7836 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7845 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7848 2003-01-05 John Levon <levon@movementarian.org>
7851 * BufferView.C: add getEncoding()
7854 * kbsequence.C: do not store last keypress
7857 * lyxfunc.C: store last keypress here instead. Pass encoding
7860 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7862 * lyx_main.C (init): remove annoying error message when following
7863 symbolic links (bug #780)
7865 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7867 * text.C (insertChar):
7868 * lyxrc.C (getDescription): remove extra spaces
7870 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7872 * lyxrc.C (getDescription): remove extra spaces
7874 2002-12-20 John Levon <levon@movementarian.org>
7876 * text3.C: hack fix for page up/down across tall rows
7878 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7880 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7883 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7885 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7886 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7887 thesaurus is not compiled in
7889 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7891 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7893 2002-12-16 Angus Leeming <leeming@lyx.org>
7896 * lyx_main.C (init): remove override_x_deadkeys stuff.
7898 2002-12-12 John Levon <levon@movementarian.org>
7900 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7901 insert. Only remove shift modifier under strict
7904 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7906 * MenuBackend.C (expandToc): fix crash.
7908 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7910 * MenuBackend.C (expandToc): gettext on float names.
7912 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7914 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7915 implement bool empty() [bug 490]
7917 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7919 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7921 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7923 * several files: ws changes
7925 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7927 * text2.C (setCounter): clean up a bit, use boost.format.
7928 (updateCounters): initialize par upon declaration.
7930 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7931 if the layout exists. We do not just store the layout any more.
7932 (SwitchLayoutsBetweenClasses): use boost.format
7934 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7936 * converter.C (convert): if from and to files are the same, use a
7937 temporary files as intermediary
7939 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7942 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7944 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7946 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7948 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7950 * tabular.C (asciiPrintCell): use string(size, char) instead of
7953 * sgml.C (openTag): fix order of arguments to string constructor
7956 * lyxfunc.C (dispatch): use boost.format
7958 * lots of files: change "c" -> 'c'
7960 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7962 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7964 2002-11-25 Angus Leeming <leeming@lyx.org>
7966 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7968 * lyx_main.C (init): compile fix.
7970 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7972 * lyx_cb.C (start): boost.formatify
7973 do not include <iostream>
7975 * lengthcommon.C: ws only
7977 * boost-inst.C,BoostFormat.h: add more explict instantations
7979 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7981 * lots of files: handle USE_BOOST_FORMAT
7983 2002-11-21 John Levon <levon@movementarian.org>
7985 * pspell.C: fix compile
7987 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7989 * lyxfunc.C (dispatch): use boost::format
7993 * lyxfont.C (stateText): use boost::format
7995 * lyx_main.C (LyX): use boost::format
7997 (queryUserLyXDir): ditto
8000 (typedef boost::function): use the recommened syntax.
8002 * importer.C (Import): use boost::format
8004 * debug.C (showLevel): use boost::format
8006 * converter.C (view): use boost::format
8011 * bufferview_funcs.C (currentState): use boost::format
8013 * bufferlist.C (emergencyWrite): use boost::format
8015 * buffer.C (readLyXformat2): use boost::format
8016 (parseSingleLyXformat2Token): ditto
8018 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8020 * LaTeX.C (run): use boost::format
8022 * Chktex.C (scanLogFile): use boost::format
8024 * BufferView_pimpl.C (savePosition): use boost::format
8025 (restorePosition): ditto
8026 (MenuInsertLyXFile): ditto
8028 * BoostFormat.h: help file for explicit instation.
8030 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8032 * tabular.C (latex): Support for block alignment in fixed width
8035 2002-11-17 John Levon <levon@movementarian.org>
8037 * BufferView_pimpl.C:
8039 * lyxfunc.C: split filedialog into open/save
8041 2002-11-08 Juergen Vigna <jug@sad.it>
8043 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8044 by my last patch (hopefully).
8046 2002-11-08 John Levon <levon@movementarian.org>
8055 * toc.C: ParConstIterator, and use it (from Lars)
8057 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8059 * lyxtextclass.[Ch]: revise and add doxygen comments
8061 2002-11-07 John Levon <levon@movementarian.org>
8063 * text.C: fix progress value for spellchecker
8065 * toc.C: fix navigate menu for insetwrap inside minipage
8067 * paragraph_funcs.C: added FIXME for suspect code
8069 2002-11-07 John Levon <levon@movementarian.org>
8071 * BufferView_pimpl.C: fix redrawing of insets
8074 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8076 * text2.C (updateCounters): fix bug 668
8078 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8080 * text3.C (dispatch): Do not make the buffer dirty when moving the
8083 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8085 * vc-backend.C: STRCONV
8088 * text2.C (setCounter): STRCONV
8090 * paragraph.C (asString): STRCONV
8092 * lyxlength.C (asString): STRCONV
8093 (asLatexString): ditto
8095 * lyxgluelength.C (asString): STRCONV
8096 (asLatexString): ditto
8098 * lyxfunc.C (dispatch): STRCONV
8101 * lyxfont.C (stateText): STRCONV
8103 * importer.C (Import): STRCONV
8105 * counters.C (labelItem): STRCONV
8106 (numberLabel): ditto
8107 (numberLabel): remove unused ostringstream o
8112 * bufferview_funcs.C (currentState): STRCONV
8114 * buffer.C (readFile): STRCONV
8115 (asciiParagraph): ditto
8116 (makeLaTeXFile): ditto
8118 * Spacing.C (writeEnvirBegin): STRCONV
8120 * LaTeXFeatures.C (getLanguages): STRCONV
8121 (getPackages): ditto
8123 (getBabelOptions): ditto
8124 (getTClassPreamble): ditto
8125 (getLyXSGMLEntities): ditto
8126 (getIncludedFiles): ditto
8130 (scanAuxFile): ditto
8133 * LString.h: add the STRCONV macros
8135 * BufferView_pimpl.C (savePosition): STRCONV
8136 (restorePosition): ditto
8137 (MenuInsertLyXFile): ditto
8139 * vc-backend.C (scanMaster): change from submatch[...] to
8142 * funcrequest.C: include config.h
8144 * factory.C: include config.h
8146 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8148 * box.C: include config.h
8150 * LaTeX.C (scanAuxFile): change from submatch[...] to
8154 2002-10-25 Angus Leeming <leeming@lyx.org>
8156 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8158 * ispell.[Ch] (setError): new method.
8159 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8160 Use setError() insetead of goto END.
8162 * lyx_cb.C (AutoSave): move out child process into new class
8165 2002-10-30 John Levon <levon@movementarian.org>
8167 * text3.C: make start appendix undoable
8169 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8171 * lyxlength.C (inPixels): Fix returned value.
8173 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8176 2002-10-24 Angus Leeming <leeming@lyx.org>
8178 * lyxgluelength.h: no need to forward declare BufferParams
8179 or BufferView, so don't.
8181 2002-10-21 John Levon <levon@movementarian.org>
8183 * BufferView.C: menuUndo ->undo, redo
8185 * BufferView.h: document, remove dead, make some methods private
8187 * paragraph_funcs.h:
8188 * paragraph_funcs.C:
8189 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8194 * sgml.C: move sgml open/close tag into sgml.C
8196 * bufferview_funcs.h: unused prototype
8199 * lyxfunc.C: remove unused
8202 * text.C: remove unused
8204 2002-10-21 John Levon <levon@movementarian.org>
8208 * BufferView_pimpl.h:
8209 * BufferView_pimpl.C: fix mouse wheel handling based on
8210 patch from Darren Freeman
8212 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8214 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8216 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8218 * lyxlength.C (inPixels): Fix hanfling of negative length.
8219 Fix LyXLength::MU case.
8221 2002-10-16 John Levon <levon@movementarian.org>
8223 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8225 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8227 * converter.C (view): add support for $$i (file name) and $$p
8228 (file path) for the viewer command. If $$i is not specified, then
8229 it is appended to the command (for compatibility with old syntax)
8231 2002-10-14 Juergen Vigna <jug@sad.it>
8233 * undo_funcs.C (textHandleUndo): alter the order in which the
8234 new undopar is added to the LyXText, as we have to set first
8235 the right prev/next and then add it as otherwise the rebuild of
8236 LyXText is not correct. Also reset the cursor to the right paragraph,
8237 with this IMO we could remove the hack in "redoParagraphs()".
8239 2002-10-09 Angus Leeming <leeming@lyx.org>
8241 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8242 to turn off an optimisation if a new inset is to be inserted.
8244 2002-10-11 André Pönitz <poenitz@gmx.net>
8246 * lyxtext.h: make some functions public to allow access
8247 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8249 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8251 * text3.C (dispatch): when changing layout, avoid an infinite loop
8254 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8256 * lyxrc.C (read): treat a viewer or converter command of "none" as
8259 * MenuBackend.C (expandFormats): for an update, also allow the
8260 formats that are not viewable
8262 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8263 script if it is newer than the lyxrc.defaults in user directory
8265 2002-10-07 André Pönitz <poenitz@gmx.net>
8267 * text.C: Vitaly Lipatov's small i18n fix
8269 2002-09-25 Angus Leeming <leeming@lyx.org>
8271 * ispell.h: doxygen fix.
8273 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8275 * buffer.h (readFile): Add a new argument to the method, to allow
8276 reading of old-format templates.
8278 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8280 * toc.C (getTocList): Get TOC from InsetWrap.
8282 2002-09-16 John Levon <levon@movementarian.org>
8284 * lyxfunc.C: check tabular for cut/copy too
8286 2002-09-12 John Levon <levon@movementarian.org>
8291 * factory.C: add header
8293 * paragraph_funcs.h:
8294 * paragraph_funcs.C: cleanup
8296 2002-09-11 John Levon <levon@movementarian.org>
8298 * PrinterParams.h: odd/even default to true
8300 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8302 * PrinterParams.h: update printer parameters for new xforms dialog
8304 2002-09-11 Angus Leeming <leeming@lyx.org>
8306 * lyxserver.C (read_ready): re-write to make it more transparent
8307 and to make it work in coherent fashion under Tru64 Unix.
8309 2002-09-11 André Pönitz <poenitz@gmx.net>
8313 * text3.C: implement LFUN_WORDSEL
8315 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8317 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8318 make floatlist_ a boost::shared_ptr<FloatList>
8320 * lyxtextclass.C: include FloatList.h
8321 (LyXTextClass): initialize floatlist_
8322 (TextClassTags): add TC_NOFLOAT
8323 (Read): match "nofloat" to TC_NOFLOAT and use it.
8324 (readFloat): modify call to floatlist_
8328 * FloatList.[Ch] (FloatList): remove commented out float
8330 (erase): new function
8332 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8334 * MenuBackend.C (expandToc): fix crash when there is no document
8337 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8339 * many files: Add insetwrap.
8341 2002-09-09 John Levon <levon@movementarian.org>
8343 * text2.C: remove confusing and awkward depth wraparound
8345 2002-09-09 John Levon <levon@movementarian.org>
8347 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8350 * buffer.C: remove getIncludeonlyList()
8353 * lyxfunc.C: remove headers
8355 2002-09-09 Juergen Vigna <jug@sad.it>
8357 * text.C (getColumnNearX): fix form Michael this is most
8358 probably a cut&paste bug.
8360 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8362 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8364 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8365 references, ws changes.
8367 * text2.C (init): update counters after init
8368 (insertParagraph): no need to set counter on idividual paragraphs.
8369 (setCounter): access the counters object in the textclass object
8370 on in the buffer object.
8371 (updateCounters): ditto
8373 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8374 shared_ptr<Counters> to avoid loading counters.h in all
8376 (LyXTextClass): initialize ctrs_
8377 (TextClassTags): add TC_COUNTER, and ...
8378 (Read): use it here.
8379 (CounterTags): new tags
8380 (readCounter): new function
8381 (counters): new funtion
8382 (defaultLayoutName): return a const reference
8384 * counters.C (Counters): remove contructor
8385 (newCounter): remove a couple of unneeded statements.
8386 (newCounter): simplify a bit.
8387 (numberLabel): some small formatting changes.
8389 * buffer.[Ch]: remove all traces of counters, move the Counters
8390 object to the LyXTextClass.
8392 2002-09-06 Alain Castera <castera@in2p3.fr>
8394 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8395 package to set the horizontal alignment on fixed width columns.
8398 * lyx_sty.h: added tabularnewline macro def.
8400 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8402 2002-09-06 John Levon <levon@movementarian.org>
8404 * LyXAction.C: tooltips for sub/superscript
8406 * MenuBackend.C: a bit more verbose
8408 * lyxfunc.C: tiny clean
8410 * undo_funcs.C: document undo_frozen
8412 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8414 * counters.C (Counters): add missing algorithm counter.
8416 * text2.C (setCounter): lookup the counter with layouts latexname
8417 instead of by section number.
8418 (setCounter): use a hackish way to lookup the correct enum
8420 a float name->type change
8421 reset enum couners with counter name directly instead of depth value.
8423 * counters.C (Counters): remove the push_backs, change to use the
8424 float type not the float name.
8425 (labelItem): remove unused string, float name->type change
8427 * counters.h: don't include vector, loose the enums and sects vectors
8429 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8431 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8432 (Read): add float->TC_FLOAT to textclassTags
8433 (Read): and handle it in the switch
8434 (readFloat): new function
8436 * FloatList.C (FloatList): comment out the hardcoded float
8439 * lyxlayout.h: ws change.
8441 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8443 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8445 2002-09-03 Angus Leeming <leeming@lyx.org>
8447 * BufferView_pimpl.h: qualified name is not allowed in member
8448 declaration: WorkArea & Pimpl::workarea() const;
8450 * factory.C: added using std::endl directive.
8452 * text3.C: added using std::find and std::vector directives.
8454 2002-08-29 André Pönitz <poenitz@gmx.net>
8457 * text2.C: remove unused member number_of_rows
8460 * BufferView2.C: remove file, move contents to...
8461 * BufferView.C: ... here
8463 * BufferView_pimpl.C:
8464 * factory.C: move more inset creation to factory
8466 * vspace.C: avoid direct usage of LyXText, ws changes
8469 don't provide direct access to WorkArea, use two simple
8470 acessors haveSelction() and workHeight() instead
8473 2002-08-29 John Levon <levon@movementarian.org>
8475 * BufferView_pimpl.C (dispatch): do not continue when
8478 2002-08-28 André Pönitz <poenitz@gmx.net>
8480 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8483 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8485 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8487 * buffer.C: increment LYX_FORMAT to 221
8489 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8490 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8492 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8494 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8496 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8498 * factory.C (createInset): use LyXTextClass::floats
8500 * MenuBackend.C (expandFloatListInsert):
8501 (expandFloatInsert):
8504 * text2.C (setCounter):
8506 * LaTeXFeatures.C (useFloat):
8507 (getFloatDefinitions):
8509 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8511 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8512 floatlist_, with accessor floats().
8514 * FloatList.h: remove global FloatList
8516 2002-08-26 André Pönitz <poenitz@gmx.net>
8518 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8522 * BufferView_pimpl.C:
8523 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8525 2002-08-25 John Levon <levon@movementarian.org>
8527 * LyXAction.C: fix margin note description
8529 2002-08-24 John Levon <levon@movementarian.org>
8533 * bufferview_funcs.C:
8535 * undo_funcs.C: cleanups
8537 * lyxfunc.C: disable CUT/COPY when no selection
8539 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8541 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8542 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8544 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8545 Add backward compatibility to "mono", "gray" and "no".
8547 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8549 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8550 (and file_format >= 200).
8552 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8554 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8556 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8558 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8560 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8562 * BufferView_pimpl.C:
8569 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8570 inset and code to make it work with the paragraph code. The inset
8571 can be anywhere in the paragraph, but will only do the expected
8572 thing in LaTeX if the layout file contains the parameter line
8574 (or more generally, a nonzero value) for that layout.
8576 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8578 * paragraph.h: remove the declaration of undefined counters class
8581 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8583 * text2.C (setCounter): fixed enumeration mis-count as reported by
8584 Dr. Richard Hawkins.
8586 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8588 * paragraph_funcs.h: remove some unneeded includes
8590 * text.C (backspace): pasteParagraph now in global scipe
8592 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8593 (pasteSelection): ditto
8595 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8596 * paragraph_funcs.C (pasteParagraph): ... here
8598 2002-08-20 André Pönitz <poenitz@gmx.net>
8600 * commandtags.h: new LFUNs for swapping/copying table row/colums
8603 * lyxfunc.C: support for new lfuns
8605 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8608 * buffer.[Ch]: remove NO_COMPABILITY stuff
8610 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8612 * boost.C (throw_exception): new file, with helper function for
8613 boost compiled without exceptions.
8618 * ParameterStruct.h:
8619 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8621 * bufferlist.C (emergencyWriteAll): use boost bind
8623 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8625 * text.C: include paragraph_funcs.h
8626 (breakParagraph): breakParagraph is now in global scope
8628 * paragraph_funcs.[Ch]: new files
8630 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8633 * buffer.C: include paragraph_funcs.h
8634 (insertStringAsLines): breakParagraph is now in global scope
8636 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8639 * CutAndPaste.C: include paragraph_funcs.h
8640 (cutSelection): breakParagraphConservative is now in global scope
8641 (pasteSelection): ditto
8643 * buffer.h: declare oprator== and operator!= for
8644 Buffer::inset_iterator
8646 * bufferlist.C (emergencyWrite): don't use fmt(...)
8648 * text3.C: add using std::endl
8650 * BufferView.C (moveCursorUpdate): remove default arg
8652 2002-08-20 André Pönitz <poenitz@gmx.net>
8654 * buffer.[Ch]: move inline functions to .C
8657 * BufferView_pimpl.C:
8659 * buffer.[Ch]: use improved inset_iterator
8662 * paragraph.[Ch]: write one paragraph at a time
8664 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8666 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8667 style if style is not specified.
8669 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8671 * text2.C (setCounter): when searching for right label for a
8672 caption, make sure to recurse to parent insets (so that a caption
8673 in a minipage in a figure float works) (bug #568)
8675 2002-08-20 André Pönitz <poenitz@gmx.net>
8677 * text3.C: new file for LyXText::dispatch() and helpers
8679 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8681 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8683 2002-08-19 André Pönitz <poenitz@gmx.net>
8686 * text.C: new LyXText::dispatch()
8688 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8690 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8692 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8694 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8697 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8699 * Makefile.am: use $(variables) instead of @substitutions@
8701 2002-08-15 André Pönitz <poenitz@gmx.net>
8704 * BufferView_pimpl.C: streamlining mathed <-> outer world
8708 * LyXAction.C: remove unused LFUN_MATH
8710 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8712 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8714 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8716 * paragraph.C (Paragraph): reformat a bit
8717 (cutIntoMinibuffer): use builtin InsetList function instad of
8721 * buffer.C: include boost/bind.hpp, add using std::for_each
8722 (writeFileAscii): use ParagraphList iterators
8723 (validate): use for_each for validate traversal of paragraphs
8724 (getBibkeyList): use ParagraphList iterators
8725 (resizeInsets): use for_each to resizeInsetsLyXText for all
8727 (getParFromID): use ParagraphList iterators
8729 * BufferView2.C (lockInset): use paragraph list and iterators
8731 2002-08-14 John Levon <levon@movementarian.org>
8733 * lyxserver.C: remove spurious xforms include
8735 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8737 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8739 2002-08-13 André Pönitz <poenitz@gmx.net>
8742 * lyxfunc.C: further cleaning
8744 2002-08-13 André Pönitz <poenitz@gmx.net>
8746 * funcrequest.h: new constructor
8748 * funcrequest.C: move stuff here from .h
8751 * BufferView_pimpl.C:
8754 * lyxfunc.C: subsequent changes
8756 * lyxfunc.h: new view() member function
8758 * lyxfunc.C: subsequent changes
8760 2002-08-13 Angus Leeming <leeming@lyx.org>
8763 * BufferView_pimpl.C:
8771 changes due to the changed LyXView interface that now returns references
8772 to member variables not pointers.
8774 2002-08-13 Angus Leeming <leeming@lyx.org>
8776 * WordLangTuple (word, lang_code): return references to strings,
8781 * lyxtext.h: forward-declare WordLangTuple.
8786 * text.C: #include "WordLangTuple.h".
8789 * text.C: (selectNextWordToSpellcheck): constify return type.
8791 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8797 * paragraph_pimpl.h:
8800 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8802 Made updateCounter always count from start of buffer, and removed
8803 second argument (par).
8804 Reverted floats number display to '#'. Perhaps I'll try again when the
8805 code base is sanitized a bit.
8807 2002-08-12 Angus Leeming <leeming@lyx.org>
8809 * buffer.[Ch] (getLabelList): constify.
8811 2002-08-07 André Pönitz <poenitz@gmx.net>
8813 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8815 * funcrequest.h: extension to keep mouse (x,y) position
8817 2002-08-12 Juergen Vigna <jug@sad.it>
8819 * BufferView2.C (insertErrors): forbid undo when inserting error
8822 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8824 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8826 * ParagraphList.[Ch]: new files
8828 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8830 * BufferView2.C (lockInset): ParagraphList changes
8833 * bufferlist.C: ditto
8837 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8839 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8840 unused class variable counter_,
8842 * paragraph.[Ch] (getFirstCounter): delete unused function
8844 * counters.C: include LAssert.h
8845 (reset): add a new function with no arg, change other version to
8846 not have def. arg and to not allow empty arg.
8848 * text2.C (setCounter): remove empty arg from call to Counters::reset
8850 2002-08-11 John Levon <levon@movementarian.org>
8852 * Makefile.am: add WordLangTuple.h
8854 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8856 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8857 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8859 * insets/insettext.C: InsetList changes
8861 * graphics/GraphicsSupport.C (operator()): InsetList changes
8863 * toc.C (getTocList): InsetList changes
8865 * paragraph_pimpl.[Ch]: InsetList changes
8867 * paragraph.[Ch]: InsetList changes
8869 * buffer.C (inset_iterator): InsetList changes
8870 (setParagraph): ditto
8871 * buffer.h (inset_iterator): ditto
8872 * iterators.C (operator++): ditto
8873 * iterators.h: ditto
8875 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8877 * InsetList.[Ch]: new files, most InsetList handling moved out of
8880 * BufferView2.C (removeAutoInsets): InsetList changes
8882 (ChangeInsets): ditto
8884 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8886 * paragraph_pimpl.h (empty): new function
8888 * paragraph.[Ch] (empty): new function
8890 * other files: use the new Paragraph::empty function
8892 2002-08-09 John Levon <levon@movementarian.org>
8894 * lyxtext.h: remove unused refresh_height
8896 2002-08-09 John Levon <levon@movementarian.org>
8903 * paragraph.C: move sgml char escaping out of paragraph
8906 * paragraph.C: remove id setter
8910 * paragraph_pimpl.C: remove dead tex_code_break_column
8912 * bufferview_funcs.C: small cleanup
8914 * lyxfunc.C: remove dead proto
8916 * lyxtext.h: make some stuff private. Remove some dead stuff.
8918 * lyxgluelength.C: make as[LyX]String() readable
8920 2002-08-08 John Levon <levon@movementarian.org>
8925 * ToolbarDefaults.C:
8928 * toc.C: lyxaction cleanup
8930 2002-08-08 John Levon <levon@movementarian.org>
8932 * BufferView2.C: small cleanup
8935 * lyxfind.C: move unnecessary header into the .C
8937 2002-08-08 John Levon <levon@movementarian.org>
8939 * funcrequest.h: just tedious nonsense
8942 * lyx_main.C: cleanups
8945 * vspace.C: remove dead header lyx_main.h
8947 2002-08-07 Angus Leeming <leeming@lyx.org>
8950 * paragraph_pimpl.h:
8951 Forward declare class Counters in paragraph.h by moving the ctrs member
8952 variable into Paragraph::Pimpl.
8953 (counters): new method, returning a reference to pimpl_->ctrs.
8955 * text2.C: ensuing changes.
8957 2002-08-07 John Levon <levon@movementarian.org>
8959 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8961 * BufferView_pimpl.C: announce X selection on double/triple
8964 * lyx_main.C: use correct bool in batch dispatch
8966 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8968 2002-08-07 André Pönitz <poenitz@gmx.net>
8970 * funcrequest.h: new class to wrap a kb_action and its argument
8973 * BufferView_pimpl[Ch]:
8977 * lyxrc.C: subsequent changes
8980 2002-08-07 John Levon <levon@movementarian.org>
8982 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8983 document options change.
8985 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8990 * makefile.am: move counters functionality over from
8991 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8993 2002-08-06 John Levon <levon@movementarian.org>
8995 * WordLangTuple.h: new file for word + language code tuple
9006 * BufferView2.C: use WordLangTuple
9009 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9011 2002-08-06 John Levon <levon@movementarian.org>
9013 * lyx_main.C: fix cmdline batch handling
9015 2002-08-06 André Pönitz <poenitz@gmx.net>
9017 * lyxrc.C: set default for show_banner to true
9019 2002-08-06 John Levon <levon@movementarian.org>
9021 * pspell.C: fix a crash, and allow new aspell to work
9023 2002-08-06 John Levon <levon@movementarian.org>
9026 * kbmap.C: small cleanup
9029 * vspace.C: add const
9031 2002-08-05 John Levon <levon@movementarian.org>
9033 * LyXAction.C: back to tabular-insert
9035 2002-08-04 John Levon <levon@movementarian.org>
9038 * BufferView.C: cosmetic change
9040 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9050 * BufferView2.C: purge all "Lyx" not "LyX" strings
9053 * lyxcursor.C: attempt to add some documentation
9058 * ToolbarDefaults.C:
9059 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9060 merge with LFUN_TABULAR_INSERT
9067 * pspell.C: split up i/pspell implementations into separate
9068 files, many cleanups
9070 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9072 * text2.C: some cleanup
9074 * lyxfunc.C: don't check for isp_command == "none" any more, it
9075 didn't make any sense
9077 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9082 * makefile.am: move counters functionality over
9083 from text2.C/paragraph.[Ch] to counters.[Ch], and
9085 2002-08-02 John Levon <levon@movementarian.org>
9087 * buffer.C: s/lyxconvert/lyx2lyx/
9089 2002-08-02 Angus Leeming <leeming@lyx.org>
9091 * lyxlex.C: revert John's change as it breaks reading of the user
9094 2002-08-02 Angus Leeming <leeming@lyx.org>
9096 * importer.C (Import):
9097 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9098 changes due to LyXView::view() now returning a boost::shared_ptr.
9100 2002-08-02 John Levon <levon@movementarian.org>
9102 * lyxlex.C: small cleanup
9104 2002-08-02 John Levon <levon@movementarian.org>
9106 * text2.C (status): small cleanup, no logic change
9108 2002-08-01 John Levon <levon@movementarian.org>
9111 * buffer.C (writeFile): don't output alerts, caller
9115 * lyx_cb.C: from above
9117 * lyxfunc.C: allow to open non-existent files
9119 2002-07-31 John Levon <levon@movementarian.org>
9121 * lyxserver.C: don't let incidental errors get
9124 2002-07-30 John Levon <levon@movementarian.org>
9126 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9128 2002-07-30 John Levon <levon@movementarian.org>
9131 * lyxserver.C: remove I/O callback too
9133 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9135 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9138 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9140 * many files: strip,frontStrip -> trim,ltrim,rtrim
9142 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9144 * PrinterParams.h: remove extern containsOnly, and include
9145 support/lstrings.h instead.
9147 * LaTeX.C (scanAuxFile): modify because of strip changes
9149 * buffer.C (makeLaTeXFile): ditto
9150 * bufferparams.C (writeFile): ditt
9151 * lyxfont.C (stateText): ditto
9152 * lyxserver.C (read_ready): ditto
9153 * vc-backend.C (scanMaster): ditto
9155 * BufferView_pimpl.h: ws changes
9157 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9159 2002-07-26 André Pönitz <poenitz@gmx.net>
9161 * kb_sequence.C: remove unnedred usings
9163 2002-07-26 Juergen Vigna <jug@sad.it>
9165 * lyxfind.C (LyXReplace): we have to check better if the returned
9166 text is not of theLockingInset()->getLockingInset().
9168 2002-07-25 Juergen Vigna <jug@sad.it>
9170 * lyxfind.C (LyXReplace): don't replace if we don't get the
9173 * undo_funcs.C (createUndo): remove debugging code.
9175 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9177 * buffer.C (parseSingleLyXformat2Token): Use default placement
9178 when reading old floats.
9180 * FloatList.C (FloatList): Change the default placement of figure
9181 and tables to "tbp".
9183 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9185 * MenuBackend.C: using std::max
9187 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9189 * MenuBackend.C (expandToc):
9190 (expandToc2): code moved from xforms menu frontend. It is now
9191 generic and TOCs are transparent to menu frontends.
9193 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9195 * toc.C (getTocList): protect against buf=0
9197 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9198 Menu as first parameter. Now, this calls itself recursively to
9199 expand a whole tree (this will be useful for TOC handling)
9200 (expandFloatInsert): remove 'wide' version of floats
9202 * MenuBackend.h (submenuname): returns the name of the submenu.
9203 (submenu): returns the submenu itself, provided it has been
9204 created by MenuBackend::expand
9206 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9208 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9209 insets which have noFontChange == true. (bug #172)
9211 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9213 * BufferView_pimpl.C: add connection objects and use them...
9216 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9218 * MenuBackend.C (expandLastfiles):
9221 (expandFloatListInsert):
9222 (expandFloatInsert):
9223 (expand): split expand in parts
9225 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9227 * lyx_gui.C: use lyx_gui::exit()
9229 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9231 * LyXAction.C: show the failing pseudo action
9233 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9235 * buffer.C (readFile): Run the lyxconvert script in order to read
9238 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9242 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9244 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9248 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9250 2002-07-22 Herbert Voss <voss@lyx.org>
9253 * lyxlength.[Ch]: add support for the vertical lengths
9255 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9257 * toc.[Ch]: std:: fixes
9259 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9261 * lyxrc.C: do not include lyx_main.h
9263 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9269 * BufferView2.C: include "lyxlex.h"
9272 * bufferparams.h: do not #include "lyxlex.h"
9274 * lyxtextclasslist.C (Add): remove method
9275 (classlist): renamed to classlist_
9277 * paragraph_pimpl.C:
9281 * bufferview_funcs.C:
9286 * toc.C (getTocList): use BufferParams::getLyXTextClass
9288 * toc.C (getTocList): use InsetFloat::addToToc
9290 * toc.[Ch]: new files, containing helper functions to handle table
9293 * lyxfunc.C (dispatch): no need to remove spaces around command
9295 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9296 first command of the sequence; it is not very clever, but I do not
9297 have a better idea, actually
9299 * LyXAction.C (LookupFunc): make sure to remove space at the
9300 beginning and end of the command
9302 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9304 * MenuBackend.C (getMenubar): new method: return the menubar of
9306 (read): treat differently reading of menu and menubar (in
9307 particular, the menubar has no name now)
9308 (Menu::menubar): remove
9310 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9313 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9315 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9316 a bibitem inset in a RTL paragraph.
9318 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9320 * paragraph_pimpl.C: constify
9322 * BufferView_pimpl.C:
9324 * lyxfunc.C: fix dispatch in a nicer way
9326 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9328 * lyxfunc.C (dispatch):
9329 * BufferView_pimpl.C:
9330 * BufferView_pimpl.h:
9332 * BufferView.h: rename Dispatch() to dispatch()
9334 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9336 * lyxlayout.C (Read): honor DependsOn tag
9338 * lyxlayout.[Ch] (depends_on): new method
9340 * version.C.in: update lyx_docversion
9342 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9344 * paragraph.C (validate): remove from here...
9345 * paragraph_pimpl.C (validate): ... and move here
9346 (isTextAt): make it const
9348 * buffer.C (getLists): ws cleanup
9350 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9352 * language.C (read): Use iso8859-1 encoding in latex_lang
9353 (this prevents LyX from crashing when using iso10646-1 encoding).
9355 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9357 * text2.C (toggleInset): if cursor is inside an inset, close the
9358 inset and leave cursor _after_ it
9360 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9362 * lyxfunc.C: move minibuffer completion handling out of here
9364 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9366 * BufferView_pimpl.C:
9367 * LaTeX.C: fix dispatch calls
9369 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9371 * text.C (drawChars): Fix Arabic text rendering.
9373 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9377 * lyxfunc.C: remove message-push/pop
9381 * lyxfunc.C: rationalise some code by removing verboseDispatch
9382 in favour of a bool argument to dispatch()
9384 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9386 * lyx_main.C (init): make sure to read symlinks as absolute paths
9388 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9391 * lyxfunc.C: no need for commandshortcut to be a member
9393 2002-07-15 André Pönitz <poenitz@gmx.net>
9395 * converter.C: add support for $$s (scripts from lib/scripts dir)
9396 * lyx_main.C: white space
9398 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9402 * lyxrc.C: remove second exit confirmation
9404 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9409 * BufferView_pimpl.h:
9410 * BufferView_pimpl.C:
9411 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9413 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9415 * MenuBackend.C (expand): add numeric shortcuts to document menu
9417 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9419 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9421 * lyxfont.C (setLyXFamily):
9428 * buffer.C (asciiParagraph): use ascii_lowercase
9430 2002-07-15 Mike Fabian <mfabian@suse.de>
9432 * lyxlex_pimpl.C (search_kw):
9433 * lyxlex.C (getLongString):
9434 * converter.h (operator<):
9435 * converter.C (operator<):
9436 * buffer.C (parseSingleLyXformat2Token):
9438 * ToolbarDefaults.C (read):
9439 * MenuBackend.C (checkShortcuts):
9441 * LColor.C (getFromGUIName):
9442 (getFromLyXName): use the compare_ascii_no_case instead of
9443 compare_no_case, because in turkish, 'i' is not the lowercase
9444 version of 'I', and thus turkish locale breaks parsing of tags.
9446 2002-07-16 Angus Leeming <leeming@lyx.org>
9448 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9449 now takes a Buffer const & argument.
9451 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9453 * BufferView.C (resize): check there's a buffer to resize
9455 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9457 * lyxfunc.C: remove dead code
9460 * lyxserver.C: use lyx_guii::set_read_callback
9462 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9464 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9465 an inset in a RTL paragraph.
9467 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9469 * lyxfunc.C: repaint after a font size update
9471 2002-07-15 André Pönitz <poenitz@gmx.net>
9473 * lyxlength.C: inBP should be able to return negative values
9475 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9477 * lyxfunc.C: use lyx_gui::update_fonts()
9479 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9481 * lyxfunc.C: use lyx_gui::update_color()
9483 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9489 * lyxrc.C: remove file->new asks for name option, and let
9490 buffer-new take an argument
9492 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9494 * BufferView_pimpl.C: remove unneeded extra repaint()
9496 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9498 * LyXAction.C: allow command-sequence with NoBuffer
9500 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9502 2002-07-10 Angus Leeming <leeming@lyx.org>
9504 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9506 2002-07-09 Angus Leeming <leeming@lyx.org>
9508 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9510 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9512 * lengthcommon.h: whitespace
9514 * lyxfunc.C: update scrollbar after goto paragraph
9516 * lyxtext.h: factor out page break drawing, and fix it so
9517 page break/added space paints as selected nicely
9519 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9521 * BufferView_pimpl.C: add FIXMEs, clean up a little
9523 2002-07-09 André Pönitz <poenitz@gmx.net>
9525 * lyxfont.[Ch]: support for wasy symbols
9527 2002-07-08 André Pönitz <poenitz@gmx.net>
9529 * BufferView_pimpl.C: apply John's patch for #93.
9531 2002-07-05 Angus Leeming <leeming@lyx.org>
9533 * BufferView_pimpl.C (buffer): generate previews if desired.
9535 * LColor.h: add "preview" to the color enum.
9537 * LColor.C (LColor): add a corresponding entry to the items array.
9539 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9542 2002-07-05 Angus Leeming <leeming@lyx.org>
9544 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9545 The body of the code is now in the method that is passed an ostream &
9546 rather than a file name.
9547 Pass an additional only_preamble parameter, useful for the forthcoming
9550 2002-07-03 André Pönitz <poenitz@gmx.net>
9552 * lyxfunc.C: simplify getStatus() a bit for math stuff
9554 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9556 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9558 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9560 * text.C (changeRegionCase): do not change case of all the
9561 document when region ends at paragraph end (bug #461)
9563 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9565 * paragraph.C (startTeXParParams):
9566 (endTeXParParams): add \protect when necessary
9568 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9570 * BufferView_pimpl.C (workAreaExpose): remove warning
9572 2002-06-27 Angus Leeming <leeming@lyx.org>
9574 * Makefile.am: add lyxlayout_ptr_fwd.h.
9576 2002-06-26 André Pönitz <poenitz@gmx.net>
9578 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9580 2002-06-25 Angus Leeming <leeming@lyx.org>
9582 * lyxfunc.C (dispatch): Comment out the call to
9583 grfx::GCache::changeDisplay. The method no longer exists now that the
9584 pixmap generation part of the graphics loader has been moved into
9587 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9589 * text2.C: layout as layout
9591 * text.C: layout as layout
9593 * tabular.C (OldFormatRead): layout as layout
9595 * paragraph_pimpl.C (TeXDeeper): layout as layout
9596 (realizeFont): layout as layout
9598 * paragraph.C (writeFile): layout as layout
9599 (validate): layout as layout
9600 (getFont): layout as layout
9601 (getLabelFont): layout as layout
9602 (getLayoutFont): layout as layout
9603 (breakParagraph): layout as layout
9604 (stripLeadingSpaces): layout as layout
9605 (getEndLabel): layout as layout
9606 (getMaxDepthAfter): layout as layout
9607 (applyLayout): layout as layout
9608 (TeXOnePar): layout as layout
9609 (simpleTeXOnePar): layout as layout
9610 (TeXEnvironment): layout as layout
9611 (layout): layout as layout
9612 (layout): layout as layout
9614 * lyxtextclass.C (compare_name): new functor to work with
9615 shared_ptr, layout as layout
9616 (Read): layout as layout
9617 (hasLayout): layout as layout
9618 (operator): layout as layout
9619 (delete_layout): layout as layout
9620 (defaultLayout): layout as layout
9622 * lyxlayout_ptr_fwd.h: new file
9624 * lyxlayout.C (Read): layout as layout
9626 * lyx_cb.C (MenuInsertLabel): layout as layout
9628 * bufferlist.C (newFile): layout as layout
9630 * buffer.C (readLyXformat2): layout as layout
9631 (parseSingleLyXformat2Token): layout as layout
9632 (insertStringAsLines): layout as layout
9633 (asciiParagraph): layout as layout
9634 (latexParagraphs): layout as layout
9635 (makeLinuxDocFile): layout as layout
9636 (simpleLinuxDocOnePar): layout as layout
9637 (makeDocBookFile): layout as layout
9638 (simpleDocBookOnePar): layout as layout
9639 (getLists): layout as layout
9641 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9643 * CutAndPaste.C (cutSelection): layout as layout
9644 (pasteSelection): layout as layout
9645 (SwitchLayoutsBetweenClasses): layout as layout
9647 * BufferView_pimpl.C (Dispatch): layout as layout
9648 (smartQuote): layout as layout
9650 * BufferView2.C (unlockInset): layout as layout
9652 2002-06-24 André Pönitz <poenitz@gmx.net>
9654 * lyxfunc.C: fix #487
9656 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9660 * lyxfunc.C: remove display_shortcuts, show_banner
9662 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9664 * Buffer_pimpl.C: oops, update on resize
9666 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9673 * BufferView.C: use repaint()
9675 * BufferView_pimpl.h:
9676 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9677 as it's a clearer description. Remove superfluous
9680 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9682 * text.C: fix bug 488. Not ideal, but getting
9683 getWord() to work properly for the insets that
9684 matter is more difficult ...
9686 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9688 * BufferView_pimpl.C:
9691 * lyxfunc.C: remove the six million index lyxfuncs to just
9692 one, and DTRT (bug 458)
9694 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9698 * BufferView_pimpl.h:
9699 * BufferView_pimpl.C: clean up resize() stuff,
9700 and unnecessary updateScreen()s
9702 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9706 * BufferView_pimpl.h:
9707 * BufferView_pimpl.C:
9710 * minibuffer.C: remove focus management of workarea,
9711 not needed. Use screen's greyOut()
9713 2002-06-17 Herbert Voss <voss@lyx.org>
9715 * converter.C: (convert) do not post a message, when converting
9716 fails, let the calling function decide what to do in this case
9718 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9720 * lyxfunc.C: tidy up a little
9722 2002-06-16 <alstrup@diku.dk>
9724 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9725 Got rid of FORMS_H_LOCATION include. Now we are
9728 2002-06-15 LyX Development team <lyx@rilke>
9730 * buffer.[Ch] (sgmlOpenTag):
9731 (sgmlCloseTag): Added support for avoiding pernicious mixed
9732 content. Return number of lines written.
9735 (makeDocBookFile): Fixed calls to sgml*Tag.
9736 Simple white space clean.
9738 (simpleDocBookOnePar): Simple white space clean.
9740 * tabular.[Ch] (docBook): Renamed to docbook and got another
9741 argument to related with the pernicious mixed content.
9743 (docbookRow): Fixed calls for docbook inset method.
9745 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9747 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9748 so it's X11 independent.
9752 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9754 2002-06-15 Lyx Development team <lyx@electronia>
9756 * intl.h: Renamed getTrans to getTransManager.
9758 2002-06-14 Angus Leeming <leeming@lyx.org>
9760 * Makefile.am: nuke forgotten stl_string_fwd.h.
9762 2002-06-12 Angus Leeming <leeming@lyx.org>
9764 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9766 2002-06-13 Angus Leeming <leeming@lyx.org>
9769 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9771 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9773 * kbmap.C (getiso): add support for cyrillic and greek
9775 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9779 * BufferView_pimpl.h:
9780 * BufferView_pimpl.C: move bogus scrolling logic
9783 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9786 * BufferView_pimpl.C: view->resize() change
9788 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9790 * BufferView_pimpl.C: topCursorVisible
9793 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9797 * lyx_gui.C: move to frontends/
9801 * lyx_main.C: changes from above
9803 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9810 * lyx_main.C: minor tidy
9812 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9814 * BufferView_pimpl.h:
9815 * BufferView_pimpl.C:
9817 * BufferView.C: make painter() const,
9820 * BufferView2.C: use screen() accessor
9823 * lyx_main.C: some minor cleanup
9825 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9827 * BufferView_pimpl.h:
9828 * BufferView_pimpl.C: remove enter/leaveView,
9831 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9836 * BufferView_pimpl.h:
9837 * BufferView_pimpl.C: only construct screen once,
9840 * lyxrc.C: remove pointless comment
9842 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9845 * BufferView.C: remove active() and belowMouse()
9847 * BufferView_pimpl.h:
9848 * BufferView_pimpl.C: use workarea() not workarea_,
9849 and make it use a scoped_ptr instead
9851 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9853 * lyx_gui.C: add debug message on BadWindow
9855 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9857 * sp_spell.C: fdopen is not part of the C++ standard.
9859 * paragraph.C (InsetIterator): use >= instead of ==
9861 2002-06-07 Angus Leeming <leeming@lyx.org>
9863 Fixes needed to compile with Compaq cxx 6.5.
9864 * BufferView_pimpl.C:
9871 * lyxtextclasslist.C:
9876 all c-library variables have been moved into namespace std. Wrap
9877 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9882 Add a using std::abs declaration.
9884 * kbmap.h (modifier_pair):
9885 * paragraph.h (InsetTable, InsetList):
9886 * lyxfont.h (FontBits):
9887 type definition made public.
9889 * bufferlist.C (emergencyWriteAll): the compiler complains that
9890 there is more than one possible lyx::class_fun template to choose from.
9891 I re-named the void specialisation as lyx::void_class_fun.
9893 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9895 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9896 the compiler is is unable to find tostr in write_attribute.
9898 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9900 * buffer.C (sgmlError): hide #warning
9902 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9904 * xtl/*: get rid of xtl, which is not in use anyway
9906 * LyXAction.C (init):
9907 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9908 were unimplemented xtl experimentation
9910 2002-06-04 André Pönitz <poenitz@gmx.net>
9912 * lyxfunc.C: disable array operation on simple formulae
9914 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9916 * converter.C: constify a bit
9918 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9920 * lyx_gui.C: check xforms version correctly
9922 2002-04-30 Herbert Voss <voss@lyx.org>
9924 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9927 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9929 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9930 attempt to register it with a VCS)
9932 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9934 * lyx_main.C (init): honor variables LYX_DIR_13x and
9937 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9941 * lyx_main.C: fix a crash on bad command line,
9942 and give a useful exit status on error
9944 * lyxfunc.C (doImport): allow -i lyx to work
9946 2002-03-30 André Pönitz <poenitz@gmx.net>
9948 * lyxfunc.C: mathed font changes
9950 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9965 * trans_mgr.h: srcdocs, and some minor cleanups
9967 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9969 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9970 call getFont all the time)
9972 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9974 * switch from SigC signals to boost::signals
9976 2002-05-29 André Pönitz <poenitz@gmx.net>
9978 * paragraph_pimpl.C (getChar): don't call size() too often...
9980 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9982 * paragraph_pimpl.C (insertChar): do not try to update tables when
9983 appending (pos == size())
9985 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9986 in order to reduce drastically the number of comparisons needed to
9987 parse a large document
9989 2002-05-29 André Pönitz <poenitz@gmx.net>
9995 * textclasslist.[Ch]:
9996 * sp_ispell.h: whitespace change
9998 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10000 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10001 lyxaction directly now.
10003 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10007 * lyxvc.C: remove unused headers
10009 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10016 * undo_funcs.C: some cleanups. Use shared_ptr
10017 and a template for the undo stacks.
10019 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10021 * BufferView_pimpl.h:
10022 * BufferView_pimpl.C:
10029 * text2.C: use key_state/mouse_state
10031 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10033 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10036 * chset.C: change include order
10037 (loadFile): use boost regex and get rid of LRegex and LSubstring
10039 * Makefile.am (BOOST_LIBS): new variable
10040 (lyx_LDADD): use it
10042 * LaTeX.C: change include order.
10043 (scanAuxFile): use boost regex and get rid of LRegex and
10047 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10052 * FontInfo.C: moved to frontends/xforms/
10055 * FontLoader.C: moved into frontends for GUIIzation
10060 * lyxfunc.C: changes from above
10062 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10064 * LColor.C: remove spurious X include
10066 * BufferView_pimpl.C:
10071 * text2.C: move font metrics to frontends/
10073 2002-05-24 Juergen Vigna <jug@sad.it>
10075 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10076 setting the undo_cursor.
10078 * ParagraphParameters.h: include local includes first.
10080 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10082 * BufferView_pimpl.C:
10083 * BufferView_pimpl.h:
10087 * screen.C: move WorkArea into frontends/
10093 * BufferView2.C: move LyXScreen into frontends/
10097 * lyx_gui.C: move lyxlookup into frontends/xforms/
10099 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10102 * BufferView_pimpl.C:
10112 * bufferview_funcs.C:
10125 * vc-backend.C: move LyX/XFormsView into frontends/
10127 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10139 * text2.C: move Painter to frontends/
10141 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10143 * buffer.C: comment out some some code that depend upon lyx_format
10146 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10147 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10149 * buffer.h (NO_COMPABILITY): turn off compability
10151 * ColorHandler.C: include scoped_array.hpp
10153 * font.C: Use more specific smart_ptr header.
10156 * ShareContainer.h: ditto
10157 * lyx_main.h: ditto
10159 * FontInfo.h: ditto
10160 * BufferView_pimpl.h: ditto
10161 * ColorHandler.h: ditto
10163 * kbmap.C (defkey): change call to shared_ptr::reset
10165 2002-05-21 Juergen Vigna <jug@sad.it>
10167 * buffer.C (insertErtContents): fix to insert ert asis if it is
10168 non empty. Skip it completely if it contains only whitespaces.
10170 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10172 * BufferView_pimpl.C:
10173 * BufferView2.C: clear selection on paste (bug 393)
10175 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10177 * DepTable.C: include ctime
10179 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10181 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10183 2002-05-14 Juergen Vigna <jug@sad.it>
10185 * text.C (breakParagraph): fixed function to honor the keepempty
10186 layout in the right maner and also to permit the right breaking
10187 algorithm on empty or non empyt keepempty paragraphs.
10189 * paragraph.C (breakParagraph): we have to check also if the par
10190 is really empty (!size()) for isempty otherwise we do the wrong
10193 2002-05-10 Juergen Vigna <jug@sad.it>
10195 * buffer.[Ch] : The following are only changes to the ert
10196 compatibility read reading old LaTeX layout and font stuff and
10197 convert it to ERTInsets.
10199 * buffer.h: added isErtInset().
10201 * buffer.C (struct ErtComp): add a fromlayout bool to check
10202 if we're inside a LaTeX layout.
10203 (isErtInset): new helper function.
10204 (insertErtContents): look for other ert insets before this one
10205 and insert the contents there, so that we don't have subsequent
10206 ERT insets with nothing between them. This way we create only one
10207 inset with multiple paragraphs. Also check if we don't insert only
10208 spaces ' ' as they are ignored anyway afterwards in the .tex file
10209 so if we have only spaces we will ignore this latex part in the
10211 (parseSingleLyXformat2Token \\layout): better compatibility when
10212 reading layout-latex stuff.
10213 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10215 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10216 stuff after reading the inset only get the information back from
10219 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10221 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10223 * LaTeXFeatures.C (getBabelOptions): New method.
10225 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10227 * BufferView_pimpl.C (Dispatch): work around missing argument for
10230 2002-05-08 Juergen Vigna <jug@sad.it>
10232 * text.C (leftMargin): handle paragraph leftindent.
10234 * paragraph.C (writeFile): write the new \\leftindent tag.
10235 (validate): handle leftindent code.
10236 (TeXEnvironment): handle paragraphleftindent code again.
10238 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10240 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10241 for paragrap_extra indent code and new token \\leftindent.
10242 (latexParagraphs): handle the leftindent as environment.
10244 * ParameterStruct.h: added leftindent support.
10246 * ParagraphParameters.C (leftIndent): added support functions for
10247 the paragraph left indent.
10249 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10252 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10254 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10257 * text.C (computeBidiTables): No bidi in insetERT.
10259 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10262 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10264 * version.C.in: pre 5
10266 2002-05-02 José Matos <jamatos@fep.up.pt>
10267 * buffer.C (makeDocBookFile): white space changes, add newline to
10269 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10271 * tabular.C (docBook): fix typo.
10273 2002-05-03 Juergen Vigna <jug@sad.it>
10275 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10276 change in LyXText as we can not be sure it was not freed.
10277 (drawOneRow): remove unused code.
10279 * text.C (drawInset): redo the calculation of the need_break_row as
10280 it could have a row which was already freed.
10281 (draw): look at the return value of drawInset and return false if
10282 it also returned false.
10283 (paintRowText): look at the return value of draw and return false if
10284 it also returned false.
10286 * lyxtext.h: added bool return type to drawInset() and draw() so that
10287 if we have a change in the row so that the rowbreak has to be redone
10288 we abort drawing as it will be called again.
10290 2002-05-02 Juergen Vigna <jug@sad.it>
10292 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10293 a change in the maintext also if we're inside an inset.
10294 (Dispatch): set the cursor again after a break line and after the
10295 screen has been updated as it could be we're in a different row.
10297 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10298 to set the cursor behind the pargraph with > size().
10299 (setCursor): check also for the same paragraph when checking where
10300 to put the cursor if we have a NFR inset.
10302 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10303 parts of layout read further up as it still was in the wrong
10306 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10308 * screen.C (drawFromTo): change sine fullRebreak always return
10311 * buffer.C (parseSingleLyXformat2Token): reindent some
10313 * BufferView_pimpl.C (update): change since fullRebreak always
10315 (Dispatch): git rid of the last hardcoded "Standard"s.
10317 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10319 * text2.[Ch] (fullRebreak): make it return void now that we always
10322 2002-04-30 Juergen Vigna <jug@sad.it>
10324 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10325 ert compatibility check for "latex" layout.
10327 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10329 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10330 minipages: use col% instead of p%, and also use the current font.
10331 (makeLaTeXFile): Fix use babel condition.
10332 (parseSingleLyXformat2Token): Correct font when reading old floats.
10334 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10336 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10337 inserting list of floats.
10339 2002-04-25 Herbert Voss <voss@lyx.org>
10341 * MenuBackend.C (expand): don't add the graphics extensions to the
10344 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10346 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10347 non-existing layout, do not complain if it was the default layout
10348 of the original class (bug #342)
10350 2002-04-24 Juergen Vigna <jug@sad.it>
10352 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10353 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10355 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10357 * buffer.C (getBibkeyList): If using \bibliography, return the
10358 option field with the reference itself. Enables us to provide natbib
10359 support when using \bibliography.
10361 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10363 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10365 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10366 natbib is provided by the LaTeX class.
10368 2002-04-23 Juergen Vigna <jug@sad.it>
10370 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10373 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10375 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10377 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10379 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10380 ensuremath around textordmasculine, textordfeminine and
10383 2002-04-19 Juergen Vigna <jug@sad.it>
10385 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10386 reinitializing the buffer otherwise row-dimensions may be wrong.
10387 (update): reset also the selection cursors if they do exits otherwise
10388 their x/y positions may be wrong.
10390 * text2.C (cursorDown): don't enter the inset if we came from a row
10391 above and are one row over the inset.
10393 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10394 really leaving an inset.
10396 2002-04-18 Juergen Vigna <jug@sad.it>
10398 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10399 of the selected paragraph does not have the selected layout also if
10402 * text2.C (setLayout): fixed bug which did not change last selected
10405 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10406 changed the read and substituted \\end_float with \\end_inset!
10408 * BufferView_pimpl.C (cursorPrevious):
10409 (cursorNext): fixed to make it work with rows heigher than the work
10410 area without moving the cursor only the draw of the row.
10411 (workAreaMotionNotify): fix jumping over high rows.
10413 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10415 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10418 2002-04-16 Juergen Vigna <jug@sad.it>
10420 * text2.C (setCursor): set also the irow().
10421 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10423 (cursorDown): support for locking an inset if the x_fix value goes
10424 inside it. That way I can transverse insets too with cursor up/down.
10426 * lyxrow.h: added irow helper function same as other (i) functions.
10428 * BufferView_pimpl.C (cursorPrevious):
10429 (cursorNext): fixed for insets!
10431 2002-04-15 Juergen Vigna <jug@sad.it>
10433 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10434 position otherwise it is wrong in some cases.
10436 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10437 inside the inset before the call.
10439 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10441 * buffer.[Ch] (getBibkeyList): make it const.
10443 2002-04-12 Juergen Vigna <jug@sad.it>
10445 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10447 * text2.C (getCursorX): new helper function
10448 (setCursor): compute also ix_
10449 (setCursorFromCoordinates): set also ix.
10451 * lyxcursor.h: added ix_ and helper functions.
10453 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10455 * buffer.C (insertStringAsLines): dont break paragraph if the this
10456 paragraph is inside an inset which does not permit it!
10458 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10459 also with no chars on this paragraph.
10460 (paintRowText): only paint stuff if it's inside the workarea!
10462 * paragraph.C (breakParagraph): honor keepempty flag and break the
10463 paragraph always below not above.
10465 * BufferView2.C (unlockInset): update the paragraph layout on inset
10466 unlock as we changed paragraph in such a case.
10468 * lyxfind.C (LyXFind): clear the former selection if not found!
10470 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10471 again called in insertChar().
10473 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10474 an inset which uses the whole row!
10475 (rightMargin): ditto.
10476 (insertChar): force a rebreak if we inserted an inset!
10478 2002-03-28 Herbert Voss <voss@lyx.org>
10480 * lyxlength.[Ch]: add inBP() to get the right PS-point
10481 units (BigPoint). With inPixels we have rounding errors
10483 2002-04-11 Juergen Vigna <jug@sad.it>
10485 * text2.C (setCursorFromCoordinates): set iy to the right value.
10486 (setCursor): add check if row->previous exists!
10488 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10489 an old float_type as this was the case in the old code!
10491 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10493 * BufferView2.C (showLockedInsetCursor): use iy
10494 (fitLockedInsetCursor): ditto
10496 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10497 locked insets as there we have the right value now.
10499 * lyxcursor.C: added iy_ variable and iy functions to set to the
10500 baseline of cursor-y of the locked inset.
10502 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10503 (setCursor): fixed for insets which need a full row.
10505 * text.C (rowLastPrintable): don't ignore the last space when before
10506 an inset which needs a full row.
10507 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10508 as last character of a row when before a inset which needs a full row.
10510 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10512 * version.C.in: update date
10514 * text2.C (fullRebreak): try to always return true and see what
10517 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10519 * MenuBackend.C (expand): use Floating::listName
10521 * FloatList.C (FloatList): add listName argument to the built-in
10524 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10525 text associated with the float.
10527 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10529 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10531 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10533 * ShareContainer.h: add a couple of missing typenames.
10535 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10537 * lyxrc.C (getDescription): use _() correctly rather than N_().
10539 2002-03-28 Herbert Voss <voss@lyx.org>
10541 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10542 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10544 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10546 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10547 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10549 2002-03-29 Juergen Vigna <jug@sad.it>
10551 * lyxfunc.C (dispatch): add a missing fitCursor call.
10553 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10554 it was scrolled by a cursor move, so return the bool status.
10556 * BufferView.C (fitCursor): return the bool flag also to the outside
10557 world as this is needed.
10559 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10561 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10562 call the edit() as it is not needed (and wrong) IMO.
10563 (workAreaButtonPress): set the screen_first variable before evt.
10564 unlock the inset as this may change screen_first and then we have
10565 a wrong y position for the click!
10567 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10569 * MenuBackend.C (expand): another translation that I missed
10571 2002-03-28 Juergen Vigna <jug@sad.it>
10573 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10575 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10577 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10579 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10581 * MenuBackend.C (expand): fix export/view/update when there is no
10584 2002-03-27 Herbert Voss <voss@lyx.org>
10586 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10589 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10591 * bufferview_funcs.C (currentState): only show paragraph number
10592 for is DEVEL_VERSION is set.
10594 * lyxfunc.C (dispatch): put warning in INFO channel
10596 * MenuBackend.C (expand): translate the name of floats
10598 * FloatList.C (FloatList): mark the float names for translation
10600 * converter.C (convert): use LibScriptSearch
10602 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10604 * MenuBackend.C (defaults): fix default menu (we might as well get
10607 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10609 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10612 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10614 * lyxvc.C: reorder includes.
10616 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10618 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10621 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10623 * CutAndPaste.C: change layouts earlier on paste
10624 to avoid crashing when calling getFont()
10626 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10628 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10631 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10633 * WorkArea.C: remove 'Pending' debug message.
10635 * most files: ws cleanup
10637 * buffer.[Ch]: ws changes
10639 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10641 2002-03-21 Juergen Vigna <jug@sad.it>
10643 * tabular.C (SetMultiColumn): collapse also the contents of the
10644 cells and set the last border right. Added a Buffer const * param.
10646 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10648 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10651 2002-03-19 Juergen Vigna <jug@sad.it>
10653 * text2.C (clearSelection): reset also xsel_cache.
10655 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10656 where it needs to be called (John tells us to do so too :)
10657 (selectionLost): reset sel_cache.
10659 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10661 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10663 * text2.C (setCursorIntern): put debuging code in INSETS channel
10665 2002-03-19 André Pönitz <poenitz@gmx.net>
10667 * lyxfunc.C: tiny whitespace change
10669 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10671 * ToolbarDefaults.C (init):
10672 * LyXAction.C (init):
10674 * BufferView_pimpl.C (Dispatch):
10675 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10677 2002-03-19 Allan Rae <rae@lyx.org>
10679 * exporter.C (Export): removeAutoInsets before doing anything else.
10680 While I've just introduced a dependency on BufferView this really is
10681 the best place to clean the buffer otherwise you need to cleanup in
10682 a dozen places before calling export or cleanup in a dozen functions
10685 * converter.C (runLaTeX):
10686 (scanLog): Better handling of removeAutoInsets and screen updates.
10688 * lyxfunc.C (dispatch): small whitespace changes
10690 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10692 * WorkArea.C (C_WorkAreaEvent): return a value.
10693 (event_cb): return 1 if we handled the event, 0 otherwise.
10695 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10697 2002-03-18 Juergen Vigna <jug@sad.it>
10699 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10700 (GetAdditionalWidth): ditto.
10701 (RightLine): ditto.
10704 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10705 inset if we're there actually (probably not used right now but this
10706 is the direction to go for unifying code).
10707 (paste): disable code to clear the selection.
10709 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10710 inside an InsetText and move the check further up as it is in the
10713 * text2.C (pasteSelection): set a selection over the pasted text.
10715 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10717 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10718 and libgraphics to build on Cygwin.
10720 2002-03-15 Juergen Vigna <jug@sad.it>
10722 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10723 inserting an Inset into the paragraph. I know this is not the best
10724 fix but we already use current_view in CutAndPaste so we will remove
10725 all of it's using at the same time.
10727 * buffer.C (sgmlError): deactivated function till it is rewritten in
10728 the right mode, now it can create problems.
10730 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10731 before accessing it.
10733 2002-03-14 Juergen Vigna <jug@sad.it>
10735 * undo_funcs.C (textHandleUndo): do the right thing when updating
10736 the inset after the undo/redo.
10738 * text2.C (setCursor): just some testcode for #44 not ready yet.
10740 * undo_funcs.C (textHandleUndo): set the next() and previous()
10741 pointers of the paragraph to 0 before deleting otherwise we have
10742 problems with the Paragraph::[destructor].
10744 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10745 on a paragraph insertion.
10747 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10749 * buffer.C (asciiParagraph): use += operator for char append to
10752 * paragraph.C (getFontSettings): compare >= not just >
10753 (highestFontInRange): ditto
10756 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10758 * paragraph.C: change several algorithm to be more appripriate for
10759 the problem domain. This is lookip in FontList and in the InsetList.
10761 2002-03-13 André Pönitz <poenitz@gmx.net>
10764 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10766 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10771 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10773 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10775 * Painter.C (display): anon helper function, adjust code for this
10777 (pixmap): remove function.
10779 * Painter.h: remove private display variable.
10781 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10783 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10785 * WorkArea.[Ch]: remove figinset_canvas cruft.
10787 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10789 * lyxtextclass.C (operator): add one item cache optimization.
10791 * bufferlist.h: doxy changes
10793 * bufferlist.C: ws changes
10795 * DepTable.[Ch] (ext_exist): place const in the right spot.
10797 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10799 (workAreaExpose): call resizeInsets when the with BufferView changes.
10800 (Dispatch): adjust for protectedBlank removal
10801 (specialChar): call updateInset if the insert went ok.
10803 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10804 specialChar instead.
10806 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10808 * BufferView.h: doxy change
10810 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10812 * lyxtextclass.C (operator[]): remove non-const version
10813 (defaultLayout): remove non-const version
10815 2002-03-12 Juergen Vigna <jug@sad.it>
10817 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10818 did resize the LyXText too.
10820 * buffer.C (readLyXformat2): set layout information on newly allocated
10823 * tabular.C (OldFormatRead): set layout information on the paragraph.
10825 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10827 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10829 2002-03-11 Juergen Vigna <jug@sad.it>
10831 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10833 (resizeCurrentBuffer): force also the insets to resize themselfes.
10834 (moveCursorUpdate): fixed up for InsetText.
10836 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10839 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10840 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10841 value of Dialogs::tooltipsEnabled().
10842 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10844 2002-03-08 Juergen Vigna <jug@sad.it>
10846 * BufferView_pimpl.C (updateInset): update inset inside inset also
10847 if it isn't inside theLockingInset().
10849 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10851 * buffer.C (asciiParagraph): redo some of the word and line length
10853 (getLists): look for Caption instead of caption.
10855 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10857 * buffer.C (Buffer): initialize niceFile to true
10859 (makeLinuxDocFile):
10860 (makeDocBookFile): make sure niceFile is true on exit
10862 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10864 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10866 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10868 * LyXSendto.C: remove.
10869 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10870 * lyx_gui.C: remove now-redundant comment.
10871 * ColorHandler.h: remove forward declaration of class WorkArea.
10872 * lyxfunc.C: remove #include "WorkArea.h".
10874 2002-03-07 Juergen Vigna <jug@sad.it>
10876 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10877 got moved away with the DEPM and also set the inset_owner always
10878 right which before could have been omitted.
10880 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10882 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10883 wanted layout is not found.
10885 2002-03-07 Juergen Vigna <jug@sad.it>
10887 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10889 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10891 * paragraph.C (breakParagraph): use default layout not layout of
10893 (Paragraph): clear ParagraphParameters.
10895 2002-03-06 Juergen Vigna <jug@sad.it>
10897 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10898 otherwise it would not be a valid lenght. Fixed a special case in
10899 the minipage compatibility read where we end the document with a
10902 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10903 was set as it could be 0 for InsetTexts first entry.
10905 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10907 * paragraph.C (writeFile): if layout is empty write out
10908 defaultLayoutName().
10910 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10911 file without named layout we set layout to defaultLayoutName().
10913 2002-03-06 Juergen Vigna <jug@sad.it>
10915 * CutAndPaste.C (copySelection): set layout for new paragraph.
10917 * text.C (prepareToPrint): leave ERT inset left aligned
10918 (leftMargin): don't indent paragraphs inside ERT insets
10920 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10922 * paragraph.C (breakParagraph): dont call clear do the work manually
10924 * paragraph.[Ch] (clear): remove function
10926 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10928 * paragraph.C (Paragraph): dont call clear, the work has already
10931 * lyxtextclass.C (operator): assert if n is empty
10933 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10934 work manually instead.
10936 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10938 * BufferView_pimpl.C: protect selectionLost against text == 0
10940 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10942 * text.C (breakParagraph): fix a setting layout to '0' problem.
10944 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10946 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10947 final location of file, for the included files, and graphics.
10949 2002-03-05 Juergen Vigna <jug@sad.it>
10951 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10953 2002-03-04 Juergen Vigna <jug@sad.it>
10955 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10957 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10958 last column of multicolumn cells.
10959 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10961 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10963 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10964 file if it doesn't go to a temporary file.
10966 * buffer.C (sgmlOpenTag):
10967 (sgmlCloseTag): remove extra newline insertion.
10969 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10971 * text.C (getRowNearY): comment out debug msg
10973 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10975 * text2.C: first -> first_y
10977 * text.C (getRowNearY): add some attemts at a possible
10978 optimization, not working.
10980 * tabular.[Ch]: add BufferParams to several function so that newly
10981 created paragraph can be initialized to he default layotu for the
10984 * tabular-old.C (ReadOld): add buf->params to call of Init
10986 * screen.C: rename text->first to text->first_y
10988 * paragraph.C (breakParagraph): always set layout in the broken
10991 * lyxtextclass.C (Read): remove lowercase
10994 (delete_layout): ditto
10996 * lyxtext.h: rename first -> first_y
10998 * lyxlayout.C (Read): remove lowercase
11001 (obsoleted_by): ditto
11003 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11005 * buffer.C (insertErtContents): add params are to InsetERT
11006 (parseSingleLyXformat2Token): add code to check if a paragraphs
11007 layout really exist.
11008 (parseSingleLyXformat2Token): add params to several inset
11010 (asciiParagraph): remove lowercase, do the layout comparisons with
11013 * BufferView_pimpl.C (cursorNext): first -> first_y
11014 (resizeCurrentBuffer): first -> first_y
11015 (updateScrollbar): first -> first_y
11016 (scrollCB): first -> first_y
11017 (workAreaMotionNotify): first -> first_y
11018 (workAreaButtonPress): first -> first_y
11019 (checkInsetHit): first -> first_y
11020 (cursorPrevious): first -> first_y
11021 (cursorNext): first -> first_y
11022 (Dispatch): add buffer_->params to severl inset contructors
11024 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11026 * lyxlayout.C (Read): remove some debug info that I forgot.
11028 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11029 clean up the code slightly.
11030 (makeLinuxDocFile): ditto
11031 (makeDocBookFile): ditto
11033 * text2.C: layout as string
11035 * text.C: layout as string
11037 * paragraph_pimpl.C: layout as string
11039 * paragraph.[Ch]: layout as string
11041 * lyxtextclasslist.[Ch]: layout as string
11043 * lyxtextclass.[Ch]: layout as string
11045 * lyxtext.h: layout as string
11047 * lyxlayout.[Ch]: layout as string
11049 * lyx_cb.C: layout as string
11051 * bufferview_funcs.C: layout as string
11053 * bufferparams.C: layout as string
11055 * buffer.C: layout as string
11057 * LyXView.[Ch]: layout as string
11059 * LaTeXFeatures.[Ch]: layout as string
11061 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11063 * BufferView_pimpl.C: change current_layout to string, remove
11068 (workAreaButtonRelease): layout as string
11070 * BufferView2.C (unlockInset): adjust
11072 * vspace.C (asLatexCommand): use an explict temp variable.
11074 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11076 * Makefile.am: use FRONTEND_*
11078 2002-03-01 Juergen Vigna <jug@sad.it>
11080 * tabular.C (SetWidthOfMulticolCell): changed to something better
11081 I hope but still work in progress.
11082 (recalculateMulticolumnsOfColumn): renamed function from
11083 recalculateMulticolCells as it is more appropriate now.
11084 (SetWidthOfCell): calculate multicols better.
11086 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11088 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11090 * lyxfunc.C (processKeySym): print sequence also if it is
11091 `deleted' (complete)
11093 * kbsequence.C (print): print sequence even if it is deleted
11094 (complete would be a better word, actually).
11096 * lyxfunc.C (dispatch): print complete options after a prefix key
11098 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11100 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11102 * text2.C (setCharFont): eliminate setCharFont code duplication.
11104 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11106 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11107 LFUN_TABULAR_FEATURE (bug #177)
11109 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11111 * Makefile.am: remove figure.h
11113 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11115 * Bufferview_pimpl.C:
11127 * text2.C: remove #include "lyx_gui_misc.h".
11129 * LaTeX.C: added #include <cstdio>
11131 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11133 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11134 that the paragraph following this one can have.
11136 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11138 * vspace.C (asLatexCommand): fix bogus gcc warning
11140 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11142 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11144 * text2.C (setLayout): get rid of redundant code
11146 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11148 * text2.C (incDepth): make sure depth cannot be increased beyond
11151 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11153 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11154 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11156 * PainterBase.h (image):
11157 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11158 a LyXImage const *.
11160 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11164 * BufferView_pimpl.C:
11165 * BufferView_pimpl.h:
11185 * sp_spell.C: remove fig inset, and the crap house of
11186 cards that follows it
11188 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11193 * os2_errortable.h:
11194 * nt_defines.h: move .h into support/
11196 * vms_defines.h: remove
11198 * WorkArea.C: add space in debug output
11202 * buffer.C: add WITH_WARNINGS
11206 * bufferlist.C: s/retrive/retrieve/, add docs
11215 * chset.C: add docs
11217 * lyxgui.C: add ID to X error handler
11219 * lyxtestclass.c: fix typo
11221 2002-02-26 Juergen Vigna <jug@sad.it>
11223 * tabular_funcs.C (write_attribute): changed so that some default
11224 attributes are not written at all.
11225 (getTokenValue): set default values before trying to read the
11226 value so we have the return value always set as default if we don't
11227 find the token we search for.
11229 * tabular.C (Write): write bools as bools not as strings!
11231 2002-02-22 Juergen Vigna <jug@sad.it>
11233 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11234 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11236 * text.C (leftMargin): don't add an indent for paragraphs inside
11237 tabular cells (fix #208).
11239 2002-02-21 José Matos <jamatos@fep.up.pt>
11241 * tabular.C (docBook): fixed support for long tables.
11243 2002-02-20 Juergen Vigna <jug@sad.it>
11245 * text2.C (getFont): get the drawing font of the Inset if this
11246 paragraph is inside an inset (only important for InsetERT for now).
11248 * buffer.C (insertErtContents): use new lanugage params in ERT
11251 * CutAndPaste.C: commenting out seemingly uneeded code.
11253 2002-02-19 Allan Rae <rae@lyx.org>
11255 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11256 Iterators might be simple to use but they also get invalidated.
11257 (removeAutoInsets): renamed saved cursor tracking variables and added
11258 some comments to clarify what everything does.
11260 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11267 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11268 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11271 * vc-backend.h: remove #include "support/syscall.h"
11275 * converter.C: rearrange #includes in Lars' approved fashion.
11277 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11278 forward declare class Timeout in the header file.
11280 * XFormsView.C: changes due to the above.
11282 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11283 similar to LyXView.
11285 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11286 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11288 2002-02-18 José Matos <jamatos@fep.up.pt>
11290 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11293 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11295 * a lot of small ws changes
11296 * add a lot of using std::XXX
11297 * use std construcs some places where approp.
11298 * use some exisint stuff from lyxfunctional where approp.
11299 * Make file changes to use partial linking (lets test this now...)
11301 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11305 remove #include "support/syscontr.h" as it's redundant. Always has been.
11313 change Systemcalls::System to Systemcalls::Wait and
11314 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11315 No change of functionality, just reflects the stripped down Systemcalls
11318 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11320 * debug.[Ch]: add a GRAPHICS type to the enum.
11322 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11324 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11326 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11329 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11331 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11332 match the changes below.
11334 * text2.C (toggleInset): if there is not editable inset at cursor
11335 position, try to see if cursor is _inside_ a collapsable inset
11338 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11340 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11341 document menu has a nice checkbox
11343 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11345 * lyxlength.C (asLatexString): change PW to output as percent of
11348 * lengthcommon.C: change '%' to 't%'
11350 * lyxfunc.C (dispatch): a few comments from Martin
11352 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11356 * BufferView_pimpl.h:
11357 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11360 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11362 * vspace.C (inPixels): fix compiler warning
11364 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11366 * lyxfunc.C (getStatus): fix status message for disabled commands.
11368 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11370 * BufferView_pimpl.C: fix crash on close buffer
11371 during selection (#227)
11373 2002-01-27 Herbert Voss <voss@lyx.org>
11375 * buffer.C: link old Figure to new graphic inset
11377 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11379 * FontLoader.C (getFontinfo): Change the latex font names in order
11380 to match the names of type1inst.
11382 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11384 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11386 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11387 (extchanged): ditto
11389 (remove_files_with_extension): ditto
11390 (remove_file): ditto
11393 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11394 document is smaller than the work area height. Do not initialize
11395 static variables to 0.
11397 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11399 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11401 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11402 LFUN_LAYOUT_PARAGRAPHS.
11404 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11405 tabular. It is possible to provide a possible cell, which will
11406 typically be the actcell from the corresponding insettabular
11408 * lyxfunc.C (getStatus): small cleanup; disable
11409 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11412 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11414 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11416 * paragraph.C (startTeXParParams):
11417 (endTeXParParams): new methods. The LaTeX code to
11418 start/end paragraph formatting
11419 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11420 empty (fixes bug #200)
11422 * vspace.C (inPixels): adapt to the change below
11423 (inPixels): [later] more cleanups (remove unused variables)
11425 * lyxlength.C (inPixels): change to use a width and a height as
11428 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11430 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11431 Replaced with \paperwidth
11433 * DepTable.C (insert): add std:: qualifier
11435 2002-01-18 Allan Rae <rae@lyx.org>
11437 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11440 * text.C (drawInset): Turned out I didn't know enough about how
11441 rebreaking worked. This fixes most of the redraw problems. I see
11442 an occasional cursor trail when a line is broken now and the cursor
11443 placement can seem out by a few pixels also after a rebreak.
11445 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11447 * buffer.C (parseSingleLyXformat2Token): update because minipage
11448 width is now a LyXLength
11450 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11452 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11455 2002-01-17 Juergen Vigna <jug@sad.it>
11457 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11459 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11460 is set correctly and the inset is updated correctly.
11462 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11464 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11465 the beginning of the loop.
11467 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11469 * lyxrc.C: improve help for use_scalable_fonts
11471 2002-01-17 Allan Rae <rae@lyx.org>
11473 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11475 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11477 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11478 make sure to set their inset_owner to the right value (bug #171)
11480 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11483 * DepTable.C: Implement mtime checking to reduce time spent doing
11486 2002-01-16 Juergen Vigna <jug@sad.it>
11488 * tabular.C (GetAdditionalHeight): one of error fixed.
11490 * lyxrc.C (output): small fix in writing use_pspell.
11492 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11494 * sp_base.h: #include LString.h
11496 2002-01-16 Allan Rae <rae@lyx.org>
11498 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11499 Can someone check this please?
11501 * text.C (drawInset): It was possible that p.row would be removed by
11502 breakAgainOneRow upsetting a few other settings. There may be another
11503 small tweak possible by setting need_break_row = 0 when p.row has been
11504 removed but I don't know enough about the logic here.
11506 2002-01-15 Allan Rae <rae@lyx.org>
11508 * text.C (insertChar): removed conditional truism.
11510 * BufferView2.C (removeAutoInsets): More tweaks.
11511 cur_par_prev could be a stray pointer. Check for trailing empty line
11512 in case last line was cur_par and only had an error inset on it.
11514 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11516 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11519 * vc-backend.C (most methods):
11520 * exporter.C (Export):
11521 * converter.C (convert):
11523 * LyXSendto.C (SendtoApplyCB):
11524 * lyxfunc.C (dispatch):
11528 * lyx_cb.C (AutoSave):
11530 * BufferView_pimpl.C (MenuInsertLyXFile):
11531 * buffer.C (runChktex): use Buffer::filePath().
11533 * buffer.h: rename filename to filename_; rename filepath to
11534 filepath_ and make it private
11535 (filePath): new method
11537 * buffer.C (writeFile): use fileName()
11540 * lyx_main.C (init): fix starting of LyX when the binary is a
11541 link from so,ewhere else.
11543 * minibuffer.C: include <cctype> for isprint
11545 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11547 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11548 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11549 name clash with InsetCollapsable's width function.
11551 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11553 * lastfiles.C: include <iterator>
11555 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11557 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11560 * buffer.C (makeLaTeXFile): ditto.
11561 Also make loop operation more transparent.
11563 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11565 * ToolbarDefaults.C: remove trailing comma closing namespace.
11567 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11569 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11572 * trans.C (Load): comment out unused variable, allowed.
11574 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11576 * minibuffer.[Ch] (append_char): new method to recieve input from the
11577 drop-down completion browser. If a key was pressed, then recieve this
11578 char and append it to the existing string.
11579 (peek_event): modify the positioning data passed to the completion
11580 browser so that it can be placed above the minibuffer rather than below.
11581 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11583 * LyXAction.C (init): alloe error-next for readonly documents.
11585 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11588 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11590 * bufferlist.C (readFile): create the buffer _after_ checking that
11593 * lyxfunc.C (verboseDispatch): fix handling of arguments
11595 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11597 * lyxrc.C: use string::erase() instead of initializing to "".
11600 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11602 * BufferView_pimpl.h:
11603 * BufferView_pimpl.C:
11606 * text2.C: tell X when we have made a selection for copying
11608 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11610 * BufferView_pimpl.C (MenuInsertLyXFile):
11611 * lyxfunc.C (menuNew):
11613 (doImport): add shortcuts to directory buttons
11615 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11618 * lyxfunc.C (setStatusMessage):
11619 (getStatusMessage): new methods
11620 (getStatus):use setStatusMessage instead of setErrorMessage
11621 (dispatch): when function is disabled, set error message here
11622 [instead of in getStatus previously]
11624 * BufferView_pimpl.C (workAreaButtonRelease): update
11625 toolbar/menubar here too.
11627 2002-01-13 Allan Rae <rae@lyx.org>
11629 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11630 Now seems indestructible. Remaining task is to audit all other
11631 code affected by deleteEmptyParagraphMechanism. One small quirk
11632 left is that an empty document with an error in the preamble can
11633 be made to report an error but no error box appears. I don't know
11635 (removeAutoInsets): Improved comments.
11637 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11640 * Thesaurus.C: update for Aiksaurus 0.14
11642 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11644 * text2.C (firstParagraph): removed member function, all uses
11645 replaces with ownerParagraph
11646 (redoParagraphs): here
11647 (updateInset): here
11648 (toggleAppendix): here
11649 * BufferView2.C (insertErrors): here
11650 (setCursorFromRow): here
11652 2002-01-13 Allan Rae <rae@lyx.org>
11654 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11655 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11656 There is still a way to segfault this although you may have to do this
11657 multiple times: Have an InsetERT with an unknown command in it.
11658 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11659 <down-arrow>, <Enter> again, View->DVI, BANG!
11661 * text2.C (setCursor):
11662 (deleteEmptyParagraphMechanism):
11663 * lyxtext.h (setCursor):
11664 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11665 Making use of the return value may help fix other bugs.
11667 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11669 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11671 * LyXView.C (updateMenubar): call MenuBar::update here
11672 (updateToolbar): but not here
11673 (showState): do not update toolbar/menubar
11675 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11676 should need to care about that.
11678 * lyxfunc.C (verboseDispatch): simplify a bit
11679 (getStatus): have a version which takes a pseudoaction, and
11680 another which requires a (kb_action,string).
11682 * LyXAction.C (retrieveActionArg): make it work also when action
11683 is not a pseudo-action.
11684 (getActionName): simplify a bit
11687 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11689 * lyxfunc.C (verboseDispatch): new families of methods with
11690 several ways to specify a command and a bool to indicate whether
11691 the command name and shortcut should be displayed in minibuffer
11692 (eventually, we could extend that to a finer bitmask like
11693 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11694 (dispatch): the pristine dispatch command which just, well,
11695 dispatchs! Note it still sets its result to minibuffer; I'm not
11698 * lyxfunc.h: remove setHintMessage
11700 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11702 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11704 * BufferView_pimpl.C (specialChar): delete new inset if we have
11705 not been able to insert it.
11707 * kbmap.C: revert to using int instead of kb_action, since all we
11708 are dealing with is pseudo-actions.
11710 * LyXAction.C (searchActionArg): change to return int instead of
11711 kb_action, since the result is a pseudoaction.
11713 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11715 * buffer.C (insertErtContents): Fix (partially) the font bug.
11717 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11719 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11720 as the other one is broken on my machine!
11722 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11725 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11727 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11729 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11730 reflect their actual use. Provide compatibility code for older lyxrc
11733 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11735 change names of popup font variables in line with the changes to lyxrc.C
11737 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11739 * buffer.C (asciiParagraph): avoid outputing a word twice after
11742 * lyxrc.C (getDescription): document that document_path and
11743 template_path can be empty.
11745 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11747 * LaTeXFeatures.C (getMacros):
11748 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11750 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11752 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11754 (getPackages): rename feature "floats" to "float". Use an array to
11755 iterate over 'simple' features (i.e. just a \usepackage). Add
11756 handling of "amsmath" (renamed from "amsstyle").
11758 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11760 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11763 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11765 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11766 FuncStaus::FuncStatus & FuncStaus::some_method().
11768 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11770 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11771 of the func_satus stuff. Edited and massaged in various ways by
11774 * lyxfunc.C (getStatus): use FuncStatus
11776 2002-01-08 Juergen Vigna <jug@sad.it>
11778 * text.C (nextBreakPoint): use function Inset::isChar().
11780 * paragraph.C (TeXOnePar): use function
11781 Inset::forceDefaultParagraphs.
11783 * buffer.C (latexParagraphs): use function
11784 Inset::forceDefaultParagraphs.
11786 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11788 * lyx_gui.C (init): set the style of the menu popups to
11789 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11791 2002-01-07 Juergen Vigna <jug@sad.it>
11793 * text.C (setHeightOfRow): small fix
11794 (prepareToPrint): don't look at alignment if we don't have the place
11797 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11799 * box.C: New file. Move the Box methods and functions out of box.h,
11800 following Lars' suggestion.
11802 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11804 * box.h: #include "support/LOstream.h", needed for inlined function.
11807 * lyxtextclasslist.C: added some using std declarations.
11809 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11811 * box.h: make signed dimensions to allow insets wider than
11812 the screen (bug #162)
11814 * BufferView_pimpl.C: add some insetHit debug
11816 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11818 * vc-backend.C: add FIXME
11820 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11822 * lyxfunc.C (getStatus): enable code for showing math font status
11825 2002-01-07 Juergen Vigna <jug@sad.it>
11827 * text.C (nextBreakPoint): removed debug output not needed anymore.
11829 2002-01-06 Juergen Vigna <jug@sad.it>
11831 * text.C (nextBreakPoint): fixed up this function we had this bug
11832 since ever but now hopefully we break row better.
11833 (insertChar): we have to check if an inset is the next char as it
11834 could now happen that a large inset is causing a break.
11836 2002-01-05 Juergen Vigna <jug@sad.it>
11838 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11839 if it doesn't like to be drawed.
11841 2002-01-04 Juergen Vigna <jug@sad.it>
11843 * BufferView2.C (lockInset): forgot to set a cursor.
11845 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11847 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11849 * FormMathsPanel.C:
11852 * form_maths_panel.C:
11853 * form_maths_panel.h:
11854 * form_maths_panel.fd: implemented sub- and super- buttons in math
11857 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11858 (or ^ space) to be used as in TeX (req'd by André).
11860 * lyxfunc.C: Allow ^ and _ again to be used both as
11861 super/subscript (mathed) and as themselves (in text).
11863 2002-01-03 Allan Rae <rae@lyx.org>
11865 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11866 "LyX" or the filename of the current buffer if it has one. This is a
11867 modified form of John Levon's patch.
11869 * XFormsView.C (setWindowTitle): also set icon title.
11871 * LyXView.h (setWindowTitle): signature changed.
11872 * XFormsView.h (setWindowTitle): ditto.
11874 2002-01-02 Juergen Vigna <jug@sad.it>
11876 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11878 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11880 * screen.C (topCursorVisible): introduce a temp var for
11881 text->cursor.row(), handle the case where this row is null. (kindo
11884 * text2.C (setCursor): add a couple of asserts.
11886 * paragraph.h (inset_iterator): add -> operator
11888 * paragraph.[Ch] (autoDeleteInsets): remove member function
11890 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11891 cursor pos correctly and handle inset deletion by itself.
11892 (insertErrors): move iterator declaration out of for expression
11894 * lyxtextclass.C: add <algorithm>
11896 * Makefile.am: added the new files to sources, removed layout.C
11898 * layout.C: removed file
11900 * layout.h: remove LYX_DUMMY_LAYOUT
11902 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11906 * lyxtextclass.[Ch]:
11907 * lyxtextclasslist.[Ch]: new files
11909 * include order changes to a lot of files, also changes because of
11912 2001-12-27 Juergen Vigna <jug@sad.it>
11914 * buffer.C (asciiParagraph): more fixes.
11916 * tabular.C (ascii): make ascii export support export of only the
11917 data separated by a column-delimiter.
11918 (ascii): better support for ascii export.
11920 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11922 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11924 * tabular_funcs.C: use a "using std::getline" instead of the
11925 previous fix from Angus (necessary for cxx + lyxstring)
11927 2001-12-24 Juergen Vigna <jug@sad.it>
11929 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11931 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11932 problems. First check a minipage also if we have some ert-contents
11933 (not only on par->size(), second set the right depth of the paragraph
11934 on the relink to the root-paragraph-list!
11936 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11937 which then did not anymore update the main paragraphs on undo/redo!
11939 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11941 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11942 code. Support all font-changing funcs (even those which are not in
11943 menu currently). Support for reporting font settings in
11944 mathed (disabled until Andre provides a function on mathed's side).
11946 * func_status.h (toggle): small helper function to set toggle
11949 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11951 * tabular_funcs.C: getline -> std::getline
11953 2001-12-21 Juergen Vigna <jug@sad.it>
11955 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11956 accessed and could be 0 (I couldn't generate this but it seems
11959 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11961 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11962 * tabular_funcs.h: here and include iosfwd
11964 2001-12-20 Juergen Vigna <jug@sad.it>
11966 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11967 inside inset but undo_par was.
11969 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11971 * Thesaurus.C: always include <config.h> in sources.
11975 * box.h: do not include <config.h> in header files
11977 * text.C (paintLastRow): remove unused variable
11979 * text.C (transformChar):
11981 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11983 * Painter.C (text):
11984 * font.C (width): rewrite to use uppercase() instead of
11987 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11989 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11991 * lyxfind.C: clean up of find failure position change
11993 2001-12-20 Juergen Vigna <jug@sad.it>
11995 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11997 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11998 (TeXRow): added to LaTeX a single tabular row.
11999 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12000 (Latex): simplified and finally good LT-h/f support.
12001 (various_functions): just small adaptions for LT-h/f support.
12003 * tabular_funcs.[hC]: added and moved here all not classfunctions
12006 2001-12-19 Juergen Vigna <jug@sad.it>
12008 * tabular.[Ch]: better support for longtabular options (not finished
12011 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12013 * text.C (paintLastRow): use the label font instead of the font of
12014 the last character to compute the size of *_BOX. This makes more
12015 sense and avoids a crash with empty paragraphs.
12016 Use Painter::rectangle to draw EMPTY_BOX.
12018 2001-12-19 Juergen Vigna <jug@sad.it>
12020 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12021 the paragraphs if the replaced paragraph is not the first one!
12022 Tried to delete not used paragraphs but does not work yet so for
12023 now it's inside #ifdef's and by default off!
12025 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12027 * MenuBackend.C: include "lyx_main.h" instead of declaring
12028 lastfiles (actually was declared as LastFiles* instead of a
12031 2001-12-17 Juergen Vigna <jug@sad.it>
12033 * tabular.C (AppendColumn): applied John's fix
12035 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12039 * BufferView_pimpl.h:
12040 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12043 * box.h: new start of class for above
12045 * lyxfunc.C: ignore space-only minibuffer dispatches.
12046 Show the command name when it doesn't exist
12048 * minibuffer.C: don't add empty lines to the history
12050 * minibuffer.C: add a space on dropdown completion
12052 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12054 * text.C: fix line above/below drawing in insets
12056 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12058 * lyxlength.C (LyXLength): Initialize private variables.
12060 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12062 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12063 when inserting error insets.
12065 2001-12-13 Juergen Vigna <jug@sad.it>
12067 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12068 actually sometimes the before-paragraph.
12069 (setUndo): don't clear the redostack if we're not actually undoing!
12071 2001-12-06 Juergen Vigna <jug@sad.it>
12073 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12074 and fixed redoing of main paragraph, so we can use it now ;)
12076 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12078 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12080 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12083 2001-12-13 André Pönitz <poenitz@gmx.net>
12086 * undo_func.C: minor cleanup
12088 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12090 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12091 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12092 font in urw-fonts package which is marked as -urw-fontspecific and
12093 does not work (incidentally, changing the encoding in the
12094 fonts.dir of this package to -adobe-fontspecific fixes the
12097 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12098 is a crash when undoing first paragraph (Juergen, please take a
12099 look). THis does not mean the undo fix is wrong, just that it
12102 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12103 the (Paragraph*) version when needed instead of duplicating the
12106 * text.C (workWidth): use Inset::parOwner to find out where the
12107 inset has been inserted. This is a huge performance gain for large
12108 documents with lots of insets. If Inset::parOwner is not set, fall
12109 back on the brute force method
12111 * paragraph_pimpl.C (insertInset):
12112 * paragraph.C (Paragraph):
12113 (cutIntoMinibuffer): set parOwner of insets when
12114 inserting/removing them
12116 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12118 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12124 * mathed/formulabase.C:
12125 * mathed/math_cursor.[Ch]:
12126 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12129 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12131 * lyxlength.[Ch] (operator!=): new function
12133 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12135 * text.C (workWidth): use Inset::parOwner to find out where the
12136 inset has been inserted. This is a huge performance gain for large
12137 documents with lots of insets. If Inset::parOwner is not set, fall
12138 back on the brute force method
12140 * paragraph_pimpl.C (insertInset):
12141 * paragraph.C (Paragraph):
12142 (cutIntoMinibuffer): set parOwner of insets when
12143 inserting/removing them
12145 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12147 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12149 * tabular-old.C (getTokenValue):
12150 * tabular.C (getTokenValue):
12151 (write_attribute): new versions for LyXLength
12152 (everywhere): adjust the use of widths
12154 * tabular.h: change the type of widths from string to LyXLength
12156 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12158 * paragraph.C: fixed missing line number count when exporting
12159 Environments to LaTeX file
12161 * buffer.C: added informational message for checking line numbers.
12163 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12165 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12166 paragraph, do the 'double space' part, but not the 'empty
12169 * text.C (workWidth): small optimization
12170 (getLengthMarkerHeight): use minimal size for negative lengths.
12172 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12174 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12176 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12178 2001-12-11 André Pönitz <poenitz@gmx.net>
12181 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12183 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12185 * text2.C: keep selection on a setFont()
12187 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12189 * lyx_cb.C: another bv->text misuse, from insert label
12191 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12194 * kbsequence.C: re-instate nmodifier mask
12196 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12198 * lyx_main.h: make lyxGUI private.
12200 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12202 * lyxfind.C: place the cursor correctly on failed search
12204 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12206 * text.C (getLengthMarkerHeight): for small heights, the arrows
12207 are not always on top/bottom of the text
12208 (drawLengthMarker): smaller arrows; take the left margin in
12209 account; draw also vfills.
12211 (paintLastRow): remove special code for vfill and standard spaces,
12212 since everything is handled in drawLengthMarker now.
12214 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12216 * buffer.C (insertErtContents): try to handle font and language
12217 interaction a bit better.g
12219 * ColorHandler.C (updateColor): change the hash to cover the whole
12220 LColor enum, ws cleanup
12221 (getGCLinepars): ditto
12222 (getGCLinepars): only lookup in the linecache once.
12224 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12226 * iterators.C (operator++): Make the iterator more robust
12228 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12230 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12232 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12235 * text.C: better added space drawing
12237 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12240 * BufferView2.C: fix layout combo update on inset unlock
12242 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12244 * Makefile.am: don't compile unused files
12246 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12250 * LyXAction.C: remove old LFUN_LAYOUTNO
12252 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12254 * paragraph_pimpl.h:
12255 * paragraph_pimpl.C: isTextAt() doesn't need font param
12257 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12260 * lyxlex.C: little cleanup
12262 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12264 * BufferView_pimpl.C: fix insertAscii for insets
12266 2001-12-05 Juergen Vigna <jug@sad.it>
12268 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12269 set the right font on the "multi" paragraph paste!
12271 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12277 * lyxlength.C: remove out-commented code.
12279 * BufferView_pimpl:
12293 * vc-backend.C: change "while(" to "while ("
12295 * lyxlength.[Ch]: add zero function to check if length is zero or
12297 * lyxgluelength.C: use it
12299 2001-12-05 Allan Rae <rae@lyx.org>
12301 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12302 Works for 2.95.3, from what I understand of Garst's reports this should
12303 work for other g++ versions. We're screwed if the abs(int) definition
12304 changed between bugfix releases of gcc.
12306 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12308 * text.C: fix chapter label offset !
12310 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12313 * text.C: fix hfill at end of line, clean up
12315 2001-12-04 Juergen Vigna <jug@sad.it>
12317 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12318 that we force an update of the inset and it's owners if neccessary.
12320 2001-12-03 Juergen Vigna <jug@sad.it>
12322 * text.C (rowLast): simplified code
12324 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12326 * lyxfunc.C: fix show options on timeout
12328 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12330 * screen.C (topCursorVisible): scroll half a page when the cursor
12331 reached top of bottom of screen
12333 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12335 * minibuffer.C: deactivate on loss of focus
12337 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12339 * vspace.[Ch] (operator!=): add operator.
12341 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12343 * BufferView_pimpl.C: refuse to open an inset when
12344 there's a selection.
12346 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12348 * BufferView_pimpl.C: allow to click on RHS of full row insets
12350 2001-11-30 Juergen Vigna <jug@sad.it>
12352 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12353 insets for undo reasons.
12355 2001-11-28 André Pönitz <poenitz@gmx.net>
12357 * vspace.[Ch]: cosmetical changes
12359 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12369 * kbsequence.C: part re-write of old kb code
12372 * WorkArea.C: remove Lgb_bug_find_hack
12374 2001-11-30 José Matos <jamatos@fep.up.pt>
12376 * buffer.C (makeDocBookFile): add a comment to point a hack.
12377 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12378 Fixed a double write of labels.
12380 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12383 * LaTeX.h Fixed bug in LaTeX class where it would not
12384 re-run latex if no depfiles were changed, but the .dvi was removed.
12386 2001-11-28 André Pönitz <poenitz@gmx.net>
12388 * all the files from the change on 2001/11/26:
12389 use lyx::layout_type instead of LyXTextClass::size_type
12390 use lyx::textclass_type instead of LyXTextClassList::size_type
12392 2001-11-29 Juergen Vigna <jug@sad.it>
12394 * text.C: added support for paragraph::isFreeSpacing()
12396 * buffer.C: same as above
12398 * paragraph.h: inserted isFreeSpacing() function to enable
12399 FreeSpacing inside InsetERT.
12401 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12402 of the paragraph's in the cut/copy buffer to 0!
12404 * text2.C (removeRow): remove the assert as it can!
12406 * lyxtext.h: added helper function firstRow returning firstrow and
12407 made firstrow private again.
12409 * BufferView2.C (lockInset): don't relock if we're already locked!
12411 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12412 the only paragraph.
12413 (removeRow): added Assert::(firstrow)
12415 * debug.C: forgot to add INSETTEXT here.
12417 2001-11-28 Juergen Vigna <jug@sad.it>
12419 * sp_spell.C (initialize): changed error text to more general
12420 spellchecker command use (not only ispell!)
12422 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12424 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12426 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12428 * vspace.C: initialise lyxgluelength on failure
12430 2001-11-28 Allan Rae <rae@lyx.org>
12432 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12433 declaration & definition that looks like a function declaration.
12435 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12437 * BufferView2.C (copy):
12438 (copyEnvironment): do not clear the selection when doing a copy.
12440 * text.C (paintFirstRow): compilation fix
12442 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12444 * tabular.C (Latex): correct line count when writing latex.
12446 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12448 * paragraph_pimpl.h:
12449 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12452 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12456 * LColor.C: change vfillline->added_space
12458 * text.C: add markers and text for added space
12460 * vspace.C: fix comment
12462 2001-11-28 André Pönitz <poenitz@gmx.net>
12464 * paragraph.C: whitespace changes
12465 * all the other files from the change on 2001/11/26:
12466 change *::pos_type into lyx::pos_type
12468 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12470 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12471 language of the document when inserting error insets.
12473 2001-11-26 André Pönitz <poenitz@gmx.net>
12475 * BufferView_pimpl.[Ch]:
12483 * paragraph_pimpl.[Ch]:
12486 * text2.C: reduce header dependencies, introduce type for positions
12488 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12490 * <various>: change to use Alert.h
12492 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12494 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12495 when encountering an unknown token.
12496 (readLyXformat2): Show an error message if there were unknown tokens.
12498 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12501 * BufferView_pimpl.C:
12505 * text2.C: use par->isInset()
12507 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12509 * paragraph_pimpl.h:
12510 * paragraph_pimpl.C: cleanup
12512 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12514 * text2.C (removeRow):
12515 * text.C (setHeightOfRow): remove useless (and costly) call to
12518 2001-11-20 Allan Rae <rae@lyx.org>
12520 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12521 Now need Inset*::checkInsertChar() to return true for appropriate
12522 cases so that the characters in the minibuffer will actually be
12525 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12527 * text.C: change the order of the includes.
12528 (workWidth): initialize it at once.
12529 (workWidth): make maxw unsigned
12530 (setHeightOfRow): remove unused variable (inset)
12531 (selectSelectedWord): remove unused variable (inset)
12532 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12534 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12536 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12537 server is not running.
12539 (closeConnection): add debug info when server is disabled.
12541 * ColorHandler.C (getGCForeground): send debug message to GUI
12544 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12546 * kbmap.C (bind): modify because return conventions of
12547 kb_sequence::parse have changed.
12549 * kbsequence.C (parse): only ignore spaces and not any stupid
12550 control character. This avoids tests like s[i] <= ' ', which are
12551 guaranteed to fail with 8bit characters and signed chars.
12552 Change return code to string::npos when there have been no error
12553 (0 was a bad idea when error is at first character)
12555 2001-11-14 José Matos <jamatos@fep.up.pt>
12558 * buffer.C (simpleDocBookOnePar): removed unused argument.
12560 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12562 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12563 insets which are part of a word. Paragraph::isLetter takes care of
12564 that now. Use Paragraph::isInset to identify insets.
12565 (selectSelectedWord): do not test for hyphenation break.
12567 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12568 that protected spaces are considered as spaces.
12570 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12573 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12576 * lyxserver.C: fix it. and small cleanup.
12578 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12580 * BufferView_pimpl.C: use inline helpers
12583 * LaTeXFeatures.C: fix typos
12586 * Spacing.C: move spacing_string into class
12588 * ToolbarDefaults.C: move stuff into namespace anon
12590 * layout.h: update enum
12592 * lyxfunc.C: use better debug
12594 * minibuffer.h: fix typo
12598 * WorkArea.C: add and use Debug::WORKAREA
12602 * text2.C: code re-organisation, inline helpers
12604 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12606 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12607 std::vector.empty().
12609 2001-11-09 Allan Rae <rae@lyx.org>
12611 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12612 '\n's after tables. Tabular and ERT inset work now makes this no
12615 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12618 * minibuffer.C: fix crash, improve drop-down completion
12620 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12623 * lyxserver.C: invalidate fd's when doing endPipe()
12625 2001-11-08 José Matos <jamatos@fep.up.pt>
12627 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12628 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12631 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12633 2001-11-07 José Matos <jamatos@fep.up.pt>
12636 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12639 * buffer.C (sgmlOpenTag):
12640 * buffer.C (sgmlCloseTag): removed debug info.
12642 * buffer.h (sgmlOpenTag):
12643 * buffer.h (sgmlCloseTag): made public.
12645 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12647 * buffer.C (saveParamsAsDefaults):
12648 * lyx_cb.C (MenuLayoutSave): remove
12650 * LyXAction.C (init):
12652 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12654 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12656 * buffer.C (setPaperStuff): removed from here...
12658 * bufferparams.C (setPaperStuff): ... and moved there.
12660 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12664 * XFormsView.C: add support for drop-down completion
12666 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12668 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12671 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12673 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12676 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12678 * lyx_main.C: change ref to known bugs
12680 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12682 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12683 to work around older babel problems.
12685 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12687 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12689 2001-10-24 Juergen Vigna <jug@sad.it>
12691 * tabular-old.C (ReadOld): below variable changes reflected.
12693 * tabular.[Ch]: added ltType struct for longtable header/footer
12694 defines and changed all instances where they are used. Added
12695 future support for double top/bottom rows.
12697 2001-10-24 José Matos <jamatos@fep.up.pt>
12699 * buffer.h (docbookHandleCaption):
12700 * buffer.C (docbookHandleCaption): removed unused function.
12701 (makeDocBookFile): moved docbook supported version to v4.1.
12703 2001-10-24 José Matos <jamatos@fep.up.pt>
12706 * tabular.C (docbookRow): new function to export docbook code of a row.
12707 (DocBook): now honors the longtable flags.
12709 2001-10-23 José Matos <jamatos@fep.up.pt>
12712 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12713 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12715 * buffer.C (makeLinuxDocFile):
12716 (makeDocBookFile): reworked the preamble, more clean, and with
12717 support for lyx defined entities. Changed the document declaration
12718 to be more XML friendly.
12720 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12721 if we need to output XML that should be done with a filter.
12723 2001-10-22 Juergen Vigna <jug@sad.it>
12725 * sp_pspell.h (class PSpell): add alive function needed in the
12726 controller to see if the spellchecker could be started.
12728 2001-10-22 Juergen Vigna <jug@sad.it>
12730 * buffer.C (insertStringAsLines): modify the font for inserting
12731 chars in certain conditions by calling checkInsertChar(font).
12733 2001-10-19 Juergen Vigna <jug@sad.it>
12735 * text.C (workWidth): use getRow instead of wrong algorithm.
12736 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12738 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12743 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12745 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12747 * text.C (workWidth): do not search for the exact row when
12748 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12749 optimization for big documents.
12751 2001-10-18 Juergen Vigna <jug@sad.it>
12753 * text.C (workWidth): new function with added Inset * parameter.
12755 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12757 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12759 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12760 change return type of getColumnNearX.
12763 * text.C (changeRegionCase): use uppercase/lowercase instead of
12766 (rightMargin): simplify code by factoring out the uses of
12771 (appendParagraph): use Paragraph::size_type
12773 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12775 * vspace.C (asLatexString): add a missing break
12777 2001-10-15 Herbert Voss <voss@perce.de>
12779 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12781 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12783 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12786 2001-10-10 André Pönitz <poenitz@gmx.net>
12788 * lyxfunc.C: removed greek_kb_flag.
12790 2001-10-10 Herbert Voss <voss@perce.de>
12792 * lyx_main.C: delete global string help_lyxdir.
12794 2001-10-09 Herbert Voss <voss@perce.de>
12796 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12798 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12800 * lyx_main.C: added global string help_lyxdir.
12802 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12804 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12806 * lyxrc.C (set_font_norm_type): support iso8859-4
12808 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12810 * LaTeX.C (deplog): add another regex for MikTeX
12812 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12814 * lyxrc.C (set_font_norm_type): support iso8859-3
12816 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12818 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12820 * LaTeXFeatures.C: remove special case of french and index
12822 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12823 before \begin{document}). This solves several incompatibilities.
12825 2001-10-03 Garst Reese <reese@isn.net>
12827 * lyx_cb.C: change CheckTex error msg.
12829 2001-10-03 José Matos <jamatos@fep.up.pt>
12831 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12833 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12835 * .cvsignore: update
12837 * lyx_main.C (commandLineVersionInfo): use new style version info.
12839 * buffer.C (writeFile):
12841 (makeLinuxDocFile):
12842 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12844 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12846 * version.h: update to use stuff in version.C
12848 * version.C.in: new file. Contains version information determined
12849 at compile time. This is a merging of version.h and
12852 2001-10-03 Juergen Vigna <jug@sad.it>
12854 * BufferView_pimpl.C (update): don't change "dirty" status in
12857 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12859 * WorkArea.C (c-tor): re-position version string slightly.
12861 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12863 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12864 revert to previous code.
12866 WorkArea.[Ch]: (show, destroySplash): methods removed.
12868 WorkArea.C: rework code so that it's an amalgam of the codes before and
12869 after the splash screen was moved to WorkArea.
12871 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12874 * vspace.C (inPixels):
12877 * buffer.C (insertStringAsLines):
12878 (asciiParagraph): fix types to be large enough
12880 * lyxlex_pimpl.h: change member status from short to int
12882 * layout.h: fix type of endlabeltype
12885 * kbsequence.C (parse): change return type to string::size_type
12887 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12890 * Bullet.C (bulletSize):
12891 (bulletEntry): do not use short ints as parameters
12893 * BufferView2.C (insertLyXFile): change a char to an int.
12895 * WorkArea.C (WorkArea): remove unneeded floats in computation
12897 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12899 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12901 * paragraph.C (asString): Do not ignore newline/hfill chars when
12902 copying to the clipboard.
12904 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12906 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12907 after a multi-line inset.
12909 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12911 * paragraph.C (validate): Set NeedLyXFootnoteCode
12913 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12915 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12916 and decrease-error to decrease.
12918 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12920 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12921 it more readable (should be equivalent)
12923 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12925 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12927 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12929 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12930 of a cursor (row, etc.) after a character has been deleted
12931 (deleteEmptyParagraphMechanism): call the method above on _all_
12932 cursors held by the LyXText when a double space has been
12935 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12937 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12939 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12941 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12942 background. Use greyOut() and the new show() methods to toggle between
12943 the foreground and background. Add code to remove the splash after
12944 its initial showing.
12946 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12947 (create_forms): no longer call Dialogs::showSplash.
12949 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12951 * .cvsignore: add version_info.h
12953 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12955 * version_info.h.in: new file
12957 * Makefile.am: add version_info.h.in
12959 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12960 version_info.h instead of VERSION_INFO
12962 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12964 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12965 The ERT inset now returns string().
12967 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12969 * lyxtext.h, text.C (selectNextWord): renamed as
12970 selectNextWordToSpellcheck.
12972 * text.C (selectNextWordToSpellcheck): Modified to not select
12973 words inside an ERT inset.
12975 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12977 * lyx_cb.C (MenuLayoutSave): change a bit the question
12979 * sp_base.h: include <sys/types.h>
12981 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12983 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12985 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12987 * several files: fix typos in user-visible strings
12989 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12991 * text2.C (pasteSelection): do not set the selection, since it
12992 will be cleared later. Actually, the intent was to fix the way the
12993 selection was set, but I figured rmoving the code was just as good.
12995 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12997 * FontLoader.C (available): Check if font is available without
13000 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13002 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13004 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13006 * lyxrc.[Ch]: added display_graphics variable and associated code.
13008 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13010 * bufferparams.C (hasClassDefaults): new method. Returns true if
13011 the buffer parameters correspond to known class defaults
13013 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13015 * XFormsView.C (show): set minimum size to the main window.
13017 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13019 * text2.C (copySelection):
13021 * lyxfind.C (LyXReplace):
13022 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13023 LyXText::selectionAsString.
13025 * paragraph.C (asString): add "label" argument to the second form
13027 * text2.C (selectionAsString): add "label" argument and pass it to
13028 Paragraph::asString.
13030 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13032 * lyx_main.C (commandLineHelp): remove version information
13034 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13036 * lyx_main.C: add -version commandline option
13038 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13040 * paragraph.h: make the optional constructor arg required instead.
13041 some modifications to other files because of this.
13043 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13045 * lyxserver.C (C_LyXComm_callback): make it static
13047 * lyx_main.C (error_handler): make it static
13049 * lyx_gui.C (LyX_XErrHandler): make it static
13051 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13053 * WorkArea.C: make the extern "C" methods static.
13055 * Makefile.am (lyx_LDADD): simplify
13057 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13059 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13060 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13062 * LyXAction.C (init):
13063 * lyxfunc.C (dispatch): associated code removal.
13065 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13067 * lyxfont.h (isSymbolFont): shut off warning
13069 * text.C (setHeightOfRow):
13070 (getVisibleRow): fix crash with empty paragraphs which have a
13073 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13075 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13078 2001-09-04 José Matos <jamatos@fep.up.pt>
13081 * tabular.C (docbook): rename docBook method to docbook.
13083 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13085 * Makefile.am: add dependencies to main.o.
13087 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13089 * FontLoader.C (available): Return false if !lyxrc.use_gui
13091 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13093 * FontInfo.C (query):
13094 * converter.C (view):
13095 * importer.C (Import):
13096 * exporter.C (Export): Can not -> cannot.
13098 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13100 * BufferView_pimpl.C: allow to create index inset even if
13103 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13105 * buffer.C (getLists): replace boost::tie code with an explicit pair
13106 as boost::tie can break some compilers.
13108 * iterators.h: Added a std:: declaration to the return type of
13111 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13113 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13116 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13118 * iterators.[Ch]: New files. Provide paragraph iterators.
13120 * buffer.C (changeLanguage): Use paragraph iterators.
13121 (isMultiLingual): ditto
13123 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13125 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13127 * FontLoader.C: Support for cmr font.
13129 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13131 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13132 (available): New method.
13134 * FontInfo.C (getFontname): Use scalable fonts even when
13135 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13138 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13140 * converter.C (Formats::view): reverted! Incorrect fix.
13142 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13144 * converter.C (Formats::view): only output the -paper option
13145 if the dvi viewer is xdvi, thereby fixing bug #233429.
13147 2001-08-23 Herbert Voss <voss@perce>
13149 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13151 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13153 * Spacing.h (Spacing): Set space to Default on in the default
13156 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13158 * vc-backend.h (RCS::versionString): add RCS to version
13159 (CVS::versionString): add CVS to version
13161 * vc-backend.C (scanMaster): do not add CVS to version.
13162 (scanMaster): do not add RCS to version
13164 * lyxvc.C (versionString): new method
13166 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13168 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13170 * Spacing.C (set): initialize fval
13172 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13174 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13177 2001-08-16 Juergen Vigna <jug@sad.it>
13179 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13181 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13183 * BufferView_pimpl.C:
13186 * text2.C: setParagraph takes linespacing now
13188 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13190 * LyxAction.C: add internal LFUN_CITATION_INSERT
13192 * LyXView.C: actually apply fix
13194 * bufferlist.C: fix open non-existent file
13196 * lyxfind.C: fix indentation
13198 * lyxfunc.C: remove unneeded assert, fix typo
13200 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13202 * MenuBackend.C: use "Floatname List"
13204 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13206 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13207 when converting LaTeX layout to insetERT.
13208 Generate a non-collapsed float when reading old float
13210 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13212 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13215 2001-08-13 Juergen Vigna <jug@sad.it>
13217 * text.C (fill): return 0 instead of 20 as this seems to be the more
13220 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13222 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13225 2001-08-13 Juergen Vigna <jug@sad.it>
13227 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13229 (SearchBackward): comment out the unlocking of the inset_owner this
13230 should not be needed!
13232 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13234 * Many files: Remove inherit_language, and add latex_language
13236 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13237 collapsible insets.
13239 2001-08-10 Juergen Vigna <jug@sad.it>
13241 * text.C (prepareToPrint): fixed hfill-width in draw!
13243 * BufferView2.C (selectLastWord): save the selection cursor as this
13244 now is cleared in the function LyXText::clearSelection!
13246 2001-08-08 Juergen Vigna <jug@sad.it>
13248 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13249 BACKSPACE type functions.
13251 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13252 is only cutted from the document but not put in the cut-buffer, where
13253 still the old stuff should be.
13255 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13257 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13259 * tabular.C (SetWidthOfCell): fixed special case where the width
13261 (LeftLine): handle '|' in align_special.
13263 (LeftAlreadyDrawed): ditto
13264 (SetWidthOfCell): ditto
13266 2001-08-07 Juergen Vigna <jug@sad.it>
13268 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13270 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13272 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13273 * lyxlex.[hC]: ditto
13275 2001-08-06 Juergen Vigna <jug@sad.it>
13277 * text.C (getVisibleRow): fix up row clearing a bit.
13279 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13281 * minibuffer.C: make sure the X server sees the changes in the input.
13283 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13285 * paragraph.C (getFont): split into...
13286 (getLabelFont): this
13287 (getLayoutFont): and this
13288 * paragraph_pimpl.C (realizeFont): calling this
13290 * text2.C (getFont): split into...
13291 (getLayoutFont): this
13292 (getLabelFont): and this
13293 (realizeFont): all three calling this
13295 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13298 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13300 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13302 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13304 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13305 layouts from the Quote inset insertion.
13307 2001-08-03 Juergen Vigna <jug@sad.it>
13309 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13311 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13312 only if status not is already CHANGED_IN_DRAW (second level).
13314 * text.C (draw): don't set the need_break_row when inside an
13317 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13319 * buffer.C (parseSingleLyXformat2Token): handle more latex
13322 * bufferview_funcs.[hC]: change function names to
13323 begin with small char, adjust other files.
13325 2001-08-02 André Pönitz <poenitz@gmx.net>
13328 BufferView_pimpl.C: remove broken special code for math-greek
13330 2001-08-02 Juergen Vigna <jug@sad.it>
13332 * BufferView_pimpl.C (update): redone this function so that we
13333 update the text again if there was a CHANGE_IN_DRAW.
13335 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13336 (drawFromTo): added a new internal bool which is used by draw() and
13338 (general): some cursor drawing problems fixed.
13340 2001-08-01 Juergen Vigna <jug@sad.it>
13342 * lyxfind.C (LyXFind): fixed
13343 (SearchForward): ditto
13344 (SearchBackward): ditto
13346 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13347 spurius drawing of the cursor in the main area.
13349 * text2.C (status): small fix which could lead to a segfault!
13350 (clearSelection): remove unneeded BufferView param.
13352 2001-08-01 André Pönitz <poenitz@gmx.net>
13354 * lyxfunc.C: small change due to changed mathed interface
13356 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13358 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13360 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13362 * lyxfunc.c: fail gracefully if file doesn't exist
13367 * BufferView_pimpl.C: IsDirWriteable() proto changed
13369 * LyXView.C: fix updateWindowTitle() to store the last title
13371 2001-07-31 Juergen Vigna <jug@sad.it>
13373 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13374 the font (wrong since using of Paragraph::highestFontInRange).
13376 * paragraph.C (highestFontInRange): added a default_size parameter.
13378 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13379 (setHeightOfRow): reformat
13381 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13383 * converter.[hC] + affected files: move to (inital-char)lowercase
13386 * ParagraphParameters.C (ParagraphParameters): remove commented code
13388 * PainterBase.[Ch]: remove commented code
13390 * LaTeXFeatures.h: add "bool floats" for float.sty
13392 * LaTeXFeatures.C (LaTeXFeatures): init floats
13393 (require): handle float
13394 (getPackages): do it with floats
13396 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13398 * BufferView_pimpl.C (Dispatch): improve handling of
13399 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13401 * commandtags.h: #include lyxfont.h here temporarily to avoid
13404 * bufferlist.h: include LString.h here.
13406 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13408 * text2.C (getStringToIndex): new method.
13410 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13412 * *: Reduced header file dependencies all over.
13414 2001-07-30 Baruch Even <baruch@lyx.org>
13416 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13418 2001-07-29 Baruch Even <baruch@lyx.org>
13420 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13422 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13424 * ParameterStruct.h (endif): add a default constructor to make
13425 sure that all variables is initialized.
13427 * ParagraphParameters.C (ParagraphParameters): adjust
13429 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13431 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13432 index; also, check that there is something to index, and that it
13433 does not span over several paragraphs.
13434 (doubleClick): use WHOLE_WORD_STRICT for double click.
13436 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13438 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13441 2001-07-26 Baruch Even <baruch@lyx.org>
13443 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13444 an InsetFig figure, backwards compatible reading of old figure code.
13446 2001-07-27 Juergen Vigna <jug@sad.it>
13448 * text2.C: font.realize function adaption.
13450 * text.C (draw): add a warnings lyxerr text if needed.
13452 * layout.C: font.realize function adaption.
13454 * language.C: add inherit_language and implement it's handlings
13456 * bufferview_funcs.C (StyleReset): remove language parameter from
13457 font creation (should be language_inherit now).
13459 * bufferparams.C (writeFile): handle ignore_language.
13461 * paragraph.C (getFontSettings): the language has to be resolved
13462 otherwise we have problems in LyXFont!
13464 * lyxfont.C (lyxWriteChanges): added document_language parameter
13465 (update): removed unneeded language parameter
13467 * paragraph.C (validate): fixed wrong output of color-package when
13468 using interface colors for certain fonts in certain environments,
13469 which should not seen as that on the final output.
13471 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13473 * BufferView_pimpl.C:
13478 * LyXAction.C: add thesaurus support
13481 * lyxfind.C: add "once" parameter, for thesaurus, to not
13482 move to the next match
13484 2001-07-26 Juergen Vigna <jug@sad.it>
13486 * lyxfont.C (realize): honor ignore_language too!
13489 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13491 * text.C (draw): one place more for ignore_language to not draw
13494 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13496 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13498 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13500 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13501 the minipage conversion problem.
13503 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13505 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13508 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13510 * BufferView.h: don't forward declare WorkArea
13512 * BufferView.C: don't include WorkArea.h
13514 2001-07-25 André Pönitz <poenitz@gmx.net>
13518 * lyxfunc.C: new LFUN 'math-space'
13520 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13522 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13524 * text2.C (toggleInset): call open/close
13526 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13528 * lyxfunc.C (dispatch): add debug for the disabled case
13530 * font.C (buttonText): make similar to rectText
13532 * buffer.C (readInset): comment out parsing of insetlist and
13535 * PainterBase.C (rectText): small correction
13537 * BufferView_pimpl.C: comment out insettheorem and insetlist
13538 * LyXAction.C: ditto
13539 * commandtags.h: ditto
13541 2001-07-24 Juergen Vigna <jug@sad.it>
13543 * text.C (draw): honor the ignore_language.
13545 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13547 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13549 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13552 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13554 * lyxtext.h: remove unused (and unimplemented) methods
13556 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13558 * text.C (getVisibleRow): honor background color
13561 * Painter.h: remove default color argument for fillRectangle
13563 * text.C (backgroundColor): new method
13565 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13567 * text.C (getVisibleRow): adjust
13569 * font.[Ch] (rectText): new method, metrics
13570 (buttonText): new method, metrics
13572 * PainterBase.[hC]: make rectText and buttonText always draw and take
13575 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13577 * ToolbarDefaults.C (read):
13578 * MenuBackend.C (read): allow escaping in all strings
13580 * BufferView_pimpl.C (insertAndEditInset): new method.
13581 (Dispatch): use insertAndEditInset whenever appropriate.
13583 * BufferView_pimpl.C (insertNote): removed
13585 * BufferView_pimpl.C (smartQuote): new method, moved from
13586 BufferView; if an insetquote cannot be inserted, insert a '"'
13589 * BufferView2.C: remove insertCorrectQuote();
13591 * lyxfunc.C (getStatus): Add support for all remaingin
13592 inset-insert lfuns.
13594 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13596 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13597 command (necessary to pass " as parameter of self-insert.
13599 * text.C (selectWordWhenUnderCursor):
13600 (selectWord): add word_location parameter
13601 (selectWordWhenUnderCursor): same + remove special code for word
13603 (selectNextWord): use kind() to guess type of insetspecialchar,
13606 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13607 (insertErtContents): create ert insets as collapsed.
13608 (readInset): better compatibility code for Info inset.
13610 2001-07-20 Juergen Vigna <jug@sad.it>
13612 * lyxfunc.C (dispatch): use always LyXFind now!
13614 * text2.C (init): add a reinit flag so that the LyXText can be
13615 reinited instead of deleted and reallocated (used in InsetText).
13617 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13623 2001-07-18 Juergen Vigna <jug@sad.it>
13625 * text.C (selectNextWord): handle insets inside inset by calling
13626 always the bv->text functions so that we can go up the_locking_inset!
13628 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13629 in strange locations when inside an inset!
13631 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13632 handling to include insets.
13634 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13636 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13638 * LyXAction.C (init):
13640 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13641 LIGATURE_BREAK, since the name is so stupid.
13643 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13645 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13648 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13650 * sp_form.[Ch]: remove.
13652 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13654 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13657 * src/buffer.C (readInset): ditto.
13659 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13661 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13662 menuSeparator(), endOfSentenceDot(), ldots() and
13663 hyphenationPoint(), which are therefore removed.
13664 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13666 * LyXAction.C (init):
13667 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13669 * paragraph.C (getWord): removed.
13671 * BufferView_pimpl.C (Dispatch): use last word or selection for
13672 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13674 * lyx_main.C (queryUserLyXDir): do not ask before creating
13675 user_dir, except if it has been named explicitely.
13677 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13679 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13680 a document of zero size.
13682 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13684 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13685 approriately in the c-tor and in require().
13686 (getPackages): output the appropriate LaTeX for natbib support.
13688 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13689 variables "use_natbib" and "use_numerical_citations" when reading the
13691 (readInset): read the various natbib cite commands.
13692 (validate): white-space change.
13694 * bufferparams.[Ch]: new variables "bool use_natbib" and
13695 "bool use_numerical_citations".
13696 (writeFile): output them in the LyX file.
13698 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13700 * lyxfunc.C (getStatus): add support for all the inset insertion
13703 * text2.C (insertInset):
13704 * paragraph.C (insetAllowed):
13705 * BufferView_pimpl.C (insertInset): update to take in account the
13706 renaming of insertInsetAllowed
13708 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13710 * text2.C (getInset): new method. returns inset at cursor position.
13712 * BufferView_pimpl.C (Dispatch): changes because of this.
13714 * LyXAction.C (init): rename open-stuff to inset-toggle.
13716 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13718 * text2.C (toggleInset): renamed from openStuff; use
13721 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13723 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13725 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13727 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13729 * buffer.C (readLyXformat2): Add filename to the error dialog
13731 2001-07-18 Juergen Vigna <jug@sad.it>
13733 * tabular.C (GetCellNumber): put an assert here instead of the check!
13735 2001-07-17 Juergen Vigna <jug@sad.it>
13737 * BufferView_pimpl.C (toggleSelection): adapted too.
13739 * text.C (selectNextWord): adapted for use with insets.
13740 (selectSelectedWord): ditto
13742 2001-07-17 Juergen Vigna <jug@sad.it>
13744 * sp_spell.C (PSpell): fix initialitation order.
13746 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13748 * paragraph.C: spacing
13750 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13752 * sp_spell.C: repair language selection for pspell
13754 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13756 * lyxfunc.h: change more methods to begin with lower char.
13758 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13760 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13761 for unknown layouts.
13763 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13765 * buffer.C (readLyXformat2): Generate an error dialog if there are
13768 2001-07-16 Juergen Vigna <jug@sad.it>
13770 * sp_spell.C: always compile ISpell part.
13772 * lyxrc.C: added use_pspell entry and it's handling.
13774 2001-07-13 Juergen Vigna <jug@sad.it>
13776 * sp_spell.C: removed double includes.
13778 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13780 Consistent use of Lsstream.h:
13781 * Lsstream.h: added using std::stringstream for consistencies sake.
13783 * buffer.C: removed using std::stringstream
13785 * lyxfont.C (stateText):
13786 * paragraph.C (asString):
13787 * text.C (selectNextWord, selectSelectedWord):
13788 * text2.C (setCounter):
13789 * vspace.C (asString, asLatexString):
13790 std::ostringstream -> ostringstream.
13792 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13794 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13795 * commandtags.h: add LFUN_HELP_ABOUTLYX
13796 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13798 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13800 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13802 * lyx_gui_misc.C: remove spellchecker
13803 * lyxfunc.C: showSpellchecker
13805 * sp_ispell.h: added
13806 * sp_pspell.h: added
13807 * sp_spell.C: added
13808 * sp_form.[Ch]: removed
13809 * spellchecker.[Ch]: removed
13811 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13813 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13815 (simpleTeXSpecialChars): Simply print the input character without
13816 any special translation if pass_thru is set.
13818 * layout.h: Added bool pass_thru to layout class for being able to
13819 implement pass through of a paragraph for Literate Programming.
13821 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13822 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13823 * layout.C (Read): add "passthru" to list of layout tags and add
13824 code to set the pass_thru boolean when it is read.
13826 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13828 * trans_decl.h: remove allowed from KmodInfo
13830 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13831 remove allowed code
13834 * paragraph_pimpl.C (erase): use boost::prior
13836 * Painter.C (text): use data() instead of c_str() when length is
13838 * WorkArea.C (putClipboard): ditto
13839 * font.h (width): ditto
13841 * BufferView2.C: use it-> instead of (*it). for iterators
13843 * paragraph_pimpl.C: ditto
13844 * paragraph.C: ditto
13845 * minibuffer.C: ditto
13846 * language.C: ditto
13848 * encoding.C: ditto
13849 * counters.C: ditto
13850 * converter.C: ditto
13852 * Variables.C: ditto
13853 * TextCache.C: ditto
13854 * MenuBackend.C: ditto
13855 * LyXAction.C: ditto
13857 * FloatList.C: ditto
13858 * DepTable.C: ditto
13859 * ColorHandler.C (LyXColorHandler): ditto
13861 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13863 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13865 * text2.C (openStuff): reintroduce this method (which had been
13866 nuked in NEW_INSETS frenzy).
13868 * lyxfunc.C (Dispatch): when an action has not been handled, use
13869 its name in the error message, not its number.
13871 * paragraph.C (inInset): change method name to begin with lowercase.
13874 * text2.C: updates because of this.
13876 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13878 * ToolbarDefaults.C (add): add spaces in error message
13880 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13882 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13883 (readLyXformat2): rename return_par to first_par, use lyxlex's
13884 pushToken and remove the manual push handling.
13885 (parseSingleLyXformat2Token): add another ert comp. variable:
13886 in_tabular, rename return_par to first_par. handle newlines better
13888 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13890 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13892 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13894 * text2.C (getParFromID): removed
13896 * buffer.C (getParFromID): new method moved form lyxtext.
13897 * BufferView2.C (insertErrors): adjust
13898 (setCursorFromRow): adjust
13899 * BufferView_pimpl.C (restorePosition): adjust
13900 * lyxfunc.C (Dispatch): adjust
13901 * undo_funcs.C (textUndo): adjust
13903 (textHandleUndo): adjust
13904 (textHandleUndo): adjust
13906 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13908 * buffer.C: up' the LYX_FORMAT
13910 * lyxfont.h: turn NO_LATEX on as default
13912 * buffer.C (insertErtContents): new methods of tex style compability.
13913 (parseSingleLyXformat2Token): use it several places.
13914 * tabular.C (OldFormatRead): and here
13916 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13918 * text2.C: remove some commented code.
13921 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13922 * trans.C: changes because of the above.
13924 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13926 * text2.C (setCounter): Fix counters bug with bibliography layout.
13928 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13930 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13931 own member functions
13932 (simpleTeXSpecialChars): ditto
13934 2001-07-06 Juergen Vigna <jug@sad.it>
13936 * a lot of files: changed the access to LyXText::status and the
13937 call of undo-functions.
13939 * undo.[Ch]: added a inset_id to the undo informations.
13941 * undo_funcs.[Ch]: added and moved here all undo functions.
13943 * lyxtext.h: give the status enum a weight, made status_ a private
13944 variable and made accessor functions for it, removed the whole bunch
13945 of undo-functions as they are now in their own file, make some
13946 functions publically available. Added function ownerParagraph with
13949 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13950 made InInset() a const function, added getParFromID() function.
13952 * buffer.[Ch]: added const version for inset_iterator functions,
13953 added getInsetFromID() function.
13955 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13956 changed undo functions for new version.
13958 2001-07-05 Juergen Vigna <jug@sad.it>
13960 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13961 unknow mechanism does not call the proper constructor but only this
13962 one also if I request the other!?
13964 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13966 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13968 * text2.C (LyXText): use initialization lists.
13970 * lyxtext.h (Selection): initialize set_ and mark_
13971 (init): remove method
13973 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13975 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13977 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13979 * screen.[Ch]: change method names to begin with lowercase
13981 * BufferView_pimpl.C (updateScrollbar): simplify further and
13982 hopefully make it a bit faster.
13984 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13986 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13987 calling directly xforms functions.
13989 * Painter.C (Painter):
13990 * lyx_cb.C (MenuWrite):
13991 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13994 * lyx_gui.C: remove bogus guiruntime extern declaration.
13996 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13998 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14000 (redoDrawingOfParagraph): ditto
14001 (redoParagraphs): ditto
14002 (cutSelection): don't create a object for CutAndPaste use the
14003 static method directly
14004 (pasteSelection): ditto
14006 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14009 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14011 * modifications to some other files because of this.
14013 * Makefile.am (lyx_SOURCES): add XFormsView
14015 * XFormsView.[Ch]: new files
14017 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14018 the main window. Move the gui dependent stuff to XFormsView
14020 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14022 * tabular.C (GetCellInset): update cur_cell also in the row/col
14023 version of this function.
14025 * lyxfunc.C: no need to include figure_form.h here.
14031 * lyxvc.C: no need to include forms.h here.
14033 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14035 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14037 * lyxfunc.C (Dispatch):
14039 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14040 constructor argument.
14042 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14044 * paragraph.C (Paragraph): dont't clear, and just set layout.
14045 (makeSameLayout): use params's copy contructor.
14047 * ParagraphParameters.[Ch] (makeSame): delete method
14049 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14051 * Variables.[Ch]: fix indentation, rename set to isSet
14053 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14055 * lyxfunc.C (Dispatch): fix typo
14057 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14059 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14062 * bufferlist.C: include assert.h for emergencyWrite().
14064 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14066 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14067 give up at last (bug #425202) !
14069 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14075 * spellchecker.C: strip spellchecker options and bring up
14076 preferences tab instead
14078 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14080 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14081 the istringstream constructor
14083 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14085 * paragraph.C (getLayout): fix return value
14087 * paragraph.h: do not declare getLayout as inline.
14089 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14091 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14093 * lyxcursor.h (operator<): new func
14094 (operator>): new func
14095 (operator>=): new func
14096 (operator<=): new func
14098 * text.C (changeCase): use selection.start and selection.end
14099 (changeRegionCase): require from to be <= to. Require par to be a
14102 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14104 2001-06-27 Juergen Vigna <jug@sad.it>
14106 * text.C (cursorLeftOneWord): changed to return the cursor and added
14107 overlay with BufferView * parameter which calls this one.
14109 (selectWord): use new getWord function.
14110 (changeCase): renamed from changeWordCase as and extended to work
14111 also on selections.
14113 * lyxtext.h: added enum word_location
14115 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14116 changeCase as this operates now also on selections.
14118 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14120 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14122 * many files: send debug output to Debug::INFO instead of
14125 * converter.C (View):
14127 (Move): send debug output to Debug::FILES instead of console.
14129 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14131 * lyxfunc.C (getStatus): use func_status
14133 * func_status.h: new header, describing the results of
14134 LyXFunc::getStatus;
14136 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14139 2001-06-25 The LyX Project <jug@sad.it>
14141 * buffer.C (sgmlOpenTag):
14143 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14145 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14147 * text2.C: remove some dead code
14149 * tabular.C (GetCellInset): store the last cell checked (gotten)
14151 * tabular.h: add the helper for the speedup
14153 * lyxtext.h: remove some dead code
14155 2001-06-26 The LyX Project <Asger>
14157 * paragraph.C: Change export to LaTeX of alignment to
14158 \begin{center} and family for better roundtrip work with reLyX.
14160 * Tune the math drawing a bit.
14162 2001-06-25 The LyX Project <Asger>
14164 * LColor.C (LColor): New color for math background. New color
14167 2001-06-25 The LyX Project <jug@sad.it>
14169 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14171 * lyxfunc.C (Open):
14172 * bufferlist.C (newFile): do not restrict to files ending with
14175 * BufferView_pimpl.C (MenuInsertLyXFile):
14177 2001-06-24 The LyX Project <jug@sad.it>
14179 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14182 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14184 * lyxtext.h: rename most methods to begin with a small char.
14185 Lots of changes because of this.
14187 * paragraph.C (Paragraph): do not call fitToSize
14188 (erase): call Pimpl::erase
14189 (insertChar): call Pimpl::insertChar
14190 (insertInset): call Pipl::insertInset
14191 (breakParagraph): do not call fitToSize
14192 (breakParagraphConservative): do not call fitToSize
14193 (fitToSize): remove method
14195 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14197 2001-06-24 The LyX Project <Asger>
14199 * Fix Qt compilation^2
14201 2001-06-24 The LyX Project <jug@sad.it>
14203 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14204 depthHook(getDepth()-1).
14207 * ParagraphParameters.h:
14208 * ParameterStruct.h: change type of depth to unsigned int ==
14209 depth_type. Many adaptations to other files before of that.
14211 2001-06-24 The LyX Project <Asger>
14213 * Fix Qt compilation.
14215 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14217 * paragraph.h: renamed several methods to begin with small letter.
14218 several changes to many parts of the code because of this.
14220 2001-06-23 The LyX Project <jug@sad.it>
14222 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14223 rewritten to discard all double spaces when KeepEmpty is off
14224 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14225 to only handle newlines but not fiddle with spaces and friends.
14227 * lyxfunc.C (MenuNew): when doing 'new from template', use
14228 template_path as default directory
14230 2001-06-23 The LyX Project <Asger>
14232 * Clean-up of header file includes all over
14233 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14235 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14237 * paragraph.h: renamed from lyxparagraph.h
14239 2001-06-23 Asger <lyx@violet.home.sad.it>
14241 * Buffer.h: Removed Buffer::resize
14242 * BufferList.h: Removed BufferList::resize
14243 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14244 the document lazily when we change the width, or the font settings.
14246 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14248 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14250 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14252 * buffer.h: remove out of date comment
14254 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14257 * screen.C: fix "theoretical" GC leak
14259 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14261 * LaTeX.C (scanAuxFile):
14262 (deplog): remove trailing \r when reading stream (useful under
14265 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14267 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14268 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14269 and BufferView::theLockingInset(Inset*), so should use them and not
14270 access bv_->text->the_locking_inset directly.
14272 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14274 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14277 * tex-defs.h: remove old unused file
14279 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14281 * BufferView_pimpl.C: fix typo, remove minibuffer message
14282 when buffer has loaded
14284 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14286 * lyxfunc.C (Dispatch): use stringstream
14287 (MenuNew): use stringstream
14288 (Open): use stringstream
14290 * importer.C (Import): use stringstream
14292 * bufferview_funcs.C (CurrentState): use stringstream
14294 * LaTeX.C (run): use stringstream
14296 * BufferView_pimpl.C (savePosition): use stringstream
14297 (restorePosition): use stringstream
14298 (MenuInsertLyXFile): use stringstream
14300 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14313 * vspace.C: removed // -*- C++ -*- as first line.
14316 * version.h: added // -*- C++ -*- as first line.
14318 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14320 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14322 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14325 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14327 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14330 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14332 * gettext.C: include LString.h even when --disable-nls is on.
14334 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14336 * converter.h (Get): changed argument type from int to
14337 FormatList::size_type to avoid unnecessary conversion.
14339 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14342 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14344 * gettext.h: include LString.h even when --disable-nls is on.
14346 2001-06-07 Juergen Vigna <jug@sad.it>
14348 * text.C (BreakAgain): subst spaces with tabs.
14350 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14351 (resizeInsetsLyXText): set force on resizeLyXText.
14353 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14355 * gettext.h (gettext_init):
14356 (locale_init): use a real definition instead of a macro
14358 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14360 * Bufferview_pimpl.C:
14362 * LColor.C: further lcolor tidies
14364 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14366 * BufferView_pimpl.C (updateScrollbar): simplify.
14368 * BufferView2.C: don't include insets/insetinfo.h, change
14369 prototype for insertInset and call the Pimpl version. let
14370 updateInset call Pimpl version.
14372 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14373 gotoInset to BufferView::Pimpl
14375 2001-06-01 Juergen Vigna <jug@sad.it>
14377 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14378 inside a LockingInset (is the update needed at all?).
14380 2001-05-31 Juergen Vigna <jug@sad.it>
14382 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14383 here not the old one otherwise how should we compare it afterwards
14386 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14391 * FontInfo.C: bring C functions into global namespace when
14394 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14396 * LString.h: make sure config.h has been loaded before LString.h.
14398 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14399 (one for each char read by EatLine!).
14401 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14404 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14406 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14407 to the same as the par we break from
14409 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14411 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14413 * MenuBackend.C (expand): also create menu entries for wide
14414 versions of the floats.
14416 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14418 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14420 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14421 frontends/Makefile.am
14427 * tabular.C (getTokenValue): add std::
14429 * tabular-old.C (getTokenValue): add std::
14430 (getTokenValue): ditto
14431 (getTokenValue): ditto
14433 * screen.C (ToggleSelection): adjust
14435 * lyxtext.h: put selection cursors inside a Selection struct.
14437 * lyxfunc.C (moveCursorUpdate): adjust
14439 * lyxfont.C (latexWriteStartChanges): add std::
14441 * lyxfind.C: adjust
14443 * font.h: delete with(char const *, LyXFont const &)
14445 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14447 * FontInfo.C (getFontname): add std::
14449 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14450 (workAreaButtonPress): adjust
14451 (tripleClick): adjust
14453 (moveCursorUpdate): adjust
14456 * BufferView2.C (gotoInset): adjust
14458 2001-05-30 Juergen Vigna <jug@sad.it>
14460 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14461 to check pspell I add this as default as I now have new pspell
14462 libraries and they seem to use this.
14464 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14466 * text2.C (CutSelection): make the cursor valid before the call to
14469 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14471 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14472 relied on 0 terminated strings and other horrors. Bug found due to
14473 the new assert in lyxstring!
14475 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14478 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14480 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14483 * lyxfunc.C (processKeySym): change method of getting to the
14486 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14487 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14488 * BufferView_pimpl.[Ch]: here as private methods.
14490 2001-05-28 Juergen Vigna <jug@sad.it>
14492 * text.C (SetHeightOfRow): added the update() call again as it is
14493 needed to initialize inset dimensions!
14495 2001-05-16 Juergen Vigna <jug@sad.it>
14497 * text2.C (SetCharFont): Add new function with BufferView * and
14498 bool toggleall parameters for setting insets internal fonts.
14499 (SetFont): Freeze the undo as we may change fonts in Insets and
14500 all this change should be inside only one Undo!
14502 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14503 setting font's in insets as for them we have the SetFont function!
14505 2001-05-15 Juergen Vigna <jug@sad.it>
14507 * text2.C (ClearSelection): to be sure we REALLY don't have any
14510 * tabular.C (TeXCellPreamble): fixed the left border problem for
14513 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14515 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14518 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14520 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14521 LFUN_BREAKPARAGRAPH.
14523 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14524 help test to "internal only", similar for LFUN_INSERT_URL
14526 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14527 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14528 auto_region_delete and deadkeys.
14530 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14533 * LColor.C: remove some dead entries, tidy a little
14535 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14537 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14539 (Dispatch): implement LFUN_ESCAPE
14541 * commandtags.h: add LFUN_ESCAPE
14543 * LyXAction.C (init): add entry for LFUN_ESCAPE
14545 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14546 Remove commented code.
14547 (insertNote): moved here
14548 (open_new_inset): moved here
14550 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14553 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14555 * kbmap.C (findbinding): clean it up and make it work correctly.
14557 * lyx_main.C (init): do not pass argc and argv as parameters
14559 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14561 * buffer.C: fix path for OS/2 & Win32
14565 * lyx_main.C: Added os:: class.
14567 * os2_defines.h: update
14569 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14571 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14572 better by trying again with reduced state.
14574 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14576 * lyxrc.C (read): print error about invalid key sequence only when
14577 debugging (because not all latinX keysyms are known to some X
14580 * kbsequence.C (getiso): add a few std:: qualifiers
14581 (getiso): comment out extra return statement.
14583 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14585 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14587 (Dispatch): enhance the accent inset a bit. (not perfect)
14589 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14591 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14593 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14595 * bufferlist.C (emergencyWrite): fix assert() call
14597 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14599 * text.C (InsertChar): Added trivial patch to only send the "you
14600 can not do multiple spaces this way" message once during a
14603 2001-05-08 Baruch Even <baruch@lyx.org>
14605 * Makefile.am: Changed order of libraries to get LyX to link properly
14606 with the gnome frontend.
14608 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14610 * LaTeXFeatures.h: add a std:: qualifier
14612 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14614 * paragraph.C (String): use stringstream
14616 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14618 * paragraph.C (writeFile): remove footflag arg
14620 * buffer.C (makeLaTeXFile): use stringstream
14621 (latexParagraphs): remove footnot gurba
14623 * LaTeXFeatures.C (getPackages): use stringstream
14624 (getMacros): likewise
14625 (getTClassPreamble): likewise
14626 (getFloatDefinitions): new method
14628 * paragraph.C (writeFile): reindent
14631 * WorkArea.h: revert the xpos + etc changes.
14633 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14635 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14637 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14638 (pasteSelection): likewise
14639 * text2.C (CreateUndo): likewise
14641 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14643 * minibuffer.C (peek_event): temporarily reduce the functionality
14644 of the minibuffer (to allow args on lfuns)
14646 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14647 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14649 * buffer.C (readInset): add compability reading of old float
14650 lists, add reading of new style float list.
14651 (readInset): avoid reevaluation of inscmd.getCmdName()
14652 (getLists): reindent
14654 * MenuBackend.C (MenuItem): implement parsing of
14655 md_floatlistinsert and md_floatinsert.
14656 (expand::LastFiles): move initalizaton of iterators out of loop,
14657 avoid reevaluation.
14658 (expand::Documents): introduce typdedef vector<string> Strings,
14660 (expand::ExportFormats): introduce typedef vector<Format const *>
14661 Formats, and use it.
14662 (expand): implement FloatListInsert and FloatInsert.
14664 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14665 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14666 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14668 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14670 (Dispatch::LFUN_FLOAT_LIST): implement
14672 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14674 * LaTeX.C (run): Fix problem with --export code.
14676 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14678 * BufferView.[Ch] (workarea): removed.
14679 (getClipboard) new method; wrapper for workarea()->getClipboard()
14681 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14684 * WorkArea.h (width, height, xpos, ypos): These methods all
14685 returned the dimensions of the work_area sub-area of WorkArea,
14686 resulting in a position error if the WorkArea were resized. Now
14687 return the dimensions of the entire WorkArea.
14689 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14691 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14693 * LaTeX.C (deplog): correct the syntax of regex reg1
14695 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14697 * undo.C: remove !NEW_INSETS cruft
14699 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14701 * text2.C: remove !NEW_INSETS cruft
14703 * text.C: remove !NEW_INSETS cruft
14705 * tabular.C: remove !NEW_INSETS cruft
14707 * spellchecker.C: remove !NEW_INSETS cruft
14709 * lyxtext.h: remove !NEW_INSETS cruft
14711 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14713 * lyxfunc.C: remove !NEW_INSETS cruft
14715 * lyxfind.C: remove !NEW_INSETS cruft
14717 * lyx_cb.C: remove !NEW_INSETS cruft
14719 * figureForm.C: remove !NEW_INSETS cruft
14721 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14723 * buffer.[Ch]: remove !NEW_INSETS cruft
14725 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14727 * CutAndPaste.C: remove !NEW_INSETS cruft
14729 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14731 * BufferView2.C: remove !NEW_INSETS cruft
14733 * BufferView.h: remove !NEW_INSETS cruft
14735 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14737 * Lsstream.h: include LString.h before the sstream headers to
14738 fix problem with gcc 2.95.3 and lyxstring
14740 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14742 * lyx_main.C: add using directives when needed for C functions
14743 declared in std:: namespace.
14745 2001-04-27 Juergen Vigna <jug@sad.it>
14747 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14748 (SetHeightOfRow): comment out the update call should not be needed!
14750 2001-04-13 Juergen Vigna <jug@sad.it>
14752 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14753 (LyXTabular): tried to minimize operator= operations (and realized
14754 hopfully Lars wish).
14756 2001-04-27 Juergen Vigna <jug@sad.it>
14758 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14760 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14762 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14764 * buffer.C (readInset): hack to make listof algorithm work
14766 * BufferView_pimpl.C: hack to make listof algorithm work
14768 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14770 * LyXAction.C: removed all !NEW_INSETS cruft
14771 (init): moved lfun_item in method
14773 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14775 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14777 * BufferView2.C (theLockingInset): white space.
14779 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14781 * minibuffer.C: include <iostream>
14783 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14785 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14787 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14789 * text.[Ch] (TransposeChars): new method
14791 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14793 * call message directly through LyXView instead of through LyXFunc
14794 * BufferView2.C: adjust
14795 * BufferView_pimpl.C: adjust
14796 * FontLoader.C: adjust
14798 * bufferview_funcs.C: adjust
14799 * converter.C: adjust
14800 * figureForm.C: adjust
14801 * importer.C: adjust
14803 * lyx_gui_misc.C: adjust
14804 * lyxfunc.C: adjust
14807 + more files in subdirs
14809 * lyxparagraph.h (size): move up int file
14812 * adjust all uses of Assert to lyx::Assert.
14814 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14815 lyxfunctional in namespace lyx
14816 * layout.C (hasLayout): ditto
14819 (delete_layout): ditto
14820 (NumberOfClass): ditto
14821 * converter.C (GetFormat): ditto
14826 * bufferlist.C (getFileNames): ditto
14827 (emergencyWriteAll): ditto
14830 * MenuBackend.C (hasSubmenu): ditto
14833 * BufferView_pimpl.C (getInsetByCode): ditto
14835 2001-04-18 Juergen Vigna <jug@sad.it>
14837 * vspace.C (asLatexString): fixed the 100% problem.
14839 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14841 * lyxfunc.C (Dispatch):
14843 * minibuffer.h: add a few std:: qualifiers
14845 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14847 * minibuffer.[Ch]: reimplement so that commands is initiated and
14848 run from lyxfunc, simplified som handling, and made the completion
14849 and history code for complete. wip.
14851 * lyxfunc.C (processKeySym): call message
14852 (miniDispatch): new temporary method
14853 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14854 (LFUN_MESSAGE): implement
14855 (LFUN_MESSAGE_PUSH): implement
14856 (LFUN_MESSAGE_POP): implement
14857 (initMiniBuffer): the initial/defualt minibuffer message.
14859 * lyxfont.[Ch]: inline some more getters
14861 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14863 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14865 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14866 (AutoSave): use LFUN_MESSAGE
14867 (Reconfigure): ditto
14869 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14871 * figureForm.C: use LFUN_MESSAGE
14873 * converter.C (runLaTeX): use LFUN_MESSAGE
14875 * bufferview_funcs.C: use LFUN_MESSAGE
14877 (changeDepth): ditto
14879 * bufferparams.h: use boost::
14881 * bufferlist.h: inherit privately from noncopyable
14883 * bufferlist.C (loadLyXFile): remove some commented code.
14885 * buffer.C (runChktex): use LFUN_MESSAGE
14887 * ShareContainer.h: inherit privately from noncopyable
14889 * ParagraphParameters.[hC] (depth): inline it.
14891 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14893 (message): new method
14894 (messagePush): ditto
14895 (messagePop): ditto
14896 (show): init minibuffer
14897 (showState): direct call
14899 * LaTeX.[Ch]: inherit privately from noncopyable
14900 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14901 instead of WriteStatus.
14903 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14905 * BufferView_pimpl.C (buffer): don't init minibuffer
14906 (workAreaButtonPress): use LFUN_MESSAGE
14907 (workAreaButtonRelease): ditto
14908 (savePosition): ditto
14909 (restorePosition): ditto
14910 (MenuInsertLyXFile): ditto
14911 (workAreaExpose): don't init minibuffer
14912 (update): remove commented code, simplify
14914 * BufferView2.C (openStuff): use LFUN_MESSAGE
14915 (toggleFloat): ditto
14918 (copyEnvironment): ditto
14919 (pasteEnvironment): ditto
14924 (updateInset): remove some commented code
14926 * lastfiles.h: inherit privately from noncopyable
14929 * lyx_main.h: ditto
14931 * lyxlex_pimpl.h: ditto
14933 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14934 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14935 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14937 * LyXAction.h: inherit privately from noncopyable, add methods
14938 func_begin, func_end, returning iterators to the func map.
14940 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14941 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14942 (func_begin): new method
14943 (func_end): new method
14945 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14947 (copySelection): ditto
14948 (pasteSelection): ditto
14950 * BufferView.C: whitespace change
14951 * BufferView.h: inherit privately from noncopyable
14953 2001-04-16 Allan Rae <rae@lyx.org>
14955 * tabular-old.C (l_getline):
14956 * spellchecker.C (sc_check_word):
14957 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14958 an unrecognised preprocessor directive. So ensure they're wrapped.
14960 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14962 * src/exporter.C (Export): Give an error message when path to file
14965 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14967 * LaTeX.C (deplog): Always check that foundfile exists.
14969 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14972 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14974 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14976 * tabular.[Ch] (getLabelList): implement new method
14978 * minibuffer.h: comment ouf setTiimer
14980 * minibuffer.C (ExecutingCB): constify res
14981 (peek_event): constify s
14982 (Set): constify ntext
14983 (Init): constify nicename
14985 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14987 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14988 (savePosition): use two params to Minibuffer::Set
14989 (restorePosition): ditto
14991 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14993 * lyx_main.C: include language.h
14995 * Makefile.am (lyx_main.o): add language.h
14997 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15003 * CutAndPaste.C: include gettext.h
15005 * lyxfont.h: remove old hack with ON and OFF.
15008 * lyxfont.h: do not include language.h...
15013 * bufferview_funcs.C:
15019 * paragraph.C: ... but do it here instead
15021 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15023 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15025 * tabular.C: small reformat
15027 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15030 (BreakParagraph): ditto
15031 (SetOnlyLayout): ditto
15034 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15037 * lastfiles.C: removed most using decl, add std:: where needed
15039 * buffer.C: ws changes
15041 * MenuBackend.C (class compare_format): put into anon namespace
15042 (expand): constify label, names, action, action2
15045 * text.C (SingleWidth): constify font
15046 (IsBoundary): constify rtl2
15047 (GetVisibleRow): constify ww
15049 * LaTeX.C (deplog): constify logfile
15051 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15053 (workAreaExpose): constify widthChange, heightChange
15055 * lyxrow.C (par): moved
15058 * lyxrow.h: as inlines here
15060 * lyxfont.h (shape): moved from lyxfont.C
15061 (emph): moved from lyxfont.C
15063 * lyxfont.C (LyXFont): use initialization list for all
15065 (shape): move to lyxfont.h as inline
15066 (emph): move to lyxfont.h as inline
15069 2001-04-04 Juergen Vigna <jug@sad.it>
15071 * vspace.C: had to include stdio.h for use of sscanf
15073 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15076 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15077 independent of xforms.
15079 2001-04-02 Juergen Vigna <jug@sad.it>
15081 * spellchecker.C: fixed namespace placing!
15083 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15085 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15086 the LyXParagraph * is 0.
15088 2001-03-29 Juergen Vigna <jug@sad.it>
15090 * vspace.C: added support for %, c%, p%, l%.
15091 (stringFromUnit): added helper function.
15092 (asLatexString): changed to give right results for the %-values.
15094 * buffer.C: convert the widthp in a width%.
15096 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15098 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15101 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15102 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15104 * lyx_cb.[Ch]: see above.
15106 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15110 * lyx.[Ch]: replaced by figure_form.[Ch].
15114 * lyxfunc.C: changed headers associated with above changes.
15116 2001-03-27 Juergen Vigna <jug@sad.it>
15118 * BufferView_pimpl.C: set the temporary cursor right!
15120 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15122 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15124 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15126 * LString.h: removed "using std::getline"!
15128 * BufferView_pimpl.C (Dispatch): changes due to changes in
15129 InsetInclude::Params.
15131 * buffer.C (tag_name): removed redundant break statements as they were
15132 producing lots of warnings with my compiler.
15134 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15136 * LString.h: add "using std::getline" when using the real <string>.
15138 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15140 * buffer.C: removed bitset usage.
15141 PAR_TAG moved to an anonymous name space.
15142 (tag_name): new funtion, also in the anonymous namespace.
15143 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15144 (makeDocBookFile): clean code. Completed transition from string arrays
15146 (SimpleDocBookOnePar): code clean.
15148 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15150 * tabular.C: add some comments.
15152 2001-03-22 Juergen Vigna <jug@sad.it>
15154 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15155 compatibility read a bit and fixed bug with minipage in different
15158 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15160 * buffer.C (pop_tag): removed.
15161 (push_tag): removed.
15162 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15163 array replaced with vector. Added support for CDATA sections.
15164 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15166 (makeDocBookFile): XML conformant declaration of CDATA section,
15167 fixed bug related to <emphasis> in the first paragraph char.
15168 (sgmlOpenTag): exclude empty tags.
15169 (sgmlCloseTag): ditto.
15171 * buffer.h (pop_tag): removed.
15172 (push_tag): removed.
15174 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15176 * language.h (Languages): added size_type and size().
15178 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15180 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15181 response on compability reading of minipages. One probliem is that
15182 the old usage of minipages was «flertydig»
15184 * several files here and in subdirs: don't use static at file
15185 scope use anon namespaces instead.
15187 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15189 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15190 LaTeX output. This is necessary for Literate document
15193 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15195 * buffer.C: insert hfill when needed.
15197 * tabular.C (l_getline): use string::erase, small whitespace change.
15199 * BufferView_pimpl.C: try the anon namespace.
15200 * WorkArea.C: ditto
15202 2001-03-16 Juergen Vigna <jug@sad.it>
15204 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15205 otherwise it won't open options-dialogs.
15207 * buffer.C: honor pextraWidth(p) on converting minipages.
15209 * tabular.C (l_getline): changed the functions to strip trailing \r.
15211 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15213 * BufferView_pimpl.C:
15214 * minibuffer..C: added "using SigC::slot" declaration.
15216 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15218 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15224 * paragraph.C: ditto
15226 * lyxtext.h: NO_PEXTRA
15228 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15230 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15231 * ParameterStruct.h: ditto
15232 * ParagraphParameters.h: ditto
15233 * lyxparagraph.h: ditto
15235 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15237 * buffer.C: add compability for minipage alignment.
15238 (latexParagraphs): remove unwanted pextra check.
15240 * several files: remove CXX_WORKING_NAMESPACES
15242 * buffer.C (pop_tag): tie is in namespace boost
15244 * BufferView.h: noncopyable is in namespace boost
15246 * lyx_main.h: ditto
15249 * lastfiles.h: ditto
15250 * bufferlist.h: ditto
15251 * ShareContainer.h: ditto
15253 * LyXAction.h: ditto
15256 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15258 * Merging changes from BRANCH_MVC back into HEAD.
15260 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15262 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15264 * BufferView_pimpl.C: change from intl.C
15268 * Makefile.am: move combox.*
15274 * intl.C: remove dialog (covered by prefs)
15276 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15278 * lyxfunc.C (Dispatch): removed redundant break statement.
15280 2001-03-14 Juergen Vigna <jug@sad.it>
15282 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15284 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15286 * buffer.C: add hack to fix compability reading of minipages.
15288 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15290 * buffer.C (getLists): Cleanup.
15292 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15294 * lyxfont.C (update): don't honor toggleall on font size.
15296 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15300 * Makefile.am: moved to frontends/xforms/
15304 * BufferView_pimpl.C: changes for moved mathpanel
15306 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15308 * gettext.h: fix gettext_init() in --disable-nls
15310 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15312 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15314 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15317 * lyx.h: strip external form
15319 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15321 * BufferView_pimpl.C: add comment, destroySplash()
15323 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15325 * BufferView_pimpl.C:
15329 * lyxfunc.C: use re-worked insetinclude
15331 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15333 * buffer.C: add using std::stringstream.
15335 * lyx_cb.C: readd using std::ios.
15337 * buffer.C: add using std::map.
15339 * BufferView_pimpl.C: add using std::vector.
15341 * ShareContainer.h: add std:: to swap.
15343 * buffer.h: add some typedefs
15344 * buffer.C (getLists): use them
15345 (getLists): renamed from getTocList.
15346 add a counter for the different float types and use it in the
15348 (getLists): use the same counter for the NEW_INSETS and the "non"
15351 * lyx_cb.h: remove unused items, includes, using etc.
15353 * ShareContainer.h: remove some commented code, add more comments
15354 and "documentation".
15356 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15358 * buffer.C (getTocList): make the list also when NEW_INSETS is
15361 * buffer.h: remove TocType
15363 * buffer.C (getTocList): change to return a map<string,
15364 vector<TocItem> >, implement for dynamic number of list.
15366 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15367 * text2.C (PasteSelection): adjust
15368 * CutAndPaste.C (pasteSelection): adjust
15370 * FloatList.C (FloatList): update from the new_insets branch.
15371 * Floating.[Ch]: ditto
15372 * LaTeXFeatures.C: ditto
15374 * lyxlex_pimpl.C: ditto
15376 * paragraph.C (Last): remove when NEW_INSETS is defined.
15378 * other file: changes because of the above.
15380 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15382 * lyxparagraph.h: rename next to next_, previous to previous_,
15383 make them private for NEW_INSETS. Rename Next() to next(),
15384 Previous() to previous().
15386 * other files: changes because of the above.
15388 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15391 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15394 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15396 * main.C (main): pass lyx_localedir to gettext_init().
15398 * gettext.h: remove locale_init and gettext_init macros
15400 * gettext.C (locale_init): new function
15401 (gettext_init): new function
15403 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15406 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15408 * Moved credits to frontends:
15409 * credits.[Ch]: removed
15410 * credits_form.[Ch]: removed
15411 * lyx_gui_misc.C: remove credits stuff
15414 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15416 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15418 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15419 unneeded destructor.
15421 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15422 a standalone pointer again.
15424 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15426 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15432 * ToolbarDefaults.C:
15441 * BufferView_pimpl.C: use new file dialog in GUII
15444 * lyx_cb.C: remove LayoutsCB to Toolbar
15446 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15448 * ShareContainer.h (get): add std:: qualifier
15450 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15452 * ShareContainer.h: define a proper ShareContainer::value_type
15453 type (and use typename to please compaq cxx)
15455 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15457 * lyxparagraph.h: move serveral local vars to
15458 ParameterStruct/ParagraphParameters., use ShareContainer in
15459 FontTable., make vars in FontTable private and add getter and
15462 * paragraph.C: changes because of the above.
15464 * lyxfont.h: remove copy constructor and copy assignment. (the
15465 default ones is ok), move number inside FontBits. move inlines to
15468 * lyxfont.C: add number to initializaton of statics, move several
15469 inlines here. constify several local vars. some whitespace
15470 cleanup. Dont hide outerscope variables.
15472 * Spacing.h: add two new constructors to match the set methods.
15474 * ShareContainer.h: new file, will perhaps be moved to support
15476 * ParameterStruct.h: new file
15478 * ParagraphParameters.h: new file
15480 * ParagraphParameters.C: new file
15482 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15483 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15485 * BufferView_pimpl.C: ParagraphParameter changes.
15486 * buffer.C: Likewise.
15487 * bufferview_funcs.C: Likewise.
15488 * text.C: Likewise.
15489 * text2.C: Likewise.
15491 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15493 * lyxfind.C (LyXReplace): do not redefine default argument in
15495 (IsStringInText): ditto
15496 (SearchForward): ditto
15497 (SearchBackward): ditto
15499 2001-03-06 Juergen Vigna <jug@sad.it>
15501 * lyxfind.C (IsStringInText): put parentes around expressions.
15503 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15505 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15507 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15509 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15511 * stl_string_fwd.h: add comment
15513 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15516 * tabular.C: remove unused DocBook methods
15522 killed DO_USE_DEFAULT_LANGUAGE
15524 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15526 * lyx_gui.C: do not include language.h.
15528 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15529 arguments in function implementation.
15531 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15533 * BufferView_pimpl.C: add <ctime>
15535 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15537 * BufferView_pimpl.C: add using std::find_if
15539 2001-02-27 José Matos <jamatos@fep.up.pt>
15541 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15544 2001-02-11 José Matos <jamatos@fep.up.pt>
15546 * buffer.C (makeDocBookFile): command styles now have a parameter as
15547 "title" by default.
15549 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15551 * layout_forms.[Ch]: removed
15552 * lyx_cb.[Ch]: out character
15553 * lyx_gui.C: out character
15554 * lyx_gui_misc.C: out character
15555 * bufferview_funcs.C: : out character,
15556 added toggleall as parameter in ToggleAndShow
15558 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15560 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15562 * text2.C (SetCurrentFont): Disable number property at boundary.
15564 2001-02-26 Juergen Vigna <jug@sad.it>
15566 * lyxfunc.C (getStatus): added a string argument override function so
15567 that this is correctly called from LyXFunc::Dispatch if it contains a
15568 do_not_use_argument which is used!
15569 (Dispatch): added check for "custom" export and call appropriate func.
15571 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15573 * lyxrc.C: Add language_command_local, language_use_babel and
15574 language_global_options.
15576 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15578 * buffer.C (makeLaTeXFile): Use language_use_babel and
15579 language_global_options.
15581 2001-02-23 Juergen Vigna <jug@sad.it>
15583 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15584 which works with LyXText and putted it inside BufferView. Here now we
15585 only call for that part the BufferView::Dispatch() function.
15587 * BufferView.C (Dispatch): added.
15589 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15590 functions which needs to use a LyXText over from LyXFunc.
15591 (MenuInsertLyXFile): added
15592 (getInsetByCode): added
15593 (moveCursorUpdate): added
15594 (static TEXT): added
15596 2001-02-22 Juergen Vigna <jug@sad.it>
15598 * BufferView_pimpl.C (update): call a status update to see if LyXText
15601 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15603 * vc-backend.C (revert): implement for CVS
15604 (getLog): implement for CVS
15606 2001-02-20 Juergen Vigna <jug@sad.it>
15608 * text2.C (ClearSelection): added BufferView param for inset_owner call
15610 * lyxfunc.C (TEXT): added this function and use it instead of
15611 directly owner->view()-text of getLyXText().
15613 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15615 * src/layout_forms.C: out preamble
15616 * src/layout_forms.h: out preamble
15617 * src/lyx_cb.C: out preamble
15618 * src/lyx_cb.h: out preamble
15619 * src/lyx_gui.C: out preamble
15620 * src/lyx_gui_misc.C: out preamble
15621 * src/lyxfunc.C: connect with guii preamble
15623 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15625 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15627 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15629 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15630 whether to run bibtex.
15632 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15634 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15636 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15638 * Makefile.am (lyx_SOURCES): removed bibforms.h
15640 * vspace.h: doxygen
15642 * text.C (GetVisibleRow): make several local vars const
15644 * tabular.C: small cleanup.
15646 * lyxserver.C (callback): use compare instead of strncmp
15648 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15649 inlines to after class or to paragraph.C
15651 * lyxfont.h: remove friend operator!=
15653 * converter.h: move friend bool operator< to non friend and after
15656 * combox.h: small cleanup
15658 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15659 to inlines after class def.
15661 * buffer.C (pop_tag): use string operations instead of strcmp
15663 * bmtable.c: doxygen, small cleanup
15665 * LaTeX.h: remove friend operator==
15667 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15679 * BufferView_pimpl.C:
15680 * BufferView.[Ch]: remove cruft
15682 2001-02-14 Juergen Vigna <jug@sad.it>
15684 * lyxfunc.C: removed #if 0 unused code
15686 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15688 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15690 * text2.C (SetSelection): added a BufferView * parameter
15692 2001-02-13 Juergen Vigna <jug@sad.it>
15694 * lyxfunc.C (Dispatch): fixed protected blank problem.
15695 * BufferView2.C (protectedBlank): added LyxText * parameter.
15697 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15698 (AppendColumn): same as above for column_info.
15700 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15701 (moveCursorUpdate): use a LyXText param for support of InsetText.
15703 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15704 (tripleClick): ditto
15706 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15708 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15710 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15712 * text2.C (SetSelection): set correct update status if inset_owner
15713 (ToggleFree): ditto
15715 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15717 * tabular.C: remove some commented code.
15719 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15721 * BufferView_pimpl.C: call hideSplash()
15723 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15726 * bibforms.h: remove
15729 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15730 add LFUN_CHILD_CREATE
15732 * counters.h: fix tiny typo
15737 * lyx.C: move splash to frontends/xforms/
15739 * lyx_gui_misc.C: move Include and Bibform to frontends
15741 * lyxvc.h: clarify comment
15743 * vspace.C: tiny housekeeping
15745 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15747 * text.C (PrepareToPrint): RTL Fix.
15749 * paragraph.C (GetUChar): New method.
15750 (String): Use GetUChar.
15752 * buffer.C (asciiParagraph): Use GetUChar.
15754 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15756 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15758 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15761 * buffer.C: rename to getLogName(), handle
15762 build log / latex log nicely
15764 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15767 * MenuBackend.h: remove support for reference menuitem type.
15769 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15771 * BufferView_pimpl.C: housekeeping
15772 * BufferView_pimpl.h:
15777 * minibuffer.h: move Timeout GUI-I
15779 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15781 * lyxrc.C (read): Update converters data-structures.
15783 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15785 * LaTeX.h (operator!=): add operator != for Aux_Info
15787 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15789 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15791 * LaTeXLog.C: deleted, useful code moved to Buffer
15794 * buffer.C: new function getLatexLogName()
15800 * lyxfunc.C: use frontends for LaTeX and VC logs
15802 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15804 * LaTeX.h: yet another std:: that Allan forgot.
15806 * Variables.C (set): renamed from isset(), because this clashes
15807 with some HP-UX macros (grr).
15809 2001-02-06 Allan Rae <rae@lyx.org>
15811 * LaTeX.h: Another bug fix. Missing std:: this time.
15813 2001-02-04 Allan Rae <rae@lyx.org>
15815 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15816 floats problem. I've left it commented out because it's not quite
15817 correct. It should also test that the current object is a table or
15818 figure inset. But I haven't gotten around to figuring out how to do
15819 that. I *think* it'll be something like: "table" == inset.type()
15821 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15824 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15826 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15827 all the citation/databases/styles in the auxilary file.
15828 (run): Rerun latex if there was a babel language error.
15830 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15832 * text.C (Backspace): Preserve the font when changing newline char
15834 (BreakParagraph): If the cursor is before a space, delete the space.
15836 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15838 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15840 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15841 new argument (code).
15842 (ChangeCitationsIfUnique): New method.
15844 * paragraph.C (GetPositionOfInset): Handle bibkey.
15846 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15848 * BufferView_pimpl.h: change type of Position::par_pos to
15849 LyXParagraph::size_type.
15851 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15853 * BufferView_pimpl.C (savePosition, restorePosition): Write
15854 messages to minibuffer.
15856 2001-01-28 José Matos <jamatos@fep.up.pt>
15858 * buffer.C (makeDocBookFile): adds support for document language.
15859 A silly restriction on the name of LatexCommand types where removed.
15860 Added support for CDATA sections, allows to chars unescaped, used
15861 among others in code, to avoid escape < and >.
15863 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15865 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15866 saved positions instrad of a stack. Furthermore, a position is
15867 stored using paragraph id/paragraph position.
15869 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15870 Remove LFUN_REF_BACK.
15872 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15874 * converter.C (dvipdfm_options): New method.
15876 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15878 * vspace.C (isValidLength): Fix for empty input string.
15880 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15882 * LyXAction.C (init): change description of LFUN_FIGURE to
15885 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15887 * LaTeX.C: add using directive
15889 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15891 * MenuBackend.C (expand): Fix the sorting of the formats.
15893 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15895 * lyx_main.C: tiny error message fix
15897 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15899 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15900 calling fl_initialize(). This fixes the problem with ',' as
15901 decimal separator in text files.
15903 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15905 * trans.C (process): Fix the keymap bug.
15907 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15909 * LaTeX.C (scanAuxFiles): New method. Provides support for
15910 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15911 (scanLogFile) Scan for "run BibTeX" messages.
15913 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15914 OT1 font encoding. Also, load the aecompl package if the ae
15917 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15919 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15921 * texrow.C (increasePos): turn two error messages into debug
15924 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15926 * LaTeX.C (scanAux): Handle the \@input macro.
15927 (runBibTeX): Use scanAux().
15929 * language.C (latex_options_): New field.
15931 * LaTeXFeatures.C (getMacros): Add language macros.
15933 * buffer.C (makeLaTeXFile): Small fix.
15935 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15937 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15939 * text2.C: add a using directive.
15941 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15946 * lyxfunc.C: kill LyXBell.
15948 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15950 * text.C (IsBoundary): Remove the error message
15952 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15954 * lyxrc.C (setDefaults): Correct initialization value for
15957 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15959 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15962 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15963 and GotoNextNote().
15965 * src/LyXAction.C: Added reference-next.
15967 * text.C (InsertChar): Use contains instead of strchr.
15969 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15971 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15973 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15974 alignment commands (when needed).
15976 * text.C (InsertChar): Add ':' to number separator chars.